/* AstroSage-style static site - no build step required */

:root {
  /* Golden prosperity palette — matched to hero banner */
  --primary: #CC8E35;
  --primary-dark: #634007;
  --primary-light: #D4AF37;
  --secondary: #8B6914;
  --accent: #FFD700;
  --store-gold: #FFD700;
  --store-gold-dark: #D4AF37;
  --store-black: #2C1810;
  --surface: #FEF9E7;
  --surface-warm: #FFF8DC;
  --surface-glow: #FFE4B5;
  --text: #3D2914;
  --muted: #7A6548;
  --border: #E8D5A8;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(92, 64, 51, 0.1);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== ASTROTALK-STYLE HEADER ===== */
.announcement-bar {
  background: var(--store-black);
  color: white;
  font-size: 0.78rem;
  padding: 0;
}
.announcement-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 8px;
}
.announcement-text-wrap {
  flex: 1; text-align: center; overflow: hidden;
  padding: 8px 12px;
}
.announcement-text {
  display: block; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 500; letter-spacing: 0.01em;
}
.announcement-arrow {
  background: none; border: none; color: white;
  font-size: 1.2rem; cursor: pointer; padding: 4px 10px;
  opacity: 0.7; line-height: 1; flex-shrink: 0;
}
.announcement-arrow:hover { opacity: 1; }

.store-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(92, 64, 51, 0.06);
  position: sticky; top: 0; z-index: 1000;
}
.store-header-inner {
  max-width: 1520px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 32px; gap: 24px; min-height: 66px;
  position: relative;
}
.store-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.store-logo:hover { text-decoration: none; }
.store-logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--store-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.store-logo-name {
  font-size: 1.35rem; font-weight: 800; color: var(--store-black);
  letter-spacing: -0.02em;
}
.store-nav {
  flex: 1; min-width: 0;
  overflow: visible;
}
.store-nav-list {
  list-style: none; display: flex; align-items: center;
  justify-content: center; flex-wrap: nowrap; gap: clamp(2px, 0.6vw, 10px);
  width: 100%;
}
.store-nav-item { position: relative; flex: 0 0 auto; }
.store-nav-item > a {
  display: flex; align-items: center; gap: 3px;
  padding: 10px 14px; color: var(--text); font-size: 0.9rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color 0.15s;
}
.store-nav-item > a:hover,
.store-nav-item.menu-open > a,
.store-nav-item.open > a { color: var(--primary); text-decoration: none; }
.nav-chevron { font-size: 0.55rem; opacity: 0.55; margin-top: 1px; transition: transform 0.2s; }
.store-nav-item:hover .nav-chevron,
.store-nav-item.menu-open .nav-chevron,
.store-nav-item.open .nav-chevron { transform: rotate(180deg); opacity: 0.85; }

/* Standard dropdown */
.store-dropdown {
  display: none; position: absolute; top: calc(100% + 2px); left: 0;
  background: white; min-width: 240px; max-width: 300px;
  box-shadow: 0 12px 32px rgba(92, 64, 51, 0.15);
  border: 1px solid var(--border); border-radius: 0 0 10px 10px;
  z-index: 1200; padding: 8px 0;
  max-height: 70vh; overflow-y: auto;
}
.store-nav-item.has-dropdown:not(.has-mega):hover .store-dropdown,
.store-nav-item.has-dropdown.open .store-dropdown { display: block; }

.store-dropdown a,
.store-mega-dropdown a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 16px; font-size: 0.82rem;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(232, 213, 168, 0.35);
}
.store-dropdown a:last-child,
.mega-section a:last-child { border-bottom: none; }
.store-dropdown a:hover,
.store-mega-dropdown a:hover {
  background: var(--surface); color: var(--primary-dark); text-decoration: none;
}
.dropdown-count {
  font-size: 0.72rem; color: var(--muted); font-weight: 500; margin-left: 4px;
}
.dropdown-hint {
  font-size: 0.68rem; color: var(--muted); font-weight: 400;
}

