/* ============================================================
   ماهک — Premium Persian RTL e-commerce homepage
   ============================================================ */

/* ----------------------------- FONTS ----------------------------- */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakhFaNum-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakhFaNum-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakhFaNum-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakhFaNum-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakhFaNum-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: "YekanBakh", Tahoma, "IRANSans", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; }
p { margin: 0; }
input, textarea { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----------------------------- TOKENS ----------------------------- */
:root {
  --color-bg: #f8f5ef;
  --color-surface: #ffffff;
  --color-surface-soft: #fbf7ef;
  --color-text: #2b2723;
  --color-muted: #7b7167;
  --color-border: #ebe2d6;
  --color-primary: #918515;
  --color-primary-dark: #756b0f;
  --color-gold: #b89b54;
  --color-cream: #f3eadb;
  --color-shadow: rgba(53, 42, 28, 0.08);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-3xl: 32px;

  --shadow-soft: 0 8px 24px rgba(53, 42, 28, 0.06);
  --shadow-md: 0 14px 36px rgba(53, 42, 28, 0.07);
  --shadow-lg: 0 18px 50px rgba(53, 42, 28, 0.08);
}

/* ----------------------------- LAYOUT ----------------------------- */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

main > section { padding: 56px 0; }
main > section.hero { padding-top: 16px; padding-bottom: 28px; }
main > section.trust { padding: 24px 0; }
main > section.products,
main > section.categories { padding: 28px 0; }
main > section.promo { padding: 18px 0; }
main > section.reviews-faq { padding: 32px 0; }

/* Section heads */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.section-head--inline { margin-bottom: 14px; }
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  position: relative;
  padding-right: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 22px;
  background: var(--color-primary);
  border-radius: 4px;
  transform: translateY(-50%);
}

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(145,133,21,.18);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-surface);
  border-color: #d8ccba;
}

.btn--text {
  background: transparent;
  color: var(--color-primary);
  padding: 11px 6px;
}
.btn--text:hover { color: var(--color-primary-dark); }

.btn--cart {
  width: 100%;
  padding: 12px 14px;
  font-size: 13px;
}

/* Eyebrow labels */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.eyebrow--gold { color: var(--color-gold); }
.eyebrow--light { color: #f3eadb; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid transparent;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--color-surface);
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--color-text);
}
.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4ecd9, #fbf7ef);
  color: var(--color-gold);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--color-text); }
.brand-tagline { font-size: 11px; color: var(--color-muted); margin-top: 3px; }

/* Primary navigation */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 8px;
  position: relative;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--color-primary); }
.primary-nav a.is-active { color: var(--color-primary); }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 14px; left: 14px; bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Header utilities */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background-color .2s ease, color .2s ease;
}
.icon-btn:hover {
  background: var(--color-cream);
  color: var(--color-primary);
}
.icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: -2px; left: -2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--color-cream);
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  margin: 12px 24px 0;
  padding: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer ul { display: grid; gap: 4px; }
.mobile-drawer a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--color-text);
}
.mobile-drawer a.is-active,
.mobile-drawer a:hover {
  background: var(--color-cream);
  color: var(--color-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 18px; }

.hero-card {
  position: relative;
  background: #f8f5ef;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 56px 44px 48px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.45fr) minmax(200px, 0.7fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  min-height: 520px;
}

/* Top-left attached pill (anchored to corner) */
.hero-pill {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px 11px 26px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-top-left-radius: var(--radius-3xl);
  border-bottom-right-radius: 22px;
  z-index: 5;
  box-shadow: 0 10px 22px rgba(145,133,21,.22);
  transition: background-color .2s ease;
}
.hero-pill:hover { background: var(--color-primary-dark); }
.hero-pill svg { width: 14px; height: 14px; transform: scaleX(-1); }

/* Decorative big watermark word */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 18%;
  transform: translateY(-50%);
  font-size: clamp(240px, 30vw, 420px);
  font-weight: 900;
  color: rgba(184,155,84,.10);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 0.9;
  white-space: nowrap;
}

/* Right column: text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  justify-self: end;
}
.hero-title {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 6px 0 16px;
}
.hero-desc {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 2;
  margin-bottom: 24px;
  max-width: 380px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-actions .btn { padding: 13px 24px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-muted);
  font-weight: 600;
}
.hero-trust__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}
.hero-trust__icon svg { width: 16px; height: 16px; }

/* Center column: hero image */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(53,42,28,.18));
}

/* Left column: floating product card (now in its own grid column) */
.hero-product {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 220px;
  justify-self: start;
  padding: 16px 16px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-product__label {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hero-product__media {
  width: 120px; height: 120px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: var(--color-surface-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-product__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
}
.hero-product__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}
.hero-product__meta {
  font-size: 11.5px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.hero-product__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-cream);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color .2s ease;
}
.hero-product__link:hover { background: #ebe1c8; }
.hero-product__link svg { width: 12px; height: 12px; }

/* Slider dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(123,113,103,.35);
  transition: background-color .2s ease, width .2s ease;
}
.dot.is-active {
  background: var(--color-primary);
  width: 22px;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 14px 16px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e1d4bd;
}
.category-card__media {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.category-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}
.category-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e1d4bd;
}
.product-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--color-surface-soft);
  margin-bottom: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.5;
}
.product-card__meta {
  font-size: 12px;
  color: var(--color-muted);
}
.product-card__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  margin: 4px 0 8px;
}
.product-card .btn--cart svg { transform: scaleX(-1); }

/* Add-to-cart success state */
.product-card .btn--cart.is-added {
  background: #6b7d2a;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 14px 8px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px; bottom: 12px;
  width: 1px;
  background: var(--color-border);
}
.trust-item__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-cream);
  color: var(--color-primary);
}
.trust-item__icon svg { width: 20px; height: 20px; }
.trust-item__text { display: flex; flex-direction: column; line-height: 1.4; }
.trust-item__text strong { font-size: 13px; font-weight: 800; color: var(--color-text); }
.trust-item__text small { font-size: 11.5px; color: var(--color-muted); margin-top: 2px; }

/* ============================================================
   ABOUT / STORY
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.about-media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  min-height: 320px;
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.about-content {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.about-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--color-text);
}
.about-desc {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 22px;
  max-width: 520px;
}
.about-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.about-floral {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 200px;
  height: 120px;
  opacity: .55;
  pointer-events: none;
}

/* ============================================================
   PROMO BANNERS
   ============================================================ */
.promo-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
.promo-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.promo-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(33,18,5,.05) 0%, rgba(33,18,5,.55) 70%);
  z-index: -1;
}
.promo-banner__content {
  padding: 36px 44px;
  color: #fff8ec;
  max-width: 560px;
}
.promo-banner__content h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  margin: 4px 0 8px;
  color: #fff;
}
.promo-banner__content p {
  font-size: 14px;
  margin-bottom: 18px;
  color: #f3eadb;
}
.promo-banner.promo-banner--turmeric {
  aspect-ratio: 1004 / 308;
  min-height: 0;
}
.promo-banner.promo-banner--turmeric .promo-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #e1d4bd;
}
.article-card__media {
  width: 130px; height: 130px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-card__body h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.6;
}
.article-card__body p {
  font-size: 12.5px;
  color: var(--color-muted);
  line-height: 1.9;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
}
.article-card__link svg { width: 14px; height: 14px; }
.article-card__link:hover { color: var(--color-primary-dark); }

