/* =================================================================
   Lavender Shop — Premium Theme for OpenCart 4 (v3.0)
   Palette: deep plum + dusty rose + soft lavender background
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --lv-primary: #4A2C6A;
  --lv-primary-rgb: 74, 44, 106;
  --lv-secondary: #7D5A94;
  --lv-secondary-rgb: 125, 90, 148;
  --lv-accent: #D4A5A5;
  --lv-accent-rgb: 212, 165, 165;
  --lv-bg: #F8F3FA;
  --lv-bg-rgb: 248, 243, 250;
  --lv-white: #FFFFFF;
  --lv-text: #3D3652;
  --lv-text-soft: #6E6480;
  --lv-text-muted: #9C93B0;
  --lv-line: rgba(74, 44, 106, 0.08);
  --lv-success: #6E9C7B;
  --lv-warning: #C9A76F;
  --lv-danger: #B85C6B;

  /* Aliases kept for backward compatibility */
  --brand-primary: var(--lv-primary);
  --brand-primary-rgb: var(--lv-primary-rgb);
  --brand-primary-hover: var(--lv-secondary);
  --brand-secondary: var(--lv-accent);
  --brand-dark: #2C1F42;
  --brand-light: var(--lv-bg);
  --brand-success: var(--lv-success);
  --brand-body-bg: var(--lv-bg);
  --surface: var(--lv-white);
  --surface-soft: var(--lv-bg);
  --surface-muted: #F1E9F5;
  --text-primary: var(--lv-text);
  --text-secondary: var(--lv-text-soft);
  --text-muted: var(--lv-text-muted);
  --border-color: var(--lv-line);
  --lv-primary-soft: #EFE5F5;

  /* Fonts — IBM Plex Sans Arabic as unified body font */
  --font-family: 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'IBM Plex Sans Arabic', 'Inter', -apple-system, sans-serif;
  --font-emph: 'Cormorant Garamond', 'IBM Plex Sans Arabic', serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Shadows — very soft, luxurious */
  --sh-xs: 0 1px 2px rgba(74, 44, 106, 0.04);
  --sh-sm: 0 4px 12px rgba(74, 44, 106, 0.06);
  --sh-md: 0 12px 30px rgba(74, 44, 106, 0.10);
  --sh-lg: 0 22px 55px rgba(74, 44, 106, 0.14);
  --sh-btn: 0 8px 20px rgba(74, 44, 106, 0.20);
  --sh-card: 0 4px 24px rgba(74, 44, 106, 0.05);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 300ms var(--ease);
  --transition-smooth: all var(--t);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.7;
  background: var(--lv-bg);
  color: var(--lv-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--lv-primary); text-decoration: none; transition: var(--transition-smooth); }
a:hover { color: var(--lv-secondary); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--lv-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
p  { color: var(--lv-text-soft); }
img { max-width: 100%; height: auto; }
hr  { border: 0; border-top: 1px solid var(--lv-line); margin: 1.5rem 0; opacity: 1; }

/* Emphasis word — replaces broken italic for Arabic */
.lv-emph {
  color: var(--lv-accent);
  font-weight: 500;
  position: relative;
  padding: 0 0.15em;
  white-space: nowrap;
}
.lv-emph::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 8px;
  background: rgba(var(--lv-accent-rgb), 0.22);
  border-radius: 999px;
  z-index: -1;
}
/* English emphasis can safely use italic Cormorant */
html[lang^="en"] .lv-emph { font-family: var(--font-emph); font-style: italic; }
html[lang^="en"] .lv-emph::after { display: none; }

/* Scrollbar — thin, luxurious */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--lv-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(var(--lv-secondary-rgb), 0.35);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(var(--lv-secondary-rgb), 0.60); }
::selection { background: rgba(var(--lv-accent-rgb), 0.35); color: var(--lv-primary); }

/* Container */
.container, .container-fluid { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 1200px) { .container { max-width: 1240px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.d-1 { transition-delay: 0.1s; }
.reveal.d-2 { transition-delay: 0.2s; }
.reveal.d-3 { transition-delay: 0.3s; }
.reveal.d-4 { transition-delay: 0.4s; }
/* Safety net: if JS never runs, show content after 2s */
@keyframes lv-safe-reveal { to { opacity: 1; transform: translateY(0); } }
.reveal { animation: lv-safe-reveal 0.6s var(--ease) 2s forwards; }
.reveal.revealed { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* =================================================================
   SPLASH
   ================================================================= */
#lv-splash {
  position: fixed; inset: 0;
  background: var(--lv-bg);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#lv-splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#lv-splash .splash-stem {
  width: 76px; height: auto;
  filter: drop-shadow(0 8px 20px rgba(var(--lv-primary-rgb), 0.25));
  animation: lv-sway 3s ease-in-out infinite;
}
#lv-splash .splash-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--lv-primary);
  margin-top: 1.5rem;
}
#lv-splash .splash-sub {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--lv-secondary);
  margin-top: 0.6rem;
}
@keyframes lv-sway { 0%,100% { transform: rotate(-3deg);} 50% { transform: rotate(3deg);} }

/* =================================================================
   TOP BAR — slim delivery bar
   ================================================================= */
