/* ═══════════════════════════════════════════════════════════
   RAC | ALAMAH — Premium Design System
   A luxury Arabic-first RTL landing page
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Brand Palette — extracted from logo */
  --alamah-beige: #EEF6FB;
  --alamah-beige-light: #F6FAFD;
  --alamah-beige-dark: #D6E7F1;
  --alamah-blush: #CFEFFF;
  --alamah-blush-light: #EAF8FF;
  --alamah-navy: #111546;
  --alamah-navy-light: #0F6FA7;
  --alamah-red: #F2682A;
  --alamah-red-soft: #FF8A4C;
  --alamah-cream: #F7FAFC;
  --alamah-white: #FFFFFF;
  --alamah-charcoal: #172033;
  --alamah-gray: #66758A;
  --alamah-gray-light: #9AABC0;
  --alamah-gold: #1188C9;
  --alamah-gold-light: #55BDEB;
  --alamah-cyan: #19A7E8;
  --alamah-ink: #080B2F;

  /* Category Pastel Palette */
  --cat-blush: #E9F7FF;
  --cat-sage: #EDF7F4;
  --cat-butter: #FFF3EA;
  --cat-lavender: #EEF0FF;
  --cat-peach: #FFEDE6;
  --cat-sky: #E8F3FF;

  /* Surfaces — Light Theme */
  --surface-primary: #F7FAFC;
  --surface-secondary: #EEF4F8;
  --surface-card: #FFFFFF;

  /* Text */
  --text-primary: var(--alamah-navy);
  --text-secondary: var(--alamah-gray);
  --text-body: var(--alamah-charcoal);
  --text-inverse: var(--alamah-white);

  /* Typography */
  --font-arabic: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
  --font-english: 'Outfit', 'Inter', sans-serif;
  --font-display: 'Changa', 'IBM Plex Sans Arabic', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --section-gap: clamp(2rem, 4vw, 4rem);

  /* Transitions */
  --ease-luxe: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.25s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 12px 34px rgba(9, 18, 48, 0.07);
  --shadow-card-hover: 0 20px 48px rgba(9, 18, 48, 0.12);
  --shadow-nav: 0 10px 30px rgba(9, 18, 48, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic);
  background:
    linear-gradient(180deg, #F8FBFD 0%, #EEF5F9 48%, #F7FAFC 100%);
  color: var(--text-body);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-luxe);
}

ul,
ol {
  list-style: none;
}

::selection {
  background-color: var(--alamah-red);
  color: var(--alamah-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #EAF1F6;
}

::-webkit-scrollbar-thumb {
  background: var(--alamah-gold);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--alamah-red);
}


/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar-alamah {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.navbar-alamah.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-nav);
}

.navbar-alamah .navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-alamah .navbar-brand img {
  height: 52px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-luxe);
}

.navbar-alamah.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-alamah .nav-link {
  font-family: var(--font-arabic);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--alamah-navy);
  padding: 0.5rem 1.1rem !important;
  position: relative;
  letter-spacing: 0;
  transition: color var(--duration-fast) var(--ease-luxe);
}

.navbar-alamah .nav-link::after {
  content: none;
}

.navbar-alamah .nav-link:hover {
  color: var(--alamah-red);
}

.btn-alamah-cta {
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--alamah-navy);
  color: var(--alamah-white) !important;
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.btn-alamah-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: var(--alamah-red);
  border-radius: 50px;
  transition: width var(--duration-normal) var(--ease-luxe);
  z-index: 0;
}

.btn-alamah-cta:hover::before {
  width: 100%;
}

.btn-alamah-cta span {
  position: relative;
  z-index: 1;
}

.btn-alamah-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214, 59, 47, 0.25);
}

/* Mobile Toggler */
.navbar-alamah .navbar-toggler {
  border: none;
  padding: 0.5rem;
  background: none;
  box-shadow: none !important;
}

.navbar-alamah .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--alamah-navy);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.hamburger-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .navbar-alamah .navbar-collapse {
    background: #FFFFFF;
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-alamah .nav-link {
    padding: 0.8rem 0.5rem !important;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-alamah .nav-link::after {
    display: none;
  }

  .btn-alamah-cta {
    margin-top: 0.8rem;
    text-align: center;
    display: block;
    width: 100%;
  }
}

/* Offcanvas Close Button — Custom X */
.offcanvas-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alamah-gray);
  transition: all var(--duration-fast) var(--ease-luxe);
  flex-shrink: 0;
}

.offcanvas-close-btn:hover {
  background: rgba(214, 59, 47, 0.08);
  color: var(--alamah-red);
}

/* Offcanvas CTA Button */
.offcanvas-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--alamah-red), var(--alamah-red-soft));
  color: var(--alamah-white) !important;
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(214, 59, 47, 0.25);
  transition: all var(--duration-normal) var(--ease-luxe);
}

.offcanvas-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: var(--alamah-navy);
  border-radius: var(--radius-md);
  transition: width var(--duration-normal) var(--ease-luxe);
  z-index: 0;
}

.offcanvas-cta-btn:hover::before {
  width: 100%;
}

.offcanvas-cta-btn span,
.offcanvas-cta-btn svg {
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════
   HERO SLIDER — Contained Banner
   ═══════════════════════════════════════ */
.hero-wrapper {
  padding: 100px 0.5rem 0;
  /* 100px top accounts for fixed navbar */
}

.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  background: var(--surface-primary);
  /* Fallback background for containment */
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-luxe);
  will-change: opacity;
}

/* Make the first slide relative so it defines the actual height of the parent container naturally */
.hero-slide:nth-child(1) {
  position: relative;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.hero-dot.active {
  background: var(--alamah-white);
  width: 28px;
  border-radius: 5px;
}

/* Subtle Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--alamah-blush), var(--alamah-red-soft));
  width: 0%;
  transition: width 0.1s linear;
}

@media (min-width: 768px) {
  .hero-wrapper {
    padding: 110px 0.5rem 0;
  }
}

@media (min-width: 1200px) {
  .hero-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 110px 0.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-wrapper {
    padding: 85px 0.5rem 0;
  }

  .hero-section {
    border-radius: var(--radius-lg);
  }
}


/* ═══════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════ */
.section-padding {
  padding: var(--section-padding) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  color: var(--alamah-navy);
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.section-subtitle {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--alamah-gray);
  font-weight: 400;
  max-width: 600px;
  line-height: 1.9;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(to left, var(--alamah-red), var(--alamah-blush));
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-luxe),
    transform var(--duration-slow) var(--ease-luxe);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}


/* ═══════════════════════════════════════
   CATEGORIES SECTION — Horizontal Tiles
   ═══════════════════════════════════════ */
.categories-section {
  background: var(--surface-primary);
}

.category-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  min-height: 140px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Unique pastel colors per category */
.category-tile--blush {
  background: var(--cat-blush);
}

