/* Shayan Lumen — visual polish layer (loads after classic.css + classic-shop.css) */

/* ---------- Self-hosted font (replaces Google Fonts) ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --surface: #f4f7f5;
  --line: #e3eae6;
  --ring: 0 0 0 1px rgba(20, 42, 41, .05);
  --shadow: 0 10px 30px rgba(22, 53, 48, .07);
  --shadow-hover: 0 22px 50px rgba(13, 80, 72, .14), 0 2px 6px rgba(20, 42, 41, .04);
  --glow-accent: 0 10px 28px rgba(242, 182, 65, .32);
}

body {
  font-feature-settings: "ss01";
  background:
    radial-gradient(900px 480px at 100% -80px, rgba(13, 119, 109, .07), transparent 70%),
    radial-gradient(700px 420px at 0% 340px, rgba(242, 182, 65, .06), transparent 70%),
    var(--surface);
  background-repeat: no-repeat;
}

/* ---------- Readability: lift the tiny type ---------- */
.brand-copy small { font-size: 11px; letter-spacing: .6px; }
.topbar { font-size: 12.5px; }
.eyebrow { font-size: 12.5px; }
.benefits h3 { font-size: 13.5px; }
.benefits p { font-size: 11.5px; }
.section-heading p { font-size: 13.5px; }
.button { font-size: 13.5px; min-height: 48px; }
.hero-checks { font-size: 12.5px; }
.hero-content > p { font-size: 15.5px; }
.filter-tabs button { font-size: 13px; padding: 9px 18px; border-radius: 999px; }
.faq-list summary { font-size: 14px; }
.faq-list details p { font-size: 13px; }
.faq-intro p { font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid rgba(20, 42, 41, .05); }
.search-box { background: #eff4f1; border-color: transparent; }
.search-box:focus-within { box-shadow: 0 0 0 4px rgba(13, 119, 109, .1); }

/* ---------- Hero ---------- */
.hero { border-radius: 32px; box-shadow: 0 30px 70px rgba(12, 36, 38, .22); }
.hero-shade {
  background:
    radial-gradient(520px 320px at 78% 8%, rgba(242, 182, 65, .12), transparent 70%),
    linear-gradient(90deg, rgba(7, 24, 29, .99) 0%, rgba(7, 24, 29, .93) 30%, rgba(7, 24, 29, .5) 55%, rgba(7, 24, 29, .02) 82%);
}
.hero h1 { letter-spacing: -1.5px; text-wrap: balance; }
.hero h1 em {
  background: linear-gradient(100deg, #ffd27a 0%, #f2b641 55%, #e49a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.button-accent { box-shadow: var(--glow-accent); }
.button-accent:hover { box-shadow: 0 14px 34px rgba(242, 182, 65, .42); }
.button-ghost { backdrop-filter: blur(6px); }

/* ---------- Benefits strip ---------- */
.benefits { border-radius: 24px; box-shadow: var(--shadow); border-color: transparent; }
.benefit-icon { transition: transform .3s var(--ease-3d), background .3s, color .3s; }
.benefits article:hover .benefit-icon { transform: translateY(-3px) rotate(-4deg); color: white; background: var(--primary); }

/* ---------- Section headings ---------- */
.section-heading h2, .about-content h2, .faq-intro h2 { text-wrap: balance; }
.eyebrow > span { width: 28px; background: linear-gradient(90deg, currentColor, transparent); }

/* ---------- Category cards ---------- */
.category-card { border-radius: 22px; border-color: transparent; box-shadow: var(--ring), 0 4px 14px rgba(22, 53, 48, .04); }
.category-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.category-card strong { font-size: 14.5px; }
.category-card small { font-size: 11.5px; }

/* ---------- Product cards ---------- */
.product-grid { gap: 22px; }
.product-card {
  border-radius: 24px;
  border-color: transparent;
  box-shadow: var(--ring), 0 4px 14px rgba(22, 53, 48, .04);
  transition: transform .35s var(--ease-3d), box-shadow .35s var(--ease-3d);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.product-media { height: 250px; margin: 8px 8px 0; border-radius: 17px; background: linear-gradient(160deg, #f0f2ef, #e4e8e4); }
.product-badge {
  top: 12px; right: 12px; padding: 5px 11px; font-size: 11px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(242, 182, 65, .35);
}
.product-body { padding: 16px 18px 18px; }
.product-category { font-size: 11.5px; letter-spacing: .1px; }
.product-title { min-height: 50px; font-size: 14.5px; line-height: 1.85; }
.product-spec { font-size: 11.5px; margin: 4px 0 14px; }
.product-price { padding-top: 14px; align-items: center; }
.current-price { font-size: 19px; }
.current-price small { font-size: 11px; }
.price-wrap del, .price-wrap .old-price { font-size: 11.5px; color: var(--muted); }
.add-to-cart {
  min-height: 42px; padding: 8px 15px; font-size: 12.5px; font-weight: 800; border-radius: 12px;
  box-shadow: 0 8px 18px rgba(13, 119, 109, .22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.add-to-cart:hover { box-shadow: 0 12px 24px rgba(13, 119, 109, .3); }
.add-to-cart:active { transform: scale(.97); }
.quick-view { font-size: 12px; padding: 8px 15px; border-radius: 999px; }

/* ---------- CTA / project / about ---------- */
.bottom-cta { border-radius: 26px; background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #14917f); box-shadow: 0 24px 50px rgba(13, 119, 109, .25); }
.faq-list details { border-radius: 18px; border-color: transparent; box-shadow: var(--ring); transition: box-shadow .25s; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { padding-block: 20px; }
.faq-list summary:hover { color: var(--primary); }

/* ---------- Scroll reveal (enabled only when JS adds .js-reveal) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-3d), transform .7s var(--ease-3d); transition-delay: var(--reveal-delay, 0ms); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.js-reveal .product-card[data-reveal].is-visible:hover { transform: translateY(-7px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero-content { width: 100%; padding: 44px 26px 40px; }
  .hero-content > p { font-size: 14.5px; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 24, 29, .86) 0%, rgba(7, 24, 29, .78) 55%, rgba(7, 24, 29, .55) 100%); }
  .product-media { height: 210px; }
}
@media (max-width: 580px) {
  .hero { border-radius: 24px; min-height: 0; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-actions .button { flex: 1 1 100%; }
  .product-grid { gap: 12px; }
  .product-media { height: 160px; margin: 6px 6px 0; border-radius: 14px; }
  .product-body { padding: 12px; }
  .product-title { font-size: 13px; min-height: 46px; }
  .product-price { flex-direction: column; align-items: stretch; gap: 10px; }
  .add-to-cart { justify-content: center; }
  .current-price { font-size: 16px; }
  .benefits { padding: 16px 4px; }
  .section { margin-top: 52px; }
}
