/* ============================================================
   JB SKINCARE — Global Stylesheet
   Shared across: index.html, product.html, cart.html, checkout.html
   ============================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  /* Brand Palette */
  --nude:         #D0BBA5;
  --ivory:        #F6F3EF;
  --gold:         #C8A96A;
  --gold-light:   #e0c98a;
  --gold-glow:    rgba(200, 169, 106, 0.15);
  --gold-border:  rgba(200, 169, 106, 0.3);
  --brown:        #3B2F2A;
  --brown-mid:    #5c4a3e;
  --body-text:    #4A3F3A;
  --muted:        #7A6F68;
  --white:        #FFFFFF;
  --disabled:     #9A8F87;
  --nude-dark:    #b8a491;

  /* Semantic */
  --success:      #5a8a5a;
  --error:        #a05050;
  --warning:      #c87a2a;

  /* Spacing scale */
  --space-xs:     4px;
  --space-sm:     8px;
  --space-md:     16px;
  --space-lg:     24px;
  --space-xl:     36px;
  --space-2xl:    56px;
  --space-3xl:    80px;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Borders & Radius */
  --border-light: 1px solid rgba(208, 187, 165, 0.35);
  --border-gold:  1px solid rgba(200, 169, 106, 0.4);
  --radius-sm:    3px;

  /* Shadows */
  --shadow-sm:    0 2px 10px rgba(59, 47, 42, 0.06);
  --shadow-md:    0 8px 30px rgba(59, 47, 42, 0.10);
  --shadow-lg:    0 20px 60px rgba(59, 47, 42, 0.14);
  --shadow-gold:  0 8px 28px rgba(200, 169, 106, 0.35);

  /* Transitions */
  --transition-fast:   all 0.2s ease;
  --transition-base:   all 0.3s ease;
  --transition-slow:   all 0.5s ease;

  /* Z-index ladder */
  --z-base:     1;
  --z-above:    10;
  --z-header:   999;
  --z-modal:    2000;
  --z-toast:    9999;

  /* Container */
  --container-max: 1400px;
  --container-pad: 36px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--body-text);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brown);
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ─── UTILITY CLASSES ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.text-gold    { color: var(--gold); }
.text-brown   { color: var(--brown); }
.text-muted   { color: var(--muted); }
.text-ivory   { color: var(--ivory); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }

.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.letter-wide { letter-spacing: 2px; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── SECTION ─── */
.section {
  padding: var(--space-3xl) var(--container-pad);
}
.section--ivory   { background: var(--ivory); }
.section--nude    { background: var(--nude); }
.section--brown   { background: var(--brown); }
.section--white   { background: var(--white); }

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}
.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
.section-subtitle {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.divider-line {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}
.divider-line--left {
  margin-left: 0;
}

/* ─── ANNOUNCEMENT BAR ─── */
.ann-bar {
  background: var(--brown);
  color: var(--gold);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
  overflow: hidden;
}
.ann-bar__inner {
  display: inline-block;
  animation: annCycle 12s infinite;
}
@keyframes annCycle {
  0%,18%   { opacity: 1; transform: translateY(0); }
  22%,78%  { opacity: 0; transform: translateY(-8px); }
  82%,100% { opacity: 1; transform: translateY(0); }
}

/* ─── HEADER / NAV ─── */
.site-header {
  background: rgba(246, 243, 239, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 3px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.site-logo__sub {
  font-size: 9.5px;
  font-family: var(--font-body);
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 500;
  margin-top: 3px;
}

/* Nav links */
.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.site-nav__link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--body-text);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.site-nav__link:hover,
.site-nav__link--active { color: var(--gold); }
.site-nav__link:hover::after,
.site-nav__link--active::after { width: 100%; }
.site-nav__link--sale { color: var(--gold) !important; }

/* Header icons */
.header-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown);
  font-size: 19px;
  position: relative;
  transition: var(--transition-fast);
  padding: 5px;
  line-height: 1;
}
.icon-btn:hover { color: var(--gold); transform: scale(1.1); }
.icon-btn__badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  width: 16px; height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s;
}
.icon-btn__badge--pulse {
  animation: badgePulse 0.4s ease;
}
@keyframes badgePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--brown);
  cursor: pointer;
  padding: 4px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
  background: var(--ivory);
  border-bottom: 1px solid rgba(208, 187, 165, 0.35);
  padding: 12px var(--container-pad);
}
.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.5px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--nude-dark); }
.breadcrumb__current { color: var(--brown); font-weight: 500; }