.category-tile--sage {
  background: var(--cat-sage);
}

.category-tile--butter {
  background: var(--cat-butter);
}

.category-tile--lavender {
  background: var(--cat-lavender);
}

.category-tile--peach {
  background: var(--cat-peach);
}

.category-tile--sky {
  background: var(--cat-sky);
}

.category-tile-content {
  flex: 1;
  z-index: 2;
}

.category-tile-title {
  font-family: var(--font-arabic);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--alamah-navy);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.category-tile-desc {
  font-size: 0.82rem;
  color: var(--alamah-gray);
  font-weight: 400;
  line-height: 1.6;
  max-width: 200px;
}

.category-tile-image {
  width: 130px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  z-index: 2;
  transition: transform var(--duration-normal) var(--ease-luxe);
}

.category-tile:hover .category-tile-image {
  transform: scale(1.06) translateY(-3px);
}

.category-tile-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* SVG icon fallback */
.category-tile-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.45;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

/* Subtle corner decoration */
.category-tile::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: transform var(--duration-normal) var(--ease-luxe);
}

.category-tile:hover::after {
  transform: scale(1.4);
}

@media (max-width: 575.98px) {
  .category-tile {
    min-height: 120px;
    padding: 1.3rem 1.2rem;
  }

  .category-tile-image {
    width: 90px;
    height: 80px;
  }

  .category-tile-title {
    font-size: 1rem;
  }
}


/* ═══════════════════════════════════════
   BEST SELLERS SECTION
   ═══════════════════════════════════════ */
.bestsellers-section {
  background: #F6F6F7;
  padding: 3.2rem 0 3.6rem;
}

.new-products-section {
  padding-top: 0.5rem;
}

.week-products-section {
  padding-top: 3rem;
}

.offers-products-section {
  padding-top: 3rem;
}

.offers-products-section .rac-categories-title span {
  background: #20B26B;
}

.custom-product-slider {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.product-strip-head {
  margin-bottom: 1.65rem;
}

.featured-products-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  direction: rtl;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.75rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.featured-products-track::-webkit-scrollbar {
  display: none;
}

.featured-product-card {
  width: 252px;
  min-width: 252px;
  scroll-snap-align: start;
  color: #242936;
}

.featured-product-image {
  position: relative;
  height: 302px;
  border-radius: 13px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 18, 40, 0.06);
  border: 1px solid rgba(17, 21, 70, 0.06);
  transition: transform var(--duration-normal) var(--ease-luxe),
    box-shadow var(--duration-normal) var(--ease-luxe),
    border-color var(--duration-normal) var(--ease-luxe);
}

.featured-product-card:hover .featured-product-image {
  transform: translateY(-4px);
  border-color: rgba(17, 136, 201, 0.18);
  box-shadow: 0 16px 38px rgba(10, 18, 40, 0.11);
}

.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.45s var(--ease-luxe);
}

.featured-product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.featured-product-card:hover .featured-product-image img {
  transform: scale(1.035);
}

.featured-product-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  background: #333741;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.45rem 0.62rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(10, 18, 40, 0.16);
}