#top {
  background: var(--lv-primary);
  color: var(--lv-white);
  font-size: 0.78rem;
  padding: 0 !important;
  min-height: 32px;
  display: flex; align-items: center;
  position: relative;
  z-index: 50;
}
#top .container { min-height: 32px; }
#top a { color: rgba(255,255,255,0.9); }
#top a:hover { color: var(--lv-white); }
#top .top-banner-text { font-weight: 400; letter-spacing: 0.02em; }
#top .top-utility { gap: 0.35rem; }
#top .dropdown > a,
#top .btn,
#top .form-select {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  border: none !important;
  padding: 0.15rem 0.55rem !important;
  font-size: 0.75rem !important;
  border-radius: var(--r-sm) !important;
}
#top .dropdown > a:hover, #top .btn:hover { background: rgba(255,255,255,0.10) !important; }
#top .dropdown-menu { background: var(--lv-white); border: 1px solid var(--lv-line); }
#top .dropdown-menu .dropdown-item { color: var(--lv-text); }
#top .dropdown-menu .dropdown-item:hover { background: var(--lv-primary-soft); color: var(--lv-primary); }

/* =================================================================
   HEADER — sticky glass, 80px
   ================================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid var(--lv-line) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  min-height: 80px;
  display: flex; align-items: center;
}
header.is-scrolled { box-shadow: 0 4px 20px rgba(74, 44, 106, 0.06); }

/* Logo — text version */
.lv-logo {
  display: inline-flex; flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.lv-logo .lv-logo-main {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--lv-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}
.lv-logo .lv-logo-sub {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--lv-secondary);
  text-transform: uppercase;
  margin-top: 4px;
}
.lv-logo:hover .lv-logo-main { color: var(--lv-secondary); }
#logo img { max-height: 56px; width: auto; }

/* Circular icon actions in header */
.header-nav-links { gap: 0.5rem !important; }
.header-icon-btn {
  width: 40px; height: 40px;
  min-width: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--lv-primary);
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
}
.header-icon-btn:hover {
  background: rgba(var(--lv-secondary-rgb), 0.10);
  color: var(--lv-primary);
}
.header-icon-btn.has-badge::after {
  content: attr(data-count);
  position: absolute;
  top: -2px; inset-inline-end: -2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lv-accent);
  color: var(--lv-white);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}
.header-icon-btn.has-badge[data-count="0"]::after { display: none; }

/* Cart pill in header */
#cart > .btn,
#cart button[data-bs-toggle="dropdown"] {
  background: var(--lv-primary) !important;
  color: var(--lv-white) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.55rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  box-shadow: var(--sh-sm);
  transition: var(--transition-smooth);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
#cart > .btn:hover { background: var(--lv-secondary) !important; box-shadow: var(--sh-btn); }
#cart .dropdown-menu {
  min-width: 340px;
  border: 1px solid var(--lv-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  background: var(--lv-white);
  padding: 0.85rem;
}

/* Search — center */
#search { position: relative; }
#search .form-control,
#search input[type="text"] {
  width: 100%;
  background: var(--lv-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  padding-inline-end: 3rem;
  font-size: 0.9rem;
  color: var(--lv-text);
  font-family: var(--font-family);
  transition: var(--transition-smooth);
}
#search .form-control::placeholder { color: var(--lv-text-muted); }
#search .form-control:focus {
  background: var(--lv-white);
  border-color: var(--lv-secondary);
  box-shadow: 0 0 0 4px rgba(var(--lv-secondary-rgb), 0.10) !important;
  outline: none;
}
.btn-search-inside {
  position: absolute;
  top: 50%; inset-inline-end: 5px;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--lv-primary);
  color: var(--lv-white);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-search-inside:hover { background: var(--lv-secondary); }

/* =================================================================
   MAIN NAV (category menu)
   ================================================================= */
#menu {
  padding: 0;
  margin: 0;
  background: transparent;
  border-bottom: 1px solid var(--lv-line);
  position: sticky;
  top: 80px;
  z-index: 35;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#menu .navbar-nav { gap: 0.15rem; flex-wrap: wrap; justify-content: center; }
#menu .nav-item.dropdown { position: relative; }
#menu .nav-link {
  font-family: var(--font-display);
  color: var(--lv-text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 0.9rem !important;
  border-radius: var(--r-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
#menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--lv-secondary);
  border-radius: 999px;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}
#menu .nav-link:hover { color: var(--lv-primary) !important; }
#menu .nav-link:hover::after { width: 60%; }
#menu .nav-link .lv-caret {
  font-size: 0.55rem;
  opacity: 0.5;
  transition: transform 0.25s ease;
  background: transparent;
  border: none;
  padding: 6px 8px;
  margin-inline-start: 2px;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#menu .nav-link .lv-caret:hover,
#menu .nav-link .lv-caret:focus { background: rgba(74,44,106,0.08); outline: none; opacity: 1; }
#menu .nav-item.dropdown.lv-open > .nav-link .lv-caret,
#menu .nav-item.dropdown:hover > .nav-link .lv-caret { transform: rotate(180deg); opacity: 1; }
#menu .nav-link:hover .lv-caret { transform: rotate(180deg); }

/* Mobile submenu: show as static block under the parent when open */
@media (max-width: 991.98px) {
  #menu .nav-link .lv-caret {
    padding: 10px 14px;
    font-size: 0.75rem;
    margin-inline-start: auto;
  }
  #menu .nav-item.dropdown > .nav-link { justify-content: space-between; width: 100%; }
  #menu .nav-item.dropdown > .dropdown-menu {
    display: none !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid var(--lv-line) !important;
    border-radius: 0 !important;
    background: rgba(74,44,106,0.03) !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  #menu .nav-item.dropdown.lv-open > .dropdown-menu {
    display: block !important;
  }
}

