/* ============================================================
   Lady Hub — Main CSS Design System
   Brand Colors: #222222 Charcoal | #7DB96A Sage Green
   Background: #FAFAF8 Warm White
   Font: IBM Plex Sans Arabic
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=optional');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --color-primary:       #222222;
  --color-secondary:     #4A7C3F;
  --color-deep-green:    #4A7C3F;
  --color-bg:            #FAFAF8;
  --color-cream:         #F5F2EE;
  --color-muted:         #6B6B6B;
  --color-border:        #E8E4DF;
  --color-error:         #E8453C;
  --color-warning:       #F5A623;
  --color-success:       #7DB96A;
  --color-info:          #3B82F6;
  --color-white:         #FFFFFF;
  --color-dark:          #1A1A1A;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.16);

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;

  --font-primary: 'IBM Plex Sans Arabic', 'Arial', sans-serif;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-primary);
  direction: rtl;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ─── Top Bar ───────────────────────────────────────────────── */
.lh-topbar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
}
.lh-topbar a { color: var(--color-secondary); }
.lh-topbar a:hover { opacity: 0.85; }
.lh-topbar .lh-country-selector {
  cursor: pointer; padding: 6px 12px; border-radius: var(--radius-md); 
  transition: var(--transition); background: rgba(255,255,255,0.05);
}
.lh-topbar .lh-country-selector:hover { background: rgba(255,255,255,0.15); }
.lh-topbar-wa { transition: var(--transition); padding: 4px 10px; border-radius: var(--radius-md); }
.lh-topbar-wa:hover { background: rgba(255,255,255,0.1); }
.lh-topbar-wa span { color: var(--color-white) !important; text-decoration: none; }
.lh-topbar .lh-country-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white; border-radius: var(--radius-full);
  padding: 3px 12px; font-size: 12px; cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.lh-topbar .lh-country-btn:hover { background: rgba(255,255,255,0.2); }
.lh-country-btn.active { background: var(--color-secondary); border-color: var(--color-secondary); }

/* ─── Header ────────────────────────────────────────────────── */
.lh-header {
  background: var(--color-white);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lh-header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}
.lh-header .lh-logo img { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.lh-header.scrolled .lh-logo img {
  height: 70px !important;
}
.lh-logo { display: flex; align-items: center; gap: 8px; }
.lh-logo-text {
  font-size: 24px; font-weight: 700; letter-spacing: -0.5px; color: var(--color-primary);
}
.lh-logo-text span { color: var(--color-secondary); }
.lh-logo-tagline { font-size: 11px; color: var(--color-muted); margin-top: -4px; }

/* Search */
.lh-search {
  position: relative; flex: 1; max-width: 550px; margin: 0 32px;
}
.lh-search input {
  width: 100%; padding: 10px 48px 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-cream);
  font-family: var(--font-primary); font-size: 14px;
  color: var(--color-primary); transition: var(--transition);
  outline: none;
}
.lh-search input:focus {
  border-color: var(--color-secondary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(125,185,106,0.15);
}
.lh-search input::placeholder { color: var(--color-muted); }
.lh-search-btn {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--color-muted); cursor: pointer;
  font-size: 18px; display: flex; align-items: center;
}
.lh-search-btn:hover { color: var(--color-secondary); }

/* Header Icons */
.lh-header-icons { display: flex; align-items: center; gap: 8px; }
.lh-icon-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 10px 14px;
  border: none; background: none; cursor: pointer;
  color: var(--color-primary); border-radius: var(--radius-md);
  transition: var(--transition); font-family: var(--font-primary);
}
.lh-icon-btn:hover { background: var(--color-cream); color: var(--color-secondary); }
.lh-icon-btn i { font-size: 24px; }
.lh-icon-btn span { font-size: 12px; font-weight: 600; }
.lh-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--color-secondary); color: white;
  border-radius: var(--radius-full); font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; display: flex; align-items: center;
  justify-content: center; padding: 0 4px;
}
.lh-badge-cart { background: var(--color-error); }

