/* ============================================================
   THE VILLAGE — E-Store Stylesheet
   Palette: Olive Green + Beige
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --olive:        #6B7C3F;
  --olive-dark:   #4A5828;
  --olive-deeper: #333D1C;
  --olive-light:  #8FA856;
  --olive-muted:  #A8B882;
  --beige:        #F4EDD7;
  --beige-dark:   #E5D8B8;
  --beige-deeper: #D4C49A;
  --cream:        #FDFAF2;
  --text-dark:    #2C3417;
  --text-body:    #4A4A35;
  --text-muted:   #7A7A5C;
  --white:        #FFFFFF;
  --shadow-sm:    0 2px 8px rgba(74,88,40,0.10);
  --shadow-md:    0 6px 24px rgba(74,88,40,0.14);
  --shadow-lg:    0 16px 48px rgba(74,88,40,0.18);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --transition:   0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-body); }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-olive  { color: var(--olive); }
.badge {
  display: inline-block; padding: 4px 12px;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-olive  { background: var(--olive);       color: var(--white); }
.badge-beige  { background: var(--beige-dark);  color: var(--olive-dark); }
.badge-light  { background: var(--olive-muted); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--olive); color: var(--white);
  box-shadow: 0 4px 14px rgba(107,124,63,0.35);
}
.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,124,63,0.45);
}
.btn-outline {
  background: transparent; color: var(--olive);
  border: 2px solid var(--olive);
}
.btn-outline:hover {
  background: var(--olive); color: var(--white);
  transform: translateY(-2px);
}
.btn-beige {
  background: var(--beige-dark); color: var(--olive-dark);
}
.btn-beige:hover {
  background: var(--beige-deeper);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253,250,242,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-dark);
  padding: 0 1.5rem;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--olive);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nav-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-dark);
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-body);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--beige); color: var(--olive-dark);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Language Toggle ---------- */
.lang-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 14px; border-radius: var(--radius);
  background: var(--olive-deeper); color: var(--white);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  border: none; cursor: pointer; transition: background var(--transition), transform 0.15s;
  white-space: nowrap; flex-shrink: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}
.lang-toggle-btn:hover { background: var(--olive-dark); transform: translateY(-1px); }

/* ---------- RTL (Arabic) overrides ---------- */
[dir="rtl"] body { font-family: 'Noto Kufi Arabic', 'Segoe UI', system-ui, sans-serif; }
[dir="rtl"] .hero-content h1 { font-family: 'Playfair Display', Georgia, serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5 {
  font-family: 'Noto Kufi Arabic', 'Segoe UI', sans-serif;
}
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .coaching-details { flex-direction: row-reverse; }
[dir="rtl"] .feature-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .section-header .divider { margin-left: auto; margin-right: 0; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .product-footer { flex-direction: row-reverse; }
[dir="rtl"] .ig-strip-text-wrap { align-items: flex-end; }
[dir="rtl"] .cart-layout { direction: rtl; }
[dir="rtl"] .form-row { direction: rtl; }
[dir="rtl"] .coupon-row { flex-direction: row-reverse; }
[dir="rtl"] .payment-method { flex-direction: row-reverse; }
[dir="rtl"] .order-summary { direction: rtl; }
[dir="rtl"] .discovery-inner { flex-direction: row-reverse; }
[dir="rtl"] .coach-hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .coaches-grid { direction: rtl; }
[dir="rtl"] .coach-info { text-align: right; }
[dir="rtl"] .session-grid { direction: rtl; }
[dir="rtl"] .scard-meta-row { flex-direction: row-reverse; }
[dir="rtl"] .steps-grid { direction: rtl; }
[dir="rtl"] .modal-two-col { direction: rtl; }
[dir="rtl"] .modal-head { flex-direction: row-reverse; }
[dir="rtl"] .selected-coach-banner { flex-direction: row-reverse; }
[dir="rtl"] .progress-steps { flex-direction: row-reverse; }
[dir="rtl"] .login-tabs { flex-direction: row-reverse; }
[dir="rtl"] .dash-tabs { flex-direction: row-reverse; }
[dir="rtl"] .dash-stats { flex-direction: row-reverse; }
[dir="rtl"] .order-card-head { flex-direction: row-reverse; }
[dir="rtl"] .summary-row { flex-direction: row-reverse; }
[dir="rtl"] .summary-total { flex-direction: row-reverse; }
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea { text-align: right; direction: rtl; }
[dir="rtl"] .back-btn svg { transform: scaleX(-1); }
[dir="rtl"] .coach-cta svg { transform: scaleX(-1); }
.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  background: var(--beige); color: var(--olive-dark);
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--beige-dark); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-count.hidden { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--olive-dark); border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 60%, #EAF0D8 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236B7C3F' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--olive); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 20px;
}
.hero-label::before {
  content: ''; width: 30px; height: 2px; background: var(--olive);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--olive); }
