:root {
  --bg: #fff;
  --soft: #f7f4f1;
  --soft-strong: #eee7e2;
  --ink: #20110c;
  --muted: #776b66;
  --muted-2: #9d918c;
  --line: #e6ddd8;
  --red: #c72f35;
  --red-dark: #a8262b;
  --green: #15785f;
  --gold: #d89a38;
  --cocoa: #4a2115;
  --shadow: 0 18px 48px rgba(42, 22, 13, .10);
  --shadow-soft: 0 10px 26px rgba(42, 22, 13, .07);
  --container: 1360px;
  --radius: 8px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
input, textarea, select { font-size: 15px; }
:focus-visible { outline: 3px solid rgba(213, 45, 53, .22); outline-offset: 2px; }

.shop-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.burger-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.burger-button span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
}
.desktop-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}
.desktop-nav a.active, .desktop-nav a:hover { color: var(--ink); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 42px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.language-switch button {
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.language-switch button.active {
  background: var(--ink);
  color: #fff;
}
.google-translate-host {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget {
  display: none !important;
}
body { top: 0 !important; }
.cart-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}
.cart-count {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(255,255,255,.16);
  font-size: 12px;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(42px, 6vw, 76px) clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 35%, rgba(255,255,255,.56) 52%, rgba(255,255,255,.06) 72%),
    url("hero-main-desktop.png") right center / cover no-repeat,
    #fff;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 52vw);
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.3vw, 84px);
  line-height: .98;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.wide { width: 100%; }
.back-link { color: var(--red); font-weight: 900; }

.stories {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbf8f6);
}
.story-grid {
  display: grid;
  gap: 18px;
}
.news-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.news-carousel-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}
.news-carousel-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.news-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.news-all-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(42,22,13,.1);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.news-all-link:hover {
  border-color: rgba(42,22,13,.18);
  background: var(--soft);
}
.news-carousel-btn {
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
}
.news-carousel-btn:hover {
  background: var(--red);
}
.news-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31%);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(42,22,13,.24) transparent;
}
.news-carousel::-webkit-scrollbar { height: 7px; }
.news-carousel::-webkit-scrollbar-track { background: transparent; }
.news-carousel::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(42,22,13,.22);
}
.news-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(42,22,13,.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(199,47,53,.08), transparent 34%),
    #fff;
  box-shadow: 0 14px 34px rgba(42,22,13,.055);
  scroll-snap-align: start;
}
.news-card time {
  width: max-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3f1;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}
