:root {
  /* Palette — from IRA Fashions logo */
  --gold:         #C4903A;   /* logo gold lettering */
  --gold-dk:      #A07428;   /* deep logo gold */
  --gold-lt:      #E8C878;   /* light gold / saree border shimmer */
  --blush:        #F2AFA0;   /* saree fabric pink */
  --blush-lt:     #FDE8E2;   /* soft blush background */
  --rose:         #EF9FB0;   /* lotus flower pink */
  --rose-lt:      #FCEEF2;   /* very soft rose tint */
  --cream:        #FEF9F5;   /* warm ivory page bg */
  --cream-dk:     #FAF0E8;   /* slightly deeper cream */
  --brown:        #5C3520;   /* deep warm brown from logo text */
  --brown-dk:     #3A200E;   /* darkest brown */
  --text:         #2C170C;
  --text-muted:   #836050;
  --white:        #FFFFFF;
  --wa-green:     #25D366;
  --pink-accent:  #EF9FB0;   /* lotus pink accent */

  /* Elevation */
  --shadow-sm:  0 2px 8px  rgba(92,61,46,.08);
  --shadow-md:  0 4px 24px rgba(92,61,46,.12);
  --shadow-lg:  0 12px 40px rgba(92,61,46,.18);

  /* Layout */
  --container:   1280px;
  --nav-height:  64px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 9999px;

  /* Spacing scale (8-px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-display:'Marcellus', Georgia, serif;
  --font-body:   'Jost', system-ui, sans-serif;

  /* Icon sizes — always square, never mixed */
  --icon-sm:  14px;
  --icon-md:  16px;
  --icon-lg:  20px;
  --icon-xl:  24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }
/* Responsive safety nets */
picture, video, canvas, iframe { max-width: 100%; }
table { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font-family: var(--font-body); cursor: pointer; }
svg { display: block; flex-shrink: 0; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-4), 4vw, var(--sp-10));
}
.section { padding-block: clamp(var(--sp-5), 4vw, 52px); }

/* Section header */
.sh { text-align: center; margin-bottom: clamp(var(--sp-4), 3vw, 32px); }
.sh__eyebrow {
  display: block;
  font-size: 0.6875rem; /* 11px */
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: var(--sp-2);
}
.sh__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
}
.sh__title em { color: var(--gold-dk); font-style: italic; }
.sh__rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: var(--sp-3) auto 0;
  border-radius: 1px;
}

.topbar {
  background: #3A200E;
  color: #e8d8c8;
  height: 34px;
  display: flex;
  align-items: center;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  white-space: nowrap;
}
.topbar__item svg { color: var(--gold-lt); opacity: 1; }

.nav-host { position: sticky; top: 0; z-index: 900; }
.nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(8px, 1.5vw, var(--sp-4));
  overflow: visible;
}

/* Logo */
.nav__logo { flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
.nav__logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--brown);
  line-height: 1;
  letter-spacing: 0.06em;
}
.nav__logo-tag {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  line-height: 1;
}

/* Menu */
.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-3), 2vw, var(--sp-8));
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.nav__menu a {
  display: block;
  padding: var(--sp-1) 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  line-height: 1;
  white-space: nowrap;
}
.nav__menu a:hover,
.nav__menu a.is-active { color: var(--gold-dk); border-bottom-color: var(--gold); }

/* CTA buttons */
.nav__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; overflow: visible; }
.nav__menu { margin-left: auto; }
@media (max-width: 1023px) { .nav__cta { margin-left: auto; } }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  background: var(--wa-green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  height: 32px;
  transition: background .2s;
}
.btn-wa:hover { background: #1fb856; }
.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  height: 32px;
  flex-shrink: 0;
  transition: background .2s;
}
.btn-admin:hover { background: var(--brown); }

/* Hamburger */
.nav__ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: var(--sp-2);
}
.nav__ham i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brown);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.nav__ham[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__ham[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav__ham[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: absolute;
  inset: var(--nav-height) 0 auto 0;
  background: var(--white);
  border-top: 2px solid var(--cream-dk);
  box-shadow: 0 16px 32px rgba(92,61,46,.16);
  z-index: 890;
  display: none;
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.nav__drawer.is-open { display: block; }
.nav__drawer-links { list-style: none; margin-bottom: var(--sp-4); }
.nav__drawer-links li a {
  display: flex;
  align-items: center;
  padding: var(--sp-3) 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--cream-dk);
  transition: color .2s;
}
.nav__drawer-links li a:hover { color: var(--gold-dk); }
.nav__drawer-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.nav__drawer-actions .btn-wa,
.nav__drawer-actions .btn-admin {
  flex: 1;
  justify-content: center;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.8125rem;
  min-width: 120px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  background: var(--gold-dk);
  color: var(--white);
  border: 2px solid var(--gold-dk);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .25s, color .25s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--brown); border-color: var(--brown); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,61,46,.25); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 28px;
  background: transparent;
  color: var(--gold-dk);
  border: 2px solid var(--gold-dk);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .25s, color .25s, transform .2s;
}
.btn-outline:hover { background: var(--gold-dk); color: var(--white); transform: translateY(-2px); }