.hero p {
  font-size: 1.1rem; color: var(--text-muted);
  margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--beige-dark);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--olive-dark);
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: start;
}
.hero-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md);
  transition: transform var(--transition);
  height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card:hover { transform: translateY(-5px); }
/* Remove stagger — uniform grid */
.hero-card:nth-child(2) { margin-top: 0; }
.hero-card:nth-child(3) { margin-top: 0; }
.hero-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--beige); display: flex;
  align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800;
  margin-bottom: 10px; flex-shrink: 0;
}
.hero-card h4 { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.3; }
.hero-card p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; flex: 1; }
.hero-card .price {
  font-size: 1rem; font-weight: 700;
  color: var(--olive); margin-top: 8px; flex-shrink: 0;
}

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  font-size: 0.8rem; font-weight: 700;
  color: var(--olive); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
  border-radius: 2px; margin: 20px auto 0;
}

/* ---------- Product Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--beige-dark);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.product-img {
  height: 200px; background: var(--beige);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.product-type-badge {
  position: absolute; top: 12px; left: 12px;
}
.product-body { padding: 20px; }
.product-body h4 { margin-bottom: 6px; }
.product-body p {
  font-size: 0.875rem; color: var(--text-muted);
  margin-bottom: 16px; min-height: 40px;
}
.product-footer {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--beige);
}
.product-price {
  font-size: 1.2rem; font-weight: 700; color: var(--olive-dark);
}
.product-price-old {
  font-size: 0.85rem; color: var(--text-muted);
  text-decoration: line-through; margin-left: 6px;
}

/* ---------- Package Cards ---------- */
.package-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--beige-dark);
  padding: 32px; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.package-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
}
.package-card:hover { border-color: var(--olive-muted); box-shadow: var(--shadow-md); }
.package-card.featured {
  background: linear-gradient(160deg, var(--olive-deeper), var(--olive-dark));
  border-color: var(--olive-dark);
  color: var(--white);
}
.package-card.featured h3,
.package-card.featured h4,
.package-card.featured p { color: var(--cream); }
.package-card.featured .package-items li { color: var(--beige); }
.package-name { font-size: 0.85rem; font-weight: 600; color: var(--olive); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.package-card.featured .package-name { color: var(--olive-muted); }
.package-price { font-size: 2.2rem; font-weight: 700; margin: 12px 0; }
.package-price span { font-size: 1rem; font-weight: 400; opacity: 0.65; }
.package-items { margin: 20px 0 28px; }
.package-items li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-body); padding: 5px 0;
}
.package-items li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.package-card.featured .package-items li::before { background: var(--olive-muted); }
.package-save {
  position: absolute; top: 20px; right: 20px;
  background: #E8A020; color: white;
  font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
}

