/* ==========================================================================
   AJMAL PERFUMES — ROYAL AMETHYST MONOCHROMATIC DESIGN SYSTEM
   Strict Zanderio Compliance: Single-Color Family (Royal Amethyst & Plum) + Clean White
   NO Blacks, NO Greens, NO Reds, NO Browns.
   ========================================================================== */

:root {
  /* Royal Amethyst Monochromatic Palette */
  --amethyst-950: #1b0323; /* Deepest Obsidian Amethyst */
  --amethyst-900: #290635; /* Midnight Amethyst Velvet */
  --amethyst-850: #350845; /* Dark Royal Amethyst */
  --amethyst-800: #420a56; /* Deep Plum Purple */
  --amethyst-700: #550d6e; /* Imperial Amethyst */
  --amethyst-600: #6b118b; /* Rich Jewel Amethyst */
  --amethyst-500: #8616ae; /* Luminous Royal Purple */
  --amethyst-400: #a229ce; /* Bright Amethyst Accent */
  --amethyst-300: #c157e8; /* Soft Lavender Jewel */
  --amethyst-200: #dc9bf4; /* Muted Amethyst Lilac */
  --amethyst-150: #e8bdf8; /* Delicate Lilac */
  --amethyst-100: #f2dcfa; /* Pale Amethyst Frost */
  --amethyst-50:  #f9f0fc; /* Crisp Amethyst White */
  --amethyst-20:  #fdfaff; /* Pure Amethyst Pearl */

  /* Neutral Tinted Whites & Pure White */
  --white: #ffffff;
  --bg-main: #fcf9fd;
  --surface-card: #ffffff;
  --surface-tint: #f8eefb;
  --surface-border: #ebd3f5;
  --surface-border-strong: #d5a9e7;

  /* Typography Colors (Derived solely from Amethyst Family) */
  --text-primary: #290635;
  --text-secondary: #5a206e;
  --text-muted: #7d3e94;
  --text-inverse: #ffffff;

  /* Status and Accents (Royal Amethyst Family Only) */
  --accent-glow: rgba(134, 22, 174, 0.18);
  --accent-shadow: rgba(41, 6, 53, 0.12);
  --accent-shadow-deep: rgba(41, 6, 53, 0.22);
  --focus-ring: 0 0 0 3px rgba(134, 22, 174, 0.35);

  /* Layout and Sizing */
  --header-height: 74px;
  --topbar-height: 38px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--amethyst-950);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP NOTIFICATION BAR (ANNOUNCEMENT)
   ========================================================================== */
.top-announcement {
  background: var(--amethyst-950);
  color: var(--amethyst-100);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--amethyst-800);
}

.top-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-badge {
  background: var(--amethyst-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.topbar-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amethyst-100);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--amethyst-700);
}

.topbar-phone-link:hover {
  background: var(--amethyst-700);
  color: var(--white);
}

.topbar-phone-link svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* ==========================================================================
   MAIN SITE HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 4px 20px var(--accent-shadow);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Header Left: Official Verified Phone Channel */
.header-contact {
  display: flex;
  align-items: center;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--amethyst-50);
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-full);
  color: var(--amethyst-900);
  font-size: 0.875rem;
  font-weight: 700;
  transition: var(--transition);
}

.header-phone-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--amethyst-700);
  transition: var(--transition);
}

