/* ============================================================
   BOUTIQUE.CSS — Women's Fashion E-Commerce
   Design: Soft blush + deep charcoal + gold accent
   Font: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blush:       #F5EDE8;
  --blush-dark:  #EDD9CE;
  --cream:       #FAF7F4;
  --charcoal:    #2f0f41;
  --charcoal-lt: #5A5A5A;
  --gold:        #C9A96E;
  --gold-dark:   #A8844D;
  --white:       #FFFFFF;
  --border:      #E8DDD7;
  --success:     #6A9E7F;
  --error:       #C0614C;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 4px rgba(44,44,44,0.08);
  --shadow-md:   0 4px 16px rgba(44,44,44,0.12);
  --shadow-lg:   0 8px 32px rgba(44,44,44,0.14);

  --transition:  all 0.25s ease;
  --header-h:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

/* ---------- Typography ---------- */
.display-xl { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.2; }
.display-md { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.3; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  white-space: nowrap;
}
.logo span { color: var(--gold); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--charcoal); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--charcoal-lt);
  transition: var(--transition);
  position: relative;
}
.header-icon-btn:hover { background: var(--blush); color: var(--charcoal); }
.header-icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px; font-weight: 600;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
}
.mobile-nav a:hover { color: var(--gold); }

/* Announcement Bar */
.announcement-bar {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.announcement-bar span { color: var(--gold); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 16px;
  color: var(--charcoal-lt);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  background: var(--blush);
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-image-overlay {
  position: absolute;
  bottom: 32px; left: 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.hero-image-overlay .tag { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.hero-image-overlay .name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.hero-image-overlay .price { font-size: 13px; color: var(--charcoal-lt); margin-top: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-primary:hover { background: var(--charcoal-lt); border-color: var(--charcoal-lt); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 13px; }
.btn-sm { padding: 9px 20px; font-size: 11px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.categories-strip { background: var(--white); padding: 48px 0; }
.categories-strip .section-header { text-align: center; margin-bottom: 40px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--blush);
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,0.65) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 20px 16px;
}
.category-card-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.category-card-count { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header .section-label { margin-bottom: 12px; display: block; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}
.section-header p { margin-top: 12px; color: var(--charcoal-lt); max-width: 520px; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.products-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;
  transition: var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--blush);
  overflow: hidden;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }

.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.product-card-badge.sale { background: var(--error); }
.product-card-badge.new { background: var(--gold); }

.product-card-actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-action-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--charcoal);
}
.product-card-action-btn:hover { background: var(--gold); color: var(--white); }
.product-card-action-btn svg { width: 16px; height: 16px; }

.product-card-body { padding: 16px; }
.product-card-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-card-price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.price-original { font-size: 13px; color: var(--charcoal-lt); text-decoration: line-through; }
.price-discount { font-size: 12px; color: var(--error); font-weight: 600; }

.product-card-add {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: var(--blush);
  color: var(--charcoal);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.product-card-add:hover { background: var(--charcoal); color: var(--white); }

/* Color Swatches */
.product-swatches { display: flex; gap: 6px; margin-bottom: 10px; }
.swatch {
  width: 16px; height: 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.swatch.active, .swatch:hover { box-shadow: 0 0 0 2px var(--gold); }

/* ============================================================
   FEATURED BANNER
   ============================================================ */
.featured-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: var(--blush-dark);
}
.featured-banner img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.featured-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,44,44,0.7) 0%, rgba(44,44,44,0.1) 60%, transparent 100%);
}
.featured-banner-content {
  position: relative; z-index: 1;
  padding: 64px;
  max-width: 520px;
  color: var(--white);
}
.featured-banner-content .section-label { color: var(--gold); margin-bottom: 16px; display: block; }
.featured-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
}
.featured-banner-content p { font-size: 15px; opacity: 0.85; line-height: 1.6; margin-bottom: 32px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--gold); font-size: 14px; }
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--blush-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}
.testimonial-name { font-size: 13px; font-weight: 600; }
.testimonial-meta { font-size: 12px; color: var(--charcoal-lt); }