/* ---------- Coaching Cards ---------- */
.coaching-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
  transition: all var(--transition);
}
.coaching-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.coaching-header {
  padding: 28px 28px 0;
  display: flex; align-items: flex-start; gap: 16px;
}
.coaching-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius); background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.coaching-meta { flex: 1; }
.coaching-meta h3 { margin-bottom: 4px; }
.coaching-meta p { font-size: 0.875rem; color: var(--text-muted); }
.coaching-body { padding: 20px 28px 28px; }
.coaching-details {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin: 16px 0; padding: 16px;
  background: var(--beige); border-radius: var(--radius);
}
.coaching-detail { font-size: 0.85rem; color: var(--text-muted); }
.coaching-detail strong { color: var(--text-dark); display: block; font-size: 0.95rem; }
.trainee-slots { margin: 20px 0; }
.trainee-slots h4 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.slots-grid {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.slot-btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--beige-dark);
  font-size: 0.85rem; font-weight: 500;
  background: var(--cream); color: var(--text-body);
  transition: all var(--transition);
}
.slot-btn:hover, .slot-btn.selected {
  background: var(--olive); color: var(--white);
  border-color: var(--olive);
}
.slot-btn.full {
  opacity: 0.45; cursor: not-allowed;
  background: var(--beige-dark); text-decoration: line-through;
}
.coaching-footer {
  display: flex; align-items: center;
  justify-content: space-between; padding-top: 20px;
  border-top: 1px solid var(--beige);
}
.coaching-price { font-size: 1.3rem; font-weight: 700; color: var(--olive-dark); }
.coaching-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

/* ---------- Tabs ---------- */
.tab-nav {
  display: flex; gap: 4px;
  background: var(--beige); border-radius: var(--radius);
  padding: 6px; margin-bottom: 40px;
  width: fit-content;
}
.tab-btn {
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--white); color: var(--olive-dark);
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 32px; align-items: start;
}
.cart-empty {
  text-align: center; padding: 80px 24px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px dashed var(--beige-dark);
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 20px; }
.cart-item {
  display: flex; gap: 16px; align-items: center;
  padding: 20px; background: var(--white);
  border-radius: var(--radius); margin-bottom: 12px;
  border: 1px solid var(--beige-dark);
  transition: all var(--transition);
}
.cart-item-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--radius); background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 1rem; margin-bottom: 4px; }
.cart-item-info p { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-size: 1.1rem; font-weight: 700; color: var(--olive-dark); }
.remove-btn {
  color: var(--text-muted); font-size: 1.1rem;
  padding: 6px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.remove-btn:hover { background: #fde; color: #c33; }

/* ---------- Order Summary ---------- */
.order-summary {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
  position: sticky; top: 90px;
}
.order-summary h3 { margin-bottom: 24px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; padding: 8px 0;
  border-bottom: 1px solid var(--beige);
  color: var(--text-muted);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; font-weight: 700;
  padding-top: 16px; margin-top: 8px;
  border-top: 2px solid var(--beige-dark);
  color: var(--text-dark);
}

/* ---------- Checkout Form ---------- */
.checkout-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
}
.checkout-form h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-body);
  background: var(--cream); outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive);
}
.form-section-title {
  font-size: 0.8rem; font-weight: 700;
  color: var(--olive); text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 24px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--beige);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
}
.testimonial-stars { color: #E8A020; font-size: 1rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.95rem; color: var(--text-body);
  line-height: 1.7; margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--olive), var(--olive-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Features Strip ---------- */
.features-strip {
  background: var(--olive-deeper);
  padding: 40px 0;
}
.features-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex; align-items: center; gap: 14px;
  color: var(--beige);
}
.feature-icon {
  font-size: 1.6rem; flex-shrink: 0;
}
.feature-text strong { display: block; font-size: 0.95rem; color: var(--cream); }
.feature-text span { font-size: 0.8rem; opacity: 0.7; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--olive-dark), var(--olive));
  border-radius: var(--radius-lg); padding: 60px 48px;
  text-align: center; color: var(--cream);
  margin: 80px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--olive-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--olive-deeper); color: var(--beige);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.9rem; opacity: 0.7; margin-top: 12px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background var(--transition);
}
.footer-social a:hover { background: var(--olive); }
.footer-col h5 {
  color: var(--cream); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.875rem; opacity: 0.65; transition: opacity var(--transition); }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; row-gap: 6px; column-gap: 20px;
  padding: 20px 0; font-size: 0.8rem; opacity: 0.5; text-align: center;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--beige-dark);
}
.page-hero .eyebrow {
  font-size: 0.8rem; font-weight: 700;
  color: var(--olive); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 10px;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); }

