/* ==========================================================
   itooth — full stylesheet
   ========================================================== */

:root {
  /* brand */
  --brand: #2D8F5F;
  --brand-deep: #1B6A44;
  --brand-soft: #C7E6D3;
  --brand-pale: #F1F8F4;
  --brand-ink: #0E3A26;

  /* neutrals */
  --ink: #0E1512;
  --ink-2: #3B4641;
  --ink-3: #6C7772;
  --line: #E6EAE7;
  --bg: #FFFFFF;
  --bg-alt: #F6F9F7;

  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* type */
  --font-ar: "Cairo", "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-en: "Instrument Sans", "Inter", system-ui, sans-serif;
  --font-display: "Fraunces", "Instrument Serif", Georgia, serif;
  --font-display-ar: "Cairo", "Tajawal", system-ui, sans-serif;
}

/* In RTL contexts, override the display serif to a refined sans for Arabic readability */
body[dir="rtl"] .section-title,
body[dir="rtl"] .hero__title,
body[dir="rtl"] .bundle__title,
body[dir="rtl"] .page-title,
body[dir="rtl"] .pd__name,
body[dir="rtl"] .auth-title,
body[dir="rtl"] .post__body h3,
body[dir="rtl"] .blog-post__title,
body[dir="rtl"] .checkout h3,
body[dir="rtl"] .checkout__success h4,
body[dir="rtl"] .nav__brand-text {
  font-family: var(--font-display-ar);
  font-weight: 700;
  letter-spacing: -0.01em;
}
body[dir="rtl"] {
  font-feature-settings: "kern" 1, "calt" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; max-width: 100%; }
body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body[dir="rtl"] { font-family: var(--font-ar); }

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

