/* =========================================================
   گالری ریحان — Soft Gift Shop Visual Layer
   Cute · Minimal · Warm · Feminine · Instagram / Pinterest
   ========================================================= */

:root {
  --pink: #E8B4BC;
  --pink-deep: #D4A0A8;
  --pink-soft: #FBF0F2;
  --pink-light: #FFFDF9;
  --peach: #F2D9CE;
  --peach-soft: #FAF2ED;
  --cream: #FAF6F2;
  --beige: #F0E8E0;
  --nude: #EDE4DB;
  --brown: #9A8578;
  --brown-soft: #B5A399;
  --text: #5C4E46;
  --text-2: #8A7B72;
  --text-3: #B0A29A;
  --border: #EDE4DB;
  --bg: #FCFAF7;
  --white: #FFFFFF;
  --warm-white: #FFFDF9;
  --radius: 24px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --shadow: 0 10px 36px rgba(154, 133, 120, .07);
  --shadow-sm: 0 4px 18px rgba(154, 133, 120, .05);
  --shadow-md: 0 18px 48px rgba(154, 133, 120, .1);
  --font: var(--font-body, 'Vazir', Tahoma, sans-serif);
  --max: 1280px;

  /* Spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;
  --s8: 40px;
  --s9: 48px;

  --touch: 48px;
  --header-pad-y: 12px;
  --nav-h: 52px;
  --bottom-h: 70px;
  --page-x: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(243, 213, 200, .35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(253, 240, 243, .5), transparent 45%),
    var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
  width: 100%;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 16px; /* prevent iOS zoom */
}
ul { list-style: none; }
.is-hidden, .hidden { display: none !important; }

/* ========== TOP BANNER ========== */
.top-banner {
  background: linear-gradient(90deg, var(--peach-soft), var(--pink-soft), var(--peach-soft));
  color: var(--brown);
  text-align: center;
  padding: var(--s3) var(--page-x);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* ========== HEADER ========== */
.dk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 248, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.dk-header__main { border-bottom: 1px solid rgba(239, 230, 220, .7); }

.dk-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--header-pad-y) var(--page-x);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--s2);
  min-height: 56px;
  width: 100%;
  box-sizing: border-box;
}

.dk-header__right {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex: 0 0 auto;
  max-width: 42%;
}

.dk-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.dk-logo__img { height: 52px; width: auto; max-width: 200px; object-fit: contain; display: block; }
@media (min-width: 768px) {
  .dk-logo__img { height: 60px; max-width: 240px; }
}
.dk-logo__mark { display: none; }
.dk-logo__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .04em;
}

.dk-header__search-wrap {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.dk-search {
  display: flex;
  align-items: center;
  background: var(--cream);
  border-radius: 999px;
  height: 46px;
  width: 100%;
  border: 1px solid transparent;
  padding-inline-start: 4px;
  padding-inline-end: 6px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.dk-search:focus-within {
  background: var(--white);
  border-color: var(--peach);
  box-shadow: var(--shadow-sm);
}
.dk-search__btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pink), var(--pink-deep));
  box-shadow: 0 6px 16px rgba(212, 137, 152, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dk-search__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(212, 137, 152, .45);
}
.dk-search__btn:active { transform: scale(.96); }
.dk-search__btn svg { stroke: #fff; }
.dk-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 var(--s2) 0 var(--s3);
  color: var(--text);
  min-width: 0;
  height: 100%;
}
.dk-search input::placeholder { color: var(--text-3); font-size: 13px; }

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-height: min(60vh, 360px);
  overflow-y: auto;
  z-index: 120;
  border: 1px solid var(--border);
}
.live-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid #f0f0f1;
  min-height: var(--touch);
}
.live-item:last-child { border-bottom: none; }
.live-item:active, .live-item:hover { background: #fafafa; }
.live-item img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.live-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-price { font-size: 12px; color: var(--pink); font-weight: 700; margin-top: 2px; }

.dk-header__left {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.dk-header__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0 var(--s2);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}
.dk-header__link:active { background: var(--pink-soft); }
.dk-header__cart:active { background: var(--pink-soft); }

.dk-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--pink-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
  line-height: 1;
}

