/* ============================================================
   LUMI GLOW — Shared Stylesheet
   ============================================================ */

:root {
  --blush: #e8c4b8;
  --blush-light: #f5e6e0;
  --blush-dark: #d4a090;
  --rose: #b87060;
  --rose-deep: #9a5a4c;
  --warm-white: #fdf8f5;
  --cream: #f9f0ea;
  --charcoal: #2d2420;
  --text: #3d2c26;
  --text-light: #7a5a52;
  --gold: #c9a86c;
  --border: rgba(200,160,144,0.22);
  --green: #4a8c6a;
  --red: #c0392b;
  --shadow: 0 2px 20px rgba(61,44,38,0.08);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.ann-bar {
  background: var(--charcoal);
  color: rgba(245,230,224,0.8);
  text-align: center;
  padding: 8px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ann-bar a { color: var(--blush); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 1px;
}
.nav-logo-text em { font-style: italic; color: var(--rose); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color .2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-btn-icon {
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-btn-icon:hover { color: var(--rose); }
.nav-btn-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--rose);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.show { display: flex; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all .3s;
}

.mob-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white);
  z-index: 950;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  transition: color .2s;
}
.mob-menu a:hover { color: var(--rose); }
.mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush-light) 100%);
  padding: 80px 24px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: #fff;
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  transition: background .3s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--rose-deep); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--rose);
  padding: 13px 30px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  transition: all .3s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--rose); color: #fff; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head {
  text-align: center;
  padding: 60px 24px 40px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.sec-title {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
}
.sec-title em { font-style: italic; color: var(--rose); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(61,44,38,0.12);
  transform: translateY(-2px);
}
.card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream);
}
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.card-name {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
}
.card-price {
  font-size: 14px;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 10px;
}
.card-from { font-size: 11px; font-weight: 400; }

.card-add-btn {
  width: 100%;
  background: var(--charcoal);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .3s;
  margin-top: auto;
}
.card-add-btn:hover { background: var(--rose); }

/* Variant select on card */
.card-variant {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text);
  background: var(--cream);
  margin-bottom: 8px;
  font-family: inherit;
}

/* ============================================================
   CATEGORY FILTERS
   ============================================================ */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 24px 32px;
}
.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,36,32,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--warm-white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(45,36,32,0.15);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 300;
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-light);
  line-height: 1;
  transition: color .2s;
}
.cart-close-btn:hover { color: var(--rose); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.cart-item-variant { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.cart-item-price { font-size: 13px; color: var(--rose); margin-top: 4px; font-weight: 600; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.qty-btn {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.qty-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.qty-num { font-size: 13px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1;
  align-self: flex-start;
  transition: color .2s;
}
.cart-item-remove:hover { color: var(--red); }

.cart-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-light);
}
.cart-empty svg { width: 48px; height: 48px; stroke: var(--blush); margin: 0 auto 16px; }
.cart-empty p { font-size: 13px; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.cart-disc-note {
  font-size: 11px;
  color: var(--green);
  background: rgba(74,140,106,0.1);
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  text-align: center;
}
.cart-totals { margin-bottom: 16px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.cart-total-row.grand {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 8px;
}
.cart-checkout-btn {
  width: 100%;
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .3s;
}
.cart-checkout-btn:hover { background: var(--rose-deep); }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,36,32,0.6);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--warm-white);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(45,36,32,0.2);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 1;
}
.modal-head h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 300;
}
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-light);
  line-height: 1;
}
.modal-close:hover { color: var(--rose); }
.modal-body { padding: 24px; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--rose); background: #fff; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--rose-deep); }
.form-msg {
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
  min-height: 18px;
}
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--red); }

/* ============================================================
   DELIVERY / VALUES STRIP
   ============================================================ */
.ship-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.ship-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ship-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ship-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.ship-item strong { display: block; font-size: 13px; color: var(--charcoal); margin-bottom: 2px; }
.ship-item span { font-size: 12px; color: var(--text-light); }

/* ============================================================
   VALUES / WHY LUMI
   ============================================================ */