.news-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}
.news-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.catalog-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-block: 1px solid var(--line);
  background: rgba(250,248,246,.98);
  backdrop-filter: blur(10px);
}
.catalog-nav-inner { min-height: 58px; display: flex; align-items: center; gap: 9px; overflow: hidden; }
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  color: var(--muted);
}
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.search-box { flex: 0 0 auto; width: 0; opacity: 0; overflow: hidden; transition: .22s ease; }
.catalog-nav.search-open .search-box { width: min(340px, 44vw); opacity: 1; }
.search-box input, .checkout-form input, .checkout-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}
.category-links { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 5px 2px; scrollbar-width: none; }
.category-links::-webkit-scrollbar { display: none; }
.category-link {
  flex: 0 0 auto;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.category-link.active,
.category-link:hover {
  background: #fff;
  border-color: rgba(42, 22, 13, .24);
  color: var(--ink);
}
.category-link.sale-link {
  border-color: rgba(199,47,53,.18);
  background: rgba(255,255,255,.72);
  color: var(--muted);
}
.category-link.sale-link.active,
.category-link.sale-link:hover {
  background: #fff;
  border-color: rgba(199,47,53,.32);
  color: var(--red);
}

.catalog-page { padding: 34px 0 90px; background: var(--soft); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.summary-card, .account-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-sections { display: grid; gap: 42px; }
.menu-sections.search-updated {
  animation: searchResultsIn .36s ease both;
}
.menu-category { scroll-margin-top: 144px; }
.menu-category-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.menu-category-head h2 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: 0; }
.menu-category-head span { color: var(--muted); font-size: 13px; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(42, 22, 13, .025);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { border-color: rgba(42, 22, 13, .16); box-shadow: 0 10px 24px rgba(42, 22, 13, .055); }
.product-art {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  filter: saturate(.92);
  transition: filter .18s ease, transform .18s ease;
}
.product-card:hover .product-art img { filter: saturate(1); transform: scale(1.015); }
.product-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
  color: rgba(255,255,255,.92);
  font-weight: 900;
}
.product-art span { color: rgba(255,255,255,.9); font-size: 42px; font-weight: 900; }
.stock-mark {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}
.stock-mark.ok { background: rgba(21, 120, 95, .09); color: var(--green); }
.stock-mark.low { background: rgba(216, 154, 56, .12); color: #8a641e; }
.stock-mark.muted { background: rgba(119, 107, 102, .13); color: var(--muted); }
.product-card h3 {
  min-height: 40px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.28;
}
.product-desc { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.product-meta { margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.option-chip input { position: absolute; opacity: 0; pointer-events: none; }
.option-chip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.option-chip input:checked + span { border-color: var(--red); color: var(--red); background: #fff6f6; }
.product-foot { display: grid; grid-template-columns: 1fr; gap: 8px; }
.price { font-size: 17px; font-weight: 900; white-space: nowrap; }
.price-wrap { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.price-wrap s { color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.sale-price-row .price { color: var(--red); }
.sale-percent {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(199,47,53,.08);
  color: #a8262b;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.add-btn { min-height: 36px; padding: 0 11px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 900; white-space: nowrap; }
.add-btn:hover { background: var(--red-dark); }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.details-btn {
  min-height: 36px;
  flex: 1 1 auto;
  padding: 0 10px;
  border-radius: 8px;
  background: #f3efec;
  color: #3b302c;
  font-size: 14px;
  font-weight: 850;
}
.details-btn:hover { background: #ebe4df; }
.add-btn.icon-only {
  width: 36px;
  min-width: 36px;
  padding: 0;
  display: grid;
  place-items: center;
}
.cart-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.page-shell { padding: 54px 0 96px; background: var(--soft); min-height: 60vh; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: .95; }
.page-head p { margin: 14px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(42, 22, 13, .03);
}
.cart-thumb { height: 110px; border-radius: var(--radius); background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 28px; }
.cart-info h3 { margin: 0 0 6px; }
.cart-info p, .cart-options { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.qty-control { display: inline-flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--radius); background: var(--soft); font-weight: 900; }
.qty-control button { width: 32px; height: 32px; border-radius: var(--radius); background: #fff; font-size: 20px; }
.product-qty {
  flex: 0 0 auto;
  gap: 4px;
  min-height: 36px;
  padding: 4px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.product-qty button { width: 28px; height: 28px; border-radius: 8px; font-size: 17px; }
.product-qty button {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.product-qty span {
  min-width: 24px;
  text-align: center;
}
.cart-line-total { text-align: right; font-weight: 900; }
.summary-card { position: sticky; top: 104px; padding: 20px; box-shadow: 0 12px 36px rgba(42,22,13,.06); }
.summary-card h2, .summary-card h3 { margin: 0 0 16px; font-size: 28px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--muted); }
.summary-row strong { color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 24px; font-weight: 900; }
.summary-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.empty-state { padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); }

.info-page {
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 44%, #fff 100%);
  min-height: 70vh;
}
.info-hero {
  padding: 58px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(42,22,13,.045), transparent 34%),
    linear-gradient(135deg, #fff 0%, #faf7f4 100%);
}
.info-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 42px;
  align-items: center;
}
.info-eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(42, 22, 13, .06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.info-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1;
}
.info-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.info-visual {
  min-height: 310px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(213,45,53,.07), transparent 34%),
    linear-gradient(135deg, #fff, #f7f1ec);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(42, 22, 13, .07);
}
.info-visual::before {
  content: "";
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: url("chocolate-logo-new.png") center / contain no-repeat;
  filter: drop-shadow(0 16px 24px rgba(42,22,13,.13));
}
.info-visual span {
  position: absolute;
  min-width: 64px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(42,22,13,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(42, 22, 13, .06);
}
.info-visual span:nth-child(1) { left: 32px; top: 40px; }
.info-visual span:nth-child(2) { right: 34px; top: 112px; }
.info-visual span:nth-child(3) { left: 54px; bottom: 46px; }
.info-section { padding: 42px 0 76px; }
.info-stat-grid,
.info-card-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.info-stat-grid article {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.info-stat-grid strong {
  color: #3b2a23;
  font-size: 28px;
  line-height: 1;
}
.info-stat-grid span {
  color: var(--muted);
  font-weight: 800;
}
.info-card-grid,
.contact-grid { margin-top: 18px; }
.info-card {
  min-height: 196px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(42, 22, 13, .025);
}
.info-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 850;
}
.info-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
}
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}
.step-timeline {
  display: grid;
  gap: 14px;
  counter-reset: order;
}
.step-timeline article {
  display: grid;
  grid-template-columns: 56px minmax(0, 250px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.step-timeline b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42, 22, 13, .09);
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  font-size: 20px;
}
.step-timeline h2 { margin: 0; font-size: 22px; }
.step-timeline p { margin: 0; color: var(--muted); line-height: 1.5; font-weight: 600; }
.info-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, #fff, #faf6f2);
  color: var(--ink);
}
.info-banner h2 { margin: 0 0 8px; font-size: 26px; }
.info-banner p { margin: 0; color: var(--muted); font-weight: 600; }
.wholesale-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.wholesale-matrix div {
  padding: 16px;
  border: 1px solid rgba(42, 22, 13, .06);
  border-radius: 14px;
  background: #fff;
}
.wholesale-matrix strong { display: block; margin-bottom: 8px; font-size: 18px; }
.wholesale-matrix span { color: var(--muted); font-weight: 700; line-height: 1.4; }
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(42, 22, 13, .06);
}
.contact-card h2 { margin: 0 0 22px; font-size: 30px; }
.contact-card dl { display: grid; gap: 18px; margin: 0; }
.contact-card div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-card div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-card dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.contact-card dd {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}
.info-photo-card {
  min-height: 330px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(42, 22, 13, .06);
}
.info-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(.82) contrast(.94) brightness(1.02);
}
.info-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(32,17,12,.46));
  pointer-events: none;
}
.info-photo-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.old-site-photo {
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(247,244,241,.92)),
    #fff;
}
.info-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}
.info-card-large {
  min-height: 330px;
}
.info-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(42, 22, 13, .42);
}
.info-product-collage {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 10%, rgba(42,22,13,.04), transparent 36%),
    #fff;
  box-shadow: 0 12px 30px rgba(42, 22, 13, .06);
}
.info-product-collage img {
  grid-row: span 3;
  align-self: center;
  width: min(210px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(42,22,13,.12));
}
.info-product-collage div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(42, 22, 13, .06);
  border-radius: 14px;
  background: #fff;
}
.info-product-collage strong {
  font-size: 20px;
  line-height: 1;
}
.info-product-collage span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}
.compact-collage {
  min-height: 330px;
}
.info-warning {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.info-warning p {
  color: var(--muted);
}
.contact-card-hero a {
  color: inherit;
}
.contact-route {
  display: grid;
  grid-template-columns: minmax(320px, .75fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.contact-map-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(250,247,244,.78)),
    url("chocolate-logo-new.png") center 34% / 148px auto no-repeat,
    var(--soft);
  box-shadow: 0 12px 30px rgba(42, 22, 13, .06);
}
.contact-map-card span {
  color: var(--muted);
  font-weight: 900;
}
.contact-map-card strong {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1;
}
.contact-map-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.contact-grid.compact {
  margin-top: 0;
  grid-template-columns: 1fr;
}
.contact-grid.compact .info-card {
  min-height: 0;
}

.catalog-skeleton { pointer-events: none; }
.skeleton-chip,
.skeleton-line,
.skeleton-box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee5e0;
}
.skeleton-chip {
  width: 128px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
}
.skeleton-box {
  width: 100%;
  height: 168px;
}
.skeleton-line {
  width: 100%;
  height: 15px;
  margin-top: 8px;
}
.skeleton-line.short { width: 62%; }
.skeleton-title {
  width: 260px;
  height: 40px;
  margin: 0;
}
.skeleton-count {
  width: 96px;
  height: 18px;
  margin: 0;
}
.price-line { width: 110px; height: 22px; }
.action-line { width: 100%; height: 38px; }
.skeleton-card {
  box-shadow: none;
  transform: none;
}
.skeleton-chip::after,
.skeleton-line::after,
.skeleton-box::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent);
  animation: skeletonShimmer 1.25s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