/* Hover-triggered dropdown for parents with children (desktop) */
@media (min-width: 992px) {
  #menu .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  #menu .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    margin-top: 0;
  }
}
#menu .dropdown-menu {
  border: 1px solid var(--lv-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 1rem;
  background: var(--lv-white);
}
#menu .dropdown-menu .dropdown-item {
  border-radius: var(--r-sm);
  padding: 0.5rem 0.85rem;
  color: var(--lv-text) !important;
  font-size: 0.88rem;
}
#menu .dropdown-menu .dropdown-item:hover { background: var(--lv-primary-soft); color: var(--lv-primary) !important; }
#menu .navbar-toggler { border: 1px solid var(--lv-line); border-radius: var(--r-sm); color: var(--lv-primary); }
#category { display: none !important; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 32px;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
  font-size: 0.9rem;
}
.btn-primary {
  background: var(--lv-primary) !important;
  color: var(--lv-white) !important;
  border: none !important;
  box-shadow: var(--sh-sm);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--lv-secondary) !important;
  box-shadow: var(--sh-btn);
  color: var(--lv-white) !important;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--lv-accent) !important;
  color: var(--lv-white) !important;
  border: none !important;
}
.btn-secondary:hover { background: var(--lv-secondary) !important; color: var(--lv-white) !important; }
.btn-light {
  background: var(--lv-white) !important;
  color: var(--lv-primary) !important;
  border: 1.5px solid var(--lv-line) !important;
}
.btn-light:hover { background: var(--lv-primary-soft) !important; border-color: var(--lv-secondary) !important; color: var(--lv-primary) !important; }
.btn-outline-primary {
  color: var(--lv-primary) !important;
  border-color: var(--lv-primary) !important;
  background: transparent !important;
}
.btn-outline-primary:hover { background: var(--lv-primary) !important; color: var(--lv-white) !important; }
.btn-outline-secondary { color: var(--lv-text) !important; border: 1.5px solid var(--lv-line) !important; background: transparent !important; }
.btn-outline-secondary:hover { background: var(--lv-primary-soft) !important; border-color: var(--lv-secondary) !important; color: var(--lv-primary) !important; }
.btn-success { background: var(--lv-success) !important; border-color: var(--lv-success) !important; color: var(--lv-white) !important; }
.btn-danger  { background: var(--lv-danger) !important; border-color: var(--lv-danger) !important; color: var(--lv-white) !important; }

.btn-buy-now { background: var(--lv-primary) !important; color: var(--lv-white) !important; border: none !important; border-radius: 999px !important; }
.btn-buy-now:hover { background: var(--lv-secondary) !important; box-shadow: var(--sh-btn); }
.btn-add-to-cart-outline { background: transparent !important; color: var(--lv-primary) !important; border: 1.5px solid var(--lv-primary) !important; border-radius: 999px !important; }
.btn-add-to-cart-outline:hover { background: var(--lv-primary) !important; color: var(--lv-white) !important; }

/* Forms */
.form-control, .form-select {
  border: 1.5px solid var(--lv-line);
  border-radius: var(--r-md);
  padding: 0.7rem 0.95rem;
  background: var(--lv-white);
  color: var(--lv-text);
  font-family: var(--font-family);
  transition: var(--transition-smooth);
}
.form-control::placeholder { color: var(--lv-text-muted); }
.form-control:focus, .form-select:focus { border-color: var(--lv-secondary) !important; box-shadow: 0 0 0 4px rgba(var(--lv-secondary-rgb), 0.12) !important; }
.form-label { color: var(--lv-text); font-weight: 500; font-size: 0.9rem; }
.input-group-text { background: var(--lv-primary-soft); border: 1.5px solid var(--lv-line); color: var(--lv-secondary); border-radius: var(--r-md); }

/* Cards */
.card { background: var(--lv-white); border: 1px solid var(--lv-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.card-header { background: var(--lv-white); border-bottom: 1px solid var(--lv-line); font-weight: 600; }

/* Alerts */
.alert { border: 1px solid var(--lv-line); border-radius: var(--r-md); background: var(--lv-white); padding: 1rem 1.25rem; }
.alert-success { background: rgba(110, 156, 123, 0.10); border-color: rgba(110, 156, 123, 0.30); color: #3F6B4D; }
.alert-warning { background: rgba(201, 167, 111, 0.10); border-color: rgba(201, 167, 111, 0.30); color: #6D4E27; }
.alert-danger  { background: rgba(184, 92, 107, 0.10); border-color: rgba(184, 92, 107, 0.30); color: #7A2E39; }

/* =================================================================
   HERO — bright, welcoming
   ================================================================= */
.lv-hero {
  position: relative;
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--r-2xl);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--sh-lg);
  isolation: isolate;
}
.lv-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.lv-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(74, 44, 106, 0.72) 0%, rgba(74, 44, 106, 0.55) 40%, rgba(74, 44, 106, 0.30) 65%, rgba(74, 44, 106, 0.10) 100%);
  z-index: 1;
}
html[dir="rtl"] .lv-hero-overlay {
  background: linear-gradient(270deg, rgba(74, 44, 106, 0.72) 0%, rgba(74, 44, 106, 0.55) 40%, rgba(74, 44, 106, 0.30) 65%, rgba(74, 44, 106, 0.10) 100%);
}
/* Extra readability layer behind text on mobile */
@media (max-width: 767.98px) {
  .lv-hero-overlay {
    background: linear-gradient(180deg, rgba(74, 44, 106, 0.35) 0%, rgba(74, 44, 106, 0.65) 60%, rgba(74, 44, 106, 0.80) 100%) !important;
  }
}
.lv-hero-inner {
  position: relative; z-index: 2;
  padding: 4rem 3rem;
  display: flex; flex-direction: column;
  justify-content: center;
  min-height: 460px;
  max-width: 640px;
  color: var(--lv-white);
}
.lv-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--lv-white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.lv-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--lv-white);
  margin: 0 0 1rem;
  text-shadow: 0 2px 6px rgba(74, 44, 106, 0.65), 0 0 24px rgba(0, 0, 0, 0.35);
}
.lv-hero-title .lv-emph {
  color: #FFD8D8;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(74, 44, 106, 0.75);
}
.lv-hero-title .lv-emph::after {
  background: rgba(255, 216, 216, 0.30);
}
.lv-hero-sub {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
  max-width: 480px;
  text-shadow: 0 1px 4px rgba(74, 44, 106, 0.85), 0 0 16px rgba(0, 0, 0, 0.30);
  font-weight: 500;
}
.lv-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(74, 44, 106, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.40);
  color: var(--lv-white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.lv-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  background: var(--lv-white) !important;
  color: var(--lv-primary) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
  transition: var(--transition-smooth);
}
.btn-hero-primary:hover { color: var(--lv-primary) !important; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.25); }
.btn-hero-ghost {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.75) !important;
  color: var(--lv-white) !important;
  border-radius: 999px !important;
  padding: 12px 32px;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.14) !important; color: var(--lv-white) !important; }