.dk-icon-btn {
  width: var(--touch);
  height: var(--touch);
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--text);
  flex-shrink: 0;
}
.dk-icon-btn:active { background: var(--pink-soft); }

/* Category nav — scrollable chips on mobile */
.dk-nav {
  background: transparent;
  border-bottom: 1px solid rgba(239, 230, 220, .55);
}
  .dk-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-x);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--s2);
  height: var(--nav-h);
  overflow: hidden;
}
.dk-nav__cats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  height: 100%;
  padding-left: var(--s3);
  border-left: 1px solid var(--border);
  white-space: nowrap;
}
.dk-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.dk-nav__links::-webkit-scrollbar { display: none; }
.dk-nav__links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--s3);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.dk-nav__links a:active { color: var(--pink); }
.dk-nav__sale { color: var(--pink-deep) !important; font-weight: 600; }

.dk-only-mobile { display: grid !important; }
.dk-only-desktop { display: none !important; }

/* ========== DRAWER ========== */
.drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(90, 74, 66, .28);
  opacity: 0;
  transition: opacity .3s ease;
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--warm-white);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4);
  border-bottom: 1px solid var(--beige);
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 1;
}
.drawer-nav { padding: var(--s2); display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 var(--s4);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.drawer-nav a:active { background: var(--pink-soft); }
.drawer-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  padding: var(--s4) var(--s4) var(--s2);
  margin-top: var(--s2);
  letter-spacing: .04em;
}

/* ========== PAGE ========== */
.page {
  min-height: 40vh;
  width: 100%;
  overflow-x: hidden;
}

.home-block {
  max-width: var(--max);
  margin: var(--s5) auto;
  padding: var(--s5) var(--page-x);
  background: transparent;
  border-radius: 0;
}
@media (min-width: 480px) {
  .home-block {
    margin: var(--s6) auto;
    padding: var(--s6) var(--page-x);
    border-radius: 0;
    background: transparent;
  }
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s5);
  padding-bottom: 0;
  border-bottom: none;
}
.block-head h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
  letter-spacing: .02em;
  color: var(--text);
}
.block-head a {
  font-size: 12px;
  color: var(--brown-soft);
  font-weight: 500;
  white-space: nowrap;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--s3);
  border-radius: 999px;
  background: var(--pink-soft);
  transition: background .25s ease, color .25s ease;
}
.block-head a:hover { background: var(--peach); color: var(--brown); }

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s4) var(--page-x) var(--s2);
}
.home-block--cats {
  padding-top: var(--s5);
}
.page-head h1 { font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; }
.page-head p { font-size: 13px; color: var(--text-3); margin-top: var(--s2); line-height: 1.7; }

.content-page {
  max-width: 720px;
  margin: var(--s4) auto;
  padding: var(--s5) var(--page-x);
  background: var(--white);
  border-radius: var(--radius-lg);
}
.content-page h1 { font-size: 20px; font-weight: 800; margin-bottom: var(--s2); line-height: 1.4; }
.content-page .lead { color: var(--text-3); margin-bottom: var(--s5); font-size: 13px; line-height: 1.7; }

.section {
  max-width: var(--max);
  margin: var(--s3) auto;
  padding: var(--s4);
  background: var(--white);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.section-title { font-size: 15px; font-weight: 700; }
.section-sub { font-size: 12px; color: var(--text-3); }
.section-link { font-size: 12px; color: var(--pink); font-weight: 600; }

.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: none;
  opacity: .9;
  margin-bottom: var(--s2);
  color: rgba(255,251,248,.95);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}
.hero-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.hero-btn--ghost:hover {
  background: rgba(255,251,248,.15);
  color: #fff;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #f3d5c8 0%, #fdf0f3 45%, #efe6dc 100%);
}
.hero--landing .hero-slider {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
}
@media (min-width: 600px) {
  .hero--landing .hero-slider { aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) {
  .hero--landing .hero-slider { aspect-ratio: 2.2 / 1; min-height: 420px; }
}

/* ========== LANDING PAGE SECTIONS ========== */
.landing-intro {
  max-width: 640px;
  margin: var(--s7) auto var(--s5);
  padding: 0 var(--page-x);
  text-align: center;
}
.landing-intro__brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-deep);
  letter-spacing: .14em;
  margin-bottom: var(--s3);
}
.landing-intro__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: var(--s4);
  letter-spacing: .02em;
}
.landing-intro__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}

