/* ========================================================
   Ahdini Hob | أهدِني حب
   Luxury Florist & Boutique Gifts
   Official Brand Guidelines (JAN 2026) System
   ======================================================== */

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

:root {
  /* Brand Signature Palette from Official Brand Guidelines (Page 9) */
  --brand-sage: #8f9c8e;
  --brand-sage-hover: #7b887a;
  --brand-sage-dark: #374636;
  --brand-sage-light: #e6eae5;
  --brand-sage-rgb: 143, 156, 142;

  --brand-rose: #de9c93;
  --brand-rose-hover: #cb8980;
  --brand-rose-soft: #f8edea;
  --brand-blush: #e4d2cf;

  /* Luxury Harmonious Sage Green System (Add to Cart & E-Commerce CTAs) */
  --btn-cart-grad: linear-gradient(135deg, #5e725d 0%, #738872 50%, #889e87 100%);
  --btn-cart-grad-hover: linear-gradient(135deg, #4d614c 0%, #627761 50%, #768c75 100%);
  --btn-cart-shadow: 0 4px 14px rgba(94, 114, 93, 0.2), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  --btn-cart-shadow-hover: 0 6px 18px rgba(94, 114, 93, 0.28), 0 2px 6px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  --emerald-vibrant: #4d614c;
  --emerald-deep: #242e23;
  --gold-glow: #f59e0b;

  --bg-cream: #efeee5;
  --bg-cream-soft: #f7f6f0;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;

  --text-main: #242e23;
  --text-body: #3c483b;
  --text-muted: #6e7c6d;
  --text-light: #9ba899;

  --border-subtle: #dedcd2;
  --border-focus: #8f9c8e;

  --shadow-sm: 0 4px 15px rgba(35, 45, 36, 0.04);
  --shadow-md: 0 10px 25px rgba(35, 45, 36, 0.07);
  --shadow-lg: 0 20px 40px rgba(35, 45, 36, 0.12);
  --shadow-drawer: 0 -10px 35px rgba(35, 45, 36, 0.15);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Official Brand Typefaces (Page 13) */
  --font-ar-title: 'Changa', sans-serif;
  --font-ar-body: 'Changa', sans-serif;
  --font-en-title: 'Cormorant Garamond', 'Gyst', serif;

  --bottom-bar-height: 70px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Slim Luxury Sage Scrollbar (رايق ونحيف وهادئ) */
html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-sage, #8f9c8e) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8f9c8e 0%, #687d67 100%);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 4px rgba(118, 137, 116, 0.25);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #748373 0%, #516550 100%);
}

::-webkit-scrollbar-thumb:active {
  background: var(--brand-sage-dark, #374636);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-ar-body);
  background-color: var(--bg-cream);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom, 16px) + 20px);
  overflow-x: hidden;
  position: relative;
}

/* Subtle background luxury pattern from Official Brand Guidelines (Page 11) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(143, 156, 142, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(222, 156, 147, 0.08) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238f9c8e' stroke-width='0.75' opacity='0.08'%3E%3Cpath d='M35,14 C33,18 30,22 30,26 C30,30 32,33 35,34 C38,33 40,30 40,26 C40,22 37,18 35,14 Z'/%3E%3Cpath d='M27,19 C26,23 27,27 30,30'/%3E%3Cpath d='M43,19 C44,23 43,27 40,30'/%3E%3Cpath d='M35,34 C35,40 36,46 34,50'/%3E%3Cpath d='M35,40 C31,42 30,45 33,47 C36,45 37,42 35,40 Z'/%3E%3Ccircle cx='35' cy='10' r='0.8' fill='%23de9c93'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: -1;
}

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

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* ========================================================
   Header & Navigation
   ======================================================== */
.top-announcement {
  background: var(--brand-sage-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.top-announcement i {
  color: var(--brand-gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 58px;
  max-height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 68px;
    max-height: 72px;
  }
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover, .icon-btn:active {
  background: var(--brand-sage-light);
  color: var(--brand-sage);
  border-color: var(--brand-sage);
}

.badge-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--brand-sage);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  text-align: center;
  box-shadow: 0 2px 6px rgba(83, 111, 88, 0.4);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-count.pop {
  transform: scale(1.3);
}

/* Search bar modal / drop */
.search-bar-wrap {
  padding: 8px 16px 14px;
  max-width: 1200px;
  margin: 0 auto;
  display: none;
  animation: slideDown 0.25s ease forwards;
}

.search-bar-wrap.active {
  display: block;
}

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

.search-input-box {
  position: relative;
  width: 100%;
}

.search-input-box input {
  width: 100%;
  padding: 12px 42px 12px 18px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.search-input-box input:focus {
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(83, 111, 88, 0.15);
}

.search-input-box .search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-box .clear-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
}

/* ========================================================
   Hero Banner (Boutique & Classy)
   ======================================================== */
.hero-boutique {
  padding: 22px 16px 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-card {
  background: linear-gradient(135deg, #fbf7ee 0%, #edf3ee 100%);
  border: 1px solid rgba(83, 111, 88, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-card::after {
  content: '🌿';
  position: absolute;
  bottom: -15px;
  left: -10px;
  font-size: 6rem;
  opacity: 0.08;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(83, 111, 88, 0.1);
  color: var(--brand-sage-dark);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-tag i {
  color: var(--brand-gold);
}

.hero-title {
  font-family: var(--font-ar-title);
  font-size: 2rem;
  color: var(--brand-sage-dark);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.hero-mini-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: 0 2px 8px rgba(35, 45, 36, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  line-height: 1.35;
}

.hero-mini-pill:hover {
  transform: translateY(-2px);
  border-color: var(--brand-sage);
}

.hero-mini-pill i {
  color: var(--brand-sage);
  font-size: 1.25rem;
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .hero-badges-row {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .hero-mini-pill {
    flex-direction: row;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    gap: 8px;
  }
  .hero-mini-pill i {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
}

/* ========================================================
   Categories Bar (Horizontal Scroll on Mobile)
   ======================================================== */
.categories-section {
  padding: 10px 16px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head-simple h2 {
  font-family: var(--font-ar-title);
  font-size: 1.35rem;
  color: var(--brand-sage-dark);
  font-weight: 700;
}

.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.cat-chip i {
  font-size: 0.95rem;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.cat-chip:hover {
  border-color: var(--brand-sage);
  color: var(--brand-sage);
}

.cat-chip.active {
  background: var(--btn-cart-grad);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(94, 114, 93, 0.22);
  transform: translateY(-1px);
}

.cat-chip.active i {
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

/* ========================================================
   Product Grid (Mobile-First 2 Columns)
   ======================================================== */
.products-section {
  padding: 8px 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Luxury Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(83, 111, 88, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  position: relative;
  box-shadow: 0 4px 18px rgba(35, 45, 36, 0.05);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27, 45, 30, 0.12);
  border-color: rgba(27, 94, 32, 0.35);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: var(--bg-cream-soft);
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

/* Quick View Overlay Button on Card Hover */
.btn-quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--brand-sage-dark);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
  white-space: nowrap;
}

.product-card:hover .btn-quick-view {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.btn-quick-view:hover {
  background: #ffffff;
  color: var(--emerald-vibrant);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.22);
  transform: translateX(-50%) translateY(-2px) scale(1.03);
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.badge-discount {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.32);
}

.badge-bestseller {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.badge-bestseller i {
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.btn-wishlist {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.btn-wishlist:hover, .btn-wishlist.active {
  color: #e11d48;
  background: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.product-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 8px;
  background: #ffffff;
}

.product-category-name {
  font-size: 0.68rem;
  color: var(--brand-sage);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
  display: block;
}

.product-title {
  font-family: var(--font-ar-title);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.95em;
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: color var(--transition-fast);
}

.product-title:hover {
  color: var(--brand-sage);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--brand-sage-dark, #374636);
  letter-spacing: 0.3px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.price-current .price-currency,
.price-current span {
  font-family: var(--font-ar-title);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-old {
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: line-through;
  opacity: 0.72;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.price-old .price-currency,
.price-old span {
  font-family: var(--font-ar-title);
  font-size: 0.64rem;
  font-weight: 400;
}

/* ========================================================
   Refined Boutique "Add to Cart" Button
   ======================================================== */
.btn-add-cart {
  width: 100%;
  padding: 9px 14px;
  background: var(--btn-cart-grad) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-family: var(--font-ar-title);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 4px;
  box-shadow: var(--btn-cart-shadow);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
  text-shadow: none;
  user-select: none;
}

/* Shimmer Light Ray Animation */
.btn-add-cart::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: var(--btn-cart-shadow-hover);
}

.btn-add-cart:hover::after {
  left: 160%;
  transition: left 0.75s ease-in-out;
}

.btn-add-cart:active {
  transform: scale(0.96) translateY(0);
  box-shadow: 0 3px 10px rgba(94, 114, 93, 0.3);
}

.btn-add-cart i {
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-add-cart:hover i {
  transform: scale(1.22) rotate(-8deg);
}

/* Added-to-Cart Success Pulse State */
.btn-add-cart.btn-added-state {
  background: linear-gradient(135deg, #536952 0%, #687f67 50%, #7a9379 100%) !important;
  box-shadow: 0 4px 14px rgba(83, 105, 82, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
  animation: btnSuccessPulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes btnSuccessPulse {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ========================================================
   Empty State & Skeletons
   ======================================================== */
.empty-state-luxury {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 10px 0;
}

.empty-state-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--brand-sage-light);
  color: var(--brand-sage);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: pulseGently 2s infinite ease-in-out;
}

@keyframes pulseGently {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.empty-state-luxury h3 {
  font-family: var(--font-ar-title);
  font-size: 1.4rem;
  color: var(--brand-sage-dark);
  margin-bottom: 8px;
}

.empty-state-luxury p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--btn-cart-grad);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-ar-title);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: var(--btn-cart-shadow);
  text-shadow: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: var(--btn-cart-shadow-hover);
  color: #fff !important;
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
}

/* Dedicated Luxury Add-to-Cart for Product Bottom Sheet Modal */
.btn-add-cart-luxury {
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  background: var(--btn-cart-grad) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  font-family: var(--font-ar-title);
  font-size: 0.96rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--btn-cart-shadow);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
  text-shadow: none;
  user-select: none;
}

.btn-add-cart-luxury .btn-lux-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-add-cart-luxury .btn-lux-icon {
  font-size: 1.15rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-add-cart-luxury:hover .btn-lux-icon {
  transform: scale(1.22) rotate(-8deg);
}

.btn-add-cart-luxury .btn-lux-price {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn-add-cart-luxury::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
}

.btn-add-cart-luxury:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: var(--btn-cart-shadow-hover);
}

.btn-add-cart-luxury:hover::after {
  left: 160%;
  transition: left 0.85s ease-in-out;
}

.btn-add-cart-luxury:active {
  transform: scale(0.97) translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #fff;
  color: var(--brand-sage);
  border: 1px solid var(--brand-sage);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--brand-sage-light);
}

/* Skeleton Loading */
.skeleton-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 10px;
}

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #f0ede7 25%, #f9f6f2 50%, #f0ede7 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-line {
  height: 14px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0ede7 25%, #f9f6f2 50%, #f0ede7 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-line.short { width: 50%; }
.skeleton-line.medium { width: 75%; }

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================================
   Gift Experience Customizer / Value Bar
   ======================================================== */
.features-luxury-bar {
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-luxury-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .features-luxury-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feat-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.feat-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-sage-light);
  color: var(--brand-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feat-content h4 {
  font-family: var(--font-ar-title);
  font-size: 0.95rem;
  color: var(--brand-sage-dark);
  margin-bottom: 2px;
}

.feat-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================================
   Mobile Bottom Navigation Bar
   ======================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom, 12px));
  padding-bottom: env(safe-area-inset-bottom, 12px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 950;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.nav-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  min-width: 62px;
}

.nav-tab-btn i {
  font-size: 1.25rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-tab-btn.active {
  color: var(--brand-sage);
  font-weight: 700;
}

.nav-tab-btn.active i {
  color: var(--brand-sage);
  transform: translateY(-2px);
}

.nav-tab-btn .cart-badge-bottom {
  position: absolute;
  top: 2px;
  right: 14px;
  background: var(--brand-sage);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: var(--radius-pill);
  text-align: center;
  border: 2px solid #fff;
}

/* ========================================================
   Bottom Sheet / Slide-Over Drawer (Cart & Details)
   ======================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 25, 20, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 28px 28px 0 0;
  z-index: 1001;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.drawer-backdrop.active .bottom-sheet {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .bottom-sheet {
    max-width: 480px;
    right: 0;
    left: auto;
    border-radius: 28px 0 0 28px;
    height: 100vh;
    max-height: 100vh;
    transform: translateX(100%);
  }
  .drawer-backdrop.active .bottom-sheet {
    transform: translateX(0);
  }
}

.sheet-grabber {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #d6ded7;
  margin: 10px auto 4px;
}

@media (min-width: 768px) {
  .sheet-grabber { display: none; }
}

.sheet-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-header h3 {
  font-family: var(--font-ar-title);
  font-size: 1.25rem;
  color: var(--brand-sage-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-close-sheet:hover {
  background: var(--border-subtle);
  color: var(--text-main);
}

.sheet-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch;
}

.sheet-footer {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: #faf7f2;
}

/* Cart Item Row */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.cart-item-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-item-price {
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brand-sage-dark);
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-main);
}

.qty-val {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-remove-item {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #ba5d5d;
  font-size: 0.85rem;
  padding: 4px;
}

/* Cart Pricing Summary */
.cart-summary-box {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  margin-top: 4px;
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--brand-sage-dark);
}

.btn-checkout-now {
  width: 100%;
  padding: 13px 20px;
  background: var(--btn-cart-grad) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  font-family: var(--font-ar-title);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--btn-cart-shadow);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-shadow: none;
}

.btn-checkout-now::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
}

.btn-checkout-now:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: var(--btn-cart-shadow-hover);
}

.btn-checkout-now:hover::after {
  left: 160%;
  transition: left 0.85s ease-in-out;
}

.btn-checkout-now:active {
  transform: scale(0.97) translateY(0);
}

/* ========================================================
   Checkout Flow Modal / Screen
   ======================================================== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(18, 25, 20, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
}

.checkout-sheet {
  background: #fff;
  width: 100%;
  max-width: 600px;
  border-radius: 28px 28px 0 0;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal.active .checkout-sheet {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .checkout-modal {
    align-items: center;
    padding: 20px;
  }
  .checkout-sheet {
    border-radius: 24px;
    max-height: 85vh;
  }
}

.form-group-lux {
  margin-bottom: 14px;
}

.form-group-lux label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-lux {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.input-lux:focus {
  background: #fff;
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(83, 111, 88, 0.12);
}

/* Card Message Box */
.card-message-box {
  background: #fffdf8;
  border: 1px dashed var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 8px;
}

.card-message-box textarea {
  width: 100%;
  height: 80px;
  background: transparent;
  font-size: 0.9rem;
  resize: none;
  color: var(--text-main);
}

/* Delivery Option Radios */
.radio-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.radio-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card input[type="radio"] {
  accent-color: var(--brand-sage);
}

.radio-card.selected {
  border-color: var(--brand-sage);
  background: var(--brand-sage-light);
}

/* ========================================================
   Toast Notification System
   ======================================================== */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(90%, 380px);
  pointer-events: none;
}

.toast {
  background: var(--brand-sage-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  pointer-events: auto;
}

.toast.success {
  background: #2e603b;
}

.toast.error {
  background: #8b2c2c;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-subtle);
  padding: 30px 16px 20px;
  margin-top: 30px;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  height: 54px;
  margin: 0 auto 12px;
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  color: var(--brand-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-circle-btn:hover {
  background: var(--brand-sage);
  color: #fff;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}


/* ========================================================
   Advanced Luxury Features & Mobile Interactions
   ======================================================== */

/* Instagram-style Stories Carousel */
.stories-section {
  padding: 12px 16px 4px;
  max-width: 1200px;
  margin: 0 auto;
}

.stories-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.stories-scroll::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  transition: transform var(--transition-fast);
}

.story-item:hover {
  transform: translateY(-2px);
}

.story-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--brand-rose) 0%, var(--brand-sage) 50%, var(--brand-blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(143, 156, 142, 0.25);
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-sage-dark);
  overflow: hidden;
}

.story-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 66px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Floating AI Gift Concierge Button */
.ai-concierge-float {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 18px);
  left: 18px;
  z-index: 850;
  background: linear-gradient(135deg, var(--brand-sage-dark) 0%, var(--brand-sage) 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(45, 62, 49, 0.35);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: floatPulse 3s infinite ease-in-out;
}

.ai-concierge-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(45, 62, 49, 0.45);
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Gift Add-ons Chips & Selector */
.addons-section-box {
  background: #fffdf9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 14px 0;
}

.addons-section-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-sage-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.addon-card-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.addon-card-item.selected {
  border-color: var(--brand-sage);
  background: var(--brand-sage-light);
}

.addon-card-item input[type="checkbox"] {
  accent-color: var(--brand-sage);
}

.addon-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.addon-price {
  font-size: 0.74rem;
  color: var(--brand-gold-dark);
  font-weight: 700;
}

/* Gift Card Message Preset Chips */
.presets-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 8px;
  scrollbar-width: none;
}

.presets-scroll::-webkit-scrollbar { display: none; }

.preset-chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.preset-chip:hover {
  background: var(--brand-sage-light);
  color: var(--brand-sage-dark);
}

/* Map Picker Modal */
.map-container-box {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 10px;
  position: relative;
}

#leafletMap {
  width: 100%;
  height: 100%;
}

.gps-locate-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1000;
  background: #fff;
  color: var(--brand-sage);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

/* Customer Reviews Slider / Grid */
.reviews-section {
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.review-comment {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ========================================================
   Brand Story & Philosophy Section (Brand Guidelines Page 3 & 17)
   ======================================================== */
.brand-story-section {
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-story-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.brand-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-rose) 0%, var(--brand-sage) 50%, var(--brand-blush) 100%);
}

.brand-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-rose-soft);
  color: var(--brand-rose);
  border: 1px solid rgba(222, 156, 147, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-style: italic;
}

.brand-story-title {
  font-family: var(--font-ar-title);
  font-size: 1.6rem;
  color: var(--brand-sage-dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.brand-story-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 20px;
}

.brand-story-highlight {
  display: inline-block;
  background: rgba(143, 156, 142, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--brand-sage-dark);
}

.brand-signature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================================
   Toggle Switch Component
   ======================================================== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: var(--transition-fast);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-fast);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--brand-sage);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ========================================================
   Order Tracking Luxury Stepper
   ======================================================== */
.tracking-stepper-wrap {
  margin: 18px 0;
  padding: 16px 12px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.tracking-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 2;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 8px;
  transition: all var(--transition-smooth);
}

.tracking-step.done .step-node {
  background: var(--brand-sage);
  border-color: var(--brand-sage);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(143, 156, 142, 0.4);
}

.tracking-step.active .step-node {
  background: var(--brand-rose);
  border-color: var(--brand-rose);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--brand-blush);
  animation: pulse-ring 2s infinite;
}

.step-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.tracking-step.done .step-text {
  color: var(--brand-sage-dark);
}

.tracking-step.active .step-text {
  color: var(--brand-rose);
  font-weight: 700;
}

.stepper-progress-line {
  position: absolute;
  top: 19px;
  right: 12%;
  left: 12%;
  height: 3px;
  background: var(--border-subtle);
  z-index: 1;
}

.stepper-progress-bar {
  height: 100%;
  background: var(--brand-sage);
  transition: width 0.4s ease;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(222, 156, 147, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(222, 156, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 156, 147, 0); }
}

/* ========================================================
   Policy Modals & Tabs
   ======================================================== */
.policy-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 16px 10px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.policy-tabs-bar::-webkit-scrollbar {
  display: none;
}

.policy-tab-item {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-cream);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.policy-tab-item.active {
  background: var(--brand-sage);
  color: #ffffff;
  border-color: var(--brand-sage);
}

.policy-tab-pane {
  display: none;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-body);
}

.policy-tab-pane.active {
  display: block;
}

.policy-section-title {
  font-family: var(--font-ar-title);
  font-size: 1.15rem;
  color: var(--brand-sage-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-card-note {
  background: var(--bg-cream);
  border-right: 4px solid var(--brand-sage);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 14px 0;
  font-size: 0.86rem;
}

/* ========================================================
   Official Saudi Trust & Footer Layout
   ======================================================== */
.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
  text-align: right;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer-trust-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(143, 156, 142, 0.12);
  color: var(--brand-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.footer-nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-nav-link:hover {
  color: var(--brand-rose);
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pay-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* ========================================================
   Saved Locations & Customer Account System
   ======================================================== */
.saved-locations-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.saved-locations-chips-scroll::-webkit-scrollbar {
  display: none;
}

.saved-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-sage-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.saved-loc-chip:hover, .saved-loc-chip.selected {
  background: var(--brand-sage);
  color: #ffffff;
  border-color: var(--brand-sage);
  box-shadow: 0 2px 8px rgba(143, 156, 142, 0.3);
}

.saved-location-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}

.saved-location-card:hover {
  border-color: var(--brand-sage);
  box-shadow: var(--shadow-sm);
}

.loc-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-cream);
  color: var(--brand-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========================================================
   Customer Authentication & Google Sign-In System
   ======================================================== */
.btn-google-auth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-family: var(--font-ar-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(60,64,67, 0.08);
}

.btn-google-auth:hover {
  background: #f8f9fa;
  border-color: #c2c7cf;
  box-shadow: 0 2px 6px rgba(60,64,67, 0.15);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
  padding: 0 12px;
}

.auth-tabs-row {
  display: flex;
  background: var(--bg-cream);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 18px;
}

.auth-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ar-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--brand-sage-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.user-profile-card-lux {
  background: linear-gradient(135deg, #fdfbf9 0%, #f7f3ee 100%);
  border: 1px solid var(--brand-blush);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.user-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(143,156,142, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-sage-light);
  color: var(--brand-sage-dark);
  font-size: 1.8rem;
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-menu-item:hover {
  background: var(--bg-cream);
  border-color: var(--brand-sage);
  transform: translateX(-3px);
}

/* ========================================================
   Floating Luxury WhatsApp Button & Quick Help
   ======================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 16px);
  right: 18px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp-btn i {
  font-size: 1.35rem;
  animation: waIconBounce 2.4s infinite ease-in-out;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

@keyframes waIconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}

@media (max-width: 580px) {
  .floating-whatsapp-btn {
    bottom: calc(var(--bottom-bar-height) + 12px);
    right: 12px;
    padding: 11px 13px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
  .floating-whatsapp-btn .floating-wa-label {
    display: none;
  }
}

/* ========================================================
   Free Shipping Progress Bar in Cart
   ======================================================== */
.free-shipping-progress-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.free-shipping-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 7px;
  line-height: 1.4;
}

.free-shipping-text strong {
  color: var(--brand-sage-dark);
}

.free-shipping-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-cream);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.free-shipping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-sage), var(--brand-rose));
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.free-shipping-bar-fill.complete {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* ========================================================
   Luxury Floral Guarantees (Product Modal)
   ======================================================== */
.floral-guarantee-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 16px;
  padding: 10px 8px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.floral-guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.floral-guarantee-item i {
  font-size: 1.1rem;
  color: var(--brand-sage);
}

.floral-guarantee-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.3;
}

/* ========================================================
   Interactive Floating Cart Banner (Quick Cart Notification)
   ======================================================== */
.floating-cart-banner {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(27, 94, 32, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 35px rgba(20, 60, 25, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 92vw;
  width: max-content;
}

.floating-cart-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.floating-cart-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.floating-cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.floating-cart-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-cart-msg {
  font-size: 0.74rem;
  color: var(--brand-sage-dark, #374636);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-floating-view-cart {
  background: var(--btn-cart-grad);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(94, 114, 93, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-floating-view-cart:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.btn-floating-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.btn-floating-close:hover {
  color: #d64747;
}

@media (min-width: 768px) {
  .floating-cart-banner {
    left: auto;
    right: 28px;
    transform: translateY(100px);
  }
  .floating-cart-banner.active {
    transform: translateY(0);
  }
}

/* ========================================================
   Live Search Autocomplete Dropdown
   ======================================================== */
.search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 6px;
  box-shadow: 0 12px 30px rgba(35, 45, 36, 0.15);
  overflow: hidden;
  z-index: 200;
  display: none;
  animation: fadeInDown 0.2s ease;
}

.search-autocomplete-dropdown.active {
  display: block;
}

.search-ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f2eee8;
  cursor: pointer;
  transition: background 0.18s ease;
}

.search-ac-item:last-child {
  border-bottom: none;
}

.search-ac-item:hover {
  background: var(--bg-cream-soft);
}

.search-ac-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.search-ac-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.search-ac-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.search-ac-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.search-ac-price {
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brand-sage-dark, #374636);
  white-space: nowrap;
}

.search-ac-footer {
  padding: 8px 14px;
  background: var(--bg-cream);
  text-align: center;
  font-size: 0.78rem;
  color: var(--brand-sage-dark);
  font-weight: 600;
  cursor: pointer;
}

.search-ac-footer:hover {
  text-decoration: underline;
}

/* ========================================================
   Floating Back-to-Top Button
   ======================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 16px);
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--brand-sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(35, 45, 36, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 95;
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--brand-sage-dark);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(27, 70, 35, 0.25);
}

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

/* ========================================================
   Checkout Order Summary Accordion & District Chips
   ======================================================== */
.checkout-order-summary-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-order-summary-box:hover {
  background: #f7f6f0;
  border-color: var(--brand-sage);
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-sage-dark);
}

.checkout-summary-header i.chevron-icon {
  transition: transform 0.25s ease;
  font-size: 0.8rem;
}

.checkout-order-summary-box.expanded .chevron-icon {
  transform: rotate(180deg);
}

.checkout-summary-items-list {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #dedcd2;
  flex-direction: column;
  gap: 8px;
}

.checkout-order-summary-box.expanded .checkout-summary-items-list {
  display: flex;
}

.checkout-summary-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-summary-thumb {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  border: 1px solid #e0ded4;
  flex-shrink: 0;
}

.checkout-summary-name {
  flex-grow: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.checkout-summary-qty-price {
  font-family: var(--font-en-title), var(--font-ar-title), sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-sage-dark, #374636);
  white-space: nowrap;
}

.district-chip {
  background: var(--bg-cream-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.district-chip:hover {
  background: #ffffff;
  border-color: var(--brand-sage);
  color: var(--brand-sage-dark, #374636);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-copy-id {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-sage-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.btn-copy-id:hover {
  background: var(--btn-cart-grad);
  color: #ffffff;
  border-color: transparent;
}


/* ========================================================
   PWA Floating Install Banner
   ======================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 84px;
  right: 16px;
  left: 16px;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(143, 156, 142, 0.28);
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 32px rgba(35, 45, 36, 0.12);
  z-index: 1050;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 769px) {
  .pwa-install-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 380px;
  }
}
.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pwa-install-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #f7f6f0;
  border: 1px solid rgba(143, 156, 142, 0.25);
  flex-shrink: 0;
}
.pwa-install-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pwa-install-text strong {
  font-size: 0.88rem;
  color: var(--brand-sage-dark, #374636);
  font-weight: 700;
  line-height: 1.3;
}
.pwa-install-text small {
  font-size: 0.72rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-pwa-install {
  background: var(--btn-cart-grad);
  color: #fff;
  border: none;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(94, 114, 93, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-pwa-install:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.btn-pwa-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}


/* ========================================================
   Luxury FAQ Accordion Section
   ======================================================== */
.faq-section {
  padding: 48px 16px;
  background: linear-gradient(180deg, var(--bg-body) 0%, #fbfaf7 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(143, 156, 142, 0.15);
  color: var(--brand-sage-dark);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-sage-dark);
  margin-bottom: 8px;
}

.faq-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.faq-item:hover {
  border-color: var(--brand-sage);
  box-shadow: 0 4px 16px rgba(143, 156, 142, 0.12);
}

.faq-question {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--brand-sage);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-sage-dark);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  background: var(--bg-cream-soft);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  opacity: 1;
  padding: 14px 18px 16px;
  border-top-color: rgba(143, 156, 142, 0.15);
}

.faq-answer p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .faq-section {
    padding: 36px 14px;
  }
  .faq-question {
    padding: 14px 14px;
    font-size: 0.9rem;
  }
  .faq-item.active .faq-answer {
    padding: 12px 14px 14px;
  }
}