/* ---------- About Section Grids ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius);
  background: var(--olive-deeper); color: var(--cream);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: slideIn 0.3s ease;
}
.toast.success { background: var(--olive); }
.toast.error   { background: #C0392B; }
@keyframes slideIn {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100px); }
}

/* ---------- Booking Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--beige); font-size: 1rem; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--beige-dark); }

/* ---------- Package Builder ---------- */
.builder-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 32px; align-items: start;
}
.builder-catalog h3 { margin-bottom: 20px; }
.builder-filter {
  display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--beige-dark);
  font-size: 0.85rem; font-weight: 600;
  background: var(--cream); color: var(--text-muted);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--olive); color: var(--white);
  border-color: var(--olive);
}
.builder-product-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: var(--white);
  border: 1.5px solid var(--beige-dark); border-radius: var(--radius);
  margin-bottom: 10px; transition: all var(--transition);
}
.builder-product-row:hover { border-color: var(--olive-muted); box-shadow: var(--shadow-sm); }
.builder-product-thumb {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--white); text-transform: uppercase;
}
.builder-product-info { flex: 1; }
.builder-product-info h4 { font-size: 0.95rem; margin-bottom: 3px; }
.builder-product-info p  { font-size: 0.8rem; color: var(--text-muted); }
.builder-product-price {
  font-size: 0.95rem; font-weight: 700; color: var(--olive-dark);
  flex-shrink: 0;
}
.add-pkg-btn {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 50%; background: var(--olive);
  color: var(--white); font-size: 1.3rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: all var(--transition);
  line-height: 1;
}
.add-pkg-btn:hover { background: var(--olive-dark); transform: scale(1.1); }
.add-pkg-btn.in-pkg {
  background: var(--beige-dark); color: var(--olive-dark);
}

/* Package Summary Panel */
.builder-summary {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; border: 1.5px solid var(--beige-dark);
  box-shadow: var(--shadow-sm); position: sticky; top: 90px;
}
.builder-summary h3 { margin-bottom: 20px; font-size: 1.2rem; }
.pkg-empty-state {
  text-align: center; padding: 32px 16px;
  border: 2px dashed var(--beige-dark); border-radius: var(--radius);
  margin-bottom: 20px;
}
.pkg-empty-state p { font-size: 0.875rem; color: var(--text-muted); margin-top: 8px; }
.pkg-items-list { margin-bottom: 16px; }
.pkg-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--beige);
}
.pkg-item-thumb {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; color: var(--white); flex-shrink: 0;
  text-transform: uppercase;
}
.pkg-item-name { flex: 1; font-size: 0.85rem; font-weight: 500; color: var(--text-dark); }
.pkg-item-qty {
  display: flex; align-items: center; gap: 6px;
}
.pkg-qty-btn {
  width: 22px; height: 22px; border-radius: 4px;
  border: 1px solid var(--beige-dark); font-size: 0.85rem; font-weight: 600;
  background: var(--cream); color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); line-height: 1;
}
.pkg-qty-btn:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.pkg-qty-num { font-size: 0.85rem; font-weight: 600; min-width: 18px; text-align: center; }
.pkg-item-price { font-size: 0.85rem; font-weight: 700; color: var(--olive-dark); flex-shrink: 0; }
.pkg-totals {
  padding: 14px 0 0; border-top: 1px solid var(--beige-dark);
  margin-bottom: 20px;
}
.pkg-total-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; color: var(--text-muted); padding: 4px 0;
}
.pkg-total-final {
  display: flex; justify-content: space-between;
  font-size: 1.05rem; font-weight: 700; color: var(--text-dark);
  padding-top: 10px; border-top: 2px solid var(--beige-dark); margin-top: 6px;
}