.block-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-top: var(--s2);
  line-height: 1.7;
  font-weight: 400;
}
.block-head--center {
  flex-wrap: wrap;
  align-items: flex-end;
}
.block-head--center > div { min-width: 0; flex: 1 1 220px; }

.cat-grid--landing {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 700px) {
  .cat-grid--landing { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}

.landing-story {
  max-width: var(--max);
  margin: var(--s8) auto;
  padding: 0 var(--page-x);
  display: grid;
  gap: var(--s5);
  align-items: center;
}
.landing-story__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--cream);
}
.landing-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.landing-story:hover .landing-story__media img { transform: scale(1.03); }
.landing-story__copy { padding: var(--s2) 0; }
.landing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-deep);
  letter-spacing: .1em;
  margin-bottom: var(--s3);
}
.landing-story__copy h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: var(--s4);
  color: var(--text);
}
.landing-story__copy p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
  margin-bottom: var(--s5);
}
@media (min-width: 768px) {
  .landing-story {
    grid-template-columns: 1fr 1fr;
    gap: var(--s7);
    margin: var(--s9) auto;
  }
  .landing-story__copy { padding: var(--s5); }
}

.product-grid--featured {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 768px) {
  .product-grid--featured { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
}
.home-block--featured { margin-top: var(--s6); }

.landing-cta {
  max-width: var(--max);
  margin: var(--s7) auto;
  padding: 0 var(--page-x);
}
.landing-cta__inner {
  background:
    linear-gradient(135deg, rgba(253,240,243,.95), rgba(250,240,234,.95)),
    var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--s7) var(--s5);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.landing-cta__inner h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  margin-bottom: var(--s3);
  line-height: 1.55;
}
.landing-cta__inner p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--s5);
  max-width: 420px;
  margin-inline: auto;
}
.landing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
}

.trust-strip--landing {
  margin-top: var(--s6);
  margin-bottom: var(--s6);
}

.ig-grid--landing {
  gap: var(--s3);
}
.ig-grid--landing .ig-item {
  border-radius: var(--radius-lg);
}

.landing-close {
  max-width: 560px;
  margin: var(--s8) auto var(--s7);
  padding: 0 var(--page-x);
  text-align: center;
}
.landing-close h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: var(--s3);
}
.landing-close p {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: var(--s5);
  line-height: 1.8;
}

/* ========== HERO ========== */
.hero {
  max-width: var(--max);
  margin: var(--s4) auto 0;
  padding: 0 var(--page-x);
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--beige);
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide--logo {
  background: #F7F2E9;
}
.hero-slide--logo img {
  object-fit: contain;
  object-position: center;
  padding: 0;
  transform: scale(1.32);
  transform-origin: center center;
  background: #F7F2E9;
}
@media (max-width: 767px) {
  .hero-slide--logo img {
    transform: scale(1.4);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90, 74, 66, .45) 0%, transparent 58%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s6) var(--page-x);
  color: #fff;
}
.hero-overlay h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--s2);
  line-height: 1.45;
  letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(90, 74, 66, .25);
}
.hero-overlay p {
  font-size: 13px;
  margin-bottom: var(--s4);
  opacity: .95;
  line-height: 1.7;
  max-width: 90%;
  font-weight: 400;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s6);
  background: rgba(255, 251, 248, .95);
  color: var(--brown);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s ease;
}
.hero-btn:hover { background: var(--white); transform: translateY(-1px); }
.hero-dots {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  min-width: 8px;
  padding: 0;
  transition: width .25s ease, background .25s ease;
}
.hero-dot.active { background: #fff; width: 22px; border-radius: 999px; }
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 251, 248, .95);
  color: var(--brown);
  display: none;
  place-items: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.hero-nav:hover { transform: translateY(-50%) scale(1.05); }
.hero-nav.prev { right: 16px; }
.hero-nav.next { left: 16px; }

