*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --c-primary: #2c5e3f;
    --c-primary-light: #3a7d5c;
    --c-primary-dark: #1a3a2a;
    --c-accent: #d4a853;
    --c-accent-light: #e8c87a;
    --c-bg: #fafaf7;
    --c-surface: #ffffff;
    --c-text: #2d2d2d;
    --c-text-light: #6b6b6b;
    --c-text-lighter: #999;
    --c-border: #e8e5df;
    --c-border-light: #f0ede8;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.1);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: .25s ease;
    --header-h: 70px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font); color: var(--c-text); line-height: 1.65; background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-light); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border-light);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.public-flashes { padding-top: calc(var(--header-h) + 1rem); margin-bottom: calc(-1 * var(--header-h)); position: relative; z-index: 5; }
.public-flash { padding: .85rem 1rem; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; font-size: .9rem; box-shadow: var(--shadow-sm); }
.public-flash-error { color: #9f1d1d; border-color: #e5a3a3; background: #fff1f1; }
.public-flash-success { color: var(--c-primary-dark); border-color: rgba(44,94,63,.25); background: #edf5ef; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo img { height: 38px; width: auto; }
.logo-fallback { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--c-primary-dark); }
.main-nav { display: flex; align-items: center; gap: .15rem; }
.nav-link { padding: .5rem .8rem; font-size: .88rem; font-weight: 500; color: var(--c-text-light); border-radius: var(--radius); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--c-primary); background: rgba(44,94,63,.06); }
.nav-cta { background: var(--c-primary); color: #fff !important; padding: .5rem 1.2rem; margin-left: .4rem; border-radius: var(--radius); }
.nav-cta:hover { background: var(--c-primary-light) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-toggle span { width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all var(--transition); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.6rem; font-size: .9rem; font-weight: 600; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none; font-family: inherit; line-height: 1.4; }
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-light); border-color: var(--c-primary-light); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: #fff; color: var(--c-primary-dark); border-color: #fff; }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 88vh; display: flex; align-items: center;
    background-color: var(--c-primary-dark);
    background-image: url('/static/images/park/hero-bg.webp');
    background-image: image-set(
        url('/static/images/park/hero-bg.avif') type('image/avif'),
        url('/static/images/park/hero-bg.webp') type('image/webp')
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: var(--header-h);
}
@media (max-width: 768px) {
    .hero {
        background-image: url('/static/images/park/hero-bg-960.webp');
        background-image: image-set(
            url('/static/images/park/hero-bg-960.avif') type('image/avif'),
            url('/static/images/park/hero-bg-960.webp') type('image/webp')
        );
    }
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,40,28,.55) 0%, rgba(20,40,28,.7) 100%); }
.hero-content { position: relative; color: #fff; max-width: 680px; padding: 3rem 0; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; line-height: 1.12; margin-bottom: .8rem; }
.hero-logo { margin-bottom: 1rem; }
.hero-logo img { display: block; width: min(400px, 78vw); height: auto; }
.hero-content .subtitle { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300; opacity: .9; margin-bottom: 1.4rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); padding: .4rem .9rem; border-radius: 20px; font-size: .8rem; margin-bottom: 1.2rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    position: relative; padding: 5rem 0 3.5rem;
    background: var(--c-primary-dark); color: #fff;
    margin-top: var(--header-h);
}
.page-hero h1 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin-bottom: .4rem; }
.page-hero p { font-size: 1.05rem; opacity: .8; }
.breadcrumb { display: flex; gap: .4rem; font-size: .82rem; margin-bottom: 1rem; opacity: .65; }
.breadcrumb a { color: #fff; }
.breadcrumb span { opacity: .6; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--c-surface); }
.section-title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--c-primary-dark); margin-bottom: .4rem; }
.section-subtitle { color: var(--c-text-light); font-size: 1rem; margin-bottom: 2.5rem; }

/* ===== HOME: ABOUT PREVIEW ===== */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-preview-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-preview-img picture { display: block; height: 100%; }
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.about-preview-text h2 { font-family: var(--font-display); font-size: 2rem; color: var(--c-primary-dark); margin-bottom: 1rem; }
.about-preview-text p { color: var(--c-text-light); margin-bottom: 1.5rem; line-height: 1.8; }

/* ===== FEATURES ===== */
.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-item { text-align: center; padding: 1.5rem 1rem; background: var(--c-surface); border-radius: var(--radius-lg); border: 1px solid var(--c-border-light); transition: all var(--transition); }
.feature-item:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; margin: 0 auto 1rem; background: rgba(44,94,63,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--c-primary); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; color: var(--c-text); }
.feature-item p { font-size: .82rem; color: var(--c-text-light); line-height: 1.5; }

