:root {
  color-scheme: light;
  --canvas: #fbfaf6;
  --white: #fff;
  --ink: #172a20;
  --green: #17432e;
  --green-hover: #0c2d1e;
  --muted: #4e6054;
  --line: #dce4da;
  --soft: #edf3e9;
  --lime: #dff1bf;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 92px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem/1.55 var(--font); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #438354; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); font-weight: 760; line-height: 1.03; letter-spacing: -.065em; }
h3 { font-size: 1.2rem; font-weight: 720; line-height: 1.25; letter-spacing: -.022em; }
.shell { width: min(1250px, 100% - 64px); margin-inline: auto; }

.top-contact { background: var(--green); color: white; }
.top-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.top-contact a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .875rem; font-weight: 670; text-decoration: none; white-space: nowrap;
}
.top-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.top-contact a:focus-visible { outline-color: var(--lime); outline-offset: -1px; }
.pin-icon {
  display: inline-grid; place-items: center; width: .76em; height: .76em;
  border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); translate: 0 -.08em; flex: none;
}
.pin-icon::after { content: ""; width: .24em; height: .24em; border-radius: 50%; background: currentColor; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 26px; }
.brand {
  display: inline-flex; align-items: center; justify-self: start; gap: 11px;
  font-size: 1.165rem; font-weight: 790; letter-spacing: -.045em;
  line-height: 1.12; text-decoration: none;
}
.brand-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--green); }
.brand-icon::before {
  content: ""; width: 24px; height: 28px; background: var(--lime);
  clip-path: polygon(50% 3%, 76% 34%, 66% 34%, 85% 57%, 73% 57%, 95% 82%, 57% 82%, 57% 97%, 43% 97%, 43% 82%, 5% 82%, 27% 57%, 15% 57%, 34% 34%, 24% 34%);
}
.header-inner nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.header-inner nav a { padding-block: 12px; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 16px; border: 1px solid transparent;
  border-radius: 9px; background: var(--white); color: var(--ink);
  font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-hover); }