/* Mega dropdown — Products menu */
.store-mega-dropdown {
  display: none; position: absolute; top: calc(100% + 2px); left: 0;
  background: white;
  box-shadow: 0 16px 40px rgba(92, 64, 51, 0.18);
  border: 1px solid var(--border); border-radius: 0 0 12px 12px;
  z-index: 1200; padding: 16px 8px 8px;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 8px 4px; min-width: min(900px, 94vw);
}
.store-nav-item.has-mega:hover .store-mega-dropdown,
.store-nav-item.has-mega.menu-open .store-mega-dropdown,
.store-nav-item.has-mega.open .store-mega-dropdown { display: grid; }

.mega-section-title {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--primary-dark);
  padding: 4px 16px 8px; border-bottom: 2px solid var(--accent);
  margin-bottom: 4px;
}
.mega-section { min-width: 0; }
.mega-footer {
  grid-column: 1 / -1; border-top: 1px solid var(--border);
  padding: 10px 16px 4px; text-align: center;
}
.mega-footer a {
  font-weight: 700; color: var(--primary-dark); font-size: 0.85rem;
  border: none !important; display: inline-block !important; padding: 4px !important;
}
.mega-footer a:hover { color: var(--primary); background: transparent !important; }

.store-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.admin-panel-btn {
  display: inline-flex; align-items: center;
  padding: 8px 14px; margin-right: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none !important;
  white-space: nowrap;
}
.admin-panel-btn:hover {
  filter: brightness(1.06);
  color: #fff !important;
  text-decoration: none !important;
}
.account-menu { position: relative; }
.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown { display: block; }
.account-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 200px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow); padding: 12px;
  z-index: 1200;
}
.account-name { margin: 0; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.account-email { margin: 2px 0 10px; font-size: 0.75rem; color: var(--muted); word-break: break-all; }
.account-dropdown a,
.account-dropdown button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; padding: 8px 6px;
  font-size: 0.85rem; color: var(--primary-dark); cursor: pointer;
  border-radius: 6px;
}
.account-dropdown a:hover,
.account-dropdown button:hover { background: var(--surface-warm); text-decoration: none; }
.store-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: #222;
  text-decoration: none; border-radius: 50%;
  transition: background 0.15s;
  position: relative;
}
.store-icon-btn:hover { background: #f5f5f5; text-decoration: none; color: #000; }
.store-cart-btn .store-cart-badge {
  position: absolute; top: 2px; right: 0;
  background: #e53935; color: white;
  border-radius: 50%; min-width: 16px; height: 16px;
  font-size: 0.62rem; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
}
.store-menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: #222; padding: 6px;
}

/* Legacy header aliases (other pages) */
.top-bar { display: none; }
.site-header { display: none; }
.main-nav { display: none; }
.zodiac-strip { display: none; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary-dark); color: white; }
.btn-primary:hover { background: #4A3007; color: white; }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #6B5010; color: white; }
.btn-outline { background: white; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--surface); color: var(--primary-dark); }
.btn-white { background: white; color: var(--primary); }
.btn-sm { padding: 5px 12px; font-size: 0.8rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }

.menu-toggle { display: none; }

@media (max-width: 1280px) {
  .store-menu-toggle { display: flex; }
  .store-actions { margin-left: auto; }
  .store-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); max-height: 75vh; overflow-y: auto;
  }
  .store-nav.open { display: block; }
  .store-nav-list { flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-x: visible; }
  .store-nav-item > a { padding: 13px 20px; font-size: 0.95rem; border-bottom: 1px solid #f0f0f0; }
  .store-dropdown {
    position: static; box-shadow: none; border: none;
    display: none; background: #fafafa; padding: 0;
  }
  .store-nav-item:hover .store-dropdown { display: none; }
  .store-nav-item.open:hover .store-dropdown { display: block; }
  .store-nav-item.has-mega:hover .store-mega-dropdown { display: none; }
  .store-mega-dropdown {
    position: static; box-shadow: none; border: none;
    min-width: 0; width: 100%; padding: 0 0 0 12px;
    background: #fafafa; grid-template-columns: 1fr; gap: 0;
  }
  .store-nav-item.has-mega.open .store-mega-dropdown { display: grid; }
  .store-header { position: sticky; }
  .store-header-inner { flex-wrap: wrap; position: relative; }
}

