/* ══════════════════════════════════════════════════════════════
   HUB KURTIS — Premium Luxury CSS
   Palette: Deep Plum + Champagne Gold + Ivory
   Typeface: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --plum:          #2D1B3D;
  --plum-mid:      #3E2554;
  --gold:          #C9A84C;
  --gold-light:    #E8C97A;
  --ivory:         #FAF7F2;
  --ivory-warm:    #F2EDE3;
  --text-dark:     #1A1118;
  --text-mid:      #5C4D6B;
  --text-light:    #9A8BAB;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 12px rgba(45,27,61,.08);
  --shadow-md:     0 8px 32px rgba(45,27,61,.14);
  --shadow-lg:     0 20px 60px rgba(45,27,61,.20);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Announcement Bar ──────────────────────────────────────── */
.announcement-bar {
  background: var(--plum);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-icon {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: .04em;
}
nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
nav a:hover { color: var(--plum); background: rgba(201,168,76,.1); }
.nav-left, .nav-right { display: flex; align-items: center; gap: 4px; }
.cart-link { position: relative; display: flex; align-items: center; gap: 4px; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--plum);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: var(--plum);
  padding: 8px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--ivory-warm);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--ivory-warm);
}
.mobile-nav.open { display: flex; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-mid) 50%, #2A1540 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(201,168,76,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,.08) 0%, transparent 50%);
  /* subtle medallion pattern via CSS */
}
.hero-bg-pattern::before {
  content: '✦';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 380px;
  color: rgba(201,168,76,.06);
  pointer-events: none;
  line-height: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 80px;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta-row { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--plum);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--gold);
  color: var(--gold);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .08em; margin-top: 4px; }
.stat-divider { color: rgba(255,255,255,.2); font-size: 24px; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.3);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.5); } }

/* ─── Section Headers ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ─── Categories Section ────────────────────────────────────── */
.categories-section { padding: 60px 0 0; }
.category-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.pill {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid rgba(45,27,61,.15);
  color: var(--text-mid);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.pill:hover, .pill.active {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--gold-light);
}

/* ─── Features Strip ────────────────────────────────────────── */
.features-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--ivory-warm);
  border-bottom: 1px solid var(--ivory-warm);
  margin: 48px 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  border-right: 1px solid var(--ivory-warm);
  flex: 1;
  min-width: 200px;
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 28px; }
.feature-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--plum); }
.feature-item small { font-size: 12px; color: var(--text-light); }

/* ─── Products Section ──────────────────────────────────────── */
.products-section { padding: 60px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-img-box {
  aspect-ratio: 3/4;
  background: var(--ivory-warm);
  overflow: hidden;
}
.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img-box img { transform: scale(1.06); }
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--gold);
  background: var(--ivory-warm);
}
.badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gold);
  color: var(--plum);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,27,61,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn {
  background: var(--white);
  color: var(--plum);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 100px;
  letter-spacing: .04em;
  transition: var(--transition);
}
.overlay-btn:hover { background: var(--gold); color: var(--plum); }
.product-info { padding: 18px 16px 20px; }
.product-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 36px;
}
.product-rating { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; }
.star { font-size: 13px; color: #D4D4D4; }
.star.filled { color: var(--gold); }
.rating-num { font-size: 12px; color: var(--text-light); margin-left: 6px; }
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.price-current {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--plum);
}
.price-original {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-save { font-size: 12px; color: #2E7D32; font-weight: 600; }
.product-sizes { font-size: 11px; color: var(--text-light); margin-bottom: 12px; }
.add-to-cart-btn {
  width: 100%;
  padding: 10px;
  background: var(--plum);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  border-radius: 6px;
  transition: var(--transition);
}
.add-to-cart-btn:hover {
  background: var(--plum-mid);
  color: var(--gold);
}
.add-to-cart-btn.added {
  background: var(--gold);
  color: var(--plum);
}

/* ─── Brand Story ───────────────────────────────────────────── */
.brand-story {
  padding: 96px 0;
  background: var(--plum);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-text .section-eyebrow { color: var(--gold-light); }
.story-text .section-title { color: var(--white); text-align: left; }
.story-text p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0 32px;
}
.story-pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
}
.story-image-box {
  aspect-ratio: 4/5;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.story-decorative {
  text-align: center;
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: .1em;
}
.deco-line { width: 1px; height: 60px; background: var(--gold); opacity: .4; }

/* ─── Contact ───────────────────────────────────────────────── */
.contact-section { padding: 80px 0; background: var(--ivory-warm); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--gold); }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  padding: 56px 24px;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline { color: rgba(255,255,255,.4); font-size: 13px; margin-bottom: 24px; }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.footer-pay { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-pay strong { color: var(--gold-light); }

/* ─── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--plum);
  color: var(--gold-light);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all .3s ease;
  z-index: 999;
  max-width: 280px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─── Empty state ───────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
  font-size: 16px;
}

/* ─── Page: Product / Cart / Checkout common ────────────────── */
.page-wrapper {
  min-height: 70vh;
  padding: 60px 0;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-image-box { aspect-ratio: 16/7; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-left, .nav-right { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { padding: 60px 24px; }
  .hero-scroll-hint { left: 24px; }
  .hero-stats { gap: 16px; }
  .header-inner { padding: 0 20px; }
  .feature-item { min-width: 160px; padding: 18px 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 12px; }
  .price-current { font-size: 18px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-cta-row { flex-direction: column; }
}