/* ============================================================
   NEWSLETTER BANNER
   ============================================================ */
.newsletter { background: var(--charcoal); color: var(--white); text-align: center; padding: 80px 0; }
.newsletter .section-label { color: var(--gold); margin-bottom: 16px; }
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 12px;
}
.newsletter p { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }
.payment-icons { display: flex; gap: 8px; }
.payment-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.filter-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.filter-card h3 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.filter-card h3 svg { width: 14px; height: 14px; transition: var(--transition); }
.filter-card h3.open svg { transform: rotate(180deg); }
.filter-options { display: flex; flex-direction: column; gap: 10px; }
.filter-option {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 13px; color: var(--charcoal-lt);
  transition: var(--transition);
}
.filter-option:hover { color: var(--charcoal); }
.filter-option input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--gold); cursor: pointer; }
.filter-option-count { margin-left: auto; font-size: 11px; color: var(--charcoal-lt); }

/* Price Range */
.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-range-inputs input[type="number"] {
  width: 80px; padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--charcoal);
  background: var(--cream);
}
.price-range-separator { font-size: 12px; color: var(--charcoal-lt); }

/* Shop Toolbar */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.shop-count { font-size: 13px; color: var(--charcoal-lt); }
.shop-sort {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px; color: var(--charcoal);
  cursor: pointer;
}
.shop-view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal-lt);
  transition: var(--transition);
  background: var(--white);
}
.view-btn.active, .view-btn:hover { border-color: var(--gold); color: var(--gold); }
.view-btn svg { width: 16px; height: 16px; }

/* Active Filters */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blush);
  border: 1px solid var(--blush-dark);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px; color: var(--charcoal);
}
.filter-tag button { color: var(--charcoal-lt); transition: var(--transition); display: flex; }
.filter-tag button:hover { color: var(--error); }
.filter-tag button svg { width: 12px; height: 12px; }