/* ─── BUTTONS ─── */

/* Primary — Gold filled */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }

.btn--primary {
  background: var(--gold);
  color: var(--white);
  padding: 15px 36px;
  font-size: 12px;
}
.btn--primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--brown);
  color: var(--white);
  padding: 15px 36px;
  font-size: 12px;
}
.btn--dark:hover {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--gold);
  padding: 14px 36px;
  font-size: 12px;
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn--outline-ivory {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(246, 243, 239, 0.6);
  padding: 13px 34px;
  font-size: 12px;
}
.btn--outline-ivory:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 14px 36px;
  font-size: 12px;
}
.btn--whatsapp:hover {
  background: #1aab52;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

.btn--sm { padding: 10px 24px; font-size: 11px; }
.btn--lg { padding: 18px 44px; font-size: 13px; }

/* ─── FORM ELEMENTS ─── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-label .required { color: var(--gold); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(208, 187, 165, 0.5);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--body-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-input.error { border-color: var(--error); }
.form-input.success { border-color: var(--success); }

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.form-select-wrap {
  position: relative;
}
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  font-size: 11.5px;
  color: var(--error);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
}

/* Radio / Checkbox custom */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 12px;
}
.form-check input[type="radio"],
.form-check input[type="checkbox"] {
  display: none;
}
.check-box {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(208, 187, 165, 0.6);
  background: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.form-check input:checked + .check-box {
  background: var(--gold);
  border-color: var(--gold);
}
.form-check input:checked + .check-box::after {
  content: '✓';
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.radio-circle {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(208, 187, 165, 0.6);
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: var(--transition-fast);
}
.form-check input:checked + .radio-circle {
  border-color: var(--gold);
}
.form-check input:checked + .radio-circle::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.check-label {
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.5;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--white);
  border: var(--border-light);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ivory);
}
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.5s, transform 0.5s;
}
.product-card__img--hover {
  opacity: 0;
  transform: scale(1.04);
}
.product-card:hover .product-card__img--main {
  opacity: 0;
  transform: scale(1.04);
}
.product-card:hover .product-card__img--hover {
  opacity: 1;
  transform: scale(1);
}
.product-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: var(--z-above);
}
.product-card__badge--dark { background: var(--brown); }
.product-card__wish {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--white);
  border: none;
  cursor: pointer;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: var(--z-above);
  transition: var(--transition-base);
  color: var(--muted);
  font-size: 15px;
}
.product-card__wish:hover { background: var(--gold); color: var(--white); }
.product-card__wish--active { color: var(--gold); }
.product-card__info {
  padding: 20px;
  border-top: 1px solid rgba(208, 187, 165, 0.3);
}
.product-card__cat {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 5px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 4px;
  line-height: 1.25;
}
.product-card__sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.product-card__pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.price-new {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
}
.price-old {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--disabled);
  text-decoration: line-through;
}
.price-save {
  font-size: 10px;
  font-weight: 700;
  color: var(--success);
  background: rgba(90, 138, 90, 0.1);
  padding: 2px 7px;
  letter-spacing: 0.5px;
}
.product-card__add-btn {
  width: 100%;
  background: var(--brown);
  color: var(--white);
  border: none;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.product-card__add-btn:hover { background: var(--gold); }

/* ─── QUANTITY COUNTER ─── */
.qty-counter {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(208, 187, 165, 0.5);
}
.qty-counter__btn {
  width: 40px; height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--brown);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.qty-counter__btn:hover { background: var(--nude); color: var(--gold); }
.qty-counter__num {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--brown);
  border-left: 1px solid rgba(208, 187, 165, 0.4);
  border-right: 1px solid rgba(208, 187, 165, 0.4);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── STARS ─── */
.stars {
  color: var(--gold);
  letter-spacing: 2px;
}
.stars--sm { font-size: 12px; }
.stars--md { font-size: 16px; }
.stars--lg { font-size: 22px; }

/* ─── BADGE / TAG ─── */
.tag {
  display: inline-block;
  background: var(--ivory);
  border: 1px solid rgba(208, 187, 165, 0.4);
  padding: 4px 10px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.tag--gold {
  background: var(--gold-glow);
  border-color: var(--gold-border);
  color: var(--gold);
}
.tag--green {
  background: rgba(90, 138, 90, 0.1);
  border-color: rgba(90, 138, 90, 0.3);
  color: var(--success);
}
.tag--dark {
  background: var(--brown);
  color: var(--ivory);
  border-color: var(--brown);
}

/* ─── AVAIL INDICATOR ─── */
.avail-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: availPulse 2s infinite;
}
@keyframes availPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(90, 138, 90, 0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(90, 138, 90, 0); }
}

