/* ── Vazirmatn @font-face ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --navy:       #1a1a2e;
  --navy-light: #22223f;
  --crimson:    #e94560;
  --crimson-dk: #c93050;
  --gold:       #ffd700;
  --white:      #ffffff;
  --gray-50:    #f8f9fa;
  --gray-100:   #f1f3f5;
  --gray-300:   #dee2e6;
  --gray-500:   #adb5bd;
  --gray-700:   #495057;
  --gray-900:   #212529;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);
  --shadow-card:0 2px 12px rgba(26,26,46,.10);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --fs-xs:  .75rem;
  --fs-sm:  .875rem;
  --fs-base:1rem;
  --fs-md:  1.125rem;
  --fs-lg:  1.25rem;
  --fs-xl:  1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;

  --max-w: 1200px;
  --section-py: 80px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', sans-serif;
  font-size: var(--fs-base);
  color: var(--gray-900);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
svg { display: block; flex-shrink: 0; }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border: 2px solid var(--crimson);
}
.btn-primary:hover { background: var(--crimson-dk); border-color: var(--crimson-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(233,69,96,.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-sm { padding: .5rem 1.25rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; justify-content: center; }

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 68px;
}
.navbar__logo {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-inline-start: 0;
  flex-shrink: 0;
}
.navbar__logo span { color: var(--crimson); }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-inline-start: auto;
}
.navbar__nav a {
  color: rgba(255,255,255,.82);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: all .18s;
}
.navbar__nav a:hover,
.navbar__nav a.active { color: var(--white); background: rgba(255,255,255,.1); }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-inline-start: 1rem;
}
.navbar__cart-btn {
  position: relative;
  color: rgba(255,255,255,.88);
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  transition: background .18s;
}
.navbar__cart-btn:hover { background: rgba(255,255,255,.1); }
.cart-badge {
  position: absolute;
  top: 0; inset-inline-end: 0;
  background: var(--crimson);
  color: var(--white);
  font-size: .625rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(25%, -25%);
}
.navbar__burger {
  display: none;
  color: var(--white);
  padding: .4rem;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f20 0%, #1a1a2e 50%, #22223f 100%);
}
.hero__bg-img {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 45%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  filter: blur(1px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 3rem;
  align-items: center;
  padding-block: 80px;
}
.hero__content { }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(233,69,96,.18);
  border: 1px solid rgba(233,69,96,.35);
  color: var(--crimson);
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: .35rem 1rem;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--crimson);
}
.hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.82);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: .35rem .875rem;
}
.trust-pill svg { color: var(--gold); }
.hero__image-col {
  position: relative;
}
.hero__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  aspect-ratio: 4/3;
  position: relative;
}
.hero__photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}
.hero__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__accent-card {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-end: -1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}
.hero__accent-card .label { font-size: var(--fs-xs); color: var(--gray-700); margin-bottom: .25rem; }
.hero__accent-card .value { font-size: var(--fs-lg); font-weight: 700; color: var(--navy); }
.hero__accent-card .sub { font-size: var(--fs-xs); color: var(--gray-500); }

/* ── FEATURES STRIP ──────────────────────────────────────────────────────── */
.features {
  background: var(--white);
  padding-block: 3rem;
  box-shadow: 0 -4px 0 var(--gray-100);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card__icon {
  width: 48px; height: 48px;
  background: rgba(233,69,96,.09);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--crimson);
  flex-shrink: 0;
}
.feature-card__text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .15rem;
}
.feature-card__text span {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* ── SECTION HEADER ─────────────────────────────────────────────────────── */
.section-header { margin-bottom: 2.5rem; }
.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--crimson);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: .5rem;
}
.section-header__label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--crimson);
  border-radius: 2px;
}
.section-header h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.section-header p {
  font-size: var(--fs-base);
  color: var(--gray-700);
}