/* ─── Navbar / Mega Menu ────────────────────────────────────── */
.lh-navbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.lh-nav-list {
  display: flex; list-style: none; align-items: center; gap: 0; margin: 0; padding: 0;
}
.lh-nav-item { position: relative; }
.lh-nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px; font-size: 15px; font-weight: 500;
  color: var(--color-primary); white-space: nowrap;
  border-bottom: 3px solid transparent; transition: var(--transition);
}
.lh-nav-link:hover,
.lh-nav-link.active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }
.lh-nav-link .lh-nav-dot {
  width: 7px; height: 7px; background: var(--color-error);
  border-radius: 50%; display: inline-block;
}

/* Mega Menu Dropdown */
.lh-mega-menu {
  position: absolute; top: 100%; right: 0;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 600px; padding: 24px;
  display: none; z-index: 999;
  animation: slideDown 0.2s ease;
}
.lh-nav-item:hover .lh-mega-menu { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lh-mega-menu-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lh-mega-col-title { font-size: 13px; font-weight: 600; color: var(--color-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.lh-mega-link { display: block; font-size: 14px; padding: 5px 0; color: var(--color-primary); }
.lh-mega-link:hover { color: var(--color-secondary); padding-right: 4px; }

/* ─── Hero Banner ───────────────────────────────────────────── */
.lh-hero {
  background: linear-gradient(135deg, #F8F4EF 0%, #EFF7EC 60%, #E8F4E5 100%);
  min-height: 520px; display: flex; align-items: center;
  overflow: hidden; position: relative;
}
.lh-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='180' cy='20' r='80' fill='rgba(125,185,106,0.05)'/%3E%3Ccircle cx='10' cy='180' r='100' fill='rgba(125,185,106,0.04)'/%3E%3C/svg%3E") no-repeat center/cover;
}
.lh-hero-content { position: relative; z-index: 2; }
.lh-hero h1 { font-size: 56px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.lh-hero p  { font-size: 18px; color: var(--color-muted); margin-bottom: 32px; }
.lh-hero-image { position: relative; z-index: 2; }
.lh-hero-image img { max-height: 480px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); }

/* ─── Buttons ───────────────────────────────────────────────── */
.lh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-primary); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.lh-btn-primary {
  background: var(--color-secondary); color: white; border-color: var(--color-secondary);
}
.lh-btn-primary:hover { background: var(--color-deep-green); border-color: var(--color-deep-green); color: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(125,185,106,0.4); }

.lh-btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: white;
  padding: 16px 48px; font-size: 18px; font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none; border: none;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden; position: relative; z-index: 1;
}
.lh-btn-hero::after {
  content: ''; position: absolute; inset: 0;
  background: var(--color-secondary); z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lh-btn-hero:hover { color: white; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(125, 185, 106, 0.3); }
.lh-btn-hero:hover::after { transform: scaleX(1); transform-origin: left; }
.lh-btn-hero:hover i { transform: translateX(-6px); }
.lh-btn-outline {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.lh-btn-outline:hover { background: var(--color-primary); color: white; }
.lh-btn-outline-green {
  background: transparent; color: var(--color-secondary); border-color: var(--color-secondary);
}
.lh-btn-outline-green:hover { background: var(--color-secondary); color: white; }
.lh-btn-sm  { padding: 8px 18px; font-size: 14px; }
.lh-btn-lg  { padding: 16px 36px; font-size: 17px; }
.lh-btn-full { width: 100%; justify-content: center; }
.lh-btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* ─── Trust Section ─────────────────────────────────────────── */
.lh-trust { background: var(--color-white); padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.lh-trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lh-trust-icon { font-size: 28px; color: var(--color-secondary); }
.lh-trust-text strong { display: block; font-size: 14px; font-weight: 600; }
.lh-trust-text span { font-size: 12px; color: var(--color-muted); }

/* ─── Section Titles ────────────────────────────────────────── */
.lh-section { padding: 80px 0; }
.lh-section-title {
  font-size: 32px; font-weight: 700; text-align: center;
  margin-bottom: 8px; color: var(--color-primary);
}
.lh-section-subtitle {
  font-size: 16px; color: var(--color-muted); text-align: center; margin-bottom: 40px;
}
.lh-title-line {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px;
}
.lh-title-line::before, .lh-title-line::after {
  content: ''; height: 1px; width: 60px; background: var(--color-border);
}

/* ─── Category Circles ──────────────────────────────────────── */
.lh-category-circle {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  cursor: pointer; transition: var(--transition);
}
.lh-category-circle:hover { transform: translateY(-4px); }
.lh-category-img {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-deep-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white; box-shadow: var(--shadow-md);
  transition: var(--transition); overflow: hidden;
}
.lh-category-circle:hover .lh-category-img { box-shadow: var(--shadow-hover); transform: scale(1.05); }
.lh-category-name { font-size: 13px; font-weight: 600; text-align: center; }

/* ─── Product Cards ─────────────────────────────────────────── */
.lh-product-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition); border: 1px solid transparent;
}
.lh-product-card:hover {
  box-shadow: var(--shadow-hover); border-color: var(--color-secondary);
  transform: translateY(-4px);
}
.lh-product-img {
  position: relative; overflow: hidden;
  background: var(--color-cream); aspect-ratio: 1/1;
}
.lh-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.lh-product-card:hover .lh-product-img img { transform: scale(1.05); }
.lh-product-badges { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; }
.lh-product-wishlist { position: absolute; top: 12px; left: 12px; }
.lh-wishlist-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); font-size: 16px;
}
.lh-wishlist-btn:hover { background: var(--color-error); color: white; transform: scale(1.1); }
.lh-wishlist-btn.active { background: var(--color-error); color: white; }

