:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-surface-2: #f0f0f5;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --color-primary: #0071e3;
  --color-primary-ink: #ffffff;
  --color-primary-hover: #0077ed;
  --color-accent: #2997ff;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-dark: #1d1d1f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);

  --container: 1120px;
  --header-height: 44px;
  --nav-break: 1068px;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out-apple: cubic-bezier(0.32, 0.72, 0, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: var(--font-sans);
  --font-head: var(--font-sans);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 40px); }
h3 { font-size: clamp(21px, 2.4vw, 24px); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 980px;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.022em;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-primary:active { opacity: 0.88; }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
}
.btn-ghost:hover {
  background: rgba(0, 113, 227, 0.08);
}

/* ---------- HEADER (Apple / Ive) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  isolation: isolate;
}

.header-glass {
  position: relative;
  z-index: 2;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.16);
  transition:
    background 0.4s var(--ease-apple),
    border-color 0.4s var(--ease-apple),
    box-shadow 0.4s var(--ease-apple);
}

.site-header.is-scrolled .header-glass {
  background: rgba(251, 251, 253, 0.88);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04);
}

.site-header.is-menu-open .header-glass {
  background: rgba(251, 251, 253, 0.94);
  border-bottom-color: transparent;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0);
  gap: 12px;
}

.header-zone {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-zone--start {
  justify-content: flex-start;
}

.header-zone--end {
  justify-content: flex-end;
  gap: 18px;
}

/* Wordmark — no chunky badge, pure type */
.header-logo {
  grid-column: 2;
  justify-self: center;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease-apple);
}

.header-logo:hover {
  opacity: 0.65;
}

.header-logo sup {
  font-size: 0.52em;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 1px;
  vertical-align: super;
  line-height: 0;
}

/* Desktop inline nav — apple.com 12px links */
.main-nav {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 32px);
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.72);
  white-space: nowrap;
  transition: color 0.25s var(--ease-apple);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text);
}

/* Menu trigger — thin 2-line Apple icon */
.header-menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 0 -12px;
  color: var(--color-text);
  transition: opacity 0.25s var(--ease-apple);
}

.header-menu-btn:hover {
  opacity: 0.55;
}

.header-menu-icon .menu-line {
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  transition: transform 0.35s var(--ease-out-apple), opacity 0.25s var(--ease-apple);
  transform-origin: center;
}

.site-header.is-menu-open .menu-line--top {
  transform: translateY(5px) rotate(45deg);
}

.site-header.is-menu-open .menu-line--bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.header-buy {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.72);
  white-space: nowrap;
  transition: color 0.25s var(--ease-apple);
}

.header-buy:hover {
  color: var(--color-primary);
}

.header-bag {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 0;
  color: var(--color-text);
  transition: opacity 0.25s var(--ease-apple);
}

.header-bag:hover {
  opacity: 0.55;
}