/* Footer */
.footer { background: #260F06; padding-top: clamp(16px, 2.5vw, 32px); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(var(--sp-6), 3.5vw, 52px);
  padding-bottom: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid rgba(201,169,97,.12);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--gold-lt);
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-3);
  line-height: 1;
}
.footer__desc {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #a09080;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201,169,97,.1);
  border: 1px solid rgba(201,169,97,.2);
  color: var(--gold-lt);
  transition: background .2s, border-color .2s;
}
.footer-socials a:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.footer__col-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 5px; }
.footer-links a {
  font-size: 0.8125rem;
  color: #a09080;
  line-height: 1.6;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  color: #a09080;
  line-height: 1.6;
}
.footer-contact-item svg { margin-top: 2px; color: var(--gold-dk); flex-shrink: 0; }
.footer-bottom {
  padding-block: var(--sp-4);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: #6A5A4A;
  line-height: 1.5;
}

/* Floating WA button */
.wa-fab {
  position: fixed;
  bottom: clamp(var(--sp-5), 3vw, var(--sp-8));
  right: clamp(var(--sp-5), 3vw, var(--sp-8));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  z-index: 800;
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }

/* Hero carousel dot fill */
.hero__dot.is-active::after{content:'';position:absolute;top:0;left:0;height:100%;width:0;background:var(--gold);border-radius:inherit;animation:dotFill 5s linear forwards}
.hero__dot{position:relative;overflow:hidden}
@keyframes dotFill{from{width:0}to{width:100%}}
.hero__progress{position:absolute;bottom:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--gold),var(--blush));z-index:20;animation:heroProgress 5s linear infinite}
@keyframes heroProgress{from{width:0}to{width:100%}}

/* ── Utility classes ── */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.sr-only--seo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}
.is-hidden { display: none; }
.seo-keywords {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  opacity: 0;
}

/* ── Shared component classes ── */
.topbar__separator { opacity: .4; }
.nav__logo--row { flex-direction: row; align-items: center; gap: 1px; text-decoration: none; }
.nav__brand {
  font-family: 'Cinzel', 'Marcellus', Georgia, serif;
  font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--gold-dk, #A07428);
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}
@media (max-width: 479px) {
  .nav__brand { font-size: 0.85rem; letter-spacing: 0.06em; }
}
.section--gradient-warm { background: linear-gradient(140deg, #FAF0E8 0%, #FCEEF2 100%); }
.footer__address { font-style: normal; }
.footer__logo-wrap { margin-bottom: 12px; }
.nav__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.15) drop-shadow(0 2px 6px rgba(196,144,58,.3));
}