.featured-product-badge--best {
  background: linear-gradient(135deg, #F2682A, #FF8A4C);
  box-shadow: 0 8px 18px rgba(242, 104, 42, 0.22);
}

.featured-product-badge--new {
  background: linear-gradient(135deg, #1188C9, #55BDEB);
  box-shadow: 0 8px 18px rgba(17, 136, 201, 0.22);
}

.featured-product-badge--week {
  background: linear-gradient(135deg, #111546, #F2682A);
  box-shadow: 0 8px 18px rgba(17, 21, 70, 0.2);
}

.featured-product-badge--premium {
  background: linear-gradient(135deg, #111546, #0F6FA7);
  box-shadow: 0 8px 18px rgba(17, 21, 70, 0.2);
}

.featured-product-badge--offer {
  background: linear-gradient(135deg, #20B26B, #45D487);
  box-shadow: 0 8px 18px rgba(32, 178, 107, 0.22);
}

.featured-fav-btn,
.featured-add-btn {
  position: absolute;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-luxe),
    background var(--duration-fast) var(--ease-luxe),
    color var(--duration-fast) var(--ease-luxe);
}

.featured-add-btn {
  right: 0.95rem;
  bottom: 0.95rem;
  background: #fb8042;
  color: #fff;
  box-shadow: 0 10px 22px rgba(69, 56, 232, 0.24);
}

.featured-fav-btn {
  left: 0.95rem;
  top: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--alamah-navy);
  border: 1px solid rgba(17, 136, 201, 0.18);
  box-shadow: 0 10px 22px rgba(10, 18, 40, 0.08);
}

.featured-add-btn:hover,
.featured-fav-btn:hover {
  transform: translateY(-2px);
}

.featured-add-btn:hover {
  background: #e3560fd9;
}

.featured-add-btn.added {
  background: #20B26B;
}

.featured-fav-btn.active,
.featured-fav-btn:hover {
  background: linear-gradient(135deg, #FFF4EF, #EAF8FF);
  color: var(--alamah-red);
  border-color: rgba(242, 104, 42, 0.32);
}

.featured-add-btn svg,
.featured-fav-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured-fav-btn.active svg {
  fill: currentColor;
}

.featured-product-info {
  padding: 0.9rem 0.1rem 0;
}

.featured-product-title-link {
  color: inherit;
  text-decoration: none;
}

.featured-product-title-link:hover .featured-product-title,
.featured-product-card:hover .featured-product-title {
  color: var(--alamah-gold);
}

.featured-product-title {
  margin: 0 0 0.28rem;
  color: #242936;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9rem;
  transition: color var(--duration-fast) var(--ease-luxe);
}

.featured-product-desc {
  margin: 0 0 0.48rem;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.65rem;
}

.featured-product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.55rem;
  direction: ltr;
  font-family: var(--font-arabic);
}

.featured-product-price {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.featured-product-old-price {
  color: #A0A6B2;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: line-through;
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
}

.featured-product-price .sar-icon,
.featured-product-old-price .sar-icon {
  margin-right: 0;
}

@media (max-width: 767.98px) {
  .bestsellers-section {
    padding: 2.4rem 0 2.8rem;
  }

  .featured-products-track {
    gap: 0.9rem;
  }

  .featured-product-card {
    width: 205px;
    min-width: 205px;
  }

  .featured-product-image {
    height: 230px;
    border-radius: 12px;
  }

  .featured-product-image img {
    padding: 1rem;
  }

  .featured-fav-btn,
  .featured-add-btn {
    width: 36px;
    height: 36px;
  }

  .featured-product-title {
    font-size: 0.92rem;
  }

  .featured-product-desc {
    font-size: 0.8rem;
  }
}

.custom-product-slider::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.custom-product-slider>div {
  scroll-snap-align: start;
}

.product-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-luxe);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #F8F5F2, #F3EDED);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxe);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--alamah-red);
  color: var(--alamah-white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.product-card-body {
  padding: 1.3rem 1.4rem;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--alamah-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  font-family: var(--font-english);
}

.product-card-title {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  color: var(--alamah-navy);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.product-card-price {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--alamah-red);
}

.product-card-price span {
  font-size: 0.8rem;
  color: var(--alamah-gray);
  font-weight: 400;
  margin-right: 0.3rem;
}

/* Product placeholder SVGs */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-placeholder svg {
  width: 40%;
  height: 40%;
  opacity: 0.2;
}

.product-card-meta {
  font-size: 0.8rem;
  color: var(--alamah-gray);
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-card-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--alamah-gold);
}

.btn-product-order {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem;
  background: var(--surface-primary);
  color: var(--alamah-navy);
  border: 1px solid rgba(27, 42, 91, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-luxe);
}

.btn-product-order:hover {
  background: var(--alamah-navy);
  color: var(--alamah-white);
  border-color: var(--alamah-navy);
}

/* Product slider — Mobile peek effect */
@media (max-width: 575.98px) {
  .product-card-body {
    padding: 1rem 0.8rem;
  }

  .product-card-title {
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
  }

  .product-card-price {
    font-size: 0.9rem;
  }

  .product-card-meta {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .btn-product-order {
    font-size: 0.85rem;
    padding: 0.45rem;
  }

  .product-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  /* Show peek of 3rd product on mobile */
  .custom-product-slider>div {
    min-width: 44%;
    flex: 0 0 44%;
  }
}


/* ═══════════════════════════════════════
   CTA BANNER — Contained Image
   ═══════════════════════════════════════ */
.cta-banner-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: hidden;
}

.cta-banner-section img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 420px;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .cta-banner-section {
    padding: 0 2.5rem;
  }
}

@media (min-width: 1200px) {
  .cta-banner-section {
    padding: 0 3rem;
  }
}

@media (max-width: 767.98px) {
  .cta-banner-section {
    padding: 0 1rem;
  }

  .cta-banner-section img {
    max-height: 240px;
    border-radius: var(--radius-lg);
  }
}


/* ═══════════════════════════════════════
   WHY CHOOSE US — Premium Redesigned
   ═══════════════════════════════════════ */
.why-section {
  background: #FAFAFA;
}

.why-card {
  text-align: center;
  padding: 2rem 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-luxe);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

/* Color Variants */
.why-card--red .why-icon {
  background: rgba(214, 59, 47, 0.08);
  color: var(--alamah-red);
}

.why-card--gold .why-icon {
  background: rgba(201, 169, 110, 0.12);
  color: var(--alamah-gold);
}

.why-card--navy .why-icon {
  background: rgba(27, 42, 91, 0.06);
  color: var(--alamah-navy);
}

.why-card--blush .why-icon {
  background: rgba(232, 201, 184, 0.2);
  color: #C4907A;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.why-card:hover .why-icon {
  transform: scale(1.08);
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h4 {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  color: var(--alamah-navy);
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.82rem;
  color: var(--alamah-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Mobile 2-col adjustments */
@media (max-width: 575.98px) {
  .why-card {
    padding: 1.4rem 0.8rem 1.2rem;
  }

  .why-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
  }

  .why-icon svg {
    width: 22px;
    height: 22px;
  }

  .why-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .why-card p {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}


/* ═══════════════════════════════════════
   ORDERING STEPS — Redesigned
   ═══════════════════════════════════════ */
.steps-section {
  background: var(--alamah-beige);
  position: relative;
  overflow: hidden;
}

/* Section Title — Decorative Ruqaa with navy */
.steps-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  color: var(--alamah-navy);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Red-to-blue gradient divider line */
.steps-divider-line {
  width: 200px;
  height: 4px;
  background: linear-gradient(to left, var(--alamah-red), var(--alamah-navy));
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Subtitle */
.steps-subtitle {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--alamah-gray);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Steps row — flex container */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  position: relative;
  padding-top: 2rem;
}

/* Decorative bg-logo swoosh */
.steps-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

.steps-bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Curved arrow connector */
.steps-arrow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  z-index: 1;
  opacity: 0.6;
}

/* Step Card */
.step-card {
  flex: 1;
  max-width: 260px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 1rem;
}

/* Circle with number */
.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--alamah-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(214, 59, 47, 0.3);
  transition: transform var(--duration-normal) var(--ease-luxe),
    box-shadow var(--duration-normal) var(--ease-luxe);
}

.step-card:hover .step-circle {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(214, 59, 47, 0.4);
}

.step-circle-num {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--alamah-white);
  line-height: 1;
}

/* Step title */
.step-card-title {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--alamah-navy);
  margin-bottom: 0.5rem;
}

/* Step description */
.step-card-desc {
  font-size: 0.88rem;
  color: var(--alamah-gray);
  line-height: 1.8;
  max-width: 220px;
  margin: 0 auto;
}

/* Center step card gets extra emphasis */
.step-card--center .step-circle {
  width: 90px;
  height: 90px;
}

.step-card--center .step-circle-num {
  font-size: 2rem;
}

/* Responsive */
@media (max-width: 767.98px) {
  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .step-card {
    max-width: 320px;
  }

  .steps-arrow {
    display: none;
  }

  .steps-bg-logo {
    width: 200px;
    height: 200px;
    opacity: 0.12;
  }

  .step-card--center .step-circle {
    width: 80px;
    height: 80px;
  }

  .step-card--center .step-circle-num {
    font-size: 1.8rem;
  }
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer-alamah {
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--alamah-gray);
  padding: 4rem 0 0;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 320px;
  color: var(--alamah-gray);
}

.footer-heading {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  color: var(--alamah-navy);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--alamah-red);
  border-radius: 1px;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--alamah-gray);
  transition: all var(--duration-fast) var(--ease-luxe);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}

.footer-links a::before {
  content: '\203A';
  color: var(--alamah-red);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--alamah-navy);
  transform: translateX(-4px);
}



.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  color: var(--alamah-gray);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--alamah-red);
  flex-shrink: 0;
}

.footer-contact-new {
  color: var(--alamah-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact-link {
  color: var(--alamah-gray);
  transition: all var(--duration-fast) var(--ease-luxe);
}

.footer-contact-link:hover {
  color: var(--alamah-navy);
}

.footer-contact-link svg {
  transition: stroke var(--duration-fast) var(--ease-luxe);
}

.footer-contact-link:hover svg {
  stroke: var(--alamah-navy);
}

.footer-services-list {
  display: grid;
  gap: 0.7rem;
  color: var(--alamah-gray);
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-services-list li {
  position: relative;
  padding-right: 1.25rem;
}

.footer-services-list li::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--alamah-gold), var(--alamah-red));
  box-shadow: 0 0 0 4px rgba(17, 136, 201, 0.12);
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.35rem;
  border: 1px solid rgba(17, 136, 201, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.footer-newsletter-copy h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--alamah-navy);
  margin-bottom: 0.5rem;
}