.header-phone-btn:hover {
  background: var(--amethyst-700);
  color: var(--white);
  border-color: var(--amethyst-700);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.header-phone-btn:hover svg {
  fill: var(--white);
}

.header-phone-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.header-phone-label .sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.header-phone-btn:hover .header-phone-label .sub {
  color: var(--amethyst-100);
}

/* Center: Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--amethyst-800), var(--amethyst-600));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px var(--accent-glow);
  border: 1.5px solid var(--amethyst-400);
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amethyst-950);
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-title span {
  color: var(--amethyst-600);
}

.brand-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 3px;
}

/* Header Right: Currency & Cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-tint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amethyst-800);
  letter-spacing: 0.03em;
}

.currency-dot {
  width: 6px;
  height: 6px;
  background: var(--amethyst-500);
  border-radius: 50%;
}

.cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--amethyst-800);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
  position: relative;
  transition: var(--transition);
}

.cart-toggle-btn:hover {
  background: var(--amethyst-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.cart-toggle-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.cart-badge {
  background: var(--white);
  color: var(--amethyst-900);
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   HERO SECTION / INTRO-FIRST TEXT LAYOUT (STRICT REQUIREMENT)
   Directly opens with clean, highly professional text introduction at top.
   NO massive hero image banner.
   ========================================================================== */
.intro-section {
  padding: 40px 0 28px;
  background: linear-gradient(180deg, #fcf9fd 0%, #f6ecfa 100%);
  border-bottom: 1px solid var(--surface-border);
}

.intro-content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.intro-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--amethyst-50);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amethyst-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.intro-pretitle svg {
  width: 13px;
  height: 13px;
  fill: var(--amethyst-600);
}

.intro-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--amethyst-950);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.intro-heading span {
  color: var(--amethyst-600);
  font-style: italic;
}

.intro-lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--amethyst-900);
  font-weight: 500;
  margin-bottom: 24px;
}

.intro-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}

.intro-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px var(--accent-shadow);
}

.intro-feature-item svg {
  width: 18px;
  height: 18px;
  fill: var(--amethyst-600);
  flex-shrink: 0;
}

.intro-feature-text {
  text-align: left;
}

.intro-feature-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amethyst-950);
  line-height: 1.2;
}

.intro-feature-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT INVENTORY SECTION (EXACTLY 6 PERFUMES, NORMAL IMAGE SIZES)
   ========================================================================== */
.catalog-section {
  padding: 40px 0 60px;
  flex: 1;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--surface-border);
}

.catalog-title-group h2 {
  font-size: 1.75rem;
  color: var(--amethyst-950);
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-count-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amethyst-700);
  background: var(--surface-tint);
  border: 1px solid var(--surface-border-strong);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.catalog-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Filter Pills */
.filter-pills-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 16px;
  background: var(--white);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amethyst-800);
  transition: var(--transition);
}

.filter-pill:hover {
  border-color: var(--amethyst-500);
  color: var(--amethyst-950);
}

.filter-pill.active {
  background: var(--amethyst-800);
  color: var(--white);
  border-color: var(--amethyst-800);
  box-shadow: 0 3px 10px var(--accent-glow);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Individual Perfume Card */
.product-card {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px var(--accent-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--accent-shadow-deep);
  border-color: var(--surface-border-strong);
}

/* Normal Standard Image Cropping (Strict Requirement: NO Oversized Images) */
.product-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 260px;
  background: var(--amethyst-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amethyst-900);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--accent-shadow);
  z-index: 2;
  border: 1px solid var(--amethyst-600);
}

.product-volume-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amethyst-900);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--accent-shadow);
  z-index: 2;
  border: 1px solid var(--surface-border);
}

.quick-view-overlay-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  background: rgba(41, 6, 53, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  z-index: 3;
}

.quick-view-overlay-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

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

.quick-view-overlay-btn:hover {
  background: var(--amethyst-700);
}

/* Product Content Details */
.product-info-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amethyst-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-sku {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amethyst-950);
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 48px;
}

.product-olfactive-highlight {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* Scent Pyramids Preview Tags */
.product-notes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.note-chip {
  background: var(--surface-tint);
  border: 1px solid var(--surface-border);
  color: var(--amethyst-800);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* Price & Action Row */
.product-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
  gap: 12px;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-currency-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-sar-val {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--amethyst-950);
  line-height: 1;
}

.add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--amethyst-800);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 3px 10px var(--accent-glow);
  transition: var(--transition);
  flex-shrink: 0;
}

.add-cart-btn:hover {
  background: var(--amethyst-600);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px var(--accent-glow);
}

.add-cart-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ==========================================================================
   AUTHENTIC RETAIL VALUE & TRUST SECTION
   ========================================================================== */