.values-section { padding: 60px 24px; background: var(--warm-white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.val { text-align: center; }
.val-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.val-icon svg { width: 22px; height: 22px; stroke: var(--rose); fill: none; stroke-width: 1.5; }
.val-title { font-family: Georgia, serif; font-size: 16px; font-weight: 400; color: var(--charcoal); margin-bottom: 6px; }
.val-desc { font-size: 12px; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   REWARDS SECTION
   ============================================================ */
.rewards-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3d2c26 100%);
  padding: 72px 24px;
  text-align: center;
}
.rewards-inner { max-width: 820px; margin: 0 auto; }
.rewards-section h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 12px;
}
.rewards-section h2 em { font-style: italic; color: var(--blush); }
.rewards-sub {
  font-size: 13px;
  color: rgba(245,230,224,0.65);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.rewards-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
/* Tier cards — default: light background context */
.tier {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius);
}
.tier-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}
.tier-name {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.tier-disc {
  font-size: 18px;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 14px;
  font-family: Georgia, serif;
}
.tier-perks {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.9;
  text-align: left;
}
.tier-perks li { padding-left: 14px; position: relative; margin-bottom: 3px; }
.tier-perks li::before { content: '—'; position: absolute; left: 0; color: var(--rose); }

/* Tier cards inside dark rewards-section: override to white text */
.rewards-section .tier {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(232,196,184,.15);
}
.rewards-section .tier-label { color: var(--blush-dark); }
.rewards-section .tier-name { color: #fff; }
.rewards-section .tier-disc { color: var(--blush); }
.rewards-section .tier-perks { color: rgba(245,230,224,0.6); }

.rewards-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--rose);
  color: #fff;
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  transition: background .3s;
  text-decoration: none;
}
.rewards-cta:hover { background: var(--rose-deep); }

/* ============================================================
   AUTH MODAL
   ============================================================ */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: all .2s;
  margin-bottom: -1px;
}
.auth-tab.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--charcoal);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  box-shadow: var(--shadow);
  animation: slideIn .3s ease;
  max-width: 300px;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text);
}
.contact-detail svg { width: 16px; height: 16px; stroke: var(--rose); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.contact-detail a:hover { color: var(--rose); }
.contact-form-wrap {
  background: var(--cream);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-form-wrap h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 22px;
}

/* ============================================================
   REWARDS PAGE (logged-in dashboard)
   ============================================================ */
.rewards-dashboard {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.tier-card {
  background: var(--charcoal);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  text-align: center;
}
.tier-card .tier-name-big {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 8px;
}
.tier-card .tier-name-big em { font-style: italic; color: var(--blush); }
.tier-card p { color: rgba(245,230,224,0.7); font-size: 13px; line-height: 1.7; }

.progress-wrap { margin: 20px 0 8px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(245,230,224,0.6);
  margin-bottom: 8px;
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--blush);
  border-radius: 2px;
  transition: width .6s ease;
}

.orders-count {
  font-size: 44px;
  font-weight: 300;
  font-family: Georgia, serif;
  color: var(--blush);
  margin: 12px 0 4px;
}
.orders-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,230,224,0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--charcoal);
  color: rgba(245,230,224,0.7);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 240px;
}
.footer-logo-text {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
}
.footer-logo-text em { font-style: italic; color: var(--blush); }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245,230,224,0.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(245,230,224,0.7);
  transition: color .2s;
}
.footer-col a:hover { color: var(--blush); }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232,196,184,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.footer-social-icon:hover { background: var(--rose); border-color: var(--rose); }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(232,196,184,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 11px; }

/* ============================================================
   ORDER SUMMARY IN CHECKOUT
   ============================================================ */
.sum-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  padding: 4px 0;
}
.sum-block {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.sum-block h4 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }

/* ============================================================
   FULL-PAGE CHECKOUT
   ============================================================ */
.co-page {
  min-height: 100vh;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1px 440px;
}
.co-left {
  padding: 48px 56px 80px;
  max-width: 700px;
  justify-self: end;
  width: 100%;
}
.co-divider { background: #e8e8e8; }
.co-right {
  background: #fafafa;
  border-left: 1px solid #e8e8e8;
  padding: 48px 40px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

/* Checkout logo */
.co-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  text-decoration: none;
}
.co-logo img { height: 36px; width: 36px; object-fit: contain; }
.co-logo-text { font-family: Georgia, serif; font-size: 20px; font-weight: 300; color: var(--charcoal); }
.co-logo-text em { font-style: italic; color: var(--rose); }

/* Section headers */
.co-section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 16px;
  margin-top: 32px;
}
.co-section-title:first-of-type { margin-top: 0; }