@keyframes searchResultsIn {
  0% { opacity: .55; transform: translateY(8px); filter: saturate(.9); }
  100% { opacity: 1; transform: translateY(0); filter: saturate(1); }
}

.checkout-form { display: grid; gap: 14px; }
.checkout-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(42, 22, 13, .03);
}
.checkout-step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}
.checkout-step h2 { margin: 0 0 14px; font-size: 24px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-form textarea { min-height: 92px; padding: 12px 14px; resize: vertical; margin-top: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
}
.choice-card.active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(213,45,53,.12); }
.choice-card strong { display: block; margin-bottom: 5px; }
.choice-card span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.legal-row { display: flex; align-items: start; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }

.account-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-card { padding: 22px; min-width: 0; }
.account-card h1 { margin: 0 0 16px; font-size: 38px; line-height: 1; }
.profile-name { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.profile-muted { color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.order-history { display: grid; gap: 12px; }
.order-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.order-card strong { display: block; margin-bottom: 6px; }
.order-card p { margin: 0; color: var(--muted); line-height: 1.45; }

.price-header-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}
.favorite-count {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}
.favorite-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--muted);
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(42,22,13,.08);
}
.favorite-toggle.active,
.favorite-detail-btn.active {
  background: var(--ink);
  color: #fff;
}
.favorite-detail-btn,
.favorite-remove-btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.footer-price-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}
.product-detail-actions { display: flex; align-items: center; gap: 10px; }