.lh-product-body { padding: 16px; }
.lh-product-brand { font-size: 12px; color: var(--color-secondary); font-weight: 500; margin-bottom: 4px; }
.lh-product-name { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; color: var(--color-primary); }
.lh-product-name a { color: inherit; }
.lh-product-name a:hover { color: var(--color-secondary); }
.lh-product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.lh-product-rating .stars { color: #F5A623; font-size: 13px; }
.lh-product-rating .count { font-size: 12px; color: var(--color-muted); }
.lh-product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lh-price-current { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.lh-price-original { font-size: 13px; color: var(--color-muted); text-decoration: line-through; }
.lh-product-actions { display: flex; gap: 8px; }
.lh-add-cart-btn {
  flex: 1; background: var(--color-secondary); color: white;
  border: none; border-radius: var(--radius-md); padding: 10px;
  font-family: var(--font-primary); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-width: max-content;
}
.lh-add-cart-btn:hover { background: var(--color-deep-green); transform: translateY(-1px); }
.lh-add-cart-btn.added { background: var(--color-deep-green); }

.lh-buy-now-btn {
  flex: 1; background: var(--color-primary); color: white;
  border: none; border-radius: var(--radius-md); padding: 10px;
  font-family: var(--font-primary); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-width: max-content;
}
.lh-buy-now-btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.lh-product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lh-product-actions > button { flex: 1 1 calc(50% - 5px); }

/* ─── Badges ────────────────────────────────────────────────── */
.lh-pill {
  display: inline-flex; align-items: center; padding: 4px 10px;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
}
.lh-pill-new       { background: var(--color-secondary); color: white; }
.lh-pill-sale      { background: var(--color-error); color: white; }
.lh-pill-best      { background: var(--color-primary); color: white; }
.lh-pill-out       { background: var(--color-muted); color: white; }

.lh-badge-success  { background: rgba(125,185,106,0.15); color: var(--color-deep-green); padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.lh-badge-warning  { background: rgba(245,166,35,0.15);  color: #C47A00; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.lh-badge-danger   { background: rgba(232,69,60,0.15);   color: var(--color-error); padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.lh-badge-primary  { background: rgba(59,130,246,0.15);  color: #1D4ED8; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.lh-badge-info     { background: rgba(59,130,246,0.15);  color: #1D4ED8; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.lh-badge-secondary{ background: rgba(107,107,107,0.15); color: var(--color-muted); padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }

/* ─── Form Inputs ───────────────────────────────────────────── */
.lh-form-group { margin-bottom: 20px; }
.lh-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-primary); }
.lh-input, .lh-textarea, .lh-select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); background: var(--color-white);
  font-family: var(--font-primary); font-size: 15px; color: var(--color-primary);
  transition: var(--transition); outline: none;
}
.lh-input:focus, .lh-textarea:focus, .lh-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(90,140,75,0.15);
}
.lh-input::placeholder, .lh-textarea::placeholder { color: var(--color-muted); }
.lh-input-error { border-color: var(--color-error) !important; background-color: #fffafa !important; }
.lh-error-text { color: var(--color-error); font-size: 13px; margin-top: 4px; display: block; }
.lh-textarea { resize: vertical; min-height: 100px; }

/* Swiper Pagination Touch Targets Fix */
.swiper-pagination-bullet {
  width: 44px !important;
  height: 44px !important;
  padding: 18px !important;
  margin: 0 !important;
  background-clip: content-box !important;
  opacity: 0.5;
  transition: all 0.2s ease;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ─── Cart Styles ───────────────────────────────────────────── */
.lh-cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--color-border);
}
.lh-cart-item:last-child { border-bottom: none; }
.lh-cart-img { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-cream); flex-shrink: 0; }
.lh-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.lh-cart-info { flex: 1; }
.lh-cart-brand { font-size: 11px; color: var(--color-secondary); font-weight: 500; }
.lh-cart-name  { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.lh-qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.lh-qty-btn { width: 36px; height: 36px; border: none; background: none; cursor: pointer; font-size: 16px; color: var(--color-secondary); transition: var(--transition); }
.lh-qty-btn:hover { background: var(--color-secondary); color: white; }
.lh-qty-input { width: 48px; text-align: center; border: none; outline: none; font-size: 15px; font-weight: 600; font-family: var(--font-primary); }

/* Order Summary Card */
.lh-summary-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px; position: sticky; top: 100px; }
.lh-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; }
.lh-summary-row.total { border-top: 2px solid var(--color-border); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 700; }
.lh-summary-row .discount-val { color: var(--color-secondary); font-weight: 600; }
.lh-shipping-progress { margin: 12px 0; }
.lh-progress-bar { background: var(--color-border); border-radius: var(--radius-full); height: 6px; overflow: hidden; margin-top: 6px; }
.lh-progress-fill { background: var(--color-secondary); height: 100%; border-radius: var(--radius-full); transition: width 0.4s ease; }