/* ========== CATEGORIES — lifestyle gallery cards ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  min-height: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card:active { background: var(--white); transform: translateY(-2px); }
.cat-card__media,
.cat-card > img,
.cat-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  border: none;
  flex-shrink: 0;
  display: block;
  transition: transform .5s ease;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card__media { overflow: hidden; }
.cat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  display: block;
  padding: var(--s4) var(--s3);
  letter-spacing: .03em;
  width: 100%;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.cat-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s2) var(--page-x) var(--s8);
}
.cat-page-grid .cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  min-height: 0;
  justify-content: flex-start;
}
.cat-page-grid .cat-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 0;
}
.cat-page-grid .cat-label { font-size: 15px; padding: var(--s4); }

/* ========== PRODUCTS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  align-items: stretch;
}
.product-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-card:active { box-shadow: var(--shadow); }
.pcard-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  overflow: hidden;
  flex-shrink: 0;
}
.pcard-link { display: block; width: 100%; height: 100%; }
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .pcard-media img { transform: scale(1.03); }
.pcard-badge {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  z-index: 1;
  line-height: 1.2;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.pcard-badge.discount { background: var(--pink-soft); color: var(--pink-deep); }
.pcard-badge.new { background: var(--peach-soft); color: var(--brown); }
.pcard-wish,
.pcard-add {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s ease;
}
.pcard-wish {
  top: 10px;
  left: 10px;
  background: rgba(255, 251, 248, .96);
  color: var(--text-3);
}
.pcard-wish.active { color: var(--pink-deep); }
.pcard-add {
  bottom: 12px;
  left: 12px;
  background: var(--white);
  color: var(--brown);
  border: 1px solid var(--beige);
}
.pcard-add:hover { background: var(--pink-soft); border-color: transparent; }
.pcard-wish:active, .pcard-add:active { transform: scale(.92); }
.pcard-body {
  padding: var(--s4) var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}
.pcard-cat {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
  letter-spacing: .04em;
}
.pcard-title {
  font-size: 13px;
  font-weight: 500;
  margin: var(--s1) 0 var(--s3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  color: var(--text);
  flex: 1;
}
.pcard-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.price-current { font-size: 14px; font-weight: 600; color: var(--brown); word-break: break-word; letter-spacing: .01em; }
.price-old { font-size: 12px; color: var(--text-3); text-decoration: line-through; font-weight: 400; }

/* ========== TRUST / REVIEWS / IG ========== */
.trust-strip {
  max-width: var(--max);
  margin: var(--s5) auto;
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  font-size: 13px;
  min-height: 64px;
  box-shadow: var(--shadow-sm);
}
.trust-item span { font-size: 22px; flex-shrink: 0; line-height: 1; }
.trust-item b { font-weight: 600; line-height: 1.45; color: var(--text); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.ig-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease;
}
.ig-item:hover { transform: scale(1.02); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; }

.reviews-scroll {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s1);
  margin: 0 calc(-1 * var(--page-x));
  padding-inline: var(--page-x);
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(280px, 82vw);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  border: none;
  box-shadow: var(--shadow-sm);
}
.review-top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.review-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 13px; }
.review-stars { color: #e8b86d; font-size: 12px; letter-spacing: 1px; }
.review-text { font-size: 13px; color: var(--text-2); line-height: 1.85; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.why-icon { font-size: 26px; margin-bottom: var(--s3); line-height: 1; }
.why-card h3 { font-size: 14px; font-weight: 600; margin-bottom: var(--s2); }
.why-card p { font-size: 12px; color: var(--text-3); line-height: 1.6; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--touch);
  padding: 0 var(--s5);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 137, 152, .28);
}
.btn-primary:active { background: var(--pink-deep); }
.btn-outline {
  background: var(--white);
  color: var(--brown);
  border: 1px solid var(--beige);
}
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 14px; padding: 0 var(--s6); }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-h) + 16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--brown);
  color: #fff;
  padding: var(--s3) var(--s5);
  border-radius: 999px;
  font-size: 13px;
  z-index: 300;
  opacity: 0;
  transition: .3s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none; }