/* ===== NEWS CARDS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.news-card { background: var(--c-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border-light); transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--c-border-light); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 1.3rem 1.4rem; }
.news-date { font-size: .75rem; color: var(--c-text-lighter); text-transform: uppercase; letter-spacing: .04em; }
.news-card-title { font-size: 1.05rem; font-weight: 600; margin: .4rem 0 .5rem; color: var(--c-text); line-height: 1.35; }
.news-card-text { font-size: .87rem; color: var(--c-text-light); line-height: 1.6; }
.news-card-link { display: block; text-decoration: none; color: inherit; }
.news-card-link .link-more { margin-top: .8rem; font-size: .85rem; }

/* ===== INSTAGRAM GRID ===== */
.ig-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.ig-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); display: block; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-item:hover img { transform: scale(1.08); }
@media (max-width: 1024px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) {
    .ig-grid { grid-template-columns: repeat(3, 1fr); }
    .ig-item:nth-child(n+7) { display: none; }
}

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card { background: var(--c-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border-light); transition: box-shadow var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card-featured { border-color: var(--c-primary); }
.pricing-card-featured .pricing-header { background: var(--c-primary); color: #fff; }
.pricing-header { padding: 1.3rem 1.5rem; text-align: center; background: var(--c-bg); border-bottom: 1px solid var(--c-border-light); }
.pricing-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .15rem; }
.pricing-note { font-size: .82rem; opacity: .7; }
.pricing-list { list-style: none; padding: 1.2rem 1.5rem; }
.pricing-list li { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--c-border-light); font-size: .88rem; }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li span { color: var(--c-text-light); }
.pricing-list li strong { color: var(--c-primary-dark); font-weight: 600; }
.picto-group { display: inline-flex; align-items: flex-end; gap: 2px; margin-left: .55rem; vertical-align: -2px; color: var(--c-primary); }
.picto-group svg { display: block; }
.picto-adult { width: 13px; height: 15px; }
.picto-child { width: 9px; height: 11px; }
.pricing-footnote { max-width: 960px; margin: 1rem auto 0; font-size: .82rem; color: var(--c-text-light); }
.pricing-info { text-align: center; max-width: 600px; margin: 2rem auto 0; font-size: .9rem; color: var(--c-text-light); line-height: 1.7; }
.pricing-info strong { color: var(--c-text); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: rgba(44,94,63,.08); color: var(--c-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: .88rem; font-weight: 600; color: var(--c-text); margin-bottom: .1rem; }
.contact-item p { font-size: .88rem; color: var(--c-text-light); }
.contact-item a { color: var(--c-primary); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; border: none; width: 100%; height: 380px; }
.external-content-placeholder { min-height: 380px; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--c-bg); }
.external-content-placeholder p { margin: .35rem 0 1rem; color: var(--c-text-light); font-size: .9rem; }

/* ===== ABOUT PAGE ===== */
.about-content { max-width: 780px; }
.about-content p { font-size: 1.05rem; line-height: 1.9; color: var(--c-text-light); margin-bottom: 1.5rem; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 3rem 0; }
.about-gallery img { border-radius: var(--radius-lg); width: 100%; height: 280px; object-fit: cover; box-shadow: var(--shadow); }
.about-illustration { margin: 3rem 0; text-align: center; }
.about-illustration img { max-width: 800px; margin: 0 auto; }
.about-illustration figcaption { margin-top: .8rem; font-size: .85rem; color: var(--c-text-lighter); font-style: italic; }