.footer-newsletter-copy p {
  margin: 0;
  color: var(--alamah-gray);
  line-height: 1.9;
  max-width: 620px;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.7rem;
  padding: 0.45rem;
  background: var(--alamah-white);
  border: 1px solid rgba(17, 136, 201, 0.14);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(8, 11, 47, 0.14);
}

.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--alamah-navy);
  background: transparent;
}

.footer-newsletter-input::placeholder {
  color: var(--alamah-gray-light);
}

.footer-newsletter-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-weight: 800;
  color: var(--alamah-white);
  background: linear-gradient(135deg, var(--alamah-gold), var(--alamah-red));
  transition: transform var(--duration-fast) var(--ease-luxe), box-shadow var(--duration-fast) var(--ease-luxe);
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 104, 42, 0.28);
}

.footer-newsletter-btn:disabled {
  cursor: default;
  opacity: 0.82;
  transform: none;
  box-shadow: none;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-luxe);
}

.footer-social a:hover {
  background: var(--alamah-navy);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--alamah-navy);
  transition: fill var(--duration-fast) var(--ease-luxe);
}

.footer-social a:hover svg {
  fill: var(--alamah-white);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--alamah-gray-light);
  margin: 0;
}

.footer-bottom .footer-brand-en {
  font-family: var(--font-english);
  letter-spacing: 0.15em;
  font-weight: 600;
  color: #f2682a;
}


/* ═══════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--alamah-red);
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-luxe);
  box-shadow: 0 4px 16px rgba(214, 59, 47, 0.3);
}

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

.back-to-top:hover {
  background: var(--alamah-navy);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27, 42, 91, 0.35);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--alamah-white);
  stroke: var(--alamah-white);
}


/* ═══════════════════════════════════════
   PAGE LOADER
   ═══════════════════════════════════════ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-luxe), visibility 0.6s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader img {
  height: 80px;
  margin-bottom: 2rem;
  animation: loaderPulse 1.8s var(--ease-luxe) infinite;
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: #E8E4E0;
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, var(--alamah-red), var(--alamah-blush));
  border-radius: 1px;
  animation: loaderSlide 1.2s var(--ease-luxe) infinite;
}

@keyframes loaderSlide {
  0% {
    transform: translateX(240px);
  }

  100% {
    transform: translateX(-120px);
  }
}


/* ═══════════════════════════════════════
   BRAND MARQUEE
   ═══════════════════════════════════════ */
.brand-marquee {
  background: var(--alamah-navy);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.15);
  padding: 0 2.5rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.marquee-item .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--alamah-gold);
  margin: 0 1.5rem;
  vertical-align: middle;
  opacity: 0.4;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ═══════════════════════════════════════
   CRAFTSMANSHIP SECTION (Decorative)
   ═══════════════════════════════════════ */
.craftsmanship-section {
  background: #FAFAFA;
  position: relative;
  overflow: hidden;
}

.craftsmanship-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(232, 201, 184, 0.15), transparent);
  pointer-events: none;
}

.craft-stat {
  text-align: center;
  padding: 2rem 1rem;
}

.craft-stat-number {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--alamah-navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.craft-stat-number span {
  color: var(--alamah-red);
}

.craft-stat-label {
  font-size: 0.9rem;
  color: var(--alamah-gray);
  font-weight: 500;
}

.craft-divider-line {
  width: 1px;
  height: 60px;
  background: var(--alamah-beige-dark);
  margin: 0 auto;
  align-self: center;
}

@media (max-width: 767.98px) {
  .craft-divider-line {
    width: 40px;
    height: 1px;
    margin: 0.5rem auto;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════ */
@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.5rem;
  }
}


/* ═══════════════════════════════════════
   SAR CURRENCY ICON
   ═══════════════════════════════════════ */
.sar-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  margin-right: 3px;
  position: relative;
  top: -1px;
}

.sar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-price .sar-icon {
  width: 1em;
  height: 1em;
}

.cart-item-price .sar-icon {
  width: 0.9em;
  height: 0.9em;
}

.cart-total-value .sar-icon {
  width: 1.1em;
  height: 1.1em;
}


/* ═══════════════════════════════════════
   NAVBAR CART ICON
   ═══════════════════════════════════════ */
.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-right: 0.8rem;
  color: var(--alamah-navy);
  transition: color var(--duration-fast) var(--ease-luxe);
}

.nav-cart-btn:hover {
  color: var(--alamah-red);
}

.nav-cart-btn svg {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--alamah-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-english);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease-bounce);
}

.cart-badge.show {
  transform: scale(1);
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.cart-badge.bounce {
  animation: cartBounce 0.4s var(--ease-bounce);
}


/* ═══════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-luxe);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transition: right 0.4s var(--ease-luxe);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer-header h3 {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--alamah-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-drawer-header h3 .cart-count-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--alamah-gray);
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alamah-gray);
  transition: all var(--duration-fast) var(--ease-luxe);
}

.cart-close-btn:hover {
  background: rgba(214, 59, 47, 0.08);
  color: var(--alamah-red);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--alamah-gray);
}

.cart-empty svg {
  width: 60px;
  height: 60px;
  opacity: 0.2;
  margin-bottom: 1rem;
}

.cart-empty p {
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.3s var(--ease-luxe);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

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

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--alamah-navy);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-custom {
  font-size: 0.75rem;
  color: var(--alamah-gold);
  margin-bottom: 0.3rem;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--alamah-red);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--alamah-navy);
  transition: all var(--duration-fast) var(--ease-luxe);
}

.qty-btn:hover {
  border-color: var(--alamah-red);
  color: var(--alamah-red);
}

.cart-item-qty {
  font-family: var(--font-english);
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--alamah-gray-light);
  padding: 0.2rem;
  margin-right: auto;
  transition: color var(--duration-fast) var(--ease-luxe);
}

.cart-item-remove:hover {
  color: var(--alamah-red);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}

.cart-drawer-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  background: #FAFAFA;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--alamah-navy);
}

.cart-total-value {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--alamah-red);
  font-family: var(--font-arabic);
}

.btn-checkout-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem;
  background: #25D366;
  color: #fff !important;
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-luxe);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-checkout-wa:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-checkout-wa svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}


/* ═══════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-normal) var(--ease-luxe);
  animation: waPulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float-label {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translate(-100%, -50%);
  background: #fff;
  color: var(--alamah-navy);
  font-family: var(--font-arabic);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-float-label {
  opacity: 1;
}


/* ═══════════════════════════════════════
   CATEGORY FILTER TABS (Products Page)
   ═══════════════════════════════════════ */
.products-tabs-wrapper {
  position: sticky;
  top: 68px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.8rem 0;
}

.products-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0.5rem;
}