/* Floating glass delivery badge */
.lv-hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--lv-white);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lv-hero-badge i { color: var(--lv-accent); font-size: 1rem; flex-shrink: 0; }

@media (min-width: 768px) {
  .lv-hero-badge {
    left: 1.5rem;
    transform: none;
  }
  html[dir="rtl"] .lv-hero-badge { left: auto; right: 1.5rem; }
}

@media (max-width: 991.98px) {
  .lv-hero { min-height: 420px; }
  .lv-hero-inner { padding: 2.75rem 1.75rem; min-height: 420px; max-width: 100%; }
  .lv-hero-overlay { background: linear-gradient(180deg, rgba(74, 44, 106, 0.50) 0%, rgba(74, 44, 106, 0.20) 55%, rgba(74, 44, 106, 0.05) 100%) !important; }
}
@media (max-width: 575.98px) {
  .lv-hero { min-height: 340px; margin: 1rem 0 1.5rem; border-radius: var(--r-xl); }
  .lv-hero-inner { padding: 1.5rem 1.15rem 4rem; min-height: 340px; }
  .lv-hero-title { font-size: 1.55rem; }
  .lv-hero-sub { font-size: 0.88rem; margin-bottom: 1.15rem; }
  .lv-hero-actions .btn { padding: 10px 22px !important; font-size: 0.82rem; }
  .lv-hero-badge {
    bottom: 0.75rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.7rem;
    gap: 0.4rem;
  }
  .lv-hero-badge i { font-size: 0.8rem; }
}

/* =================================================================
   SECTION HEADS
   ================================================================= */
.lv-section { margin: 3.5rem 0; }
.lv-section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.lv-section-head .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lv-accent);
  font-weight: 500;
  margin-bottom: 0.55rem;
}
.lv-section-head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
.lv-section-head .lv-view-all {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--lv-primary);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
}
.lv-section-head .lv-view-all:hover { background: var(--lv-primary-soft); gap: 0.6rem; }

/* =================================================================
   TRUST CARDS — 4 separate rounded cards
   ================================================================= */
.lv-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.lv-trust-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-line);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--sh-xs);
}
.lv-trust-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(var(--lv-secondary-rgb), 0.20); }
.lv-trust-card .icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lv-primary-soft);
  color: var(--lv-primary);
  border-radius: 50%;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
  transition: var(--transition-smooth);
}
.lv-trust-card:hover .icon { background: var(--lv-primary); color: var(--lv-white); transform: scale(1.05); }
.lv-trust-card h4 { font-size: 1rem; margin-bottom: 0.35rem; font-weight: 600; }
.lv-trust-card p { font-size: 0.85rem; margin: 0; color: var(--lv-text-soft); }

/* Mobile: 4 compact cards in a row */
@media (max-width: 767.98px) {
  .lv-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .lv-trust-card { padding: 0.85rem 0.35rem; border-radius: 14px; }
  .lv-trust-card .icon { width: 40px; height: 40px; font-size: 0.95rem; margin: 0 auto 0.5rem; }
  .lv-trust-card h4 { font-size: 0.72rem; margin-bottom: 0; line-height: 1.25; font-weight: 600; }
  .lv-trust-card p { display: none; }
}
@media (max-width: 359.98px) {
  .lv-trust-grid { gap: 0.35rem; }
  .lv-trust-card { padding: 0.65rem 0.2rem; }
  .lv-trust-card h4 { font-size: 0.65rem; }
  .lv-trust-card .icon { width: 34px; height: 34px; font-size: 0.85rem; }
}

/* =================================================================
   SCROLLABLE CATEGORY CHIPS
   ================================================================= */
.lv-cat-scroller-wrap { position: relative; margin: 1.5rem 0 2rem; }
.lv-cat-scroller {
  display: flex; gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lv-cat-scroller::-webkit-scrollbar { display: none; }
.lv-cat-scroller .chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  background: var(--lv-white);
  color: var(--lv-text);
  border: 1px solid var(--lv-line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
}
.lv-cat-scroller .chip:hover { background: var(--lv-primary-soft); border-color: var(--lv-secondary); color: var(--lv-primary); }
.lv-cat-scroller .chip i { color: var(--lv-secondary); font-size: 0.9rem; }
.lv-scroll-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lv-white);
  color: var(--lv-primary);
  border: 1px solid var(--lv-line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  z-index: 3;
  transition: var(--transition-smooth);
}
.lv-scroll-btn:hover { background: var(--lv-primary); color: var(--lv-white); }
.lv-scroll-btn-prev { inset-inline-start: -6px; }
.lv-scroll-btn-next { inset-inline-end: -6px; }
.lv-scroll-btn[disabled] { opacity: 0.3; pointer-events: none; }