.selection-button { justify-self: end; border-color: var(--line); font-size: .9375rem; }
.selection-button:hover { background: var(--soft); }
.selection-count { min-width: 23px; height: 23px; padding-inline: 4px; display: inline-grid; place-items: center; background: var(--lime); color: var(--green); border-radius: 50px; font-size: .8125rem; }
.bag-icon { position: relative; width: 13px; height: 13px; margin: 4px 2px 0 0; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.bag-icon::before { content: ""; position: absolute; top: -5px; left: 2px; width: 6px; height: 5px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.text-button, .contact-link {
  color: var(--green); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: #7c9e82; font-weight: 680;
}
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; }
.text-button:hover, .contact-link:hover { color: #286f46; text-decoration-color: currentColor; }

.hero {
  display: grid; grid-template-columns: 1.18fr 1fr; min-height: 448px;
  margin-top: 24px; overflow: hidden; border-radius: 25px; background: #e8efdf;
}
.hero-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(30px, 3.65vw, 49px) clamp(32px, 5vw, 72px);
  background:
    radial-gradient(circle at 27px 15px, #ffffffbe 0 1.5px, transparent 2.4px) 0 0 / 123px 141px,
    radial-gradient(circle at 82px 75px, #fff9 0 2px, transparent 3px) 31px 0 / 173px 157px,
    radial-gradient(ellipse at 100% 100%, #d8e8c9, transparent 68%),
    linear-gradient(144deg, #f3f5e9, #e5efdc);
}
.eyebrow { margin-bottom: 16px; color: var(--green); font-size: .8125rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.1rem, 6.35vw, 6.25rem); font-weight: 770; line-height: .91; letter-spacing: -.079em; }
.hero h1 em {
  display: block; margin-top: .015em; color: var(--green);
  font: italic 400 1.13em/.91 Georgia, ui-serif, serif; letter-spacing: -.06em;
}
.hero-description { max-width: 385px; margin-top: 24px; color: #3e5544; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; margin-top: 22px; }
.hero-button { min-height: 52px; padding-inline: 20px; }
.hero-wholesale { font-size: .9375rem; }
.hero-photo { position: relative; min-width: 0; min-height: 100%; overflow: hidden; background: var(--green); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-photo figcaption {
  position: absolute; inset: auto 16px 16px auto; display: grid; gap: 1px;
  padding: 9px 14px 7px; border: 1px solid #ffffff33; border-radius: 13px;
  background: #193627; color: var(--white); box-shadow: 0 8px 24px #111d1570;
}
.hero-photo figcaption span { color: #d7e6d2; font-size: .8125rem; }
.hero-photo-link {
  min-height: 44px; padding: 0; border: 0; background: transparent; color: white;
  text-align: left; font-weight: 760; text-decoration: underline; text-underline-offset: 4px;
}
.hero-photo-link:hover { color: var(--lime); }
.hero-photo-link:focus-visible { outline-color: var(--lime); }
.pickup-strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 14px; padding: 10px 18px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-decoration: none;
}
.pickup-marker { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--soft); color: var(--green); font-size: 1.3rem; }
.pickup-strip div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.pickup-strip div span { color: var(--muted); font-size: .9375rem; }
.pickup-link-text { color: var(--green); font-size: .875rem; font-weight: 680; text-decoration: underline; text-underline-offset: 4px; }
.pickup-strip:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.catalog { padding-top: 45px; }
.section-heading { margin-bottom: 20px; }
.section-heading p { max-width: 710px; margin-top: 11px; color: var(--muted); }
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 9px 14px; margin-bottom: 19px;
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-label { margin-right: 6px; color: var(--muted); font-size: .875rem; font-weight: 670; }
.filters button {
  min-width: 46px; min-height: 44px; padding: 7px 13px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--white); color: var(--ink); font-size: .875rem; font-weight: 680;
}
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--white); }
.catalog-count { color: var(--muted); font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.product {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
  border-radius: 15px; background: var(--white);
}
.product-image {
  display: block; width: 100%; position: relative; overflow: hidden; padding: 0; border: 0;
  aspect-ratio: 3 / 4; background: var(--soft); text-align: left;
}
.product-image:focus-visible { outline-offset: -4px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; }
.product-image:hover img { transform: scale(1.026); }
.product-height {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px;
  border-radius: 5px; background: var(--white); color: var(--green);
  font-size: .8125rem; font-weight: 750; box-shadow: 0 1px 5px #11241c24;
}
.product-body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 13px; }
.product-shape { color: var(--muted); font-size: .875rem; }
.product-price { margin-top: auto; padding-top: 6px; color: var(--green); font-size: .875rem; font-weight: 730; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 9px; margin-top: 5px; }
.product-actions .button, .product-actions .text-button { min-height: 44px; font-size: .875rem; }
.product-actions .button { padding-inline: 10px; }
.size-request {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft);
}
.size-request p { margin-top: 5px; color: var(--muted); }

.how { padding-block: 62px 48px; }
.how h2, .wholesale h2, .faq h2, .contact h2 { font-size: clamp(1.85rem, 3.45vw, 2.8rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 20px 0 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.steps li > span {
  display: grid; flex: none; place-items: center; width: 33px; height: 33px;
  border-radius: 50%; background: var(--lime); color: var(--green); font-size: .875rem; font-weight: 750;
}
.steps h3 { padding-top: 4px; }
.steps p { margin-top: 6px; color: var(--muted); }
.wholesale {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: clamp(22px, 4vw, 40px); border-radius: 19px; color: var(--white);
  background: radial-gradient(ellipse at 100% 0%, #346046, transparent 72%), var(--green);
}
.wholesale p { max-width: 610px; margin-top: 10px; color: #e1eee0; }
.wholesale-button { padding-inline: 19px; background: var(--lime); }
.wholesale-button:hover { background: #eef9dc; }
.wholesale-button:focus-visible { outline-color: var(--lime); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px; padding-block: 56px; }
.faq-list { border-block: 1px solid var(--line); }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative; min-height: 49px; padding: 12px 30px 12px 0;
  color: var(--ink); font-weight: 690; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute; top: 50%; right: 4px; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); content: "";
}
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq-list p { max-width: 570px; padding: 0 25px 15px 0; color: var(--muted); }
.contact {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px;
  padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 19px; background: #eff4e9;
}
.contact address { margin-top: 12px; font-size: clamp(1rem, 2.2vw, 1.25rem); font-style: normal; font-weight: 690; }
.contact p { margin-block: 6px 14px; color: var(--muted); }
.contact-person { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-left: 28px; border-left: 1px solid #cfddce; }
.contact-phone { display: block; color: var(--green); font-size: clamp(1.25rem, 2.6vw, 1.78rem); font-weight: 780; letter-spacing: -.03em; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-person .contact-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 26px; color: var(--muted); font-size: .875rem; }

dialog { border: 1px solid var(--line); padding: 0; color: var(--ink); box-shadow: 0 14px 65px #0a281d35; }
dialog::backdrop { background: #10271cc2; }
.detail-dialog { width: min(790px, 100% - 32px); max-width: none; max-height: calc(100dvh - 32px); border-radius: 22px; }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.detail-photo { background: var(--soft); display: grid; place-items: center; }
.detail-photo img { width: 100%; height: auto; max-height: calc(100dvh - 42px); object-fit: contain; }
.detail-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 48px 26px 30px; }
.detail-copy h2, .order-content h2 { font-size: clamp(1.7rem, 4vw, 2.45rem); }
.detail-copy > p { color: var(--muted); }
.detail-copy .detail-height, .detail-copy .detail-price { color: var(--green); font-weight: 720; }
.close-button { position: absolute; z-index: 1; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.5rem; line-height: 1; }
.close-button:hover { background: var(--soft); }
.order-dialog { margin: 0 0 0 auto; width: min(460px, 100%); max-width: none; height: 100dvh; max-height: none; }
.order-content { position: relative; padding: 29px 24px max(28px, env(safe-area-inset-bottom)); }
.order-content h2 { padding-right: 42px; margin-bottom: 17px; }
#empty-order { color: var(--muted); }
.order-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.order-item-title { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.order-item-title img { width: 49px; height: 56px; border-radius: 6px; object-fit: cover; }
.order-item-title small { display: block; color: var(--muted); font-weight: 550; }
.quantity { display: flex; align-items: center; gap: 6px; }
.quantity button { width: 44px; height: 44px; padding: 0; background: var(--soft); color: var(--ink); border: 0; border-radius: 8px; font-size: 1.25rem; }
.quantity button:hover { background: var(--lime); }
.quantity span { min-width: 1.5ch; text-align: center; }
.order-content form { display: grid; gap: 14px; margin-top: 19px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: block; font-size: .875rem; font-weight: 700; min-width: 0; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 5px; min-height: 44px; padding: 9px 10px;
  background: var(--white); color: var(--ink); border: 1px solid #aebfb1; border-radius: 8px;
  font-size: 1rem; font-weight: 450;
}
.field select { appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.optional { font-weight: 450; color: var(--muted); }
.order-note { color: var(--muted); font-size: .875rem; }
.order-email-button { border-color: var(--line); }
.order-email-button:hover { background: var(--soft); }
.phone-alternative { width: fit-content; font-size: .9375rem; }
.return-catalog { margin-top: 8px; }

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .shell { width: calc(100% - 42px); }
  .hero { min-height: 410px; }
  .hero-copy { padding: clamp(23px, 4vw, 40px); }
  .hero h1 { font-size: clamp(2.7rem, 7.3vw, 4.4rem); }
}
@media (max-width: 730px) {
  html { scroll-padding-top: 78px; }
  .shell { width: calc(100% - 32px); }
  .site-header .header-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 63px; gap: 7px; }
  .header-inner nav { display: none; }
  .brand { gap: 8px; font-size: 1.035rem; letter-spacing: -.04em; }
  .brand-icon { width: 35px; height: 35px; border-radius: 9px; }
  .brand-icon::before { width: 19px; height: 23px; }
  .selection-button { min-height: 44px; padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 14px; border-radius: 18px; }
  .hero-copy { padding: 26px 20px 22px; }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 5rem); }
  .hero-description { margin-top: 15px; }
  .hero-actions { gap: 3px 14px; margin-top: 16px; }
  .hero-button { min-height: 47px; padding-inline: 13px; font-size: .9375rem; }
  .hero-wholesale { font-size: .875rem; }
  .hero-photo { height: clamp(205px, 57vw, 320px); min-height: 0; }
  .hero-photo img { object-position: 50% 36%; }
  .hero-photo figcaption { inset: auto 10px 10px auto; padding: 5px 10px 4px; border-radius: 9px; }
  .hero-photo-link { font-size: .875rem; }
  .pickup-strip { grid-template-columns: auto 1fr; gap: 8px; padding: 9px 10px; border-radius: 11px; }
  .pickup-marker { width: 34px; height: 34px; font-size: 1rem; }
  .pickup-strip strong { font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
  .pickup-strip div span { font-size: .8125rem; }
  .pickup-link-text { display: none; }
  .catalog { padding-top: 38px; }
  .section-heading { margin-bottom: 15px; }
  .section-heading p { margin-top: 9px; }
  .catalog-toolbar { gap: 7px; margin-bottom: 12px; }
  .filters { gap: 5px; }
  .filters button { min-width: 43px; padding-inline: 10px; }
  .filter-label { margin-right: 4px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { border-radius: 12px; }
  .product-height { top: 8px; left: 8px; }
  .product-body { padding: 10px; }
  .product-body h3 { font-size: 1.055rem; }
  .product-actions { gap: 0; }
  .product-actions .button { width: 100%; }
  .size-request { align-items: flex-start; flex-direction: column; }
  .how { padding-block: 42px 34px; }
  .steps { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .steps li { padding: 14px; }
  .steps h3 { padding-top: 3px; }
  .wholesale { grid-template-columns: 1fr; gap: 14px; border-radius: 15px; }
  .wholesale-button { justify-self: start; }
  .faq { grid-template-columns: 1fr; gap: 14px; padding-block: 36px; }
  .contact { grid-template-columns: 1fr; gap: 16px; border-radius: 15px; }
  .contact-person { padding: 16px 0 0; border-top: 1px solid #cfddce; border-left: 0; }
  .footer { padding-block: 20px; }
}
@media (max-width: 540px) {
  .detail-content { grid-template-columns: 1fr; }
  .detail-photo img { max-height: 44dvh; }
  .detail-copy { padding: 17px 18px 20px; gap: 9px; }
  .detail-copy .button { width: 100%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .bag-icon { display: none; }
  .selection-button { gap: 5px; font-size: .875rem; }
  .hero-copy { padding-inline: 15px; }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .product-body { padding-inline: 8px; }
  .order-content { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.order-error,
.order-success {
  padding: 12px 15px;
  border-radius: 12px;
  line-height: 1.5;
}
.order-error { background: #fff1ef; color: #a1271c; }
.order-success { background: #eaf5ed; color: #164c2e; margin: 1rem 0; }
.order-content button:disabled { opacity: .7; cursor: wait; }
