/* ============ Storefront layout ============ */

/* ---------- announcement ---------- */
.announce {
  background: var(--ink);
  color: #f4e9e2;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: clamp(18px, 4vw, 52px);
  background: rgba(251, 247, 244, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(224, 210, 202, 0.6);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 12px 30px -24px rgba(44, 35, 33, 0.4); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { width: 42px; height: 42px; color: var(--rose-deep); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.brand-text small {
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 20px;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--rose-soft); color: var(--rose-deep); }
.main-nav a.active { background: var(--ink); color: #fff; }

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.lang-switch button {
  border: 0;
  background: none;
  padding: 6px 4px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s;
}
.lang-switch button.active { color: var(--rose-deep); }
.lang-switch button:hover { color: var(--ink); }

.cart-count {
  position: absolute;
  top: 4px;
  inset-inline-end: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-count.show { transform: scale(1); }

.menu-btn { display: none; }

.nav-lang { display: none; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 560px;
  margin-top: clamp(16px, 3vw, 34px);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdfb, #f9efe9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(30px, 5vw, 76px);
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 600;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--rose-deep); }
.hero-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-stats {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 20px; font-family: var(--font-display); }
html[dir="rtl"] .hero-stats strong { font-family: var(--font-kur); }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

.hero-media { position: relative; min-height: 320px; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  border-start-start-radius: 300px;
  border-end-start-radius: 300px;
}
.hero-badge {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-end: 26px;
  z-index: 2;
}
.hero-dots {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}
html[dir="rtl"] .hero-dots { transform: translateX(50%); }
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(44, 35, 33, 0.25);
  transition: width 0.3s var(--ease), background 0.2s;
  padding: 0;
}
.hero-dots button.active { width: 26px; background: var(--rose-deep); }

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 6vw, 84px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rose-deep);
  white-space: nowrap;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  text-align: center;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--rose); }
.cat-avatar {
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  border-radius: 50%;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--rose-mist);
}
.cat-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-card strong { font-size: 14.5px; }
.cat-card span { font-size: 12px; color: var(--muted); }

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.055); }
.product-badges {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}
.quick-add {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), background 0.2s;
  z-index: 2;
}
.quick-add svg { width: 19px; height: 19px; }
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--rose-deep); }
.product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 19px;
}
.product-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.product-name { font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.product-name a:hover { color: var(--rose-deep); }
.product-bottom { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; }
.price { font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 11px; font-weight: 700; color: var(--green); }
.stock-out { font-size: 11.5px; font-weight: 700; color: var(--red); }

/* ---------- promo ---------- */
.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink);
  color: #f6ece6;
  min-height: 320px;
}
.promo-content {
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.promo h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); color: #fff; }
.promo p { color: rgba(246, 236, 230, 0.72); max-width: 42ch; }
.promo .eyebrow { color: #e3b7b2; }
.promo .eyebrow::before { background: #e3b7b2; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }

/* ---------- trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose-deep);
}
.trust-icon svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: 14px; margin-bottom: 3px; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- footer ---------- */
.site-footer { background: #241b19; color: #d9cbc4; margin-top: 20px; }
.footer-inner {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-block: 60px 44px;
}
.brand-light { color: #f7efe9; }
.brand-light .brand-mark { color: #e3b7b2; }
.footer-brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.8; color: rgba(217, 203, 196, 0.72); max-width: 38ch; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: var(--font-kur); font-size: 14px; color: #fff; margin-bottom: 6px; font-weight: 600; }
.footer-col a, .footer-col span { font-size: 13.5px; color: rgba(217, 203, 196, 0.8); transition: color 0.2s; }
.footer-col a:hover { color: #f3d4cf; }
.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 212, 207, 0.25);
  display: grid;
  place-items: center;
  color: #f3d4cf;
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: rgba(243, 212, 207, 0.12); border-color: rgba(243, 212, 207, 0.5); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(217, 203, 196, 0.14);
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(217, 203, 196, 0.6);
}

/* ---------- overlay / drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 27, 25, 0.42);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s;
}
.overlay.show { opacity: 1; }

.cart-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(440px, 100%);
  background: var(--surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.42s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(44, 35, 33, 0.5);
}
html[dir="rtl"] .cart-drawer { transform: translateX(-105%); }
.cart-drawer.open { transform: translateX(0); }
html[dir="rtl"] .cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 19px; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 26px; background: var(--bg); }

.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; }
.cart-item img { width: 74px; height: 74px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.cart-item-name { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.cart-item-price { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.cart-item .qty { margin-top: 8px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
}
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-remove {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 6px;
  border-radius: 8px;
}
.cart-remove:hover { color: var(--red); background: var(--red-soft); }
.cart-remove svg { width: 17px; height: 17px; }

.cart-empty { text-align: center; padding: 60px 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; color: var(--line-strong); }

.cart-line { display: flex; justify-content: space-between; font-size: 14px; padding-block: 5px; color: var(--ink-soft); }
.cart-line.total { font-weight: 700; font-size: 17px; color: var(--ink); padding-top: 12px; margin-top: 6px; border-top: 1px dashed var(--line-strong); }
.cart-foot .btn { margin-top: 15px; }
.free-ship-note { font-size: 12px; color: var(--green); text-align: center; margin-top: 8px; }

/* ---------- modal ---------- */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 27, 25, 0.5);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-root[hidden] { display: none !important; }
.modal {
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  animation: modal-in 0.35s var(--ease);
}
.modal.wide { width: min(940px, 100%); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  z-index: 2;
}
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.modal .field-row { margin-bottom: 14px; }
.modal .field { margin-bottom: 14px; }

.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
}
.checkout-summary .cart-line { font-size: 13px; padding-block: 2px; }
.checkout-summary .cart-line.total { font-size: 15px; padding-top: 9px; }

.success-screen { text-align: center; padding: 12px 6px 6px; }
.success-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.success-icon svg { width: 36px; height: 36px; }
.success-screen h3 { margin-bottom: 8px; }
.success-screen p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.order-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.success-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.success-actions .btn { width: min(320px, 100%); }
.success-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- shop view ---------- */
.page-hero {
  padding-block: clamp(36px, 5vw, 64px) 8px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--muted); margin-top: 8px; }
.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.crumbs a:hover { color: var(--rose-deep); }

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-block: 30px 22px;
}
.search-wrap { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
.search-wrap svg {
  position: absolute;
  inset-inline-start: 15px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search-wrap .input { padding-inline-start: 44px; border-radius: 999px; background: var(--surface); }
.toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar-right .select { width: auto; min-width: 150px; border-radius: 999px; }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }

.product-count { font-size: 13px; color: var(--muted); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- product page ---------- */
.product-view { padding-block: 30px 20px; }
.product-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.gallery-main {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 1 / 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface-2);
  padding: 0;
}
.gallery-thumbs button.active { border-color: var(--rose-deep); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-detail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.product-detail h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.detail-price { display: flex; align-items: baseline; gap: 12px; }
.detail-price .price { font-size: 28px; }
.detail-price .price-old { font-size: 17px; }
.detail-desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.9; }
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.detail-meta div { display: flex; flex-direction: column; gap: 3px; }
.detail-meta span { font-size: 12px; color: var(--muted); }
.detail-meta strong { font-size: 13.5px; font-weight: 600; }
.detail-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.detail-actions .qty { height: 48px; }
.detail-actions .qty button { width: 40px; height: 46px; }
.detail-actions .btn { height: 48px; flex: 1; min-width: 180px; }
.detail-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--rose-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.detail-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--rose-deep); margin-top: 2px; }