/* Gift Toggle */
.gift-section {
  background: var(--beige); border-radius: var(--radius);
  padding: 16px; margin-bottom: 16px;
}
.gift-toggle-row {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.toggle-input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: relative; width: 44px; height: 24px; flex-shrink: 0;
  border-radius: 12px; background: var(--beige-dark);
  transition: background var(--transition); cursor: pointer;
}
.toggle-track::after {
  content: ''; position: absolute;
  top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform var(--transition);
}
.toggle-input:checked ~ .toggle-track { background: var(--olive); }
.toggle-input:checked ~ .toggle-track::after { transform: translateX(20px); }
.toggle-label-text { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.gift-icon-box {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--olive); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gift-form {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--beige-dark);
  display: none;
}
.gift-form.open { display: block; }
.gift-form .form-group { margin-bottom: 14px; }
.gift-form .form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 5px;
}
.gift-form .form-group input,
.gift-form .form-group textarea,
.gift-form .form-group select {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--beige-dark); border-radius: var(--radius-sm);
  font-size: 0.875rem; font-family: inherit;
  background: var(--white); outline: none;
  transition: border-color var(--transition);
}
.gift-form .form-group input:focus,
.gift-form .form-group textarea:focus { border-color: var(--olive); }
.gift-form .check-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-body); cursor: pointer;
  padding: 8px 0; border-bottom: 1px solid var(--beige-dark);
}
.gift-form .check-row:last-child { border-bottom: none; }
.gift-form .check-row input[type="checkbox"] { accent-color: var(--olive); width: 16px; height: 16px; }
.char-count { font-size: 0.75rem; color: var(--text-muted); text-align: right; margin-top: 4px; }
.pkg-item-tag { font-size: 0.7rem; color: var(--text-muted); display: block; }
.builder-product-row.hidden { display: none; }