/* ─── PROGRESS BAR ─── */
.progress-track {
  background: rgba(208, 187, 165, 0.25);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* ─── TOGGLE SWITCH ─── */
.toggle-switch {
  width: 40px; height: 22px;
  background: rgba(208, 187, 165, 0.4);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.toggle-switch--on { background: var(--gold); }
.toggle-knob {
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.toggle-switch--on .toggle-knob { left: 20px; }

/* ─── ACCORDION / FAQ ─── */
.accordion-item {
  border-bottom: 1px solid rgba(208, 187, 165, 0.4);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brown);
  text-align: left;
  transition: color 0.3s;
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: all 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}
.accordion-item--open .accordion-icon {
  background: var(--gold);
  color: var(--white);
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item--open .accordion-body { max-height: 400px; }
.accordion-body__inner {
  padding-bottom: 22px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

/* ─── CAROUSEL ─── */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}
.carousel-btn:hover { background: var(--gold); color: var(--white); }

/* Marquee */
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 14px;
}
.marquee-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--brown);
  color: var(--ivory);
  padding: 15px 22px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  z-index: var(--z-toast);
  transform: translateX(200%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 340px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  border-left: 3px solid var(--gold);
}
.toast--show { transform: translateX(0); }
.toast--success { border-left-color: var(--success); }
.toast--error   { border-left-color: var(--error); }
.toast__icon { font-size: 17px; flex-shrink: 0; }
.toast__msg  { flex: 1; line-height: 1.4; }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 47, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay--open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
  position: relative;
}
.modal-overlay--open .modal { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--brown);
  color: var(--white);
  border: none;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.modal__close:hover { background: var(--gold); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--brown);
  color: var(--nude);
  padding: 60px var(--container-pad) 30px;
}
.site-footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ivory);
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: block;
}
.footer-brand__desc {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(208, 187, 165, 0.7);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
}
.newsletter-form__input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(246, 243, 239, 0.08);
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-right: none;
  color: var(--ivory);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.newsletter-form__input::placeholder { color: rgba(208, 187, 165, 0.5); }
.newsletter-form__btn {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-form__btn:hover { background: var(--gold-light); }
.footer-col__title {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col__link {
  display: block;
  color: rgba(208, 187, 165, 0.7);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col__link:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social__icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(200, 169, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nude);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.footer-social__icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.site-footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(200, 169, 106, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom p { font-size: 12px; color: rgba(208, 187, 165, 0.5); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.anim-fadeUp   { animation: fadeUp 0.6s ease forwards; }
.anim-fadeIn   { animation: fadeIn 0.5s ease forwards; }
.anim-delay-1  { animation-delay: 0.1s; opacity: 0; }
.anim-delay-2  { animation-delay: 0.2s; opacity: 0; }
.anim-delay-3  { animation-delay: 0.3s; opacity: 0; }
.anim-delay-4  { animation-delay: 0.4s; opacity: 0; }

/* Spinner */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ─── PAYMENT ICONS ─── */
.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-icon {
  background: var(--ivory);
  border: 1px solid rgba(208, 187, 165, 0.4);
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ─── TRUST PILLS ─── */
.trust-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  background: var(--ivory);
  border: 1px solid rgba(208, 187, 165, 0.3);
  padding: 5px 10px;
}
.trust-pill__icon { font-size: 13px; }

/* ─── STEP INDICATOR ─── */
.step-indicator {
  display: flex;
  align-items: center;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(208, 187, 165, 0.5);
  padding: 0 18px;
}
.step--active { color: var(--gold); }
.step--done   { color: rgba(208, 187, 165, 0.7); }
.step__num {
  width: 26px; height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.step--active .step__num {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.step--done .step__num {
  background: rgba(200, 169, 106, 0.2);
}
.step__sep {
  width: 30px; height: 1px;
  background: rgba(208, 187, 165, 0.25);
}

/* ─── SCROLLBAR STYLING ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--nude); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--nude-dark); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  :root { --container-pad: 28px; }
}

@media (max-width: 900px) {
  :root { --container-pad: 20px; }
  .site-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .step { padding: 0 10px; }
  .step__sep { width: 20px; }
}

@media (max-width: 600px) {
  :root { --container-pad: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .step span:not(.step__num) { display: none; }
}
