:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #5f6f65;
  --leaf: #17633d;
  --leaf-dark: #0d482b;
  --mint: #e8f3ec;
  --paper: #f7faf7;
  --white: #ffffff;
  --line: #d7e3db;
  --warning: #fff3c9;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; object-fit: contain; }
.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(20px, calc((100vw - 1160px) / 2)); background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--leaf-dark); font-size: 21px; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 46% 54%; color: white; background: var(--leaf); font-family: Georgia, serif; font-size: 24px; }
.header-action { color: var(--leaf-dark); font-weight: 700; text-underline-offset: 4px; }
main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 64px 0 34px; max-width: 780px; }
.eyebrow, .category { margin: 0 0 9px; color: var(--leaf); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font: 700 clamp(38px, 7vw, 72px)/.98 Georgia, serif; letter-spacing: -.035em; }
.hero > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 3vw, 23px); }
.legal-warning { min-height: 148px; display: grid; align-content: center; gap: 8px; padding: 28px clamp(22px, 5vw, 54px); border: 1px solid #e1c768; background: var(--warning); }
.legal-warning strong { font-size: clamp(21px, 3vw, 29px); }
.legal-warning span { max-width: 800px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 34px 0 70px; }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.product-image { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: linear-gradient(145deg, #fff, var(--mint)); }
.product-image img { width: 100%; height: 100%; }
.product-card-body { padding: 20px; }
.product-card h2 { min-height: 2.6em; margin: 0 0 12px; font-size: 21px; line-height: 1.28; }
.product-card h2 a { text-decoration: none; }
.availability { margin: 0 0 10px; color: var(--muted); }
.price, .detail-price { margin: 0; color: var(--leaf-dark); font-size: 27px; font-weight: 850; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; overflow: hidden; padding: 28px 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(28px, 6vw, 78px); align-items: center; padding: 12px 0 54px; }
.detail-image { display: grid; place-items: center; aspect-ratio: 1; padding: clamp(18px, 5vw, 54px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.detail-image img { width: 100%; height: 100%; }
.detail-copy h1 { font-size: clamp(38px, 5.5vw, 66px); }
.brand-name { margin: 14px 0; color: var(--muted); }
.detail-price { margin: 22px 0 8px; font-size: 36px; }
.plain-note { margin: 0 0 24px; color: var(--muted); }
.order-button { display: inline-flex; justify-content: center; min-height: 54px; align-items: center; padding: 0 28px; border-radius: 13px; background: var(--leaf); color: white; font-weight: 800; text-decoration: none; }
.order-button:hover { background: var(--leaf-dark); }
.product-warning { margin-bottom: 64px; }
.empty { grid-column: 1 / -1; padding: 42px; border: 1px solid var(--line); background: white; text-align: center; }
footer { min-height: 190px; display: grid; align-content: center; padding: 34px max(20px, calc((100vw - 1160px) / 2)); background: var(--ink); color: white; }
footer p { max-width: 860px; margin: 5px 0; }
a:focus-visible { outline: 3px solid #daaa00; outline-offset: 4px; }

@media (max-width: 820px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; }
  .detail-copy { padding-bottom: 8px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .site-header { min-height: 64px; }
  .header-action { font-size: 14px; }
  .hero { padding-top: 42px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 132px 1fr; border-radius: 14px; }
  .product-card h2 { min-height: 0; font-size: 18px; }
  .product-card-body { padding: 15px; }
  .price { font-size: 23px; }
  .order-button { width: 100%; }
}