/* ========== SHOP ========== */
.shop-toolbar {
  display: flex;
  gap: var(--s2);
  padding: var(--s2) var(--page-x) var(--s3);
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shop-toolbar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--s4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.filter-chip.active, .filter-chip:active {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
}

.shop-layout {
  display: grid;
  gap: var(--s3);
  padding: 0 var(--page-x) var(--s6);
  max-width: var(--max);
  margin: 0 auto;
}
.shop-sidebar { display: none; }
.shop-sidebar h3 { font-size: 13px; font-weight: 700; margin-bottom: var(--s3); }
.filter-group { margin-bottom: var(--s5); }
.filter-group label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 40px;
  padding: var(--s1) 0;
  font-size: 13px;
  cursor: pointer;
}
.price-inputs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.price-inputs input {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
}

.empty-state {
  text-align: center;
  padding: var(--s8) var(--s5);
  color: var(--text-3);
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: var(--s3) var(--page-x);
}
.empty-icon { font-size: 40px; margin-bottom: var(--s3); line-height: 1; }
.empty-state h3 { font-size: 15px; color: var(--text); margin-bottom: var(--s2); }

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s1);
  padding: var(--s4) 0;
}
.pagination a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.pagination a.active { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ========== PRODUCT PAGE ========== */
.product-page {
  max-width: var(--max);
  width: min(100%, var(--max));
  margin-inline: auto;
  margin-block: 0;
  background: var(--white);
  padding-bottom: calc(72px + var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.product-gallery {
  position: relative;
  aspect-ratio: 1;
  background: #fafafa;
  width: 100%;
}
.product-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  height: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery-dots {
  position: absolute;
  bottom: var(--s3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.gallery-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.2);
}
.gallery-dots span.active { background: var(--pink); width: 16px; border-radius: 3px; }

.product-info { padding: var(--s4) var(--page-x); }
.product-breadcrumb {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: var(--s3);
  line-height: 1.6;
  word-break: break-word;
}
.product-info h1 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--s2);
}
.product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: var(--s3);
}
.stars { color: #f9a825; }
.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.product-price-row .current { font-size: 22px; font-weight: 600; color: var(--brown); }
.product-price-row .old { font-size: 14px; color: var(--text-3); text-decoration: line-through; }
.product-price-row .save {
  padding: 6px 12px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.product-short { font-size: 13px; color: var(--text-2); margin-bottom: var(--s5); line-height: 1.8; }

.qty-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  width: var(--touch);
  height: var(--touch);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
}
.qty-control span { min-width: 36px; text-align: center; font-weight: 700; }

.product-actions {
  display: grid;
  grid-template-columns: 1fr var(--touch) var(--touch);
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.icon-btn {
  width: var(--touch);
  height: var(--touch);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.icon-btn.active { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }

.product-meta-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.meta-tag {
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-2);
}

.product-tabs { border-top: 1px solid var(--border); padding: 0 var(--page-x) var(--s5); }
.tab-btns {
  display: flex;
  gap: var(--s1);
  padding: var(--s4) 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-btns::-webkit-scrollbar { display: none; }
.tab-btn {
  min-height: 40px;
  padding: 0 var(--s4);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}
.tab-btn.active { background: var(--pink-soft); color: var(--pink); }
.tab-panel { display: none; padding: var(--s2) 0 var(--s3); font-size: 13px; color: var(--text-2); line-height: 1.9; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid #f0f0f1; }
.spec-table td { padding: var(--s3) var(--s1); font-size: 13px; vertical-align: top; }
.spec-table td:first-child { color: var(--text-3); width: 38%; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  padding: 0 var(--page-x) var(--s5);
}
.share-btn {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--s3);
  border-radius: var(--radius);
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 600;
}
.share-btn.telegram { background: #e8f4fc; color: #2AABEE; }

.sticky-cart-bar {
  position: fixed;
  bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  left: 0; right: 0;
  z-index: 70;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--s2) var(--page-x);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--s3);
  align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.sticky-cart-bar .price {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cart-bar .btn { flex: 1; min-height: 48px; }

/* ========== CART / CHECKOUT ========== */
.cart-list { padding: 0 var(--page-x); max-width: 700px; margin: 0 auto; }
.cart-item {
  display: flex;
  gap: var(--s3);
  padding: var(--s3);
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s2);
  border: 1px solid #f0f0f1;
}
.cart-item img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--s1);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-info .price { font-size: 13px; font-weight: 800; }
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s2);
}
.cart-remove {
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  padding: 0 var(--s2);
}