/* ── PRODUCTS ────────────────────────────────────────────────────────────── */
.products { background: var(--gray-50); padding-block: var(--section-py); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card__img {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: .75rem;
  inset-inline-start: .75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
}
.product-card__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-bottom: .35rem;
}
.product-card__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: .75rem;
  flex: 1;
}
.product-card__pricing {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
}
.product-card__price {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--crimson);
}
.product-card__price-old {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  text-decoration: line-through;
}

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about {
  background: var(--navy);
  padding-block: var(--section-py);
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 4rem;
  align-items: center;
}
.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,.4);
  aspect-ratio: 4/3;
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__content { }
.about__label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(233,69,96,.18);
  border: 1px solid rgba(233,69,96,.35);
  color: var(--crimson);
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: .35rem 1rem;
  margin-bottom: 1.25rem;
}
.about__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.about__text {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.about__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.about__stat-val {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.about__stat-lbl {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */
.testimonials { background: var(--gray-50); padding-block: var(--section-py); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-card__stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.testimonial-card__text {
  font-size: var(--fs-sm);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--crimson), var(--navy));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
}
.testimonial-card__role { font-size: var(--fs-xs); color: var(--gray-500); }

/* ── CONTACT STRIP ───────────────────────────────────────────────────────── */
.contact-strip {
  background: var(--crimson);
  padding-block: var(--section-py);
}
.contact-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-strip__info h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-strip__info p {
  color: rgba(255,255,255,.82);
  margin-bottom: 1.5rem;
}
.contact-strip__phone {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
  direction: ltr;
}
.contact-strip__form {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.form-field input,
.form-field textarea {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  color: var(--white);
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color .18s, background .18s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.5); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.2);
}
.btn-white {
  background: var(--white);
  color: var(--crimson);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--gray-50); }

/* ── GALLERY STRIP ───────────────────────────────────────────────────────── */
.gallery { background: var(--white); padding-block: var(--section-py); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.gallery__item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.06); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand-logo {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .875rem;
}
.footer__brand-logo span { color: var(--crimson); }
.footer__brand-desc {
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.footer__social {
  display: flex;
  gap: .625rem;
}
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.72);
  transition: background .18s, color .18s;
}
.footer__social a:hover { background: var(--crimson); color: var(--white); }
.footer__col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  transition: color .18s;
}
.footer__links a:hover { color: var(--white); }
.footer__badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.trust-badge {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  text-align: center;
  line-height: 1.3;
  padding: .5rem;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: var(--fs-xs);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { color: rgba(255,255,255,.45); }
.footer__phone { direction: ltr; color: rgba(255,255,255,.65); }

/* ── BREADCRUMB ─────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding-block: .875rem;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--fs-sm);
  color: var(--gray-500);
}
.breadcrumb__list a { color: var(--gray-700); transition: color .18s; }
.breadcrumb__list a:hover { color: var(--crimson); }
.breadcrumb__sep { color: var(--gray-300); font-size: var(--fs-xs); }

/* ── PAGE HEADER ─────────────────────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding-block: 3rem;
  text-align: center;
}
.page-header h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}
.page-header p { color: rgba(255,255,255,.65); font-size: var(--fs-base); }

/* ── ALERT ───────────────────────────────────────────────────────────────── */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-bottom: 1rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── FLASH NOTICE ────────────────────────────────────────────────────────── */
.flash { padding: 1rem; text-align: center; font-size: var(--fs-sm); font-weight: 600; }

/* ── FORMS ───────────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  direction: rtl;
}
.form-input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(233,69,96,.12);
}
.form-label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--gray-700); margin-bottom: .375rem; }

/* ── SHOP/CATALOG ────────────────────────────────────────────────────────── */
.shop-page { padding-block: var(--section-py); background: var(--gray-50); }
.shop-sidebar { }
.shop-sidebar__section { margin-bottom: 2rem; }
.shop-sidebar__section h3 { font-size: var(--fs-base); font-weight: 700; color: var(--navy); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--crimson); }
.cat-filter { display: flex; flex-direction: column; gap: .4rem; }
.cat-filter__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  transition: background .15s, color .15s;
}
.cat-filter__item:hover,
.cat-filter__item.active { background: rgba(233,69,96,.09); color: var(--crimson); font-weight: 600; }
.cat-filter__count { font-size: var(--fs-xs); background: var(--gray-100); color: var(--gray-500); padding: .1rem .5rem; border-radius: 100px; }

/* ── CART ────────────────────────────────────────────────────────────────── */
.cart-page { padding-block: var(--section-py); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: .875rem 1rem; font-size: var(--fs-sm); font-weight: 700; color: var(--navy); background: var(--gray-50); border-bottom: 2px solid var(--gray-200); text-align: right; }
.cart-table td { padding: 1rem; border-bottom: 1px solid var(--gray-100); font-size: var(--fs-sm); vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); }
.cart-summary__row { display: flex; justify-content: space-between; padding: .625rem 0; font-size: var(--fs-sm); border-bottom: 1px solid var(--gray-100); }
.cart-summary__row:last-of-type { border-bottom: none; }
.cart-summary__total { font-size: var(--fs-lg); font-weight: 700; color: var(--navy); }