/* Checkout form fields */
.co-field { margin-bottom: 12px; position: relative; }
.co-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: var(--charcoal);
  background: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.co-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(184,112,96,0.12);
}
.co-input.error { border-color: var(--red); }
.co-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #9ca3af;
  pointer-events: none;
  transition: all .15s;
  background: #fff;
  padding: 0 4px;
}
.co-input:focus ~ .co-label,
.co-input:not(:placeholder-shown) ~ .co-label {
  top: 0;
  font-size: 11px;
  color: var(--rose);
}
.co-select-wrap { position: relative; }
.co-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: var(--charcoal);
  background: #fff;
  font-family: inherit;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s;
}
.co-select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(184,112,96,0.12); }
.co-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
}
.co-row { display: grid; gap: 12px; }
.co-row-2 { grid-template-columns: 1fr 1fr; }
.co-row-3 { grid-template-columns: 1fr 1.2fr 0.8fr; }

/* Country field with flag */
.co-country-wrap { position: relative; }
.co-country-flag {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}
.co-country-input { padding-left: 42px !important; color: var(--charcoal); }

/* Checkbox */
.co-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
}
.co-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--rose);
  cursor: pointer;
}

/* Shipping method */
.co-shipping-opts { display: flex; flex-direction: column; gap: 10px; }
.co-shipping-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.co-shipping-opt.selected { border-color: var(--rose); background: rgba(184,112,96,0.04); }
.co-shipping-opt input[type="radio"] { accent-color: var(--rose); margin-right: 12px; }
.co-shipping-opt-label { flex: 1; font-size: 14px; color: var(--charcoal); }
.co-shipping-opt-sub { font-size: 12px; color: #6b7280; margin-top: 2px; }
.co-shipping-opt-price { font-size: 14px; font-weight: 500; color: var(--charcoal); }

/* Pay button */
.co-pay-btn {
  width: 100%;
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background .3s;
  margin-top: 24px;
  letter-spacing: 0.5px;
}
.co-pay-btn:hover { background: var(--rose-deep); }
.co-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Error message */
.co-error { font-size: 12px; color: var(--red); margin-top: 4px; display: none; }
.co-error.show { display: block; }

/* ---- Right sidebar ---- */
.co-items { margin-bottom: 20px; }
.co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.co-item-img-wrap { position: relative; flex-shrink: 0; }
.co-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: var(--cream);
}
.co-item-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #6b7280;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-item-info { flex: 1; }
.co-item-name { font-size: 13px; color: var(--charcoal); font-weight: 500; line-height: 1.3; }
.co-item-variant { font-size: 12px; color: #6b7280; margin-top: 2px; }
.co-item-price { font-size: 14px; font-weight: 500; color: var(--charcoal); white-space: nowrap; }

/* Discount code */
.co-discount-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.co-discount-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: var(--charcoal);
  background: #fff;
  font-family: inherit;
  outline: none;
}
.co-discount-input:focus { border-color: var(--rose); }
.co-discount-btn {
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: var(--charcoal);
  font-weight: 500;
  white-space: nowrap;
  transition: all .2s;
}
.co-discount-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.co-discount-msg { font-size: 11px; margin-bottom: 12px; min-height: 16px; }
.co-discount-msg.ok { color: var(--green); }
.co-discount-msg.bad { color: var(--red); }

/* Totals */
.co-totals { border-top: 1px solid #e5e7eb; padding-top: 16px; }
.co-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}
.co-total-row.grand {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 8px;
}
.co-total-row.grand .co-currency { font-size: 12px; color: #6b7280; font-weight: 400; margin-right: 4px; }
.co-tax-note { font-size: 11px; color: #9ca3af; margin-top: 4px; }

/* Autocomplete dropdown */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-item {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background .15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover,
.autocomplete-item.highlighted { background: var(--cream); }
.autocomplete-item-sub { font-size: 11px; color: #9ca3af; margin-top: 2px; }

/* Back to cart link */
.co-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rose);
  margin-bottom: 28px;
  transition: opacity .2s;
}
.co-back:hover { opacity: 0.75; }
.co-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Secure badges */
.co-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 14px;
  justify-content: center;
}
.co-secure svg { width: 13px; height: 13px; stroke: #9ca3af; fill: none; stroke-width: 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .co-page { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .co-right { position: static; height: auto; border-left: none; border-top: 1px solid #e8e8e8; order: -1; padding: 24px 20px; }
  .co-divider { display: none; }
  .co-left { padding: 32px 20px 60px; max-width: 100%; justify-self: stretch; }
  .co-row-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .rewards-tiers { grid-template-columns: 1fr; }
  .ship-strip-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 14px 48px; }
  .hero { padding: 56px 20px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .co-row-2, .co-row-3 { grid-template-columns: 1fr; }
}
