/* ==============================================================================
   FleuristeMaroc.com / FleurSignature - Core CSS & Original Visual Theme
   Incorporating exact styling, typography, luxury navbar, and hero background
   ============================================================================== */

:root {
  --primary: #5b1425;       /* Deep Luxury Burgundy / Wine */
  --primary-dark: #3b0d18;
  --primary-light: #831d36;
  --accent: #e11d48;        /* Vivid Rose Red */
  --accent-hover: #be123c;
  --emerald: #064e3b;       /* Emerald accent */
  --emerald-light: #059669;
  --gold: #f59e0b;          /* Gold rating / star */
  --gold-light: #fef3c7;
  --dark: #0f172a;          /* Slate 900 */
  --gray-bg: #f8fafc;
  --gray-border: #e2e8f0;
  --gray-text: #475569;
  --white: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-dropdown: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: var(--gray-bg);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* TOP TRUST BAR */
.top-bar {
  background-color: #2b0b13;
  color: #fed7aa;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-items {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==============================================================================
   HEADER & LUXURY NAVBAR (Matching Reference Screenshot)
   ============================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 1rem;
}

/* Left: Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Center: Desktop Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 0.2rem;
  transition: color 0.15s ease;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.chevron-down {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.7rem;
  opacity: 0.7;
}
.nav-item:hover .chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
  opacity: 1;
}

/* Dropdown Menus */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--gray-border);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  list-style: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  background: #fdf2f4;
  color: var(--primary);
  padding-left: 1.45rem;
}
.nav-dropdown .dropdown-header {
  padding: 0.4rem 1.25rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

/* Right: Icons & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}
.header-icon-btn {
  background: none;
  border: none;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 50%;
  transition: all 0.15s ease;
  text-decoration: none;
}
.header-icon-btn:hover {
  color: var(--primary);
  background: #f8fafc;
}
.icon-svg {
  width: 21px;
  height: 21px;
}

/* Cart Button with Count Badge & Subtotal */
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
  text-decoration: none;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}
.header-cart-btn:hover {
  background: #fdf2f4;
  color: var(--primary);
}
.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cart-subtotal-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

/* Mobile Menu Hamburger Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Navigation (Off-canvas) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 86%;
  max-width: 340px;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  left: 0;
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-border);
}
.mobile-drawer-close {
  background: var(--gray-bg);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
}
.mobile-drawer-body {
  padding: 1rem 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-search-form {
  position: relative;
  margin-bottom: 1rem;
}
.mobile-search-form input {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.2rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
}
.mobile-search-form .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-accordion-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: #64748b;
  padding: 0.25rem;
  cursor: pointer;
}
.mobile-submenu {
  list-style: none;
  padding: 0.25rem 0 0.75rem 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-submenu.open {
  display: flex;
}
.mobile-submenu li a {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-submenu li a:hover {
  color: var(--primary);
  background: #fdf2f4;
}
.mobile-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--gray-border);
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==============================================================================
   HERO SECTION (Matching Reference Aesthetic with Floral Background)
   ============================================================================== */
.hero-section {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.92) 100%), url('assets/images/hero-bg.webp'), url('assets/images/hero-bg.jpg');
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #1e293b;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 72, 0.2);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(91, 20, 37, 0.06);
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  color: #5b1425; /* Pure luxury burgundy matching reference */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.hero-title span {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 1.18rem;
  color: #5b1425;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(91, 20, 37, 0.05);
  text-align: center;
  margin: 0 auto;
  max-width: 960px;
  justify-content: center;
  align-items: center;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
}
.hero-trust-icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.hero-trust-text {
  text-align: center;
}
.hero-trust-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.hero-trust-text p {
  font-size: 0.76rem;
  color: #64748b;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(91, 20, 37, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}
.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--gray-border);
  color: var(--dark);
}
.btn-outline:hover {
  background-color: var(--gray-bg);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
}
.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-lg);
}

/* FILTER & SEARCH BAR */
.catalogue-controls {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: -2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--gray-border);
  position: relative;
  z-index: 20;
}

/* SEARCH BAR WRAPPER */
.catalogue-search-wrapper {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modern-search-box {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.modern-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 20, 37, 0.12), 0 8px 24px rgba(91, 20, 37, 0.08);
  transform: translateY(-1px);
}