.products-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  background: #fff;
  color: var(--alamah-gray);
  font-family: var(--font-arabic);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-luxe);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--alamah-navy);
  color: var(--alamah-navy);
}

.tab-btn.active {
  background: var(--alamah-navy);
  color: #fff;
  border-color: var(--alamah-navy);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

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

.product-card.hidden-card {
  display: none;
}

.product-card.fade-in {
  animation: prodFadeIn 0.4s var(--ease-luxe);
}

@keyframes prodFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ═══════════════════════════════════════
   CHECKOUT MODAL
   ═══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-luxe);
  backdrop-filter: blur(6px);
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-luxe);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--alamah-navy);
  margin: 0;
}

.modal-body {
  padding: 1.5rem;
}

.modal-body label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--alamah-navy);
  margin-bottom: 0.4rem;
}

.modal-body input,
.modal-body textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: border-color var(--duration-fast) var(--ease-luxe);
  outline: none;
}

.modal-body input:focus,
.modal-body textarea:focus {
  border-color: var(--alamah-gold);
}

.modal-footer {
  padding: 1rem 1.5rem 1.5rem;
}

.btn-modal-confirm {
  width: 100%;
  padding: 0.8rem;
  background: var(--alamah-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-luxe);
}

.btn-modal-confirm:hover {
  background: var(--alamah-red);
}

/* Add to cart animation flash */
@keyframes addFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-product-order.added {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
  animation: addFlash 0.6s;
}

/* Active nav link */
.nav-link.active-page {
  color: var(--alamah-red) !important;
}

.nav-link.active-page::after {
  transform: scaleX(1) !important;
}


/* ═══════════════════════════════════════
   PRODUCT CARD LINK STYLES
   ═══════════════════════════════════════ */
.product-card-image-link,
.product-card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.product-card-title-link:hover .product-card-title {
  color: var(--alamah-red);
}


/* ═══════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════ */
.pd-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #F8F6F3;
  box-shadow: var(--shadow-card);
}

.pd-main-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pd-image-wrapper:hover .pd-main-image {
  transform: scale(1.03);
}

.pd-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--alamah-red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  z-index: 2;
}

.pd-info {
  padding: 0.5rem 0;
}

.pd-category-tag {
  display: inline-block;
  background: rgba(27, 42, 91, 0.06);
  color: var(--alamah-navy);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.pd-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--alamah-navy);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.pd-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.02));
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.pd-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--alamah-navy);
  font-family: var(--font-english);
}

.pd-price .sar-icon {
  width: 1.3em;
  height: 1.3em;
}

.pd-price-note {
  font-size: 0.85rem;
  color: var(--alamah-gray);
}

.pd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.pd-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--alamah-gray);
}

.pd-meta-item svg {
  color: var(--alamah-gold);
  stroke: var(--alamah-gold);
}

.pd-custom-fields {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: #FAFAFA;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.pd-custom-field {
  margin-bottom: 0.8rem;
}

.pd-custom-field:last-child {
  margin-bottom: 0;
}

.pd-custom-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--alamah-navy);
  margin-bottom: 0.3rem;
}

.pd-custom-field input,
.pd-custom-field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #fff;
}

.pd-custom-field input:focus,
.pd-custom-field textarea:focus {
  outline: none;
  border-color: var(--alamah-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pd-qty-row label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--alamah-navy);
}

.pd-qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.pd-qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--alamah-navy);
  cursor: pointer;
  transition: background 0.2s;
}

.pd-qty-btn:hover {
  background: #e8e8e8;
}

.pd-qty-value {
  width: 50px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--alamah-navy);
  font-family: var(--font-english);
}

.pd-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pd-add-to-cart {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: var(--alamah-navy);
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.pd-add-to-cart:hover {
  background: var(--alamah-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 59, 47, 0.25);
}

.pd-add-to-cart.added {
  background: #25D366 !important;
}

.pd-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid #25D366;
  border-radius: 10px;
  background: transparent;
  color: #25D366;
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.pd-whatsapp-btn:hover {
  background: #25D366;
  color: #fff;
  transform: translateY(-2px);
}

.pd-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pd-feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--alamah-navy);
  font-weight: 500;
  background: rgba(201, 169, 110, 0.06);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.products-grid .product-card.hidden-card {
  display: none;
}

@media (max-width: 768px) {
  .pd-title {
    font-size: 1.4rem;
  }

  .pd-price {
    font-size: 1.4rem;
  }

  .pd-actions {
    flex-direction: column;
  }

  .pd-add-to-cart,
  .pd-whatsapp-btn {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}


/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-wrapper {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

/* Gold Info Card */
.contact-info-card {
  background: linear-gradient(145deg, var(--alamah-navy), var(--alamah-navy-light));
  color: #fff;
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-item strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 0.88rem;
  opacity: 0.9;
}

/* Form Card */
.contact-form-card {
  background: #fff;
  padding: 3rem 2.5rem;
  height: 100%;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--alamah-navy);
  margin-bottom: 0.3rem;
}

.contact-form-subtitle {
  font-size: 0.85rem;
  color: var(--alamah-gray);
  margin-bottom: 1.5rem;
}

.contact-form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--alamah-navy);
  margin-bottom: 0.3rem;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--alamah-navy);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--alamah-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.contact-form-card select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23999' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 20px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 10px;
  background: var(--alamah-navy);
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.contact-submit-btn:hover {
  background: var(--alamah-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(214, 59, 47, 0.25);
}

.contact-submit-btn.sent {
  background: #25D366 !important;
}

/* Map */
.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
  height: 350px;
  background: #e8e8e8;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info-card {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 2rem 1.5rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .contact-info-title {
    font-size: 1.5rem;
  }

  .contact-map-wrapper {
    height: 250px;
  }
}

/* RAC technical theme polish */
.navbar-alamah {
  background: rgba(247, 250, 252, 0.9);
  border-bottom: 1px solid rgba(17, 21, 70, 0.08);
}

.navbar-alamah.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(17, 21, 70, 0.1);
}

.navbar-alamah .navbar-brand img {
  height: 58px;
}

.navbar-alamah.scrolled .navbar-brand img {
  height: 46px;
}

.navbar-alamah .nav-link {
  color: var(--alamah-navy);
  font-weight: 700;
  letter-spacing: 0;
}

.navbar-alamah .nav-link::after {
  height: 2px;
  background: linear-gradient(90deg, var(--alamah-gold), var(--alamah-red));
}

.navbar-alamah .nav-link:hover,
.nav-link.active-page {
  color: var(--alamah-gold) !important;
}

.btn-alamah-cta,
.btn-product-order,
.pd-add-to-cart,
.contact-submit-btn,
.btn-modal-confirm {
  background: linear-gradient(135deg, var(--alamah-red), var(--alamah-red-soft));
  border: 0;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(242, 104, 42, 0.24);
}