/* Hero kundli section — astrology background */
.hero {
  padding: 40px 0;
}
.hero-kundli {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  --hero-kundli-bg: url("https://astrotalk.store/cdn/shop/files/Artboard_1_4_1.webp?v=1776850982&width=1600");
  background-color: #2a1810;
}
.hero-kundli::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-kundli-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-kundli::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(254, 249, 231, 0.94) 0%,
    rgba(255, 236, 200, 0.88) 45%,
    rgba(254, 249, 231, 0.92) 100%
  );
}
.hero-kundli-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 215, 0, 0.9), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 40% 15%, rgba(255, 215, 0, 0.7), transparent),
    radial-gradient(1px 1px at 55% 80%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 70% 35%, rgba(255, 215, 0, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 85% 55%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 92% 18%, rgba(255, 215, 0, 0.6), transparent),
    radial-gradient(1px 1px at 15% 88%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 48% 48%, rgba(255, 215, 0, 0.5), transparent),
    radial-gradient(1px 1px at 78% 72%, rgba(255, 255, 255, 0.6), transparent);
}
.hero-kundli .container {
  position: relative;
  z-index: 2;
}
.hero-kundli .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-kundli h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.hero-kundli p {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.hero-kundli .hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-kundli .badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(92, 64, 51, 0.08);
}
.hero-kundli .card {
  box-shadow: 0 12px 40px rgba(92, 64, 51, 0.18);
  border: 1px solid rgba(232, 213, 168, 0.6);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 12px; }
.hero p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  background: white; padding: 4px 12px; border-radius: 20px;
  font-size: 0.8rem; border: 1px solid var(--border);
}

/* Cards */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 12px 16px; font-weight: 600; font-size: 1rem;
}
.card-body { padding: 16px; }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: #374151; }
.form-control {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db;
  border-radius: var(--radius); font-size: 0.9rem; font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,175,55,0.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.radio-group { display: flex; gap: 16px; }
.radio-group label { font-weight: normal; display: flex; align-items: center; gap: 4px; cursor: pointer; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }

/* Service tiles — image backgrounds */
.service-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 8px; border-radius: var(--radius);
  text-decoration: none; color: white; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 112px; justify-content: flex-end;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}
.service-tile-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    to top,
    rgba(44, 24, 16, 0.88) 0%,
    rgba(44, 24, 16, 0.55) 45%,
    rgba(44, 24, 16, 0.2) 100%
  );
  transition: background 0.25s;
}
.service-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 28px rgba(92, 64, 51, 0.22);
  text-decoration: none; color: white;
}
.service-tile:hover .service-tile-overlay {
  background: linear-gradient(
    to top,
    rgba(44, 24, 16, 0.78) 0%,
    rgba(44, 24, 16, 0.4) 45%,
    rgba(44, 24, 16, 0.1) 100%
  );
}
.service-tile .title {
  position: relative; z-index: 1;
  font-weight: 700; font-size: 0.85rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}
