/* ── Vazirmatn ──────────────────────────────────────────────────────────────── */
@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-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --navy:       #1A1A2E;
  --navy-light: #252545;
  --navy-muted: #2e2e52;
  --rose:       #E94560;
  --rose-dark:  #c73650;
  --rose-light: #ff6b84;
  --off-white:  #F7F7F7;
  --white:      #ffffff;
  --grey-50:    #f4f4f6;
  --grey-100:   #e8e8ee;
  --grey-200:   #d1d1de;
  --grey-400:   #9494b0;
  --grey-600:   #5a5a7a;
  --text-main:  #1a1a2e;
  --text-muted: #6b6b8a;

  --shadow-sm:  0 1px 4px rgba(26,26,46,.08);
  --shadow-md:  0 4px 16px rgba(26,26,46,.12);
  --shadow-lg:  0 8px 32px rgba(26,26,46,.16);
  --shadow-xl:  0 16px 48px rgba(26,26,46,.22);
  --shadow-rose: 0 4px 18px rgba(233,69,96,.30);

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

  --transition: .22s cubic-bezier(.4,0,.2,1);
  --font: 'Vazirmatn', Tahoma, Arial, sans-serif;

  --container: 1240px;
  --nav-h: 70px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--white);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font); }
ul { list-style: none; }
svg { flex-shrink: 0; }

/* ── Container ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo:hover { opacity: .85; }
.logo-fa {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.logo-lat {
  font-size: .65rem;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.main-nav ul li a {
  display: block;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.main-nav ul li a.active { color: var(--rose); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.86);
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem .65rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header-phone:hover { color: var(--white); background: rgba(255,255,255,.1); }
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.icon-btn:hover { color: var(--white); background: rgba(255,255,255,.1); }
.cart-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--rose);
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hamburger { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .55;
}
.image-blur-theme {
  filter: blur(2.5px) saturate(1.04);
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,46,.92) 45%, rgba(26,26,46,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 5rem 0 4rem;
}
.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(--rose-light);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.hero-title em {
  font-style: normal;
  color: var(--rose);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-rose {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
  box-shadow: var(--shadow-rose);
}
.btn-rose:hover { background: var(--rose-dark); border-color: var(--rose-dark); box-shadow: 0 6px 24px rgba(233,69,96,.40); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-outline-rose {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline-rose:hover { background: var(--rose); color: var(--white); box-shadow: var(--shadow-rose); }
.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-full { width: 100%; }

/* ── Section base ───────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-grey { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: .5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }

/* ── Buying notes ───────────────────────────────────────────────────────────── */
.buying-notes-section {
  background: var(--white);
}
.buying-notes-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: .85rem;
  list-style: none;
  counter-reset: none;
}
.buying-notes-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  line-height: 1.95;
}
.buying-note-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(233,69,96,.12);
  color: var(--rose);
  font-weight: 700;
  line-height: 1;
}

/* ── Category strip ─────────────────────────────────────────────────────────── */
.cat-strip { padding: 3.5rem 0; }
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,26,46,.85) 0%, rgba(26,26,46,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  gap: .5rem;
}
.cat-card-label {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.cat-card-count {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.cat-card-btn {
  margin-top: .5rem;
  padding: .4rem 1.1rem;
  background: var(--rose);
  color: var(--white);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.cat-card:hover .cat-card-btn { background: var(--rose-dark); transform: translateY(-1px); }

/* ── Product grid ───────────────────────────────────────────────────────────── */
.products-section { background: var(--off-white); }
.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-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--grey-50);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--rose);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
}
.product-card-body {
  padding: 1.1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.product-card-name {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: .5rem;
  flex: 1;
}
.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .9rem;
}
.product-card-price span { font-size: .78rem; font-weight: 400; color: var(--text-muted); }
.product-card-add {
  width: 100%;
  padding: .6rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: background var(--transition), transform var(--transition);
}
.product-card-add:hover { background: var(--rose); transform: translateY(-1px); }