.btn-alamah-cta:hover,
.btn-product-order:hover,
.pd-add-to-cart:hover,
.contact-submit-btn:hover,
.btn-modal-confirm:hover {
  background: linear-gradient(135deg, var(--alamah-gold), var(--alamah-navy-light));
  box-shadow: 0 14px 30px rgba(17, 136, 201, 0.24);
}

.btn-alamah-cta::before,
.offcanvas-cta-btn::before {
  background: var(--alamah-gold);
}

.hero-wrapper {
  background:
    linear-gradient(90deg, rgba(17, 21, 70, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 21, 70, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-section {
  border: 1px solid rgba(17, 136, 201, 0.16);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(8, 11, 47, 0.16);
  background: var(--alamah-ink);
}

.hero-progress-bar {
  background: linear-gradient(90deg, var(--alamah-gold), var(--alamah-red));
}

.hero-dot.active {
  background: var(--alamah-red);
  border-color: var(--alamah-red);
}

.section-title,
.steps-title,
.contact-info-title,
.contact-form-title,
.pd-title {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.section-title {
  font-size: 2.15rem;
  color: var(--alamah-navy);
  font-weight: 800;
  line-height: 1.35;
}

.section-subtitle,
.steps-subtitle {
  color: var(--alamah-gray);
  font-weight: 500;
}

.section-divider,
.steps-divider-line {
  height: 4px;
  background: linear-gradient(90deg, var(--alamah-red), var(--alamah-gold));
  border-radius: 999px;
}

.categories-section,
.why-section,
.bestsellers-section,
.steps-section,
.craftsmanship-section {
  background: transparent;
}

.category-tile,
.why-card,
.product-card,
.craft-stat,
.modal-box,
.pd-image-wrapper,
.pd-custom-fields,
.contact-wrapper {
  border: 1px solid rgba(17, 136, 201, 0.14);
  box-shadow: var(--shadow-card);
}

.category-tile {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 247, 255, 0.86));
}

.category-tile::after {
  width: 72px;
  height: 4px;
  right: 2rem;
  left: auto;
  top: 1rem;
  bottom: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--alamah-red), var(--alamah-gold));
}

.category-tile-title,
.product-card-title,
.why-card h4,
.footer-heading,
.modal-header h3 {
  color: var(--alamah-navy);
  font-weight: 800;
  letter-spacing: 0;
}

.category-tile-desc,
.why-card p,
.footer-brand p {
  color: var(--alamah-gray);
}

.product-card {
  border-radius: 18px;
  overflow: hidden;
}

.product-card-image,
.pd-image-wrapper {
  background: linear-gradient(135deg, #E9F7FF, #FFFFFF 45%, #FFF0E8);
}

.product-badge,
.pd-badge,
.cart-badge {
  background: var(--alamah-red);
}

.product-card-category,
.product-card-price,
.cart-total-value {
  color: var(--alamah-red);
}

.product-card-meta svg,
.pd-meta-item svg,
.pd-feature svg {
  color: var(--alamah-gold);
  stroke: var(--alamah-gold);
}

.why-icon {
  border-radius: 16px;
  background: rgba(17, 136, 201, 0.1);
}

.why-card--red .why-icon,
.why-card--gold .why-icon,
.why-card--navy .why-icon,
.why-card--blush .why-icon {
  background: rgba(17, 136, 201, 0.1);
  color: var(--alamah-gold);
}

.steps-section {
  background:
    linear-gradient(135deg, rgba(17, 21, 70, 0.96), rgba(15, 111, 167, 0.88));
  color: #fff;
}

.steps-title,
.steps-subtitle {
  color: #fff;
}

.step-circle {
  background: linear-gradient(135deg, var(--alamah-red), var(--alamah-gold));
  box-shadow: 0 12px 28px rgba(242, 104, 42, 0.24);
}

.step-card:hover .step-circle {
  box-shadow: 0 16px 34px rgba(17, 136, 201, 0.28);
}

.step-card-title {
  color: #fff;
  font-weight: 800;
}

.step-card-desc {
  color: rgba(255, 255, 255, 0.72);
}

.steps-bg-logo {
  opacity: 0.1;
}

.footer-alamah {
  background: #090D32;
  border-top: 4px solid var(--alamah-red);
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand img {
  background: #fff;
  border-radius: 14px;
  padding: 0.45rem 0.65rem;
}

.footer-heading,
.footer-links a:hover,
.footer-contact-link:hover,
.footer-brand-en {
  color: #fff;
}

.footer-brand p,
.footer-links a,
.footer-contact-new,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(85, 189, 235, 0.22);
}

.footer-social svg {
  fill: rgba(255, 255, 255, 0.82);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--alamah-gold), var(--alamah-red));
  border-color: transparent;
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-heading::after {
  background: var(--alamah-red);
}

.footer-links a::before {
  color: var(--alamah-red);
}

.offcanvas-cta-btn {
  background: linear-gradient(135deg, var(--alamah-red), var(--alamah-red-soft));
  box-shadow: 0 14px 28px rgba(242, 104, 42, 0.24);
}

.tab-btn.active {
  background: var(--alamah-gold);
  border-color: var(--alamah-gold);
}

.tab-btn:hover {
  border-color: var(--alamah-gold);
  color: var(--alamah-gold);
}

.pd-category-tag,
.pd-feature {
  background: rgba(17, 136, 201, 0.08);
  color: var(--alamah-navy);
}

.pd-price-box {
  background: linear-gradient(135deg, rgba(17, 136, 201, 0.1), rgba(242, 104, 42, 0.08));
  border-color: rgba(17, 136, 201, 0.16);
}

.contact-info-card {
  background: linear-gradient(145deg, var(--alamah-navy), var(--alamah-navy-light));
}

.page-loader {
  background: linear-gradient(135deg, #F7FAFC, #E9F7FF);
}

.loader-bar {
  height: 3px;
  background: rgba(17, 136, 201, 0.14);
}

.loader-bar::after {
  background: linear-gradient(90deg, var(--alamah-gold), var(--alamah-red));
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus,
.modal-body input:focus,
.modal-body textarea:focus,
.pd-custom-field input:focus,
.pd-custom-field textarea:focus {
  border-color: var(--alamah-gold);
  box-shadow: 0 0 0 3px rgba(17, 136, 201, 0.12);
}

@media (max-width: 767.98px) {

  .section-title,
  .steps-title {
    font-size: 1.55rem;
  }

  .navbar-alamah .navbar-brand img {
    height: 46px;
  }
}

/* RAC categories strip */
.categories-section {
  padding: 3.2rem 0 2.7rem;
  background: #F6F6F7;
}

.rac-categories-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  direction: ltr;
}

.rac-categories-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  direction: rtl;
  margin: 0;
  color: #050712;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.rac-categories-title span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fb8042;
  display: inline-block;
  flex: 0 0 auto;
}

