:root {
    --ink: #29352c;
    --muted: #6c756c;
    --green: #2f713d;
    --green-light: #75a957;
    --gold: #f4b51b;
    --orange: #e18a3a;
    --white: #fff;
    --paper: #f6f8f3;
    --line: #e5eae1;
    --shadow: 0 16px 40px rgba(34, 62, 38, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'DM Sans', sans-serif; line-height: 1.55; }
body:has(.dealer-dialog[open]), body:has(.admin-editor-dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }
.section { padding: 48px 0; }
.site-header { position: sticky; z-index: 20; top: 0; background: linear-gradient(115deg, rgba(13, 49, 28, 0.91), rgba(27, 115, 57, 0.76)), url('img/banner.png') center 54% / cover no-repeat; border-bottom: 1px solid rgba(236, 239, 234, 0.8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 174px; display: block; }
.brand img { width: 100%; height: 100px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 32px; color: #fff; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button):hover, .main-nav > a.active { color: #ffcc00; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 23px; border: 0; border-radius: 28px; background: var(--gold); color: #2d3328; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(244,181,27,.23); background: #ffc52c; }
.button-small { min-height: 43px; padding-inline: 19px; }
.button-outline { background: var(--white); border: 1px solid var(--line); }
.button-outline:hover { background: var(--paper); }
.menu-toggle { display: none; }

.hero { padding: 31px 0 44px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: 42px; }
.eyebrow { margin: 0 0 16px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); letter-spacing: .08em; }
.eyebrow-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', sans-serif; }
.hero h1 { max-width: none; margin: 20px 0 18px; font-size: clamp(42px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.08; font-weight: 800; }
.hero h1 span { display: inline; }
.hero-lede { max-width: 550px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--orange); }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: 40px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.hero-note img { width: 82px; height: 34px; object-fit: contain; }
.hero-note strong { color: var(--ink); font-weight: 700; }
.hero-visual { min-height: 430px; position: relative; display: grid; align-items: center; justify-items: center; padding: 28px; border-radius: 28px; background: var(--paper); }
.hero-image { width: 100%; height: 340px; position: relative; z-index: 1; object-fit: cover; border-radius: 18px; }
.hero-sun { width: 116px; height: 116px; position: absolute; top: 12px; right: 35px; border-radius: 50%; background: var(--gold); }
.hero-caption { width: min(365px, calc(100% - 50px)); position: absolute; z-index: 2; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 16px 19px; transform: translateX(-50%); border: 1px solid rgba(229,234,225,.8); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { color: var(--green); font-size: 14px; }.hero-caption small { margin-top: 2px; color: var(--green); font-size: 12px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 78px; }
.about.section { color: #fff; background: linear-gradient(115deg, rgba(13,49,28,.92), rgba(47,113,61,.84)), url('img/banner.png') center 54% / cover no-repeat; }
.about .eyebrow { color: var(--gold); }
.about-copy h2, .section-heading h2, .contact-inner h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.04em; line-height: 1.18; }
.about-copy h2 { color: #fff; }
.about-copy > p:not(.eyebrow) { max-width: 510px; color: rgba(255,255,255,.86); font-size: 15px; }
.about-copy .text-link { margin-top: 10px; }
.about-photo-wrap { position: relative; }
.about-photo-wrap > img { width: 100%; height: 310px; object-fit: cover; border-radius: 18px; }
.photo-note { position: absolute; right: -16px; bottom: -19px; display: flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 6px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; }
.photo-note-copy { color: var(--muted); }

.featured { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 9px; }
.section-intro { margin: 0; color: var(--muted); font-size: 15px; }
.desktop-link { margin-bottom: 7px; }
.carousel-shell { position: relative; }
.product-carousel { display: grid; grid-auto-columns: calc((100% - 60px) / 4); grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 3px 3px 13px; }
.product-carousel::-webkit-scrollbar { display: none; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-compact { scroll-snap-align: start; }
.product-image-link { height: 210px; position: relative; display: block; overflow: hidden; background: #eef2e9; }
.product-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image-link img { transform: scale(1.04); }
.product-category { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 16px; background: rgba(255,255,255,.94); color: var(--green); font-size: 11px; font-weight: 700; }
.product-new-badge { position: absolute; top: 12px; right: 12px; padding: 6px 10px; border-radius: 16px; background: var(--gold); color: #2d3328; font-size: 11px; font-weight: 800; box-shadow: 0 2px 8px rgba(34,62,38,.12); }
.product-info { padding: 17px 17px 15px; }
.product-variety { margin: 0 0 5px; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.product-info h3 { min-height: 44px; margin: 0 0 14px; font-size: 16px; line-height: 1.35; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sheet-link { color: var(--green); font-size: 12px; font-weight: 700; }
.consult-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border-radius: 18px; background: var(--gold); color: #2c342a; font-size: 11px; font-weight: 700; }
.carousel-control { width: 42px; height: 42px; position: absolute; z-index: 2; top: 42%; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--green); box-shadow: var(--shadow); cursor: pointer; }
.carousel-control:hover { background: var(--gold); }
.carousel-control.previous { left: -20px; }.carousel-control.next { right: -20px; }
.carousel-footer { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 9px; background: #cbd3c6; cursor: pointer; transition: width .2s ease; }
.carousel-dot.is-active { width: 23px; background: var(--green); }
.mobile-link { display: none; }

.field-notes { background: var(--paper); }
.instagram-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 14px; }
.instagram-video-card { width: 100%; max-width: 250px; min-width: 0; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 0; border-radius: 13px; background: transparent; box-shadow: none; }
.instagram-local-video { width: 100%; aspect-ratio: 9 / 16; display: block; border-radius: 13px; background: #18231a; object-fit: cover; }
.instagram-local-link { margin-top: 8px; color: var(--green); font-size: 11px; font-weight: 700; }

.distributor-heading { align-items: center; }
.state-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.state-card { min-height: 84px; display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: left; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.state-card:hover { transform: translateY(-2px); border-color: #b6c7ad; box-shadow: 0 8px 20px rgba(34,62,38,.06); }
.state-shape { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; padding: 3px; }
.state-shape svg { width: 100%; height: 100%; overflow: visible; }
.state-shape path { fill: var(--green); fill-rule: evenodd; stroke: #245d32; stroke-width: .45; stroke-linejoin: round; }
.state-card:hover .state-shape path { fill: var(--orange); stroke: #c77127; }
.state-copy { flex: 1; }.state-copy strong, .state-copy small { display: block; }.state-copy strong { font-size: 14px; }.state-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.state-arrow { color: var(--orange); font-size: 17px; }

.contact-band { padding: 64px 0; background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(32px, 7vw, 90px); }
.contact-copy { padding-top: 12px; }
.contact-copy h2 { max-width: 460px; margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.04em; line-height: 1.18; }
.contact-copy > p:not(.eyebrow) { max-width: 410px; margin: 0; color: var(--muted); font-size: 15px; }
.contact-copy .contact-existing-dealer { margin-top: 25px; padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(255,255,255,.72); }
.contact-existing-dealer strong { display: block; margin-bottom: 4px; color: var(--ink); }
.contact-form { display: grid; gap: 9px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.contact-form label { margin-top: 5px; color: #475247; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dfe5dc; border-radius: 8px; outline: none; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.contact-form textarea { min-height: 112px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(117,169,87,.14); }
.contact-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 8px; }
.contact-form-actions .button { flex: 0 0 auto; }
.contact-whatsapp-button { border-color: #cbdcc6; color: var(--green); }
.contact-form-note { margin: 0; color: var(--muted); font-size: 12px; }
.contact-feedback-dialog { width: min(480px, calc(100% - 28px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 20px; background: transparent; color: var(--ink); }
.contact-feedback-dialog::backdrop { background: rgba(26,39,29,.48); backdrop-filter: blur(3px); }
.contact-feedback-content { display: grid; justify-items: center; gap: 10px; padding: 32px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: var(--white); box-shadow: 0 24px 70px rgba(18,36,22,.2); text-align: center; }
.contact-feedback-icon { display: grid; width: 48px; height: 48px; margin-bottom: 4px; place-items: center; border-radius: 50%; background: var(--paper); color: var(--green); font-size: 24px; font-weight: 700; }
.contact-feedback-dialog .contact-feedback-eyebrow { margin: 0; color: var(--orange); }
.contact-feedback-dialog h2 { margin: 0; font-size: 27px; letter-spacing: -.03em; }
.contact-feedback-dialog p:not(.eyebrow) { max-width: 350px; margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-feedback-dialog .button { min-width: 120px; }
.contact-feedback-dialog.is-error .contact-feedback-icon { background: #fff2ed; color: #99552f; }
.contact-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.site-footer { padding: 30px 0 18px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 14px 25px; }
.footer-brand img { width: 135px; height: 55px; object-fit: contain; object-position: left center; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--green); }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 12px; font-weight: 700; text-decoration: none; }
.footer-links svg { display: block; flex: 0 0 22px; width: 22px; height: 22px; }
.footer-inner > small { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #f0f2ee; color: var(--muted); font-size: 11px; }

.dealer-dialog { width: min(680px, calc(100% - 28px)); max-width: none; max-height: min(82vh, 760px); padding: 0; overflow: visible; border: 0; border-radius: 20px; background: transparent; color: var(--ink); }
.dealer-dialog::backdrop { background: rgba(26, 39, 29, .48); backdrop-filter: blur(3px); }
.dialog-panel { max-height: min(82vh,760px); position: relative; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: var(--white); box-shadow: 0 24px 70px rgba(18,36,22,.2); }
.dialog-close { width: 40px; height: 40px; position: absolute; top: 19px; right: 19px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--paper); }
.dialog-panel .eyebrow { margin: 0 55px 8px 0; }
.dialog-panel h2 { margin: 0 48px 7px 0; font-size: 27px; letter-spacing: -.03em; }
.dialog-intro { margin: 0 0 19px; color: var(--muted); font-size: 14px; }
.dealer-list { display: grid; gap: 10px; padding: 2px 4px 4px 0; overflow-y: auto; overscroll-behavior: contain; }
.dealer-card { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dealer-pin { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--green); font-size: 22px; }
.dealer-card h3 { margin: 0 0 3px; font-size: 15px; }.dealer-card p { margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.dealer-actions { display: flex; flex-wrap: wrap; gap: 14px; }.dealer-actions a { color: var(--green); font-size: 12px; font-weight: 700; }.dealer-actions a:hover { color: var(--orange); }

.catalog-hero { padding: 18px 0; background: var(--paper); }
.catalog-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.catalog-hero h1 { margin: 0; font-size: clamp(25px, 2.5vw, 31px); line-height: 1.12; letter-spacing: -.04em; }
.catalog-hero p:not(.eyebrow) { max-width: 630px; margin: 0; color: var(--muted); font-size: 16px; }
.catalog-count { width: 96px; height: 96px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.catalog-count strong { color: var(--green); font-family: Manrope, sans-serif; font-size: 36px; }.catalog-count span { color: var(--muted); font-size: 11px; line-height: 1.25; }
.catalog-page { padding-top: 24px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-toolbar h2 { margin: 0 0 3px; font-size: 21px; }.catalog-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.search-box { width: min(350px,100%); min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--green); }
.search-box > span:not(.sr-only) { font-size: 22px; }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.filter-list { display: flex; gap: 8px; margin: 24px 0 27px; overflow-x: auto; scrollbar-width: none; }
.filter-chip { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--green); background: var(--green); color: var(--white); }
.catalog-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.catalog-grid .product-image-link { height: 225px; }
.empty-state { padding: 50px 20px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }.empty-state p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.sr-only { width: 1px; height: 1px; position: absolute; clip: rect(0,0,0,0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

@media (max-width: 1000px) {
    .container { width: min(100% - 36px, 900px); }
    .main-nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 28px; }
    .hero h1 { font-size: clamp(40px, 5vw, 54px); }
    .product-carousel { grid-auto-columns: calc((100% - 40px) / 3); }
    .state-grid { grid-template-columns: repeat(3,1fr); }
    .catalog-grid { grid-template-columns: repeat(3,1fr); }
    .instagram-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .section { padding: 34px 0; }
    .nav-wrap { min-height: 72px; }
    .brand { width: 145px; }.brand img { height: 52px; }
    .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
    .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: var(--green); transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }.menu-toggle[aria-expanded="true"] span:last-child { display: none; }
    .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 20px; border-bottom: 1px solid rgba(236, 239, 234, 0.8); background: linear-gradient(115deg, rgba(13, 49, 28, 0.91), rgba(27, 115, 57, 0.76)); box-shadow: 0 14px 20px rgba(34,62,38,.07); backdrop-filter: blur(14px); }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav > a:not(.button) { padding: 13px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
    .main-nav .button { margin-top: 12px; }
    .hero { padding: 23px 0 26px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { max-width: 520px; font-size: clamp(39px, 10vw, 52px); }
    .hero-lede { font-size: 15px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .hero-note { margin-top: 27px; }
    .hero-visual { min-height: 335px; padding: 17px; border-radius: 20px; }
    .hero-image { height: 270px; border-radius: 14px; }
    .hero-caption { bottom: 10px; padding: 12px 14px; }
    .hero h1 span { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 38px; }
    .instagram-video-grid { grid-template-columns: 1fr; gap: 14px; }
    .about-photo-wrap > img { height: 245px; }
    .photo-note { right: 10px; bottom: -15px; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
    .desktop-link { display: none; }.mobile-link { display: inline-flex; }
    .product-carousel { grid-auto-columns: minmax(0, 78%); grid-auto-columns: 78%; gap: 14px; }
    .product-image-link { height: 190px; }
    .carousel-control { width: 38px; height: 38px; top: 38%; }.carousel-control.previous { left: -13px; }.carousel-control.next { right: -13px; }
    .carousel-footer { justify-content: space-between; gap: 12px; margin-top: 12px; }.carousel-dots { max-width: 42%; overflow: hidden; }
    .state-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }.state-card { min-height: 75px; gap: 8px; padding: 10px; }.state-shape { width: 37px; height: 37px; padding: 1px; }.state-copy strong { font-size: 12px; }.state-copy small { font-size: 10px; }.state-arrow { font-size: 14px; }
    .contact-band { padding: 38px 0; }.contact-layout { grid-template-columns: 1fr; gap: 22px; }.contact-copy { padding-top: 0; }.contact-copy h2 { font-size: 28px; }.contact-form { padding: 19px; }.contact-form-actions { align-items: stretch; flex-direction: column; gap: 12px; }.contact-form-actions .button { width: 100%; }
    .contact-feedback-content { gap: 9px; padding: 27px 20px 22px; border-radius: 17px; }.contact-feedback-dialog h2 { font-size: 24px; }
    .footer-inner { grid-template-columns: 1fr; }.footer-brand { grid-column: 1; grid-row: 1; }.footer-inner > p { grid-column: 1; grid-row: 2; }.footer-links { grid-column: 1; grid-row: 3; }.footer-inner > small { grid-column: 1; grid-row: 4; }
    .dealer-dialog { width: calc(100% - 20px); max-height: 88dvh; }
    .dialog-panel { max-height: 88dvh; padding: 23px 17px 17px; border-radius: 17px; }
    .dialog-close { width: 38px; height: 38px; top: 14px; right: 13px; }
    .dealer-list { padding-right: 2px; }
    .dealer-card { grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; }.dealer-pin { width: 32px; height: 32px; }
    .catalog-hero { padding: 14px 0; }.catalog-hero-inner { align-items: flex-start; }.catalog-hero h1 { font-size: clamp(23px, 6vw, 28px); }.catalog-hero .eyebrow { margin-bottom: 4px; font-size: 10px; }.catalog-page { padding-top: 17px; }.catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 11px; }.catalog-toolbar h2 { font-size: 19px; }.search-box { width: 100%; min-height: 42px; }.filter-list { margin: 10px 0 13px; }
    .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }.catalog-grid .product-image-link { height: 150px; }.catalog-grid .product-info { padding: 12px 10px; }.catalog-grid .product-info h3 { min-height: 42px; font-size: 13px; }.catalog-grid .product-actions { align-items: flex-start; flex-direction: column; }.catalog-grid .consult-link { min-height: 30px; }
}
@media (max-width: 380px) {
    .state-grid { grid-template-columns: 1fr; }
    .catalog-grid { gap: 8px; }.catalog-grid .product-image-link { height: 128px; }
    .hero h1 { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Gestor de productos */
.product-admin-page { min-height: 100vh; background: var(--paper); }
.product-admin-page .nav-wrap { min-height: 66px; }
.product-admin-page .brand img { height: 48px; }
.admin-main { padding-top: 24px; padding-bottom: 50px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.admin-heading .eyebrow { margin-bottom: 7px; }
.admin-heading h1 { margin: 0 0 5px; font-size: clamp(27px, 3.2vw, 36px); letter-spacing: -.045em; }
.admin-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.admin-status { margin-bottom: 15px; padding: 9px 13px; border: 1px solid #d7e5d1; border-radius: 9px; background: #f2f8ef; color: var(--green); font-size: 12px; }
.admin-status.is-error { border-color: #f0d5c5; background: #fff8f3; color: #99552f; }
.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 16px; }
.admin-sidebar, .admin-form { border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.admin-sidebar { overflow: hidden; }
.admin-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.admin-list-heading h2, .admin-form-heading h2 { margin: 0; font-size: 19px; }
.admin-list-heading .button { min-height: 36px; padding-inline: 14px; font-size: 12px; }
.admin-product-list { max-height: 620px; overflow: auto; }
.admin-product-item { width: 100%; display: block; padding: 10px 14px; border: 0; border-bottom: 1px solid #edf0ea; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.admin-product-item:hover, .admin-product-item.is-active { background: #f3f7ef; }
.admin-product-item.is-active { box-shadow: inset 3px 0 var(--green); }
.admin-product-item span, .admin-product-item small { display: block; }
.admin-product-item span { font-size: 13px; font-weight: 700; }
.admin-product-item small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.admin-form { padding: 18px; }
.admin-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.admin-form-heading .eyebrow { margin-bottom: 5px; }
.admin-delete { padding: 8px 13px; border: 1px solid #ecd4cc; border-radius: 20px; background: white; color: #a34c37; cursor: pointer; }
.admin-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 11px; }
.admin-fields label, .upload-label { display: grid; gap: 7px; color: #475247; font-size: 12px; font-weight: 700; }
.admin-fields > label:first-child { grid-column: auto; }
.admin-new-label-field { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(180px, 1fr) minmax(200px, .8fr); align-items: center; gap: 6px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafbf8; transition: border-color .2s ease, background .2s ease; }
.admin-new-label-field.is-enabled { border-color: #d7bf68; background: #fffdf4; }
.admin-new-label-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(41,53,44,.08); }
.admin-new-label-heading strong, .admin-new-label-heading span:not(.admin-new-sample) { display: block; }
.admin-new-label-heading strong { color: var(--ink); font-size: 12px; }
.admin-new-label-heading div > span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.admin-new-sample { padding: 5px 10px; border-radius: 20px; background: var(--gold); color: #2d3328; font-size: 10px; font-weight: 800; }
.admin-checkbox-label { min-height: 30px; display: flex !important; align-items: center; gap: 8px !important; padding: 0 2px; color: var(--ink) !important; font-size: 11px !important; cursor: pointer; }
.admin-checkbox-label input { width: 16px; min-height: 16px; accent-color: var(--green); }
.admin-new-date-label { display: grid; gap: 5px; color: #475247; font-size: 11px; font-weight: 700; }
.admin-new-label-field input[type="date"] { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid #dfe5dc; border-radius: 7px; background: white; font-size: 12px; }
.admin-new-label-field input[type="date"]:disabled { background: #f1f2ee; color: #9ba297; }
.admin-new-help { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.admin-fields input { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #dfe5dc; border-radius: 7px; outline: none; }
.admin-fields input:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(117,169,87,.14); }
.admin-table-section { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); box-shadow: var(--shadow); }
.admin-list-heading h2 span { margin-left: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; min-width: 900px; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 10px 13px; background: #f7f9f5; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { max-width: 185px; padding: 10px 13px; border-top: 1px solid #edf0ea; color: #485248; font-size: 12px; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fbfcfa; }
.admin-table-product { min-width: 180px; }
.admin-table-product strong { color: var(--ink); font-size: 12px; }
.admin-table-category { padding: 4px 8px; border-radius: 15px; background: #eef4e9; color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-table-status { display: inline-block; padding: 4px 8px; border-radius: 14px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-table-status.is-active { background: #edf5e9; color: var(--green); }
.admin-table-status.is-inactive { background: #f0f1ee; color: #737a72; }
.admin-table-file { display: block; max-width: 135px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.admin-table-file.is-pending { color: #9a6b25; }
.admin-table-badge { display: inline-block; padding: 4px 8px; border-radius: 14px; background: var(--gold); color: #2d3328; font-size: 10px; font-weight: 800; }
.admin-table-badge.is-expired { background: #eef0ec; color: #777f76; }
.admin-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.admin-table-muted { color: #a6aea5; }
.admin-edit-button { padding: 6px 10px; border: 1px solid #dce6d8; border-radius: 16px; background: var(--white); color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-edit-button:hover { background: #eff5ec; }
.admin-editor-dialog { width: min(740px, calc(100% - 28px)); max-width: none; max-height: 90vh; padding: 0; overflow: visible; border: 0; border-radius: 16px; background: transparent; color: var(--ink); }
.admin-editor-dialog::backdrop { background: rgba(26, 39, 29, .48); backdrop-filter: blur(3px); }
.admin-editor-panel { max-height: 90vh; position: relative; overflow-y: auto; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: var(--white); box-shadow: 0 24px 70px rgba(18,36,22,.2); }
.admin-editor-panel .admin-form { padding: 22px; border: 0; border-radius: 0; box-shadow: none; }
.admin-editor-panel .admin-form-heading { padding-right: 44px; }
.admin-editor-panel .dialog-close { position: absolute; top: 15px; right: 15px; z-index: 2; }
.admin-modal-actions { display: flex; align-items: center; gap: 12px; }
.admin-active-toggle { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-active-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.admin-active-toggle span, .admin-active-toggle small { display: block; }
.admin-active-toggle small { margin-top: 1px; color: var(--muted); font-size: 9px; font-weight: 400; }
.admin-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.admin-upload-card { min-width: 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: center; gap: 3px 11px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fcfdfb; }
.admin-preview { width: 90px; height: 72px; position: relative; grid-row: 1 / 3; display: grid; place-items: center; overflow: hidden; margin: 0; border-radius: 7px; background: #eef2e9; color: var(--muted); font-size: 10px; text-align: center; }
.admin-preview .product-new-badge { top: 5px; right: 5px; padding: 4px 7px; font-size: 9px; }
.admin-preview img { width: 100%; height: 100%; object-fit: contain; }
.upload-label input { width: 100%; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; }
.admin-file-name { overflow: hidden; margin: 7px 0 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-pdf-card { grid-template-columns: 44px minmax(0, 1fr); }
.pdf-symbol { width: 40px; height: 48px; grid-row: 1 / 3; display: grid; place-items: center; margin: 0; border: 1px solid #efd5cb; border-radius: 7px; background: #fff4ef; color: #ae563b; font-size: 11px; font-weight: 800; }
.admin-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.admin-form-actions p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; }
.admin-form-actions strong { color: var(--ink); }
@media (max-width: 760px) {
    .admin-main { padding-top: 18px; }
    .admin-heading { align-items: flex-start; flex-direction: row; gap: 12px; }
    .admin-heading > .button { flex: 0 0 auto; min-height: 40px; padding-inline: 14px; font-size: 11px; }
    .admin-fields { grid-template-columns: 1fr 1fr; }
    .admin-fields > label:first-child { grid-column: 1 / -1; }
    .admin-uploads { grid-template-columns: 1fr; }
    .admin-new-label-field { grid-template-columns: 1fr; }
    .admin-form-actions { align-items: stretch; flex-direction: column; }
    .admin-form-actions .button { width: 100%; }
    .admin-editor-dialog { width: calc(100% - 18px); max-height: 94dvh; }
    .admin-editor-panel { max-height: 94dvh; }
    .admin-editor-panel .admin-form { padding: 18px 14px; }
    .admin-modal-actions { align-items: flex-end; flex-direction: column-reverse; gap: 7px; }
}
