:root {
  color-scheme: light;
  --ink: #17231c;
  --muted: #68756c;
  --line: #e4e9e4;
  --paper: #fff;
  --canvas: #f5f7f3;
  --green: #1d714d;
  --green-dark: #15583b;
  --mint: #e4f2e9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.site-header { height: 78px; padding: 0 max(6vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font: 800 1.28rem Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.04em; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 600; }
.nav-cta { color: var(--green); }
main { min-height: calc(100vh - 150px); }
.hero { background: var(--canvas); padding: 76px max(8vw, 24px) 65px; display: flex; gap: 40px; align-items: end; justify-content: space-between; }
.hero > div { max-width: 610px; }
h1, h2, h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.045em; }
.hero h1 { margin: 8px 0 14px; max-width: 560px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; }
.hero p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.eyebrow { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.search-form { display: flex; width: min(390px, 100%); background: var(--paper); padding: 6px; border: 1px solid var(--line); border-radius: 12px; }
.search-form input { width: 100%; min-width: 0; border: 0; padding: 0 12px; outline: 0; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 9px; background: var(--green); color: #fff; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button-full { width: 100%; }
.button-secondary { color: var(--ink); background: #e9eee9; }
.button-secondary:hover { background: #dce5dc; }
.catalog-section { padding: 65px max(8vw, 24px) 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.section-heading h2 { margin: 5px 0 0; font-size: 2rem; }
.muted, del { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s, transform .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 42px #23382912; }
.product-image, .detail-image { display: grid; place-items: center; overflow: hidden; background: var(--canvas); }
.product-image { aspect-ratio: 1.15; }
.product-image img, .detail-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { color: #87948a; font: 600 1rem Inter, ui-sans-serif, system-ui, sans-serif; }
.product-card-body { padding: 17px; }
.product-card h3 { margin: 7px 0 12px; font-size: 1.05rem; line-height: 1.4; }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; }
.price-row strong { font: 800 1.16rem Inter, ui-sans-serif, system-ui, sans-serif; }
.price-row del { font-size: .88rem; }
.product-card .button { min-height: 42px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.pagination a { color: var(--green); font-weight: 700; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; }
.empty-state p { color: var(--muted); }
.breadcrumb { display: flex; gap: 10px; padding: 24px max(8vw, 24px); color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--green); }
.product-detail { max-width: 1120px; margin: 10px auto 90px; padding: 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.detail-image { min-height: 480px; border-radius: 18px; }
.detail-copy h1 { margin: 8px 0 18px; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.1; }
.detail-price strong { font-size: 1.7rem; }
.stock-note { color: var(--green); font-size: .9rem; font-weight: 600; }
.product-description { color: var(--muted); line-height: 1.75; }
.buy-form { display: flex; align-items: center; gap: 12px; margin: 25px 0; }
.buy-form label { font-weight: 700; }
.buy-form input, .quantity-control input { width: 76px; min-height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.checkout-layout { max-width: 1080px; margin: 0 auto; padding: 70px 24px 90px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: 55px; }
.checkout-layout h1 { margin: 6px 0; font-size: 2.7rem; }
.checkout-shipping-note { margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--green); border-radius: 8px; color: var(--muted); background: var(--canvas); line-height: 1.55; }
.checkout-products { margin: 28px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.checkout-products legend { padding: 0 8px; font-weight: 700; }
.checkout-product { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.checkout-product:last-child { border-bottom: 0; }
.checkout-product-select { display: flex; align-items: center; }
.checkout-product input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); }
.checkout-product-thumbnail { display: block; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: var(--canvas); }
.checkout-product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.checkout-product-placeholder { border: 1px solid var(--line); }
.checkout-product-name { display: flex; flex: 1; justify-content: space-between; gap: 8px; font-weight: 600; }
.checkout-product-name small { color: var(--muted); white-space: nowrap; }
.cart-remove-button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #e7caca; border-radius: 7px; color: #a42525; background: #fff; font-size: .82rem; font-weight: 700; cursor: pointer; }
.cart-remove-button:hover { background: #fff1f0; }
.quantity-control input { width: 68px; min-height: 38px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: .88rem; font-weight: 600; }
.form-field input:not([type=checkbox]), .form-field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid #1d714d44; border-color: var(--green); }
.form-field input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); }
.form-field:has(input[type=checkbox]) { display: flex; align-items: start; gap: 10px; grid-column: 1 / -1; }
.checkout-form > .button { margin-top: 22px; }
.field-error, .form-errors { color: #a42525; font-size: .85rem; }
.form-errors { margin: 12px 0; padding: 12px; background: #fff1f0; border-radius: 8px; }
.checkout-aside { align-self: start; padding: 28px; border-radius: 16px; background: var(--canvas); }
.checkout-aside h2 { margin: 13px 0 7px; font-size: 1.35rem; }
.checkout-aside p, .checkout-aside li { color: var(--muted); line-height: 1.65; }
.checkout-aside ul { padding-left: 20px; }
.aside-icon, .success-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--green); background: var(--mint); font-weight: 800; }
.success-card { max-width: 620px; margin: 80px auto; padding: 48px; text-align: center; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px #2338290b; }
.success-icon { margin: 0 auto 20px; width: 58px; height: 58px; font-size: 1.3rem; }
.success-card h1 { margin: 8px 0; font-size: 2.4rem; }
.success-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.order-reference { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 27px 0; padding: 18px; text-align: left; background: var(--canvas); border-radius: 10px; }
.order-reference span { color: var(--muted); }
.order-reference strong { text-align: right; }
.site-footer { min-height: 72px; padding: 20px max(6vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer a { color: var(--green); font-weight: 600; }
.consent-banner { position: fixed; z-index: 20; right: 20px; bottom: 20px; left: 20px; max-width: 880px; margin: auto; display: flex; gap: 25px; align-items: center; justify-content: space-between; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 50px #10261724; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.consent-actions { display: flex; flex-shrink: 0; gap: 9px; }
.consent-actions .button { min-height: 40px; padding: 0 13px; font-size: .82rem; }
.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; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { display: block; }
  .search-form { margin-top: 26px; }
  .product-detail { gap: 35px; }
  .detail-image { min-height: 380px; }
  .checkout-layout { gap: 25px; }
}
@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 18px; }
  .site-header nav { gap: 16px; font-size: .84rem; }
  .hero { padding: 55px 20px 45px; }
  .catalog-section { padding: 45px 16px 65px; }
  .section-heading h2 { font-size: 1.65rem; }
  .product-grid { gap: 11px; }
  .product-card { border-radius: 10px; }
  .product-card-body { padding: 11px; }
  .product-card h3 { font-size: .92rem; }
  .product-card .price-row { gap: 4px; flex-wrap: wrap; }
  .product-card .price-row strong { font-size: 1rem; }
  .product-card .button { min-height: 39px; padding: 0 8px; font-size: .8rem; }
  .product-card .quick-add-form { margin-bottom: 7px; }
  .product-detail { display: block; margin: 0 auto 55px; }
  .detail-image { min-height: 300px; margin-bottom: 0; }
  .detail-gallery { margin-bottom: 28px; }
  .checkout-layout { display: flex; flex-direction: column; padding: 48px 18px; }
  .checkout-layout h1 { font-size: 2.2rem; }
  .checkout-aside { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide, .form-field:has(input[type=checkbox]) { grid-column: auto; }
  .success-card { margin: 40px 16px; padding: 35px 20px; }
  .success-card h1 { font-size: 2rem; }
  .consent-banner { left: 10px; right: 10px; bottom: 10px; display: block; padding: 16px; }
  .consent-actions { margin-top: 14px; }
  .consent-actions .button { flex: 1; }
  .site-footer { padding: 18px; flex-wrap: wrap; font-size: .78rem; }
}

.site-header { height: 82px; padding: 0 max(calc((100vw - 1280px) / 2), 24px); }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: 0; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--green); color: #fff; font: 800 1.15rem Inter, ui-sans-serif, system-ui, sans-serif; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 1.02rem; }
.brand-copy small { color: var(--muted); font-size: .61rem; letter-spacing: .13em; }
.site-header nav { gap: 34px; }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 9px; }
.cart-icon { width: 19px; height: 19px; }
.cart-count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 5px; border-radius: 99px; color: #fff; background: var(--green); font-size: .73rem; font-weight: 800; }
.store-messages { width: min(1200px, calc(100% - 40px)); margin: 14px auto 0; }
.store-message { margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); font-size: .9rem; }
.store-message.success { border-color: #b7d8c2; color: #15583b; background: #edf7f0; }
.store-message.error, .store-message.warning { border-color: #ead4a6; color: #76500e; background: #fff8e9; }

.hero { position: relative; display: block; overflow: hidden; padding: 68px 24px 70px; color: #fff; background: radial-gradient(ellipse at 78% 45%, #254e3b 0, #172c22 33%, #111a15 72%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .13; background-image: linear-gradient(#ffffff12 1px, transparent 1px), linear-gradient(90deg, #ffffff12 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero > .hero-inner { max-width: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 70px; align-items: center; width: min(1200px, 100%); margin: 0 auto; }
.hero-copy { max-width: 610px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: #c4d2c8; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.hero-kicker > span { width: 8px; height: 8px; border-radius: 50%; background: #b7e278; box-shadow: 0 0 14px #b7e278aa; }
.hero h1 { margin: 23px 0 18px; max-width: 620px; color: #fff; font-size: clamp(2.8rem, 5.2vw, 4.65rem); line-height: 1.04; letter-spacing: -.065em; }
.hero h1 span { color: #c5e486; }
.hero-copy > p { max-width: 480px; color: #c1cdc4 !important; font-size: 1.02rem !important; line-height: 1.75 !important; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 27px; }
.button-light { gap: 13px; color: #16231b; background: #d3ec9a; }
.button-light:hover { color: #16231b; background: #e0f6b2; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; color: #d0dad2; font-size: .8rem; }
.hero-note i { width: 4px; height: 4px; border-radius: 50%; background: #8fa995; }
.hero .search-form { width: min(460px, 100%); min-height: 58px; align-items: center; margin-top: 36px; padding: 6px 7px 6px 15px; border: 1px solid #ffffff25; border-radius: 11px; background: #ffffff10; }
.search-icon { color: #cbd6ce; font-size: 1.7rem; line-height: 1; }
.hero .search-form input { color: #fff; background: transparent; }
.hero .search-form input::placeholder { color: #a9b8ad; }
.hero .search-form .button { min-height: 44px; }
.hero-visual { position: relative; display: grid; min-height: 400px; place-items: center; isolation: isolate; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid #d5efaa26; border-radius: 50%; }
.hero-orbit-one { width: 355px; height: 355px; }
.hero-orbit-two { width: 460px; height: 460px; }
.hero-product-image { display: grid; width: min(100%, 430px); height: 300px; place-items: center; overflow: hidden; border: 1px solid #ffffff24; border-radius: 20px; background: linear-gradient(145deg, #ffffff18, #ffffff05); box-shadow: 0 30px 90px #0005; transform: rotate(2deg); }
.hero-product-image img { width: 100%; height: 100%; object-fit: contain; }
.hero-product-label { position: absolute; right: 0; bottom: 4px; display: grid; gap: 6px; width: min(340px, 88%); padding: 17px 20px; border: 1px solid #ffffff24; border-radius: 13px; color: var(--ink); background: #fff; box-shadow: 0 16px 45px #0003; }
.hero-label-kicker { color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.hero-product-label strong { display: -webkit-box; overflow: hidden; font-size: .88rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-label-price { font: 800 1rem Inter, ui-sans-serif, system-ui, sans-serif; }
.hero-product-label .quick-add-form { margin: 4px 0 0; }
.hero-product-label .button { min-height: 40px; }
.hero-placeholder { display: grid; width: 110px; height: 110px; place-items: center; border-radius: 30px; color: #d3ec9a; background: #ffffff10; font-size: 4rem; }

.catalog-section { width: min(1200px, 100%); margin: 0 auto; padding: 66px 24px 92px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { margin-top: 8px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.catalog-count { padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--canvas); font-size: .8rem; }
.category-navigation { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 28px; }
.category-chip { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: #fff; font-size: .83rem; font-weight: 650; transition: border-color .15s, color .15s, background .15s; }
.category-chip:hover { border-color: var(--green); color: var(--green); }
.category-chip-child { background: var(--canvas); }
.category-chip.is-active { border-color: var(--green); color: #fff; background: var(--green); }
.category-chip:focus-visible { outline: 3px solid #1d714d55; outline-offset: 2px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 320px)); gap: 22px; }
.product-card { border-color: #e6eae5; border-radius: 15px; }
.product-image { position: relative; aspect-ratio: 1.1; background: #f3f5f1; }
.product-image img { transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 1; top: 13px; left: 13px; padding: 7px 10px; border-radius: 99px; color: #fff; background: #1b6b49; font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
.product-card-body { padding: 18px; }
.product-card .eyebrow { display: block; min-height: 15px; font-size: .64rem; letter-spacing: .09em; }
.product-category-path { display: flex; min-height: 15px; align-items: center; gap: 5px; }
.product-category-path .eyebrow { min-height: 0; }
.product-category-path a:hover, .detail-copy .eyebrow a:hover { text-decoration: underline; }
.product-card h3 { display: -webkit-box; min-height: 3.1em; overflow: hidden; margin: 8px 0 13px; font-size: .98rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card .price-row { min-height: 28px; margin-bottom: 16px; }
.product-card .price-row strong { font-size: 1.2rem; }
.product-card .button { justify-content: space-between; min-height: 44px; padding: 0 15px; }
.product-card .button span { font-size: 1.1rem; }
.quick-add-form { margin: 0 0 9px; }
.quick-add-form .button { justify-content: center; }
.product-details-button { justify-content: space-between; }
.empty-state { background: var(--canvas); }
.detail-copy { min-width: 0; }
.detail-copy h1.product-title { display: -webkit-box; overflow: hidden; margin: 8px 0 18px; font-size: clamp(2rem, 3.3vw, 2.8rem); line-height: 1.13; letter-spacing: -.05em; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.detail-gallery { min-width: 0; }
.product-thumbnails { display: flex; gap: 12px; overflow-x: auto; margin-top: 14px; padding: 2px 2px 8px; }
.product-thumbnail { flex: 0 0 76px; width: 76px; height: 76px; padding: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.product-thumbnail[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 2px #1d714d26; }
.product-thumbnail:focus-visible { outline: 3px solid #1d714d66; outline-offset: 2px; }
.product-thumbnail img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }

.site-footer { width: 100%; min-height: 78px; padding: 18px max(calc((100vw - 1280px) / 2), 24px); }
.footer-brand { color: var(--ink); font-weight: 800; }

@media (max-width: 760px) {
  .hero { padding: 54px 22px 58px; }
  .hero-inner { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 520px; font-size: clamp(2.65rem, 9vw, 4rem); }
  .hero-visual { min-height: 320px; }
  .hero-orbit-one { width: 270px; height: 270px; }
  .hero-orbit-two { width: 350px; height: 350px; }
  .hero-product-image { width: min(100%, 380px); height: 235px; }
  .hero-product-label { right: 3%; bottom: -3px; }
  .catalog-section { padding: 48px 20px 68px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card-body { padding: 13px; }
}

@media (max-width: 480px) {
  .site-header { height: 70px; padding: 0 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { max-width: 155px; overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
  .site-header nav { gap: 12px; }
  .site-header nav > a:first-child { display: none; }
  .nav-cta { padding: 9px 12px; }
  .hero { padding: 45px 18px 48px; }
  .hero h1 { margin-top: 18px; font-size: 2.6rem; }
  .hero-copy > p { font-size: .93rem !important; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero .search-form { margin-top: 24px; }
  .hero .search-form .button { padding: 0 13px; font-size: .82rem; }
  .hero-visual { min-height: 280px; }
  .hero-product-image { height: 200px; }
  .hero-product-label { width: 92%; padding: 13px 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1.25; }
  .product-card h3 { min-height: 0; }
  .detail-copy h1.product-title { font-size: 2rem; }
  .site-footer { justify-content: center; text-align: center; }
}