.rac-category-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  direction: ltr;
}

.rac-category-nav {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #111546;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 21, 70, 0.14);
  transition: opacity var(--duration-fast) var(--ease-luxe),
    transform var(--duration-fast) var(--ease-luxe),
    background var(--duration-fast) var(--ease-luxe),
    color var(--duration-fast) var(--ease-luxe);
}

.rac-category-nav:not(:disabled):hover {
  background: #0F6FA7;
  color: #fff;
  transform: translateY(-2px);
}

.rac-category-nav:disabled {
  background: #D9DEE8;
  color: #8D98AA;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.rac-category-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rac-categories-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.4rem, 3.5vw, 3.7rem);
  direction: rtl;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 0.8rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.rac-categories-track::-webkit-scrollbar {
  display: none;
}

.rac-category-item {
  width: 138px;
  min-width: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  scroll-snap-align: start;
  text-align: center;
  color: #242936;
  text-decoration: none;
}

.rac-category-thumb {
  width: 126px;
  height: 126px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 21, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10, 18, 40, 0.07);
  transition: transform var(--duration-normal) var(--ease-luxe),
    box-shadow var(--duration-normal) var(--ease-luxe);
}

.rac-category-item:hover .rac-category-thumb {
  transform: translateY(-5px);
  border-color: rgba(17, 136, 201, 0.26);
  box-shadow: 0 18px 38px rgba(10, 18, 40, 0.12);
}

.rac-category-thumb svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rac-category-thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

.rac-category-item strong {
  color: #242936;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  min-height: 2.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.rac-category-thumb--blue {
  color: #1188C9;
}

.rac-category-thumb--mint {
  color: #0F8F81;
}

.rac-category-thumb--orange {
  color: #F2682A;
}

.rac-category-thumb--navy {
  color: #111546;
}

.rac-category-thumb--violet {
  color: #4538E8;
}

.rac-category-thumb--cyan {
  color: #0F6FA7;
}

.rac-category-thumb--soft {
  color: #111546;
}

.rac-category-thumb--offer {
  color: #F2682A;
}

@media (max-width: 767.98px) {
  .categories-section {
    padding: 2.3rem 0 1.8rem;
  }

  .rac-categories-head {
    margin-bottom: 1.25rem;
  }

  .rac-categories-title {
    font-size: 1.35rem;
  }

  .rac-category-nav {
    width: 40px;
    height: 40px;
  }

  .rac-category-item {
    width: 112px;
    min-width: 112px;
  }

  .rac-category-thumb {
    width: 96px;
    height: 96px;
    border-radius: 20px;
  }

  .rac-category-thumb svg {
    width: 52px;
    height: 52px;
  }

  .rac-category-item strong {
    font-size: 0.9rem;
  }
}

/* Recommended brands marquee */
.recommended-brands-section {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 5rem;
  background:
    radial-gradient(circle at 14% 22%, rgba(242, 104, 42, 0.045), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(17, 136, 201, 0.06), transparent 28%);
}

.recommended-brands-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 21, 70, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 21, 70, 0.024) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
  opacity: 0.55;
}

.recommended-brands-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 2.2rem;
}

.recommended-brands-head .rac-categories-title {
  justify-content: center;
}

.recommended-brands-head .rac-categories-title span {
  background: var(--alamah-red);
}

.recommended-brands-subtitle {
  max-width: 560px;
  margin: 0.75rem auto 0;
  color: #667085;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.9;
}

.brands-marquee-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.6rem;
  direction: ltr;
}

.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: '';
  position: absolute;
  top: -1rem;
  bottom: -1rem;
  width: min(16vw, 210px);
  z-index: 3;
  pointer-events: none;
}

.brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #F7FAFC 0%, rgba(247, 250, 252, 0) 100%);
}

.brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #F7FAFC 0%, rgba(247, 250, 252, 0) 100%);
}

.brands-marquee-row {
  overflow: hidden;
  width: 100%;
}

.brands-marquee-row--offset {
  transform: translateX(-5rem);
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  width: max-content;
  will-change: transform;
}

.brands-marquee-track--left {
  animation: brandsSlideLeft 58s linear infinite;
}

.brands-marquee-track--right {
  animation: brandsSlideRight 64s linear infinite;
}

.brands-marquee-wrap:hover .brands-marquee-track {
  animation-play-state: paused;
}

.brand-card {
  width: 230px;
  height: 112px;
  border-radius: 16px;
  border: 1px solid rgba(17, 21, 70, 0.075);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow:
    0 14px 34px rgba(10, 18, 40, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.65rem;
  transition: transform var(--duration-normal) var(--ease-luxe),
    border-color var(--duration-normal) var(--ease-luxe),
    box-shadow var(--duration-normal) var(--ease-luxe);
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 136, 201, 0.25);
  box-shadow:
    0 24px 54px rgba(10, 18, 40, 0.12),
    0 0 0 4px rgba(17, 136, 201, 0.05);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.92) contrast(1.03);
  opacity: 0.9;
  transition: transform var(--duration-normal) var(--ease-luxe),
    filter var(--duration-normal) var(--ease-luxe),
    opacity var(--duration-normal) var(--ease-luxe);
}

.brand-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
  opacity: 1;
}

@keyframes brandsSlideLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes brandsSlideRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 767.98px) {
  .recommended-brands-section {
    padding: 3.2rem 0 3.8rem;
  }

  .recommended-brands-head {
    margin-bottom: 1.5rem;
  }

  .recommended-brands-subtitle {
    font-size: 0.88rem;
  }

  .brands-marquee-wrap {
    gap: 1rem;
  }

  .brands-marquee-row--offset {
    transform: translateX(-2.5rem);
  }

  .brands-marquee-track {
    gap: 0.95rem;
  }

  .brand-card {
    width: 168px;
    height: 86px;
    border-radius: 14px;
    padding: 1rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .brands-marquee-track--left,
  .brands-marquee-track--right {
    animation: none;
  }
}

/* Trust features strip */
.trust-features-section {
  position: relative;
  z-index: 5;
  margin-top: 0.9rem;
  padding: 0 0 2rem;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-feature-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 70px;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  /* background: #FFFFFF; */
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-luxe),
    background var(--duration-normal) var(--ease-luxe),
    box-shadow var(--duration-normal) var(--ease-luxe);
  box-shadow: 0 10px 28px rgba(10, 18, 40, 0.045);
}

.trust-feature-card::before {
  display: none;
}

.trust-feature-card:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 14px 32px rgba(10, 18, 40, 0.075);
}

.trust-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alamah-red);
  background: transparent;
  box-shadow: none;
  transition: transform var(--duration-normal) var(--ease-luxe),
    color var(--duration-normal) var(--ease-luxe);
}