/* ─── Checkout ──────────────────────────────────────────────── */
.lh-checkout-progress { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.lh-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; flex: 1; max-width: 200px; }
.lh-step-num {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; background: white; z-index: 1;
  transition: var(--transition);
}
.lh-step.active  .lh-step-num { background: var(--color-secondary); border-color: var(--color-secondary); color: white; }
.lh-step.done    .lh-step-num { background: var(--color-deep-green); border-color: var(--color-deep-green); color: white; }
.lh-step-label { font-size: 13px; font-weight: 500; color: var(--color-muted); }
.lh-step.active .lh-step-label { color: var(--color-secondary); font-weight: 600; }
.lh-step-line {
  position: absolute; top: 20px; left: -50%; width: 100%;
  height: 2px; background: var(--color-border); z-index: 0;
}
.lh-step.done .lh-step-line { background: var(--color-secondary); }

.lh-payment-option {
  border: 2px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 16px 20px; cursor: pointer; transition: var(--transition); margin-bottom: 12px;
}
.lh-payment-option:hover { border-color: var(--color-secondary); }
.lh-payment-option.selected { border-color: var(--color-secondary); background: rgba(125,185,106,0.06); }
.lh-bank-details {
  background: var(--color-cream); border-radius: var(--radius-md);
  padding: 16px; margin-top: 12px; font-size: 14px; display: none;
}
.lh-bank-details.show { display: block; }
.lh-bank-details p { margin: 4px 0; }
.lh-bank-details strong { color: var(--color-primary); }