.modern-search-box .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.modern-search-box input {
  width: 100%;
  padding: 0.9rem 7.5rem 0.9rem 3.4rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  outline: none;
}

.modern-search-box input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-clear-btn {
  position: absolute;
  right: 6.8rem;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.search-clear-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.search-count-badge {
  position: absolute;
  right: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* QUICK SEARCH CHIPS */
.quick-search-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0 0.5rem;
}

.chips-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.2rem;
}

.quick-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  outline: none;
}

.quick-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.pill-btn {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #475569;
}

.pill-btn:hover, .pill-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.search-box {
  position: relative;
  min-width: 250px;
}

/* PRODUCT GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #f1f5f9;
  overflow: hidden;
}
.card-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .card-image-wrap img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.card-delivery-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.card-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}
.card-stem-count {
  font-size: 0.78rem;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.card-rating {
  display: none;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--gray-text);
  margin-bottom: 0.85rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-border);
}
.price-block {
  display: flex;
  flex-direction: column;
}
.regular-price {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.sale-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.sale-price small {
  font-size: 0.8rem;
  font-weight: 600;
}

/* REVIEWS WIDGET */
.reviews-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
}
.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}
.reviews-overall {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fdf2f4;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.review-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}
.review-date {
  font-size: 0.75rem;
  color: #94a3b8;
}
.review-text {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.5;
}

/* LEAD MAGNET BOX (Temporarily Hidden) */
.lead-magnet-box {
  display: none !important;
  background: linear-gradient(135deg, #3b0d18 0%, #5b1425 60%, #831d36 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-lg);
}
.lead-magnet-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.lead-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.lead-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.lead-desc {
  font-size: 0.95rem;
  color: #fce7f3;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.lead-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #fbcfe8;
}
.lead-form {
  background: var(--white);
  color: var(--dark);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #334155;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 20, 37, 0.1);
}

/* SEO CONTENT & INTERNAL LINKS */
.seo-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3.5rem 0;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.seo-article h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  margin: 1.75rem 0 0.85rem;
}
.seo-article h2:first-child {
  margin-top: 0;
}
.seo-article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.65rem;
}
.seo-article p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.seo-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.seo-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.seo-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.seo-card p {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 0;
  line-height: 1.5;
}

/* FAQ ACCORDION */
.faq-section {
  margin: 2rem 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 1rem 0;
}
.faq-question {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* LOCAL INTERNAL LINKING MATRIX */
.pseo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.pseo-link-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.pseo-link-card:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(3px);
}

/* FOOTER */
.site-footer {
  background: #1f080e;
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: #fda4af;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-backlink {
  color: #fda4af;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer-backlink:hover {
  color: #ffffff;
}
.footer-credit {
  display: inline-block;
  margin-left: 0.35rem;
  color: #cbd5e1;
}
.footer-credit-link {
  color: #34d399;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}
.footer-credit-link:hover {
  color: #ffffff;
}

/* FLOATING STICKY MOBILE BAR */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 0.5rem 0.75rem;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
.mobile-bar-inner {
  display: flex;
  gap: 0.5rem;
}
.mobile-bar-inner .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.45rem 0.5rem;
}

/* LUXURY ORDER MODAL STYLING (Clean, Sober, Professional) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-container {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 1.85rem 1.85rem;
  position: relative;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.2);
  animation: modalFadeIn 0.2s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.15s ease;
}
.modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.modal-header-badge {
  display: inline-block;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

/* FELICITATIONS & CROSS-SELL UPSELL MODAL STYLING (Phase 2 AOV Maximization) */
.upsell-modal-container {
  max-width: 680px;
  padding: 1.85rem 1.75rem;
}

.felicitations-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.felicitations-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.felicitations-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.felicitations-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0;
}

.upsell-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.upsell-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.upsell-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.upsell-card.active {
  border-color: var(--primary);
  background: #fdf2f4;
  box-shadow: 0 0 0 2px var(--primary);
}

.upsell-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 65%;
  background: #f8fafc;
  overflow: hidden;
}

.upsell-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upsell-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.upsell-badge.gold-badge {
  background: var(--accent);
  color: #ffffff;
}

.upsell-details {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.upsell-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.upsell-details p {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.6rem;
  flex-grow: 1;
  line-height: 1.35;
}

.upsell-btn {
  width: 100%;
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
}

.custom-card-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  animation: modalFadeIn 0.2s ease-in;
}