/* ============================================================
   TESTIMONIAL + FAQ
   ============================================================ */
.reviews-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
}
.testimonial-card,
.faq-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
}

/* Testimonial */
.testimonial { position: relative; padding-top: 6px; }
.testimonial__quote-mark {
  position: absolute;
  left: 0; top: 0;
  color: var(--color-cream);
}
.testimonial__quote-mark svg { width: 56px; height: 56px; }
.testimonial__text {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
  font-size: 13.5px;
  line-height: 2;
  margin-bottom: 16px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
}
.testimonial__avatar svg { width: 100%; height: 100%; }
.testimonial__name { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.testimonial__name strong { font-size: 13.5px; font-weight: 800; color: var(--color-text); }
.testimonial__name small { font-size: 11.5px; color: var(--color-muted); margin-top: 2px; }
.testimonial__rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-gold);
}
.testimonial__rating svg { width: 14px; height: 14px; }

.testimonial-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

/* =========================================================
   Testimonial dots - force theme-safe styling
   ========================================================= */

body.mahak-home-premium-page .mahak-home-premium .testimonial-dots {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 18px !important;
  padding: 0 !important;
}

body.mahak-home-premium-page .mahak-home-premium .testimonial-dots .dot,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots button.dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 999px !important;
  outline: none !important;

  background: rgba(118, 119, 36, 0.25) !important;
  box-shadow: none !important;

  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  font-size: 0 !important;
  line-height: 0 !important;

  transition:
    width 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}