.service-tile .subtitle {
  position: relative; z-index: 1;
  font-size: 0.7rem; opacity: 0.95; margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section { padding: 32px 0; }
.section-cream { background: var(--surface-warm); }
.section-white { background: white; }
.section-title {
  font-size: 1.4rem; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 20px; padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }

/* Panchang widget */
.panchang-widget { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.panchang-item { text-align: center; padding: 12px; background: var(--surface); border-radius: var(--radius); }
.panchang-item .label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; }
.panchang-item .value { font-size: 0.95rem; font-weight: 600; color: var(--primary-dark); margin-top: 4px; }

/* Horoscope cards */
.horoscope-card {
  padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.horoscope-card:hover { box-shadow: var(--shadow); }
.horoscope-card .sign-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.horoscope-card .sign-symbol { font-size: 1.8rem; }
.horoscope-card .sign-name { font-weight: 700; color: var(--primary); }
.horoscope-card p { font-size: 0.85rem; color: #4b5563; }
.rating { color: var(--accent); letter-spacing: 2px; }

/* Astrologer cards */
.astro-card {
  display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border);
  border-radius: var(--radius); background: white;
}
.astro-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; flex-shrink: 0;
}
.astro-info { flex: 1; }
.astro-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.astro-info .specialty { font-size: 0.8rem; color: var(--muted); }
.astro-info .meta { display: flex; gap: 12px; font-size: 0.75rem; margin-top: 6px; flex-wrap: wrap; }
.astro-info .rating { color: #f59e0b; }

/* Kundli chart */
.chart-north {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr); gap: 2px;
  aspect-ratio: 1; max-width: 420px; margin: 0 auto;
}
.chart-cell {
  border: 2px solid var(--primary); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.65rem; padding: 4px; background: white; min-height: 70px;
}
.chart-cell.center {
  grid-column: 2 / 4; grid-row: 2 / 4;
  background: var(--surface); font-weight: bold; font-size: 0.8rem;
}
.chart-cell .house-num { font-size: 0.6rem; color: var(--muted); }
.chart-cell .planet { font-weight: 700; color: var(--primary-dark); line-height: 1.3; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th { background: var(--surface); padding: 10px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--primary); }
.data-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: #fafafa; }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tab {
  padding: 10px 20px; cursor: pointer; font-weight: 600; font-size: 0.9rem;
  color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap;
  background: none; border-top: none; border-left: none; border-right: none;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #5C4033 0%, var(--store-black) 100%);
  color: #D4C4A8; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 40px 16px; max-width: 1200px; margin: 0 auto;
}
.footer-grid h4 { color: var(--surface-glow); margin-bottom: 12px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: #C4B498; font-size: 0.85rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-company {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(220px, 1fr);
  gap: 24px 48px;
  padding-top: 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 8px;
}
.footer-contact address {
  font-style: normal;
  line-height: 1.55;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #C4B498;
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--surface-glow);
  opacity: 0.9;
}
.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2); padding: 16px; text-align: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: #C4B498; }
.footer-bottom a:hover { color: var(--accent); }

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white; padding: 32px 0; text-align: center;
}
.page-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.page-header p { opacity: 0.9; font-size: 1rem; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 8px; opacity: 0.8; }
.breadcrumb a { color: var(--surface-glow); }

/* Results panel */
.result-panel {
  background: var(--surface); border: 2px solid var(--primary-light);
  border-radius: var(--radius); padding: 20px; margin-top: 20px;
}
.result-panel h3 { color: var(--primary-dark); margin-bottom: 12px; }

/* Score meter */
.score-meter {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 6px solid var(--primary); margin: 0 auto 16px;
  font-size: 2rem; font-weight: 700; color: var(--primary-dark);
}
.score-meter span { font-size: 0.75rem; font-weight: normal; color: var(--muted); }

/* Chat UI */
.chat-container { display: flex; flex-direction: column; height: 500px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; background: #f9fafb; }
.chat-msg { margin-bottom: 12px; max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; }
.chat-msg.bot { background: white; border: 1px solid var(--border); margin-right: auto; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: white; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-input { display: flex; padding: 12px; background: white; border-top: 1px solid var(--border); gap: 8px; }
.chat-input input { flex: 1; }
.suggested-prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: var(--surface); }
.suggested-prompts button { background: white; border: 1px solid var(--border); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; }
.suggested-prompts button:hover { border-color: var(--primary); color: var(--primary); }

/* Report cards */
.report-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: white; transition: box-shadow 0.2s; }
.report-card:hover { box-shadow: var(--shadow); }
.report-card h3 { color: var(--primary); margin-bottom: 4px; }
.report-card .price { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); }
.report-card .original-price { text-decoration: line-through; color: var(--muted); font-size: 0.9rem; margin-left: 8px; }
.report-card ul { list-style: none; margin: 12px 0; }
.report-card li { font-size: 0.85rem; padding: 4px 0; padding-left: 16px; position: relative; }
.report-card li::before { content: "✓"; position: absolute; left: 0; color: green; }

/* Festival list */
.festival-item { display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid var(--border); align-items: center; }
.festival-date { background: var(--primary); color: white; padding: 8px 12px; border-radius: var(--radius); text-align: center; min-width: 60px; }
.festival-date .day { font-size: 1.3rem; font-weight: 700; line-height: 1; }
.festival-date .month { font-size: 0.7rem; text-transform: uppercase; }