/* Mobile Filter Toggle */
.mobile-filter-btn {
  display: none;
  align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px; font-weight: 500;
  color: var(--charcoal);
}
.mobile-filter-btn svg { width: 16px; height: 16px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding: 48px 0 80px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main {
  aspect-ratio: 3/4;
  background: var(--blush);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px; height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--charcoal-lt);
  margin-bottom: 20px;
}
.product-info .breadcrumb a:hover { color: var(--gold); }
.product-info .breadcrumb span { color: var(--border); }
.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.product-rating .stars { color: var(--gold); font-size: 14px; display: flex; gap: 2px; }
.product-rating .count { font-size: 13px; color: var(--charcoal-lt); }
.product-price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.product-price-block .current { font-size: 1.8rem; font-weight: 600; }
.product-price-block .original { font-size: 1.2rem; color: var(--charcoal-lt); text-decoration: line-through; }
.product-price-block .badge {
  background: var(--error);
  color: var(--white);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Variant Selectors */
.variant-group { margin-bottom: 24px; }
.variant-label {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex; gap: 8px;
}
.variant-label span { font-weight: 400; color: var(--charcoal-lt); text-transform: none; letter-spacing: 0; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--charcoal); }
.size-btn.active { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }
.size-btn.out-of-stock { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.color-swatches-lg { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch-lg {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.color-swatch-lg.active, .color-swatch-lg:hover { box-shadow: 0 0 0 2px var(--gold); }

/* Qty & Add to Cart */
.add-to-cart-row { display: flex; gap: 12px; margin-bottom: 16px; }
.qty-input {
  display: flex; align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 40px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--charcoal-lt);
  transition: var(--transition);
}
.qty-btn:hover { background: var(--blush); color: var(--charcoal); }
.qty-num {
  width: 44px; height: 48px;
  text-align: center;
  border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  -moz-appearance: textfield;
}
.qty-num::-webkit-outer-spin-button, .qty-num::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-actions-secondary { display: flex; gap: 12px; margin-bottom: 32px; }
.wishlist-btn, .share-btn {
  flex: 1; padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--charcoal-lt);
  transition: var(--transition);
  background: var(--white);
}
.wishlist-btn:hover { border-color: var(--error); color: var(--error); }
.share-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.wishlist-btn svg, .share-btn svg { width: 16px; height: 16px; }

/* Product Meta */
.product-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.product-meta { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.product-meta-row { display: flex; gap: 8px; }
.product-meta-row strong { min-width: 80px; color: var(--charcoal); font-weight: 600; }
.product-meta-row span { color: var(--charcoal-lt); }

/* Accordion (Description / Shipping) */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; background: transparent;
  color: var(--charcoal);
  transition: var(--transition);
}
.accordion-header:hover { color: var(--gold); }
.accordion-header svg { width: 16px; height: 16px; transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-header.open svg { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 0 20px;
  font-size: 14px; color: var(--charcoal-lt);
  line-height: 1.75;
}
.accordion-body.open { display: block; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-image {
  aspect-ratio: 3/4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blush);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  margin-bottom: 4px;
}
.cart-item-meta { font-size: 12px; color: var(--charcoal-lt); margin-bottom: 12px; }
.cart-item-remove {
  font-size: 12px; color: var(--charcoal-lt);
  text-decoration: underline; text-underline-offset: 3px;
  transition: var(--transition); background: none;
}
.cart-item-remove:hover { color: var(--error); }
.cart-item-price-col { text-align: right; }
.cart-item-price { font-size: 15px; font-weight: 600; }
.cart-item-subtotal { font-size: 12px; color: var(--charcoal-lt); margin-top: 4px; }

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.summary-row.total {
  font-size: 16px; font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 16px; margin-top: 8px;
}
.summary-row.total span:last-child { font-size: 1.2rem; }
.coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.coupon-row input {
  flex: 1; padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.coupon-row input:focus { border-color: var(--gold); }

/* Cart Empty */
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty svg { width: 64px; height: 64px; color: var(--blush-dark); margin: 0 auto 24px; }
.cart-empty h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
.cart-empty p { color: var(--charcoal-lt); margin-bottom: 32px; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.checkout-section {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.checkout-step-num {
  width: 28px; height: 28px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal); }
.form-control {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus { border-color: var(--gold); }
.form-control.error { border-color: var(--error); }
.form-error { font-size: 11px; color: var(--error); }

/* Payment Options */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.payment-option:hover { border-color: var(--blush-dark); background: var(--blush); }
.payment-option.selected { border-color: var(--gold); background: rgba(201,169,110,0.06); }
.payment-option input[type="radio"] { accent-color: var(--gold); width: 16px; height: 16px; }
.payment-option-icon { font-size: 1.2rem; }
.payment-option-label { font-size: 14px; font-weight: 500; }
.payment-option-desc { font-size: 12px; color: var(--charcoal-lt); margin-top: 2px; }

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.order-summary-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.order-summary-item { display: flex; gap: 14px; align-items: center; }
.order-summary-item-img {
  width: 56px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blush);
  flex-shrink: 0;
  position: relative;
}
.order-summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-summary-item-qty {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.order-summary-item-name { font-size: 13px; font-weight: 500; line-height: 1.4; }
.order-summary-item-meta { font-size: 12px; color: var(--charcoal-lt); margin-top: 2px; }
.order-summary-item-price { font-size: 13px; font-weight: 600; margin-left: auto; white-space: nowrap; }

/* ============================================================
   ORDER CONFIRMATION
   ============================================================ */
.confirmation-page { text-align: center; padding: 80px 0; }
.confirmation-icon {
  width: 80px; height: 80px;
  background: rgba(106,158,127,0.12);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  color: var(--success);
}
.confirmation-icon svg { width: 40px; height: 40px; }
.confirmation-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 12px;
}
.confirmation-page .subtitle { color: var(--charcoal-lt); margin-bottom: 8px; }
.order-number { font-weight: 700; color: var(--charcoal); font-size: 1.1rem; margin-bottom: 48px; }
.confirmation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 48px;
}
.confirmation-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.confirmation-step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.confirmation-step h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.confirmation-step p { font-size: 12px; color: var(--charcoal-lt); line-height: 1.5; }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.track-order-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 40px;
}
.track-order-form h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400;
  margin-bottom: 8px;
}
.track-order-form p { color: var(--charcoal-lt); font-size: 14px; margin-bottom: 28px; }
.order-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: flex; gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px; top: 32px;
  width: 2px; bottom: 0;
  background: var(--border);
}
.timeline-step.done::before { background: var(--success); }
.timeline-dot {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  color: var(--charcoal-lt);
}
.timeline-dot svg { width: 14px; height: 14px; }
.timeline-step.done .timeline-dot { border-color: var(--success); background: var(--success); color: var(--white); }
.timeline-step.active .timeline-dot { border-color: var(--gold); background: var(--gold); color: var(--white); }
.timeline-content { padding-top: 4px; }
.timeline-content h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.timeline-content p { font-size: 12px; color: var(--charcoal-lt); }