.header-bag-count {
  position: absolute;
  top: 8px;
  right: 6px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.header-bag-count[hidden] {
  display: none !important;
}

/* Mobile sheet — frosted, spacious */
.header-sheet {
  position: fixed;
  z-index: 1;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 0 max(40px, env(safe-area-inset-bottom));
  background: rgba(251, 251, 253, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.4s var(--ease-apple),
    transform 0.45s var(--ease-out-apple),
    visibility 0.4s;
  pointer-events: none;
}

.site-header.is-menu-open .header-sheet {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-sheet-list {
  list-style: none;
  margin: 0;
  padding: 12px 22px 0;
}

.header-sheet-list li {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.header-sheet-list li:last-child {
  border-bottom: none;
}

.header-sheet-list .nav-link {
  display: block;
  padding: 18px 4px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.header-sheet-list .nav-link:hover {
  color: var(--color-primary);
}

.header-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-apple);
}

.header-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Large desktop: hide hamburger, show centered nav under bar OR inline */
@media (min-width: 1068px) {
  .header-menu-btn {
    display: none;
  }

  .header-bar {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }

  .header-logo {
    grid-column: 1;
    justify-self: start;
    font-size: 19px;
  }

  .header-zone--start {
    display: none;
  }

  .main-nav {
    display: flex;
    justify-content: center;
    grid-column: 2;
    min-width: 0;
  }

  .header-sheet,
  .header-backdrop {
    display: none !important;
  }
}

@media (max-width: 1067px) {
  .main-nav {
    display: none !important;
  }

  .header-buy {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-logo {
    font-size: 19px;
  }

  .header-sheet-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-sheet-list .nav-link {
    font-size: 24px;
    padding: 16px 2px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Legacy logo in footer etc. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: inherit;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #182850;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(0, 113, 227, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(41, 151, 255, 0.06), transparent 50%),
    var(--color-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-eyebrow sup {
  font-size: 0.65em;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span:last-child {
  color: var(--color-primary);
}

.hero-lead {
  max-width: 34em;
  margin: 0 0 32px;
  color: var(--color-muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual { position: relative; }
.hero-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f0f0f5 0%, #e8e8ed 100%);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  padding: 24px;
  text-align: center;
  border: 0.5px solid rgba(0, 0, 0, 0.06);
}

/* ---------- SECTIONS ---------- */
.section { padding: clamp(64px, 10vw, 96px) 0; }
.section-header { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-header h2 {
  margin-bottom: 14px;
  letter-spacing: -0.035em;
}
.section-header p {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.01em;
}
.section-header--light h2, .section-header--light p { color: #fff; }
.section-header--light p { color: rgba(255, 255, 255, 0.8); }

/* ---------- ABOUT ---------- */
.about { background: var(--color-surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #dbe8ff, #9fc1ff);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  padding: 24px;
  text-align: center;
  color: var(--color-dark);
}
.highlights {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.highlights li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text);
}
.highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(87, 164, 255, 0.3);
}
.about-sign {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.about-sign strong {
  color: var(--color-text);
}

.about-sign span {
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- PRODUCTS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  position: relative;
  background: var(--color-surface);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease-out-apple), box-shadow 0.35s var(--ease-out-apple);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
  aspect-ratio: 4 / 5;
  width: 100%;
  background: #f0f0f5;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  outline: none;
  background: #f0f0f5;
}

.product-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.product-name a {
  color: inherit;
  text-decoration: none;
}

.product-name a:hover {
  opacity: 0.75;
}

.product-tagline {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.45em * 3);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  align-content: flex-start;
}

.tag {
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
  font-weight: 500;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
}

.product-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-price-value,
.product-price-currency {
  white-space: nowrap;
}

.product-price.empty {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 400;
}

.product-footer-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.product-footer-actions .btn {
  flex: 1;
  padding: 11px 12px;
  font-size: 14px;
  min-width: 0;
}

/* ---------- REVIEWS ---------- */
.reviews { background: var(--color-surface); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--color-surface-2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-size: 11px; padding: 4px; text-align: center;
}
.review-author { font-weight: 600; }
.review-city { font-size: 13px; color: var(--color-muted); }
.review-stars { color: var(--color-accent); letter-spacing: 2px; font-size: 15px; }
.review-text { margin: 0; color: var(--color-text); font-size: 15px; }

/* ---------- ECO ---------- */
.eco {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 113, 227, 0.35), transparent 65%),
    linear-gradient(180deg, #1d1d1f 0%, #000 100%);
  color: #f5f5f7;
}
.eco-wrap { display: flex; flex-direction: column; gap: 48px; }
.eco-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.eco-stat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.eco-stat-value {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}
.eco-stat-label { margin-top: 8px; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }

.eco-partners-title {
  margin: 32px 0 20px;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.eco-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.eco-partner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.eco-partner-name { font-family: var(--font-head); font-size: 20px; margin: 0 0 8px; }
.eco-partner-desc { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; margin: 0; }
/* ---------- FAQ ---------- */
.reviews-tabs,
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.faq-chip {
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.faq-chip.is-active,
.faq-chip:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  gap: 16px;
}
.faq-question::after {
  content: "+";
  font-size: 22px;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 15px;
  white-space: pre-line;
}
.faq-item.is-open .faq-answer { max-height: 1000px; padding: 0 24px 22px; }

/* ---------- CONTACTS ---------- */
.contacts { background: var(--color-surface); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contacts-list { margin: 24px 0 0; display: grid; grid-template-columns: 140px 1fr; gap: 10px 18px; }
.contacts-list dt { color: var(--color-muted); font-size: 14px; }
.contacts-list dd { margin: 0; font-size: 15px; }

.contact-form {
  background: var(--color-surface-2);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form h3 { margin: 0 0 4px; }
.contact-form label,
.cart-order label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--color-muted);
}
.contact-form input,
.contact-form textarea,
.cart-order input,
.cart-order textarea,
.cart-order select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  font: inherit;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.cart-order input:focus,
.cart-order textarea:focus,
.cart-order select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 94, 217, 0.2);
}
.contact-form button { align-self: flex-start; }
.form-status { font-size: 14px; margin: 0; min-height: 20px; }
.form-status.is-success { color: var(--color-primary); }
.form-status.is-error { color: #b14b3c; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 0;
  background: #0b0b0f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.5;
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(0, 113, 227, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(41, 151, 255, 0.12), transparent 50%),
    #0b0b0f;
}

.footer-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0 48px;
  flex-wrap: wrap;
}

.footer-cta-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-cta-label sup {
  font-size: 0.65em;
  vertical-align: super;
}

.footer-cta-title {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.btn-footer-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-footer-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-main {
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.footer-logo:hover {
  color: var(--color-accent);
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 16px;
}

.footer-logo sup {
  font-size: 0.5em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  vertical-align: super;
}

.footer-desc {
  margin: 0 0 24px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li,
.footer-contact-list li + li {
  margin-top: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-contact-list a,
.footer-contact-list span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact-list a:hover {
  color: var(--color-accent);
}

.footer-contact-cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  transition: opacity 0.15s ease;
}

.footer-contact-cta:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070709;
  padding: 24px 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px 32px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-requisites {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.footer-legal-nav a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.footer-back-top:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0 36px;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-back-top {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .footer-legal-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* ---------- CART DRAWER ---------- */
.cart-drawer, .modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-drawer.is-open, .modal.is-open {
  pointer-events: auto;
  opacity: 1;
}
.cart-backdrop, .modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 11, 7, 0.45);
  backdrop-filter: blur(3px);
  z-index: 1;
}
.cart-drawer-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 100%);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}
.cart-drawer.is-open .cart-drawer-inner { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.cart-close, .modal-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  display: grid; place-items: center;
  font-size: 22px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-empty { color: var(--color-muted); text-align: center; padding: 40px 0; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--color-surface);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.cart-item-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--color-surface-2);
  display: grid; place-items: center;
  font-size: 10px; padding: 4px; text-align: center;
}
.cart-item-name { font-weight: 600; font-size: 14px; margin: 0 0 2px; }
.cart-item-meta { font-size: 13px; color: var(--color-muted); }
.cart-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty button {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--color-surface-2);
  font-size: 16px;
}
.cart-qty button:hover { background: var(--color-border); }
.cart-remove { color: #b14b3c; font-size: 12px; margin-top: 4px; }

.cart-order { display: flex; flex-direction: column; gap: 10px; }
.cart-total {
  display: flex; justify-content: space-between;
  padding: 16px 0;
  font-size: 17px;
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
  margin: 10px 0;
}

/* ---------- MODAL ---------- */
.modal-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(860px, calc(100% - 32px));
  max-height: calc(100% - 64px);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  z-index: 2;
}
.modal.is-open .modal-inner { transform: translate(-50%, -50%) scale(1); }
.modal-body { overflow-y: auto; padding: 32px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.modal-product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.modal-product-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4efe7, #e7d9c4);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 18px;
  padding: 24px;
  text-align: center;
}
.modal-product h3 { font-size: 28px; margin: 0 0 8px; }
.modal-product-price { font-size: 22px; font-weight: 600; margin: 16px 0; }
.modal-product-price.empty { color: var(--color-muted); font-size: 15px; font-weight: 400; }
.modal-product-description { color: var(--color-muted); margin: 0 0 18px; }
.modal-product-block { margin-bottom: 16px; }
.modal-product-block h4 { margin: 0 0 8px; font-size: 15px; }
.modal-product-block ul { margin: 0; padding-left: 18px; color: var(--color-muted); font-size: 14px; }

/* ---------- PRODUCT PAGE ---------- */
.product-page {
  padding-top: 48px;
}

.product-page-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.product-page-crumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.product-page-crumb a:hover {
  color: var(--color-dark);
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-page-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: #f0f0f5;
  overflow: hidden;
}

.product-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-page-media-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: 14px;
}

.product-page-eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 10px;
}

.product-page-body h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  line-height: 1.15;
}

.product-page-price {
  font-size: 24px;
  font-weight: 600;
  margin: 18px 0;
}

.product-page-price.empty {
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 400;
}

.product-page-price span {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 16px;
}

.product-page-description {
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

.product-page-block {
  margin-bottom: 20px;
}

.product-page-block h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.product-page-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.product-page-block p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-page-more {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.product-page-more h2 {
  font-family: var(--font-head);
  font-size: 22px;
  margin: 0 0 20px;
}

.product-page-more-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.product-page-more-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-page-more-card:hover {
  border-color: var(--color-dark);
  transform: translateY(-2px);
}

.product-page-more-name {
  font-weight: 600;
}

.product-page-more-price {
  color: var(--color-muted);
  font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contacts-grid,
  .modal-product,
  .product-page-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 420px; }
  .contacts-list { grid-template-columns: 1fr; gap: 4px 0; }
  .contacts-list dt { margin-top: 10px; }
}

@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 32px; }
  h1 span { display: inline; }
}

.alert {
  background: #e8f3e7;
  color: #2f4a2d;
  border: 1px solid #cde3c7;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 8px;
}

.order-thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--color-bg, #f7f4ef);
}
.order-thanks__inner {
  max-width: 420px;
  text-align: center;
}
.order-thanks__brand {
  margin: 0 0 16px;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.order-thanks__brand a {
  color: inherit;
  text-decoration: none;
}
.order-thanks__lead {
  margin: 12px 0 28px;
  line-height: 1.5;
  color: var(--color-muted, #5a5a5a);
}

.product-image img,
.about-photo img,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