/* ---------- track ---------- */
.track-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.track-form { display: flex; gap: 10px; margin-top: 18px; }
.track-form .input { flex: 1; text-transform: uppercase; letter-spacing: 0.06em; }
.track-result { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.track-order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 22px; }
.tl-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: "";
  position: absolute;
  inset-inline-start: 14px;
  inset-block-start: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl-step:last-child::before { display: none; }
.tl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.tl-dot svg { width: 14px; height: 14px; }
.tl-step.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl-step.done::before { background: var(--green); }
.tl-step.current .tl-dot { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; box-shadow: 0 0 0 5px var(--rose-soft); }
.tl-step strong { font-size: 14px; display: block; }
.tl-step span { font-size: 12px; color: var(--muted); }
.track-items { display: flex; flex-direction: column; gap: 12px; }
.track-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; align-items: center; }
.track-item .thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.track-item-left { display: flex; align-items: center; gap: 12px; }

/* ---------- contact / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split img { border-radius: 28px; width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.about-text p { color: var(--ink-soft); line-height: 1.95; font-size: 14.5px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: var(--rose); transform: translateY(-2px); }
.contact-card strong { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-card span { font-size: 13px; color: var(--muted); word-break: break-word; }

/* ---------- empty / error ---------- */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.empty-state svg { width: 60px; height: 60px; color: var(--line-strong); }
.empty-state h3 { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
  .hero { min-height: 500px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset-block-start: calc(var(--header-h) + 9px);
    inset-inline: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s var(--ease);
    z-index: 70;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 14px; }
  .menu-btn { display: inline-flex; }
  .lang-switch { display: none; }
  .nav-lang {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-lang button {
    flex: 1;
    padding: 11px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .nav-lang button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
  .checkout-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 340px; order: -1; }
  .hero-media img { border-radius: 0; border-start-start-radius: 0; border-end-start-radius: 0; }
  .hero-content { padding: 30px 24px 36px; }
  .hero-dots { inset-block-end: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; }
  .promo-media { max-height: 240px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .product-layout { grid-template-columns: 1fr; }
  .product-detail { position: static; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .quick-add { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 68px; }
  .site-header { gap: 10px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .product-grid { gap: 12px; }
  .product-info { padding: 12px 13px 15px; }
  .product-name { font-size: 13.5px; }
  .price { font-size: 14px; }
  .section { padding-block: 44px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 44px 30px; }
  .footer-bottom { flex-direction: column; }
  .track-form { flex-direction: column; }
  .detail-actions .btn { min-width: 100%; }
  .modal { padding: 24px 20px; border-radius: 20px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 11px; }
  .checkout-summary { max-height: 150px; }
}

@media (max-width: 380px) {
  .lang-switch { display: none; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
}
