:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #1d3026;
  --forest: #203d30;
  --muted: #536158;
  --line: #e0e1d8;
  --lime: #dce8b9;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 12px; left: 12px; background: white; padding: 14px; }
:focus-visible { outline: 2px solid #477239; outline-offset: 4px; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { height: 74px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; font-weight: 720; font-size: 15px; line-height: 1.04; letter-spacing: -.035em; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav a { padding-block: 14px; }
.main-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.saved-top { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 10px; background: none; border: 0; border-radius: 8px; font-size: 14px; font-weight: 650; }
.saved-top:hover { background: #edeee7; }
.saved-count { display: grid; place-items: center; min-width: 24px; min-height: 24px; padding-inline: 5px; border-radius: 20px; background: #e8ebdd; font-size: 12px; }
.hero { margin-top: 24px; display: grid; grid-template-columns: 45% 55%; min-height: 469px; border-radius: 22px; overflow: hidden; background: #edeee4; }
.hero-copy { padding: clamp(35px, 3.5vw, 53px) clamp(35px, 4.2vw, 63px); align-self: center; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #425744; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 750; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #6d8345; flex: none; }
.hero h1 { margin-top: 17px; font-size: clamp(48px, 5.25vw, 78px); line-height: .95; letter-spacing: -.076em; font-weight: 760; }
.hero-dot { color: #70844d; }
.hero-text { margin-top: 19px; max-width: 42ch; color: var(--muted); font-size: clamp(15px, 1.24vw, 18px); line-height: 1.47; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 49px; border: 1px solid transparent; border-radius: 9px; padding: 11px 16px; font-weight: 650; font-size: 14px; line-height: 1.25; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #315543; }
.hero .button { margin-top: 25px; }
.hero-visual { position: relative; isolation: isolate; display: grid; min-height: 100%; place-items: center; overflow: hidden; background: #dce5c8; }
.hero-grid { position: absolute; z-index: -1; inset: 27px; border: 1px solid #aebd99; border-radius: 13px; pointer-events: none; }
.hero-grid::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid #b5c3a2; aspect-ratio: 1; width: 72%; }
.hero-index { position: absolute; top: 43px; left: 46px; z-index: 1; color: #3f5336; font-size: 11px; letter-spacing: .15em; font-weight: 750; }
.hero-photo-frame { display: grid; place-items: center; width: min(94%, 565px); height: 100%; position: absolute; mix-blend-mode: multiply; }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: contain; mask-image: radial-gradient(ellipse 61% 65%, #000 57%, transparent 83%); }
.hero-product { position: absolute; bottom: 44px; right: 45px; display: flex; align-items: center; gap: 19px; padding: 10px 10px 10px 14px; text-align: left; border: 1px solid #b4c2a1; background: #edf2e1; border-radius: 10px; }
.hero-product:not(:disabled):hover { background: #f7f9f0; }
.hero-product small, .hero-product strong { display: block; }
.hero-product small { color: #485d40; font-size: 9px; letter-spacing: .14em; font-weight: 750; margin-bottom: 3px; }
.hero-product strong { font-size: 13px; font-weight: 700; }
.hero-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #dce7c9; }
.hero-arrow .icon { width: 17px; height: 17px; }
.catalog { margin-block: 49px 64px; scroll-margin-top: 24px; }
.section-line { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
h2 { margin-top: 7px; font-size: clamp(31px, 3.45vw, 54px); font-weight: 730; letter-spacing: -.065em; line-height: 1.1; }
.search { width: min(100%, 309px); display: flex; align-items: center; gap: 8px; border: 1px solid #d8dbd0; border-radius: 9px; min-height: 45px; padding: 0 12px; background: #fff; }
.search .icon { color: #58675b; width: 19px; height: 19px; }
.search input { flex: 1; min-width: 0; padding: 10px 0; background: transparent; border: 0; outline: none; font-size: 14px; }
.search:focus-within { outline: 2px solid #477239; outline-offset: 2px; }
.search input::placeholder { color: #58675b; }
.controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.categories { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 13px; background: transparent; border: 1px solid #d7dbcf; border-radius: 8px; font-size: 13px; font-weight: 650; }
.chip span { opacity: .83; font-size: 11px; }
.chip:hover, .secondary:hover { background: #eef0e7; }
.chip[aria-pressed="true"] { background: var(--forest); color: white; border-color: var(--forest); }
.sort { display: flex; align-items: center; position: relative; }
.sort select { min-height: 42px; background: transparent; border: 1px solid #d7dbcf; border-radius: 8px; appearance: none; padding: 8px 32px 8px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.sort .icon { position: absolute; right: 9px; pointer-events: none; width: 16px; height: 16px; }
.results { margin-block: 17px 13px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 18px; row-gap: 28px; }
.card { position: relative; min-width: 0; }
.card-action { display: block; width: 100%; border: 0; background: none; text-align: left; padding: 0; border-radius: 12px; }
.card-photo { display: grid; width: 100%; aspect-ratio: 1.08; place-items: center; background: #efefeb; border-radius: 12px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.card-action:hover img { transform: scale(1.035); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 10px 0 5px; font-size: 10px; letter-spacing: .105em; text-transform: uppercase; color: #576458; font-weight: 720; }
.card-meta span + span::before { content: "·"; margin-right: 8px; }
.card-name { display: block; font-size: 16px; line-height: 1.25; font-weight: 690; }
.card-action:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d7dbcf; border-radius: 9px; background: var(--paper); color: var(--forest); padding: 0; }
.icon-button:hover { background: #e7ecd9; }
.favorite { position: absolute; top: 9px; right: 9px; }
[aria-pressed="true"] > .heart-icon { fill: currentColor; }
.empty { grid-column: 1 / -1; padding: 34px 20px; text-align: center; color: var(--muted); background: #eeefe8; border-radius: 12px; }
.empty .button { display: flex; margin: 12px auto 0; }
.how { display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; gap: 34px; padding: 37px 39px; margin-block: 24px 61px; border-radius: 17px; background: #e9edde; scroll-margin-top: 24px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.steps li > span { display: inline-block; color: #486046; font-size: 11px; letter-spacing: .1em; font-weight: 750; padding-bottom: 9px; }
.steps h3 { font-size: 16px; line-height: 1.2; }
.steps p { margin-top: 7px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-inner > a:last-child { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 650; }
.footer .icon { width: 16px; height: 16px; }
.dialog { position: fixed; border: 0; padding: 0; max-height: min(90dvh, 920px); width: min(900px, calc(100% - 32px)); max-width: none; border-radius: 18px; color: var(--ink); background: var(--paper); overscroll-behavior: contain; }
.dialog::backdrop { background: #101e16a0; }
body:has(.dialog[open]) { overflow: hidden; }
.close { position: absolute; z-index: 1; top: 13px; right: 13px; }
.product-view { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.gallery { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 20px; background: #eeeee9; }
.gallery-visual { position: relative; }
.gallery-photo { width: 100%; aspect-ratio: 1.14; object-fit: contain; mix-blend-mode: multiply; }
.gallery-previous, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-previous { left: 0; }
.gallery-next { right: 0; }
.gallery-index { padding: 7px; text-align: center; color: var(--muted); font-size: 12px; }
.gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; }
.gallery-thumb { flex: 0 0 55px; height: 55px; padding: 0; border-radius: 7px; border: 1px solid transparent; background: white; overflow: hidden; }
.gallery-thumb[aria-pressed="true"] { border: 2px solid var(--forest); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding: 57px 31px 32px; align-self: center; min-width: 0; }
.product-info h2, .saved-dialog h2 { font-size: clamp(27px, 3vw, 42px); overflow-wrap: anywhere; }
.product-info > p:not(.card-meta) { margin-block: 15px; color: var(--muted); line-height: 1.5; }
.details { display: grid; gap: 7px; margin: 13px 0; }
.details > div { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.details dt { font-weight: 650; }
.details dd { margin: 0; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.secondary { background: transparent; border-color: #d7dbcf; }
.product-actions .secondary { min-width: 49px; padding-inline: 12px; }
.saved-dialog { width: min(570px,calc(100% - 32px)); padding: 23px; }
.saved-dialog h2 { padding-right: 48px; margin-bottom: 21px; }
.saved-row { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-block: 9px; }
.saved-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; background: transparent; border: 0; text-align: left; font-size: 14px; font-weight: 650; }
.saved-item:hover { text-decoration: underline; }
.saved-item img { width: 57px; height: 54px; object-fit: contain; border-radius: 6px; background: #efefeb; }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 420px; }
  .hero-copy { padding: 40px; }
  .hero h1 { font-size: clamp(45px, 6.4vw, 72px); }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: 365px; }
  .hero-copy { padding: 25px; }
  .hero h1 { font-size: clamp(35px, 6.1vw, 54px); }
  .hero-text { margin-top: 15px; }
  .hero-grid { inset: 15px; }
  .hero-index { top: 26px; left: 27px; }
  .hero-product { bottom: 24px; right: 24px; }
  .cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 12px; }
  .how { grid-template-columns: 1fr; gap: 20px; padding: 27px; }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 30px); }
  .top-inner { height: 62px; grid-template-columns: 1fr auto; gap: 5px; }
  .main-nav { display: none; }
  .hero { margin-top: 14px; grid-template-columns: 1fr; border-radius: 15px; }
  .hero-copy { padding: 20px; }
  .hero h1 { font-size: clamp(35px, 11.1vw, 55px); margin-top: 12px; line-height: .98; }
  .hero-break { display: none; }
  .hero-text { font-size: 14px; margin-top: 12px; }
  .hero .button { margin-top: 14px; min-height: 44px; }
  .hero-visual { min-height: clamp(195px, 54vw, 255px); }
  .hero-grid { inset: 11px; }
  .hero-index { top: 20px; left: 22px; font-size: 9px; }
  .hero-product { bottom: 16px; right: 16px; min-height: 44px; padding: 6px 6px 6px 9px; gap: 9px; }
  .hero-product strong { font-size: 11px; }
  .hero-product small { font-size: 8px; }
  .hero-arrow { width: 28px; height: 28px; }
  .catalog { margin-block: 29px 42px; }
  .section-line { align-items: stretch; flex-direction: column; gap: 12px; }
  .search { width: 100%; }
  .controls { margin-top: 12px; gap: 8px; }
  .categories { gap: 5px; }
  .chip { min-height: 44px; padding: 7px 9px; font-size: 12px; }
  .sort select { min-height: 44px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 9px; }
  .favorite { top: 5px; right: 5px; }
  .card-name { font-size: 14px; }
  .card-meta { font-size: 9px; letter-spacing: .06em; }
  .how { margin-bottom: 33px; padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .product-view { grid-template-columns: 1fr; }
  .gallery { padding: 13px; }
  .gallery-photo { aspect-ratio: 1.45; }
  .product-info { padding: 14px 16px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