/* =================================================================
   PRODUCT CARDS
   ================================================================= */
.product-thumb {
  position: relative;
  background: var(--lv-white);
  border: 1px solid var(--lv-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column;
  height: 100%;
  box-shadow: var(--sh-xs);
}
.product-thumb:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.product-thumb .image {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--lv-white);
  overflow: hidden;
}
.product-thumb .image::before,
.product-thumb .image::after,
.product-thumb::before,
.product-thumb::after { content: none !important; display: none !important; }
.product-thumb .image .image-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 10%;
}
.product-thumb .image img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}
.product-thumb:hover .image img { transform: scale(1.05); }

.product-thumb .badge-discount {
  position: absolute; top: 12px;
  inset-inline-start: 12px;
  background: var(--lv-accent);
  color: var(--lv-white);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  z-index: 3; line-height: 1;
  letter-spacing: 0.02em;
}
.product-thumb .badge-new {
  position: absolute; top: 12px;
  inset-inline-start: 12px;
  background: var(--lv-success);
  color: var(--lv-white);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  z-index: 3; line-height: 1;
}

.product-thumb .product-hover-form {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  display: block; padding: 0; margin: 0;
}
.product-thumb .product-hover-form .wishlist-btn {
  position: absolute;
  top: 12px; inset-inline-end: 12px;
  width: 36px !important; height: 36px !important;
  min-width: 36px; min-height: 36px;
  max-width: 36px; max-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.95);
  color: var(--lv-text-muted);
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 0 !important; line-height: 1;
}
.product-thumb .product-hover-form .wishlist-btn:hover {
  background: var(--lv-accent);
  color: var(--lv-white);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(var(--lv-accent-rgb), 0.35);
}
.product-thumb .product-hover-form .btn-add-cart-floating {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 0.65rem 0.9rem;
  background: var(--lv-primary);
  color: var(--lv-white);
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.25s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  opacity: 0;
  transform: translateY(14px);
  box-shadow: 0 10px 24px rgba(74, 44, 106, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.product-thumb:hover .product-hover-form .btn-add-cart-floating { opacity: 1; transform: translateY(0); }
.product-thumb .product-hover-form .btn-add-cart-floating:hover { background: var(--lv-secondary); }

.product-thumb .content { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex-grow: 1; }
.product-thumb .description h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--lv-text);
}
.product-thumb .description h4 a { color: inherit; text-decoration: none; }
.product-thumb .description h4 a:hover { color: var(--lv-primary); }
.product-thumb .description p { display: none; }
.product-thumb .price { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.2rem; }
.product-thumb .price-new {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--lv-primary);
  letter-spacing: -0.01em;
}
.product-thumb .price-old { text-decoration: line-through; color: var(--lv-text-muted); font-size: 0.85rem; font-weight: 400; }
.product-thumb .price-tax { display: none; }
.product-thumb .rating { color: var(--lv-warning); font-size: 0.78rem; margin-top: 0.1rem; }
.product-thumb .rating .fa-solid { color: var(--lv-warning); }
.product-thumb .rating .fa-regular { color: rgba(201, 167, 111, 0.28); }

/* Mobile — 2 per row + compact */
@media (max-width: 575.98px) {
  .product-thumb .content { padding: 0.65rem 0.7rem 0.8rem; gap: 0.28rem; }
  .product-thumb .description h4 { font-size: 0.78rem; min-height: 2.4em; }
  .product-thumb .price-new { font-size: 0.92rem; }
  .product-thumb .price-old { font-size: 0.72rem; }
  .product-thumb .product-hover-form .btn-add-cart-floating {
    left: 8px; right: 8px; bottom: 8px;
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    opacity: 1;
    transform: none;
  }
  .product-thumb .product-hover-form .btn-add-cart-floating span { display: none; }
  .product-thumb .product-hover-form .btn-add-cart-floating i { font-size: 0.9rem; }
  .product-thumb .product-hover-form .wishlist-btn { width: 30px !important; height: 30px !important; top: 8px; font-size: 0.75rem; }
  .product-thumb .badge-discount, .product-thumb .badge-new { top: 8px; padding: 0.22rem 0.5rem; font-size: 0.62rem; }
}

/* =================================================================
   SHOP BY AGE
   ================================================================= */
.lv-age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}
.lv-age-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  padding: 2rem 1.5rem;
  min-height: 220px;
  text-decoration: none;
  color: var(--lv-primary);
  transition: var(--transition-smooth);
  border: 1px solid var(--lv-line);
  box-shadow: var(--sh-xs);
  isolation: isolate;
}
.lv-age-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--lv-primary-soft), rgba(var(--lv-accent-rgb), 0.20));
  z-index: -1;
}
.lv-age-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(var(--lv-accent-rgb), 0.25), rgba(var(--lv-secondary-rgb), 0.15)); }
.lv-age-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(var(--lv-secondary-rgb), 0.15), var(--lv-primary-soft)); }
.lv-age-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(var(--lv-accent-rgb), 0.20), var(--lv-primary-soft)); }
.lv-age-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); color: var(--lv-primary); }
.lv-age-card .age-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.7);
  color: var(--lv-primary);
  border-radius: 50%;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.lv-age-card h3 { font-size: 1.15rem; margin: 0 0 0.35rem; font-weight: 600; color: var(--lv-primary); }
.lv-age-card p { font-size: 0.82rem; margin: 0 0 0.85rem; color: var(--lv-text-soft); }
.lv-age-card .age-cta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--lv-primary);
}
.lv-age-card:hover .age-cta { gap: 0.55rem; }