.trust-pillars-section {
  padding: 44px 0;
  background: var(--white);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--bg-main);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--amethyst-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst-700);
  margin-bottom: 12px;
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pillar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--amethyst-950);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SLIDE-OVER SHOPPING CART DRAWER
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 3, 35, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  box-shadow: -8px 0 35px rgba(27, 3, 35, 0.3);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer-backdrop.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  background: var(--amethyst-950);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-close-btn {
  color: var(--amethyst-200);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-close-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.cart-drawer-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Free Delivery Bar */
.cart-shipping-bar {
  padding: 12px 24px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--surface-border);
}

.shipping-bar-text {
  font-size: 0.78125rem;
  color: var(--amethyst-900);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.shipping-progress-track {
  width: 100%;
  height: 6px;
  background: var(--surface-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amethyst-700), var(--amethyst-400));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.3s ease;
}

/* Cart Items List */
.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--amethyst-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst-400);
  margin-bottom: 16px;
}

.cart-empty-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.cart-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amethyst-950);
  margin-bottom: 6px;
}

.cart-empty-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
  margin-bottom: 20px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-main);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  position: relative;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--amethyst-50);
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amethyst-950);
  line-height: 1.3;
  margin-bottom: 4px;
  padding-right: 20px;
}

.cart-item-vol {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-full);
  background: var(--white);
  overflow: hidden;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst-900);
  font-weight: 700;
  font-size: 0.875rem;
}

.cart-qty-btn:hover {
  background: var(--amethyst-100);
}

.cart-qty-val {
  width: 28px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amethyst-950);
}

.cart-item-price-val {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--amethyst-900);
}

.cart-item-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--text-muted);
  padding: 4px;
}

.cart-item-remove-btn:hover {
  color: var(--amethyst-950);
}

.cart-item-remove-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Cart Footer & Checkout Action */
.cart-drawer-footer {
  padding: 20px 24px;
  background: var(--white);
  border-top: 1px solid var(--surface-border);
  box-shadow: 0 -4px 16px var(--accent-shadow);
}

.cart-promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-promo-input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--amethyst-950);
  outline: none;
  background: var(--bg-main);
  text-transform: uppercase;
}

.cart-promo-input:focus {
  border-color: var(--amethyst-600);
}

.cart-promo-apply-btn {
  padding: 9px 16px;
  background: var(--surface-tint);
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  color: var(--amethyst-800);
  font-size: 0.8125rem;
  font-weight: 700;
}

.cart-promo-apply-btn:hover {
  background: var(--amethyst-800);
  color: var(--white);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-summary-line.total-line {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--amethyst-950);
  padding-top: 10px;
  border-top: 1px dashed var(--surface-border-strong);
  margin-top: 8px;
  margin-bottom: 18px;
}

.cart-summary-line.total-line .sar-total-val {
  font-family: 'Cinzel', serif;
  color: var(--amethyst-900);
  font-size: 1.35rem;
}

.checkout-trigger-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--amethyst-800), var(--amethyst-600));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: var(--transition);
}

.checkout-trigger-btn:hover {
  background: linear-gradient(135deg, var(--amethyst-700), var(--amethyst-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.checkout-trigger-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   RETAIL CHECKOUT MODAL (STRICT: NO EMAIL FIELD, SAUDI PHONE ONLY)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 3, 35, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.modal-window {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 45px rgba(27, 3, 35, 0.4);
  border: 1.5px solid var(--surface-border-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.28s ease;
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-header {
  padding: 18px 24px;
  background: var(--amethyst-950);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  color: var(--amethyst-200);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
}

.modal-close-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Form Groups & Inputs */
.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amethyst-950);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--amethyst-950);
  background: var(--bg-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amethyst-600);
  background: var(--white);
  box-shadow: var(--focus-ring);
}

.form-hint {
  font-size: 0.71875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Payment Method Selection */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.payment-radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-main);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.payment-radio-card:hover {
  border-color: var(--amethyst-400);
}

.payment-radio-card input[type="radio"] {
  accent-color: var(--amethyst-700);
  width: 18px;
  height: 18px;
}

.payment-radio-card.active {
  border-color: var(--amethyst-700);
  background: var(--surface-tint);
}

.payment-method-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amethyst-950);
}