body.mahak-home-premium-page .mahak-home-premium .testimonial-dots .dot.is-active,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots button.dot.is-active {
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;

  background: linear-gradient(135deg, #767724, #63651c) !important;
  box-shadow: 0 8px 18px rgba(99, 101, 28, 0.22) !important;
}

body.mahak-home-premium-page .mahak-home-premium .testimonial-dots .dot:hover,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots button.dot:hover {
  background: linear-gradient(135deg, #767724, #63651c) !important;
  transform: translateY(-1px) !important;
}

body.mahak-home-premium-page .mahak-home-premium .testimonial-dots .dot:focus,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots button.dot:focus,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots .dot:focus-visible,
body.mahak-home-premium-page .mahak-home-premium .testimonial-dots button.dot:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(118, 119, 36, 0.18) !important;
}


/* FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease;
}
.faq-item[open] {
  background: var(--color-surface);
  border-color: #e1d4bd;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--color-cream);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-item p {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.95;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-card {
  position: relative;
  background: #f8f5ef;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  min-height: 160px;
}
.newsletter-card::after {
  content: "";
  position: absolute;
  inset: -1px 42% -1px -28px;
  right: 42%;
  background-image: url("../images/Banner_SpicesAndHerbs.webp");
  background-size: cover;
  background-position: left center;
  z-index: 0;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(248,245,239,1) 36%, rgba(248,245,239,.85) 52%, rgba(248,245,239,0) 70%);
  z-index: 1;
}
.newsletter-card__content {
  position: relative;
  z-index: 2;
  padding: 36px 44px;
  max-width: 580px;
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}
.newsletter-card__content h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.newsletter-card__content p {
  color: var(--color-muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 5px;
  max-width: 460px;
  backdrop-filter: blur(4px);
}
.newsletter-form input {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  outline: none;
  text-align: right;
}
.newsletter-form input::placeholder { color: var(--color-muted); }
.newsletter-form .btn { padding: 11px 22px; border-radius: 999px; white-space: nowrap; }
.newsletter-card__floral {
  position: absolute;
  left: 24px; top: 50%;
  transform: translateY(-50%);
  width: 180px; height: 110px;
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 32px;
  padding: 44px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 2;
  margin-bottom: 16px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--color-primary);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 14px;
  position: relative;
  padding-right: 12px;
}
.footer-col h4::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 4px; height: 16px;
  background: var(--color-primary);
  border-radius: 4px;
  transform: translateY(-50%);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 13px;
  color: var(--color-muted);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12.5px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large desktop down */
@media (max-width: 1199px) {
  .container { padding: 0 20px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3n+1)::before { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .hero-card {
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.3fr) minmax(180px, 0.7fr);
    padding: 52px 28px 44px;
    gap: 18px;
  }
  .hero-product { max-width: 200px; }
  .hero-image { max-height: 420px; }
  .hero-watermark { font-size: clamp(200px, 26vw, 340px); }
}

/* Tablet */
@media (max-width: 991px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  main > section { padding: 40px 0; }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 56px 24px 64px;
    min-height: auto;
    gap: 20px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    justify-self: center;
  }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-desc { margin-inline: auto; }
  .hero-visual {
    min-height: 280px;
    order: 2;
  }
  .hero-image { max-height: 340px; }
  .hero-product {
    justify-self: center;
    order: 3;
    max-width: 220px;
  }
  .hero-watermark {
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(180px, 36vw, 280px);
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-content { padding: 28px 24px; }
  .about-floral { width: 140px; }

  .newsletter-card__content {
    padding: 28px 28px;
    max-width: 100%;
  }
  .newsletter-card::before {
    background: linear-gradient(to left, rgba(248,245,239,.98) 45%, rgba(248,245,239,.75) 75%, rgba(248,245,239,.1) 100%);
  }

  .reviews-faq__grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }

  .site-header .header-inner {
    border-radius: 18px;
    padding: 10px 14px;
    margin-top: 12px;
  }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-tagline { font-size: 10px; }

  .header-utilities { gap: 2px; }
  .header-utilities .icon-btn:not(.icon-btn--cart) { display: none; }
  .icon-btn { width: 36px; height: 36px; }

  main > section { padding: 32px 0; }

  .section-title { font-size: 18px; }

  /* Hero */
  .hero-pill {
    padding: 9px 16px 9px 18px;
    font-size: 12px;
    border-top-left-radius: 22px;
    border-bottom-right-radius: 16px;
  }
  .hero-card {
    border-radius: 22px;
    padding: 50px 18px 56px;
    min-height: auto;
  }
  .hero-title { font-size: 30px; line-height: 1.25; }
  .hero-desc { font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
  .hero-actions .btn { padding: 11px 18px; font-size: 13px; }
  .hero-trust { gap: 10px; font-size: 11.5px; }
  .hero-trust__icon { width: 28px; height: 28px; }
  .hero-image { max-height: 260px; }
  .hero-visual { min-height: 240px; }
  .hero-product {
    max-width: 200px;
    padding: 14px 12px;
  }
  .hero-product__media { width: 100px; height: 100px; }
  .hero-product__title { font-size: 13px; }
  .hero-watermark { font-size: clamp(140px, 40vw, 220px); top: 30%; }

  /* Categories */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-card { padding: 14px 10px 12px; }
  .category-card__media { width: 80px; height: 80px; }
  .category-card__title { font-size: 12.5px; }

  /* Products */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card { padding: 10px 10px 12px; }
  .product-card__title { font-size: 13px; }
  .product-card__price { font-size: 13px; }
  .btn--cart { font-size: 12px; padding: 10px 12px; }

  /* Trust strip */
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 6px;
    gap: 4px;
  }
  .trust-item { padding: 8px 10px; }
  .trust-item::before { display: none !important; }
  .trust-item__icon { width: 32px; height: 32px; }
  .trust-item__text strong { font-size: 12px; }
  .trust-item__text small { font-size: 10.5px; }

  /* About */
  .about-content { padding: 24px 18px; }
  .about-title { font-size: 22px; }
  .about-actions .btn { padding: 11px 18px; font-size: 13px; }

  /* Promo */
  .promo-banner { min-height: 200px; }
  .promo-banner__content { padding: 26px 20px; }
  .promo-banner__overlay {
    background: linear-gradient(180deg, rgba(33,18,5,.15) 0%, rgba(33,18,5,.6) 100%);
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .article-card {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .article-card__media { width: 100px; height: 100px; }
  .article-card__body h3 { font-size: 14px; }

  /* Reviews / FAQ */
  .testimonial-card, .faq-card { padding: 18px; }

  /* Newsletter */
  .newsletter-card {
    background-position: center center;
  }
  .newsletter-card::before {
    background: rgba(248,245,239,.92);
  }
  .newsletter-card__content {
    padding: 28px 20px;
    max-width: 100%;
  }
  .newsletter-card__content h2 { font-size: 18px; }
  .newsletter-card__floral { display: none; }
  .newsletter-form {
    border-radius: 18px;
    flex-direction: column;
    padding: 8px;
    max-width: 100%;
  }
  .newsletter-form input { padding: 12px 16px; width: 100%; text-align: right; }
  .newsletter-form .btn { width: 100%; border-radius: 12px; padding: 12px 18px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Very small mobile */
@media (max-width: 389px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .article-card {
    grid-template-columns: 1fr;
    text-align: right;
  }
  .article-card__media { width: 100%; height: 160px; }
}

/* ============================================================
   FEATURED PRODUCT SECTIONS
   Integrated from persian-product-cards (masala / turmeric / saffron).
   All styles scoped under .featured-product-section to prevent
   collisions with the homepage's own .product-card* rules.
   ============================================================ */
main > section.featured-product-section { padding: 28px 0 32px; }

.featured-product-section {
  --pc-surface: #fffdf8;
  --pc-surface-2: #fff9ef;
  --pc-cream: #f6eedc;
  --pc-text: #202414;
  --pc-muted: #6f7068;
  --pc-olive: #6f711f;
  --pc-olive-dark: #555918;
  --pc-green: #2f6e36;
  --pc-gold: #c9a24a;
  --pc-gold-2: #d8bc72;
  --pc-border: #e8d9b8;
  --pc-divider: #e7d7b4;
  --pc-red: #d82323;
  --pc-red-bg: #fce1dc;
  --pc-shadow: 0 28px 70px rgba(78,58,20,.13), 0 10px 28px rgba(78,58,20,.08);
  --pc-shadow-soft: 0 18px 42px rgba(77,55,18,.10);
  background: transparent;
}

/* Section header (eyebrow + title + subtitle) */
.featured-product-section__head {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 0 6px;
}
.featured-product-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.featured-product-section__title {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.35;
  margin: 0 0 6px;
}
.featured-product-section__subtitle {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}
.featured-product-section__stage {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* ----- Product card base (scoped) ----- */
.featured-product-section .product-card {
  position: relative;
  background: var(--pc-surface);
  box-shadow: var(--pc-shadow);
  font-family: "YekanBakh", "IRANSansX", Tahoma, sans-serif;
  transform: none;
}
.featured-product-section .product-card:hover {
  transform: none;
  box-shadow: var(--pc-shadow);
  border-color: inherit;
}
.featured-product-section .product-card img { display: block; max-width: 100%; }
.featured-product-section .product-card svg { width: 1em; height: 1em; }
.featured-product-section .product-card__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.18;
  color: var(--pc-text);
}
.featured-product-section .product-card__subtitle {
  margin: 0;
  color: var(--pc-muted);
  font-weight: 500;
  line-height: 1.8;
}
.featured-product-section .product-card__button {
  border: 0;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease, border-color .24s ease;
}
.featured-product-section .product-card__button:hover { transform: translateY(-2px); }
.featured-product-section .product-card__button:focus-visible,
.featured-product-section .product-card__fav:focus-visible {
  outline: 4px solid rgba(201,162,74,.32);
  outline-offset: 4px;
}
.featured-product-section .product-card__button svg { font-size: 40px; flex: 0 0 auto; }
.featured-product-section .product-card__fav {
  border: 0;
  background: #fffdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .24s ease, color .24s ease, background .24s ease;
}
.featured-product-section .product-card__fav:hover { transform: translateY(-2px); }
.featured-product-section .product-card__fav.is-active { color: #d83a35; }
.featured-product-section .product-card__fav.is-active svg { fill: currentColor; }

/* ----- Card 1 — Masala ----- */
.featured-product-section .product-card--masala {
  width: min(100%, 980px);
  border-radius: 44px;
  overflow: hidden;
  border: 1px solid rgba(216,188,114,.35);
  background: #fffdf8;
}
.featured-product-section .product-card__media--masala {
  height: 616px;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  display: block;
}
.featured-product-section .product-card__media--masala .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.featured-product-section .product-card__body--masala {
  padding: 56px 62px;
  background: linear-gradient(180deg, #fffdf8, #fffaf2);
}
.featured-product-section .product-card__head--masala {
  display: grid;
  grid-template-columns: 1fr 92px;
  align-items: start;
  gap: 34px;
}
.featured-product-section .product-card__body--masala .product-card__title {
  font-size: clamp(34px, 4.2vw, 54px);
  text-align: right;
  color: #1f2514;
}
.featured-product-section .product-card__body--masala .product-card__subtitle {
  font-size: clamp(18px, 2.1vw, 26px);
  text-align: right;
  margin-top: 10px;
}
.featured-product-section .product-card__brandmark {
  color: #b99a45;
  font-size: 84px;
  justify-self: start;
  margin-top: 2px;
}
.featured-product-section .product-card__solid-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pc-divider) 8%, var(--pc-divider) 92%, transparent);
  margin: 44px 0 34px;
}
.featured-product-section .product-card__rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  direction: ltr;
}
.featured-product-section .product-card__rating-text {
  font-size: 26px;
  color: #45483c;
  font-weight: 700;
  direction: rtl;
}
.featured-product-section .product-card__stars {
  display: inline-flex;
  gap: 14px;
  color: #d6a81d;
  direction: ltr;
}
.featured-product-section .product-card__stars svg {
  font-size: 38px;
  fill: currentColor;
}
.featured-product-section .product-card__price-row--masala {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  color: var(--pc-olive);
}
.featured-product-section .product-card__price-icon {
  font-size: 70px;
  color: #9c8425;
  line-height: 1;
}
.featured-product-section .product-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--pc-olive);
  font-weight: 900;
  letter-spacing: -.035em;
  font-size: inherit;
}
.featured-product-section .product-card__price span { font-size: 52px; }
.featured-product-section .product-card__price small { font-size: 32px; font-weight: 900; }
.featured-product-section .product-card__actions--masala {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 34px;
  direction: rtl;
}
.featured-product-section .product-card__button--primary {
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, #767724, #63651c);
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  box-shadow: inset 0 0 0 2px rgba(207,170,67,.45), 0 9px 20px rgba(88,86,28,.22);
}
.featured-product-section .product-card__button--secondary {
  height: 84px;
  border-radius: 22px;
  background: #fffefb;
  color: #555918;
  border: 2px solid #9a842a;
  font-weight: 900;
  font-size: 25px;
  box-shadow: 0 4px 12px rgba(86,73,30,.05);
}
.featured-product-section .product-card__button--secondary svg { font-size: 31px; }

