/* ═══════════════════════════════════════════════════════════════════════
   DeepUtsav.shop — Premium Indian Festive E-Commerce
   Brand CSS — Version 1.0
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --deep-red:       #8C1724;
  --deep-red-dark:  #6e111c;
  --deep-red-light: #a41d2c;
  --festive-gold:   #D9A441;
  --gold-light:     #e8b85a;
  --charcoal:       #201B20;
  --charcoal-soft:  #2e2829;
  --warm-ivory:     #FFF8EF;
  --ivory-dark:     #f5ede0;
  --pure-white:     #FFFFFF;
  --muted-gray:     #746D6B;
  --light-gray:     #e8e3df;
  --border-color:   #e2d9d0;

  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(32,27,32,.08);
  --shadow-md:   0 4px 16px rgba(32,27,32,.12);
  --shadow-lg:   0 8px 32px rgba(32,27,32,.16);
  --shadow-xl:   0 16px 48px rgba(32,27,32,.20);

  --transition:  all .22s cubic-bezier(.4,0,.2,1);

  --max-width: 1200px;
  --gutter:    clamp(1rem, 4vw, 2rem);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

@keyframes popPulseBtn {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(140,23,36,0.3); }
  50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(140,23,36,0.5); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(140,23,36,0.3); }
}

.pulse-cta-btn {
  animation: popPulseBtn 2.2s infinite ease-in-out;
}
.pulse-cta-btn:hover {
  transform: scale(1.04) !important;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--warm-ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--muted-gray); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--deep-red);
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 { margin-bottom: .5rem; }
.section-heading p  { max-width: 560px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--festive-gold); outline-offset: 2px; }

.btn-primary {
  background: var(--deep-red);
  color: var(--pure-white);
  border-color: var(--deep-red);
}
.btn-primary:hover {
  background: var(--deep-red-dark);
  border-color: var(--deep-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(140,23,36,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--deep-red);
  color: var(--deep-red);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--festive-gold);
  color: var(--charcoal);
  border-color: var(--festive-gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--pure-white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--pure-white);
}

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .8rem; }
.btn-full { width: 100%; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--deep-red);
  color: var(--pure-white);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.announcement-bar span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.announcement-bar .gold-dot {
  width: 5px; height: 5px;
  background: var(--festive-gold);
  border-radius: 50%;
  display: inline-block;
}

/* ── Navigation ── */
.navbar {
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.navbar-brand span { color: var(--deep-red); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted-gray);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--deep-red);
  background: rgba(140,23,36,.06);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
}
.nav-icon-btn:hover { background: var(--ivory-dark); color: var(--deep-red); }

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--deep-red);
  color: var(--pure-white);
  font-size: .6rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--pure-white);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
  gap: .25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 1rem;
  padding: .75rem 1rem;
  display: block;
}

/* ── Hero Section ── */
.hero {
  background: var(--warm-ivory);
  padding: clamp(3rem, 8vw, 5rem) 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,164,65,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-content { max-width: 520px; }
.hero-content .eyebrow { margin-bottom: 1rem; }
.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--deep-red);
}
.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #f5ede0 0%, #ede0cc 100%);
  box-shadow: var(--shadow-xl);
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-image-wrap:hover img { transform: scale(1.03); }

/* Gold accent line */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-red), var(--festive-gold), var(--deep-red));
}