/* ============ layout container ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--bg-alt); border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f0f0f0; }
.btn--ok { background: var(--brand-deep) !important; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--md { padding: 12px 22px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }

/* ============ section framing ============ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.eyebrow--center { justify-content: center; display: flex; }
.eyebrow--light { color: #fff; opacity: 0.85; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -0.02em; }
.section-title--center { text-align: center; }
.section-sub { color: var(--ink-3); font-size: 17px; max-width: 520px; margin: 0; }

/* ============ Announcement ============ */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 10px 20px; overflow: hidden; position: relative; }
.announce__msg { display: inline-block; animation: slidein 0.4s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; padding: 16px 28px; max-width: 1280px; margin: 0 auto; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav__brand-text sup { font-size: 10px; color: var(--brand); margin-left: 2px; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; }
.nav__links a { color: var(--ink-2); font-weight: 500; position: relative; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__lang { padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); }
.nav__lang:hover { background: var(--bg-alt); }
.nav__icon { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.nav__icon:hover { background: var(--bg-alt); color: var(--ink); }
.nav__cart { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); position: relative; }
.nav__cart:hover { background: var(--bg-alt); color: var(--ink); }
.nav__cart-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
[dir="rtl"] .nav__cart-badge { right: auto; left: 2px; }

/* ============ Hero ============ */
.hero { position: relative; padding: 60px 0 0; overflow: hidden; }
.hero--medical { background: var(--bg); }
.hero--natural { background: linear-gradient(180deg, var(--brand-pale) 0%, #fff 80%); }
.hero--youthful { background: var(--ink); color: #fff; }
.hero--youthful .section-sub, .hero--youthful .hero__stat, .hero--youthful .hero__eyebrow { color: rgba(255,255,255,.75); }
.hero--youthful .hero__eyebrow-dot { background: var(--brand); }

.hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; min-height: 72vh; }
.hero__copy { max-width: 580px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--brand-deep); text-transform: uppercase; letter-spacing: 0.14em; padding: 8px 14px; border-radius: 999px; background: var(--brand-pale); }
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--brand); } 50% { box-shadow: 0 0 0 8px transparent; } }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.03em; margin: 28px 0; }
.hero__title-line { display: block; }
.hero__title-line--accent { font-style: italic; color: var(--brand-deep); }
.hero--youthful .hero__title-line--accent { color: var(--brand); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 32px; }
.hero--youthful .hero__stats { border-color: rgba(255,255,255,0.15); }
.hero__stat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hero__stat svg { color: var(--brand); flex: 0 0 auto; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual */
.hero__visual { position: relative; height: 600px; }
.hero-visual { position: relative; width: 100%; height: 100%; }
.hero-visual__bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-visual__tooth { width: 80%; height: 100%; opacity: 1; }
.hero-visual__dots { position: absolute; inset: 0; pointer-events: none; }
.hero-visual__dots span { position: absolute; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); opacity: 0.25; top: calc((var(--i) * 17%) - (var(--i) * 2%)); left: calc((var(--i) * 13%) - (var(--i) * 1%)); animation: float 6s infinite ease-in-out; animation-delay: calc(var(--i) * 0.2s); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-visual__card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: 0 20px 50px rgba(14, 58, 38, 0.15); padding: 14px; }
.hero-visual__card--1 { top: 8%; right: 5%; width: 190px; height: 250px; overflow: hidden; padding: 0; transform: rotate(4deg); animation: cardfloat 8s infinite ease-in-out; }
.hero-visual__card--1 img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual__card--2 { bottom: 12%; left: 0; display: flex; align-items: center; gap: 12px; transform: rotate(-3deg); animation: cardfloat 9s infinite ease-in-out reverse; }
.hero-visual__card--3 { bottom: 0; right: 18%; padding: 14px 18px; transform: rotate(2deg); animation: cardfloat 7s infinite ease-in-out; }
.hero-visual__card-icon { width: 36px; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hero-visual__card-k { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1; }
.hero-visual__card-v { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hero-visual__card-stars { color: #F5B301; font-size: 14px; letter-spacing: 2px; }
@keyframes cardfloat { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
[dir="rtl"] .hero-visual__card--1 { right: auto; left: 5%; }
[dir="rtl"] .hero-visual__card--2 { left: auto; right: 0; }
[dir="rtl"] .hero-visual__card--3 { right: auto; left: 18%; }

.hero__marquee { margin-top: 60px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-alt); }
.hero--youthful .hero__marquee { background: #1a1a1a; border-color: rgba(255,255,255,0.1); }
.hero__marquee-track { display: flex; gap: 40px; animation: marquee 40s linear infinite; width: max-content; }
.hero__marquee-group { display: flex; gap: 40px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero--youthful .hero__marquee-group { color: rgba(255,255,255,0.7); }
@keyframes marquee { to { transform: translateX(-33.333%); } }
[dir="rtl"] .hero__marquee-track { animation-direction: reverse; }

/* ============ Shop ============ */
.shop { max-width: 1280px; margin: 0 auto; padding: 120px 28px; }
.shop__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pill { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--bg-alt); border: 1px solid transparent; transition: all .15s; }
.cat-pill:hover { border-color: var(--line); }
.cat-pill.is-active { background: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14, 58, 38, 0.08); border-color: var(--brand-soft); }
.pcard__media { position: relative; aspect-ratio: 1; background: var(--bg-alt); overflow: hidden; }
.pcard__photo { width: 100%; height: 100%; object-fit: cover; }
.pill-illus { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pill-illus__svg { width: 75%; height: 75%; }

.pcard__badge { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
[dir="rtl"] .pcard__badge { left: auto; right: 14px; }
.pcard__badge--brand { background: var(--brand); color: #fff; }
.pcard__badge--dark { background: var(--ink); color: #fff; }

.pcard__quickadd { position: absolute; bottom: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); opacity: 0; transform: translateY(6px); transition: all .2s; }
[dir="rtl"] .pcard__quickadd { right: auto; left: 14px; }
.pcard:hover .pcard__quickadd { opacity: 1; transform: none; }
.pcard__quickadd:hover { background: var(--brand); color: #fff; }

.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__name { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.pcard__desc { font-size: 13px; color: var(--ink-3); line-height: 1.45; margin: 0; flex: 1; }
.pcard__variants { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vchip { padding: 5px 10px; border-radius: 999px; font-size: 11px; color: var(--ink-2); background: var(--bg-alt); border: 1px solid transparent; }
.vchip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard__price-now { font-weight: 700; font-size: 15px; }
.pcard__price-old { color: var(--ink-3); font-size: 13px; text-decoration: line-through; margin-inline-start: 6px; }

/* ============ About ============ */
.about { background: var(--brand-pale); padding: 120px 0; }
.about__grid { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; aspect-ratio: 1; }
.about__photo-stack { position: relative; width: 100%; height: 100%; }
.about__photo-bg { position: absolute; inset: 10% 10%; background: var(--brand); border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%; opacity: 0.15; }
.about__photo { position: absolute; width: 44%; aspect-ratio: 3/4; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; box-shadow: 0 20px 40px rgba(14, 58, 38, 0.2); }
.about__photo--0 { top: 5%; left: 5%; transform: rotate(-4deg); background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.about__photo--1 { top: 15%; left: 30%; transform: rotate(2deg); background: linear-gradient(135deg, #333, #111); z-index: 2; }
.about__photo--2 { top: 30%; left: 52%; transform: rotate(-2deg); background: linear-gradient(135deg, var(--brand), var(--brand-soft)); color: var(--ink); }
[dir="rtl"] .about__photo--0 { left: auto; right: 5%; }
[dir="rtl"] .about__photo--1 { left: auto; right: 30%; }
[dir="rtl"] .about__photo--2 { left: auto; right: 52%; }
.about__photo-initials { font-family: var(--font-display); font-size: 44px; font-weight: 400; letter-spacing: -0.03em; }
.about__photo-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.7; }
.about__body { font-size: 17px; color: var(--ink-2); line-height: 1.65; margin: 20px 0 28px; }
.about__founders { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about__founders li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(14, 58, 38, 0.1); font-size: 15px; }
.about__founders li span { color: var(--ink-3); font-size: 14px; }
.about__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about__metrics div { display: flex; flex-direction: column; }
.about__metrics b { font-family: var(--font-display); font-size: 40px; font-weight: 400; color: var(--brand-deep); line-height: 1; letter-spacing: -0.03em; }
.about__metrics span { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ============ Routine ============ */
.routine { max-width: 1280px; margin: 0 auto; padding: 120px 28px; text-align: center; }
.routine__timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; position: relative; }
.routine__step { position: relative; padding: 0 14px; text-align: center; }
.routine__num { font-family: var(--font-display); font-size: 48px; color: var(--brand); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.routine__body h4 { font-size: 16px; margin: 0 0 6px; font-weight: 600; }
.routine__body p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.5; }
.routine__line { position: absolute; top: 18px; right: -14px; left: 100%; width: 28px; border-top: 2px dashed var(--brand-soft); }
[dir="rtl"] .routine__line { right: 100%; left: -14px; }
@media (max-width: 760px) { .routine__timeline { grid-template-columns: 1fr; gap: 24px; } .routine__line { display: none; } }

/* ============ Bundle ============ */
.bundle { background: var(--ink); color: #fff; padding: 100px 0; overflow: hidden; }
.bundle__inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bundle__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin: 10px 0 20px; letter-spacing: -0.02em; }
.bundle__sub { font-size: 17px; color: rgba(255,255,255,0.7); margin: 0 0 28px; max-width: 440px; }
.bundle__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.bundle__price-now { font-family: var(--font-display); font-size: 44px; font-weight: 400; color: #fff; }
.bundle__price-old { color: rgba(255,255,255,0.4); text-decoration: line-through; font-size: 18px; }
.bundle__save { background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.bundle__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bundle__item { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); }
.bundle__item--0 { transform: rotate(-2deg); }
.bundle__item--1 { transform: rotate(2deg); margin-top: 20px; }
.bundle__item--2 { transform: rotate(2deg); margin-top: -20px; }
.bundle__item--3 { transform: rotate(-2deg); }
.bundle__item img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Blog ============ */
.blog { max-width: 1280px; margin: 0 auto; padding: 120px 28px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog__grid { grid-template-columns: 1fr; } }
.post { border-radius: var(--r-lg); overflow: hidden; transition: transform .25s; cursor: pointer; }
.post:hover { transform: translateY(-4px); }
.post__cover { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.post__cover-svg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.post__cover-art { width: 100%; height: 100%; }
.post__tag { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
[dir="rtl"] .post__tag { left: auto; right: 16px; }
.post__body { padding: 20px 4px; }
.post__body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
.post__body p { color: var(--ink-3); font-size: 14px; margin: 0 0 14px; line-height: 1.55; }
.post__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }

/* ============ Newsletter ============ */
.newsletter { background: var(--brand); color: #fff; padding: 80px 0; }
.newsletter__inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.newsletter__copy h2 { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 44px); font-weight: 400; line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
.newsletter__copy p { margin: 0; opacity: 0.85; font-size: 16px; }
.newsletter__form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; }
.newsletter__form input { flex: 1; border: 0; outline: 0; padding: 0 18px; font-size: 15px; font-family: inherit; color: var(--ink); background: transparent; }
.newsletter__form .btn--primary { background: var(--ink); }
.newsletter__form .btn--primary:hover { background: #000; }
@media (max-width: 760px) { .newsletter__inner { grid-template-columns: 1fr; } }

/* ============ Footer ============ */
.footer {
  background: linear-gradient(180deg, #0e1512 0%, #050807 100%);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 24px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--brand) 70%, transparent);
  opacity: 0.4;
}
.footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer__brand p { max-width: 340px; line-height: 1.7; font-size: 14px; color: rgba(255,255,255,0.6); margin: 0 0 18px; }
.footer__logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 26px; margin-bottom: 18px; letter-spacing: -0.02em; }
.footer__logo sup { font-size: 10px; color: var(--brand); }
.footer__pay {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 143, 95, 0.12);
  border: 1px solid rgba(45, 143, 95, 0.3);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-soft);
  letter-spacing: 0.04em;
}
.footer__col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 12px;
}
.footer__col h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all .2s;
  display: inline-block;
}
.footer__col li a:hover { color: var(--brand-soft); transform: translateX(-4px); }
[dir="rtl"] .footer__col li a:hover { transform: translateX(4px); }
.footer__bottom {
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) {
  .footer { padding: 60px 0 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding: 0 22px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 0 20px; }
  .footer__logo { font-size: 22px; }
  .footer__col h4 { font-size: 12px; margin-bottom: 14px; }
  .footer__col li a { font-size: 13px; }
  .footer__bottom { padding: 20px 20px 0; font-size: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============ Cart drawer ============ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: clamp(300px, 78vw, 420px);
  background: #fff;
  z-index: 51;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -28px 0 60px rgba(14, 58, 38, 0.22);
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}
[dir="rtl"] .cart { right: auto; left: 0; transform: translateX(-105%); border-radius: 0 20px 20px 0; }
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart__head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.cart__count { color: var(--ink-3); font-size: 15px; font-family: var(--font-en); }
.cart__close { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cart__close:hover { background: var(--bg-alt); }
.cart__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart__empty { text-align: center; padding: 60px 0; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.cart-item__media { width: 80px; height: 80px; border-radius: var(--r-md); overflow: hidden; background: var(--bg-alt); flex: 0 0 auto; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item__body h4 { margin: 0; font-size: 14px; font-weight: 600; padding-right: 20px; }
.cart-item__variant { font-size: 12px; color: var(--ink-3); }
.cart-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item__price { font-weight: 600; font-size: 14px; }
.cart-item__remove { position: absolute; top: 16px; right: 0; width: 24px; height: 24px; border-radius: 999px; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; }
[dir="rtl"] .cart-item__remove { right: auto; left: 0; }
.cart-item__remove:hover { background: var(--bg-alt); color: var(--ink); }
.qtyctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qtyctrl button { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.qtyctrl span { padding: 0 10px; font-size: 13px; font-weight: 600; min-width: 24px; text-align: center; }
.cart__foot { border-top: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.cart__subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.cart__subtotal strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.cart__continue { text-align: center; font-size: 13px; color: var(--ink-3); padding: 8px; }
.cart__continue:hover { color: var(--ink); }

/* ============ Tweaks panel ============ */
.tweaks { position: fixed; bottom: 20px; right: 20px; z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.15); padding: 18px; width: 280px; font-family: var(--font-en); font-size: 13px; }
[dir="rtl"] .tweaks { right: auto; left: 20px; }
.tweaks h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }
.tweaks__group { margin-bottom: 16px; }
.tweaks__label { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; display: block; }
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__swatch { width: 28px; height: 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.tweaks__swatch.is-active { border-color: var(--ink); }
.tweaks__btn { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); font-size: 12px; font-weight: 500; border: 1px solid transparent; }
.tweaks__btn.is-active { background: var(--ink); color: #fff; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding: 40px 28px 0; }
  .hero__visual { height: 380px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .bundle__inner { grid-template-columns: 1fr; gap: 40px; }
  .nav__links { display: none; }
}

/* ============ Cart fly animation + effects ============ */
.fly-ghost {
  position: fixed; z-index: 999; pointer-events: none;
  width: 80px; height: 80px; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s cubic-bezier(.55, -0.1, .5, 1.4), opacity 0.25s ease, width 0.9s ease, height 0.9s ease;
}
.fly-ghost img, .fly-ghost svg { width: 100%; height: 100%; object-fit: cover; }

@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-8deg); }
  80% { transform: scale(0.92) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
.nav__cart.is-bumping { animation: cart-bump .5s ease; }

@keyframes badge-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.nav__cart-badge.is-pop { animation: badge-pop .4s ease; }

/* toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
  opacity: 0; transition: all .3s ease; z-index: 80;
  display: flex; align-items: center; gap: 10px;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--brand); }

/* ============ Dynamic product sliders ============ */
.pslider { max-width: 1280px; margin: 0 auto; padding: 100px 28px; }
.pslider__track-wrap { position: relative; overflow: hidden; }
.pslider__track {
  display: flex; gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 24px;
  scroll-behavior: smooth;
}
.pslider__track::-webkit-scrollbar { display: none; }
.pslider__track > .pcard {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 240px;
}
@media (max-width: 1024px) { .pslider__track > .pcard { flex: 0 0 calc((100% - 48px) / 3); } }
@media (max-width: 760px) { .pslider__track > .pcard { flex: 0 0 calc((100% - 24px) / 2); } }
.pslider__arrows {
  display: flex; gap: 10px;
}
.pslider__arrow {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all .15s;
}
.pslider__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pslider__arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.pslider--dark { background: var(--ink); color: #fff; max-width: none; padding: 100px 0; }
.pslider--dark .container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.pslider--dark .section-title, .pslider--dark .eyebrow { color: #fff; }
.pslider--dark .eyebrow { opacity: 0.8; }
.pslider--dark .section-sub { color: rgba(255,255,255,0.7); }
.pslider--dark .pslider__arrow { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.pslider--dark .pslider__arrow:hover { background: var(--brand); border-color: var(--brand); }
.pslider--dark .pcard { background: #fff; color: var(--ink); }

/* ============ Checkout modal ============ */
.checkout-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.checkout-overlay.is-open { opacity: 1; pointer-events: auto; }
.checkout {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  width: min(480px, 92vw); max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform .3s;
}
.checkout-overlay.is-open .checkout { transform: translateY(0); }
.checkout h3 { margin: 0 0 20px; font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.checkout__field { margin-bottom: 14px; }
.checkout__field label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.checkout__field input, .checkout__field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.checkout__field input:focus, .checkout__field textarea:focus { border-color: var(--brand); }
.checkout__total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; margin-top: 10px; }
.checkout__actions { display: flex; gap: 10px; margin-top: 18px; }
.checkout__success { text-align: center; padding: 20px 0; }
.checkout__success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-pale); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.checkout__success h4 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; font-weight: 400; }
.checkout__success p { color: var(--ink-3); margin: 0 0 20px; }

/* cart item flash when added */
@keyframes cart-item-in {
  from { background: var(--brand-pale); transform: translateX(-20px); opacity: 0; }
  to { background: transparent; transform: translateX(0); opacity: 1; }
}
[dir="rtl"] @keyframes cart-item-in {
  from { background: var(--brand-pale); transform: translateX(20px); opacity: 0; }
  to { background: transparent; transform: translateX(0); opacity: 1; }
}
.cart-item.is-new { animation: cart-item-in .5s ease; }

/* tiny ripple feedback for buttons */
.btn, .cat-pill, .vchip, .pcard__quickadd, .nav__cart, .qtyctrl button {
  position: relative; overflow: hidden;
}
.ripple-pop {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5);
  pointer-events: none; transform: scale(0); animation: ripple 0.5s ease-out;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* whatsapp floating */
.whatsapp-fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform .2s;
}
[dir="rtl"] .whatsapp-fab { left: auto; right: 24px; }
.whatsapp-fab:hover { transform: scale(1.1); }

/* loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 0%, #edf2ee 50%, var(--bg-alt) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.skeleton--card { height: 380px; }

/* sound toggle */
.sound-toggle {
  position: fixed; bottom: 24px; right: 90px; z-index: 70;
  width: 44px; height: 44px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  color: var(--ink-2); transition: all .15s;
}
[dir="rtl"] .sound-toggle { right: auto; left: 90px; }
.sound-toggle:hover { color: var(--ink); border-color: var(--ink); }
.sound-toggle.is-off { color: var(--ink-3); }


/* ============ Better logo ============ */
.nav__brand { position: relative; transition: transform .2s; }
.nav__brand:hover { transform: translateY(-1px); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-pale), #fff);
  border: 1.5px solid var(--brand-soft);
  transition: all .2s;
}
.brand-mark--img { padding: 0; border: 0; background: transparent; overflow: hidden; }
.brand-mark--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.nav__brand:hover .brand-mark { border-color: var(--brand); transform: rotate(-4deg); }
.nav__brand-text { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.nav__brand-text sup { font-size: 10px; color: var(--brand); font-weight: 600; font-family: var(--font-en); }

/* footer logo polish */
.footer__logo .brand-mark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }

/* ============ Product card polish ============ */
.pcard__rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-3); margin: 0;
}
.pcard__rating-stars { color: #F5B301; font-size: 13px; letter-spacing: 1px; }
.pcard__quickadd {
  opacity: 0; transform: translateY(10px) scale(0.9);
  transition: all .25s cubic-bezier(.2,.9,.3,1.3);
}
.pcard:hover .pcard__quickadd { opacity: 1; transform: none; }
.pcard__quickview {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); backdrop-filter: blur(8px);
  opacity: 0; transform: translateX(-10px); transition: all .25s;
}
[dir="rtl"] .pcard__quickview { right: auto; left: 14px; transform: translateX(10px); }
.pcard:hover .pcard__quickview { opacity: 1; transform: none; }
.pcard__quickview:hover { background: var(--brand); color: #fff; }

/* entrance reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Product detail modal ============ */
.pd-overlay {
  position: fixed; inset: 0; background: rgba(14, 21, 18, 0.55);
  backdrop-filter: blur(6px);
  z-index: 70; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.pd-overlay.is-open { opacity: 1; pointer-events: auto; }
.pd {
  width: 100%; max-width: 1100px; background: #fff;
  border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(30px) scale(0.98); transition: transform .35s cubic-bezier(.2,.8,.2,1.05);
  animation: none;
}
.pd-overlay.is-open .pd { transform: none; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }

.pd__close {
  position: absolute; top: 18px; inset-inline-end: 18px; z-index: 3;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1); backdrop-filter: blur(8px);
}
.pd__close:hover { background: var(--ink); color: #fff; }

.pd__gallery {
  position: relative; background: var(--bg-alt);
  min-height: 480px; display: flex; flex-direction: column;
}
.pd__main {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 30px; min-height: 380px;
}
.pd__main img, .pd__main .pill-illus {
  max-width: 100%; max-height: 420px; width: auto; height: auto; border-radius: var(--r-md);
}
.pd__main .pill-illus { width: 100%; height: 100%; aspect-ratio: 1; }
.pd__badge-top {
  position: absolute; top: 24px; inset-inline-start: 24px;
  padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 2;
}
.pd__thumbs { display: flex; gap: 10px; padding: 16px 24px 24px; overflow-x: auto; }
.pd__thumbs::-webkit-scrollbar { display: none; }
.pd__thumb {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px;
  border: 2px solid transparent; overflow: hidden; cursor: pointer;
  background: #fff;
}
.pd__thumb img, .pd__thumb .pill-illus { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb.is-active { border-color: var(--brand); }

.pd__info { padding: 40px 42px; overflow-y: auto; max-height: 90vh; position: relative; }
.pd__cat {
  display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-deep); background: var(--brand-pale); padding: 4px 10px; border-radius: 999px; font-weight: 600;
  margin-bottom: 14px;
}
.pd__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.pd__rating { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 14px; margin-bottom: 16px; }
.pd__stars { color: #F5B301; font-size: 15px; letter-spacing: 2px; }
.pd__rating-sku { color: var(--ink-3); font-size: 12px; }
.pd__prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.pd__price-now { font-family: var(--font-display); font-size: 38px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.pd__price-old { color: var(--ink-3); text-decoration: line-through; font-size: 18px; }
.pd__save { background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }

.pd__desc { color: var(--ink-2); line-height: 1.7; font-size: 15px; margin: 0 0 22px; }

.pd__block { margin-bottom: 20px; }
.pd__block h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); margin: 0 0 10px; font-weight: 600;
}
.pd__variants { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__variant {
  padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all .15s;
}
.pd__variant:hover { border-color: var(--ink-2); color: var(--ink); }
.pd__variant.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.pd__qty { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.pd__qty .qtyctrl { border: 1.5px solid var(--line); }
.pd__qty .qtyctrl button { width: 38px; height: 38px; }
.pd__qty .qtyctrl span { padding: 0 14px; font-size: 15px; }
.pd__stock {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand-deep);
  padding: 4px 10px; background: var(--brand-pale); border-radius: 999px;
}
.pd__stock-dot { width: 7px; height: 7px; background: var(--brand); border-radius: 999px; }

.pd__actions { display: flex; gap: 10px; margin-top: 26px; }
.pd__actions .btn { flex: 1; justify-content: center; }

.pd__tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--line);
  margin: 28px 0 18px;
}
.pd__tab {
  padding: 12px 4px; margin-inline-end: 26px;
  font-size: 14px; color: var(--ink-3); font-weight: 600;
  border-bottom: 2px solid transparent; transition: color .15s;
}
.pd__tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }

.pd__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.pd__features li::before {
  content: ''; flex: 0 0 auto; margin-top: 6px; width: 16px; height: 16px; border-radius: 999px;
  background: var(--brand-pale); border: 2px solid var(--brand);
  display: inline-block; position: relative;
}
.pd__tab-content { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

.pd__reviews { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pd__review { padding: 14px; background: var(--bg-alt); border-radius: var(--r-md); border: 1px solid var(--line); }
.pd__review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.pd__review-head b { font-weight: 600; color: var(--ink); }
.pd__review-stars { color: #F5B301; font-size: 13px; letter-spacing: 1px; }
.pd__review-body { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.pd__review-form { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.pd__review-form input, .pd__review-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; margin-bottom: 10px; outline: none; background: #fff;
}
.pd__star-pick { display: flex; gap: 4px; font-size: 22px; color: #ddd; margin-bottom: 10px; cursor: pointer; }
.pd__star-pick span { cursor: pointer; transition: color .1s; }
.pd__star-pick span.is-on, .pd__star-pick:hover span { color: #F5B301; }
.pd__star-pick span:hover ~ span { color: #ddd; }

/* toast polish */
.toast { gap: 10px; padding: 14px 22px; background: var(--ink); font-weight: 500; }
.toast__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px;
}
.toast--err .toast__icon { background: #D64545; }

/* scroll reveal on products */
.product-grid .pcard { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.product-grid.is-ready .pcard { opacity: 1; transform: none; }
.product-grid.is-ready .pcard:nth-child(1) { transition-delay: .02s; }
.product-grid.is-ready .pcard:nth-child(2) { transition-delay: .06s; }
.product-grid.is-ready .pcard:nth-child(3) { transition-delay: .10s; }
.product-grid.is-ready .pcard:nth-child(4) { transition-delay: .14s; }
.product-grid.is-ready .pcard:nth-child(5) { transition-delay: .18s; }
.product-grid.is-ready .pcard:nth-child(6) { transition-delay: .22s; }
.product-grid.is-ready .pcard:nth-child(7) { transition-delay: .26s; }
.product-grid.is-ready .pcard:nth-child(8) { transition-delay: .30s; }

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,0.4); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-box {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-20px);
  width: 92%; max-width: 620px; background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2); z-index: 56;
  opacity: 0; pointer-events: none; transition: all .25s;
}
.search-overlay.is-open ~ .search-box, .search-box.is-open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.search-input {
  width: 100%; padding: 20px 24px; border: 0; outline: 0; font-size: 17px;
  font-family: inherit; border-bottom: 1px solid var(--line); background: transparent;
}
.search-results { max-height: 50vh; overflow-y: auto; padding: 6px; }
.search-result {
  display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; cursor: pointer;
}
.search-result:hover { background: var(--bg-alt); }
.search-result__img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; background: var(--bg-alt); }
.search-result__name { flex: 1; font-weight: 500; }
.search-result__price { color: var(--brand-deep); font-weight: 600; font-size: 14px; }
.search-empty { padding: 40px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* back-to-top */
.top-fab {
  position: fixed; bottom: 92px; right: 24px; z-index: 70;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: all .25s;
}
[dir="rtl"] .top-fab { right: auto; left: 24px; }
.top-fab.is-show { opacity: 1; pointer-events: auto; transform: none; }
.top-fab:hover { background: var(--brand); }

/* sort menu */
.sort {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2);
}
.sort select {
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-family: inherit; font-size: 13px; outline: none; cursor: pointer;
  color: var(--ink);
}


/* ==========================================================
   RESPONSIVE: Mobile-first overrides
   ========================================================== */

/* burger button defaults hidden on desktop */
.nav__burger {
  display: none;
  width: 40px; height: 40px; border-radius: 999px;
  align-items: center; justify-content: center;
  color: var(--ink-2);
}
.nav__burger:hover { background: var(--bg-alt); color: var(--ink); }

/* mobile menu — completely hidden on desktop */
.mmenu-overlay, .mmenu { display: none; }

@media (max-width: 900px) {
  .mmenu-overlay {
    display: block;
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
    z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  .mmenu-overlay.is-open { opacity: 1; pointer-events: auto; }
  .mmenu {
    display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0;
    inset-inline-start: 0;
    width: min(320px, 88vw); background: #fff; z-index: 91;
    transform: translateX(-110%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: 10px 0 40px rgba(0,0,0,0.12);
  }
  [dir="rtl"] .mmenu { transform: translateX(110%); }
  .mmenu.is-open { transform: none; }
}
.mmenu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px; border-bottom: 1px solid var(--line);
}
.mmenu__links { display: flex; flex-direction: column; padding: 8px; gap: 2px; flex: 1; overflow-y: auto; }
.mmenu__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 16px; font-weight: 500;
  color: var(--ink-2); border-radius: 12px; transition: all .15s;
}
.mmenu__links a:hover { background: var(--bg-alt); color: var(--ink); }
.mmenu__links a svg { opacity: 0.4; }
.mmenu__actions { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); }

/* ============ <= 1024px ============ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .shop, .routine, .blog, .pslider { padding: 80px 20px; }
  .pslider--dark { padding: 80px 0; }
  .pslider--dark .container { padding: 0 20px; }
  .about, .bundle { padding: 80px 0; }
  .about__grid, .bundle__inner { padding: 0 20px; }
}

/* ============ <= 900px ============ */
@media (max-width: 900px) {
  /* NAV */
  .nav__inner { padding: 12px 18px; gap: 10px; }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__brand { margin-inline-end: auto; }
  .nav__brand-text { font-size: 20px; }
  .nav__actions { gap: 4px; }

  /* HERO */
  .hero { padding: 20px 0 0; overflow: hidden; }
  .hero__inner {
    grid-template-columns: 1fr; gap: 20px;
    padding: 10px 20px 0; min-height: auto;
  }
  .hero__title { font-size: clamp(36px, 9vw, 52px); margin: 16px 0; }
  .hero__eyebrow { font-size: 11px; padding: 6px 12px; }
  .hero__stats { padding: 16px 0; margin: 16px 0 22px; gap: 14px; }
  .hero__stat { font-size: 13px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Hero visual — scale down, keep cards inside */
  .hero__visual {
    height: 300px; order: -1;
    max-width: 100%; overflow: hidden;
    position: relative;
  }
  .hero-visual { max-width: 100%; }
  .hero-visual__tooth { width: 70%; max-height: 260px; }
  .hero-visual__card { padding: 10px; }
  .hero-visual__card--1 { width: 120px; height: 160px; top: 4%; right: 2%; }
  [dir="rtl"] .hero-visual__card--1 { right: auto; left: 2%; }
  .hero-visual__card--2 { bottom: 6%; left: 2%; gap: 8px; max-width: 140px; }
  [dir="rtl"] .hero-visual__card--2 { left: auto; right: 2%; }
  .hero-visual__card--3 { bottom: -2%; right: 16%; padding: 8px 12px; }
  [dir="rtl"] .hero-visual__card--3 { right: auto; left: 16%; }
  .hero-visual__card-icon { width: 28px; height: 28px; }
  .hero-visual__card-k { font-size: 16px; }
  .hero-visual__card-v { font-size: 10px; }

  .hero__marquee { margin-top: 30px; max-width: 100%; overflow: hidden; }

  /* ABOUT */
  .about { padding: 70px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .about__media { aspect-ratio: 4/3; max-width: 380px; margin: 0 auto; }

  /* BUNDLE */
  .bundle { padding: 60px 0; }
  .bundle__inner { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
  .bundle__title { font-size: clamp(28px, 7vw, 40px); margin: 6px 0 14px; }
  .bundle__sub { font-size: 15px; margin-bottom: 20px; }
  .bundle__price-now { font-size: 32px; }
  .bundle__items { gap: 12px; }

  /* NEWSLETTER */
  .newsletter { padding: 60px 0; }
  .newsletter__inner { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; }
  .newsletter__copy h2 { font-size: 28px; }
  .newsletter__form { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
  .newsletter__form input {
    background: #fff; padding: 14px 18px; border-radius: 14px; color: var(--ink);
  }
  .newsletter__form .btn { width: 100%; justify-content: center; padding: 14px 22px; }

  /* FOOTER */
  .footer { padding: 60px 0 30px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; padding: 20px 20px 0; margin-top: 30px; }

  /* Sections */
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .section-head { gap: 20px; margin-bottom: 30px; }
  .shop__cats { gap: 6px; }
  .cat-pill { padding: 7px 12px; font-size: 13px; }

  /* Announcement */
  .announce {
    font-size: 12px; padding: 8px 14px;
    white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
  }
}

/* ============ <= 720px ============ */
@media (max-width: 720px) {
  .shop, .routine, .blog, .pslider, .pslider--dark {
    padding-top: 56px; padding-bottom: 56px;
  }
  .nav__inner { padding: 10px 14px; }
  .nav__icon--optional { display: none; }
  .nav__brand-text { font-size: 18px; }
  .brand-mark { width: 32px !important; height: 32px !important; }

  /* HERO */
  .hero__visual { height: 260px; }
  .hero-visual__tooth { max-height: 220px; }
  .hero-visual__card--1 { width: 104px; height: 140px; top: 6%; right: 4%; }
  [dir="rtl"] .hero-visual__card--1 { right: auto; left: 4%; }
  .hero-visual__card--2 { bottom: 10%; left: 4%; max-width: 130px; padding: 8px; }
  [dir="rtl"] .hero-visual__card--2 { left: auto; right: 4%; }
  .hero-visual__card-k { font-size: 14px; }
  .hero-visual__card-v { font-size: 9px; }
  /* hide the 3rd card on small phones to avoid crowding */
  .hero-visual__card--3 { display: none; }

  /* PRODUCT GRID - 2 columns */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pcard__body { padding: 12px 12px 14px; gap: 8px; }
  .pcard__name { font-size: 14px; }
  .pcard__desc { font-size: 12px; -webkit-line-clamp: 2; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; }
  .pcard__variants { display: none; }
  .pcard__price-now { font-size: 14px; }
  .pcard__price-old { font-size: 12px; }
  .pcard__foot { padding-top: 10px; flex-direction: column; align-items: stretch; gap: 8px; }
  .pcard__foot .btn--sm { padding: 8px 12px; font-size: 12px; justify-content: center; }
  .pcard__quickadd { opacity: 1; transform: none; }
  .pcard__quickview { display: none; }
  .pcard__badge { padding: 3px 8px; font-size: 10px; top: 10px; }
  [dir="rtl"] .pcard__badge { left: auto; right: 10px; }

  /* Product slider */
  .pslider__track > .pcard { flex: 0 0 calc((100% - 14px) / 2); min-width: 0; }
  .pslider__arrow { width: 38px; height: 38px; }

  /* ROUTINE */
  .routine__timeline { grid-template-columns: 1fr; gap: 20px; text-align: start; }
  .routine__step { padding: 0 10px; text-align: center; }
  .routine__num { font-size: 38px; margin-bottom: 6px; }
  .routine__line { display: none; }

  /* ABOUT photos */
  .about__photo-initials { font-size: 32px; }
  .about__founders li { flex-direction: column; gap: 2px; align-items: flex-start; padding: 10px 0; }
  .about__metrics { gap: 10px; }
  .about__metrics b { font-size: 30px; }

  /* FOOTER */
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__brand { grid-column: auto; }
  .footer__col h4 { margin-bottom: 12px; }

  /* CART */
  .cart {
    width: clamp(260px, 76vw, 360px) !important;
    border-radius: 18px 0 0 18px !important;
  }
  [dir="rtl"] .cart { border-radius: 0 18px 18px 0 !important; }
  .cart__head { padding: 14px 18px; }
  .cart__head h3 { font-size: 20px; }
  .cart__body { padding: 8px 16px; }
  .cart__foot { padding: 14px 16px 18px; }

  /* CHECKOUT */
  .checkout { padding: 22px; border-radius: 20px; max-width: 96vw; }
  .checkout h3 { font-size: 24px; }

  /* PRODUCT DETAIL MODAL */
  .pd-overlay { padding: 0; align-items: stretch; }
  .pd {
    grid-template-columns: 1fr;
    border-radius: 0; min-height: 100vh; max-width: 100vw;
  }
  .pd__gallery { min-height: auto; }
  .pd__main { min-height: 300px; padding: 20px; }
  .pd__main img { max-height: 300px; }
  .pd__thumbs { padding: 10px 16px 16px; }
  .pd__thumb { flex: 0 0 58px; width: 58px; height: 58px; }
  .pd__info { padding: 24px 20px; max-height: none; }
  .pd__name { font-size: 24px; }
  .pd__price-now { font-size: 30px; }
  .pd__actions { flex-direction: column; }
  .pd__actions .btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .pd__tabs { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 2px; }
  .pd__tab { margin-inline-end: 18px; padding: 10px 2px; font-size: 13px; flex-shrink: 0; }
  .pd__close { top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; }
  .pd__badge-top { top: 16px; inset-inline-start: 16px; padding: 4px 10px; font-size: 10px; }

  /* BLOG */
  .blog__grid { gap: 20px; }
  .post__body { padding: 14px 4px; }
  .post__body h3 { font-size: 18px; }
  .post__body p { font-size: 13px; }

  /* Newsletter */
  .newsletter__copy h2 { font-size: 24px; }

  /* Floating buttons */
  .whatsapp-fab { width: 48px; height: 48px; bottom: 16px; left: 16px; }
  [dir="rtl"] .whatsapp-fab { left: auto; right: 16px; }
  .sound-toggle { width: 38px; height: 38px; bottom: 16px; right: 74px; }
  [dir="rtl"] .sound-toggle { right: auto; left: 74px; }
  .top-fab { width: 38px; height: 38px; bottom: 68px; right: 16px; }
  [dir="rtl"] .top-fab { right: auto; left: 16px; }

  /* Search */
  .search-box { top: 60px; width: 94%; }
  .search-input { padding: 16px 18px; font-size: 15px; }

  /* Toast */
  .toast { padding: 10px 16px; font-size: 13px; bottom: 20px; max-width: 90vw; }

  /* Tweaks panel (if shown) */
  .tweaks { display: none; }

  /* Bundle items */
  .bundle__items { grid-template-columns: repeat(2, 1fr); }
  .bundle__item { aspect-ratio: 1; }

  /* Section sort */
  .sort { flex-wrap: wrap; }
}

/* ============ <= 500px: very small phones ============ */
@media (max-width: 500px) {
  .product-grid { gap: 12px; }
  .pcard__media { aspect-ratio: 1; }
  .shop__cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .shop__cats::-webkit-scrollbar { display: none; }
  .cat-pill { flex: 0 0 auto; white-space: nowrap; }

  .section-title { font-size: clamp(24px, 7.5vw, 32px); }
  .hero__title { font-size: clamp(32px, 10vw, 48px); }

  .about__photo { padding: 12px; }
  .about__photo-initials { font-size: 26px; }
  .about__photo-badge { font-size: 10px; }

  .footer { padding: 44px 0 24px; }
  .footer__inner { gap: 24px; }

  .cart-item__media { width: 64px; height: 64px; }
  .cart-item__body h4 { font-size: 13px; }

  .pd__name { font-size: 22px; }
  .pd__desc { font-size: 14px; }
}

/* Support notches */
@supports (padding: env(safe-area-inset-bottom)) {
  .cart, .pd-overlay .pd { padding-bottom: env(safe-area-inset-bottom); }
  .mmenu { padding-bottom: env(safe-area-inset-bottom); }
  .whatsapp-fab, .sound-toggle, .top-fab {
    margin-bottom: env(safe-area-inset-bottom);
  }
}

/* Improve touch targets for accessibility */
@media (pointer: coarse) {
  .btn--sm { min-height: 36px; }
  .btn--md { min-height: 42px; }
  .btn--lg { min-height: 48px; }
  .vchip, .cat-pill { min-height: 34px; }
}


/* ============ Founder photos with uploaded image ============ */
.about__photo--has-image {
  overflow: hidden;
  padding: 0 !important;
  background: #111 !important;
}
.about__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
}
.about__photo-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 16px 14px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  z-index: 1;
}

/* ============ Blog detail modal ============ */
.bd-overlay {
  position: fixed; inset: 0; background: rgba(14, 21, 18, 0.6);
  backdrop-filter: blur(6px);
  z-index: 70; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.bd-overlay.is-open { opacity: 1; pointer-events: auto; }
.bd {
  width: 100%; max-width: 760px; background: #fff;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(30px) scale(0.98);
  transition: transform .35s cubic-bezier(.2,.8,.2,1.05);
  position: relative;
}
.bd-overlay.is-open .bd { transform: none; }
.bd__close {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12); backdrop-filter: blur(8px);
}
.bd__close:hover { background: var(--ink); color: #fff; }
.bd__cover {
  position: relative; width: 100%; aspect-ratio: 16/7;
  background: var(--brand-pale); overflow: hidden;
}
.bd__cover img, .bd__cover .post__cover-svg {
  width: 100%; height: 100%; object-fit: cover;
}
.bd__cover .post__cover-art { width: 60%; height: 70%; }
.bd__tag {
  position: absolute; top: 18px; inset-inline-start: 18px;
  background: #fff; color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.bd__body { padding: 32px 38px 40px; }
.bd__meta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3); margin-bottom: 14px;
}
.bd__meta svg { opacity: 0.6; }
.bd__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 18px;
}
.bd__excerpt {
  font-size: 17px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 24px; padding: 14px 18px;
  border-inline-start: 3px solid var(--brand); background: var(--brand-pale);
  border-radius: 0 12px 12px 0;
}
[dir="rtl"] .bd__excerpt { border-radius: 12px 0 0 12px; }
.bd__content {
  font-size: 16px; color: var(--ink); line-height: 1.8;
  white-space: pre-wrap;
}
.bd__content p { margin: 0 0 16px; }
.bd__empty {
  color: var(--ink-3); font-size: 14px; padding: 20px 0;
  text-align: center; background: var(--bg-alt); border-radius: 12px;
}

.post { cursor: pointer; }

@media (max-width: 720px) {
  .bd-overlay { padding: 0; align-items: stretch; }
  .bd {
    border-radius: 0; min-height: 100vh; max-width: 100vw;
  }
  .bd__cover { aspect-ratio: 16/9; }
  .bd__body { padding: 22px 20px 30px; }
  .bd__title { font-size: 22px; }
  .bd__excerpt { font-size: 15px; }
  .bd__content { font-size: 15px; }
}


/* ============ Page layout ============ */
.page-wrap { min-height: 60vh; }
.page-head-wrap {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, var(--brand-pale) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-head-wrap .container { padding: 0 28px; }
.page-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 8px 0;
}
.page-sub {
  color: var(--ink-3); font-size: 16px; max-width: 580px; margin: 0;
}

/* Nav active state */
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }

/* ============ Shop filters redesigned ============ */
.shop__filters {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.shop__cats {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
  flex: 1; min-width: 0; scrollbar-width: none;
  padding-bottom: 2px;
}
.shop__cats::-webkit-scrollbar { display: none; }
.shop__cats .cat-pill { flex: 0 0 auto; }
.shop__filters .sort { margin-inline-start: auto; flex-shrink: 0; }
@media (max-width: 720px) {
  .shop__filters { padding: 14px 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .shop__filters .sort { margin-inline-start: 0; }
}

/* ============ Blog list page ============ */
.blog--list { padding-top: 40px; }

/* ============ Blog post page ============ */
.blog-post { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }
.blog-post__cover {
  position: relative; width: 100%; aspect-ratio: 16/8;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden; background: var(--brand-pale);
  margin-bottom: 40px;
}
.blog-post__cover img, .blog-post__cover .post__cover-svg {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-post__body { max-width: 720px; margin: 0 auto; }
.blog-post__meta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3); margin-bottom: 14px;
}
.blog-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-post__tag {
  background: var(--brand-pale); color: var(--brand-deep);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.blog-post__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  letter-spacing: -0.02em; margin: 6px 0 20px;
}
.blog-post__excerpt {
  font-size: 18px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 28px; padding: 16px 20px;
  border-inline-start: 3px solid var(--brand); background: var(--brand-pale);
  border-radius: 0 14px 14px 0;
}
[dir="rtl"] .blog-post__excerpt { border-radius: 14px 0 0 14px; }
.blog-post__content {
  font-size: 17px; color: var(--ink); line-height: 1.85;
  white-space: pre-wrap;
}
.blog-post__empty {
  color: var(--ink-3); font-size: 14px; padding: 40px 20px;
  text-align: center; background: var(--bg-alt); border-radius: 14px;
}
@media (max-width: 720px) {
  .blog-post { padding: 0 16px 60px; }
  .blog-post__cover { aspect-ratio: 16/10; margin-bottom: 24px; border-radius: 0 0 18px 18px; }
  .blog-post__excerpt { font-size: 16px; }
  .blog-post__content { font-size: 16px; }
}

/* ============ Contact page ============ */
.contact { max-width: 1100px; margin: 40px auto 0; padding: 0 28px 80px; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 14px 40px rgba(14, 58, 38, 0.06);
}
.contact__info {
  padding: 40px; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; gap: 16px;
}
.contact__info h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.contact__item {
  display: flex; gap: 14px; align-items: center; padding: 12px;
  background: rgba(255,255,255,0.06); border-radius: 14px;
  color: #fff; transition: background .15s;
}
.contact__item:hover { background: rgba(255,255,255,0.12); }
.contact__item svg { flex: 0 0 auto; color: var(--brand-soft); }
.contact__item > div { display: flex; flex-direction: column; }
.contact__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55); margin-bottom: 2px;
}
.contact__item--wa { background: #25D366 !important; color: #fff; }
.contact__item--wa svg { color: #fff; }

.contact__form { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__form .field { margin: 0; }
.contact__form .field--full, .contact__form .field:last-of-type,
.contact__form button { grid-column: 1 / -1; }
.contact__form .field label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.contact__form input, .contact__form textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--brand); }
.contact__success { text-align: center; padding: 40px 20px; grid-column: 1/-1; }
.contact__success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand-pale); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact__success h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 18px; font-weight: 400; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { padding: 28px; }
  .contact__form { padding: 28px; grid-template-columns: 1fr; }
}

/* ============ Account / Auth ============ */
.auth-wrap {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: #fff; border-radius: var(--r-xl);
  padding: 40px; box-shadow: 0 20px 50px rgba(14, 58, 38, 0.08);
  border: 1px solid var(--line);
}
.auth-title { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0 0 6px; letter-spacing: -0.02em; }
.auth-sub { color: var(--ink-3); font-size: 15px; margin: 0 0 24px; }
.auth-err {
  background: #FFF1F1; color: #D64545;
  padding: 12px 14px; border-radius: 12px; font-size: 13px;
  margin-bottom: 14px; border: 1px solid #FFD7D7;
}
.auth-card .field { margin-bottom: 14px; }
.auth-card .field label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.auth-card .field input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; outline: none;
}
.auth-card .field input:focus { border-color: var(--brand); }
.auth-foot { text-align: center; margin: 18px 0 0; color: var(--ink-3); font-size: 14px; }
.auth-foot a { color: var(--brand-deep); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* Customer account */
.account { max-width: 960px; margin: 30px auto; padding: 0 24px 80px; }
.account__tabs {
  display: flex; gap: 4px; background: var(--bg-alt); padding: 6px;
  border-radius: 999px; margin-bottom: 24px; max-width: 600px;
  overflow-x: auto; scrollbar-width: none;
}
.account__tabs::-webkit-scrollbar { display: none; }
.account__tab {
  padding: 10px 20px; border-radius: 999px; font-weight: 500; font-size: 14px;
  color: var(--ink-2); transition: all .15s; flex-shrink: 0;
}
.account__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.account__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.account__form .field { margin: 0; }
.account__form .field--full, .account__form button { grid-column: 1 / -1; }
.account__form .field label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.account__form input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; outline: none;
}
.account__form input:focus { border-color: var(--brand); }
.account__form input[disabled] { background: var(--bg-alt); color: var(--ink-3); }
.account__empty {
  padding: 80px 20px; text-align: center;
  color: var(--ink-3); font-size: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.account__orders { display: flex; flex-direction: column; gap: 14px; }
.account__order {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
}
.account__order-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.account__order-date { color: var(--ink-3); font-size: 13px; margin-inline-end: auto; }
.account__order .badge { font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.account__order .badge--ok { background: #E6F4EC; color: var(--brand-deep); }
.account__order .badge--warn { background: #FFF6D6; color: #A07800; }
.account__order .badge--off { background: #F2F2F2; color: var(--ink-3); }
.account__order-items {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
}
.account__order-items li { display: flex; justify-content: space-between; color: var(--ink-2); }
.account__order-total {
  display: flex; justify-content: space-between;
  padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
}
.account__order-total strong { font-weight: 700; }

@media (max-width: 720px) {
  .account__form { grid-template-columns: 1fr; padding: 20px; }
  .auth-card { padding: 28px; }
}

/* ============ Powered-by footer ============ */
.footer__powered {
  max-width: 1280px; margin: 0 auto; padding: 18px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: center;
}
.footer__powered a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55); font-size: 12px;
  transition: color .15s;
}
.footer__powered a:hover { color: #fff; }
.footer__powered strong { font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; }
.footer__powered svg { opacity: 0.5; }

/* (legacy mobile about block removed — replaced by improved cards earlier in this file) */

/* ============ Hide old floating buttons CSS ============ */
.whatsapp-fab { display: none !important; }
.sound-toggle { display: none !important; }

/* ============================================================
   CART FAB — floating bag icon shown when there are items
   ============================================================ */
.cart-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(45, 143, 95, 0.4), 0 4px 12px rgba(0,0,0,0.1);
  z-index: 49;
  transform: translateY(120%) scale(0.6);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1.2), opacity .25s, box-shadow .2s, background .2s;
  pointer-events: none;
}
.cart-fab.is-show { transform: none; opacity: 1; pointer-events: auto; }
.cart-fab:hover { background: var(--brand-deep); box-shadow: 0 16px 40px rgba(45, 143, 95, 0.5); }
.cart-fab svg { width: 24px; height: 24px; }
.cart-fab__count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid #fff;
  font-family: var(--font-en);
}
.cart-fab.is-pulse { animation: fab-pulse .8s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes fab-pulse {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.15) rotate(-6deg); }
  40% { transform: scale(0.95) rotate(4deg); }
  60% { transform: scale(1.08) rotate(-2deg); }
  80% { transform: scale(0.98); }
}
.cart-fab.is-show + .top-fab,
.cart-fab.is-show ~ .top-fab { bottom: 100px; }
@media (max-width: 720px) {
  .cart-fab { width: 56px; height: 56px; bottom: 18px; inset-inline-end: 18px; }
  .cart-fab svg { width: 22px; height: 22px; }
  .cart-fab.is-show ~ .top-fab { bottom: 90px; }
}

/* ============================================================
   PRODUCT PAGE (full-page replacement of the modal)
   ============================================================ */
.pp { padding: 28px 0 80px; }
.pp .container { max-width: 1200px; }
.pp__crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 24px;
}
.pp__crumbs a { color: var(--ink-3); transition: color .2s; }
.pp__crumbs a:hover { color: var(--brand-deep); }
.pp__crumbs-sep { opacity: 0.5; }
.pp__crumbs-current { color: var(--ink); font-weight: 600; }

.pp__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 920px) { .pp__grid { grid-template-columns: 1fr; gap: 28px; } }

.pp__gallery { position: sticky; top: 24px; }
@media (max-width: 920px) { .pp__gallery { position: static; } }

.pp__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--brand-pale);
  border-radius: 24px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.pp__main img,
.pp__main .pill-illus { width: 100%; height: 100%; object-fit: contain; }
.pp__badge {
  position: absolute;
  top: 18px; inset-inline-end: 18px;
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(45, 143, 95, 0.3);
}
.pp__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
}
.pp__thumbs::-webkit-scrollbar { display: none; }
.pp__thumb {
  flex: 0 0 64px;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  max-width: 64px;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--brand-pale);
  padding: 4px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pp__thumb:hover { transform: translateY(-2px); }
.pp__thumb.is-active { border-color: var(--brand); }
.pp__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pp__info { padding-top: 4px; }
.pp__cat {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-pale);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pp__name {
  font-family: var(--font-display-ar);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  color: var(--ink);
}
body[dir="ltr"] .pp__name { font-family: var(--font-display); font-weight: 400; }
.pp__rating {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-3); margin-bottom: 18px;
}
.pp__rating > span:first-of-type { color: var(--ink); font-weight: 700; font-family: var(--font-en); }
.pp__rating-sep { opacity: 0.5; }
.pp__rating a { color: var(--brand-deep); font-weight: 600; }
.pp__rating a:hover { text-decoration: underline; }
.pp__sku { color: var(--ink-3); font-size: 12px; font-family: var(--font-en); margin-inline-start: auto; }

.pp__price-row {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.pp__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pp__price span { font-size: 18px; font-weight: 400; color: var(--ink-3); margin-inline-start: 4px; }
.pp__price-old { font-size: 17px; color: var(--ink-3); text-decoration: line-through; }
.pp__save {
  background: var(--brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
}

.pp__desc { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin: 0 0 24px; }

.pp__field { margin-bottom: 22px; }
.pp__field-label {
  font-size: 12px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.pp__field-value { font-weight: 500; color: var(--ink-3); text-transform: none; letter-spacing: 0; margin-inline-start: 6px; }
.pp__variants { display: flex; flex-wrap: wrap; gap: 8px; }
.pp__variant {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
  min-height: 40px;
}
.pp__variant:hover { border-color: var(--ink); color: var(--ink); }
.pp__variant.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.pp__qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pp__qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  height: 48px;
}
.pp__qty button {
  width: 44px; height: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: background .15s;
}
.pp__qty button:hover { background: var(--brand-pale); }
.pp__qty span {
  min-width: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-en);
}
.pp__stock {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brand-deep); font-weight: 600;
  background: var(--brand-pale);
  padding: 8px 14px;
  border-radius: 999px;
}
.pp__stock-dot {
  width: 8px; height: 8px; background: var(--brand); border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(45, 143, 95, 0.6);
  animation: stock-pulse 2s infinite;
}
@keyframes stock-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 143, 95, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(45, 143, 95, 0); }
}

.pp__actions { display: flex; gap: 10px; margin: 26px 0 22px; }
.pp__btn { flex: 1; padding: 16px 22px !important; min-height: 56px !important; font-size: 15px !important; justify-content: center; border-radius: 14px !important; }
.pp__btn--ghost { flex: 0 0 auto; min-width: 150px; }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.pp__perks {
  list-style: none; padding: 18px 22px; margin: 0;
  background: var(--bg-alt);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp__perks li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-2);
}
.pp__perk-icon {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Tabs */
.pp__tabs-wrap { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.pp__tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pp__tabs::-webkit-scrollbar { display: none; }
.pp__tab {
  padding: 14px 20px;
  background: transparent;
  font-size: 14px; font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pp__tab:hover { color: var(--ink); }
.pp__tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.pp__tab-panel { font-size: 15px; color: var(--ink-2); line-height: 1.8; min-height: 100px; }
.pp__features {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.pp__features li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 12px;
  font-size: 14px;
}
.pp__features li::before {
  content: "✓";
  color: var(--brand); font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.pp__empty {
  padding: 30px 16px; text-align: center;
  background: var(--bg-alt); border-radius: 14px;
  color: var(--ink-3); font-size: 14px;
}
.pp__reviews { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.pp__review {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.pp__review-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.pp__review-stars { color: #F5B301; font-size: 13px; letter-spacing: 1px; }
.pp__review p { margin: 0; font-size: 14px; color: var(--ink-2); }

.pp__related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .pp { padding: 18px 0 60px; }
  .pp .container { padding: 0 18px; }
  .pp__main { aspect-ratio: 1 / 1; padding: 24px; border-radius: 18px; }
  .pp__thumbs {
    justify-content: center !important;
    padding: 0 16px 12px !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .pp__thumb {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    max-width: 60px;
    border-radius: 10px !important;
    padding: 3px !important;
  }
  .pp__name { font-size: 24px; margin: 10px 0 12px; }
  .pp__price { font-size: 30px; }
  .pp__actions { flex-direction: column; gap: 10px; }
  .pp__btn,
  .pp__btn--ghost { width: 100%; min-width: 0; }
  .pp__sku { margin-inline-start: 0; flex-basis: 100%; }
  .pp__tabs-wrap { margin-top: 36px; }
  .pp__features { grid-template-columns: 1fr; }
  .pp__rating { font-size: 13px; }
  .pp__related { margin-top: 40px !important; padding-top: 28px !important; }
}

/* ============================================================
   BLOG POST page improvements
   ============================================================ */
.blog-post { max-width: 760px !important; margin: 0 auto; padding: 28px 24px 80px !important; }
.blog-post__cover {
  position: relative; width: 100%;
  aspect-ratio: 16 / 10 !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: var(--brand-pale);
  margin-bottom: 32px !important;
  max-height: 500px;
}
.blog-post__cover img,
.blog-post__cover .post__cover-svg {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-post__body { max-width: 680px; margin: 0 auto; }
.blog-post__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3); margin-bottom: 18px;
}
.blog-post__tag {
  background: var(--brand-pale);
  color: var(--brand-deep);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.02em;
}
.blog-post__title {
  font-family: var(--font-display-ar) !important;
  font-weight: 700 !important;
  font-size: clamp(26px, 3.6vw, 38px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  margin: 8px 0 24px !important;
  color: var(--ink);
}
body[dir="ltr"] .blog-post__title { font-family: var(--font-display) !important; font-weight: 400 !important; }
.blog-post__excerpt {
  font-size: 17px !important;
  color: var(--ink-2);
  line-height: 1.7 !important;
  margin: 0 0 28px !important;
  padding: 18px 22px !important;
  border-inline-start: 3px solid var(--brand);
  background: var(--brand-pale);
  border-radius: 0 14px 14px 0;
  font-weight: 500;
}
[dir="rtl"] .blog-post__excerpt { border-radius: 14px 0 0 14px; }
.blog-post__content {
  font-size: 16px !important;
  color: var(--ink) !important;
  line-height: 1.95 !important;
  white-space: pre-wrap;
}
.blog-post__content p { margin: 0 0 18px; }

@media (max-width: 720px) {
  .blog-post { padding: 14px 18px 56px !important; }
  .blog-post__cover {
    aspect-ratio: 16 / 11 !important;
    border-radius: 18px !important;
    margin-bottom: 22px !important;
  }
  .blog-post__title {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin: 10px 0 18px !important;
  }
  .blog-post__excerpt {
    font-size: 15px !important;
    padding: 14px 16px !important;
    line-height: 1.65 !important;
  }
  .blog-post__content { font-size: 15px !important; line-height: 1.85 !important; }
  .blog-post__content p { margin: 0 0 14px; }
}

/* ============ Product detail: fix mobile scroll/tabs ============ */
@media (max-width: 720px) {
  /* Page-level scroll for the modal, not internal */
  .pd-overlay {
    padding: 0 !important;
    align-items: stretch !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .pd {
    max-height: none !important;
    min-height: auto !important;
    border-radius: 0 !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
    transform: translateY(12px);
  }
  .pd-overlay.is-open .pd { transform: none; }
  .pd__close {
    position: fixed !important;
    top: 14px !important;
    inset-inline-start: 14px !important;
    inset-inline-end: auto !important;
    z-index: 90;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    width: 40px; height: 40px;
  }
  .pd__gallery { padding: 0; min-height: auto; position: relative; background: var(--brand-pale); }
  .pd__main {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    max-height: 80vw !important;
    padding: 28px 24px !important;
    background: transparent;
  }
  .pd__main img,
  .pd__main .pill-illus {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    max-height: 100% !important;
  }
  .pd__badge-top {
    top: 16px !important;
    inset-inline-end: 16px !important;
    inset-inline-start: auto !important;
  }
  .pd__thumbs { overflow-x: auto; flex-wrap: nowrap; padding: 0 16px 16px; gap: 8px; background: var(--brand-pale); }
  .pd__thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; }
  .pd__info {
    overflow: visible !important;
    max-height: none !important;
    padding: 22px 18px 32px !important;
  }
  .pd__cat { font-size: 11px; }
  .pd__name { font-size: 22px; line-height: 1.3; margin: 4px 0 10px; }
  .pd__rating { flex-wrap: wrap; gap: 6px; font-size: 13px; }
  .pd__prices { gap: 10px; margin-bottom: 16px; }
  .pd__price-now { font-size: 28px; }
  .pd__desc { font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
  .pd__block { margin-bottom: 16px; }
  .pd__block h4 { font-size: 12px; margin-bottom: 10px; }
  .pd__variants { flex-wrap: wrap; gap: 8px; }
  .pd__variant { padding: 9px 16px; font-size: 13px; min-height: 38px; }
  .pd__qty { gap: 12px; }
  .pd__qty .qtyctrl button { width: 40px; height: 40px; }
  .pd__stock { font-size: 12px; }
  .pd__actions {
    position: relative !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .pd__actions .btn {
    width: 100%;
    flex: none !important;
    min-height: 56px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    border-radius: 14px;
    justify-content: center;
  }
  .pd__tabs { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; -webkit-overflow-scrolling: touch; margin-top: 26px; }
  .pd__tab { flex-shrink: 0; padding: 12px 4px; }
  .pd__tab-content, .pd__features, .pd__reviews { min-height: 60px; padding-top: 16px; }
  .pd__features li { font-size: 14px; }
}

/* About section: ensure visible & well-laid out without founders */
.about--solo .about__grid { grid-template-columns: 1fr; max-width: 760px; text-align: center; gap: 0; }
.about--solo .about__copy { max-width: 100%; }
.about--solo .about__metrics { justify-content: center; max-width: 480px; margin: 0 auto; }

/* Mobile: replace overlapping photo collage with elegant centered cards */
@media (max-width: 720px) {
  .about { padding: 56px 0 !important; }
  .about__grid { grid-template-columns: 1fr !important; gap: 32px !important; padding: 0 20px !important; }
  .about__media {
    display: block !important;
    aspect-ratio: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    order: -1;
  }
  .about__photo-stack {
    position: relative !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px !important;
    max-width: 380px;
    margin: 0 auto;
  }
  .about__photo,
  .about__photo--0,
  .about__photo--1,
  .about__photo--2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    padding: 0 !important;
    z-index: auto !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 36px rgba(14, 58, 38, 0.18) !important;
    overflow: hidden;
  }
  [dir="rtl"] .about__photo--0,
  [dir="rtl"] .about__photo--1,
  [dir="rtl"] .about__photo--2 {
    right: auto !important;
    left: auto !important;
  }
  .about__photo--has-image { background: #1a1f1d !important; }
  .about__photo-initials { font-size: 36px !important; padding: 24px; }
  .about__photo-badge { font-size: 10px !important; padding: 24px; }
  .about__photo--has-image .about__photo-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 32px 12px 14px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.55) 60%, transparent) !important;
    text-align: start;
  }
  .about__photo-bg { display: none !important; }
  .about__copy { padding: 0; text-align: center; }
  .about__copy .eyebrow { display: inline-block; }
  .about__copy .section-title { margin-top: 6px; }
  .about__body { font-size: 15px; line-height: 1.7; margin: 14px auto 20px; max-width: 540px; }
  .about__metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about__metrics div { align-items: center; text-align: center; }
  .about__metrics b { font-size: 28px !important; }
  .about__metrics span { font-size: 11px; line-height: 1.3; }
  .about__founders { margin: 4px 0 22px; max-width: 540px; margin-inline: auto; }
  .about__founders li { padding: 10px 0; flex-direction: row !important; justify-content: space-between !important; gap: 8px; align-items: baseline; }
}
@media (max-width: 380px) {
  .about__photo-stack { gap: 10px !important; }
  .about__photo-initials { font-size: 28px !important; }
}

/* Account form: full-width, properly-sized buttons on mobile */
.account__form .btn { width: 100%; padding: 14px 22px; font-size: 15px; min-height: 50px; }
@media (max-width: 720px) {
  .account__form { grid-template-columns: 1fr !important; padding: 18px !important; gap: 14px; }
  .account__form .field--full { grid-column: 1 !important; }
  .account__form .btn { padding: 16px 24px; font-size: 16px; min-height: 54px; border-radius: 14px; }
  .account__tabs { padding: 4px; gap: 2px; overflow-x: auto; }
  .account__tab { font-size: 13px; padding: 10px 14px; white-space: nowrap; flex-shrink: 0; }
}

/* Checkout: account-creation hint block */
.checkout__field--account {
  background: var(--brand-pale);
  border: 1px dashed var(--brand-soft);
  border-radius: var(--r-md);
  padding: 14px;
  margin-top: 4px;
}
.checkout__field--account label { color: var(--brand-deep); font-weight: 600; }
.checkout__hint { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.checkout__account-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--brand-pale);
  border-radius: var(--r-md);
  text-align: start;
}
.checkout__account-note strong { color: var(--brand-deep); display: block; margin-bottom: 4px; }
.checkout__account-note p { margin: 0; font-size: 13px; color: var(--ink-2); }
.checkout__account-note a { color: var(--brand-deep); font-weight: 600; }

