:root {
  --brand-maroon: #631212;
  --brand-maroon-dark: #3F0909;
  --brand-gold: #C28B1E;
  --brand-gold-light: #F7E7C4;
  --brand-accent: #E8590C;
  --bg-page: #FCFBF7;
  --bg-card: #FFFFFF;
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8C827A;
  --border-light: #EFE9DE;
  --border-card: #E7DFD1;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 9999px;
  --shadow-soft: 0 4px 20px -2px rgba(99, 18, 18, 0.06);
  --shadow-hover: 0 12px 28px -4px rgba(99, 18, 18, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* 1. TOP ANNOUNCEMENT TICKER */
.announcement-bar {
  background: var(--brand-maroon);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.ticker-badge {
  background: var(--brand-gold);
  color: var(--brand-maroon-dark);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* 2. MAIN STORE HEADER */
.store-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-img-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-gold);
  background: #FAF3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-maroon);
  line-height: 1.1;
}
.brand-text p {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Search bar */
.header-search { flex: 1; max-width: 380px; position: relative; }
.search-input {
  width: 100%;
  background: #F8F5EE;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 38px;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
}
.search-input:focus {
  background: #fff;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(194, 139, 30, 0.15);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.header-link:hover { color: var(--brand-maroon); }

.cart-trigger-btn {
  background: var(--brand-maroon);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-trigger-btn:hover { background: var(--brand-maroon-dark); transform: translateY(-1px); }
.cart-badge-count {
  background: var(--brand-gold);
  color: var(--brand-maroon-dark);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3. HERO SLIDER */
.hero-slider-section {
  position: relative;
  background: #230808;
  overflow: hidden;
}
.hero-slide-wrapper {
  position: relative;
  min-height: 400px;
}
.hero-slide {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 400px;
  align-items: center;
  animation: fadeIn 0.6s ease;
}
.hero-slide.active { display: grid; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-content { padding: 48px 56px; color: #FFFFFF; z-index: 2; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(194, 139, 30, 0.25);
  border: 1px solid var(--brand-gold);
  color: #F8E7C0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-title span { color: #FFD470; font-style: italic; }
.hero-subtitle {
  font-size: 14px;
  color: #E2D9D2;
  margin-bottom: 24px;
  max-width: 460px;
  line-height: 1.6;
}
.hero-cta-group { display: flex; gap: 14px; align-items: center; }
.btn-hero-primary {
  background: var(--brand-gold);
  color: var(--brand-maroon-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero-primary:hover {
  background: #FFD470;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 139, 30, 0.4);
}
.btn-hero-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.hero-visual-side {
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #4A0E0E 0%, #1E0505 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hero-card-display {
  width: 280px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  text-align: center;
}
.hero-card-img {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FDF9F0;
  margin-bottom: 12px;
}
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-name { font-size: 15px; font-weight: 800; color: var(--brand-maroon); }
.hero-card-desc { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.slider-arrow-btn:hover { background: var(--brand-gold); color: var(--brand-maroon-dark); }
.slider-arrow-prev { left: 16px; }
.slider-arrow-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.slider-dot.active {
  width: 24px;
  border-radius: 99px;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
}

/* 4. TRUST STRIP */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 18px 24px;
}
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-box { display: flex; align-items: center; gap: 12px; }
.trust-box-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #FAF3E3;
  color: var(--brand-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.trust-box-title { font-size: 12px; font-weight: 800; color: var(--text-primary); }
.trust-box-sub { font-size: 11px; color: var(--text-muted); }

/* 5. CATALOG & D2C PRODUCT CARDS */
.catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border-light);
}
.section-headline h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-maroon);
}
.section-headline p { font-size: 13px; color: var(--text-muted); }

.category-filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.filter-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-chip.active, .filter-chip:hover {
  background: var(--brand-maroon);
  border-color: var(--brand-maroon);
  color: #FFFFFF;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-image-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #FDFBF7;
  overflow: hidden;
}
.product-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image-box img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-maroon);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.card-badge.gold { background: var(--brand-gold); color: var(--brand-maroon-dark); }
.card-badge.out-stock { background: #78716C; }

.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #F59E0B;
  margin-bottom: 8px;
}
.product-rating-count { font-size: 10px; color: var(--text-muted); }

.price-weight-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}
.current-price { font-size: 17px; font-weight: 800; color: var(--brand-maroon); }
.original-price { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.unit-label { font-size: 11px; color: var(--text-secondary); font-weight: 600; }

.add-to-cart-btn {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--brand-maroon);
  color: var(--brand-maroon);
  font-weight: 800;
  font-size: 12px;
  padding: 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-to-cart-btn:hover { background: var(--brand-maroon); color: #FFFFFF; }
.add-to-cart-btn.added { background: #15803D; border-color: #15803D; color: #FFFFFF; }

.btn-notify-me {
  width: 100%;
  background: #F5F5F4;
  border: 1.5px solid #D6D3D1;
  color: #57534E;
  font-weight: 700;
  font-size: 11px;
  padding: 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-notify-me:hover { background: var(--brand-maroon); color: #fff; border-color: var(--brand-maroon); }

/* 6. CART SLIDE-OVER DRAWER */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-drawer-backdrop.active { opacity: 1; pointer-events: all; }
.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.25);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer-panel.active { right: 0; }
.drawer-header {
  padding: 16px 20px;
  background: var(--brand-maroon);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.drawer-close-btn { background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.empty-cart-view { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-cart-view .icon { font-size: 48px; margin-bottom: 12px; }

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: #FAF5EB;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.cart-item-price { font-size: 13px; font-weight: 800; color: var(--brand-maroon); margin-bottom: 6px; }
.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5EFE6;
  border-radius: 4px;
  padding: 2px 6px;
  width: fit-content;
}
.qty-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-maroon);
  cursor: pointer;
  width: 20px;
}
.qty-display { font-size: 12px; font-weight: 700; }

.drawer-footer {
  padding: 18px 20px;
  background: #FAF8F5;
  border-top: 1px solid var(--border-card);
}
.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.drawer-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-maroon);
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-card);
}
.drawer-checkout-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.drawer-checkout-btn:hover { background: #20BA5A; }
.drawer-checkout-btn:disabled { background: #CCC; cursor: not-allowed; }

/* 7. NOTIFICATION POPUP MODAL */
.notify-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notify-modal-backdrop.active { display: flex; }
.notify-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.notify-modal-card h3 {
  font-family: var(--font-heading);
  color: var(--brand-maroon);
  font-size: 18px;
  margin-bottom: 6px;
}
.notify-modal-card p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.notify-form-group { margin-bottom: 12px; }
.notify-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.notify-form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}
.notify-form-input:focus { border-color: var(--brand-gold); }
.btn-submit-notify {
  width: 100%;
  background: var(--brand-maroon);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

/* 8. WEDDING SPECIAL STRIP */
.wedding-special-strip {
  background: linear-gradient(135deg, var(--brand-maroon-dark) 0%, var(--brand-maroon) 100%);
  color: #FFFFFF;
  padding: 48px 24px;
  text-align: center;
}
.wedding-strip-inner { max-width: 760px; margin: 0 auto; }
.wedding-tag {
  background: rgba(194, 139, 30, 0.3);
  border: 1px solid var(--brand-gold);
  color: #FFD470;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.wedding-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}
.wedding-sub { font-size: 14px; color: #E7DFD1; margin-bottom: 24px; line-height: 1.6; }
.wedding-cta-btn {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: all 0.2s;
  text-decoration: none;
}

/* 9. FOOTER */
.store-footer { background: #1C1917; color: #A8A29E; padding: 50px 24px 20px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #292524;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col p { font-size: 12px; line-height: 1.7; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #A8A29E; text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

/* Reusable responsive grids for sub-pages */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .header-container { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: 100%; }
  .header-actions { gap: 12px; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-content { padding: 36px 24px; }
  .hero-title { font-size: 28px; }
  .hero-visual-side { display: none; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .category-filter-chips { width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid, .three-col-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 520px) {
  .header-link { display: none; }
  .brand-text h1 { font-size: 16px; }
}