/* ── Trust Strip ── */
.trust-strip {
  background: var(--pure-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.8rem 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.trust-icon {
  width: 44px; height: 44px;
  background: rgba(140,23,36,.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-red);
  flex-shrink: 0;
}
.trust-text strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.trust-text span { font-size: .78rem; color: var(--muted-gray); }

/* ── Product Card ── */
.product-section { background: var(--warm-ivory); }

.product-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  max-width: 480px;
  margin: 0 auto;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.product-card-image {
  aspect-ratio: 1/1;
  background: var(--ivory-dark);
  overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-card-body { padding: 1.5rem; }
.product-card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.product-card-body p { font-size: .875rem; margin-bottom: 1.25rem; }

.variant-selector { display: flex; gap: .75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.variant-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: none;
}
.variant-option:hover, .variant-option.selected {
  border-color: var(--deep-red);
  color: var(--deep-red);
  background: rgba(140,23,36,.05);
}
.variant-option .price { display: block; font-size: 1rem; color: var(--charcoal); }
.variant-option .qty   { display: block; font-size: .73rem; color: var(--muted-gray); font-weight: 400; }
.variant-option.selected .price, .variant-option.selected .qty { color: var(--deep-red); }

.price-display {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.price-display .currency { font-size: 1.1rem; }

/* ── How It Works ── */
.hiw-section { background: var(--charcoal); }
.hiw-section .section-heading h2 { color: var(--pure-white); }
.hiw-section .section-heading p  { color: rgba(255,255,255,.65); }

.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.hiw-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}
.hiw-step:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}
.hiw-step-number {
  width: 52px; height: 52px;
  background: var(--deep-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pure-white);
  margin: 0 auto 1.25rem;
}
.hiw-step h4 {
  color: var(--pure-white);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  margin-bottom: .6rem;
}
.hiw-step p { color: rgba(255,255,255,.6); font-size: .875rem; }

/* Connector between steps */
.hiw-steps .hiw-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -1.25rem;
  transform: translateY(-50%);
  color: var(--festive-gold);
  font-size: 1.25rem;
}

/* ── Lifestyle Section ── */
.lifestyle-section { background: var(--ivory-dark); }
.lifestyle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lifestyle-content { }
.lifestyle-content h2 { margin-bottom: 1rem; }
.lifestyle-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border-color);
  box-shadow: var(--shadow-lg);
}
.lifestyle-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Why DeepUtsav Cards ── */
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(140,23,36,.2);
}
.why-card-icon {
  width: 56px; height: 56px;
  background: rgba(140,23,36,.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-red);
  margin: 0 auto 1.25rem;
}
.why-card h4 { font-family: var(--font-sans); font-size: .9rem; margin-bottom: .5rem; color: var(--charcoal); }
.why-card p  { font-size: .82rem; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--pure-white);
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(140,23,36,.25); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.faq-question:hover { color: var(--deep-red); }
.faq-question .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--deep-red);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); background: var(--deep-red); color: white; }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted-gray);
}
.faq-item.open .faq-answer { display: block; }

/* ── Final CTA ── */
.final-cta {
  background: var(--deep-red);
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D9A441' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.final-cta h2 { color: var(--pure-white); margin-bottom: 1.25rem; }
.final-cta p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; }

/* ── Gold Divider ── */
.gold-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--festive-gold), transparent);
  border: none;
  margin: 0;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.75);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .navbar-brand { color: var(--pure-white); margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--festive-gold);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--pure-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ── Cart Page ── */
.cart-page { min-height: 60vh; padding: 2.5rem 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: .875rem;
}
.cart-table th { font-weight: 600; color: var(--muted-gray); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.qty-control {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-control button {
  width: 32px; height: 32px;
  background: var(--ivory-dark);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--border-color); }
.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: .9rem;
  background: none;
}
.cart-summary {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.cart-summary h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border-color);
}
.summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1.05rem; }
.summary-row.total { color: var(--charcoal); }

/* ── Checkout Form ── */
.checkout-page { padding: 2.5rem 0; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.checkout-form-card, .order-summary-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
}
.checkout-form-card h2, .order-summary-card h3 { margin-bottom: 1.5rem; }

