:root {
  --ink: #101722;
  --ink-soft: #1b2533;
  --navy: #26334f;
  --wood: #5a3d2d;
  --wood-light: #8a674f;
  --gold: #c9a35b;
  --gold-light: #e5cf9d;
  --paper: #f4efe7;
  --white: #fffdf9;
  --muted: #69717b;
  --line: rgba(16, 23, 34, .13);
  --shadow: 0 20px 50px rgba(16, 23, 34, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.promo-bar {
  min-height: 34px;
  padding: 7px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo-bar strong { color: var(--gold-light); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 72px;
  padding: 10px clamp(18px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 239, 231, .92);
  border-bottom: 1px solid rgba(16, 23, 34, .08);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 163, 91, .7);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: .92rem;
  letter-spacing: .04em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.header-actions > a { font-size: .9rem; font-weight: 650; }
.header-actions > a:hover { color: var(--wood); }
.mobile-menu-toggle, .mobile-menu { display: none; }
.cart-button {
  min-height: 44px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}
.cart-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button strong {
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .78rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100svh - 106px));
  padding: clamp(52px, 8vw, 108px) clamp(20px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 112px);
  background:
    radial-gradient(circle at 6% 4%, rgba(201, 163, 91, .13), transparent 34%),
    linear-gradient(135deg, var(--ink) 0%, #161e2a 55%, #273347 100%);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.025) 23px 24px);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 6.5vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .91;
}
.hero h1 em { color: var(--gold-light); font-weight: inherit; }
.hero-description { max-width: 620px; margin: 28px 0 0; color: rgba(255,255,255,.73); font-size: clamp(1rem, 1.3vw, 1.14rem); }
.hero-prices { margin: 34px 0 28px; display: flex; gap: 12px; }
.hero-prices > div {
  min-width: 138px;
  padding: 15px 18px;
  display: grid;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.hero-prices span, .hero-prices small { color: rgba(255,255,255,.62); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.hero-prices strong { margin-top: 2px; color: white; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.hero-prices .featured { border-color: rgba(201, 163, 91, .72); background: rgba(201, 163, 91, .12); }
.hero-prices .featured strong { color: var(--gold-light); }
.hero-prices small { margin-top: 2px; font-size: .62rem; }
.primary-link {
  width: fit-content;
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.primary-link:hover { transform: translateY(-2px); background: var(--gold-light); }
.hero-visual {
  width: min(100%, 500px);
  justify-self: end;
  margin: 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74%;
  height: 74%;
  right: -8%;
  top: -7%;
  border: 1px solid rgba(201, 163, 91, .4);
  border-radius: 50%;
}
.hero-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 34px 5px 34px 5px; box-shadow: 0 36px 80px rgba(0,0,0,.4); }
.hero-visual figcaption {
  position: absolute;
  right: -24px;
  bottom: 28px;
  min-width: 150px;
  padding: 15px 18px;
  display: grid;
  border-left: 3px solid var(--gold);
  background: rgba(244, 239, 231, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-visual figcaption span { color: var(--wood); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual figcaption strong { font-family: var(--serif); font-size: 1.25rem; }

.catalog-section { max-width: 1540px; margin: 0 auto; padding: clamp(70px, 8vw, 120px) clamp(18px, 5vw, 74px) 110px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.catalog-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.35rem, 4vw, 4.25rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.catalog-heading > p { max-width: 500px; margin: 0; color: var(--muted); }

.catalog-toolbar {
  position: sticky;
  z-index: 20;
  top: 82px;
  margin: 38px 0 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(0, 1.5fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 239, 231, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(16, 23, 34, .07);
}
.search-field {
  min-height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.search-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 163, 91, .14); }
.search-field svg { flex: 0 0 auto; width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .94rem; }
.search-field input::placeholder { color: #92979e; }
.search-field button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #ebe5dc; cursor: pointer; }
.filter-scroll { overflow-x: auto; display: flex; align-items: center; gap: 8px; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  min-height: 44px;
  padding: 0 16px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.filter-chip:hover { border-color: var(--wood-light); }
.filter-chip.active { border-color: var(--ink); background: var(--ink); color: white; }
.catalog-meta { margin: 0 4px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .82rem; }
#resultCount { color: var(--ink); font-weight: 800; }
.promo-hint { display: flex; align-items: center; gap: 8px; }
.promo-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, .74);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(138, 103, 79, .35); box-shadow: var(--shadow); }
.product-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #e8e6e4;
  cursor: zoom-in;
}
.product-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 182%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform .45s ease;
}
.product-card:hover .product-image img { transform: scale(1.025); }
.sold-out {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 23, 34, .88);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.add-button:disabled, .add-modal-button:disabled { cursor: not-allowed; opacity: .48; }
.product-number {
  position: absolute;
  left: 13px;
  top: 13px;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(16, 23, 34, .86);
  color: white;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  backdrop-filter: blur(8px);
}
.product-info { padding: 17px; }
.product-category { margin: 0 0 6px; color: var(--wood-light); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-info h3 { min-height: 2.7em; margin: 0; font-family: var(--serif); font-size: clamp(1.14rem, 1.4vw, 1.35rem); font-weight: 600; line-height: 1.2; }
.product-pricing { margin: 16px 0 14px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.product-pricing strong { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; }
.product-pricing span { color: var(--muted); font-size: .7rem; text-align: right; }
.add-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.add-button:hover { background: var(--gold); color: var(--ink); }
.add-button.added { border-color: #426b54; background: #426b54; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > span { font-family: var(--serif); font-size: 3rem; }
.empty-state strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.5rem; }
.empty-state p { color: var(--muted); }
.empty-state button { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 800; cursor: pointer; }

footer {
  min-height: 150px;
  padding: 34px clamp(20px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: rgba(255,255,255,.66);
  font-size: .85rem;
}
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: white; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand small { margin-top: 3px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
footer a { color: var(--gold-light); font-weight: 700; }

.overlay { position: fixed; z-index: 60; inset: 0; background: rgba(8, 12, 18, .62); backdrop-filter: blur(4px); }
.cart-drawer {
  position: fixed;
  z-index: 70;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: -20px 0 50px rgba(0,0,0,.2);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-header { padding: 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 2px; }
.drawer-header h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.icon-button:hover { background: #eee9e1; }
.cart-promo-progress { padding: 13px 24px; background: #f0e4c9; color: #5a4521; font-size: .78rem; font-weight: 700; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px 24px; }
.empty-cart { padding: 72px 20px; text-align: center; color: var(--muted); }
.empty-cart span { display: block; margin-bottom: 14px; font-size: 2.4rem; }
.empty-cart strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.cart-item { padding: 14px 0; display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 13px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-item-image { overflow: hidden; width: 68px; height: 82px; border-radius: 9px; background: #e5e2de; }
.cart-item-image img { width: 180%; max-width: none; height: 100%; object-fit: cover; object-position: left; }
.cart-item-copy { min-width: 0; }
.cart-item-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 1rem; }
.cart-item-copy small { display: block; margin: 3px 0 9px; color: var(--muted); }
.quantity-control { width: fit-content; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.quantity-control button { width: 34px; height: 32px; border: 0; background: transparent; font-size: 1.05rem; cursor: pointer; }
.quantity-control output { min-width: 26px; text-align: center; font-size: .82rem; font-weight: 800; }
.remove-item { padding: 6px; border: 0; background: transparent; color: #8c4646; font-size: .72rem; text-decoration: underline; cursor: pointer; }
.cart-footer { padding: 18px 24px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #faf7f1; }
.cart-summary-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; }
.cart-summary-row + .cart-summary-row { margin-top: 5px; }
.cart-summary-row.discount { color: #426b54; font-weight: 700; }
.cart-total { margin: 11px 0 15px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.cart-total strong { font-family: var(--serif); font-size: 1.6rem; }
.whatsapp-button, .add-modal-button {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  background: #1f7a4f;
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.whatsapp-button:disabled { cursor: not-allowed; opacity: .45; }
.whatsapp-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.cart-footer > small { display: block; margin-top: 9px; color: var(--muted); text-align: center; font-size: .7rem; }

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(8, 12, 18, .72);
  backdrop-filter: blur(5px);
}
.modal-card { position: relative; width: min(920px, 100%); border-radius: 22px; background: var(--white); box-shadow: 0 32px 90px rgba(0,0,0,.34); }
.modal-close { position: absolute; z-index: 2; top: 14px; right: 14px; background: rgba(255,253,249,.92); }
.product-modal-card { overflow: hidden; display: grid; grid-template-columns: minmax(300px, .95fr) minmax(320px, 1.05fr); }
.modal-product-image { min-height: 560px; background: #ded9d3; }
.modal-product-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-product-copy { padding: clamp(32px, 5vw, 62px); align-self: center; }
.modal-product-copy h2, .checkout-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.modal-product-copy > p:not(.eyebrow), .checkout-card > p:not(.eyebrow) { margin: 18px 0; color: var(--muted); }
.modal-price { margin: 26px 0; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-price strong { font-family: var(--serif); font-size: 1.8rem; }
.modal-price span { color: var(--wood); font-size: .84rem; font-weight: 800; }
.modal-quantity { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.add-modal-button { background: var(--ink); }

.checkout-card { width: min(540px, 100%); padding: clamp(28px, 5vw, 48px); }
.checkout-card h2 { font-size: clamp(2rem, 5vw, 3.05rem); }
.checkout-card label { margin-top: 15px; display: grid; gap: 7px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.checkout-card input { width: 100%; min-height: 51px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #faf8f4; }
.checkout-card input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 163, 91, .14); }
.checkout-total { margin: 22px 0 14px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.checkout-total strong { font-family: var(--serif); font-size: 1.55rem; }
.checkout-card > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; font-size: .72rem; }

.mobile-cart-bar { display: none; }
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  max-width: calc(100% - 32px);
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: .83rem;
  font-weight: 700;
  transform: translateX(-50%);
}

:focus-visible { outline: 3px solid rgba(201, 163, 91, .68); outline-offset: 3px; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 48px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .promo-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .promo-bar::-webkit-scrollbar { display: none; }
  .site-header { min-height: 64px; padding: 8px 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy small { display: none; }
  .header-actions > a, .cart-button > span { display: none; }
  .header-actions { gap: 0; }
  .mobile-menu-toggle {
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(16, 23, 34, .16);
    border-radius: 999px;
    background: rgba(255, 253, 249, .75);
    color: var(--ink);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 800;
  }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--ink); color: white; }
  .menu-icon { width: 17px; display: grid; gap: 3px; }
  .menu-icon i { width: 100%; height: 2px; display: block; border-radius: 99px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(5px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 8px;
    display: grid;
    border: 1px solid rgba(16, 23, 34, .12);
    border-radius: 18px;
    background: rgba(255, 253, 249, .98);
    box-shadow: 0 22px 55px rgba(16, 23, 34, .22);
    backdrop-filter: blur(18px);
  }
  .mobile-menu a {
    min-height: 58px;
    padding: 9px 12px;
    display: grid;
    align-content: center;
    border-radius: 12px;
  }
  .mobile-menu a + a { border-top: 1px solid var(--line); }
  .mobile-menu a:active, .mobile-menu a:focus-visible { background: rgba(201, 163, 91, .15); }
  .mobile-menu span { font-size: .9rem; font-weight: 850; }
  .mobile-menu small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
  .cart-button { min-width: 60px; padding: 7px 8px 7px 11px; }
  .hero { min-height: auto; padding: 54px 20px 66px; grid-template-columns: 1fr; gap: 46px; }
  .hero h1 { max-width: 600px; font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero-visual { width: min(90%, 500px); justify-self: center; }
  .hero-visual figcaption { right: -12px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 15px; }
  .catalog-toolbar { top: 74px; grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-modal-card { width: min(600px, 100%); grid-template-columns: 1fr; }
  .modal-product-image { min-height: auto; aspect-ratio: 1; }
  .modal-product-copy { padding: 30px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  body.has-mobile-cart { padding-bottom: 78px; }
  .promo-bar { font-size: .68rem; }
  .brand-copy strong { font-size: .94rem; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }
  .hero-description { margin-top: 20px; }
  .hero-prices { margin-top: 25px; }
  .hero-prices > div { min-width: 0; flex: 1; padding: 13px; }
  .hero-prices strong { font-size: 1.45rem; }
  .hero-visual { width: 96%; }
  .hero-visual img { border-radius: 24px 4px 24px 4px; }
  .hero-visual figcaption { right: -5px; bottom: 18px; min-width: 135px; padding: 12px 14px; }
  .catalog-section { padding-top: 72px; padding-bottom: 90px; }
  .catalog-heading h2 { font-size: 2.55rem; }
  .catalog-toolbar { margin-top: 28px; margin-left: -6px; margin-right: -6px; padding: 8px; border-radius: 14px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .promo-hint { font-size: .73rem; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 13px; }
  .product-image { aspect-ratio: 4 / 4.9; }
  .product-number { left: 8px; top: 8px; }
  .product-info { padding: 12px 10px 10px; }
  .product-info h3 { min-height: 2.5em; font-size: 1rem; }
  .product-pricing { margin: 11px 0 10px; align-items: start; flex-direction: column; }
  .product-pricing strong { font-size: 1.15rem; }
  .product-pricing span { text-align: left; }
  .add-button { min-height: 42px; font-size: .78rem; }
  .mobile-cart-bar {
    position: fixed;
    z-index: 45;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 6px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(16, 23, 34, .96);
    box-shadow: 0 18px 45px rgba(0,0,0,.3);
    backdrop-filter: blur(14px);
  }
  .mobile-cart-bar button { border: 0; border-radius: 11px; cursor: pointer; }
  #mobileCartReview { padding: 5px 9px; display: flex; align-items: center; justify-content: space-between; background: transparent; color: white; text-align: left; }
  #mobileCartReview span:first-child { display: grid; }
  #mobileCartReview small { color: rgba(255,255,255,.62); font-size: .66rem; text-transform: uppercase; }
  #mobileCartReview strong { font-family: var(--serif); font-size: 1.1rem; }
  #mobileCartReview span:last-child { color: var(--gold-light); font-size: .75rem; font-weight: 800; }
  #mobileCheckout { padding: 0 17px; background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 900; }
  .modal { padding: 10px; align-items: end; }
  .modal-card { max-height: calc(100svh - 20px); overflow-y: auto; border-radius: 20px 20px 12px 12px; }
  .product-modal-card { display: block; }
  .modal-product-image { aspect-ratio: 1; }
  .modal-product-copy { padding: 26px 20px; }
  .modal-product-copy h2 { font-size: 2.25rem; }
  .modal-price { align-items: flex-start; flex-direction: column; }
  .checkout-card { padding: 32px 20px 24px; }
  .cart-drawer { width: 100%; }
  .toast { bottom: 90px; }
}

@media (max-width: 380px) {
  .site-header { padding-right: 10px; padding-left: 10px; }
  .brand, .footer-brand { gap: 8px; }
  .mobile-menu-toggle { padding-right: 10px; padding-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