/* ============================================================
   PAGE HEADER (Shop, etc.)
   ============================================================ */
.page-hero {
  background: var(--blush);
  padding: 56px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: var(--charcoal-lt);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
}
.page-hero p { color: var(--charcoal-lt); margin-top: 8px; }

/* ============================================================
   FLASH MESSAGES / ALERTS
   ============================================================ */
.flash-message {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  margin-bottom: 16px;
}
.flash-message.success { background: rgba(106,158,127,0.12); color: var(--success); border: 1px solid rgba(106,158,127,0.3); }
.flash-message.error { background: rgba(192,97,76,0.1); color: var(--error); border: 1px solid rgba(192,97,76,0.25); }
.flash-message svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Toast Notification */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 280px; max-width: 360px;
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  animation: slideUp 0.3s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 40px 0 0; }
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.pagination .prev, .pagination .next { font-size: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-muted { color: var(--charcoal-lt); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.d-none { display: none; }
.skeleton {
  background: linear-gradient(90deg, var(--blush) 25%, var(--blush-dark) 50%, var(--blush) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 400px; }
  .hero-content { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .mobile-filter-btn { display: flex; }
  .filter-card { display: none; }
  .filter-card.mobile-open { display: block; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-content { padding: 48px 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .featured-banner-content { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-price-col { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .newsletter-form { flex-direction: column; border: none; gap: 8px; }
  .newsletter-form input { border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 14px 16px; }
  .newsletter-form button { border-radius: var(--radius-sm); }
  .confirmation-steps { grid-template-columns: 1fr; max-width: 320px; }
  .section { padding: 56px 0; }
  .add-to-cart-row { flex-direction: column; }
  .gallery-thumbs { overflow-x: auto; }
  .track-order-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: 0.95rem; }
}
/* Logo responsive fix */
@media (max-width: 480px) {
    .logo img { height: 40px !important; width: 40px !important; }
    .logo span { font-size: 0.85rem !important; }
}
.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:9999;
}

.modal-overlay.show{
    opacity:1;
    visibility:visible;
}

.modal-box{
    width:90%;
    max-width:420px;
    background:#fff;
    border-radius:16px;
    padding:30px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
    transform:translateY(20px);
    transition:.25s;
}

.modal-overlay.show .modal-box{
    transform:translateY(0);
}

.modal-box h3{
    margin-bottom:12px;
}

.modal-box p{
    color:#666;
    margin-bottom:25px;
    line-height:1.6;
}

.modal-actions{
    display:flex;
    gap:12px;
    justify-content:center;
}

.modal-actions .btn{
    min-width:140px;
}

/* logo */

.site-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    gap:22px;
}

.logo-circle{
    width:68px;
    height:68px;
    flex-shrink:0;
}

.logo-circle img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}

.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.logo-text h2{
    margin:0;
    padding:0;
    font-family:'Cormorant Garamond',serif;
    font-size:38px;        /* smaller, so it + tagline fit in the header height */
    font-weight:500;
    letter-spacing:5px;
    color:#2f0f41;
    line-height:1;
}
.logo-text span{
    display:block;
    margin-top:2px;        /* tight, sits right under the heading */
    padding:0;
    font-size:12px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#d9a657;
    line-height:1.2;
    font-family:'Montserrat',sans-serif;
}

@media(max-width:768px){
    .logo-circle{
        width:56px;
        height:56px;
    }
    .logo-text h2{
        font-size:28px;
    }
    .logo-text span{
        font-size:10px;
        letter-spacing:2px;
        margin-top:8px;   /* add this line */
    }
}
.account-dropdown{
    position:relative;
    display:flex;
    align-items:center;
}

.account-header{
    display:flex;
    align-items:center;
    gap:8px;
}

.account-link{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:inherit;
}

.account-avatar{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#c9a96e;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    flex-shrink:0;
}

.account-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1.1;
}

.account-info small{
    font-size:12px;
    color:#777;
}

.account-info strong{
    font-size:18px;
    font-weight:600;
    color:#2d1244;
}

.account-toggle{
    width:28px;
    height:28px;
    border:none;
    background:transparent;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

.account-toggle i{
    font-size:14px;
}

.account-menu{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    width:220px;
    background:#fff;
    border:1px solid #eee;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    display:none;
    overflow:hidden;
    z-index:999;
}

.account-menu.show{
    display:block;
}

.account-menu a,
.account-menu button{
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 18px;
    border:none;
    background:none;
    text-decoration:none;
    color:#333;
    font-size:14px;
    cursor:pointer;
}

.account-menu a:hover,
.account-menu button:hover{
    background:#f7f7f7;
}

/* ===========================
   ACCOUNT SIDEBAR
=========================== */

.account-sidebar{
    background:#fff;
    border:1px solid #ece5dc;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    position:sticky;
    top:120px;
}

.account-user{
    padding:25px 20px;
    text-align:center;
    background:linear-gradient(135deg,#f7f2ec,#fff);
    border-bottom:1px solid #ece5dc;
}

.user-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#c9a96e;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
    margin:0 auto 15px;
}

.user-details h4{
    margin:0;
    font-size:18px;
    color:#2b0f45;
}

.user-details small{
    color:#777;
    word-break:break-word;
}

.account-menu{
    padding:12px;
}

.account-menu a,
.account-menu button{
    width:100%;
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    margin-bottom:8px;
    border:none;
    border-radius:10px;
    background:transparent;
    color:#333;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    transition:.25s;
}

.account-menu button{
    font-family:inherit;
}

.account-menu a:hover,
.account-menu button:hover{
    background:#f8f5f1;
    color:#7d4d00;
}

.account-menu a.active{
    background:#2b0f45;
    color:#fff;
}

.account-menu i{
    width:22px;
    text-align:center;
    font-size:16px;
}

.account-menu button{
    color:#c0392b;
}

.account-menu button:hover{
    background:#fff1f1;
}

/* mobile view */

@media (max-width: 768px) {
  /* Shrink icon buttons so the logo/tagline gets more room */
  .header-icon-btn {
    width: 32px;
    height: 32px;
  }
  .header-actions {
    gap: 4px;
  }

  /* Smaller logo circle + tighter gap on mobile */
  .logo-circle {
    width: 44px;
    height: 44px;
  }
  .site-logo {
    gap: 10px;
  }

  /* Let the text block get the freed-up width, and fix the letter-spacing that was causing truncation */
  .logo-text {
    overflow: visible !important;
    min-width: 0;
    flex: 1;
  }
  .logo-text h2 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 18px !important;
    letter-spacing: 1px !important;   /* was 5px on desktop — too wide for mobile, caused "G e..." cutoff */
    line-height: 1.2 !important;
    word-break: normal;
  }
  .logo-text span {
    letter-spacing: 1px !important;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .logo-circle {
    width: 38px;
    height: 38px;
  }
  .logo-text h2 {
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
  }
  .logo-text span {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  /* Hide the search icon on the smallest screens to free more space */
  .header-icon-btn[aria-label="search"],
  .header-icon-btn.search-btn {
    display: none;
  }
}