/* Alert */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; }
.alert-info { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }
.alert-warning { background: #fff3e0; border: 1px solid #ffcc80; color: #e65100; }
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert-error { background: #fdecea; border: 1px solid #ef9a9a; color: #c62828; }

/* Sidebar layout */
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 24px 0; }
.sidebar { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; height: fit-content; position: sticky; top: 72px; }
.sidebar h4 { color: var(--primary); margin-bottom: 12px; font-size: 0.95rem; }
.sidebar ul { list-style: none; }
.sidebar li a { display: block; padding: 8px 12px; font-size: 0.85rem; color: var(--text); border-radius: 4px; text-decoration: none; }
.sidebar li a:hover, .sidebar li a.active { background: var(--surface); color: var(--primary); text-decoration: none; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 992px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-kundli .hero-grid { grid-template-columns: 1fr; }
  .hero-kundli { padding: 36px 0; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 32px 0; }
  .store-logo-name { font-size: 1.15rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-title { font-size: 1.4rem; }
  .hero-kundli h2 { font-size: 1.6rem; }
  .hero-kundli p { font-size: 0.98rem; }
  .carousel-viewport {
    height: clamp(360px, calc(100vw * 944 / 1680), 70vh);
    min-height: 360px;
  }
  .carousel-bg { object-position: 64% center !important; }
  /* Stronger left gradient so text stays readable over busy image */
  .overlay-prosperity, .overlay-dark, .overlay-warm, .overlay-gold {
    background: linear-gradient(90deg,
      rgba(30, 18, 8, 0.85) 0%,
      rgba(30, 18, 8, 0.55) 45%,
      rgba(30, 18, 8, 0.1) 78%,
      transparent 100%) !important;
  }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-company { grid-template-columns: 1fr 1fr; }
  .carousel-content { padding: 22px; padding-left: 24px; }
  .carousel-content-left {
    width: min(72%, 460px);
  }
  .carousel-eyebrow { font-size: clamp(0.85rem, 2.4vw, 1.1rem); margin-bottom: 10px; }
  .carousel-title { font-size: clamp(1.7rem, 5.5vw, 2.6rem); margin-bottom: 12px; }
  .carousel-subtitle { font-size: clamp(0.9rem, 2.2vw, 1.05rem); margin-bottom: 22px; }
  .btn-shop-now { padding: 14px 38px; font-size: 0.9rem; }
  .promo-banners-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-strip { grid-template-columns: 1fr; }
  .product-grid { gap: 14px; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  #home-service-tiles, #home-shop-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .promo-banners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .offer-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-company { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact-item { justify-content: center; text-align: left; }
  .announcement-bar { font-size: 0.68rem; }
  .store-icon-btn { width: 38px; height: 38px; }
  .store-actions { gap: 2px; }
  .admin-panel-btn { padding: 6px 10px; font-size: 0.7rem; }
  .store-header-inner { padding: 0 14px; gap: 10px; min-height: 58px; }
  .section-title { font-size: 1.25rem; }
  .carousel-viewport { height: 460px; min-height: 460px; }
  .carousel-content { padding: 22px 18px; justify-content: center; }
  .carousel-content-left { width: min(90%, 330px); }
  .carousel-eyebrow {
    font-size: 0.68rem; letter-spacing: 0.08em; margin-bottom: 6px;
  }
  .carousel-title {
    font-size: clamp(1.35rem, 6vw, 1.65rem); line-height: 1.14; margin-bottom: 8px;
  }
  .carousel-subtitle {
    font-size: 0.8rem; line-height: 1.4; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .btn-shop-now { padding: 12px 26px; font-size: 0.78rem; letter-spacing: 0.06em; }
  .carousel-dashes { bottom: 14px; }
  /* Stack hero-kundli CTA buttons full width */
  .hero-kundli .mt-3 .btn, .hero .mt-3 .btn { display: block; width: 100%; margin: 8px 0 0; }
  .product-name { font-size: 0.8rem; }
  .price-current { font-size: 1rem; }
}

/* ===== SHOP / E-COMMERCE ===== */
.promo-banner {
  background: #c62828; color: white; text-align: center;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600;
}

/* Hero Carousel — full-width edge-to-edge */
.hero-carousel {
  position: relative;
  width: 100%;
  background: #3D2914;
  overflow: hidden;
}
.hero-carousel.shop-hero { margin-bottom: 0; }

.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Match hero image ratio (1680×944) — taller hero, less top/bottom crop */
  height: clamp(480px, calc(100vw * 944 / 1680), 92vh);
  min-height: 480px;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.carousel-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 68% center;
}
.carousel-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.overlay-dark { background: linear-gradient(90deg, rgba(44,24,16,0.65) 0%, rgba(44,24,16,0.2) 50%, transparent 80%); }
.overlay-warm { background: linear-gradient(90deg, rgba(60,40,20,0.65) 0%, rgba(60,40,20,0.2) 50%, transparent 80%); }
.overlay-rose { background: linear-gradient(90deg, rgba(60,10,30,0.6) 0%, rgba(60,10,30,0.15) 50%, transparent 80%); }
.overlay-gold { background: linear-gradient(90deg, rgba(50,30,0,0.55) 0%, rgba(50,30,0,0.12) 50%, transparent 80%); }
.overlay-purple { background: linear-gradient(90deg, rgba(30,10,50,0.6) 0%, rgba(30,10,50,0.15) 50%, transparent 80%); }
.overlay-prosperity {
  background: linear-gradient(90deg,
    rgba(44, 24, 16, 0.55) 0%,
    rgba(44, 24, 16, 0.25) 35%,
    transparent 55%);
}
/* Light image — soft cream wash so dark text stays readable */
.overlay-cream {
  background: linear-gradient(90deg,
    rgba(255, 248, 232, 0.92) 0%,
    rgba(255, 248, 232, 0.6) 38%,
    rgba(255, 248, 232, 0.15) 62%,
    transparent 78%);
}

/* Text overlaid on left side of hero image */
.carousel-content {
  position: absolute; z-index: 2;
  top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; text-align: left;
  padding: clamp(32px, 5vw, 72px);
  padding-left: clamp(32px, 6vw, 90px);
}
.carousel-content-left {
  width: min(48%, 620px);
  max-width: 620px;
}
.carousel-content:not(.carousel-content-left) {
  max-width: 620px;
}
.carousel-eyebrow {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: white;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.carousel-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800; line-height: 1.08;
  color: var(--store-gold);
  margin-bottom: 18px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.45);
}
.carousel-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500; color: rgba(255,255,255,0.96);
  margin-bottom: 34px; line-height: 1.55;
  max-width: 100%;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.btn-shop-now {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--store-gold); color: var(--store-black);
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 18px 52px;
  border-radius: 50px; text-decoration: none;
  border: none; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 26px rgba(255, 215, 0, 0.4);
  width: fit-content; white-space: nowrap;
}
.btn-shop-now:hover {
  transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255, 215, 0, 0.55);
  text-decoration: none; color: var(--store-black); background: #FFE566;
}