/* Mobile: 4 compact age cards in a row */
@media (max-width: 767.98px) {
  .lv-age-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .lv-age-card { padding: 0.9rem 0.4rem; min-height: auto; border-radius: 14px; text-align: center; }
  .lv-age-card .age-icon { width: 40px; height: 40px; font-size: 0.95rem; margin: 0 auto 0.5rem; display: flex; }
  .lv-age-card h3 { font-size: 0.78rem; margin-bottom: 0.15rem; line-height: 1.2; }
  .lv-age-card p { display: none; }
  .lv-age-card .age-cta { font-size: 0.65rem; justify-content: center; }
  .lv-age-card .age-cta i { display: none; }
}
@media (max-width: 359.98px) {
  .lv-age-grid { gap: 0.35rem; }
  .lv-age-card { padding: 0.7rem 0.25rem; }
  .lv-age-card h3 { font-size: 0.7rem; }
  .lv-age-card .age-icon { width: 34px; height: 34px; font-size: 0.85rem; }
}

/* =================================================================
   STORY
   ================================================================= */
.lv-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--lv-primary-soft) 0%, rgba(var(--lv-accent-rgb), 0.15) 100%);
  border-radius: var(--r-2xl);
  padding: 3rem;
  margin: 3rem 0;
  overflow: hidden;
}
.lv-story-image { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-lg); }
.lv-story-image img { width: 100%; height: 100%; object-fit: cover; }
.lv-story-content h2 { margin-bottom: 0.75rem; }
.lv-story-content p { font-size: 1rem; line-height: 1.85; color: var(--lv-text-soft); margin-bottom: 1.5rem; }
@media (max-width: 767.98px) { .lv-story { grid-template-columns: 1fr; padding: 1.75rem; gap: 1.5rem; } }

/* =================================================================
   CUSTOMER REVIEWS
   ================================================================= */
.lv-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.lv-review-card {
  background: var(--lv-white);
  border: 1px solid var(--lv-line);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sh-xs);
  transition: var(--transition-smooth);
}
.lv-review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.lv-review-card .quote-icon {
  color: var(--lv-accent);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}
.lv-review-card .review-text { color: var(--lv-text); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.25rem; }
.lv-review-card .review-author { display: flex; align-items: center; gap: 0.75rem; }
.lv-review-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lv-primary-soft);
  color: var(--lv-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.lv-review-card .author-info h5 { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--lv-primary); }
.lv-review-card .author-info .stars { color: var(--lv-warning); font-size: 0.75rem; margin-top: 2px; }

/* =================================================================
   BRANDS STRIP
   ================================================================= */
.lv-brands-row {
  display: flex; align-items: center; justify-content: space-around;
  gap: 2rem;
  background: var(--lv-white);
  border: 1px solid var(--lv-line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  flex-wrap: wrap;
}
.lv-brand-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--lv-text-muted);
  letter-spacing: 0.08em;
  opacity: 0.75;
  transition: var(--transition-smooth);
}
.lv-brand-item:hover { color: var(--lv-primary); opacity: 1; transform: scale(1.05); }

/* =================================================================
   NEWSLETTER
   ================================================================= */
.lv-newsletter {
  background: linear-gradient(135deg, var(--lv-primary) 0%, var(--lv-secondary) 100%);
  border-radius: var(--r-2xl);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--lv-white);
  margin: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
}
.lv-newsletter::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 320px; height: 320px; background: radial-gradient(circle at center, rgba(var(--lv-accent-rgb), 0.30), transparent 70%); pointer-events: none; }
.lv-newsletter h3 { color: var(--lv-white); font-size: 1.7rem; margin-bottom: 0.5rem; font-weight: 600; }
.lv-newsletter p  { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 0.98rem; }
.lv-newsletter form {
  position: relative;
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  max-width: 500px; width: 100%;
  backdrop-filter: blur(10px);
}
.lv-newsletter form input { flex-grow: 1; background: transparent; border: none; outline: none; color: var(--lv-white); padding: 0.7rem 0.5rem; font-size: 0.95rem; font-family: var(--font-family); }
.lv-newsletter form input::placeholder { color: rgba(255,255,255,0.60); }
.lv-newsletter form button {
  background: var(--lv-white);
  color: var(--lv-primary);
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-display);
}
.lv-newsletter form button:hover { background: var(--lv-accent); color: var(--lv-white); }

/* =================================================================
   FOOTER
   ================================================================= */
footer {
  background: var(--lv-white);
  border-top: 1px solid var(--lv-line);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  color: var(--lv-text-soft);
  position: relative;
  overflow: hidden;
}
footer::before { content: ""; position: absolute; top: -30%; right: -10%; width: 420px; height: 420px; background: radial-gradient(circle at center, var(--lv-primary-soft), transparent 60%); pointer-events: none; }
footer .container { position: relative; z-index: 1; }
footer h5 { font-family: var(--font-display); color: var(--lv-primary); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem; }
footer ul.list-unstyled li { margin-bottom: 0.55rem; }
footer ul.list-unstyled a { color: var(--lv-text-soft); font-size: 0.9rem; transition: var(--transition-smooth); }
footer ul.list-unstyled a:hover { color: var(--lv-primary); padding-inline-start: 4px; }
footer hr { border-color: var(--lv-line); margin: 2rem 0 1.25rem; }
footer p { color: var(--lv-text-muted); font-size: 0.85rem; margin: 0; }
.payment-methods { color: var(--lv-secondary); }
.payment-methods span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 28px; background: var(--lv-bg); border: 1px solid var(--lv-line); border-radius: var(--r-sm); color: var(--lv-secondary); font-size: 1rem; transition: var(--transition-smooth); }
.payment-methods span:hover { color: var(--lv-primary); border-color: var(--lv-secondary); transform: translateY(-2px); }