/* Yoko-like cart, checkout and account surfaces */
.cart-layout { grid-template-columns: minmax(0, 1fr) 360px; }
.cart-items,
.cart-summary,
.checkout-form,
.summary-card,
.account-card,
.account-content,
.account-section {
  border: 1px solid rgba(42,22,13,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(42,22,13,.06);
}
.cart-items { overflow: hidden; gap: 0; }
.cart-item {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.cart-item:last-child { border-bottom: 0; }
.cart-thumb {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  overflow: hidden;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.cart-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
  color: #fff;
  font-weight: 900;
}
.cart-info h3 { font-size: 19px; line-height: 1.2; }
.cart-desc { min-height: 0; }
.cart-price { margin-top: 10px; color: var(--muted); font-weight: 900; }
.cart-actions { display: grid; justify-items: end; gap: 12px; }
.cart-qty { border-radius: 16px; background: var(--soft); }
.cart-qty button { border-radius: 12px; }
.cart-sum { font-size: 20px; color: var(--ink); }
.summary-card { padding: 22px; }
.summary-card h2 { margin: 0 0 16px; font-size: 28px; }
.summary-row.total,
.summary-total { color: var(--ink); font-size: 23px; }
.checkout-btn {
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}
.checkout-form { padding: 18px; }
.checkout-step {
  border-color: rgba(42,22,13,.08);
  box-shadow: none;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.checkout-item strong { color: var(--ink); }
.checkout-shell {
  background:
    linear-gradient(180deg, #fff 0%, #fbf8f6 28%, #f7f2ee 100%);
}
.checkout-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(42,22,13,.08);
}
.checkout-head h1 {
  font-size: clamp(42px, 4.5vw, 62px);
  letter-spacing: 0;
}
.checkout-head p {
  max-width: 620px;
  font-size: 16px;
  font-weight: 600;
}
.checkout-head .back-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(42,22,13,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
}
.checkout-head .back-link:hover {
  border-color: rgba(42,22,13,.18);
  background: #fff;
}
.checkout-form-modern {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.checkout-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.checkout-column,
.checkout-main-column,
.checkout-side-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.checkout-main-column {
  counter-reset: checkout-step;
}
.checkout-main-column .checkout-panel {
  position: relative;
}
.checkout-main-column .checkout-panel .checkout-panel-head h2::before {
  counter-increment: checkout-step;
  content: counter(checkout-step);
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  vertical-align: 3px;
}
.checkout-confirm-panel .checkout-panel-head h2::before { content: none; }
.checkout-side-column {
  position: sticky;
  top: 100px;
}
.checkout-panel {
  padding: 22px;
  border: 1px solid rgba(42,22,13,.075);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(42,22,13,.045);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.checkout-panel:focus-within {
  border-color: rgba(42,22,13,.16);
  box-shadow: 0 16px 38px rgba(42,22,13,.07);
}
.checkout-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(42,22,13,.07);
  flex-wrap: wrap;
}
.checkout-panel-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}
.checkout-clear-cart {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: #fff3f1;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}
.checkout-clear-cart:hover {
  background: #ffe9e5;
}
.checkout-cart-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.checkout-cart-row {
  min-width: 680px;
  display: grid;
  grid-template-columns: 78px minmax(220px, 1fr) 126px 100px 112px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.checkout-cart-row:last-child { border-bottom: 0; }
.checkout-cart-header {
  min-height: 42px;
  padding-block: 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.checkout-cart-photo {
  width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.checkout-cart-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.checkout-cart-name {
  min-width: 0;
  font-weight: 800;
  line-height: 1.25;
}
.checkout-cart-qty {
  display: inline-grid;
  grid-template-columns: 34px 44px 34px;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft);
}
.checkout-cart-qty button {
  height: 34px;
  background: #ebe4df;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}
.checkout-cart-qty b {
  text-align: center;
  font-size: 14px;
}
.checkout-cart-totals {
  display: grid;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.checkout-cart-totals div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42,22,13,.07);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.checkout-cart-totals div:last-child { border-bottom: 0; }
.checkout-cart-totals strong { color: var(--ink); }
.checkout-cart-totals span {
  min-width: 0;
}
.checkout-cart-totals .total {
  color: var(--ink);
  padding-top: 16px;
  font-size: 22px;
  font-weight: 900;
}
.checkout-cart-totals .total strong {
  color: var(--red);
  font-size: 28px;
}
.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.checkout-field-grid label {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.checkout-field-grid label.wide { align-items: start; }
.checkout-field-grid label > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}
.checkout-field-grid input,
.checkout-field-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(42,22,13,.1);
  border-radius: 12px;
  padding: 0 14px;
  background: #fbfaf9;
  color: var(--ink);
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.checkout-field-grid input::placeholder,
.checkout-field-grid textarea::placeholder {
  color: rgba(118,105,97,.72);
}
.checkout-field-grid input:focus,
.checkout-field-grid textarea:focus {
  border-color: rgba(32,17,12,.28);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,22,13,.055);
}
.checkout-field-grid textarea {
  min-height: 86px;
  padding-block: 12px;
  resize: vertical;
}
.checkout-choice-list {
  grid-template-columns: 1fr;
  gap: 10px;
}
.checkout-choice-list .choice-card {
  position: relative;
  min-height: 60px;
  padding: 14px 14px 14px 46px;
  border-color: rgba(42,22,13,.09);
  border-radius: 14px;
  background: #fbfaf9;
  text-align: left;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.checkout-choice-list .choice-card:focus-visible {
  outline: 0;
  border-color: rgba(32,17,12,.28);
  box-shadow: 0 0 0 4px rgba(42,22,13,.055);
}
.checkout-choice-list .choice-card:hover {
  border-color: rgba(42,22,13,.18);
  background: #fff;
}
.checkout-choice-list .choice-card::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--muted-2);
  border-radius: 50%;
  background: #fff;
}
.checkout-choice-list .choice-card strong {
  margin-bottom: 4px;
  font-size: 15px;
}
.checkout-choice-list .choice-card span {
  font-size: 13px;
}
.checkout-choice-list .choice-card.active {
  border-color: rgba(199,47,53,.36);
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(199,47,53,.08);
}
.checkout-choice-list .choice-card.active strong {
  color: var(--red);
}
.checkout-choice-list .choice-card.active::before {
  border-color: var(--red);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--red);
}
.checkout-submit-row { display: none; }
.checkout-submit-row .legal-row { margin: 0; }
.checkout-submit-row .legal-row strong { color: var(--ink); }
.checkout-confirm-panel {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(135deg, #fff, #fff8f7);
}
.checkout-confirm-panel .legal-row {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(42,22,13,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
}
.checkout-confirm-panel .legal-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 18px;
  accent-color: var(--red);
}
.checkout-confirm-panel .legal-row strong {
  color: var(--ink);
}
.checkout-submit-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  font-size: 17px;
  box-shadow: 0 14px 28px rgba(199,47,53,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.checkout-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(199,47,53,.2);
}
.checkout-cart-panel {
  border-color: rgba(32,17,12,.11);
  background: linear-gradient(180deg, #fff, #fffaf8);
  box-shadow: 0 18px 44px rgba(42,22,13,.07);
}
.account-layout { grid-template-columns: 360px minmax(0, 1fr); }
.account-card { position: sticky; top: 104px; }
.account-content { display: grid; gap: 18px; border: 0; background: transparent; box-shadow: none; }
.account-top { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.account-top h1 { margin-bottom: 6px; }
.account-subtitle { margin: 0; color: var(--muted); line-height: 1.4; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.profile-facts div {
  padding: 12px;
  border-radius: 18px;
  background: var(--soft);
}
.profile-facts span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.profile-facts strong { display: block; margin-top: 5px; font-size: 20px; }
.account-section { padding: 20px; }
.account-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.account-section-head h2 { margin: 0; font-size: 28px; }
.account-section-head span { color: var(--muted); font-weight: 900; }
.account-orders-list { display: grid; gap: 12px; }
.account-order-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbf8f6);
}
.account-order-top,
.account-order-meta,
.account-order-actions { display: flex; align-items: center; gap: 10px; }
.account-order-top { justify-content: space-between; }
.account-order-title { display: block; font-size: 18px; }
.order-date { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.account-order-meta { flex-wrap: wrap; margin: 14px 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.account-order-actions button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  font-weight: 900;
}
.order-detail-btn { background: var(--ink); color: #fff; }
.order-repeat-icon { background: var(--soft); color: var(--ink); }
.account-favorite-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-favorite-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.account-favorite-card .product-image {
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft);
  overflow: hidden;
}
.account-favorite-card img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.account-favorite-card h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.2; }
.account-favorite-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.account-favorite-card .product-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.order-detail-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(32,17,12,.45); backdrop-filter: blur(12px); }
.order-detail-modal.active { display: flex; }
.order-detail-card {
  width: min(680px, 100%);
  height: min(760px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
}
.order-detail-card h2 { margin: 0 44px 16px 0; font-size: 34px; line-height: 1; }
.order-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.order-detail-meta span { padding: 8px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 900; font-size: 13px; }
.order-detail-items { display: grid; gap: 10px; }
.order-detail-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.order-detail-item span { display: block; margin-top: 4px; color: var(--muted); }
.order-detail-item.unavailable { opacity: .62; }
.order-detail-action-bar { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.delivery-modal, .success-modal, .auth-modal, .product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32,17,12,.45);
  backdrop-filter: blur(12px);
}
.delivery-modal.active, .success-modal.active, .auth-modal.active, .product-modal.active { display: flex; }
.delivery-card, .success-card, .auth-card {
  width: min(520px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: var(--radius); background: var(--soft); font-size: 26px; }
.delivery-card h2, .success-card h2 { margin: 0 44px 8px 0; font-size: 34px; line-height: 1; }
.delivery-card p, .success-card p, .auth-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.auth-card h2 { margin: 0 44px 8px 0; font-size: 34px; line-height: 1; }
.auth-head { margin-bottom: 16px; }
.auth-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.auth-tabs button {
  min-height: 38px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}
.auth-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(42, 22, 13, .04);
}
.product-detail-card {
  width: min(920px, 100%);
  height: min(760px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.product-detail-media {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 360px;
  height: calc(min(760px, 100vh - 40px) - 36px);
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  padding: 24px;
}
.product-detail-media span { color: var(--red); font-size: 68px; font-weight: 900; }
.product-detail-content {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 52px 110px 0;
}
.product-detail-content .stock-mark { position: static; display: inline-flex; margin-bottom: 14px; }
.sale-detail-mark { display: inline-flex; margin: 0 0 14px 8px; padding: 6px 10px; border-radius: var(--radius); background: #fff3f0; color: var(--red); font-size: 12px; font-weight: 900; }
.product-detail-content h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.product-detail-content p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.product-detail-list { display: grid; gap: 10px; margin: 0 0 18px; }
.product-detail-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.product-detail-list dt { color: var(--muted); font-weight: 800; }
.product-detail-list dd { margin: 0; text-align: right; font-weight: 900; }
.product-detail-list a { color: var(--red); }
.product-detail-foot {
  position: absolute;
  left: calc(18px + (100% - 36px - 24px) * .473 + 24px);
  right: 18px;
  bottom: 18px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -14px 34px rgba(42, 22, 13, .08);
  backdrop-filter: blur(12px);
}
.product-detail-foot .price-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.product-detail-foot .price {
  font-size: 24px;
}
.product-detail-foot .product-detail-actions {
  flex: 0 0 auto;
}
.email-auth-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-field {
  display: grid;
  gap: 7px;
}
.auth-field:not([data-auth-name-field]):not([data-auth-lastname-field]) { grid-column: 1 / -1; }
.auth-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.email-auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  outline: 0;
  background: #fff;
}
.email-auth-form input:focus { border-color: rgba(42,22,13,.34); }
.password-input {
  position: relative;
  display: block;
}
.password-input input { padding-right: 48px; }
.password-input button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}
.password-input button:hover,
.password-input button.active {
  background: var(--soft);
  color: var(--ink);
}
.password-input svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.auth-error { min-height: 20px; color: var(--red); font-size: 14px; font-weight: 800; }
.auth-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.auth-link { background: transparent; color: var(--muted); font-weight: 900; }
.auth-link:hover { color: var(--ink); }
.delivery-methods { display: grid; gap: 10px; }
.delivery-method { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; }
.delivery-method.active { border-color: var(--red); background: #fff6f6; }
.delivery-method strong { display: block; margin-bottom: 5px; }
.delivery-method span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.success-card { text-align: center; }
.success-card strong { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  transform: translate(-50%, 18px);
  opacity: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: .22s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.shop-footer { background: var(--ink); color: #fff; padding: 40px 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.shop-footer h3, .shop-footer h4 { margin: 0 0 12px; }
.shop-footer p, .shop-footer a { color: rgba(255,255,255,.68); line-height: 1.55; }
.shop-footer nav { display: grid; gap: 8px; }
.studio-credit {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
.studio-credit span {
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
}
.studio-credit img {
  width: 96px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .94;
}
.studio-credit:hover { background: rgba(255,255,255,.1); }
.mobile-tabs { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(32,17,12,.34);
  backdrop-filter: blur(12px);
}
.mobile-menu.active { display: block; }
.mobile-menu-panel {
  width: min(390px, 100%);
  margin-left: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 78px 18px 18px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff 0%, #fbf8f6 100%);
  box-shadow: -18px 0 42px rgba(42, 22, 13, .14);
  transform: translateX(100%);
  animation: mobileMenuIn .24s cubic-bezier(.2,.8,.2,1) forwards;
}
.mobile-menu-head {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.mobile-menu-panel .modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font-size: 0;
  box-shadow: 0 10px 24px rgba(42, 22, 13, .08);
}
.mobile-menu-panel .modal-close::before,
.mobile-menu-panel .modal-close::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 1.7px;
  border-radius: 99px;
  background: currentColor;
}
.mobile-menu-panel .modal-close::before { transform: rotate(45deg); }
.mobile-menu-panel .modal-close::after { transform: rotate(-45deg); }
.mobile-menu-panel nav {
  display: grid;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}
.mobile-menu-panel nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}
.mobile-menu-panel nav a:hover { background: var(--soft); }
.mobile-menu-panel nav a.mobile-menu-account {
  min-height: 52px;
  margin-top: 4px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 26px rgba(32, 17, 12, .14);
}
.mobile-menu-panel .language-switch {
  width: 100%;
  justify-content: center;
  margin: 0;
  background: rgba(255,255,255,.72);
}
.mobile-menu-panel .btn.wide {
  min-height: 48px;
  justify-content: center;
  margin-top: auto;
}
body.mobile-menu-open,
body.modal-open {
  overflow: hidden;
}

.delivery-card,
.success-card,
.auth-card {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.product-modal,
.delivery-modal,
.success-modal,
.auth-modal,
.mobile-menu {
  overscroll-behavior: contain;
}

@keyframes mobileMenuIn {
  to { transform: translateX(0); }
}

@media (max-width: 1220px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .desktop-nav { gap: 14px; }
  .price-header-link { display: none; }
}

@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .burger-button { display: grid; }
  .header-inner > .language-switch { display: none; }
  .catalog-layout, .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .account-card { position: static; }
  .account-favorite-products { grid-template-columns: 1fr; }
  .hero-copy { width: min(620px, 64vw); }
  .summary-card { position: static; }
  .news-carousel { grid-auto-columns: minmax(270px, 44%); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-hero-grid { grid-template-columns: 1fr; }
  .info-visual { min-height: 260px; }
  .info-split, .contact-route { grid-template-columns: 1fr; }
  .info-stat-grid, .info-card-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wholesale-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { height: 70px; }
  .header-inner { gap: 8px; }
  .burger-button {
    order: 3;
    width: 38px;
    height: 38px;
    margin-left: auto;
    position: relative;
    gap: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.72);
  }
  .burger-button span {
    position: absolute;
    width: 18px;
    height: 1.6px;
    background: currentColor;
    transition: transform .18s ease, width .18s ease;
  }
  .burger-button span:nth-child(1) { transform: translateY(-4px); }
  .burger-button span:nth-child(2) { display: none; }
  .burger-button span:nth-child(3) { width: 14px; transform: translate(2px, 4px); }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 7px;
    font-size: 18px;
  }
  .brand > span:last-child {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
  .header-inner > .cart-button { display: none; }
  .hero {
    min-height: calc(100vh - var(--header-h));
    align-items: start;
    padding: 44px 16px 34px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 33%, rgba(255,255,255,.58) 52%, rgba(255,255,255,.05) 76%),
      url("hero-main-mobile.png") center bottom / cover no-repeat,
      #fff;
  }
  .hero-copy { width: min(100%, 390px); }
  .hero h1 { max-width: 340px; font-size: 34px; line-height: 1.06; }
  .hero p { max-width: 340px; font-size: 16px; overflow-wrap: anywhere; }
  .stories { padding-top: 20px; }
  .news-carousel-head {
    align-items: start;
    flex-direction: column;
  }
  .news-carousel-controls {
    width: 100%;
  }
  .news-all-link {
    margin-right: auto;
  }
  .news-carousel {
    grid-auto-columns: minmax(248px, 86%);
    gap: 12px;
    padding-bottom: 12px;
  }
  .news-card {
    min-height: 210px;
    padding: 16px;
    border-radius: 16px;
  }
  .catalog-nav { top: 70px; }
  .catalog-nav-inner { min-height: 66px; }
  .catalog-nav.search-open .search-box { width: 210px; }
  .story-grid, .field-grid, .choice-grid, .footer-inner { grid-template-columns: 1fr; }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .info-hero { padding: 38px 0 28px; }
  .info-hero h1 { font-size: 38px; line-height: 1; }
  .info-hero p { font-size: 16px; }
  .info-visual { min-height: 220px; border-radius: 16px; }
  .info-visual::before { width: 132px; height: 132px; }
  .info-photo-card,
  .info-photo-card img,
  .contact-map-card { min-height: 240px; }
  .info-photo-card figcaption { font-size: 17px; }
  .info-product-collage { grid-template-columns: 1fr; min-height: 0; }
  .info-product-collage img { width: 132px; grid-row: auto; }
  .info-stat-grid, .info-card-grid, .contact-grid, .wholesale-matrix { grid-template-columns: 1fr; }
  .info-stat-grid strong { font-size: 28px; }
  .info-card { min-height: 0; }
  .step-timeline article { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
  .step-timeline article p { grid-column: 2; }
  .step-timeline b { width: 44px; height: 44px; font-size: 18px; }
  .info-banner { align-items: stretch; flex-direction: column; }
  .contact-card { padding: 20px; border-radius: 16px; }
  .contact-card h2 { font-size: 28px; }
  .contact-card dd { font-size: 17px; }
  .product-card {
    min-width: 0;
    overflow: hidden;
    gap: 8px;
    padding: 9px;
    border-radius: 12px;
  }
  .product-art {
    height: 124px;
    border-radius: 10px;
  }
  .product-art img { padding: 8px; }
  .product-card h3 {
    min-height: 48px;
    font-size: 13px;
    line-height: 1.2;
    -webkit-line-clamp: 3;
  }
  .product-desc { display: none; }
  .product-foot { gap: 7px; min-width: 0; }
  .price-wrap {
    min-height: 28px;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
  }
  .price-wrap .price { font-size: 19px; }
  .price-wrap s { font-size: 11px; }
  .sale-percent { height: 20px; padding: 0 6px; font-size: 10px; }
  .product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
  }
  .product-actions .details-btn {
    min-width: 0;
    min-height: 36px;
    padding: 0 7px;
    font-size: 12px;
  }
  .add-btn.icon-only {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .product-qty {
    width: 82px;
    min-height: 36px;
    gap: 1px;
    padding: 4px;
  }
  .product-qty button {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 15px;
  }
  .product-qty span { min-width: 20px; font-size: 13px; }
  .favorite-toggle {
    width: 32px;
    height: 32px;
    right: 6px;
    top: 6px;
  }
  .product-detail-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    width: min(100% - 18px, 420px);
    height: min(760px, calc(100dvh - 18px));
    max-height: calc(100dvh - 18px);
    padding: 12px;
    overflow: hidden;
  }
  .product-detail-media {
    position: static;
    min-height: 0;
    height: clamp(210px, 42dvh, 310px);
    align-self: stretch;
  }
  .product-detail-media img {
    max-height: none;
    padding: 10px;
  }
  .product-detail-content {
    min-height: 0;
    overflow-y: auto;
    padding: 0 0 86px;
    scrollbar-width: thin;
  }
  .product-detail-content .stock-mark { margin-bottom: 8px; }
  .product-detail-content h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.08;
  }
  .product-detail-content p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
  }
  .product-detail-list { gap: 8px; margin-bottom: 14px; }
  .product-detail-foot {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    align-items: center;
    flex-direction: row;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -12px 28px rgba(42, 22, 13, .08);
    backdrop-filter: blur(12px);
  }
  .product-detail-foot .price-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }
  .product-detail-actions {
    flex: 0 0 auto;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }
  .product-detail-actions .favorite-detail-btn { display: none; }
  .product-detail-foot .add-btn.icon-only {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .product-detail-foot .product-qty {
    width: 104px;
    min-height: 44px;
    justify-content: center;
  }
  .product-detail-foot .product-qty button {
    width: 32px;
    height: 32px;
  }
  .product-detail-foot .product-qty span {
    min-width: 24px;
    font-size: 15px;
  }
  .email-auth-form { grid-template-columns: 1fr; }
  .auth-field { grid-column: 1 / -1; }
  .product-detail-list div { align-items: start; flex-direction: column; gap: 4px; }
  .product-detail-list dd { text-align: left; }
  .menu-category-head { align-items: start; flex-direction: column; }
  .menu-category-head h2 { font-size: 34px; }
  .cart-item { grid-template-columns: 86px minmax(0, 1fr); }
  .cart-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .cart-thumb { width: 86px; height: 86px; }
  .account-top { flex-direction: column; }
  .profile-facts { grid-template-columns: 1fr; }
  .account-favorite-card { grid-template-columns: 86px minmax(0, 1fr); }
  .product-detail-actions { align-items: stretch; flex-direction: column; }
  .page-head { align-items: start; flex-direction: column; }
  .page-head h1 { font-size: 42px; }
  .account-card { padding: 22px; overflow: hidden; min-width: 0; }
  .account-card h1 { font-size: 36px; }
  .profile-muted { max-width: 29ch; }
  .profile-muted, .shop-footer p, .shop-footer a { overflow-wrap: anywhere; word-break: break-word; }
  .shop-footer p { max-width: 31ch; }
  .checkout-step { grid-template-columns: 1fr; }
  .checkout-order-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .checkout-side-column {
    position: static;
  }
  .checkout-main-column,
  .checkout-side-column {
    gap: 14px;
  }
  .checkout-panel {
    padding: 16px;
    border-radius: 16px;
  }
  .checkout-panel-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .checkout-panel-head h2 { font-size: 22px; }
  .checkout-main-column .checkout-panel .checkout-panel-head h2::before {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    border-radius: 9px;
    font-size: 12px;
  }
  .checkout-cart-totals {
    justify-content: stretch;
  }
  .checkout-cart-totals div {
    min-width: 0;
    width: 100%;
    gap: 12px;
    font-size: 14px;
  }
  .checkout-cart-totals .total {
    font-size: 20px;
  }
  .checkout-cart-totals .total strong {
    font-size: 25px;
  }
  .checkout-field-grid label {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .checkout-field-grid label > span {
    text-align: left;
  }
  .checkout-field-grid input,
  .checkout-field-grid textarea {
    min-height: 46px;
    border-radius: 11px;
  }
  .checkout-choice-list .choice-card {
    min-height: 56px;
    padding: 12px 12px 12px 42px;
    border-radius: 13px;
  }
  .checkout-choice-list .choice-card::before {
    left: 13px;
    top: 17px;
  }
  .checkout-confirm-panel {
    gap: 14px;
  }
  .checkout-confirm-panel .legal-row {
    padding: 12px;
  }
  .checkout-submit-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
  }
  .mobile-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
  }
  .mobile-tabs a {
    position: relative;
    min-width: 0;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--muted);
  }
  .mobile-tabs a.active {
    background: var(--soft);
    color: var(--ink);
  }
  .mobile-tabs a[href="cart.html"] {
    background: var(--ink);
    color: #fff;
  }
  .mobile-tabs a[href="cart.html"].active {
    background: var(--ink);
    color: #fff;
  }
  .mobile-tabs a[href="cart.html"].cart-bump {
    animation: mobileCartBump .44s ease both;
  }
  .mobile-tabs svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .mobile-tabs .cart-count,
  .mobile-tabs .favorite-count {
    position: absolute;
    top: 5px;
    right: calc(50% - 22px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    line-height: 14px;
  }
  .mobile-tabs a[href="cart.html"] .cart-count {
    background: var(--red);
  }
  .shop-footer { padding-bottom: 92px; }
  body { padding-bottom: 64px; }
}

@keyframes mobileCartBump {
  0% { transform: scale(1); }
  38% { transform: scale(1.12); }
  72% { transform: scale(.98); }
  100% { transform: scale(1); }
}