/* ─── Product Detail ────────────────────────────────────────── */
.lh-gallery-main { border-radius: var(--radius-xl); overflow: hidden; background: var(--color-cream); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; position: relative; }
.lh-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.lh-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.lh-thumb { width: 72px; height: 72px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-cream); cursor: pointer; border: 2px solid transparent; transition: var(--transition); flex-shrink: 0; }
.lh-thumb:hover, .lh-thumb.active { border-color: var(--color-secondary); }
.lh-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lh-countdown { background: var(--color-error); color: white; border-radius: var(--radius-md); padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.lh-countdown-digit { background: rgba(0,0,0,0.25); border-radius: 6px; padding: 4px 8px; font-size: 18px; font-weight: 700; min-width: 36px; text-align: center; }
.lh-countdown-sep { font-size: 20px; font-weight: 700; }

.lh-product-tabs .nav-link { font-family: var(--font-primary); color: var(--color-muted); border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 20px; font-weight: 500; }
.lh-product-tabs .nav-link.active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); background: none; }

/* Sticky Add to Cart */
.lh-sticky-cart {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--color-white); border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  padding: 12px 0; transform: translateY(100%); transition: var(--transition);
}
.lh-sticky-cart.visible { transform: translateY(0); }
.lh-sticky-cart-inner { display: flex; align-items: center; gap: 16px; }
.lh-sticky-thumb { width: 48px; height: 48px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-cream); flex-shrink: 0; }
.lh-sticky-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* WhatsApp Float Button */
.lh-whatsapp-float {
  position: fixed; bottom: calc(80px + env(safe-area-inset-bottom)); left: 24px; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: white; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition); text-decoration: none;
}
.lh-whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