.payment-method-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Order Summary Box inside Checkout */
.checkout-order-summary-box {
  background: var(--surface-tint);
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.summary-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amethyst-950);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.summary-row.total-bold {
  font-size: 1rem;
  font-weight: 800;
  color: var(--amethyst-950);
  padding-top: 8px;
  border-top: 1px solid var(--surface-border);
  margin-top: 8px;
}

.btn-place-order {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--amethyst-800), var(--amethyst-600));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-place-order:hover {
  background: linear-gradient(135deg, var(--amethyst-700), var(--amethyst-500));
  transform: translateY(-2px);
}

/* ==========================================================================
   ORDER CONFIRMATION RECEIPT MODAL
   ========================================================================== */
.order-success-content {
  text-align: center;
  padding: 30px 20px;
}

.order-success-icon {
  width: 68px;
  height: 68px;
  background: var(--surface-tint);
  border: 2px solid var(--amethyst-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst-700);
  margin: 0 auto 16px;
}

.order-success-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.order-success-title {
  font-size: 1.5rem;
  color: var(--amethyst-950);
  margin-bottom: 8px;
}

.order-success-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.order-receipt-box {
  background: var(--bg-main);
  border: 1.5px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-border);
  margin-bottom: 12px;
}

.receipt-order-id {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--amethyst-900);
}

.receipt-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.receipt-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.receipt-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.receipt-item-name {
  color: var(--amethyst-950);
  font-weight: 600;
}

.receipt-item-amt {
  font-weight: 700;
  color: var(--amethyst-900);
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--surface-border-strong);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--amethyst-950);
}

.order-contact-reminder {
  background: var(--amethyst-50);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.8125rem;
  color: var(--amethyst-900);
  margin-bottom: 20px;
}

.order-contact-reminder a {
  color: var(--amethyst-700);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   QUICK VIEW DETAIL MODAL
   ========================================================================== */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.quick-view-media {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--amethyst-50);
  border: 1.5px solid var(--surface-border);
}

.quick-view-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-specs {
  display: flex;
  flex-direction: column;
}

.quick-view-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amethyst-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.quick-view-name {
  font-size: 1.5rem;
  color: var(--amethyst-950);
  margin-bottom: 10px;
}

.quick-view-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.quick-view-sar {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--amethyst-900);
}

.quick-view-vol {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quick-view-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.pyramid-box {
  background: var(--bg-main);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.pyramid-tier {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.pyramid-tier:last-child {
  margin-bottom: 0;
}

.pyramid-tier strong {
  color: var(--amethyst-950);
}

.perfume-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric-card {
  background: var(--surface-tint);
  border: 1px solid var(--surface-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.metric-val {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--amethyst-900);
}

/* ==========================================================================
   SITE FOOTER (STRICT ZERO POLICY: NO EMAILS, NO MAPS, NO WHATSAPP)
   Sole contact channel: +966590110780 (clickable tel link)
   ========================================================================== */
.site-footer {
  background: var(--amethyst-950);
  color: var(--amethyst-100);
  border-top: 2px solid var(--amethyst-800);
  padding-top: 50px;
  padding-bottom: 30px;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1.3fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--amethyst-850);
}

.footer-brand-col .brand-title {
  color: var(--white);
}

.footer-brand-col .brand-title span {
  color: var(--amethyst-300);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--amethyst-200);
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 20px;
  max-width: 380px;
}

/* Sole Official Contact Box */
.footer-contact-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--amethyst-700);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact-card:hover {
  background: var(--amethyst-700);
  border-color: var(--amethyst-500);
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: translateY(-2px);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amethyst-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst-200);
  transition: var(--transition);
}