/* Social circles in footer */
.lv-social-circles { display: inline-flex; align-items: center; gap: 0.65rem; }
.lv-social-circles a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lv-primary-soft);
  color: var(--lv-primary);
  border-radius: 50%;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.lv-social-circles a:hover { background: var(--lv-primary); color: var(--lv-white); transform: translateY(-2px); }

/* =================================================================
   PAGINATION / LIST GROUP
   ================================================================= */
.list-group-item {
  color: var(--lv-text-soft) !important;
  background: var(--lv-white) !important;
  border-color: var(--lv-line) !important;
  transition: var(--transition-smooth);
}
.list-group-item:hover, .list-group-item-action:hover { color: var(--lv-primary) !important; background: var(--lv-primary-soft) !important; }
.list-group-item.active { background: var(--lv-primary) !important; border-color: var(--lv-primary) !important; color: var(--lv-white) !important; }
.page-link { color: var(--lv-primary) !important; background: var(--lv-white) !important; border-color: var(--lv-line) !important; border-radius: var(--r-sm) !important; margin: 0 3px; transition: var(--transition-smooth); font-weight: 500; }
.page-link:hover { color: var(--lv-primary) !important; background: var(--lv-primary-soft) !important; border-color: var(--lv-secondary) !important; }
.page-item.active .page-link { background: var(--lv-primary) !important; border-color: var(--lv-primary) !important; color: var(--lv-white) !important; }

.breadcrumb { margin: 0; padding: 0; background: transparent; font-size: 0.85rem; }
.breadcrumb a { color: var(--lv-text-soft); }
.breadcrumb a:hover { color: var(--lv-primary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--lv-text-muted); }

.table { color: var(--lv-text); }
.table > :not(caption) > * > * { background: transparent; border-color: var(--lv-line); }
.table thead th { background: var(--lv-bg); color: var(--lv-primary); font-weight: 600; }

.modal-content { background: var(--lv-white); border: 1px solid var(--lv-line); border-radius: var(--r-lg); color: var(--lv-text); box-shadow: var(--sh-lg); }
.modal-header, .modal-footer { border-color: var(--lv-line); }
.tooltip-inner { background: var(--lv-primary); color: var(--lv-white); border-radius: var(--r-sm); font-size: 0.78rem; padding: 0.4rem 0.7rem; }

/* =================================================================
   PRODUCT PAGE
   ================================================================= */
#product-info { padding-block: 1.5rem; }
.product-gallery-wrapper { background: var(--lv-white); border-radius: var(--r-lg); padding: 1rem; border: 1px solid var(--lv-line); box-shadow: var(--sh-xs); }
.product-main-image-wrapper { background: var(--lv-bg); border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.product-main-image-wrapper.zoomed { cursor: zoom-out; }
.product-main-image-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.product-thumbnails-gallery { max-height: 480px; overflow-y: auto; padding: 0.25rem; }
.product-thumb-item { border: 2px solid transparent; border-radius: var(--r-sm); padding: 4px; background: var(--lv-bg); cursor: pointer; transition: var(--transition-smooth); flex-shrink: 0; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-thumb-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-thumb-item.active, .product-thumb-item:hover { border-color: var(--lv-secondary); background: var(--lv-primary-soft); }

.product-meta-card { background: var(--lv-white) !important; border: 1px solid var(--lv-line); border-radius: var(--r-lg) !important; box-shadow: var(--sh-sm) !important; padding: 1.75rem !important; }
.product-title { color: var(--lv-primary); font-weight: 700; }
.product-ref { font-size: 0.82rem; color: var(--lv-text-muted); }
.product-price-block { background: var(--lv-primary-soft) !important; border-radius: var(--r-md) !important; padding: 1.25rem !important; }
.product-price-block .price-main-val { font-size: 1.9rem !important; font-weight: 700 !important; color: var(--lv-primary) !important; margin: 0 !important; font-family: var(--font-display); }
.product-price-block .price-old-val { color: var(--lv-text-muted) !important; font-size: 0.95rem !important; }
.product-price-block .price-installment { color: var(--lv-text-soft) !important; font-size: 0.88rem !important; }

.btn-wishlist-round { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-primary-soft); color: var(--lv-primary); border: 1px solid var(--lv-line); border-radius: 50%; cursor: pointer; transition: var(--transition-smooth); }
.btn-wishlist-round:hover { background: var(--lv-accent); color: var(--lv-white); border-color: var(--lv-accent); }
.btn-back { color: var(--lv-text-muted) !important; font-size: 0.88rem; }
.btn-back:hover { color: var(--lv-primary) !important; }

.quantity-selector-wrapper { display: inline-flex; align-items: center; border: 1.5px solid var(--lv-line); border-radius: 999px; overflow: hidden; background: var(--lv-white); }
.btn-qty-minus, .btn-qty-plus { width: 40px; height: 40px; border: none; background: transparent; color: var(--lv-primary); cursor: pointer; transition: var(--transition-smooth); }
.btn-qty-minus:hover, .btn-qty-plus:hover { background: var(--lv-primary-soft); }
.form-qty-input { width: 52px; border: none; text-align: center; font-weight: 600; background: transparent; color: var(--lv-primary); outline: none; }

.nav-tabs { border-bottom: 1px solid var(--lv-line); gap: 0.25rem; margin-top: 2rem; }
.nav-tabs .nav-link { border: none; border-bottom: 2px solid transparent; color: var(--lv-text-soft) !important; font-weight: 500; padding: 0.85rem 1.25rem; background: transparent !important; border-radius: 0; font-family: var(--font-display); }
.nav-tabs .nav-link:hover { color: var(--lv-primary) !important; }
.nav-tabs .nav-link.active { color: var(--lv-primary) !important; border-bottom-color: var(--lv-primary) !important; }
.tab-content { padding: 1.5rem 0; color: var(--lv-text-soft); }
.tab-content .table-bordered { border-color: var(--lv-line); }
.tab-content .table-bordered td { border-color: var(--lv-line); color: var(--lv-text-soft); padding: 0.85rem 1rem; }

/* =================================================================
   CATEGORY PAGE
   ================================================================= */
#product-category { padding-block: 1.5rem; }
#product-category > .breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; font-size: 0.85rem; }
#product-category h1 { font-family: var(--font-display); color: var(--lv-primary); margin: 0.5rem 0 1.25rem; }
.category-header-banner .category-image img { border-radius: var(--r-lg) !important; box-shadow: var(--sh-sm); }
.category-description { background: var(--lv-white) !important; border: 1px solid var(--lv-line) !important; border-radius: var(--r-md) !important; padding: 1.25rem !important; color: var(--lv-text-soft); }
#product-category .input-group { background: var(--lv-white); border-radius: 999px; overflow: hidden; border: 1.5px solid var(--lv-line); }
#product-category .input-group .input-group-text { background: transparent; border: none; padding: 0.6rem 1rem; color: var(--lv-text-muted); font-size: 0.85rem; }
#product-category .input-group .form-select { background: transparent; border: none; padding: 0.6rem 1rem; padding-inline-end: 2rem; box-shadow: none !important; }

/* =================================================================
   GLOBAL PRODUCT-GRID OVERRIDE — force 2 columns on mobile
   Applies to ALL product listings across the site:
     • category page (#product-list)
     • search page, special/offers, manufacturer_info, brand pages
     • module listings (featured, latest, bestseller, related)
     • OpenCart's default .product-layout wrappers
   ================================================================= */
@media (max-width: 767.98px) {
  /* OpenCart's default class used by category/search/special/module templates */
  .product-layout,
  div[class*="product-layout"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
    margin-bottom: 0.75rem !important;
    box-sizing: border-box;
  }
  /* Our own category.twig grid */
  #product-list.row > .col,
  #product-list.row > [class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }
  /* Tighten row gutters on mobile so cards use the space */
  #product-list, .row.products-row, .products-block-list, .product-list {
    margin-left: -0.3rem !important;
    margin-right: -0.3rem !important;
  }
  /* Sort / limit controls take full width on very small screens */
  #product-category .row.align-items-center.g-2 > div { margin-bottom: 0.5rem; }
}
@media (max-width: 359.98px) {
  .product-layout, div[class*="product-layout"],
  #product-list.row > .col { padding-left: 0.2rem !important; padding-right: 0.2rem !important; }
}