/* Dark-text theme — for light/bright hero images */
.carousel-content-dark-text .carousel-eyebrow {
  color: var(--secondary);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}
.carousel-content-dark-text .carousel-title {
  color: var(--primary-dark);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.55);
}
.carousel-content-dark-text .carousel-subtitle {
  color: #4a3418;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}
.carousel-content-dark-text .btn-shop-now {
  background: var(--primary-dark); color: #FFF3D0;
  box-shadow: 0 6px 22px rgba(99, 64, 7, 0.4);
}
.carousel-content-dark-text .btn-shop-now:hover {
  background: #4a3005; color: #fff;
  box-shadow: 0 10px 30px rgba(99, 64, 7, 0.5);
}

/* Legacy carousel classes (scoped so they don't hide new title/subtitle) */
.carousel-tag { display: none; }
.carousel-actions { display: none; }
.carousel-btn { display: none; }

.carousel-dashes {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 6px; align-items: center;
}
.carousel-dash {
  height: 3px; width: 18px; border-radius: 2px;
  background: rgba(255,255,255,0.45); border: none;
  cursor: pointer; padding: 0; transition: width 0.3s, background 0.3s;
}
.carousel-dash.active {
  width: 32px; background: white;
}
.carousel-dash:hover { background: rgba(255,255,255,0.8); }
.carousel-dots, .carousel-dot { display: none; }

/* Trust strip */
.trust-strip {
  background: var(--surface-warm); border-bottom: 1px solid var(--border);
  padding: 12px 0; overflow-x: auto;
}
.trust-strip .container {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 28px; min-width: max-content;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap;
}
.trust-icon { font-size: 1rem; color: var(--primary-dark); }

/* Promo banner row */
.promo-banners-section { padding: 20px 0; background: var(--surface); }
.promo-banners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.promo-banner-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; display: block; text-decoration: none;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.promo-banner-card:hover {
  transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.15);
  text-decoration: none;
}
.promo-banner-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.promo-banner-card:hover .promo-banner-img { transform: scale(1.06); }
.promo-banner-text {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; color: white;
}
.promo-banner-text strong { font-size: 1rem; display: block; }
.promo-banner-text span { font-size: 0.75rem; opacity: 0.9; margin-top: 2px; }