.trust-feature-card:hover .trust-feature-icon {
  transform: scale(1.08);
  color: var(--alamah-gold);
}

.trust-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-feature-card h3 {
  margin: 0;
  color: #050712;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.trust-feature-card p {
  display: none;
}

@media (max-width: 991.98px) {
  .trust-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .trust-feature-card {
    padding: 0.75rem 0.6rem;
    min-height: 60px;
  }

  .trust-feature-card h3 {
    font-size: 0.88rem;
  }
}

@media (max-width: 575.98px) {
  .trust-features-section {
    margin-top: 0.7rem;
    padding: 0 0 1.2rem;
  }

  .trust-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .trust-feature-card {
    flex-direction: column;
    text-align: center;
    min-height: 56px;
    padding: 0.6rem 0.3rem;
    gap: 0.3rem;
    border-radius: 16px;
  }

  .trust-feature-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .trust-feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .trust-feature-card h3 {
    font-size: 0.72rem;
    line-height: 1.2;
  }
}

.footer-alamah .footer-services-list,
.footer-alamah .footer-newsletter-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-alamah .footer-newsletter {
  border-color: rgba(85, 189, 235, 0.18);
  background:
    radial-gradient(circle at 88% 0%, rgba(85, 189, 235, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.footer-alamah .footer-newsletter-copy h5 {
  color: #fff;
}

.footer-alamah .footer-newsletter-form {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
  .footer-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .footer-newsletter {
    padding: 1rem;
    border-radius: 16px;
  }

  .footer-newsletter-form {
    flex-direction: column;
    border-radius: 18px;
  }

  .footer-newsletter-input,
  .footer-newsletter-btn {
    width: 100%;
    border-radius: 14px;
  }
}

/* Simple newsletter block */
.footer-alamah .footer-newsletter {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.35rem;
  max-width: 760px;
  margin: 2.6rem auto 0;
  padding: 1.3rem 1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.footer-alamah .footer-newsletter-copy h5 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.footer-alamah .footer-newsletter-copy p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

.footer-alamah .footer-newsletter-form {
  width: min(100%, 370px);
  padding: 0;
  gap: 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-alamah .footer-newsletter-input {
  height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(17, 21, 70, 0.12);
  border-radius: 10px;
  background: #fff;
  text-align: right;
}

.footer-alamah .footer-newsletter-btn {
  min-width: 95px;
  height: 56px;
  padding: 0 1.3rem;
  border-radius: 12px;
  background: var(--alamah-red);
  box-shadow: none;
  white-space: nowrap;
}

.footer-alamah .footer-newsletter-btn:hover {
  background: var(--alamah-red);
  box-shadow: 0 6px 20px rgba(214, 59, 47, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

@media (max-width: 575.98px) {
  .footer-alamah .footer-newsletter {
    padding: 0.75rem 0.5rem 0;
    gap: 0.9rem;
    margin-top: 2rem;
  }

  .footer-alamah .footer-newsletter-copy h5 {
    font-size: 1.25rem;
  }

  .footer-alamah .footer-newsletter-copy p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .footer-alamah .footer-newsletter-form {
    width: 100%;
    flex-direction: row;
    gap: 0.4rem;
  }

  .footer-alamah .footer-newsletter-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border-radius: 10px;
    font-size: 0.88rem;
  }

  .footer-alamah .footer-newsletter-btn {
    flex-shrink: 0;
    width: auto;
    min-width: 80px;
    height: 48px;
    padding: 0 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
  }
}

/* Header mega menu */
.navbar-alamah {
  overflow: visible;
}

.navbar-alamah .container,
.navbar-alamah .navbar-collapse,
.navbar-alamah .navbar-nav {
  position: static;
}

.rac-nav-has-mega {
  position: static;
}

.rac-nav-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.rac-nav-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-fast) var(--ease-luxe);
}

.rac-nav-has-mega:hover .rac-nav-trigger,
.rac-nav-has-mega:focus-within .rac-nav-trigger {
  color: var(--alamah-gold) !important;
}

.rac-nav-has-mega:hover .rac-nav-trigger svg,
.rac-nav-has-mega:focus-within .rac-nav-trigger svg {
  transform: rotate(180deg);
}

.rac-mega-menu {
  position: fixed;
  top: 90px;
  right: 0;
  left: 0;
  z-index: 998;
  padding: 1.55rem 0 1.8rem;
  background: rgba(248, 250, 252, 0.98);
  border-top: 1px solid rgba(17, 21, 70, 0.08);
  border-bottom: 1px solid rgba(17, 21, 70, 0.08);
  box-shadow: 0 22px 46px rgba(8, 11, 47, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-luxe),
    visibility 180ms ease;
}

.navbar-alamah.scrolled .rac-mega-menu {
  top: 60px;
}

.rac-nav-has-mega:hover .rac-mega-menu,
.rac-nav-has-mega:focus-within .rac-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rac-mega-panel {
  display: grid;
  direction: rtl;
  text-align: right;
  gap: 1rem 3.5rem;
  align-items: start;
}

.rac-mega-panel--categories {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.rac-mega-panel--brands {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.rac-mega-panel--services {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.rac-mega-panel a {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 0.2rem 0 0.2rem 1.25rem;
  color: #050712;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease-luxe),
    transform var(--duration-fast) var(--ease-luxe);
}

.rac-mega-panel a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alamah-red);
  opacity: 0;
  transform: translate(6px, -50%) scale(0.6);
  transition:
    opacity var(--duration-fast) var(--ease-luxe),
    transform var(--duration-fast) var(--ease-luxe);
}

.rac-mega-panel a:hover {
  color: var(--alamah-gold);
  transform: translateX(-4px);
}

.rac-mega-panel a:hover::before {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.navbar-alamah a,
.footer-alamah a {
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .rac-mega-menu {
    display: none;
  }
}

/* ═══════════════════════════════════════
   MOBILE NAV ACCORDION SUBMENU
   ═══════════════════════════════════════ */
.mobile-submenu {
  padding-top: 0.4rem;
  border-right: 2px solid var(--alamah-gold);
  margin-right: 0.5rem;
}

.mobile-submenu li {
  margin-bottom: 0.1rem;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  color: var(--alamah-gray);
  font-family: var(--font-arabic);
  border-radius: 8px;
  transition: all var(--duration-fast) var(--ease-luxe);
  text-decoration: none;
}

.mobile-submenu a:hover {
  color: var(--alamah-red);
  background: rgba(214, 59, 47, 0.06);
  padding-right: 1.1rem;
}

/* Rotate arrow when accordion is open */
.nav-link[aria-expanded="true"] .mobile-submenu-arrow {
  transform: rotate(180deg);
}

.mobile-submenu-arrow {
  transition: transform 0.3s var(--ease-luxe);
}