.cart-summary {
  max-width: 700px;
  margin: var(--s3) auto;
  padding: var(--s4);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #f0f0f1;
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s2) 0;
  font-size: 13px;
}
.cart-summary .row.total {
  border-top: 1px solid var(--border);
  margin-top: var(--s2);
  padding-top: var(--s3);
  font-weight: 800;
  font-size: 15px;
}
.coupon-row { display: flex; gap: var(--s2); margin: var(--s3) 0; }
.coupon-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
}

.checkout-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--page-x) var(--s7);
}
.form-group { margin-bottom: var(--s3); }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  background: var(--white);
  transition: border-color .2s;
}
.form-group textarea { min-height: 96px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--pink); }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}

.payment-options { display: flex; flex-direction: column; gap: var(--s2); }
.payment-option {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 56px;
  padding: var(--s3) var(--s4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.payment-option:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-light);
}

/* ========== AUTH / ACCOUNT ========== */
.auth-card {
  max-width: 400px;
  margin: var(--s5) var(--page-x);
  margin-inline: auto;
  padding: var(--s6) var(--s5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: calc(100% - 32px);
}
.auth-card h1 { font-size: 18px; font-weight: 800; text-align: center; margin-bottom: var(--s1); }
.auth-sub { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: var(--s5); }
.auth-tabs {
  display: flex;
  gap: var(--s1);
  margin-bottom: var(--s4);
  background: #f5f5f5;
  padding: var(--s1);
  border-radius: var(--radius);
}
.auth-tabs button {
  flex: 1;
  min-height: 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-3);
}
.auth-tabs button.active {
  background: var(--white);
  color: var(--pink);
  box-shadow: var(--shadow);
}

.account-menu { padding: 0 var(--page-x); max-width: 480px; margin: 0 auto; }
.account-menu a {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 56px;
  padding: 0 var(--s4);
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s2);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #f0f0f1;
}
.am-icon { font-size: 18px; }

/* ========== FAQ ========== */
.faq-item {
  background: #fafafa;
  border-radius: var(--radius-lg);
  margin-bottom: var(--s2);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: right;
  min-height: 56px;
  padding: var(--s4);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  line-height: 1.5;
}
.faq-q::after { content: '+'; color: var(--pink); font-size: 18px; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 var(--s4) var(--s4); font-size: 13px; color: var(--text-2); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ========== FOOTER ========== */
.dk-footer {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach-soft) 100%);
  color: var(--text);
  margin-top: var(--s8);
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--beige);
}
.dk-footer a { color: var(--text-2); }
.dk-footer a:hover,
.dk-footer a:active { color: var(--pink-deep); }

.dk-footer__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s7) var(--page-x);
  border-bottom: 1px solid var(--beige);
}
.dk-footer__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  min-width: 0;
}
.dk-footer__feature span { font-size: 24px; line-height: 1; flex-shrink: 0; }
.dk-footer__feature b { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text); }
.dk-footer__feature small { font-size: 12px; color: var(--text-3); line-height: 1.5; }