.form-section { margin-bottom: 2rem; }
.form-section h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-color);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .4rem;
}
.form-group label .req { color: var(--deep-red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--pure-white);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--deep-red);
  box-shadow: 0 0 0 3px rgba(140,23,36,.1);
}
.form-control.is-invalid { border-color: #dc2626; }
.form-error { font-size: .78rem; color: #dc2626; margin-top: .3rem; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Payment method selector */
.payment-options { display: flex; flex-direction: column; gap: .75rem; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.payment-option:has(input:checked) {
  border-color: var(--deep-red);
  background: rgba(140,23,36,.04);
}
.payment-option input[type="radio"] { accent-color: var(--deep-red); }
.payment-option-icon {
  width: 40px; height: 40px;
  background: var(--ivory-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.payment-option-label strong {
  display: block;
  font-size: .9rem;
  color: var(--charcoal);
}
.payment-option-label span { font-size: .8rem; color: var(--muted-gray); }

/* ── Order Success ── */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.success-card {
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(22,163,74,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #16a34a;
}
.success-card h1 { font-size: 1.75rem; margin-bottom: .75rem; }
.order-meta { margin: 2rem 0; }
.order-meta-row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: .875rem;
  border-bottom: 1px solid var(--border-color);
}
.order-meta-row:last-child { border-bottom: none; }
.order-meta-row span:first-child { color: var(--muted-gray); }
.order-meta-row span:last-child  { font-weight: 600; }

/* ── Product Detail Page ── */
.product-detail { padding: 2.5rem 0; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Gallery */
.product-gallery .main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ivory-dark);
  margin-bottom: .75rem;
  cursor: zoom-in;
}
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.active { border-color: var(--deep-red); }

/* Product info */
.product-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .75rem; }
.product-info .variant-selector { margin-bottom: 1.5rem; }

.quantity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.quantity-row label { font-size: .85rem; font-weight: 600; }

.product-actions { display: flex; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 140px; }

/* Accordion sections */
.product-tabs { border-top: 1px solid var(--border-color); }
.tab-item {
  border-bottom: 1px solid var(--border-color);
}
.tab-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  transition: var(--transition);
}
.tab-btn:hover { color: var(--deep-red); }
.tab-btn .chevron { transition: transform .2s; font-size: .8rem; color: var(--muted-gray); }
.tab-item.open .chevron { transform: rotate(180deg); }
.tab-content {
  display: none;
  padding: 0 0 1.25rem;
  font-size: .875rem;
  color: var(--muted-gray);
  line-height: 1.7;
}
.tab-item.open .tab-content { display: block; }

/* Specs table */
.specs-table { width: 100%; font-size: .875rem; }
.specs-table tr:nth-child(odd) td:first-child { background: var(--ivory-dark); }
.specs-table td { padding: .5rem .75rem; border: 1px solid var(--border-color); }
.specs-table td:first-child { font-weight: 600; width: 40%; color: var(--charcoal); }

/* ── Alert / Flash Messages ── */
.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── Admin Styles ── */
.admin-layout {
  min-height: 100vh;
  background: #f4f5f7;
  display: flex;
}
.admin-sidebar {
  width: 240px;
  background: var(--charcoal);
  min-height: 100vh;
  flex-shrink: 0;
  padding: 0;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-brand {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--pure-white);
  font-weight: 700;
}
.admin-sidebar-brand .logo span { color: var(--festive-gold); }
.admin-sidebar-brand small { display: block; color: rgba(255,255,255,.4); font-size: .72rem; margin-top: 2px; }

.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  font-weight: 500;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,.08);
  color: var(--pure-white);
}
.admin-nav-item.active { border-left: 3px solid var(--festive-gold); }
.admin-nav-item svg { flex-shrink: 0; }

.admin-content {
  flex: 1;
  overflow: auto;
  padding: 2rem;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.admin-topbar h1 { font-size: 1.4rem; }
.admin-topbar .breadcrumb { font-size: .8rem; color: var(--muted-gray); margin-top: .2rem; }

/* Admin stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-label { font-size: .78rem; color: var(--muted-gray); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--charcoal); font-family: var(--font-sans); line-height: 1; }
.stat-card .stat-sub   { font-size: .78rem; color: var(--muted-gray); margin-top: .4rem; }

/* Admin table */
.admin-table-wrap {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table thead tr {
  background: #f8f6f4;
  border-bottom: 1px solid var(--border-color);
}
.admin-table th {
  padding: .85rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-gray);
}
.admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--border-color); color: var(--charcoal); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fafafa; }
.admin-table a { color: var(--deep-red); font-weight: 600; }

/* Status badge */
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1e40af; }
.badge-processing{ background: #ede9fe; color: #5b21b6; }
.badge-shipped   { background: #cffafe; color: #155e75; }
.badge-delivered { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-returned  { background: #ffe4e6; color: #9f1239; }
.badge-paid      { background: #dcfce7; color: #166534; }
.badge-failed    { background: #fee2e2; color: #991b1b; }
.badge-cod       { background: #fef3c7; color: #92400e; }

/* ── Placeholders ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--ivory-dark) 0%, var(--border-color) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--muted-gray);
  font-size: .82rem;
  font-style: italic;
  border: 2px dashed var(--border-color);
}
.img-placeholder svg { color: var(--muted-gray); opacity: .5; }

/* ── Sticky mobile CTA ── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--pure-white);
  border-top: 1px solid var(--border-color);
  padding: .85rem 1rem;
  z-index: 500;
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  gap: .75rem;
  align-items: center;
}
.sticky-mobile-cta .price { font-weight: 700; font-size: 1.1rem; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.animate-fade-up { animation: fadeUp .5s ease forwards; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-image-wrap     { max-width: 500px; margin: 0 auto; aspect-ratio: 4/3; }
  .hero-content        { max-width: 100%; text-align: center; }
  .hero-actions        { justify-content: center; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-cards          { grid-template-columns: repeat(2, 1fr); }
  .why-cards           { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav  { display: none; }
  .hamburger   { display: flex; }
  .hiw-steps   { grid-template-columns: 1fr; }
  .hiw-step::after { display: none !important; }
  .lifestyle-inner { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-cards   { grid-template-columns: 1fr; }
  .stat-cards  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
  .admin-layout    { flex-direction: column; }
  .admin-sidebar   { width: 100%; min-height: auto; position: relative; }
  .trust-strip-inner { gap: 1.25rem; flex-direction: column; align-items: flex-start; max-width: 300px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
