﻿/* ==========================================================================
   SAFFRONS BEAUTY — LUXURY EDITORIAL DESIGN SYSTEM
   Brand Palette: Warm Ivory, Soft Silk White, Deep Charcoal & Champagne Gold
   ========================================================================== */

:root {
  --sb-bg: #FAF8F5;
  --sb-surface: #FFFFFF;
  --sb-surface-alt: #F4F0E8;
  --sb-border: #E8E2D8;
  --sb-border-subtle: #F0ECE4;
  
  --sb-text: #1A1A1A;
  --sb-text-muted: #5C5852;
  --sb-text-subtle: #8A857D;
  --sb-text-inverse: #FFFFFF;

  --sb-gold: #C5A880;
  --sb-gold-hover: #B38E5D;
  --sb-gold-light: rgba(197, 168, 128, 0.12);

  --sb-sale: #A34848;
  --sb-new: #385E4E;
  --sb-exclusive: #56466B;

  --sb-font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sb-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --sb-shadow-sm: 0 2px 10px rgba(26, 26, 26, 0.04);
  --sb-shadow-md: 0 6px 24px rgba(26, 26, 26, 0.06);
  --sb-shadow-lg: 0 16px 40px rgba(26, 26, 26, 0.10);
  --sb-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--sb-bg);
  color: var(--sb-text);
  font-family: var(--sb-font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--sb-transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .serif {
  font-family: var(--sb-font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sb-text);
}

.eyebrow {
  font-family: var(--sb-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sb-gold-hover);
  margin-bottom: 8px;
  display: block;
}

/* ── Global Announcement Bar ───────────────────────────────── */
.announcement-bar {
  background: #1A1A1A;
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.announcement-bar a {
  color: var(--sb-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Global Header ─────────────────────────────────────────── */
.header-main {
  background: var(--sb-surface);
  border-bottom: 1px solid var(--sb-border);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: var(--sb-transition);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-name {
  font-family: var(--sb-font-serif);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
}
.brand-tagline {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-gold-hover);
  margin-top: 4px;
}

/* Main Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sb-text);
  padding: 8px 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sb-gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link.sale-link {
  color: var(--sb-sale);
  font-weight: 600;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-action-btn {
  background: none;
  border: none;
  color: var(--sb-text);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.header-action-btn:hover {
  color: var(--sb-gold-hover);
}
.action-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--sb-gold);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.currency-selector select {
  background: transparent;
  border: 1px solid var(--sb-border);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--sb-text);
  cursor: pointer;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-editorial {
  position: relative;
  background: #111111;
  color: #FFFFFF;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.65) 50%, rgba(17,17,17,0.2) 100%),
              radial-gradient(circle at 80% 50%, rgba(197,168,128,0.15) 0%, transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}
.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #D4CEBF;
  margin-bottom: 32px;
  font-weight: 300;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--sb-transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--sb-gold);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--sb-gold-hover);
}
.btn-secondary {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn-secondary:hover {
  background: #FFFFFF;
  color: #1A1A1A;
}
.btn-dark {
  background: #1A1A1A;
  color: #FFFFFF;
}
.btn-dark:hover {
  background: #333333;
}
.btn-outline {
  background: transparent;
  border-color: var(--sb-border);
  color: var(--sb-text);
}
.btn-outline:hover {
  border-color: var(--sb-gold);
  color: var(--sb-gold-hover);
}

/* ── Luxury Benefit Strip ──────────────────────────────────── */
.benefit-strip {
  background: var(--sb-surface);
  border-bottom: 1px solid var(--sb-border);
  padding: 30px 0;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sb-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sb-gold-hover);
  font-size: 18px;
  flex-shrink: 0;
}
.benefit-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sb-text);
}
.benefit-desc {
  font-size: 12px;
  color: var(--sb-text-muted);
}

/* ── Category Experience ───────────────────────────────────── */
.section-padding {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--sb-text-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: 4px;
  padding: 28px 18px;
  text-align: center;
  transition: var(--sb-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--sb-gold);
  box-shadow: var(--sb-shadow-md);
}
.category-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.category-card-title {
  font-family: var(--sb-font-serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}
.category-card-count {
  font-size: 12px;
  color: var(--sb-text-subtle);
}

/* ── Product Card ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--sb-transition);
}
.product-card:hover {
  border-color: var(--sb-border);
  box-shadow: var(--sb-shadow-md);
  transform: translateY(-3px);
}
.product-media {
  position: relative;
  padding-top: 110%;
  background: #FDFBF8;
  overflow: hidden;
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sb-transition);
}
.product-card:hover .product-media img {
  transform: scale(1.04);
}
.product-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F8F5F0 0%, #EFE9DF 100%);
  color: var(--sb-text-subtle);
  padding: 20px;
  text-align: center;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  color: #FFFFFF;
  z-index: 2;
}
.badge-sale { background: var(--sb-sale); }
.badge-new { background: var(--sb-new); }
.badge-exclusive { background: var(--sb-exclusive); }
.badge-hot { background: #B45309; }

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sb-text-muted);
  cursor: pointer;
  z-index: 2;
  transition: var(--sb-transition);
}
.product-wishlist-btn:hover {
  color: var(--sb-sale);
  background: #FFFFFF;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-gold-hover);
  margin-bottom: 6px;
}
.product-title {
  font-family: var(--sb-font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sb-text);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--sb-gold);
  margin-bottom: 12px;
}
.product-rating .count {
  color: var(--sb-text-subtle);
  font-size: 11px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
}
.price-current {
  font-size: 17px;
  font-weight: 700;
  color: var(--sb-text);
}
.price-old {
  font-size: 13px;
  color: var(--sb-text-subtle);
  text-decoration: line-through;
}
.product-action-row {
  display: flex;
  gap: 8px;
}
.btn-add-bag {
  flex: 1;
  padding: 10px 14px;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--sb-transition);
}
.btn-add-bag:hover {
  background: var(--sb-gold);
}

/* ── Brand Carousel / Grid ─────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.brand-card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  padding: 24px 16px;
  border-radius: 4px;
  text-align: center;
  transition: var(--sb-transition);
}
.brand-card:hover {
  border-color: var(--sb-gold);
  transform: translateY(-3px);
}
.brand-name-title {
  font-family: var(--sb-font-serif);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Editorial Feature Banners ─────────────────────────────── */
.editorial-banner {
  background: #1A1A1A;
  color: #FFFFFF;
  border-radius: 4px;
  padding: 60px 48px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.editorial-banner-content {
  max-width: 580px;
}
.editorial-banner-title {
  font-size: 38px;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.editorial-banner-copy {
  color: #D4CEBF;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── Physical Flagship Boutique Spotlight ──────────────────── */
.boutique-section {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: 4px;
  padding: 50px;
  margin: 50px 0;
}
.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.boutique-info h3 {
  font-size: 32px;
  margin-bottom: 14px;
}
.boutique-details-list {
  list-style: none;
  margin: 20px 0;
}
.boutique-details-list li {
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  color: var(--sb-text-muted);
}
.boutique-details-list strong {
  color: var(--sb-text);
  min-width: 90px;
}

/* ── Newsletter Section ────────────────────────────────────── */
.newsletter-section {
  background: var(--sb-surface-alt);
  border-top: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
  padding: 60px 0;
  text-align: center;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 24px auto 0;
  gap: 8px;
}
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--sb-border);
  border-radius: 3px;
  font-size: 14px;
  background: #FFFFFF;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--sb-gold);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-main {
  background: #161616;
  color: #A39E96;
  padding: 70px 0 30px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  border-top: 1px solid #2B2926;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.payment-badges-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.payment-badge-pill {
  background: #252422;
  border: 1px solid #383632;
  color: #E0DBD3;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .boutique-grid { grid-template-columns: 1fr; }
  .editorial-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero-title { font-size: 34px; }
}