.upsell-summary-bar {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.upsell-total-info {
  display: flex;
  flex-direction: column;
}

.upsell-total-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.upsell-total-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.confirm-wa-btn {
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
}

.concierge-pitch-text {
  font-size: 0.78rem;
  color: #475569;
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 0.55rem 0.75rem;
  border-radius: 0 6px 6px 0;
  margin: 0;
}

@media (max-width: 640px) {
  .upsell-items-grid {
    grid-template-columns: 1fr;
  }
  .upsell-summary-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .confirm-wa-btn {
    width: 100%;
  }
}
.modal-title {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.modal-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 1.15rem;
}

/* Modal Product Summary Box */
.modal-product-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}
.modal-summary-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
}
.modal-product-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
}
.modal-product-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

/* Form Grid & Inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: start;
}
.form-group {
  margin-bottom: 0.85rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}
.form-group .form-control {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.88rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.form-group .form-control:focus {
  background: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.form-group textarea.form-control {
  resize: none !important;
  height: 64px;
}
.order-submit-btn {
  width: 100%;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.order-submit-btn:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
}
.order-security-notes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
  font-size: 0.74rem;
  color: #64748b;
  text-align: center;
}

@media (max-width: 580px) {
  .modal-container {
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==============================================================================
   RESPONSIVE MEDIA QUERIES (With 20% Zoomed-Out Mobile Optimization)
   ============================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .header-actions {
    gap: 0.75rem;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lead-magnet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-inner {
    height: 66px;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 180px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  /* Phone view styling optimized for 20% zoomed out initial-scale */
  .top-bar-inner {
    font-size: 0.76rem;
  }
  .hero-section {
    padding: 2.75rem 0 2rem;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.94) 100%), url('assets/images/hero-bg-mobile.webp'), url('assets/images/hero-bg-mobile.jpg');
    background-position: center 20%;
    background-size: cover;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
    text-align: center;
    justify-content: center;
  }
  .hero-trust-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
  }
  .hero-trust-icon {
    font-size: 1.4rem;
  }
  .hero-trust-text h4 {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }
  .hero-trust-text p {
    font-size: 0.7rem;
  }
  .catalogue-controls {
    padding: 0.85rem;
    margin-top: -1.25rem;
  }
  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .pill-btn {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .search-box {
    width: 100%;
    min-width: 100%;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
  }
  .product-card {
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .card-image-wrap {
    padding-top: 100%;
  }
  .card-body {
    padding: 0.75rem 0.65rem 0.65rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
  }
  .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    gap: 0.25rem;
    height: 1.2rem;
    overflow: hidden;
  }
  .card-category {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    line-height: 1.2;
  }
  .card-stem-count {
    font-size: 0.68rem;
    padding: 0.12rem 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
  }
  .card-rating {
    display: none;
  }
  .card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }
  .card-desc {
    display: none;
  }
  .card-footer {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding-top: 0.45rem;
  }
  .card-footer .price-block {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    min-height: 1.4rem;
  }
  .card-footer .sale-price {
    font-size: 1.1rem;
  }
  .card-footer div[style*="display: flex"] {
    display: flex;
    width: 100%;
    gap: 0.3rem;
  }
  .card-footer .btn {
    flex: 1;
    padding: 0.42rem 0.3rem;
    font-size: 0.74rem;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .lead-magnet-box {
    padding: 1.5rem;
    margin: 2.5rem 0;
  }
  .lead-title {
    font-size: 1.45rem;
  }
  .lead-form {
    padding: 1.25rem;
  }
  .seo-article {
    padding: 1.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 65px;
  }
}

@media (max-width: 480px) {
  .top-bar-items:nth-child(2) {
    display: none;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-items: stretch;
  }
  .product-card {
    height: 100%;
  }
  .card-body {
    padding: 0.6rem 0.5rem 0.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card-title {
    font-size: 0.84rem;
  }
  .cart-subtotal-text {
    display: none;
  }
}

/* ==============================================================================
   HIDE NETLIFY DRAWER & POWERED BY NETLIFY BADGE
   ============================================================================== */
#netlify-drawer-root,
.netlify-badge,
[data-netlify-drawer],
[data-netlify-badge],
iframe[id^="netlify-drawer-root"],
iframe[src*="netlify"],
div[id*="netlify-drawer"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  position: absolute !important;
  left: -9999px !important;
}