/* ----- Card 2 — Turmeric ----- */
.featured-product-section .product-card--turmeric {
  width: min(100%, 1220px);
  min-height: 560px;
  border-radius: 42px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 44px;
  direction: ltr;
  background: linear-gradient(180deg, #fffdf8, #fffaf4);
  border: 1px solid rgba(232,217,184,.55);
}
.featured-product-section .product-card__visual-col {
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
}
.featured-product-section .product-card__media--turmeric {
  width: 100%;
  height: 400px;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: auto;
  display: block;
}
.featured-product-section .product-card__media--turmeric .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.featured-product-section .product-card__fav--square {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  color: #dd3434;
  border: 1px solid #eed8a4;
  box-shadow: 0 9px 24px rgba(76,57,16,.10);
  font-size: 33px;
  margin-left: auto;
}
.featured-product-section .product-card__body--turmeric {
  direction: rtl;
  padding: 30px 0 0 0;
}
.featured-product-section .product-card__title-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}
.featured-product-section .product-card__stamp {
  order: -1;
  color: #d6b96d;
  font-size: 58px;
  line-height: 1;
}
.featured-product-section .product-card__body--turmeric .product-card__title {
  font-size: clamp(30px, 3.4vw, 46px);
  color: #24170d;
}
.featured-product-section .product-card__body--turmeric .product-card__subtitle {
  font-size: clamp(18px, 1.9vw, 24px);
  margin-top: 22px;
  color: #77746d;
}
.featured-product-section .product-card__pills {
  display: flex;
  gap: 22px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.featured-product-section .product-card__pill {
  height: 58px;
  min-width: 190px;
  border-radius: 999px;
  border: 1.5px solid #ead5a4;
  background: linear-gradient(180deg, #fffdf7, #fff8e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #4d4b33;
  font-size: 20px;
  font-weight: 700;
  padding: 0 18px;
}
.featured-product-section .product-card__pill svg {
  font-size: 26px;
  color: #7a8e20;
}
.featured-product-section .product-card__dashed-divider {
  border-top: 2px dashed #eadcc0;
  margin: 40px 0 30px;
}
.featured-product-section .product-card__dashed-divider--tight {
  margin: 30px 0 28px;
}
.featured-product-section .product-card__deal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  direction: rtl;
  flex-wrap: wrap;
}
.featured-product-section .product-card__sale-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.featured-product-section .product-card__sale-price {
  margin: 0;
  color: #124b18;
  font-weight: 900;
  letter-spacing: -.035em;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: inherit;
}
.featured-product-section .product-card__sale-price span {
  font-size: 60px;
  line-height: .95;
}
.featured-product-section .product-card__sale-price small {
  font-size: 22px;
  font-weight: 900;
}
.featured-product-section .product-card__discount {
  margin-top: 14px;
  background: var(--pc-red-bg);
  color: var(--pc-red);
  border-radius: 999px;
  min-width: 160px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  padding: 0 14px;
}
.featured-product-section .product-card__old-price {
  color: #989898;
  font-size: 23px;
  font-weight: 600;
  text-decoration-thickness: 2px;
}
.featured-product-section .product-card__actions--turmeric {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 22px;
  direction: rtl;
}
.featured-product-section .product-card__button--green {
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, #397a3e, #2f6834);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(34,96,44,.18);
}
.featured-product-section .product-card__button--outline-green {
  height: 76px;
  border-radius: 18px;
  background: #fffdf8;
  color: #2f6e36;
  border: 2px solid #397a3e;
  font-size: 23px;
  font-weight: 900;
}
.featured-product-section .product-card__button--outline-green svg { font-size: 28px; }

/* ----- Card 3 — Saffron ----- */
.featured-product-section .product-card--saffron {
  width: min(100%, 680px);
  border-radius: 42px;
  border: 2px solid var(--pc-gold-2);
  padding: 50px 42px 48px;
  text-align: center;
  background: linear-gradient(180deg, #fffdf8, #fffaf3);
  box-shadow: var(--pc-shadow);
}
.featured-product-section .product-card__fav--circle {
  position: absolute;
  top: 46px;
  left: 46px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #77711d;
  box-shadow: 0 12px 26px rgba(72,52,20,.11);
  font-size: 36px;
  background: #fffdf8;
  z-index: 2;
}
.featured-product-section .product-card__media--saffron {
  height: 560px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  padding: 0;
}
.featured-product-section .product-card__image--contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  padding: 0;
}
.featured-product-section .product-card__lux-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: #d0ad61;
  margin: 4px 0 28px;
}
.featured-product-section .product-card__lux-divider span {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #d0ad61);
}
.featured-product-section .product-card__lux-divider span:last-child {
  background: linear-gradient(90deg, #d0ad61, transparent);
}
.featured-product-section .product-card__lux-divider svg { font-size: 54px; }
.featured-product-section .product-card--saffron .product-card__title {
  font-size: clamp(36px, 4.8vw, 54px);
  color: #2b2b27;
  text-align: center;
}
.featured-product-section .product-card__meta {
  font-size: 26px;
  color: #777;
  line-height: 1.5;
  margin: 16px 0 8px;
  font-weight: 500;
}
.featured-product-section .product-card__price--saffron {
  justify-content: center;
  color: #8e7e1f;
  margin: 0;
}
.featured-product-section .product-card__price--saffron span {
  font-size: 60px;
  line-height: 1;
}
.featured-product-section .product-card__price--saffron small { font-size: 26px; }
.featured-product-section .product-card__shipping {
  width: max-content;
  margin: 18px auto 0;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid #a6902f;
  color: #937d21;
  background: #fffdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
}
.featured-product-section .product-card__shipping svg { font-size: 29px; }
.featured-product-section .product-card__stock {
  margin: 14px 0 28px;
  font-size: 24px;
  color: #838383;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.featured-product-section .product-card__stock span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #21a545;
}
.featured-product-section .product-card__button--gold {
  width: 100%;
  height: 82px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #a89214, #8b8012);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 13px 24px rgba(114,94,16,.25);
}

/* ----- Responsive (<=900px) ----- */
@media (max-width: 900px) {
  main > section.featured-product-section { padding: 32px 0 40px; }
  .featured-product-section__head { margin-bottom: 26px; }

  /* Masala */
  .featured-product-section .product-card--masala { border-radius: 28px; }
  .featured-product-section .product-card__media--masala {
    height: 58vw;
    min-height: 280px;
    max-height: 420px;
  }
  .featured-product-section .product-card__body--masala { padding: 30px 22px 32px; }
  .featured-product-section .product-card__head--masala {
    grid-template-columns: 1fr 52px;
    gap: 14px;
  }
  .featured-product-section .product-card__brandmark { font-size: 52px; }
  .featured-product-section .product-card__solid-divider { margin: 26px 0 22px; }
  .featured-product-section .product-card__stars { gap: 8px; }
  .featured-product-section .product-card__stars svg { font-size: 26px; }
  .featured-product-section .product-card__rating-text { font-size: 19px; }
  .featured-product-section .product-card__price-icon { font-size: 48px; }
  .featured-product-section .product-card__price span { font-size: 36px; }
  .featured-product-section .product-card__price small { font-size: 22px; }
  .featured-product-section .product-card__actions--masala {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .featured-product-section .product-card__button--primary,
  .featured-product-section .product-card__button--secondary {
    height: 62px;
    font-size: 20px;
    border-radius: 16px;
  }
  .featured-product-section .product-card__button svg { font-size: 26px; }

  /* Turmeric */
  .featured-product-section .product-card--turmeric {
    grid-template-columns: 1fr;
    direction: rtl;
    padding: 20px;
    border-radius: 28px;
    gap: 10px;
    min-height: 0;
  }
  .featured-product-section .product-card__media--turmeric {
    height: 66vw;
    min-height: 260px;
    max-height: 420px;
    border-radius: 22px;
  }
  .featured-product-section .product-card__visual-col { gap: 16px; }
  .featured-product-section .product-card__fav--square {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 26px;
  }
  .featured-product-section .product-card__body--turmeric { padding-top: 10px; }
  .featured-product-section .product-card__stamp { font-size: 44px; }
  .featured-product-section .product-card__pills {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
  }
  .featured-product-section .product-card__pill {
    min-width: 0;
    flex: 1;
    height: 48px;
    font-size: 16px;
    padding: 0 12px;
  }
  .featured-product-section .product-card__pill svg { font-size: 20px; }
  .featured-product-section .product-card__dashed-divider { margin: 24px 0 20px; }
  .featured-product-section .product-card__deal { align-items: flex-start; gap: 18px; }
  .featured-product-section .product-card__sale-price span { font-size: 42px; }
  .featured-product-section .product-card__sale-price small { font-size: 18px; }
  .featured-product-section .product-card__discount {
    font-size: 16px;
    height: 36px;
    min-width: 130px;
  }
  .featured-product-section .product-card__old-price { font-size: 18px; }
  .featured-product-section .product-card__actions--turmeric {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .featured-product-section .product-card__button--green,
  .featured-product-section .product-card__button--outline-green {
    height: 60px;
    font-size: 19px;
  }

  /* Saffron */
  .featured-product-section .product-card--saffron {
    border-radius: 28px;
    padding: 32px 22px 30px;
  }
  .featured-product-section .product-card__fav--circle {
    top: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
  .featured-product-section .product-card__media--saffron {
    height: 76vw;
    max-height: 460px;
    min-height: 300px;
  }
  .featured-product-section .product-card__lux-divider {
    margin-top: 0;
  }
  .featured-product-section .product-card__lux-divider svg { font-size: 40px; }
  .featured-product-section .product-card__meta { font-size: 20px; margin: 12px 0 6px; }
  .featured-product-section .product-card__price--saffron span { font-size: 44px; }
  .featured-product-section .product-card__price--saffron small { font-size: 20px; }
  .featured-product-section .product-card__shipping {
    font-size: 17px;
    height: 40px;
    padding: 0 16px;
  }
  .featured-product-section .product-card__shipping svg { font-size: 24px; }
  .featured-product-section .product-card__stock { font-size: 19px; margin: 12px 0 22px; }
  .featured-product-section .product-card__button--gold {
    height: 64px;
    font-size: 22px;
    border-radius: 20px;
  }
}

/* ============================================================
   Listing grid layout for featured product sections
   Masala & Saffron: 3 cols desktop, 2 tablet, 1 mobile
   Turmeric:         2 cols desktop (horizontal inside), 1 <=1080
   ============================================================ */
.featured-product-section__grid {
  display: grid;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}
.featured-product-section__grid > .product-card {
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-product-section__grid--masala,
.featured-product-section__grid--saffron,
.featured-product-section__grid--turmeric{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ----- Masala card sizing inside grid ----- */
.featured-product-section__grid .product-card--masala { border-radius: 18px; }
.featured-product-section__grid .product-card__media--masala {
  height: 210px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.featured-product-section__grid .product-card__body--masala {
  padding: 14px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.featured-product-section__grid .product-card__head--masala {
  grid-template-columns: 1fr 32px;
  gap: 10px;
}
.featured-product-section__grid .product-card__body--masala .product-card__title {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.2;
}
.featured-product-section__grid .product-card__body--masala .product-card__subtitle {
  font-size: clamp(11px, 0.9vw, 12px);
  line-height: 1.5;
  margin-top: 4px;
}
.featured-product-section__grid .product-card__brandmark { font-size: 28px; margin-top: 0; }
.featured-product-section__grid .product-card__solid-divider { margin: 12px 0 10px; }
.featured-product-section__grid .product-card__rating-text { font-size: 12px; }
.featured-product-section__grid .product-card__stars { gap: 4px; }
.featured-product-section__grid .product-card__stars svg { font-size: 14px; }
.featured-product-section__grid .product-card__price-row--masala { gap: 8px; margin-top: 10px; }
.featured-product-section__grid .product-card__price-icon { font-size: 26px; }
.featured-product-section__grid .product-card__price { gap: 6px; }
.featured-product-section__grid .product-card__price span { font-size: 18px; }
.featured-product-section__grid .product-card__price small { font-size: 11px; }
.featured-product-section__grid .product-card__actions--masala {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.featured-product-section__grid .product-card__button--primary,
.featured-product-section__grid .product-card__button--secondary {
  height: 38px;
  font-size: 12px;
  border-radius: 10px;
  gap: 6px;
}
.featured-product-section__grid .product-card__button svg { font-size: 14px; }
.featured-product-section__grid .product-card__button--secondary svg { font-size: 14px; }

/* ----- Turmeric card sizing inside grid ----- */
.featured-product-section__grid .product-card--turmeric {
  min-height: 0;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  align-items: stretch;
  direction: ltr;
}
.featured-product-section__grid .product-card__visual-col {
  gap: 8px;
  justify-content: space-between;
}
.featured-product-section__grid .product-card__media--turmeric {
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
}
.featured-product-section__grid .product-card__fav--square {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
}
.featured-product-section__grid .product-card__body--turmeric {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
}
.featured-product-section__grid .product-card__title-line { gap: 8px; }
.featured-product-section__grid .product-card__stamp { font-size: 22px; }
.featured-product-section__grid .product-card__body--turmeric .product-card__title {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.2;
}
.featured-product-section__grid .product-card__body--turmeric .product-card__subtitle {
  font-size: clamp(11px, 0.9vw, 12px);
  margin-top: 6px;
  line-height: 1.45;
}
.featured-product-section__grid .product-card__pills { gap: 6px; margin-top: 10px; }
.featured-product-section__grid .product-card__pill {
  height: 28px;
  min-width: 0;
  font-size: 10.5px;
  padding: 0 8px;
  gap: 4px;
}
.featured-product-section__grid .product-card__pill svg { font-size: 10px; }
.featured-product-section__grid .product-card__dashed-divider { margin: 10px 0 8px; }
.featured-product-section__grid .product-card__dashed-divider--tight { margin: 8px 0 8px; }
.featured-product-section__grid .product-card__deal { gap: 8px; margin-top: auto; }
.featured-product-section__grid .product-card__sale-price { gap: 5px; }
.featured-product-section__grid .product-card__sale-price span { font-size: 20px; }
.featured-product-section__grid .product-card__sale-price small { font-size: 11px; }
.featured-product-section__grid .product-card__discount {
  height: 20px;
  min-width: 70px;
  font-size: 10px;
  padding: 0 6px;
  margin-top: 4px;
}
.featured-product-section__grid .product-card__old-price { font-size: 11px; }
.featured-product-section__grid .product-card__actions--turmeric { gap: 6px; margin-top: auto; }
.featured-product-section__grid .product-card__button--green,
.featured-product-section__grid .product-card__button--outline-green {
  height: 36px;
  font-size: 11px;
  border-radius: 10px;
  gap: 5px;
}
.featured-product-section__grid .product-card__button--outline-green svg { font-size: 14px; }
.featured-product-section__grid .product-card__button--green svg { font-size: 14px; }

/* ----- Saffron card sizing inside grid ----- */
.featured-product-section__grid .product-card--saffron {
  padding: 14px 12px 16px;
  border-radius: 18px;
}
.featured-product-section__grid .product-card__fav--circle {
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.featured-product-section__grid .product-card__media--saffron {
  height: 160px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.featured-product-section__grid .product-card__lux-divider { margin: 2px 0 8px; gap: 6px; }
.featured-product-section__grid .product-card__lux-divider svg { font-size: 18px; }
.featured-product-section__grid .product-card--saffron .product-card__title {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.2;
}
.featured-product-section__grid .product-card__meta {
  font-size: 11px;
  margin: 6px 0 4px;
}
.featured-product-section__grid .product-card__price--saffron span { font-size: 18px; }
.featured-product-section__grid .product-card__price--saffron small { font-size: 11px; }
.featured-product-section__grid .product-card__shipping {
  height: 24px;
  font-size: 10px;
  padding: 0 10px;
  gap: 4px;
  margin-top: 8px;
}
.featured-product-section__grid .product-card__shipping svg { font-size: 12px; }
.featured-product-section__grid .product-card__stock { font-size: 10px; margin: 6px 0 8px; }
.featured-product-section__grid .product-card__stock span { width: 6px; height: 6px; }
.featured-product-section__grid .product-card__button--gold {
  height: 38px;
  font-size: 12px;
  border-radius: 10px;
  margin-top: auto;
}

/* ----- Responsive breakpoints for the grid ----- */
@media (max-width: 1080px) {
  .featured-product-section__grid { gap: 14px; }
  .featured-product-section__grid--masala,
  .featured-product-section__grid--saffron {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-product-section__grid--turmeric {
    grid-template-columns: 1fr;
  }
  .featured-product-section__grid .product-card--turmeric {
    grid-template-columns: 160px 1fr;
  }
  .featured-product-section__grid .product-card__media--masala {
    height: 210px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  .featured-product-section__grid .product-card__media--saffron {
    height: 210px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .featured-product-section__grid { gap: 12px; }
  .featured-product-section__grid--masala,
  .featured-product-section__grid--saffron {
    grid-template-columns: 1fr;
  }
  .featured-product-section__grid .product-card--turmeric {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .featured-product-section__grid .product-card__media--turmeric {
    height: 140px;
    min-height: 120px;
    max-height: 200px;
    border-radius: 12px;
    overflow: hidden;
  }
  .featured-product-section__grid .product-card__media--masala {
    height: 210px;
    min-height: 160px;
    max-height: 260px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  .featured-product-section__grid .product-card__media--saffron {
    height: 210px;
    min-height: 160px;
    max-height: 260px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  .featured-product-section__grid .product-card__body--masala { padding: 14px 12px 16px; }
  .featured-product-section__grid .product-card--saffron { padding: 14px 12px 16px; }
  .featured-product-section__grid .product-card__actions--masala {
    grid-template-columns: 1fr;
  }
  .featured-product-section__grid .product-card__button--primary,
  .featured-product-section__grid .product-card__button--secondary,
  .featured-product-section__grid .product-card__button--green,
  .featured-product-section__grid .product-card__button--outline-green {
    height: 40px;
    font-size: 12px;
  }
  .featured-product-section__grid .product-card__button--gold {
    height: 42px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-product-section .product-card__button:hover,
  .featured-product-section .product-card__fav:hover { transform: none; }
}


/* ============================================================
   WordPress / Hello Elementor page-template compatibility
   Loaded only on page-home-premium.php via functions-snippet.php
   ============================================================ */
body.mahak-home-premium-page {
  margin: 0;
  padding: 0;
}

.mahak-home-premium,
.mahak-home-premium * ,
.mahak-home-premium *::before,
.mahak-home-premium *::after {
  box-sizing: border-box;
}

.mahak-home-premium a {
  text-decoration: none;
}

.mahak-home-premium img {
  max-width: 100%;
}

/* ============================================================
   PYM hotfix v1.0.1 — Strong WP/Hello Elementor overrides
   - Higher specificity for links/buttons
   - Professional mobile sidebar menu
   - 2-column mobile product card grids
   - 2x2 mobile footer link columns
   ============================================================ */
body.mahak-home-premium-page .mahak-home-premium,
body.mahak-home-premium-page .mahak-home-premium * {
  font-family: "YekanBakh", Tahoma, "IRANSans", "Segoe UI", Arial, sans-serif;
}

body.mahak-home-premium-page .mahak-home-premium a,
body.mahak-home-premium-page .mahak-home-premium a:where(:link, :visited, :hover, :focus, :active) {
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline-offset: 4px;
}

body.mahak-home-premium-page .mahak-home-premium button,
body.mahak-home-premium-page .mahak-home-premium input[type="button"],
body.mahak-home-premium-page .mahak-home-premium input[type="submit"],
body.mahak-home-premium-page .mahak-home-premium .btn,
body.mahak-home-premium-page .mahak-home-premium a.btn,
body.mahak-home-premium-page .mahak-home-premium .icon-btn,
body.mahak-home-premium-page .mahak-home-premium .menu-toggle,
body.mahak-home-premium-page .mahak-home-premium .product-card__button,
body.mahak-home-premium-page .mahak-home-premium .product-card__fav {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: "YekanBakh", Tahoma, "IRANSans", "Segoe UI", Arial, sans-serif !important;
  text-decoration: none !important;
  box-shadow: none;
  cursor: pointer !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn,
body.mahak-home-premium-page .mahak-home-premium a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  border: 1px solid transparent !important;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--primary,
body.mahak-home-premium-page .mahak-home-premium .product-card .btn--cart {
  background: linear-gradient(135deg, #767724, #63651c) !important;
  color: #ffffff !important;
  border-color: rgba(118,119,36,.22) !important;
  box-shadow: 0 10px 24px rgba(99,101,28,.20) !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--primary:hover,
body.mahak-home-premium-page .mahak-home-premium .product-card .btn--cart:hover {
  background: linear-gradient(135deg, #85862c, #555719) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(99,101,28,.26) !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--primary:active,
body.mahak-home-premium-page .mahak-home-premium .product-card .btn--cart:active {
  transform: translateY(0) !important;
  box-shadow: 0 8px 18px rgba(99,101,28,.20) !important;
}

body.mahak-home-premium-page .mahak-home-premium .product-card .btn--cart.is-added {
  background: linear-gradient(135deg, #4f6f28, #3f5c20) !important;
  color: #ffffff !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--ghost,
body.mahak-home-premium-page .mahak-home-premium a.btn--ghost {
  background: #fffdf8 !important;
  color: var(--color-text) !important;
  border-color: var(--color-border) !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--ghost:hover,
body.mahak-home-premium-page .mahak-home-premium a.btn--ghost:hover {
  background: var(--color-cream) !important;
  color: var(--color-primary-dark) !important;
  border-color: #d8ccba !important;
  transform: translateY(-1px) !important;
}

body.mahak-home-premium-page .mahak-home-premium .btn--text,
body.mahak-home-premium-page .mahak-home-premium a.btn--text,
body.mahak-home-premium-page .mahak-home-premium .primary-nav a:hover,
body.mahak-home-premium-page .mahak-home-premium .primary-nav a.is-active,
body.mahak-home-premium-page .mahak-home-premium .footer-col a:hover {
  color: var(--color-primary) !important;
}

body.mahak-home-premium-page .mahak-home-premium .primary-nav a,
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a,
body.mahak-home-premium-page .mahak-home-premium .footer-col a,
body.mahak-home-premium-page .mahak-home-premium .category-card,
body.mahak-home-premium-page .mahak-home-premium .brand {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Header utility buttons must never inherit Hello/Elementor button styles. */
body.mahak-home-premium-page .mahak-home-premium .icon-btn,
body.mahak-home-premium-page .mahak-home-premium .menu-toggle {
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  line-height: 1 !important;
}

body.mahak-home-premium-page .mahak-home-premium .icon-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: var(--color-text) !important;
  transition: background .2s ease, color .2s ease, transform .2s ease !important;
}

body.mahak-home-premium-page .mahak-home-premium .icon-btn:hover {
  background: var(--color-cream) !important;
  color: var(--color-primary) !important;
  transform: translateY(-1px) !important;
}

body.mahak-home-premium-page .mahak-home-premium .icon-btn--cart {
  background: linear-gradient(135deg, #fff9ea, #f2e7cf) !important;
  color: #5f5d1c !important;
  box-shadow: inset 0 0 0 1px rgba(145,133,21,.16) !important;
}

body.mahak-home-premium-page .mahak-home-premium .icon-btn--cart:hover {
  background: linear-gradient(135deg, #767724, #63651c) !important;
  color: #ffffff !important;
}

body.mahak-home-premium-page .mahak-home-premium .cart-badge {
  background: linear-gradient(135deg, #767724, #63651c) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.mahak-home-premium-page .mahak-home-premium .menu-toggle {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: none !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: linear-gradient(135deg, #fff9ea, #f2e7cf) !important;
  color: #504d19 !important;
  box-shadow: inset 0 0 0 1px rgba(145,133,21,.15) !important;
}

body.mahak-home-premium-page .mahak-home-premium .menu-toggle span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

/* Hero dots: force correct visual state. */
body.mahak-home-premium-page .mahak-home-premium .hero-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 20px !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 7px 9px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(235,226,214,.74) !important;
  box-shadow: 0 10px 24px rgba(53,42,28,.08) !important;
  backdrop-filter: blur(10px) !important;
  z-index: 8 !important;
}

body.mahak-home-premium-page .mahak-home-premium .hero-dots .dot {
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 8px !important;
  height: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(123,113,103,.38) !important;
  box-shadow: none !important;
  transition: width .22s ease, background .22s ease, transform .22s ease !important;
}

body.mahak-home-premium-page .mahak-home-premium .hero-dots .dot.is-active,
body.mahak-home-premium-page .mahak-home-premium .hero-dots .dot[aria-selected="true"] {
  width: 24px !important;
  background: linear-gradient(135deg, #767724, #63651c) !important;
}

/* Featured product buttons: use one premium olive CTA system. */
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--primary,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--green,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--gold {
  background: linear-gradient(135deg, #767724, #63651c) !important;
  color: #ffffff !important;
  border: 1px solid rgba(118,119,36,.25) !important;
  box-shadow: 0 10px 24px rgba(99,101,28,.20) !important;
}

body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--primary:hover,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--green:hover,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--gold:hover,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--primary.is-added,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--green.is-added,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--gold.is-added {
  background: linear-gradient(135deg, #85862c, #555719) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(99,101,28,.26) !important;
}

body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--secondary,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--outline-green {
  background: #fffdf8 !important;
  color: #60621e !important;
  border: 1.5px solid rgba(118,119,36,.44) !important;
  box-shadow: 0 8px 18px rgba(86,73,30,.06) !important;
}

body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--secondary:hover,
body.mahak-home-premium-page .mahak-home-premium .featured-product-section .product-card__button--outline-green:hover {
  background: #f8f3e5 !important;
  color: #4f5118 !important;
  border-color: rgba(99,101,28,.66) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 991px) {
  body.mahak-home-premium-page .mahak-home-premium .menu-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  body.mahak-home-premium-page.mahak-mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  body.mahak-home-premium-page .mahak-home-premium .site-header {
    z-index: 9998 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(43,39,35,.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
    z-index: 9996;
    backdrop-filter: blur(3px);
  }

  body.mahak-home-premium-page.mahak-mobile-menu-open .mahak-home-premium .site-header::after {
    opacity: 1;
    pointer-events: auto;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(84vw, 340px) !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 86px 18px 22px !important;
    border: 0 !important;
    border-left: 1px solid rgba(235,226,214,.86) !important;
    border-radius: 28px 0 0 28px !important;
    background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%) !important;
    box-shadow: -24px 0 70px rgba(43,39,35,.20) !important;
    transform: translateX(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .22s ease, visibility .22s ease !important;
    z-index: 9997 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer.is-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::before {
    content: "ماهک";
    position: absolute;
    top: 24px;
    right: 20px;
    font-size: 18px;
    font-weight: 900;
    color: var(--color-text);
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::after {
    content: "منوی دسترسی سریع";
    position: absolute;
    top: 52px;
    right: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted);
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer ul {
    display: grid !important;
    gap: 8px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 13px 14px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.68) !important;
    border: 1px solid rgba(235,226,214,.72) !important;
    color: var(--color-text) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: .45;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a:hover,
  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a.is-active {
    background: linear-gradient(135deg, rgba(118,119,36,.12), rgba(99,101,28,.08)) !important;
    color: #62631c !important;
    border-color: rgba(118,119,36,.26) !important;
    transform: translateX(-2px) !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle[aria-expanded="true"] {
    position: relative !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #767724, #63651c) !important;
    color: #ffffff !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .product-card {
    min-width: 0 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .product-card .btn--cart {
    min-height: 40px !important;
    padding: 10px 8px !important;
    font-size: 11.5px !important;
    border-radius: 11px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--masala,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--turmeric,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--saffron {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid > .product-card {
    min-width: 0 !important;
    border-radius: 16px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card--turmeric {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    gap: 8px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__media--masala,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__media--saffron,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__media--turmeric {
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__body--masala,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card--saffron,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__body--turmeric {
    padding: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__head--masala {
    grid-template-columns: 1fr !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__brandmark,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__stamp,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__stars,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__fav--square,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__fav--circle,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__pill,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__shipping,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__stock {
    display: none !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__title,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__body--masala .product-card__title,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__body--turmeric .product-card__title,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card--saffron .product-card__title {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    letter-spacing: -.03em !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__subtitle,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__body--turmeric .product-card__subtitle,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__meta {
    font-size: 10.5px !important;
    line-height: 1.55 !important;
    margin-top: 4px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__solid-divider,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__dashed-divider,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__lux-divider {
    margin: 8px 0 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__price span,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__sale-price span,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__price--saffron span {
    font-size: 17px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__price small,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__sale-price small,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__price--saffron small {
    font-size: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__discount,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__old-price,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__rating-text {
    font-size: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__actions--masala,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__actions--turmeric {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding-top: 8px !important;
    margin-top: auto !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__actions--masala .product-card__button--secondary,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__actions--turmeric .product-card__button--outline-green {
    display: none !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__button--primary,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__button--green,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__button--gold {
    width: 100% !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 8px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
    gap: 5px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid .product-card__button svg {
    font-size: 13px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
    align-items: start !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-brand {
    grid-column: 1 / -1 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-col {
    min-width: 0 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-col h4 {
    font-size: 13.5px !important;
    margin-bottom: 12px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-col ul {
    gap: 7px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .footer-col a {
    display: inline-flex !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: rgba(43,39,35,.76) !important;
  }
}

@media (max-width: 389px) {
  body.mahak-home-premium-page .mahak-home-premium .product-grid,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--masala,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--turmeric,
  body.mahak-home-premium-page .mahak-home-premium .featured-product-section__grid--saffron,
  body.mahak-home-premium-page .mahak-home-premium .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}





/* ============================================================
   PYM hotfix v1.0.2 — compact mobile header + safe sidebar close
   Fixes 390px and smaller Safari/device-preview header wrapping.
   Put this block at the VERY END of assets/css/home-premium.css
   ============================================================ */
@media (max-width: 430px) {
  body.mahak-home-premium-page .mahak-home-premium .site-header .container {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .site-header .header-inner {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin-top: 10px !important;
    border-radius: 18px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    max-width: calc(100% - 150px) !important;
    gap: 7px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-mark {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 12px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-mark svg {
    width: 22px !important;
    height: 22px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-name {
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-tagline {
    font-size: 9px !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .header-utilities {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .header-utilities .icon-btn:not(.icon-btn--cart) {
    display: none !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle,
  body.mahak-home-premium-page .mahak-home-premium .icon-btn,
  body.mahak-home-premium-page .mahak-home-premium .icon-btn--cart {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    flex: 0 0 36px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle {
    border-radius: 12px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle span {
    width: 16px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .icon-btn svg,
  body.mahak-home-premium-page .mahak-home-premium .icon-btn--cart svg {
    width: 18px !important;
    height: 18px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .cart-badge {
    top: -3px !important;
    left: -3px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 389px) {
  body.mahak-home-premium-page .mahak-home-premium .site-header .container {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .site-header .header-inner {
    gap: 5px !important;
    padding: 8px !important;
    border-radius: 16px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand {
    max-width: calc(100% - 136px) !important;
    gap: 6px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-mark {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-name {
    font-size: 13px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .brand-tagline {
    display: none !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .header-utilities {
    gap: 3px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle,
  body.mahak-home-premium-page .mahak-home-premium .icon-btn,
  body.mahak-home-premium-page .mahak-home-premium .icon-btn--cart {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    flex-basis: 34px !important;
  }
}

@media (max-width: 767px) {
  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer {
    width: min(82vw, 320px) !important;
    max-width: calc(100vw - 56px) !important;
    padding-top: 88px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::before {
    top: 26px !important;
    right: 22px !important;
    left: 76px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::after {
    top: 54px !important;
    right: 22px !important;
    left: 76px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle[aria-expanded="true"] {
    position: fixed !important;
    top: calc(22px + env(safe-area-inset-top, 0px)) !important;
    right: 22px !important;
    z-index: 10005 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #767724, #63651c) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(43,39,35,.18) !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle[aria-expanded="true"] span {
    width: 18px !important;
  }
}

@media (max-width: 389px) {
  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer {
    width: min(80vw, 302px) !important;
    max-width: calc(100vw - 58px) !important;
    border-radius: 24px 0 0 24px !important;
    padding: 84px 14px 18px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::before {
    top: 22px !important;
    right: 18px !important;
    left: 68px !important;
    font-size: 17px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer::after {
    top: 49px !important;
    right: 18px !important;
    left: 68px !important;
    font-size: 10.5px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .menu-toggle[aria-expanded="true"] {
    top: calc(20px + env(safe-area-inset-top, 0px)) !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  body.mahak-home-premium-page .mahak-home-premium .mobile-drawer a {
    min-height: 46px !important;
    padding: 12px 12px !important;
    font-size: 13.5px !important;
  }
}

/* ===============================
   Mobile sidebar close button — v2 (اصولی)
   - بدون تغییر position روی mobile-drawer (fixed باقی می‌ماند)
   - header menu-toggle وقتی drawer باز است مخفی می‌شود
   - close-drawer فقط داخل drawer دیده می‌شود
   =============================== */

/* ۱) مخفی کردن دکمه همبرگر در هدر وقتی drawer باز است
      (هم حالت fixed هاتفیکس و هم حالت relative scoped را override می‌کند) */
body.mahak-home-premium-page .mahak-home-premium .header-utilities .menu-toggle[aria-expanded="true"] {
    display: none !important;
}

/* ۲) دکمه بستن داخل drawer
      mobile-drawer خودش position:fixed است → absolute فرزند نسبت به آن قرار می‌گیرد */
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: linear-gradient(135deg, #767724, #63651c) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    border: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(102,100,28,.28) !important;
    transition: opacity .2s ease !important;
    flex: unset !important;
    min-width: unset !important;
    max-width: unset !important;
}
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer:hover {
    opacity: .88 !important;
}

/* Spans — همیشه در حالت X (چون فقط داخل drawer باز نشان داده می‌شود) */
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer span {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    transition: none !important;
}
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer span:nth-child(2) {
    opacity: 0 !important;
    width: 0 !important;
}
body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* ۳) گوشی‌های خیلی کوچک */
@media (max-width: 389px) {
    body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer {
        top: 10px !important;
        left: 10px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
    }
    body.mahak-home-premium-page .mahak-home-premium .mobile-drawer .close-drawer span {
        width: 14px !important;
    }
}