/* Collection image cards */
.collection-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.collection-card:hover {
  transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  text-decoration: none; color: inherit;
}
.collection-card-image {
  aspect-ratio: 4/3; overflow: hidden; background: var(--surface);
}
.collection-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s;
}
.collection-card:hover .collection-card-img { transform: scale(1.06); }
.collection-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--primary-dark);
  background: linear-gradient(135deg, var(--surface), var(--surface-glow));
}
.collection-card-body { padding: 14px; flex: 1; }
.collection-card-body strong { color: var(--primary); font-size: 0.95rem; display: block; }
.collection-card-body p { font-size: 0.78rem; color: #888; margin: 4px 0 8px; line-height: 1.4; }
.collection-card-count { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

/* Offer strip */
.offer-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 24px 0;
}
.offer-card {
  display: flex; align-items: center; gap: 14px;
  background: white; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform 0.2s;
  border-left: 4px solid var(--primary);
}
.offer-card:hover { transform: translateY(-2px); text-decoration: none; }
.offer-card.gold { border-left-color: var(--store-gold); }
.offer-card.green { border-left-color: var(--primary); }
.offer-card.red { border-left-color: var(--primary-dark); }
.offer-icon { font-size: 2rem; flex-shrink: 0; }
.offer-card strong { display: block; font-size: 0.9rem; color: var(--primary-dark); }
.offer-card span { font-size: 0.78rem; color: var(--muted); }
.cart-badge {
  background: #c62828; color: white; border-radius: 50%;
  min-width: 18px; height: 18px; font-size: 0.7rem;
  display: none; align-items: center; justify-content: center;
  margin-left: 4px; padding: 0 4px;
}
.cart-link { position: relative; display: inline-flex; align-items: center; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-image {
  display: block; aspect-ratio: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; overflow: hidden;
}
.product-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-icon { font-size: 3.5rem; opacity: 0.9; }
.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: white;
  padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700;
}
.product-discount {
  position: absolute; top: 8px; right: 8px;
  background: #c62828; color: white;
  padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700;
}
.product-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  text-decoration: none; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.8em;
}
.product-name:hover { color: var(--primary); }
.product-rating { font-size: 0.75rem; color: #f59e0b; margin: 6px 0; }
.product-rating span { color: var(--muted); }
.product-price { margin-bottom: 10px; }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); }
.price-original { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.btn-block { width: 100%; justify-content: center; }

.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.category-pill {
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem;
  background: white; border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: all 0.2s;
}
.category-pill:hover, .category-pill.active {
  background: var(--primary); color: white; border-color: var(--primary); text-decoration: none;
}

.collection-banner {
  background: linear-gradient(135deg, #263238, #37474f);
  color: white; padding: 32px 16px; text-align: center;
  position: relative; overflow: hidden;
}
.collection-banner-image {
  padding: 0; min-height: clamp(180px, 28vw, 280px);
  display: flex; align-items: center; justify-content: center;
}
.collection-banner-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.collection-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 100%);
}
.collection-banner-content {
  position: relative; z-index: 1; padding: 48px 16px; text-align: center;
}
.collection-banner h1, .collection-banner-content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 8px; color: white;
}
.collection-banner p, .collection-banner-content p {
  opacity: 0.9; max-width: 600px; margin: 0 auto; color: rgba(255,255,255,0.92);
}

.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.shop-toolbar select, .shop-toolbar input {
  padding: 8px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem;
}