.dk-footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6) var(--s4);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s7) var(--page-x);
}
.dk-footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--s4);
  color: var(--brown);
  letter-spacing: .03em;
}
.dk-footer__col a {
  display: block;
  font-size: 13px;
  padding: 8px 0;
  line-height: 1.5;
}
.dk-footer__contact {
  grid-column: 1 / -1;
}
.dk-footer__contact p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word;
}
.dk-footer__addr { margin-top: var(--s2); }
.dk-footer__news {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s4);
}
.dk-footer__news input {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--s4);
  border: 1px solid var(--beige);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--text);
}
.dk-footer__news input:focus { border-color: var(--pink); box-shadow: var(--shadow-sm); }
.dk-footer__news button {
  min-height: 48px;
  padding: 0 var(--s5);
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.dk-footer__bottom {
  border-top: 1px solid var(--beige);
  padding: var(--s5);
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ========== BOTTOM NAV (native app) ========== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 4px env(safe-area-inset-bottom, 0px);
  background: rgba(255, 251, 248, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--beige);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  box-shadow: 0 -8px 28px rgba(140, 115, 102, .08);
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 600;
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: var(--bottom-h);
  padding: 6px 2px;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease;
}
.bnav-item span {
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.bnav-item.active { color: var(--pink-deep); }
.bnav-item.active svg { stroke-width: 2.2; }
.bnav-badge {
  position: absolute;
  top: 6px;
  left: calc(50% - 14px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--pink-deep);
  color: #fff;
  font-size: 9px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-style: normal;
  line-height: 1;
}

/* Center search — raised circular FAB style */
.bnav-item--search {
  justify-content: flex-end;
  padding-bottom: 8px;
  gap: 2px;
  z-index: 2;
}
.bnav-item--search .bnav-search-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: -28px;
  background: linear-gradient(145deg, #f0b8c4 0%, var(--pink) 45%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(212, 137, 152, .42),
    0 0 0 5px rgba(255, 251, 248, .95),
    inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: bnavSearchFloat 2.8s ease-in-out infinite;
}
.bnav-item--search .bnav-search-btn svg {
  stroke: #fff;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.08));
}
.bnav-item--search > span:last-child {
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 10px;
}
.bnav-item--search:active .bnav-search-btn {
  transform: scale(.94);
  animation: none;
}
.bnav-item--search:hover .bnav-search-btn {
  box-shadow:
    0 14px 30px rgba(212, 137, 152, .5),
    0 0 0 5px rgba(255, 251, 248, .98),
    inset 0 1px 0 rgba(255,255,255,.4);
}

@keyframes bnavSearchFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 10px 24px rgba(212, 137, 152, .42),
      0 0 0 5px rgba(255, 251, 248, .95),
      inset 0 1px 0 rgba(255,255,255,.35);
  }
  50% {
    transform: translateY(-5px);
    box-shadow:
      0 16px 32px rgba(212, 137, 152, .5),
      0 0 0 6px rgba(253, 240, 243, .9),
      inset 0 1px 0 rgba(255,255,255,.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bnav-item--search .bnav-search-btn { animation: none; }
}

/* Legacy */
.newsletter-section, .collection-scroll, .announcement-bar { display: none !important; }
.search-overlay { display: none !important; }

/* ========== 320–359 ========== */
@media (max-width: 359px) {
  :root { --page-x: 14px; }
  .dk-logo__text { font-size: 17px; }
  .dk-logo__mark { font-size: 20px; }
  .cat-label { font-size: 13px; }
  .pcard-title { font-size: 12px; }
  .price-current { font-size: 13px; }
  .hero-overlay h2 { font-size: 17px; }
  .trust-item { font-size: 12px; padding: var(--s3); }
  .form-row { grid-template-columns: 1fr; }
  .cat-grid { gap: var(--s3); }
}

/* ========== 360+ ========== */
@media (min-width: 360px) {
  .dk-logo__text { font-size: 20px; }
}

/* ========== 390+ ========== */
@media (min-width: 390px) {
  .cat-label { font-size: 14px; }
  .hero-overlay h2 { font-size: 20px; }
  .product-grid { gap: var(--s4); }
}

/* ========== 430+ ========== */
@media (min-width: 430px) {
  .home-block {
    margin: var(--s6) auto;
  }
  .hero-slider { border-radius: var(--radius-xl); }
}

/* ========== 480+ ========== */
@media (min-width: 480px) {
  .hero-slider { aspect-ratio: 2 / 1; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(90, 74, 66, .42), transparent 70%);
    justify-content: center;
    padding: var(--s7);
  }
  .form-row { grid-template-columns: 1fr 1fr; }
  .dk-footer__news { flex-direction: row; }
  .dk-footer__news button { flex-shrink: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
}

/* ========== 600+ ========== */
@media (min-width: 600px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .product-grid { gap: var(--s4); }
  .trust-strip { gap: var(--s4); }
  .ig-grid { gap: var(--s3); }
  .dk-footer__contact { grid-column: auto; }
  .dk-footer__main { grid-template-columns: repeat(2, 1fr); }
}

/* ========== TABLET 768+ ========== */
@media (min-width: 768px) {
  :root {
    --page-x: 28px;
    --bottom-h: 0px;
  }

  body { padding-bottom: 0; font-size: 14px; }
  .bottom-nav { display: none; }
  .sticky-cart-bar { display: none; }
  .dk-footer { padding-bottom: 0; }

  .dk-only-mobile { display: none !important; }
  .dk-only-desktop { display: flex !important; }

  .dk-header__inner {
    padding: var(--s3) var(--page-x);
    gap: var(--s5);
    min-height: 68px;
  }
  .dk-header__right { max-width: none; }
  .dk-logo__text { font-size: 24px; }
  .dk-header__search-wrap { max-width: none; flex: 1 1 auto; }
  .dk-search { height: 48px; }
  .dk-search__btn { width: 40px; height: 40px; }
  .dk-nav__inner { height: 48px; }
  .dk-nav__cats { font-size: 13px; }
  .dk-nav__links a { font-size: 13px; padding: 0 var(--s3); }

  .hero { padding: var(--s5) var(--page-x) 0; margin-top: 0; }
  .hero-slider {
    aspect-ratio: 2.4 / 1;
    border-radius: var(--radius-xl);
  }
  .hero-overlay h2 { font-size: 28px; font-weight: 600; }
  .hero-overlay p { font-size: 15px; }
  .hero-btn { min-height: 48px; }
  .hero-nav { display: grid; }

  .home-block {
    margin: var(--s7) auto;
    padding: var(--s2) var(--page-x);
  }
  .block-head h2 { font-size: 22px; }
  .block-head { margin-bottom: var(--s6); }

  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .cat-card { padding: 0; }
  .cat-label { font-size: 15px; }
  .cat-page-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s5);
    padding: var(--s2) var(--page-x) var(--s8);
  }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .pcard-title { font-size: 14px; }
  .price-current { font-size: 15px; }
  .product-card:hover { box-shadow: var(--shadow-md); }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 var(--page-x);
    gap: var(--s4);
  }
  .ig-grid { grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .reviews-scroll { margin: 0; padding-inline: 0; }
  .review-card { flex: 0 0 300px; }

  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: var(--s5);
    padding: 0 var(--page-x) var(--s8);
  }
  .shop-sidebar {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--s5);
    height: fit-content;
    position: sticky;
    top: 130px;
    box-shadow: var(--shadow-sm);
  }

  .product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: min(calc(100% - 2 * var(--page-x)), var(--max));
    margin-inline: auto;
    margin-block: var(--s5);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding-bottom: 0;
    box-shadow: var(--shadow-sm);
  }
  .product-gallery { border-radius: 0; width: 100%; min-width: 0; }
  .product-info { padding: var(--s7); min-width: 0; width: 100%; }
  .product-info h1 { font-size: 22px; font-weight: 600; }
  .product-tabs,
  .share-row {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .tab-btns { width: 100%; }

  .dk-footer__features {
    grid-template-columns: repeat(4, 1fr);
    padding: var(--s8) var(--page-x);
  }
  .dk-footer__main {
    grid-template-columns: repeat(4, 1fr);
    padding: var(--s8) var(--page-x);
    gap: var(--s6);
  }
  .dk-footer__contact { grid-column: auto; }

  .page-head { padding: var(--s7) var(--page-x) var(--s3); }
  .section { padding: var(--s5) var(--s6); margin: var(--s5) auto; border-radius: var(--radius-lg); }
  .content-page { margin: var(--s5) auto; padding: var(--s7); border-radius: var(--radius-xl); }
  .auth-card { margin: var(--s7) auto; border-radius: var(--radius-xl); }
}

/* ========== 820+ ========== */
@media (min-width: 820px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-slider { aspect-ratio: 2.6 / 1; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 1024+ ========== */
@media (min-width: 1024px) {
  :root { --max: 1280px; }
  .dk-header__search-wrap { max-width: none; }
  .product-grid { gap: var(--s5); }
  .hero-overlay { padding: var(--s8); }
  .hero-overlay h2 { font-size: 34px; }
  .hero-overlay p { font-size: 16px; max-width: 420px; }
  .home-block { padding: var(--s3) var(--page-x); }
  .cat-page-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 1280+ ========== */
@media (min-width: 1280px) {
  :root { --max: 1360px; }
  .dk-header__search-wrap { max-width: none; }
  .hero-slider { aspect-ratio: 2.8 / 1; }
}

/* ========== 1440+ ========== */
@media (min-width: 1440px) {
  :root { --max: 1440px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
