@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --green: #16803c;
  --green-dark: #0b5428;
  --green-deep: #073b1c;
  --green-light: #6dbe45;
  --green-pale: #edf7e9;
  --yellow: #f4b400;
  --red: #d62828;
  --ink: #16251c;
  --muted: #64736a;
  --line: #e3e9e3;
  --surface: #fff;
  --canvas: #f7f9f6;
  --shadow-sm: 0 3px 14px rgba(11, 84, 40, .07);
  --shadow: 0 12px 36px rgba(11, 84, 40, .11);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: 180ms ease;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
::selection { color: #fff; background: var(--green); }
:focus-visible { outline: 3px solid rgba(244, 180, 0, .8); outline-offset: 3px; }

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 9px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.small { margin-bottom: 3px; font-size: .65rem; }
.section { padding: 60px 0; }
.section-muted { background: #eef5ed; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-head h2, .page-hero h1, .dashboard-heading h1 { margin: 0; color: var(--green-dark); font: 800 clamp(1.65rem, 4vw, 2.6rem)/1.1 Manrope, sans-serif; letter-spacing: -.04em; }
.section-head p { max-width: 550px; margin: 9px 0 0; color: var(--muted); }
.section-link, .text-link { color: var(--green); font-weight: 700; }
.section-link:hover, .text-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.topbar { color: #e9f6e9; background: var(--green-dark); font-size: .73rem; }
.topbar-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 14px; }
.topbar-right { opacity: .75; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 74px; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--green-dark); font: 800 1.16rem/1 Manrope, sans-serif; letter-spacing: -.06em; }
.brand > span:last-child > span, .dashboard-brand span { color: var(--green-light); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 700 .42rem/1 Inter, sans-serif; letter-spacing: .14em; }
.brand-icon { display: grid; width: 37px; height: 37px; place-items: center; color: #fff; background: var(--green); border-radius: 12px 12px 12px 3px; font-size: 1.2rem; transform: rotate(-8deg); }
.desktop-nav { display: none; align-items: center; gap: 20px; margin-left: auto; font-size: .84rem; font-weight: 600; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--green); }
.header-search { position: relative; display: flex; flex: 1; max-width: 330px; margin-left: auto; }
.header-search input { width: 100%; min-width: 0; height: 42px; padding: 0 41px 0 14px; border: 1px solid var(--line); border-radius: 99px; background: #f8faf8; outline: 0; }
.header-search input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,128,60,.1); }
.header-search button { position: absolute; top: 0; right: 0; width: 42px; height: 42px; color: var(--green-dark); border: 0; background: transparent; font-size: 1.25rem; }
.search-suggestions { position: absolute; z-index: 30; top: calc(100% + 9px); right: 0; left: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); }
.search-suggestions a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.search-suggestions a:last-child { border: 0; }
.search-suggestions a:hover { background: var(--green-pale); }
.search-suggestions img { width: 36px; height: 36px; object-fit: cover; border-radius: 7px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-link, .menu-toggle { display: grid; position: relative; width: 39px; height: 39px; place-items: center; border: 0; border-radius: 50%; background: transparent; font-size: 1.3rem; }
.icon-link:hover, .menu-toggle:hover { color: var(--green); background: var(--green-pale); }
.cart-badge { position: absolute; top: -2px; right: -1px; display: grid; width: 18px; height: 18px; place-items: center; color: #fff; background: var(--red); border: 2px solid #fff; border-radius: 50%; font-size: .62rem; font-weight: 800; }
.menu-toggle { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.menu-toggle span { display: block; width: 19px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: grid; gap: 2px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 10px 5px; font-weight: 600; }

.hero { overflow: hidden; color: #fff; background: var(--green-dark); }
.hero-index { position: relative; isolation: isolate; min-height: 520px; background: linear-gradient(90deg, rgba(7,59,28,.98) 0%, rgba(11,84,40,.87) 46%, rgba(11,84,40,.3) 100%), url('../images/hero.jpg') center/cover; }
.hero-index::after { position: absolute; z-index: -1; right: -100px; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 70px rgba(255,255,255,.03); content: ''; }
.hero-content { display: flex; min-height: 520px; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 650px; padding: 54px 0; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #d8efc7; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-label::before { width: 23px; height: 1px; background: var(--green-light); content: ''; }
.hero h1 { margin: 0; font: 800 clamp(2.5rem, 7vw, 5.6rem)/.98 Manrope, sans-serif; letter-spacing: -.07em; }
.hero h1 em { color: var(--green-light); font-style: normal; }
.hero p { max-width: 520px; margin: 24px 0 0; color: #d7e8da; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; color: #d7e8da; font-size: .76rem; }
.hero-trust strong { display: block; color: #fff; font: 800 1.15rem Manrope, sans-serif; }

.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-outline { color: var(--green-dark); border-color: var(--green); background: transparent; }
.button-outline:hover { color: #fff; background: var(--green); }
.button-light { color: var(--green-dark); background: #fff; }
.button-gold { color: #302300; background: var(--yellow); }
.button-glass { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
.button-small { min-height: 36px; padding: 0 12px; font-size: .8rem; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.category-card { position: relative; min-height: 150px; overflow: hidden; padding: 18px; color: #fff; background: var(--green); border-radius: var(--radius); isolation: isolate; }
.category-card:nth-child(3n) { background: var(--green-dark); }
.category-card::after { position: absolute; z-index: -1; right: -25px; bottom: -38px; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ''; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card, .product-card { transition: transform var(--ease), box-shadow var(--ease); }
.category-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 14px; color: var(--green-dark); background: #d9efc8; border-radius: 12px; font-size: 1.4rem; }
.category-card h3 { margin: 0; font: 700 1rem Manrope, sans-serif; }
.category-card small { opacity: .76; }
.category-overlay { position: absolute; inset: 0; }
.category-arrow { position: absolute; right: 16px; bottom: 14px; font-size: 1.3rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-photo { position: relative; aspect-ratio: 1 / .9; overflow: hidden; background: #e5eee4; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-photo img { transform: scale(1.045); }
.origin-tag { position: absolute; top: 10px; left: 10px; padding: 4px 8px; color: var(--green-dark); background: rgba(255,255,255,.9); border-radius: 99px; font-size: .61rem; font-weight: 800; }
.favorite-btn { position: absolute; top: 9px; right: 9px; display: grid; width: 31px; height: 31px; place-items: center; color: var(--green-dark); border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); font-size: 1.1rem; }
.favorite-btn.is-favorite { color: var(--red); }
.product-body { padding: 15px; }
.product-body h3 { margin: 4px 0 8px; font: 700 1rem/1.2 Manrope, sans-serif; }
.product-body h3 a:hover { color: var(--green); }
.product-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .67rem; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; }
.product-bottom strong { display: inline-block; color: var(--green-dark); font: 800 1rem Manrope, sans-serif; }
.product-bottom small { color: var(--muted); font-size: .7rem; }
.add-button { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; border: 0; border-radius: 9px; background: var(--green); font-size: 1.35rem; line-height: 1; }
.add-button:hover { background: var(--green-dark); }
.product-body .text-link { display: block; margin-top: 13px; font-size: .72rem; }

.benefits { display: grid; grid-template-columns: 1fr; gap: 13px; }
.benefits > div { display: flex; align-items: flex-start; gap: 13px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.benefit-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: var(--green); background: var(--green-pale); border-radius: 11px; font-size: 1.2rem; }
.benefits h3 { margin: 0 0 4px; font: 700 .93rem Manrope, sans-serif; }
.benefits p { margin: 0; color: var(--muted); font-size: .8rem; }
.producer-banner { position: relative; overflow: hidden; color: #fff; background: var(--green-dark); border-radius: var(--radius-lg); }
.producer-banner-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 35px 25px; }
.producer-banner h2 { max-width: 550px; margin: 0; font: 800 clamp(1.7rem, 4vw, 2.8rem)/1.05 Manrope, sans-serif; letter-spacing: -.05em; }
.producer-banner p { max-width: 550px; margin: 0; color: #cde4d0; }
.banner-decoration { position: absolute; right: -85px; bottom: -120px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.03); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial { display: none; max-width: 720px; margin: auto; padding: 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.testimonial.is-active { display: block; animation: fade-in 250ms ease both; }
.testimonial blockquote { margin: 0; color: var(--green-dark); font: 700 clamp(1.1rem, 3vw, 1.55rem)/1.35 Manrope, sans-serif; }
.testimonial cite { display: block; margin-top: 16px; color: var(--muted); font-size: .8rem; font-style: normal; }
.stars { color: var(--yellow); letter-spacing: .1em; }
.slider-controls { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.slider-controls button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #bdd4bd; }
.slider-controls button[aria-current=true] { background: var(--green); transform: scale(1.2); }

.page-hero { padding: 44px 0 42px; background: linear-gradient(135deg, #e6f3e2, #f7fbf5); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 680px; margin: 13px 0 0; color: var(--muted); }
.catalog-layout { display: grid; gap: 24px; align-items: start; padding-block: 34px 70px; }
.filters { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters h2 { margin: 0 0 18px; color: var(--green-dark); font: 800 1.1rem Manrope, sans-serif; }
.filters label, .form-grid label, .form-card label { display: grid; gap: 6px; margin-bottom: 14px; color: var(--green-dark); font-size: .78rem; font-weight: 700; }
.filters input, .filters select, .form-grid input, .form-grid select, .form-grid textarea, .form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #d5dfd5; border-radius: 8px; background: #fff; }
.filters input:focus, .filters select:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 4px rgba(22,128,60,.1); }
.filters .button { width: 100%; }
.clear-filters { display: inline-block; margin-top: 9px; color: var(--muted); font-size: .75rem; }
.filter-toggle { display: inline-flex; margin-bottom: 14px; }
.catalog-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.catalog-top p { margin: 0; color: var(--muted); }
.catalog-results { min-width: 0; }

.form-card, .panel, .summary-card, .stat-card, .chart-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-card { max-width: 720px; margin: 35px auto 70px; }
.form-card h1 { margin-top: 0; color: var(--green-dark); font: 800 1.75rem Manrope, sans-serif; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form-grid label { margin-bottom: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { min-height: 105px; resize: vertical; }
.form-grid .button, .form-card .button { margin-top: 4px; }
.check-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; }
.check-row input { width: auto; min-height: auto; }
.delivery-note { padding: 12px; color: var(--green-dark); background: var(--green-pale); border-radius: 8px; font-size: .77rem; }

.cart-layout { display: grid; gap: 23px; align-items: start; padding-block: 35px 70px; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 13px; padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; }
.cart-item h3 { margin: 0; font: 700 .9rem Manrope, sans-serif; }
.cart-item p { margin: 3px 0; color: var(--muted); font-size: .72rem; }
.quantity-control { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.quantity-control button { width: 28px; height: 28px; padding: 0; border: 0; background: #f5f8f4; }
.quantity-control input { width: 38px; height: 28px; padding: 0; border: 0; text-align: center; }
.item-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.remove-item, .link-danger { color: var(--red); border: 0; background: transparent; font-size: .72rem; }
.summary-card { position: sticky; top: 100px; }
.summary-card h2 { margin: 0 0 18px; color: var(--green-dark); font: 800 1.1rem Manrope, sans-serif; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; margin: 10px 0; color: var(--muted); font-size: .84rem; }
.summary-total { display: flex; justify-content: space-between; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--green-dark); font: 800 1.1rem Manrope, sans-serif; }
.summary-card .button { width: 100%; margin-top: 18px; }
.empty-state { padding: 45px 20px; color: var(--muted); text-align: center; background: #fff; border: 1px dashed #bfd2bd; border-radius: var(--radius); }

.flash, .toast { border-radius: 9px; }
.flash { padding: 12px 15px; margin-top: 14px; font-size: .82rem; }
.flash-success, .success { color: #165525; background: #e4f4e1; }
.flash-error, .error { color: #8c2020; background: #fee7e5; }
.toast-area { position: fixed; z-index: 100; right: 14px; bottom: 16px; display: grid; gap: 8px; width: min(360px, calc(100% - 28px)); }
.toast { padding: 13px 16px; color: #fff; background: var(--green-dark); box-shadow: var(--shadow); font-size: .82rem; animation: slide-up 220ms ease both; }
.toast.is-error { background: var(--red); }
.toast.is-leaving { opacity: 0; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; }

.product-modal[hidden] { display: none; }
.product-modal { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 35, 17, .72); backdrop-filter: blur(4px); }
.modal-panel { position: relative; z-index: 1; width: min(760px, 100%); max-height: min(720px, 92vh); overflow: auto; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.modal-close { position: absolute; z-index: 1; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef4ec; font-size: 1.35rem; }
.quick-view { display: grid; gap: 22px; }
.quick-view-media { overflow: hidden; border-radius: 12px; background: #eef5ed; }
.quick-view-media img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.quick-view h2 { margin: 5px 0; color: var(--green-dark); font: 800 1.7rem Manrope, sans-serif; }
.quick-view-price { color: var(--green); font: 800 1.3rem Manrope, sans-serif; }
.quick-view-description { color: var(--muted); }

.dashboard-shell { display: grid; min-height: 620px; background: var(--canvas); }
.dashboard { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 70px; }
.dashboard-sidebar { padding: 23px 18px; color: #d7ebd6; background: var(--green-dark); }
.dashboard-brand { margin-bottom: 25px; color: #fff; font: 800 1.25rem Manrope, sans-serif; letter-spacing: -.05em; }
.dashboard-nav { display: grid; gap: 4px; }
.dashboard-nav a { padding: 11px 12px; border-radius: 8px; font-size: .82rem; }
.dashboard-nav a:hover, .dashboard-nav a.is-active { color: #fff; background: rgba(255,255,255,.12); }
.dashboard-content { min-width: 0; padding: 24px 16px 60px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.dashboard-heading h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.user-chip { padding: 7px 11px; color: var(--green-dark); background: var(--green-pale); border-radius: 99px; font-size: .72rem; font-weight: 700; }
.admin-grid, .dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.metric-card h3, .stat-card h3 { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 600; }
.metric-card strong, .stat-card strong { display: block; margin-top: 7px; color: var(--green-dark); font: 800 1.5rem Manrope, sans-serif; }
.quick-links { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .78rem; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: #f8faf8; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfb; }
td small { display: block; color: var(--muted); }
.status { display: inline-block; padding: 3px 8px; border-radius: 99px; font-size: .65rem; font-weight: 700; }
.status-delivered { color: #166223; background: #e1f3df; }
.status-cancelled { color: #8c2020; background: #fee6e4; }
.status-pending { color: #765300; background: #fff3c9; }
.status-confirmed, .status-preparing, .status-shipped { color: #155a83; background: #e3f1fb; }
.panel { margin-bottom: 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.panel-heading h2 { margin: 0; color: var(--green-dark); font: 800 1.1rem Manrope, sans-serif; }
.chart-panel { min-height: 280px; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination a { display: grid; min-width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: .8rem; }
.pagination a:hover, .pagination a.active { color: #fff; border-color: var(--green); background: var(--green); }
.footer { padding-top: 54px; color: #cae0cc; background: #073b1c; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 38px; }
.brand-footer { color: #fff; }
.footer p { max-width: 290px; color: #a9c6ac; font-size: .8rem; }
.footer h3 { margin: 0 0 12px; color: #fff; font: 700 .85rem Manrope, sans-serif; }
.footer-grid > div:not(:first-child) a { display: block; margin: 7px 0; color: #a9c6ac; font-size: .78rem; }
.footer-grid > div:not(:first-child) a:hover { color: #fff; }
.footer-pill { display: inline-block; margin-top: 10px; padding: 5px 9px; color: #d9efc8; border: 1px solid rgba(217,239,200,.25); border-radius: 99px; font-size: .68rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.footer .social-row a { display: inline-block !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 17px; color: #8cae91; border-top: 1px solid rgba(255,255,255,.12); font-size: .68rem; }
.whatsapp-float { position: fixed; z-index: 40; right: 16px; bottom: 18px; display: grid; width: 49px; height: 49px; place-items: center; color: #fff; background: #20a957; border-radius: 50%; box-shadow: var(--shadow); font-size: 1.35rem; }
.whatsapp-float:hover { transform: translateY(-3px); }

@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-view { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 760px) {
  .container { width: min(1180px, calc(100% - 48px)); }
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .category-card { min-height: 180px; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .producer-banner-inner { padding: 55px; }
  .catalog-layout { grid-template-columns: 245px minmax(0, 1fr); }
  .filter-toggle { display: none; }
  .filters { position: sticky; top: 100px; }
  .cart-layout { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr); }
  .footer-grid { grid-template-columns: 1.8fr repeat(3, 1fr); }
  .dashboard-shell { grid-template-columns: 235px minmax(0, 1fr); }
  .dashboard-sidebar { min-height: 100%; }
  .dashboard-content { padding: 36px 35px 70px; }
  .admin-grid, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .section { padding: 82px 0; }
  .hero-content { min-height: 590px; }
  .hero-index { min-height: 590px; }
  .metric-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Reconciled page components and markup additions */
:root { --hero-image: url('../images/hero.jpg'); --max-readable: 72ch; }
h1 em, h2 em, h3 em { color: var(--green); font-style: normal; }
.full { width: 100%; }
.eyebrow.light { color: var(--green-dark); }
.producer-banner .eyebrow.light, .auth-section .eyebrow.light { color: #d9efc8; }

/* The homepage caption is a child of the hero, not the hero itself. */
.hero { position: relative; isolation: isolate; min-height: 520px; background: var(--green-dark); }
.hero::before { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,59,28,.97) 0%, rgba(11,84,40,.84) 45%, rgba(11,84,40,.28) 100%), var(--hero-image) center/cover; content: ''; }
.hero::after { position: absolute; z-index: -1; right: -100px; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 70px rgba(255,255,255,.03); content: ''; }
.hero-content { position: relative; z-index: 1; }
.hero-index { position: absolute; z-index: 1; right: max(16px, calc((100% - 1180px) / 2)); bottom: 24px; min-height: 0; color: rgba(255,255,255,.78); background: transparent; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.hero-index::after { display: none; }
.trust-strip { color: #d9efc8; background: var(--green-dark); border-bottom: 1px solid rgba(255,255,255,.1); }
.trust-strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 15px 0; font-size: .72rem; font-weight: 700; }

/* Image-backed category tiles */
.category-card { min-height: 190px; padding: 0; background: var(--green-dark); }
.category-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.category-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(7,59,28,.08) 14%, rgba(7,59,28,.9) 100%); content: ''; }
.category-card::after { z-index: 0; }
.category-card:hover img { transform: scale(1.06); }
.category-overlay { z-index: 1; display: flex; min-height: inherit; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 18px; background: transparent; }
.category-overlay > div { padding-right: 30px; }
.category-icon { margin: 0 0 10px; }
.category-card h3 { color: #fff; }
.category-card small { color: #e6f6df; opacity: 1; }
.category-arrow { z-index: 2; color: #fff; }

.benefits > article { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: 2px 13px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.benefits > article .benefit-icon { grid-row: 1 / -1; }
.benefits > article h3 { margin-top: 1px; }

.page-hero { color: var(--green-dark); }
.page-hero h1 { color: var(--green-dark); }
.page-hero.compact { padding-block: 30px 28px; }
.page-hero.compact h1 { font-size: clamp(1.8rem, 5vw, 3.4rem); }
.page-hero .eyebrow.light { color: var(--green); }
.catalog-top h2 { margin: 4px 0 0; color: var(--green-dark); font: 800 clamp(1.35rem, 3vw, 1.8rem)/1.1 Manrope, sans-serif; letter-spacing: -.04em; }
.filters h3 { margin: 0 0 16px; color: var(--green-dark); font: 800 1.1rem Manrope, sans-serif; }
.filters .full, .summary-card .full, .checkout-form .full { width: 100%; }

/* Detail and review layouts */
.breadcrumbs { padding-top: 20px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a:hover { color: var(--green); }
.detail-layout { display: grid; gap: 34px; align-items: start; padding-top: 34px; }
.gallery { min-width: 0; }
.gallery-main { overflow: hidden; background: #e8f1e7; border-radius: var(--radius); }
.gallery-main img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.gallery-thumbs button { width: 66px; height: 66px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 9px; background: #e8f1e7; }
.gallery-thumbs button:hover, .gallery-thumbs button.is-active { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { min-width: 0; padding: 8px 0; }
.detail-info h1 { margin: 5px 0 12px; color: var(--green-dark); font: 800 clamp(2rem, 5vw, 3.3rem)/1.05 Manrope, sans-serif; letter-spacing: -.06em; }
.detail-rating { color: var(--yellow); font-weight: 800; }
.detail-rating span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.detail-price { margin: 18px 0 12px; color: var(--green); font: 800 clamp(1.65rem, 4vw, 2.2rem)/1 Manrope, sans-serif; }
.detail-price small { color: var(--muted); font: 500 .8rem Inter, sans-serif; }
.detail-description { max-width: var(--max-readable); color: var(--muted); }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 17px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts span, .detail-facts b { display: block; }
.detail-facts span { color: var(--muted); font-size: .68rem; }
.detail-facts b { margin-top: 3px; color: var(--green-dark); font-size: .78rem; }
.detail-cart { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.detail-cart label { display: grid; gap: 5px; color: var(--green-dark); font-size: .72rem; font-weight: 700; }
.detail-cart input { width: 80px; min-height: 45px; padding: 8px; border: 1px solid #d5dfd5; border-radius: 8px; text-align: center; }
.favorite-inline { margin-top: 13px; padding: 0; color: var(--green); border: 0; background: transparent; font-size: .8rem; font-weight: 700; }
.favorite-inline:hover { color: var(--green-dark); text-decoration: underline; }
.detail-delivery { margin-top: 17px; padding: 12px; color: var(--green-dark); background: var(--green-pale); border-radius: 9px; font-size: .78rem; }
.reviews-layout { display: grid; gap: 24px; }
.review-card { padding: 17px 0; border-bottom: 1px solid var(--line); }
.review-card p { margin: 7px 0; color: var(--ink); }
.review-card small { color: var(--muted); font-size: .72rem; }
.reviews-layout .form-card { max-width: none; margin: 0; }

/* Cart and checkout */
.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1.5fr) minmax(290px, .8fr); }
.cart-items > h2 { margin: 0 0 15px; color: var(--green-dark); font: 800 1.35rem Manrope, sans-serif; }
.cart-items > h2 small { color: var(--muted); font: 500 .8rem Inter, sans-serif; }
.cart-item { grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; }
.cart-item > div { min-width: 0; }
.cart-item > div > strong { display: block; margin-top: 7px; color: var(--green-dark); font: 800 .9rem Manrope, sans-serif; }
.cart-quantity { display: flex; align-items: center; gap: 8px; }
.cart-quantity input { width: 58px; min-height: 35px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; text-align: center; }
.cart-quantity .text-link { padding: 0; border: 0; background: transparent; font-size: .72rem; }
.remove-link { width: 30px; height: 30px; padding: 0; color: var(--red); border: 0; border-radius: 50%; background: #fff0ef; font-size: 1.25rem; line-height: 1; }
.remove-link:hover { background: #fee2df; }
.summary-card label { display: grid; gap: 6px; color: var(--green-dark); font-size: .75rem; font-weight: 700; }
.summary-card select { width: 100%; min-height: 42px; padding: 8px; margin-bottom: 13px; border: 1px solid #d5dfd5; border-radius: 8px; background: #fff; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--muted); font-size: .82rem; }
.summary-row strong, .summary-row b { color: var(--green-dark); }
.summary-row.total { padding-top: 15px; margin-top: 10px; border-top: 1px solid var(--line); color: var(--green-dark); font-size: 1rem; font-weight: 800; }
.fineprint { color: var(--muted); font-size: .72rem; }
.checkout-layout { display: grid; gap: 24px; align-items: start; }
.checkout-form { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.checkout-form h2 { margin: 22px 0 15px; color: var(--green-dark); font: 800 1.25rem Manrope, sans-serif; }
.checkout-form h2:first-of-type { margin-top: 0; }
.checkout-form > label, .checkout-form .field-row > label { display: grid; gap: 6px; margin-bottom: 14px; color: var(--green-dark); font-size: .78rem; font-weight: 700; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #d5dfd5; border-radius: 8px; background: #fff; }
.checkout-form textarea { resize: vertical; }
.payment-options { display: grid; gap: 9px; margin: 15px 0 20px; }
.payment-options label { display: flex; align-items: center; gap: 10px; padding: 13px; color: var(--green-dark); border: 1px solid var(--line); border-radius: 9px; background: #fbfdfb; font-size: .8rem; font-weight: 700; }
.payment-options label:has(input:checked) { border-color: var(--green); background: var(--green-pale); box-shadow: 0 0 0 3px rgba(22,128,60,.08); }
.payment-options input { accent-color: var(--green); }
.checkout-product { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.checkout-product img { width: 42px; height: 42px; object-fit: cover; border-radius: 7px; }
.checkout-product b, .checkout-product small { display: block; }
.checkout-product b { color: var(--green-dark); font-size: .78rem; }
.checkout-product small { margin-top: 2px; color: var(--muted); font-size: .7rem; }

/* Auth, account, orders, and confirmation */
.auth-section { padding: 55px 0 75px; color: #fff; background: linear-gradient(120deg, var(--green-deep), var(--green-dark)); }
.auth-layout { display: grid; gap: 32px; align-items: center; }
.auth-intro { max-width: 560px; }
.auth-intro h1 { margin: 0; color: #fff; font: 800 clamp(2.3rem, 7vw, 4.5rem)/1 Manrope, sans-serif; letter-spacing: -.07em; }
.auth-intro h1 em { color: var(--green-light); }
.auth-intro p { max-width: 480px; margin: 20px 0; color: #d7e8da; }
.auth-intro > a { color: #d9efc8; font-weight: 700; }
.auth-card { width: 100%; max-width: 520px; margin: 0; justify-self: end; }
.auth-card h2 { margin-top: 0; color: var(--green-dark); font: 800 1.5rem Manrope, sans-serif; }
.auth-card .forgot-link { display: inline-block; margin: -3px 0 15px; color: var(--green); font-size: .75rem; font-weight: 700; }
.account-layout { display: grid; gap: 24px; align-items: start; }
.account-menu { display: grid; gap: 3px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.account-menu a, .account-menu form button { padding: 10px 11px; border-radius: 8px; text-align: left; font-size: .8rem; font-weight: 700; }
.account-menu a:hover, .account-menu a:focus-visible { color: var(--green-dark); background: var(--green-pale); }
.account-menu form { margin: 0; }
.account-menu form button { width: 100%; }
.account-content { min-width: 0; }
.account-content > .form-card { max-width: none; margin: 0 0 18px; }
.account-content > section > h2 { color: var(--green-dark); font: 800 1.35rem Manrope, sans-serif; }
.account-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.account-stats > div { padding: 17px; background: var(--green-pale); border-radius: var(--radius-sm); }
.account-stats strong, .account-stats span { display: block; }
.account-stats strong { color: var(--green-dark); font: 800 1.55rem Manrope, sans-serif; }
.account-stats span { color: var(--muted); font-size: .72rem; }
.favorite-list { display: grid; gap: 9px; }
.favorite-list a { display: flex; align-items: center; gap: 11px; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.favorite-list a:hover { border-color: var(--green); }
.favorite-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; }
.favorite-list span { flex: 1; color: var(--green-dark); font-size: .8rem; font-weight: 700; }
.favorite-list strong { color: var(--green); font-size: .78rem; }
.order-list { display: grid; gap: 14px; margin-top: 22px; }
.order-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.order-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.order-heading small { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.order-heading h2 { margin: 3px 0 0; color: var(--green-dark); font: 800 1.05rem Manrope, sans-serif; }
.status-badge { display: inline-block; padding: 5px 9px; border-radius: 99px; font-size: .65rem; font-weight: 800; }
.status-badge.status-pending { color: #765300; background: #fff3c9; }
.status-badge.status-confirmed, .status-badge.status-processing, .status-badge.status-shipped { color: #155a83; background: #e3f1fb; }
.status-badge.status-delivered { color: #166223; background: #e1f3df; }
.status-badge.status-cancelled { color: #8c2020; background: #fee6e4; }
.success-panel { max-width: 700px; padding: clamp(27px, 6vw, 54px); margin: 20px auto 15px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.success-panel h1 { margin: 7px 0 13px; color: var(--green-dark); font: 800 clamp(1.8rem, 5vw, 3rem)/1.05 Manrope, sans-serif; letter-spacing: -.06em; }
.success-panel > p { color: var(--muted); }
.success-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 18px; color: #fff; background: var(--green); border-radius: 50%; font-size: 1.8rem; font-weight: 800; }
.success-panel .summary-card { max-width: 420px; margin: 23px auto; text-align: left; box-shadow: none; }
.payment-note { padding: 14px; color: var(--green-dark) !important; background: var(--green-pale); border-radius: 9px; font-size: .82rem; }
.success-panel .hero-actions { justify-content: center; }

/* Informational content, modal, footer, and dashboard polish */
.prose { max-width: var(--max-readable); padding-block: 35px 70px; }
.prose h1, .prose h2, .prose h3 { color: var(--green-dark); font-family: Manrope, sans-serif; line-height: 1.15; }
.prose h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.prose h2 { margin-top: 2em; font-size: 1.45rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.product-modal { overscroll-behavior: contain; }
.modal-panel { scrollbar-color: var(--green) var(--green-pale); }
.quick-view-media img { background: #eef5ed; }
.quick-view .button { margin-top: 15px; }
.quick-view-trigger { position: absolute; right: 9px; bottom: 9px; z-index: 3; min-height: 32px; padding: 0 10px; color: var(--green-dark); border: 0; border-radius: 7px; background: rgba(255,255,255,.94); box-shadow: 0 2px 9px rgba(0,0,0,.15); font-size: .68rem; font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity var(--ease), transform var(--ease); }
.product-card:hover .quick-view-trigger, .quick-view-trigger:focus-visible { opacity: 1; transform: none; }
.footer .brand small { color: #a9c6ac; }
.footer .social-row a { color: #d9efc8; font-weight: 700; }
.dashboard-shell { min-height: calc(100vh - 34px); }
.dashboard-content .form-card { max-width: none; margin: 0 0 22px; }
.dashboard-content .button { white-space: nowrap; }

@media (min-width: 760px) {
  .hero { min-height: 590px; }
  .detail-layout { grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); }
  .reviews-layout { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); }
  .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); }
  .account-layout { grid-template-columns: 225px minmax(0, 1fr); }
  .account-menu { position: sticky; top: 100px; }
}
@media (max-width: 759px) {
  .hero-index { right: 16px; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-quantity { grid-column: 2 / 3; justify-content: flex-start; }
  .cart-item > form:last-child { grid-column: 3; grid-row: 1 / span 2; }
  .detail-facts { grid-template-columns: 1fr; gap: 8px; }
  .detail-facts > div { display: flex; justify-content: space-between; gap: 12px; }
  .detail-facts b { margin-top: 0; text-align: right; }
  .quick-view-trigger { opacity: 1; transform: none; }
}
@media (max-width: 559px) {
  .trust-strip-inner { display: grid; grid-template-columns: 1fr 1fr; }
  .header-search { order: 4; flex-basis: 100%; max-width: none; margin: 0 0 12px; }
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-header .header-actions { margin-left: auto; }
  .hero-content { min-height: 510px; padding-block: 48px 70px; }
  .category-card { min-height: 170px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .auth-card { padding: 19px; }
  .order-heading { flex-direction: column; }
  .success-panel .hero-actions .button { width: 100%; }
}

/* O atributo hidden prevalece sobre o display:grid declarado para o menu. */
.mobile-nav[hidden], .filters[hidden] { display: none !important; }
@media (min-width:760px) { .mobile-nav { display: none !important; } }