.shop-sidebar-cats { list-style: none; }
.shop-sidebar-cats li a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 0.85rem; color: var(--text);
  text-decoration: none; border-radius: 4px;
}
.shop-sidebar-cats li a:hover, .shop-sidebar-cats li a.active {
  background: var(--surface); color: var(--primary);
}

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-detail-image {
  aspect-ratio: 1; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; position: relative; overflow: hidden;
  background: #fff;
}
.product-detail-image .product-img {
  width: 100%; height: 100%; object-fit: contain;
}
.cart-item-image .product-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.product-detail-info h1 { font-size: 1.5rem; margin-bottom: 12px; color: var(--primary-dark); }
.product-detail-price .price-current { font-size: 1.8rem; }
.product-benefits { list-style: none; margin: 16px 0; }
.product-benefits li { padding: 6px 0; padding-left: 20px; position: relative; font-size: 0.9rem; }
.product-benefits li::before { content: "✓"; position: absolute; left: 0; color: green; font-weight: bold; }
.qty-selector { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.qty-selector button {
  width: 36px; height: 36px; border: 1px solid var(--border);
  background: white; border-radius: 4px; cursor: pointer; font-size: 1.1rem;
}
.qty-selector input { width: 50px; text-align: center; padding: 8px; border: 1px solid var(--border); border-radius: 4px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.trust-badge { background: var(--surface); padding: 8px 12px; border-radius: var(--radius); font-size: 0.8rem; }

/* Cart page */
.cart-table { width: 100%; }
.cart-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px; align-items: start; padding: 24px 0;
}
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-image {
  width: 80px; height: 80px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-line-total { font-weight: 700; color: var(--primary-dark); flex-shrink: 0; white-space: nowrap; }
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; gap: 16px; }
}
.cart-summary {
  background: var(--surface); padding: 20px; border-radius: var(--radius);
  border: 2px solid var(--primary-light);
}
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary-total { font-size: 1.2rem; font-weight: 700; border-top: 2px solid var(--primary); padding-top: 12px; margin-top: 8px; }

.checkout-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border, #e5e5e5); }
.checkout-section-title { font-size: 0.95rem; margin-bottom: 12px; font-weight: 600; }
.checkout-form .form-group { margin-bottom: 10px; }
.checkout-form label { font-size: 0.8rem; display: block; margin-bottom: 4px; }
.checkout-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-hr { border: none; border-top: 1px solid rgba(212, 175, 55, 0.25); margin: 18px 0; }
.checkout-label {
  display: block; font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(44, 44, 44, 0.7); margin-bottom: 10px;
}
.checkout-select { margin-bottom: 4px; }
.voucher-row { display: flex; gap: 8px; align-items: stretch; }
.voucher-row .form-control { flex: 1; }
.voucher-row .btn { white-space: nowrap; }
.voucher-msg { font-size: 0.8rem; margin-top: 8px; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius); cursor: pointer; font-size: 0.9rem;
}
.payment-option:has(input:checked) {
  border-color: #584222; background: rgba(244, 228, 188, 0.25);
}
.payment-option input { accent-color: #584222; }

.pay-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.pay-modal[hidden] { display: none !important; }
.pay-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
}
.pay-modal-dialog {
  position: relative; background: #FFFEF7; border-radius: 2px;
  padding: 28px 24px; max-width: 400px; width: 100%;
  text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.pay-modal-dialog h3 { margin-bottom: 6px; color: #584222; font-weight: 500; }
.pay-qr-wrap {
  display: flex; justify-content: center; margin: 16px 0;
  padding: 12px; background: #fff; border: 1px solid rgba(212, 175, 55, 0.25);
}
.pay-qr-img {
  width: 250px; height: 250px; object-fit: contain; display: block;
}
.pay-amount { font-size: 1.35rem; font-weight: 600; margin: 8px 0; color: #584222; }
.pay-countdown { margin: 4px 0 12px; font-size: 0.9rem; }
.pay-waiting { font-size: 0.85rem; margin-bottom: 16px; }
.mb-1 { margin-bottom: 8px; }

.order-placed-card {
  max-width: 520px; margin: 40px auto; text-align: center;
  padding: 48px 28px;
}
.order-placed-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: #e8f5e9; color: #2e7d32;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
}

.cart-toast {
  position: fixed; bottom: 24px; right: 24px; background: #2e7d32;
  color: white; padding: 12px 24px; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 9999;
  transform: translateY(100px); opacity: 0; transition: all 0.3s;
}
.cart-toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