/* ── Contact + Policy ── */
@media (max-width: 767px) {
  #contact-section .wrap > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Admin button responsive ── */
@media (max-width: 1100px) {
  .btn-admin { padding: 8px 14px; font-size: 0.625rem; }
  .btn-wa .btn-wa__label { display: none; }
  .btn-wa { padding: 9px 10px; border-radius: 50%; }
}
@media (max-width: 767px) {
  .nav__cta .btn-wa { display: none; }
}

/* ── Toast Notifications ── */
#toastArea {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  pointer-events: none;
}
.toast {
  background: #fff;
  border-radius: 10px;
  padding: 13px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid #22c55e;
  font-family: var(--font-body);
  font-size: .8125rem;
  line-height: 1.4;
  pointer-events: auto;
  animation: toastIn .3s ease forwards;
}
.toast.toast--error  { border-left-color: #ef4444; }
.toast.toast--info   { border-left-color: #3b82f6; }
.toast.toast--warn   { border-left-color: #f97316; }
.toast__icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.toast__body { flex: 1; }
.toast__title { font-weight: 700; color: #1a1310; margin-bottom: 2px; }
.toast__msg   { color: #7a5c4a; }
.toast--out { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { from{opacity:1;transform:translateX(0)}     to{opacity:0;transform:translateX(40px)} }

/* ── Clear Data Modal ── */
#clearDataModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,.6);
  z-index: 99998;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
#clearDataModal.is-open { display: flex; }
.clear-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
}
.clear-modal-header {
  background: linear-gradient(135deg,#ef4444,#b91c1c);
  padding: 24px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.clear-modal-header svg { flex-shrink:0; }
.clear-modal-header h3 { font-family:var(--font-serif); font-size:1.4rem; }
.clear-modal-body { padding: 24px 28px; }
.clear-modal-body p { font-size:.875rem; color:#5c3d2e; line-height:1.7; margin-bottom:18px; }
.clear-modal-body ul { font-size:.8125rem; color:#8b5e3c; margin:0 0 20px 18px; line-height:2; }
.clear-modal-footer { padding: 16px 28px 24px; display:flex; gap:10px; justify-content:flex-end; }

/* ── Mobile compact ── */
@media (max-width: 767px) {
  html, body { max-width: 100vw; overflow-x: hidden; }
  .section { padding-block: 20px !important; }
  .sh { margin-bottom: 16px !important; }
  .sh__title { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }
  .hero__slide { min-height: 240px !important; padding-block: 16px !important; }
  .hero__title { font-size: clamp(1.4rem, 6.5vw, 2rem) !important; line-height: 1.15; }
  .hero__desc { font-size: 0.8rem !important; margin-bottom: 14px; }
  .hero__track { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .nav__menu { display: none; }
  .nav__ham { display: flex; min-width: 44px; min-height: 44px; }
  .topbar__right { display: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px; }
  .prod-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .footer { padding-top: 14px !important; }
  .btn-primary, .btn-outline, .cat-card img, .prod-card { transition: none !important; }
}
@media (max-width: 479px) {
  .wrap { padding-inline: 14px !important; }
  .hero__slide { min-height: 210px !important; }
  .prod-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 359px) {
  .cat-grid { grid-template-columns: 1fr !important; }
}

input, select, textarea { font-size: 16px !important; -webkit-appearance: none; }

/* ── WhatsApp Float Button – Multi-ring ripple ── */
.wa-float-wrap {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}
.wa-float-wrap::before,
.wa-float-wrap::after,
.wa-float-wrap .wa-ring {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  width: 60px;
  height: 60px;
  animation: waRipple 2.4s ease-out infinite;
}
.wa-float-wrap::before  { animation-delay: 0s; }
.wa-float-wrap .wa-ring { animation-delay: 0.8s; }
.wa-float-wrap::after   { animation-delay: 1.6s; }
@keyframes waRipple {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.wa-float-btn {
  position: relative;
  z-index: 2;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  transition: transform 0.2s;
}
.wa-float-btn:hover { transform: scale(1.1); }

/* ── ≥1440 ── */
@media (min-width: 1440px) {
  :root { --container: 1360px; }
}

/* ── ≤767 (Nav responsive) ── */
@media (max-width: 767px) {
  .nav__menu { display: none; }
  .nav__ham { display: flex; }
  .nav { position: relative; }
  .nav .wrap { gap: var(--sp-2); }
  .topbar__right { display: none; }
  .topbar .wrap { justify-content: center; }
  .trust__item { font-size: 0.6875rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ≤1023 ── */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ≤599 ── */
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-wa .btn-wa__label { display: none; }
  .btn-admin { padding: 9px 12px; border-radius: 50%; }
}

/* ── ≤479 ── */
@media (max-width: 479px) {
  .trust__row { gap: 10px 14px; padding: 0 10px; }
  .trust__item { font-size: 0.625rem; letter-spacing: 0.02em; gap: 4px; }
  .trust__item svg { width: 14px; height: 14px; }
  .wa-float-wrap { bottom: 88px; right: 14px; width: 52px; height: 52px; }
  .wa-float-wrap::before,
  .wa-float-wrap::after,
  .wa-float-wrap .wa-ring { width: 52px; height: 52px; }
  .wa-float-btn { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
}

/* ── Tablet (768–1023) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__menu { gap: var(--sp-3); }
  .nav__menu a { font-size: 0.6875rem; }
}

/* ── Footer mobile padding ── */
@media (max-width: 767px) {
  .footer .wrap { padding-inline: 18px; }
  .footer__brand-name { font-size: 1.2rem; }
  .footer__col-title { font-size: 0.9rem; margin-bottom: 10px; }
  .footer-links a, .footer-contact-item, .footer__desc { font-size: 0.75rem; }
}