/* Icon placeholders (no-emoji product images) */
.prod-img-dig  { background: linear-gradient(135deg, #6B7C3F, #8FA856); }
.prod-img-phy  { background: linear-gradient(135deg, #8A7050, #B09070); }
.prod-img-bnd  { background: linear-gradient(135deg, #333D1C, #4A5828); }
.prod-img-svc  { background: linear-gradient(135deg, #4A5828, #6B7C3F); }

/* Icon box for features strip */
.feature-svg { color: var(--olive-muted); flex-shrink: 0; }

/* ---------- Scroll animations ---------- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--olive); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   AUTH — Login / Register / Navbar user menu
   ============================================================ */

/* Navbar login button */
.auth-login-btn {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: 50px;
  border: 1.5px solid var(--olive);
  color: var(--olive-dark); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.auth-login-btn:hover { background: var(--olive); color: var(--white); }

/* Navbar user menu */
.auth-user-wrap { position: relative; }
.auth-user-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  padding: 5px 8px; border-radius: 50px;
  transition: background var(--transition);
}
.auth-user-btn:hover { background: var(--beige); }
.auth-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-user-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.auth-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1px solid var(--beige-dark);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 160px; z-index: 2000;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.auth-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.auth-dd-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 16px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-dark);
  text-decoration: none; background: none; border: none; cursor: pointer;
  transition: background var(--transition);
  text-align: left;
}
.auth-dd-item:hover { background: var(--beige); }
.auth-dd-logout { color: #C0392B; }
.auth-dd-logout:hover { background: #FFF5F5; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: calc(100vh - 70px);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.login-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); width: 100%; max-width: 460px;
  overflow: hidden;
}
.login-card-header {
  background: linear-gradient(135deg, var(--olive-deeper), var(--olive-dark));
  padding: 36px 40px 28px; text-align: center;
}
.login-card-header img { height: 70px; width: auto; display: block; margin: 0 auto 0; filter: brightness(1.6) saturate(0.3); }
.login-card-header h2 { color: var(--white); margin: 0; font-size: 1.4rem; }
.login-card-header p { color: var(--beige); font-size: 0.875rem; margin: 6px 0 0; }
.login-tabs { display: flex; border-bottom: 1px solid var(--beige-dark); }
.login-tab {
  flex: 1; padding: 14px; text-align: center; font-size: 0.9rem;
  font-weight: 600; color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.login-tab.active { color: var(--olive-dark); border-bottom-color: var(--olive); }
.login-body { padding: 32px 40px 36px; }
.login-error {
  background: #FFF0EF; border: 1px solid #F5C6C2;
  color: #C0392B; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.85rem; margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }
.login-btn {
  width: 100%; padding: 13px; border-radius: var(--radius);
  background: var(--olive); color: var(--white);
  font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
  margin-top: 8px; transition: background var(--transition);
}
.login-btn:hover { background: var(--olive-dark); }
.login-divider { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin: 16px 0; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-hero {
  background: linear-gradient(135deg, var(--olive-deeper), var(--olive-dark));
  padding: 48px 0 40px; color: var(--white);
}
.dash-hero h1 { color: var(--white); margin-bottom: 4px; font-size: 1.8rem; }
.dash-hero p { color: var(--beige); font-size: 0.95rem; }
.dash-stats { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.dash-stat { background: rgba(255,255,255,0.10); border-radius: var(--radius); padding: 16px 24px; }
.dash-stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--white); }
.dash-stat-label { font-size: 0.78rem; color: var(--olive-muted); margin-top: 2px; }
.dash-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--beige-dark); margin-bottom: 32px; }
.dash-tab {
  padding: 12px 24px; font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all var(--transition);
}
.dash-tab.active { color: var(--olive-dark); border-bottom-color: var(--olive); }
.dash-panel { display: none; }
.dash-panel.active { display: block; }

/* Order cards */
.order-card {
  background: var(--white); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden;
}
.order-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--beige); flex-wrap: wrap; gap: 10px;
}
.order-id { font-size: 0.8rem; color: var(--text-muted); }
.order-id strong { color: var(--text-dark); font-family: monospace; }
.order-status {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.order-status.confirmed { background: #E8F5E9; color: #2E7D32; }
.order-status.pending   { background: #FFF8E1; color: #F57F17; }
.order-status.delivered { background: #E3F2FD; color: #1565C0; }
.order-card-body { padding: 16px 20px; }
.order-item-row { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 5px 0; border-bottom: 1px solid var(--beige); }
.order-item-row:last-child { border: none; }
.order-total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--beige-dark); }

/* Session booking cards */
.session-card {
  background: var(--white); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin-bottom: 16px; display: flex; gap: 16px; align-items: flex-start;
}
.session-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, var(--olive-dark), var(--olive));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; color: white; letter-spacing: 0.04em;
}
.session-card-info { flex: 1; }
.session-card-info h4 { margin: 0 0 4px; font-size: 0.95rem; }
.session-card-info p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.session-badge {
  padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  background: #E8F5E9; color: #2E7D32;
}

/* Empty state */
.dash-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.dash-empty svg { color: var(--beige-dark); margin-bottom: 16px; }

/* CliQ payment block */
.cliq-block {
  background: var(--beige); border-radius: var(--radius);
  padding: 20px; margin: 14px 0; border-left: 3px solid var(--olive);
}
.cliq-block h4 { margin: 0 0 10px; font-size: 0.9rem; color: var(--olive-dark); }
.cliq-alias { font-size: 1.3rem; font-weight: 800; color: var(--olive-deeper); letter-spacing: 0.02em; }
.cliq-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* Auth gate overlay in cart */
.auth-gate {
  background: var(--white); border: 2px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
  margin-top: 24px;
}
.auth-gate h3 { margin-bottom: 8px; color: var(--olive-deeper); }
.auth-gate p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }
.auth-gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE — kept at the end of the file on purpose so these
   overrides win in the cascade no matter where the base rule for
   a given class is defined above.
   ============================================================ */
@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-strip .container { grid-template-columns: 1fr 1fr; }
  .builder-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .tab-nav { width: 100%; overflow-x: auto; }
  .features-strip .container { grid-template-columns: minmax(0, 1fr); }
  .hero-actions { flex-direction: column; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .builder-layout { grid-template-columns: minmax(0, 1fr); }
  .order-summary, .builder-summary { position: static; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dash-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dash-tab { white-space: nowrap; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .cta-banner { padding: 40px 24px; margin: 56px 0; }
  .hero { min-height: auto; padding: 48px 0; }
  .hero-stats { gap: 16px 24px; }
  .login-card-header { padding: 28px 24px 22px; }
  .login-body { padding: 24px 20px 28px; }
  .about-stats-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-item { flex-wrap: wrap; }
  .builder-product-row { flex-wrap: wrap; }
  .footer-bottom { justify-content: center; text-align: center; }
}