/* ── Custom order section ───────────────────────────────────────────────────── */
.custom-order-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.custom-order-section::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(233,69,96,.15) 0%, transparent 70%);
  pointer-events: none;
}
.custom-order-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.custom-order-img-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.custom-order-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.custom-order-content { color: var(--white); }
.custom-order-content .section-eyebrow { margin-bottom: .75rem; }
.custom-order-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.custom-order-content p {
  color: rgba(255,255,255,.72);
  font-size: .97rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.custom-order-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.spec-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.spec-item-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin-bottom: .2rem;
}
.spec-item-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}

/* ── Trust row ──────────────────────────────────────────────────────────────── */
.trust-section {
  background: var(--grey-50);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2rem 1rem;
}
.trust-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(233,69,96,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
}
.trust-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.trust-label {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Latest blog ────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--grey-50); }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-card-date { font-size: .75rem; color: var(--text-muted); }
.blog-card-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  flex: 1;
}
.blog-card:hover .blog-card-title { color: var(--rose); }
.blog-card-excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.blog-card-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .5rem;
  transition: gap var(--transition);
}
.blog-card:hover .blog-card-link { gap: .5rem; }

/* ── Section CTA banner ─────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--rose);
  text-align: center;
  padding: 4rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: .75rem; position: relative; z-index: 1; }
.cta-banner p { opacity: .9; margin-bottom: 1.75rem; position: relative; z-index: 1; }
.cta-banner .btn-outline-white { position: relative; z-index: 1; }

/* ── Page hero (inner pages) ────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 0;
  color: var(--white);
}
.page-hero-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .4rem; }
.page-hero-breadcrumb { font-size: .83rem; color: rgba(255,255,255,.55); display: flex; gap: .5rem; align-items: center; }
.page-hero-breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--rose); }
.page-hero-breadcrumb .sep { opacity: .4; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.footer-logo .logo-fa { font-size: 1.35rem; font-weight: 700; color: var(--white); }
.footer-logo .logo-lat { font-size: .68rem; font-weight: 500; color: var(--rose); letter-spacing: .12em; text-transform: uppercase; }
.footer-tagline { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-link:hover { background: var(--rose); color: var(--white); transform: translateY(-2px); }

.footer-heading {
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 0;
  width: 28px; height: 2px;
  background: var(--rose);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), padding-right var(--transition);
  display: inline-block;
}
.footer-links a:hover { color: var(--rose); padding-right: .25rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.5rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-list li svg { color: var(--rose); flex-shrink: 0; margin-top: .1rem; }
.footer-contact-list span[dir="ltr"] { direction: ltr; display: inline-block; }

.footer-trust-badges { display: flex; gap: 1rem; align-items: center; }
.enamad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.5);
  font-size: .68rem;
}
.enamad-placeholder svg { opacity: .7; }

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-credits strong { color: rgba(255,255,255,.7); }

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--text-main); }
.form-control {
  padding: .7rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  direction: rtl;
}
.form-control:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(233,69,96,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: .78rem; color: var(--text-muted); }
.form-error { font-size: .78rem; color: var(--rose); }

/* ── Alerts ──────────────────────────────────────────────────────────────────── */
.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.alert-success { background: #edf7ed; color: #1e6e22; border: 1px solid #b5deb6; }
.alert-error { background: #fdf1f3; color: #9c1d2c; border: 1px solid #f2b5bd; }
.alert-info { background: #e8f0fe; color: #1a3a8f; border: 1px solid #b8ccfa; }

/* ── Pagination ─────────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-200);
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.page-link:hover, .page-link.active { background: var(--rose); border-color: var(--rose); color: var(--white); }

/* ── Shop filter bar ────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── Admin styles ───────────────────────────────────────────────────────────── */
.admin-body { background: var(--grey-50); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--navy);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1rem;
}
.admin-sidebar-logo .logo-fa { font-size: 1.1rem; font-weight: 700; }
.admin-sidebar-logo .logo-lat { font-size: .62rem; color: var(--rose); letter-spacing: .12em; text-transform: uppercase; }
.admin-nav-group { margin-bottom: .5rem; }
.admin-nav-label {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .75rem 1.5rem .3rem;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
  border-right: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--white); background: rgba(255,255,255,.06); }
.admin-nav-item.active { color: var(--white); background: rgba(233,69,96,.15); border-right-color: var(--rose); }
.admin-main { flex: 1; display: flex; flex-direction: column; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar h1 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.admin-content { padding: 2rem; flex: 1; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.admin-card-title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(233,69,96,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  flex-shrink: 0;
}
.stat-icon.navy { background: rgba(26,26,46,.08); color: var(--navy); }
.stat-val { font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .2rem; }
.stat-label { font-size: .8rem; color: var(--text-muted); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: right;
  padding: .75rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-100);
  white-space: nowrap;
}
.data-table td {
  padding: .75rem 1rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--grey-50);
  color: var(--text-main);
}
.data-table tbody tr:hover { background: var(--grey-50); }
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
}
.badge-green { background: #edf7ed; color: #1e6e22; }
.badge-rose { background: #fdf1f3; color: #9c1d2c; }
.badge-yellow { background: #fef9e0; color: #7a6200; }
.badge-grey { background: var(--grey-100); color: var(--grey-600); }

/* Admin login page */
.admin-login-body {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}
.admin-login-logo { text-align: center; margin-bottom: 2rem; }
.admin-login-card h1 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.admin-login-card p { font-size: .85rem; color: var(--text-muted); }

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-rose { color: var(--rose); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone span { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1rem 0;
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0 1rem; }
  .main-nav ul li a { padding: .75rem 1rem; border-radius: var(--radius-sm); }

  .hero { min-height: 420px; }
  .hero-content { padding: 3rem 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .cat-grid { grid-template-columns: 1fr; }
  .custom-order-inner { grid-template-columns: 1fr; gap: 2rem; }
  .custom-order-specs { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .hero-title { font-size: 1.7rem; }
  .custom-order-img { height: 240px; }
}

@media (max-width: 390px) {
  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .custom-order-specs { grid-template-columns: 1fr; }
  .hero { min-height: 360px; }
}

/* ── Order status badges ──────────────────────────────────────────────────────── */
.order-status {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
}
.order-status--pending   { background: #fef9e0; color: #7a6200; }
.order-status--confirmed { background: #e8f0fe; color: #1a3a8f; }
.order-status--shipped   { background: #edf7ed; color: #1e6e22; }
.order-status--delivered { background: #d1fae5; color: #065f46; }
.order-status--cancelled { background: #fef2f2; color: #991b1b; }

/* ── Blog post single ────────────────────────────────────────────────────────── */
.blog-post-single { max-width: 800px; margin: 0 auto; }
.blog-post-header { margin-bottom: 1.5rem; }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.blog-post-figure {
  margin: 0 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.blog-post-image { width: 100%; height: 400px; object-fit: cover; }
.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-main);
}
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body h2, .blog-post-body h3 { margin: 2rem 0 .75rem; font-weight: 700; }
.blog-post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--grey-100); }
@media (max-width: 640px) {
  .blog-post-image { height: 240px; }
}

/* ── Auth form wrapper ───────────────────────────────────────────────────────── */
.auth-form-wrapper {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
.auth-form .form-group { margin-bottom: 1.25rem; }

/* ── #B64 mobile: admin tables had no scroll container, so /admin/products forced the whole document to 810px on a 390px phone ── */
@media (max-width: 860px) {
  .admin-content { padding: 1rem; }
  .admin-card { overflow-x: auto; overflow-y: visible; }
  .admin-card > table.data-table { min-width: 0; }
  .admin-topbar { flex-wrap: wrap; gap: .5rem; padding: .75rem 1rem; }
}

.admin-nav-list { padding: .5rem 0; flex: 1; overflow-y: auto; }
.admin-side-foot { padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 860px) {
  .admin-sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-sidebar-brand { width: 100%; }
  .admin-nav-list { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: .15rem; padding: .35rem; overflow: visible; }
  .admin-nav-item { padding: .45rem .6rem; border-right: none; border-radius: 8px; font-size: .8rem; }
  .admin-nav-item.active { border-right-color: transparent; }
  .admin-side-foot { width: 100%; padding: .35rem .5rem .6rem; border-top: none; }
}