/* =================================================================
   FLOATING BUTTONS
   ================================================================= */
.lv-fab {
  position: fixed;
  z-index: 60;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--lv-white);
  border: none;
  cursor: pointer;
  box-shadow: var(--sh-lg);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.lv-fab-wa { bottom: 24px; inset-inline-end: 24px; background: #25D366; animation: lv-pulse 2.4s ease-out infinite; }
.lv-fab-wa:hover { background: #1DA851; color: var(--lv-white); transform: scale(1.07); }
.lv-fab-top { bottom: 88px; inset-inline-end: 24px; background: var(--lv-primary); opacity: 0; pointer-events: none; }
.lv-fab-top.is-visible { opacity: 1; pointer-events: auto; }
.lv-fab-top:hover { background: var(--lv-secondary); color: var(--lv-white); transform: translateY(-3px); }
@keyframes lv-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), var(--sh-lg); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), var(--sh-lg); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--sh-lg); } }

/* =================================================================
   STICKY BOTTOM NAV (mobile)
   ================================================================= */
.lv-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--lv-line);
  z-index: 55;
  padding: 0.4rem 0.5rem;
  display: none;
}
.lv-bottom-nav-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.lv-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0.45rem 0; color: var(--lv-text-soft); font-size: 0.68rem; font-weight: 500; text-decoration: none; transition: var(--transition-smooth); }
.lv-bottom-nav a i { font-size: 1.15rem; color: var(--lv-text-soft); transition: var(--transition-smooth); }
.lv-bottom-nav a:hover, .lv-bottom-nav a.active { color: var(--lv-primary); }
.lv-bottom-nav a:hover i, .lv-bottom-nav a.active i { color: var(--lv-primary); transform: translateY(-2px); }
@media (max-width: 767.98px) {
  .lv-bottom-nav { display: block; }
  body { padding-bottom: 70px; }
  .lv-fab-wa { bottom: 84px; }
  .lv-fab-top { bottom: 148px; }
}

/* Account / Checkout defaults */
.well, .panel, .checkout-content, .account-content,
#column-left .list-group, #column-right .list-group { background: var(--lv-white); border: 1px solid var(--lv-line); border-radius: var(--r-md); padding: 1rem; box-shadow: var(--sh-xs); }
#column-left h2, #column-right h2 { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lv-primary); margin-bottom: 0.75rem; font-weight: 600; }
.required > label::after, .required .form-label::after { content: " *"; color: var(--lv-accent); }

/* Helpers */
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }
.text-muted { color: var(--lv-text-muted) !important; }
.text-dark { color: var(--lv-text) !important; }
.bg-white { background: var(--lv-white) !important; }
.bg-light { background: var(--lv-bg) !important; }
.border, .border-bottom, .border-top { border-color: var(--lv-line) !important; }

/* RTL */
html[dir="rtl"] .dropdown-menu { text-align: right; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