/* ─── Back to Top Button ────────────────────────────────────── */
.lh-back-to-top {
  position: fixed;
  bottom: calc(-80px - env(safe-area-inset-bottom)); /* Hidden initially by sliding down */
  right: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.lh-back-to-top.show {
  bottom: calc(24px + env(safe-area-inset-bottom));
  opacity: 1;
  visibility: visible;
}
.lh-back-to-top:hover {
  background: var(--color-deep-green);
  transform: scale(1.05);
  color: #fff;
}
.lh-back-to-top:active {
  transform: scale(0.96);
}

@media (max-width: 767.98px) {
  .lh-back-to-top {
    width: 44px;
    height: 44px;
    font-size: 18px;
    right: 16px;
  }
  .lh-back-to-top.show {
    /* 58px nav + 16px gap = 74px */
    bottom: calc(74px + env(safe-area-inset-bottom));
  }
}

/* ─── Account Dashboard ─────────────────────────────────────── */
.lh-account-sidebar {
  background: var(--color-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.lh-account-profile { background: linear-gradient(135deg, var(--color-secondary), var(--color-deep-green)); padding: 28px 24px; text-align: center; }
.lh-account-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: white; margin: 0 auto 12px; }
.lh-account-name { font-size: 18px; font-weight: 700; color: white; }
.lh-account-email { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 4px; }
.lh-account-nav { padding: 12px; }
.lh-account-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; color: var(--color-primary); transition: var(--transition); }
.lh-account-nav a:hover { background: var(--color-cream); color: var(--color-secondary); }
.lh-account-nav a.active { background: rgba(125,185,106,0.1); color: var(--color-secondary); font-weight: 600; }
.lh-account-nav a i { font-size: 18px; width: 24px; text-align: center; }

/* Stats bar */
.lh-stats-bar { display: flex; gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.lh-stat-item { flex: 1; padding: 20px; text-align: center; border-left: 1px solid var(--color-border); background: var(--color-white); }
.lh-stat-item:last-child { border-left: none; }
.lh-stat-value { font-size: 28px; font-weight: 700; color: var(--color-primary); }
.lh-stat-label { font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ─── Auth Pages ────────────────────────────────────────────── */
.lh-auth-body { min-height: 100vh; display: flex; align-items: stretch; }
.lh-auth-image { flex: 0 0 45%; background: linear-gradient(135deg, #EFF7EC, #DCF0D5); overflow: hidden; position: relative; }
.lh-auth-image img { width: 100%; height: 100%; object-fit: cover; }
.lh-auth-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.lh-auth-box { width: 100%; max-width: 440px; }
.lh-auth-logo { text-align: center; margin-bottom: 32px; }
.lh-auth-title { font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.lh-auth-subtitle { font-size: 15px; color: var(--color-muted); margin-bottom: 32px; }
.lh-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0; color: var(--color-muted); font-size: 14px; }
.lh-divider::before, .lh-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }

/* ─── Tables ────────────────────────────────────────────────── */
.lh-table { width: 100%; border-collapse: collapse; }
.lh-table th { padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--color-muted); border-bottom: 2px solid var(--color-border); text-align: right; white-space: nowrap; }
.lh-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.lh-table tr:hover td { background: var(--color-cream); }
.lh-table tr:last-child td { border-bottom: none; }

/* ─── Pagination ─────────────────────────────────────────────── */
.lh-pagination { display: flex; align-items: center; gap: 6px; justify-content: center; list-style: none; margin: 40px 0 0; padding: 0; }
.lh-pagination li a, .lh-pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border); font-size: 14px; font-weight: 500;
  color: var(--color-primary); transition: var(--transition);
}
.lh-pagination li a:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.lh-pagination li.active a { background: var(--color-secondary); border-color: var(--color-secondary); color: white; }
.lh-pagination li.dots span { border: none; cursor: default; }

/* ─── Alerts ────────────────────────────────────────────────── */
.lh-alert-success { background: rgba(125,185,106,0.1); border: 1px solid var(--color-secondary); color: var(--color-deep-green); border-radius: var(--radius-md); }
.lh-alert-danger  { background: rgba(232,69,60,0.1);  border: 1px solid var(--color-error); color: var(--color-error); border-radius: var(--radius-md); }
.lh-alert-warning { background: rgba(245,166,35,0.1); border: 1px solid var(--color-warning); color: #C47A00; border-radius: var(--radius-md); }
.lh-alert-info    { background: rgba(59,130,246,0.1); border: 1px solid #3B82F6; color: #1D4ED8; border-radius: var(--radius-md); }

/* ─── Reviews ───────────────────────────────────────────────── */
.lh-review-card { background: var(--color-white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.lh-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lh-reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--color-secondary), var(--color-deep-green)); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.lh-review-stars { color: #F5A623; font-size: 14px; }

/* ─── Footer ────────────────────────────────────────────────── */
.lh-footer { background: #242424; color: rgba(255,255,255,0.85); padding: 36px 0 16px; }
.lh-footer h5 {
  font-size: 15px; font-weight: 700; margin-bottom: 16px; position: relative; display: inline-block; color: white;
}
.lh-footer h5::after {
  content: ''; position: absolute; right: 0; bottom: -8px; width: 30px; height: 2px;
  background: var(--color-secondary);
}
.lh-footer a { color: rgba(255,255,255,0.7); font-size: 13px; display: block; margin-bottom: 8px; transition: color 0.2s ease; }
.lh-footer a:hover { color: var(--color-secondary); }
.lh-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-top: 32px; }
.lh-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.lh-social-icons { display: flex; gap: 20px; }
.lh-social-icon { display: flex; align-items: center; justify-content: center; font-size: 20px; color: #FFFFFF; transition: all 0.2s ease; }
.lh-social-icon:hover { color: var(--color-secondary); transform: scale(1.1); }

/* Payment & Shipping */
.lh-payment-methods {
  display: flex; align-items: center; gap: 22px;
}
.lh-payment-item { 
  display: flex; align-items: center; justify-content: center; 
  transition: all 0.2s ease; 
  filter: brightness(0) invert(1);
}
.lh-payment-item:hover { filter: none; transform: scale(1.05); }
.lh-payment-item svg { height: 24px; width: auto; }
.lh-payment-item i { font-size: 24px; color: currentColor; }

.lh-shipping-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lh-shipping-item i { font-size: 18px; color: var(--color-secondary); }
.lh-shipping-item span { font-size: 13px; color: rgba(255,255,255,0.8); }

.lh-footer-copyright { font-size: 13px; color: rgba(255,255,255,0.5); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lh-footer-copyright p { margin: 0; line-height: 1.4; }
.lh-footer-copyright a { display: inline; margin: 0; color: var(--color-white); text-decoration: none; transition: color 0.2s ease; }
.lh-footer-copyright a.lh-digital-zone { color: var(--color-secondary); font-weight: 600; transition: all 0.2s ease; }
.lh-footer-copyright a.lh-digital-zone:hover { text-decoration: underline; color: var(--color-secondary); opacity: 0.8; }
.lh-footer-copyright a:not(.lh-digital-zone):hover { color: var(--color-secondary); text-decoration: underline; }

/* Newsletter */
.lh-newsletter { background: linear-gradient(135deg, var(--color-secondary), var(--color-deep-green)); padding: 64px 0; color: white; }
.lh-newsletter h2 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.lh-newsletter p { font-size: 16px; opacity: 0.9; margin-bottom: 0; }
.lh-newsletter-form { display: flex; gap: 12px; max-width: 440px; }
.lh-newsletter-input { flex: 1; padding: 14px 18px; border-radius: var(--radius-md); border: none; font-family: var(--font-primary); font-size: 15px; outline: none; }
.lh-newsletter-btn { padding: 14px 24px; background: var(--color-primary); color: white; border: none; border-radius: var(--radius-md); font-family: var(--font-primary); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: var(--transition); }
.lh-newsletter-btn:hover { background: rgba(0,0,0,0.8); }

/* ─── Empty State ───────────────────────────────────────────── */
.lh-empty { text-align: center; padding: 80px 20px; }
.lh-empty-icon { font-size: 64px; color: var(--color-border); margin-bottom: 16px; }
.lh-empty h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.lh-empty p { color: var(--color-muted); }

/* ─── Loading Spinner ───────────────────────────────────────── */
.lh-spinner { width: 36px; height: 36px; border: 3px solid var(--color-border); border-top-color: var(--color-secondary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Mobile Bottom Nav ─────────────────────────────────────── */
.lh-mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--color-white); border-top: 1px solid #f0f0f0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.04); z-index: 1000; 
  padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom));
}
.lh-mobile-nav-inner { display: flex; justify-content: space-around; align-items: center; }
.lh-mobile-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 0; color: #5c6b79; font-size: 12px; font-weight: 500; cursor: pointer; border: none; background: none; font-family: var(--font-primary); transition: all 0.3s ease; flex: 1; text-align: center; }
.lh-mobile-nav-item i { font-size: 22px; transition: transform 0.2s ease; line-height: 1; margin-bottom: 2px; }
.lh-mobile-nav-item.active { color: var(--color-secondary); font-weight: 600; }
.lh-mobile-nav-item.active i { transform: scale(1.05); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .lh-hero h1    { font-size: 38px; }
  .lh-hero       { min-height: 380px; }
  .lh-search     { max-width: 260px; margin: 0 12px; }
  .lh-mega-menu  { min-width: 340px; }
  .lh-mega-menu-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 70px; }
  .lh-mobile-nav { display: block; }
  .lh-hero h1    { font-size: 28px; }
  .lh-hero       { min-height: 300px; }
  .lh-section    { padding: 48px 0; }
  .lh-section-title { font-size: 24px; }
  .lh-navbar, .lh-search { display: none; }
  .lh-header-icons .lh-icon-btn span { display: none; }
  .lh-auth-image { display: none; }
  .lh-newsletter-form { flex-direction: column; }
  .lh-stats-bar { flex-direction: column; }
  .lh-stat-item { border-left: none; border-bottom: 1px solid var(--color-border); }
  .lh-product-card { border-radius: var(--radius-md); }
  .lh-summary-card { position: static; }
}

@media (max-width: 575.98px) {
  .lh-hero h1 { font-size: 24px; }
  .lh-category-img { width: 75px; height: 75px; font-size: 28px; }
}

/* ─── Utility ───────────────────────────────────────────────── */
.gap-3 { gap: 12px !important; }
.fw-600 { font-weight: 600; }
.text-green { color: var(--color-secondary) !important; }
.text-muted-lh { color: var(--color-muted) !important; }
.bg-cream { background: var(--color-cream) !important; }
.border-lh { border-color: var(--color-border) !important; }
.rounded-lh { border-radius: var(--radius-lg) !important; }
.shadow-lh { box-shadow: var(--shadow-md) !important; }
/* Remove number input spinners */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Force hide number input spinners everywhere */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none !important; 
  appearance: none !important;
  margin: 0 !important; 
}
input[type=number] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

/* ─── MOBILE FIRST OVERHAUL ─────────────────────────────────── */
@media (max-width: 767.98px) {
  /* 1. Grid & Margins */
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .mb-5 { margin-bottom: 1.5rem !important; }
  .mt-5 { margin-top: 1.5rem !important; }
  
  /* 2. Inputs & Forms */
  .lh-input, .lh-textarea, .form-control { font-size: 16px !important; min-height: 48px; }
  
  /* 3. Buttons (Touch Targets) */
  .lh-btn, .lh-add-cart-btn, .lh-buy-now-btn { min-height: 48px; }
  
  /* 4. Cart Page Layout */
  .lh-cart-item {
    display: flex; flex-direction: column; gap: 12px;
    align-items: stretch; position: relative; padding-bottom: 16px;
  }
  .lh-cart-img { width: 80px; height: 80px; flex-shrink: 0; position: absolute; top: 16px; right: 16px; }
  .lh-cart-info { padding-right: 96px; min-height: 80px; }
  .lh-cart-info .lh-cart-name { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
  .lh-cart-item > div:last-child {
    display: flex !important; justify-content: space-between; align-items: center; gap: 12px !important;
    margin-top: 8px; padding-top: 12px; border-top: 1px dashed #eee; width: 100%;
  }
  .lh-qty-control { flex: 1; justify-content: center; }

  /* 5. Mobile Tables (Cards) */
  .lh-mobile-table { display: block; border: none; }
  .lh-mobile-table thead { display: none; }
  .lh-mobile-table tbody { display: block; }
  .lh-mobile-table tr { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
  .lh-mobile-table td { display: flex; justify-content: space-between; align-items: center; border: none; padding: 8px 0; text-align: left; }
  .lh-mobile-table td::before { content: attr(data-label); font-weight: 600; color: var(--color-muted); font-size: 13px; text-align: right; }
  
  /* 6. Header & Footer */
  .lh-footer .row > div { margin-bottom: 24px; }
  .lh-footer-links li { margin-bottom: 16px; }
  .lh-footer-links a { display: block; padding: 4px 0; }
  .lh-header-actions { gap: 12px !important; }
  .lh-header-actions .lh-btn-icon { width: 44px; height: 44px; font-size: 20px; }
  
  /* 7. Modals */
  .modal-dialog { margin: 16px; }
}

/* Utilities */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-title-clamp { height: 44px; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ─── Blog Card (Mobile First) ────────────────────────────── */
.lh-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.lh-blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--color-secondary);
}
.lh-blog-card:active {
  transform: scale(0.98);
}
.lh-blog-card-img-wrapper {
  position: relative;
  width: 100%;
}
.lh-blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.lh-blog-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-cream);
}
.lh-blog-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-white);
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.lh-blog-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.lh-blog-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-blog-card-excerpt {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.lh-blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lh-blog-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}
.lh-blog-card-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  transition: var(--transition);
}
.lh-blog-card:hover .lh-blog-card-btn {
  color: var(--color-deep-green);
  gap: 10px;
}
@media (min-width: 768px) {
  .lh-blog-card-content {
    padding: 24px;
  }
  .lh-blog-card-title {
    font-size: 18px;
  }
  .lh-blog-card-excerpt {
    font-size: 15px;
  }
}