.footer-contact-card:hover .footer-contact-icon {
  background: var(--white);
  color: var(--amethyst-900);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--amethyst-200);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-contact-phone {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Interactive Footer Action Links & Buttons */
.footer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(235, 211, 245, 0.12);
  border-radius: var(--radius-sm);
  color: var(--amethyst-150);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.footer-action-btn:hover {
  background: rgba(134, 22, 174, 0.28);
  border-color: var(--amethyst-600);
  color: var(--white);
  transform: translateX(4px);
}

.footer-action-btn .btn-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-action-btn .btn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amethyst-400);
  flex-shrink: 0;
}

.footer-action-btn:hover .btn-dot {
  background: var(--white);
  box-shadow: 0 0 6px var(--white);
}

.footer-tag-chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--amethyst-200);
  letter-spacing: 0.04em;
}

.footer-action-btn:hover .footer-tag-chip {
  background: var(--amethyst-500);
  color: var(--white);
}

/* Footer Bottom Bar & Interactive Back to Top */
.footer-bottom-bar {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--amethyst-200);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-policy-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--amethyst-800);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--amethyst-150);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-policy-pill:hover {
  background: var(--amethyst-700);
  color: var(--white);
}

.footer-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--amethyst-800);
  border: 1px solid var(--amethyst-600);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.footer-back-to-top-btn:hover {
  background: var(--amethyst-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.footer-back-to-top-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   POLICY & CITY INFORMATION MODAL
   ========================================================================== */
.policy-lead {
  font-size: 0.9375rem;
  color: var(--amethyst-950);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--surface-tint);
  border-left: 3px solid var(--amethyst-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.policy-details-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.policy-point {
  background: var(--bg-main);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.policy-point-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--amethyst-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.policy-point p {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.policy-actions-row {
  margin-top: 10px;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 360px;
  padding: 12px 18px;
  background: var(--amethyst-950);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(27, 3, 35, 0.35);
  border: 1px solid var(--amethyst-700);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amethyst-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

.toast-msg {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST ADAPTATIONS)
   Zero horizontal overflow, perfect mobile readability
   ========================================================================== */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .trust-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 58px;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Sleek, Centered Top Announcement on Mobile */
  .top-announcement {
    display: block;
    padding: 6px 0;
    font-size: 0.72rem;
  }

  .top-announcement-inner {
    justify-content: center;
    text-align: center;
  }

  .top-announcement .topbar-phone-link {
    display: none; /* Phone is placed prominently in the main sticky header */
  }

  /* Main Site Header - Mobile Optimized */
  .site-header {
    height: auto;
    min-height: 58px;
    padding: 7px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
  }

  /* Left: Phone Contact Button */
  .header-contact {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .header-phone-btn {
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 5px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    line-height: 1;
  }

  .header-phone-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .header-phone-label .sub {
    display: none;
  }

  /* Center: Brand Logo - Fully Centered, Never Clipped, Single-Line */
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 0 4px;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
  }

  .brand-emblem {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--accent-glow);
  }

  .brand-emblem svg {
    width: 15px;
    height: 15px;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
  }

  .brand-title {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    display: none; /* Hide tagline on mobile to keep layout clean and prevent vertical clipping */
  }

  /* Right: Currency & Cart */
  .header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .currency-pill {
    display: none;
  }

  .cart-toggle-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    gap: 5px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--accent-glow);
  }

  .cart-toggle-btn svg {
    width: 15px;
    height: 15px;
  }

  .cart-toggle-btn span:not(.cart-badge) {
    display: none; /* Hide the word "Bag" on mobile so button is compact and 100% visible */
  }

  .cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .product-action-row {
    flex-direction: row;
    gap: 10px;
  }

  .add-cart-btn {
    padding: 9px 14px;
    font-size: 0.75rem;
  }

  .price-sar-val {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 4px;
  }
  .header-phone-btn {
    padding: 5px 7px;
    font-size: 0.67rem;
    gap: 4px;
  }
  .brand-title {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }
  .brand-emblem {
    width: 25px;
    height: 25px;
  }
  .brand-emblem svg {
    width: 13px;
    height: 13px;
  }
  .cart-toggle-btn {
    padding: 5px 8px;
  }
}