/* ===== LOYALTY PROGRAM ===== */
.loyalty-hero { position: relative; min-height: clamp(440px, 58vh, 570px); margin-top: var(--header-h); display: flex; align-items: center; overflow: hidden; background: var(--c-primary-dark); color: #fff; }
.loyalty-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.loyalty-hero-shade { position: absolute; inset: 0; background: rgba(13, 45, 31, .7); }
.loyalty-hero-content { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 7rem; }
.loyalty-hero-content h1 { max-width: 720px; font-family: var(--font-display); font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1.05; margin-bottom: 1rem; }
.loyalty-hero-content > p { max-width: 620px; margin-bottom: 1.8rem; color: rgba(255,255,255,.88); font-size: 1.18rem; }
.loyalty-hero .breadcrumb { color: #fff; }
.loyalty-hero .btn-accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary-dark); }
.loyalty-hero .btn-accent:hover { background: var(--c-accent-light); border-color: var(--c-accent-light); color: var(--c-primary-dark); transform: translateY(-1px); }
.loyalty-scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .45rem; color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.loyalty-scroll-cue:hover { color: #fff; }
.loyalty-scroll-cue svg { width: 38px; height: 38px; padding: 8px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; animation: loyalty-cue 1.8s ease-in-out infinite; }
@keyframes loyalty-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .loyalty-scroll-cue svg { animation: none; } }
.loyalty-intro-section { scroll-margin-top: var(--header-h); }
.loyalty-intro { max-width: 780px; }
.loyalty-copy h2 { font-family: var(--font-display); font-size: 2rem; color: var(--c-primary-dark); margin-bottom: 1rem; }
.loyalty-copy p { color: var(--c-text-light); font-size: 1.05rem; line-height: 1.85; }
.loyalty-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.loyalty-step { padding: 1.6rem; background: var(--c-surface); border: 1px solid var(--c-border-light); border-radius: var(--radius); }
.loyalty-step-number { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 1rem; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; }
.loyalty-step h3 { margin-bottom: .45rem; font-size: 1rem; }
.loyalty-step p { color: var(--c-text-light); font-size: .88rem; }
.loyalty-section-head { max-width: 720px; margin-bottom: 2rem; }
.loyalty-points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 920px; margin: 0 auto; }
.loyalty-point-item { padding: 1rem 2rem; text-align: center; border-right: 1px solid var(--c-border); }
.loyalty-point-item:last-child { border-right: 0; }
.loyalty-point-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: #f0f4e9; color: var(--c-primary); }
.loyalty-point-icon svg { width: 42px; height: 42px; }
.loyalty-point-item h3 { font-size: 1rem; color: var(--c-primary-dark); margin-bottom: .3rem; }
.loyalty-point-item strong { font-size: 1.15rem; color: var(--c-text); }
.loyalty-notice { max-width: 920px; margin: 2rem auto 0; padding: 1rem 1.2rem; background: #eef3e7; border-left: 4px solid var(--c-primary); color: var(--c-primary-dark); line-height: 1.6; }
.loyalty-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.loyalty-level { position: relative; min-height: 310px; padding: 1.4rem 1.2rem; border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--c-surface); }
.loyalty-level:nth-child(2), .loyalty-level:nth-child(3) { background: #f3f6ed; }
.loyalty-level-icon { width: 82px; height: 72px; display: grid; place-items: center; margin-bottom: 1rem; }
.loyalty-level-icon svg { width: 100%; height: 100%; overflow: visible; }
.level-branch { fill: none; stroke: #5a3826; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.level-leaf { fill: #73a92f; stroke: var(--c-primary-dark); stroke-width: 2.5; stroke-linejoin: round; }
.level-crown { fill: var(--c-accent); stroke: #142f22; stroke-width: 3; stroke-linejoin: round; }
.level-crown-line { fill: none; stroke: #142f22; stroke-width: 3; stroke-linecap: round; }
.loyalty-level h3 { font-size: .92rem; color: var(--c-primary-dark); line-height: 1.35; min-height: 3.7em; text-transform: uppercase; }
.loyalty-level > p { color: var(--c-text-light); font-size: .84rem; margin-top: .5rem; }
.loyalty-level-discount { width: 100%; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.loyalty-level-discount span { display: block; color: var(--c-text-light); font-size: .75rem; text-transform: uppercase; }
.loyalty-level-discount strong { display: block; margin-top: .15rem; font-size: 1.8rem; color: var(--c-primary); }
.loyalty-level-top { background: var(--c-primary-dark); color: #fff; }
.loyalty-level-top:nth-child(4) { background: var(--c-primary-dark); }
.loyalty-level-top .level-crown { stroke: #fff; }
.loyalty-level-top .level-crown-line { stroke: #fff; }
.loyalty-level-top h3, .loyalty-level-top .loyalty-level-discount strong { color: #fff; }
.loyalty-level-top > p, .loyalty-level-top .loyalty-level-discount span { color: rgba(255,255,255,.7); }
.loyalty-level-top .loyalty-level-discount { border-top-color: rgba(255,255,255,.2); }
.loyalty-footnote { margin-top: .75rem; color: var(--c-text-light); font-size: .82rem; }
.loyalty-benefits-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.loyalty-benefits-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.25rem; margin-top: 1.5rem; }
.loyalty-benefits-list li { display: flex; gap: .65rem; align-items: center; padding-bottom: .75rem; border-bottom: 1px solid var(--c-border-light); color: var(--c-primary-dark); font-weight: 600; }
.loyalty-benefits-list li span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .75rem; }
.loyalty-card-copy { padding-left: 2rem; border-left: 1px solid var(--c-border); }
.loyalty-card-icon { width: 58px; height: 58px; color: var(--c-primary); margin-bottom: 1rem; }
.loyalty-card-icon svg { width: 100%; height: 100%; }
.loyalty-card-copy h2 { font-family: var(--font-display); font-size: 1.65rem; color: var(--c-primary-dark); margin-bottom: .75rem; }
.loyalty-card-copy > p { color: var(--c-text-light); line-height: 1.75; }
.loyalty-card-note { margin-top: 1rem; padding: .85rem 1rem; background: #eef3e7; border-radius: var(--radius); color: var(--c-primary-dark) !important; }

/* ===== CTA BAND ===== */
.cta-band {
    background: var(--c-primary-dark); color: #fff; padding: 3.5rem 0; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .5rem; }
.cta-band p { opacity: .75; margin-bottom: 1.5rem; font-size: .95rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--c-primary-dark); color: rgba(255,255,255,.65); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; display: block; margin-bottom: .5rem; }
.footer-brand img { height: 32px; margin-bottom: .6rem; filter: brightness(10); }
.footer-brand p { font-size: .85rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.footer-links a { display: block; color: rgba(255,255,255,.55); font-size: .87rem; padding: .25rem 0; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-cookie-button { display: block; padding: .25rem 0; border: 0; background: none; color: rgba(255,255,255,.55); font: inherit; font-size: .87rem; cursor: pointer; }
.footer-cookie-button:hover { color: #fff; }
.footer-contact p { font-size: .87rem; margin-bottom: .3rem; }
.footer-bottom { padding: 1.2rem 0; text-align: center; font-size: .75rem; opacity: .45; }
.footer-bottom p { margin-bottom: .15rem; }

/* ===== COOKIE CONSENT ===== */
.cookie-banner { position: fixed; z-index: 1000; left: 1rem; right: 1rem; bottom: 1rem; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: 0 12px 38px rgba(20,35,25,.2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { max-width: 620px; }
.cookie-banner-copy strong { display: block; margin-bottom: .25rem; color: var(--c-primary-dark); }
.cookie-banner-copy p { color: var(--c-text-light); font-size: .84rem; line-height: 1.55; }
.cookie-banner-actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.cookie-dialog { width: min(560px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 18px 60px rgba(20,35,25,.28); color: var(--c-text); }
.cookie-dialog::backdrop { background: rgba(15,25,18,.58); }
.cookie-dialog form { padding: 1.4rem; }
.cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border-light); }
.cookie-dialog-head h2 { font-size: 1.2rem; }
.cookie-dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--c-bg); color: var(--c-text-light); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--c-border-light); cursor: pointer; }
.cookie-option strong { display: block; margin-bottom: .2rem; font-size: .92rem; }
.cookie-option p { color: var(--c-text-light); font-size: .8rem; line-height: 1.45; }
.cookie-option input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--c-primary); }
.cookie-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; }
.cookie-dialog-actions a { color: var(--c-primary); font-size: .82rem; text-decoration: underline; }

@media (max-width: 720px) {
    .cookie-banner { align-items: stretch; flex-direction: column; gap: .85rem; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ===== LINK MORE ===== */
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--c-primary); margin-top: 1rem; }
.link-more:hover { gap: .55rem; }
.link-more svg { width: 16px; height: 16px; transition: transform var(--transition); }
.link-more:hover svg { transform: translateX(3px); }

/* ===== TEXT HELPERS ===== */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-lighter); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-preview { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: .8rem; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-lg); }
    .main-nav.active { display: flex; }
    .nav-link { padding: .7rem 1rem; width: 100%; }
    .nav-cta { margin-left: 0; margin-top: .4rem; text-align: center; }
    .hero { min-height: 70vh; }
    .section { padding: 3.5rem 0; }
    .about-preview { grid-template-columns: 1fr; }
    .about-preview-img { order: -1; max-height: 300px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .features-strip { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .about-gallery { grid-template-columns: 1fr; }
    .about-gallery img { height: 220px; }
    .loyalty-hero { min-height: 500px; }
    .loyalty-hero-content { padding-top: 4rem; padding-bottom: 7rem; }
    .loyalty-hero-content h1 { font-size: 2.7rem; }
    .loyalty-steps { grid-template-columns: repeat(2, 1fr); }
    .loyalty-levels { grid-template-columns: repeat(2, 1fr); }
    .loyalty-benefits-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .loyalty-card-copy { padding-left: 0; padding-top: 2rem; border-left: 0; border-top: 1px solid var(--c-border); }
}

@media (max-width: 560px) {
    .loyalty-steps, .loyalty-points-grid, .loyalty-levels, .loyalty-benefits-list { grid-template-columns: 1fr; }
    .loyalty-point-item { border-right: 0; border-bottom: 1px solid var(--c-border); padding: 1.25rem; }
    .loyalty-point-item:last-child { border-bottom: 0; }
    .loyalty-level { min-height: 0; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .2rem 1rem; align-items: center; text-align: left; padding: 1.2rem; }
    .loyalty-level-icon { grid-column: 1; grid-row: 1 / 3; width: 68px; height: 62px; margin: 0; }
    .loyalty-level h3 { grid-column: 2; grid-row: 1; min-height: 0; }
    .loyalty-level > p { grid-column: 2; grid-row: 2; margin: 0; }
    .loyalty-level-discount { grid-column: 3; grid-row: 1 / 3; width: auto; min-width: 62px; margin: 0; padding: 0 0 0 1rem; border-top: 0; border-left: 1px solid var(--c-border); text-align: center; }
    .loyalty-level-top .loyalty-level-discount { border-left-color: rgba(255,255,255,.2); }
}

@media (max-width: 480px) {
    .loyalty-hero { min-height: calc(100svh - var(--header-h) - 80px); }
    .loyalty-hero-content { padding-top: 3rem; padding-bottom: 6.5rem; }
    .loyalty-hero-content h1 { font-size: 2.35rem; }
    .loyalty-hero-content > p { font-size: 1rem; }
    .loyalty-scroll-cue span { font-size: .73rem; }
    .features-strip { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .page-hero h1 { font-size: 1.8rem; }
}


/* ===== ESHOP ===== */
.eshop-pricelist { margin-top: 2.5rem; background: var(--c-surface); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.eshop-pricelist-head { margin-bottom: 1rem; }
.eshop-pricelist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.eshop-price-row { display: flex; flex-direction: column; gap: .2rem; padding: .8rem .95rem; border: 1px solid var(--c-border-light); border-radius: var(--radius); background: #fcfcfa; }
.eshop-price-row strong { font-size: .9rem; color: var(--c-primary-dark); }
.eshop-price-row span { font-size: .84rem; color: var(--c-text-light); line-height: 1.45; }
.eshop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.eshop-layout-empty { grid-template-columns: minmax(0, 820px); justify-content: center; }
.eshop-section { background: #f7f8f4; }
.eshop-category { margin-bottom: 2.25rem; }
.eshop-category-heading { margin-bottom: .8rem; }
.eshop-category-heading p { color: var(--c-text-light); font-size: .86rem; margin-top: .25rem; }
.eshop-category-title { font-size: 1.1rem; font-weight: 700; color: var(--c-primary-dark); padding-bottom: .5rem; border-bottom: 2px solid var(--c-border-light); margin-bottom: .8rem; }
.eshop-category-title span { font-weight: 400; font-size: .85rem; color: var(--c-text-light); margin-left: .4rem; }
.eshop-items { display: flex; flex-direction: column; gap: .4rem; }
.eshop-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: .8rem 1rem; background: var(--c-surface); border: 1px solid var(--c-border-light);
    border-radius: var(--radius); transition: all var(--transition);
}
.eshop-item:hover { border-color: var(--c-primary); }
.eshop-item-active { border-color: var(--c-primary); background: rgba(44,94,63,.03); }
.eshop-item-info { display: flex; flex-direction: column; flex: 1; margin-right: 1.5rem; min-width: 0; }
.eshop-item-name { font-size: .92rem; font-weight: 500; color: var(--c-text); }
.eshop-item-info small { color: var(--c-text-light); font-size: .76rem; line-height: 1.4; margin-top: .1rem; }
.eshop-item-purchase { display: flex; align-items: center; gap: 1.1rem; }
.eshop-item-price { font-size: .92rem; font-weight: 700; color: var(--c-primary-dark); }
.eshop-item-qty { display: flex; align-items: center; gap: .3rem; }
.qty-btn {
    width: 32px; height: 32px; border: 1px solid var(--c-border); border-radius: var(--radius);
    background: var(--c-surface); color: var(--c-text); font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all var(--transition);
    line-height: 1; font-weight: 600;
}
.qty-btn:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(44,94,63,.05); }
.qty-value { width: 28px; text-align: center; font-size: .95rem; font-weight: 600; color: var(--c-text); }

.eshop-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.eshop-cart {
    background: var(--c-surface); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--shadow);
}
.eshop-cart h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-text); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--c-border-light); }
.merch-category { margin: 2rem 0 2.5rem; }
.merch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.merch-product { background: var(--c-surface); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.merch-product:hover, .merch-product-active { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.merch-product-image { aspect-ratio: 1; background: #eef1ea; overflow: hidden; }
.merch-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merch-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #809080; }
.merch-image-placeholder svg { width: 64px; height: 64px; }
.merch-product-body { padding: 1rem; }
.merch-product-body h4 { font-size: 1rem; color: var(--c-primary-dark); margin-bottom: .35rem; }
.merch-product-body p { color: var(--c-text-light); font-size: .84rem; line-height: 1.5; min-height: 2.5em; }
.merch-product-buy { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1rem; }
.merch-product-buy strong { color: var(--c-primary-dark); white-space: nowrap; }
.merch-empty { border: 1px solid var(--c-border-light); background: var(--c-surface); padding: 3rem 1.5rem; text-align: center; border-radius: var(--radius-lg); }
.merch-empty svg { width: 58px; height: 58px; color: var(--c-primary); margin-bottom: 1rem; }
.merch-empty h3 { color: var(--c-primary-dark); margin-bottom: .4rem; }
.merch-empty p { color: var(--c-text-light); }
.cart-empty { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 0; color: var(--c-text-lighter); font-size: .9rem; }
.cart-empty svg { width: 40px; height: 40px; margin-bottom: .5rem; opacity: .3; }
.cart-items { display: flex; flex-direction: column; gap: .4rem; }
.cart-group-note { margin-top: .8rem; padding: .7rem .85rem; border-radius: var(--radius); background: rgba(44,94,63,.08); color: var(--c-primary-dark); font-size: .82rem; border: 1px solid rgba(44,94,63,.14); }
.cart-limit-warning { margin-top: .8rem; padding: .85rem; border-radius: var(--radius); background: #fff1f1; color: #9f1d1d; font-size: .84rem; border: 1px solid #e5a3a3; }
.cart-limit-warning strong, .cart-limit-warning span { display: block; }
.cart-limit-warning span { margin-top: .25rem; }
.cart-limit-warning a { color: #861515; font-weight: 700; text-decoration: underline; }
.cart-line { display: flex; justify-content: space-between; font-size: .88rem; padding: .35rem 0; color: var(--c-text); }
.cart-line span:last-child { font-weight: 600; }
.cart-line-group { color: var(--c-primary-dark); font-weight: 700; }
.cart-line-group small { display: block; margin-top: .15rem; color: var(--c-text-light); font-size: .68rem; font-weight: 500; }
.cart-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: .8rem; padding-top: .8rem; border-top: 2px solid var(--c-primary);
    font-size: 1.05rem;
}
.cart-total strong { font-size: 1.2rem; color: var(--c-primary-dark); }

.checkout-fields { margin-top: 1.2rem; }
.checkout-fields .form-group { margin-bottom: .8rem; }
.checkout-fields label { display: block; font-size: .8rem; font-weight: 500; color: var(--c-text-light); margin-bottom: .2rem; }
.checkout-fields .form-control { padding: .55rem .7rem; font-size: .88rem; }
.form-check.checkout-consent { align-items: flex-start; margin: 0 0 1rem; font-size: .78rem; line-height: 1.45; color: var(--c-text-light); }
.checkout-consent input { flex: 0 0 auto; margin-top: .15rem; }
.checkout-consent a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.btn-checkout {
    width: 100%; margin-top: 1rem; justify-content: center; padding: .85rem; font-size: 1rem;
}

.voucher-section { margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border-light); }
.voucher-section label { display: block; font-size: .85rem; font-weight: 600; color: var(--c-text-light); margin-bottom: .4rem; }
.voucher-row { display: flex; gap: .5rem; }
.voucher-row input { flex: 1; font-size: .9rem; padding: .5rem .7rem; border: 1px solid var(--c-border); border-radius: 8px; }
.voucher-row .btn-sm { padding: .5rem 1rem; font-size: .85rem; white-space: nowrap; }
.voucher-msg { font-size: .8rem; margin-top: .3rem; min-height: 1.1em; }
.voucher-msg-error { color: #c0392b; }
.voucher-applied { display: flex; align-items: center; justify-content: space-between; background: #eaf7ee; border: 1px solid #b6dfc3; border-radius: 8px; padding: .5rem .8rem; margin-top: .4rem; font-size: .9rem; color: var(--c-primary-dark); }
.voucher-remove { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--c-text-light); padding: 0 .3rem; line-height: 1; }
.voucher-remove:hover { color: #c0392b; }
.cart-line-discount { color: var(--c-primary); font-weight: 500; }

@media (max-width: 900px) {
    .eshop-pricelist-grid { grid-template-columns: 1fr; }
    .eshop-layout { grid-template-columns: 1fr; }
    .eshop-sidebar { position: static; }
}

@media (max-width: 560px) {
    .merch-grid { grid-template-columns: 1fr; }
    .eshop-item { align-items: flex-start; gap: .75rem; }
    .eshop-item-info { margin-right: 0; }
    .eshop-item-purchase { flex-direction: column; align-items: flex-end; gap: .35rem; }
    .eshop-item-price { white-space: nowrap; }
    .form-row-2 { grid-template-columns: 1fr; }
}

/* ===== ORDER STATUS ===== */
.order-status-card { max-width: 600px; margin: 0 auto; text-align: center; }
.order-status-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.order-status-icon svg { width: 36px; height: 36px; }
.order-status-success { background: rgba(44,94,63,.1); color: var(--c-primary); }
.order-status-pending { background: #fef3c7; color: #92400e; }
.order-status-error { background: #fee2e2; color: #991b1b; }
.order-status-card h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .5rem; color: var(--c-text); }
.order-status-card > p { color: var(--c-text-light); font-size: 1rem; margin-bottom: 2rem; }
.order-detail { text-align: left; background: var(--c-surface); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); padding: 1.5rem; }
.order-detail h3 { font-size: .9rem; font-weight: 600; color: var(--c-text-light); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th { text-align: left; font-size: .8rem; color: var(--c-text-lighter); font-weight: 500; padding: .5rem 0; border-bottom: 1px solid var(--c-border); }
.order-table td { padding: .6rem 0; font-size: .92rem; border-bottom: 1px solid var(--c-border-light); }
.order-table tfoot td { border-bottom: none; padding-top: .8rem; font-size: 1rem; }

/* ===== LEGAL ===== */
.legal-content { max-width: 860px; }
.legal-content h2 { margin: 2rem 0 .65rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--c-primary-dark); }
.legal-content p { color: var(--c-text-light); line-height: 1.8; }
.legal-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { font-size: .82rem; color: var(--c-text-lighter) !important; }

/* =============== ADMIN =============== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--c-primary-dark); color: #fff; padding: 1.5rem 0; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; }
.admin-sidebar-header { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.admin-sidebar-header h2 { font-size: 1.05rem; font-weight: 700; }
.admin-sidebar-header p { font-size: .78rem; opacity: .5; margin-top: .15rem; }
.admin-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem 1.5rem; color: rgba(255,255,255,.6); font-size: .88rem; transition: all var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a svg { width: 18px; height: 18px; opacity: .6; }
.admin-main { flex: 1; margin-left: 250px; padding: 2rem; background: var(--c-bg); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.4rem; font-weight: 700; color: var(--c-text); }
.admin-card { background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--c-border-light); }
.admin-card h3 { font-size: .95rem; font-weight: 600; color: var(--c-text); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--c-border-light); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: .65rem .9rem; font-size: .75rem; font-weight: 600; color: var(--c-text-lighter); text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--c-border); }
.admin-table td { padding: .75rem .9rem; font-size: .88rem; border-bottom: 1px solid var(--c-border-light); vertical-align: middle; }
.admin-table tr:hover td { background: var(--c-bg); }
.admin-table .actions { display: flex; gap: .4rem; }
.form-group { margin-bottom: 1.2rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; color: var(--c-text-light); margin-bottom: .3rem; }
.form-control { width: 100%; padding: .6rem .8rem; font-size: .88rem; font-family: inherit; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; color: var(--c-text); transition: border-color var(--transition), box-shadow var(--transition); }
.form-control:focus { outline: none; border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(44,94,63,.1); }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: .5rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-primary); }
.badge { display: inline-block; padding: .15rem .55rem; font-size: .72rem; font-weight: 600; border-radius: 20px; }
.badge-success { background: rgba(44,94,63,.1); color: var(--c-primary); }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #e8f0f7; color: #285470; }
.btn-sm { padding: .35rem .8rem; font-size: .78rem; }
.btn-secondary { background: var(--c-bg); color: var(--c-text-light); border-color: var(--c-border); }
.btn-secondary:hover { background: var(--c-border-light); color: var(--c-text); }
.btn-danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.btn-danger:hover { background: #fecaca; }
.flash-messages { margin-bottom: 1.5rem; }
.flash { padding: .7rem 1rem; border-radius: var(--radius); font-size: .88rem; margin-bottom: .5rem; }
.flash-success { background: rgba(44,94,63,.08); color: var(--c-primary-dark); border: 1px solid rgba(44,94,63,.15); }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); }
.login-card { background: #fff; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; }
.login-card h1 { font-size: 1.4rem; font-weight: 700; color: var(--c-primary-dark); text-align: center; margin-bottom: .2rem; }
.login-card p { text-align: center; color: var(--c-text-lighter); font-size: .88rem; margin-bottom: 1.5rem; }
.login-card .btn-primary { width: 100%; margin-top: .5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--c-surface); padding: 1.3rem; border-radius: var(--radius-lg); border: 1px solid var(--c-border-light); }
.stat-card h4 { font-size: .72rem; font-weight: 600; color: var(--c-text-lighter); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--c-primary); }
.image-preview { max-width: 180px; border-radius: var(--radius); margin-top: .5rem; }
.news-thumb { width: 44px; height: 44px; border-radius: var(--radius); object-fit: cover; }
.admin-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.admin-image-card { overflow: hidden; border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); background: #fff; }
.admin-image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-image-card-body { padding: .9rem; }
.admin-image-card-body strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.admin-image-card-body span { display: block; font-size: .78rem; color: var(--c-text-lighter); }
.admin-table-scroll { overflow-x: auto; }
.admin-error-text { display: block; max-width: 300px; margin-top: .4rem; color: #991b1b; line-height: 1.35; }
.admin-content-section { padding: 0; overflow: hidden; }
.admin-content-section > summary { padding: 1rem 1.5rem; cursor: pointer; font-weight: 700; color: var(--c-text); list-style-position: inside; border-bottom: 1px solid transparent; }
.admin-content-section[open] > summary { border-bottom-color: var(--c-border-light); }
.admin-content-fields { padding: 1.5rem; }
.admin-media-field { display: grid; grid-template-columns: 180px 1fr; gap: 1.2rem; align-items: center; margin-bottom: 1.4rem; padding: 1rem; background: var(--c-bg); border: 1px solid var(--c-border-light); border-radius: var(--radius); }
.admin-media-preview { width: 180px; height: 112px; overflow: hidden; border-radius: var(--radius); background: var(--c-border-light); }
.admin-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-media-controls label:first-child { display: block; margin-bottom: .45rem; font-weight: 600; }
.admin-media-controls small { display: block; margin-top: .35rem; color: var(--c-text-lighter); font-size: .75rem; }
.admin-media-controls .form-check { margin-top: .7rem; }
.admin-sticky-save { position: sticky; bottom: 1rem; z-index: 5; display: flex; justify-content: flex-end; margin-top: 1rem; pointer-events: none; }
.admin-sticky-save .btn { pointer-events: auto; box-shadow: var(--shadow-lg); }
.form-grid-span-2 { grid-column: 1 / -1; }
.product-flags { display: grid; gap: .6rem; margin: 0 0 1.2rem; }
.admin-product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-product-actions .admin-card { align-self: start; }
.admin-product-actions details[open] { grid-column: 1 / -1; }
.product-kind-readonly { padding: .8rem 1rem; background: #f2f5f0; border: 1px solid var(--c-border-light); border-radius: var(--radius); font-weight: 600; }
.product-kind-readonly small { display: block; font-weight: 400; color: var(--c-text-light); margin-top: .2rem; }
.admin-product-preview { display: block; width: min(220px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin: .5rem 0 .75rem; }
.admin-product-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius); display: block; }
.admin-image-empty { font-size: .75rem; color: var(--c-text-light); white-space: nowrap; }
.admin-help { margin: -.25rem 0 1rem; color: var(--c-text-light); font-size: .82rem; line-height: 1.5; }
.admin-cell-note { display: block; margin-top: .2rem; color: var(--c-text-lighter); font-size: .72rem; }
.admin-delete-form { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--c-border-light); }
.admin-table code { white-space: nowrap; color: var(--c-primary-dark); font-size: .8rem; }

@media (max-width: 768px) {
    .admin-sidebar { width: 100%; position: static; padding: 1rem 0; }
    .admin-main { margin-left: 0; }
    .admin-layout { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .admin-media-field { grid-template-columns: 1fr; }
    .admin-media-preview { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .admin-product-actions { grid-template-columns: 1fr; }
}