/* ── AUTH PAGES ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 68px);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
}
.auth-card h1 {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .375rem;
  text-align: center;
}
.auth-card__subtitle { font-size: var(--fs-sm); color: var(--gray-500); text-align: center; margin-bottom: 2rem; }

/* ── BLOG ────────────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 1.25rem; }
.blog-card__cat { font-size: var(--fs-xs); color: var(--crimson); font-weight: 600; margin-bottom: .375rem; }
.blog-card__title { font-size: var(--fs-base); font-weight: 700; color: var(--navy); margin-bottom: .5rem; line-height: 1.45; }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--gray-700); line-height: 1.65; }
.blog-card__meta { display: flex; align-items: center; gap: .75rem; margin-top: .875rem; font-size: var(--fs-xs); color: var(--gray-500); }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.not-found {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
}
.not-found h1 { font-size: 6rem; font-weight: 800; color: var(--crimson); line-height: 1; margin-bottom: 1rem; }
.not-found h2 { font-size: var(--fs-xl); font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.not-found p { color: var(--gray-500); margin-bottom: 2rem; }

/* ── MOBILE MENU ─────────────────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.mobile-menu__panel {
  position: absolute;
  top: 0; inset-inline-end: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--navy);
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu__close {
  align-self: flex-end;
  color: var(--white);
  padding: .5rem;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu__nav a {
  color: rgba(255,255,255,.82);
  font-size: var(--fs-base);
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
  display: block;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a.active { background: rgba(255,255,255,.1); color: var(--white); }
.mobile-menu.is-open { display: block; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 48px; }
  .navbar__nav { display: none; }
  .navbar__burger { display: flex; margin-inline-start: auto; }
  .navbar__actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 48px; }
  .hero__image-col { display: none; }
  .hero__subtitle { max-width: 100%; }
  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__image { order: -1; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact-strip__inner { grid-template-columns: 1fr; gap: 2rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 390px) {
  .container { padding-inline: 1rem; }
  .hero__trust { flex-direction: column; }
  .about__stats { gap: 1.25rem; }
}

/* ── PRODUCT DETAIL ──────────────────────────────────────────────────────── */
.product-section {
  background: var(--gray-50);
  padding-block: var(--section-py);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: .875rem; }
.product-gallery__main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-gallery__main:hover img { transform: scale(1.04); }
.product-gallery__badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 100px;
  z-index: 1;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .625rem;
}
.product-gallery__thumb {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--white);
  padding: 0;
  transition: border-color .18s;
}
.product-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-gallery__thumb:hover { border-color: var(--gray-500); }
.product-gallery__thumb:hover img { transform: scale(1.08); }
.product-gallery__thumb.is-active { border-color: var(--crimson); }

/* Product info panel */
.product-info { }
.product-info__cat {
  font-size: var(--fs-xs);
  color: var(--crimson);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.product-info__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.product-info__pricing {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.product-info__price {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--crimson);
}
.product-info__price-old {
  font-size: var(--fs-base);
  color: var(--gray-500);
  text-decoration: line-through;
}
.product-info__discount-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 100px;
}
.product-info__desc {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-size: var(--fs-sm);
}
.product-form-group { margin-bottom: 1.25rem; }

/* Size selector */
.size-selector {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.size-btn {
  cursor: pointer;
}
.size-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.size-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .18s, background .18s, color .18s;
  user-select: none;
}
.size-btn:hover span {
  border-color: var(--navy);
  color: var(--navy);
}
.size-btn input[type="radio"]:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.size-btn input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

/* Qty stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: .5rem;
}
.qty-btn {
  width: 40px; height: 42px;
  background: var(--gray-50);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  border: none;
  transition: background .18s;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--gray-100); }
.qty-input {
  width: 64px;
  text-align: center;
  border: none;
  border-inline: 1.5px solid var(--gray-300);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy);
  height: 42px;
  outline: none;
  background: var(--white);
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Trust bullets */
.product-trust {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.product-trust div {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--gray-700);
}

/* Responsive */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: .375rem; }
  .product-info__title { font-size: var(--fs-xl); }
}
