/* Amazon KSA Modern WordPress Theme CSS - RTL First */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #183857;
  --secondary-teal: #1a5276;
  --accent-blue: #0088cc;
  --accent-gold: #f49b18;
  --bg-light: #f7f9fa;
  --bg-cream: #fbf7f4;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* Global Font Assignment for Theme Elements */
body, html, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, span, div, li, td, th {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* PRESERVE WORDPRESS ADMIN BAR & ICON FONTS */
#wpadminbar,
#wpadminbar *,
#wpadminbar *::before,
#wpadminbar *::after,
#wpadminbar .ab-icon,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .dashicons,
#wpadminbar .dashicons::before,
.dashicons,
.dashicons::before,
.dashicons-before::before,
[class^="dashicons-"]::before,
[class*=" dashicons-"]::before {
  font-family: dashicons !important;
}

.fa, .fas, .far, .fab,
[class^="fa-"]::before,
[class*=" fa-"]::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}

body {
  font-family: var(--font-family) !important;
  direction: rtl;
  text-align: right;
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   HEADER SECTION & BRAND LOGO
========================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
}

.brand-logo-link {
  display: inline-block;
}

.brand-logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.site-header .container {
  max-width: 1560px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}

.main-navigation a {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--primary-navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
  color: var(--accent-blue);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.main-navigation a:hover::after {
  width: 100%;
}

/* ==========================================
   PURE IMAGE BANNER SLIDER
========================================== */
.hero-banner-slider-pure {
  padding: 24px 0 10px;
  background: #ffffff;
  position: relative;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.hero-slide a:hover .hero-banner-img {
  transform: scale(1.01);
}

/* Slider Arrow Controls */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid #cbd5e1;
  color: var(--primary-navy);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  pointer-events: auto;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.hero-slider-arrow:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-next {
  right: 20px;
  left: auto;
}

.hero-arrow-prev {
  left: 20px;
  right: auto;
}

/* Language Adaptive Arrow Positions */
html[dir="rtl"] .hero-arrow-next {
  left: 20px;
  right: auto;
}

html[dir="rtl"] .hero-arrow-prev {
  right: 20px;
  left: auto;
}

html[dir="ltr"] .hero-arrow-next {
  right: 20px;
  left: auto;
}

html[dir="ltr"] .hero-arrow-prev {
  left: 20px;
  right: auto;
}

/* Slider Dots Indicator */
.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot:hover,
.hero-dot.active {
  background: #e88d2b;
  transform: scale(1.3);
}

/* ==========================================
   ABOUT / STORY SECTION
========================================== */
.about-section {
  padding: 60px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-img-box img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 600;
}

/* ==========================================
   CATEGORIES CAROUSEL SECTION
========================================== */
.categories-section {
  background: var(--bg-cream);
  padding: 60px 0;
  position: relative;
}

.categories-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.categories-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 10px 4px;
  scrollbar-width: none;
  width: 100%;
}

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

.category-card {
  flex: 0 0 calc(20% - 20px);
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.category-thumb-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  transition: var(--transition);
}

.category-card:hover .category-thumb-circle {
  transform: translateY(-6px) scale(1.05);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.category-thumb-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-navy);
  transition: var(--transition);
}

.category-card:hover .category-title {
  color: var(--accent-blue);
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 99;
  flex-shrink: 0;
  font-size: 18px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-nav-btn.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.carousel-nav-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* ==========================================
   BANNER OFFER (5.75 SAR)
========================================== */
.offer-hero-banner {
  background: radial-gradient(circle at center, #1b4970 0%, #15324d 100%);
  padding: 60px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-tags-graphic {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}

.tag-banner-item {
  width: 64px;
  padding: 16px 8px 12px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  text-align: center;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.tag-banner-item.orange { background: #e88d2b; }
.tag-banner-item.blue { background: #0084c7; }
.tag-banner-item.amber { background: #e09b19; }

.tag-banner-item .price-num {
  font-size: 18px;
  display: block;
  line-height: 1;
}

.tag-banner-item .price-unit {
  font-size: 11px;
}

.banner-subhead {
  font-size: 22px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.banner-mainheading {
  font-size: 46px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1.2;
}

.banner-mainheading span {
  color: #ffffff;
  display: block;
}

/* ==========================================
   SPECIAL OFFERS GRID (3 CARDS)
========================================== */
.offers-grid-section {
  padding: 60px 0;
  background: #ffffff;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.offer-card.cyan-card {
  background: linear-gradient(145deg, #7ed6f7 0%, #4fc3f7 100%);
  color: var(--primary-navy);
}

.offer-card.white-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: var(--primary-navy);
}

.offer-card.black-card {
  background: #0d131a;
  color: #ffffff;
}

.badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.badge-tag.pink {
  background: #e91e63;
  color: #ffffff;
}

.badge-tag.green {
  background: #10b981;
  color: #ffffff;
}

.offer-img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.offer-img-box img {
  max-height: 100%;
  object-fit: contain;
}

.offer-card-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.offer-card-details .offer-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.offer-card-details .offer-price {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.offer-card-details .price-label {
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================
   STORE FINDER / BRANCHES SECTION
========================================== */
.branches-section {
  background: #eef2f5;
  padding: 70px 0;
}

.branches-section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 36px;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.map-and-info-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.saudi-map-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saudi-map-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  fill: #cbd5e1;
}

.map-pin-marker {
  position: absolute;
  top: 35%;
  right: 55%;
  background: var(--accent-blue);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 132, 199, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.map-pin-marker::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--accent-blue);
}

.branch-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.branch-info-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.branch-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.branch-map-btn {
  display: inline-block;
  margin-top: 14px;
  background: #e88d2b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.branch-map-btn:hover {
  background: #d47b1b;
  transform: translateY(-2px);
}

.city-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.city-tab-item {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.city-tab-item:hover,
.city-tab-item.active {
  background: #e88d2b;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* ==========================================
   FOOTER SECTION
========================================== */
.site-footer {
  background: var(--primary-navy, #183857);
  color: #ffffff;
  padding-top: 55px;
  padding-bottom: 25px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 0.9fr 0.9fr 1.6fr;
  gap: 25px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col-brand {
  padding-right: 15px;
}

body.rtl .footer-col-brand {
  padding-right: 0;
  padding-left: 15px;
}

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

.footer-brand-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-top: 18px;
  margin-bottom: 25px;
  max-width: 440px;
  font-weight: 500;
}

.social-icons-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.social-icon-link:hover {
  background: var(--accent-orange, #e08d38);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(224, 141, 56, 0.3);
}

.footer-col-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: var(--accent-orange, #e08d38);
  border-radius: 2px;
}

html[dir="rtl"] .footer-col-title::after,
[dir="rtl"] .footer-col-title::after,
body.rtl .footer-col-title::after {
  right: 0;
  left: auto;
}

html[dir="ltr"] .footer-col-title::after,
[dir="ltr"] .footer-col-title::after,
body.ltr .footer-col-title::after {
  left: 0;
  right: auto;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-list a .bullet {
  color: var(--accent-orange, #e08d38);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

body.rtl .footer-nav-list a:hover {
  transform: translateX(-4px);
}

.footer-nav-list a:hover .bullet {
  transform: scale(1.4);
}

.footer-copyright-row {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-tagline {
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ==========================================
   UNIVERSAL MOBILE & TABLET RESPONSIVE ENGINE
   ========================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

.mobile-menu-header {
  display: none !important;
}

/* Tablet Breakpoint (<= 992px) */
@media (max-width: 992px) {
  .hero-banner-img {
    height: auto !important;
    object-fit: contain !important;
  }
  .about-grid, .branches-grid {
    grid-template-columns: 1fr !important;
  }
  .offers-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .category-card {
    flex: 0 0 calc(33.333% - 16px) !important;
  }
  .hero-slider-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  .footer-top, .footer-bottom {
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }
  
  /* Mobile Navigation Drawer & Centered Logo Header Layout */
  .header-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    color: var(--primary-navy);
    z-index: 1002 !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
  }
  .brand-logo-container {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000 !important;
  }
  .brand-logo-img {
    max-height: 44px !important;
    width: auto !important;
  }

  /* Arabic (RTL): Menu on RIGHT (order: 1), Search & Lang on LEFT (order: 2) */
  html[dir="rtl"] .mobile-menu-toggle {
    order: 1 !important;
    margin: 0 !important;
  }
  html[dir="rtl"] .header-right-actions {
    order: 2 !important;
    margin: 0 !important;
    z-index: 1000 !important;
  }

  /* English (LTR): Menu on LEFT (order: 1), Search & Lang on RIGHT (order: 2) */
  html[dir="ltr"] .mobile-menu-toggle {
    order: 1 !important;
    margin: 0 !important;
  }
  html[dir="ltr"] .header-right-actions {
    order: 2 !important;
    margin: 0 !important;
    z-index: 1000 !important;
  }
  .main-navigation {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-top: 20px;
  }
  html[dir="ltr"] .main-navigation {
    right: auto;
    left: -320px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  }
  .main-navigation.mobile-active {
    transform: translateX(-320px);
  }
  html[dir="ltr"] .main-navigation.mobile-active {
    transform: translateX(320px);
  }
  .mobile-menu-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 15px !important;
  }
  .mobile-menu-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }
  .mobile-menu-close:hover {
    background: #e2e8f0 !important;
    color: #e08d38 !important;
  }
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 24px;
    gap: 20px;
  }
  .main-navigation a {
    font-size: 18px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
  }
  .main-navigation a::after {
    display: none;
  }
}

/* Medium Mobile Breakpoint (<= 768px) */
/* Universal Mobile Responsive Typography & Grid System */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 14px !important;
  }
  .custom-logo {
    max-height: 42px !important;
    width: auto !important;
  }
  .hero-banner-img {
    height: auto !important;
    object-fit: contain !important;
  }
  .categories-promo-box > div,
  .single-cat-cta-section > div {
    padding: 24px 18px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .categories-promo-box h2,
  .single-cat-cta-section h2 {
    font-size: 20px !important;
  }
  .categories-promo-box p,
  .single-cat-cta-section p {
    font-size: 13.5px !important;
  }
  .category-thumb-circle {
    width: 90px !important;
    height: 90px !important;
  }
  .category-title {
    font-size: 13.5px !important;
  }
  .categories-section {
    padding: 10px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .categories-container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* Universal Mobile Hero Banners & Titles */
  .about-hero-banner,
  .branches-hero-section,
  .categories-hero-section,
  .contact-hero-section,
  .offers-hero-section,
  .search-hero-section,
  .suppliers-hero-section,
  .careers-hero-section,
  .faq-hero-section,
  .policies-hero-section,
  .muzn-hero-section,
  .blog-hero-section,
  .single-branch-hero,
  .single-cat-hero {
    padding: 35px 0 40px !important;
  }

  .about-hero-banner h1,
  .branches-hero-section h1,
  .categories-hero-section h1,
  .contact-hero-section h1,
  .offers-hero-section h1,
  .search-hero-section h1,
  .suppliers-hero-section h1,
  .careers-hero-section h1,
  .faq-hero-section h1,
  .policies-hero-section h1,
  .muzn-hero-section h1,
  .blog-hero-section h1,
  .single-branch-hero h1,
  .single-cat-hero h1,
  .hero-slide-title,
  .site-main h1 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .about-hero-banner p,
  .branches-hero-section p,
  .categories-hero-section p,
  .contact-hero-section p,
  .offers-hero-section p,
  .search-hero-section p,
  .suppliers-hero-section p,
  .careers-hero-section p,
  .faq-hero-section p,
  .policies-hero-section p,
  .muzn-hero-section p,
  .blog-hero-section p,
  .hero-slide-subtitle {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  .site-main h2,
  .section-title,
  .branches-section-title-custom,
  .offers-section-title,
  .about-section-title,
  .search-result-group h2,
  .contact-info-card h2,
  .faq-section-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
  }

  .site-main h3,
  .card-title,
  .branch-card-title,
  .offer-card-title,
  .category-card-title,
  .search-category-card h3,
  .search-branch-card h3,
  .search-offer-card h3 {
    font-size: 16.5px !important;
    line-height: 1.4 !important;
  }

  .site-main p,
  .page-content p,
  .branch-info-card p,
  .offer-card-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .branches-grid-custom,
  .offers-main-grid,
  .contact-page-grid,
  .about-values-grid,
  .about-stats-grid,
  .suppliers-grid,
  .careers-grid,
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .search-page-form {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .search-page-form button[type="submit"] {
    width: 100% !important;
    height: 46px !important;
    border-radius: 23px !important;
  }

  .search-page-input {
    height: 46px !important;
    font-size: 14.5px !important;
  }
}

/* Small Mobile Breakpoint (<= 576px) */
@media (max-width: 576px) {
  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .hero-banner-img {
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
  }
  .offer-card-custom-image img {
    height: 180px !important;
  }
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .about-hero-banner h1,
  .branches-hero-section h1,
  .categories-hero-section h1,
  .contact-hero-section h1,
  .offers-hero-section h1,
  .search-hero-section h1,
  .suppliers-hero-section h1,
  .careers-hero-section h1,
  .faq-hero-section h1,
  .policies-hero-section h1,
  .muzn-hero-section h1,
  .blog-hero-section h1,
  .hero-slide-title,
  .site-main h1 {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }

  .about-hero-banner p,
  .branches-hero-section p,
  .categories-hero-section p,
  .contact-hero-section p,
  .offers-hero-section p,
  .search-hero-section p,
  .suppliers-hero-section p,
  .careers-hero-section p,
  .faq-hero-section p,
  .policies-hero-section p,
  .muzn-hero-section p,
  .blog-hero-section p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .site-main h2,
  .section-title,
  .branches-section-title-custom,
  .search-result-group h2 {
    font-size: 18.5px !important;
  }

  .site-main h3,
  .card-title,
  .search-category-card h3,
  .search-branch-card h3,
  .search-offer-card h3 {
    font-size: 15.5px !important;
  }

  .site-main p,
  .page-content p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .breadcrumb-nav,
  .amazonksa-breadcrumb-nav {
    font-size: 12px !important;
    padding: 8px 0 !important;
  }
}

/* Extra Small Mobile (<= 375px & iPhone SE) */
@media (max-width: 375px) {
  .hero-banner-img {
    height: auto !important;
    object-fit: contain !important;
  }
  .category-thumb-circle {
    width: 76px !important;
    height: 76px !important;
  }
  .category-title {
    font-size: 12.5px !important;
  }
  .custom-logo {
    max-height: 35px !important;
  }
}

/* ==========================================
   MULTILINGUAL LTR STYLES
   ========================================== */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
}

html[dir="ltr"] .main-navigation ul {
  direction: ltr;
}

html[dir="ltr"] .about-content {
  text-align: left;
}

html[dir="ltr"] .branch-info-card {
  text-align: left;
}

html[dir="ltr"] .city-tabs-list {
  text-align: left;
}

html[dir="ltr"] .footer-bottom {
  direction: ltr;
}

html[dir="ltr"] .footer-links {
  direction: ltr;
}

.lang-switcher-btn:hover {
  background-color: #0084c7 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.lang-switcher-btn:hover i {
  color: #ffffff !important;
}

/* ==========================================
   ELEMENTOR & STATIC PAGE COMPATIBILITY
   ========================================== */
.elementor-page .page-content-wrapper,
.elementor-full-width-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.elementor-section-stretched {
  left: 0 !important;
  width: 100% !important;
}

.page-content-wrapper img,
.elementor-content img {
  max-width: 100%;
  height: auto;
}

.entry-content:after {
  content: "";
  display: table;
  clear: both;
}

/* ==========================================
   FOOTER NEWSLETTER BAR
   ========================================== */
.footer-newsletter-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg, 16px);
  padding: 26px 32px;
  margin-bottom: 45px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-newsletter-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 340px;
}

.newsletter-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(224, 141, 56, 0.15);
  border: 1px solid rgba(224, 141, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-orange, #e08d38);
}

.newsletter-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.newsletter-desc {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.footer-newsletter-form-wrap {
  flex: 1 1 380px;
  max-width: 520px;
}

.footer-newsletter-form {
  position: relative;
  width: 100%;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 4px 5px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--accent-orange, #e08d38);
  box-shadow: 0 6px 20px rgba(224, 141, 56, 0.25);
}

.newsletter-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 14.5px;
  color: #1e293b;
  font-weight: 600;
  font-family: inherit;
}

.newsletter-email-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, #e08d38 0%, #c87625 100%);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 11px 24px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #f09a45 0%, #d4802c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224, 141, 56, 0.35);
}

.newsletter-submit-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.newsletter-response-msg {
  display: none;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
}

.newsletter-response-msg.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-response-msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.footer-newsletter-form,
.footer-newsletter-form-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.newsletter-consent-wrap {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.newsletter-consent-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  color: #cbd5e1 !important;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.newsletter-consent-label input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  margin-top: 1px !important;
  accent-color: var(--accent-orange, #e08d38);
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0 !important;
}

#footer-newsletter-msg:empty,
.newsletter-response-msg:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .footer-newsletter-box {
    padding: 10px 12px 10px !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    border-radius: 10px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .footer-newsletter-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .footer-newsletter-info {
    flex-direction: row !important;
    align-items: center !important;
    text-align: right !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  html[dir="ltr"] .footer-newsletter-info {
    text-align: left !important;
  }
  .newsletter-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
  }
  .newsletter-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
  .newsletter-title {
    font-size: 14px !important;
    margin: 0 0 1px 0 !important;
  }
  .newsletter-desc {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
  .footer-newsletter-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .footer-newsletter-form {
    height: auto !important;
    min-height: 0 !important;
  }
  .newsletter-input-group {
    flex-direction: row !important;
    border-radius: 20px !important;
    padding: 2px 2px 2px 8px !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }
  html[dir="rtl"] .newsletter-input-group {
    padding: 2px 8px 2px 2px !important;
  }
  .newsletter-email-input {
    width: 100% !important;
    text-align: right !important;
    height: 34px !important;
    font-size: 11.5px !important;
  }
  html[dir="ltr"] .newsletter-email-input {
    text-align: left !important;
  }
  .newsletter-submit-btn {
    width: auto !important;
    white-space: nowrap !important;
    border-radius: 18px !important;
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
  }
  .newsletter-consent-wrap {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
  }
  .newsletter-consent-label {
    font-size: 10.5px !important;
    justify-content: flex-start !important;
    text-align: right !important;
    gap: 5px !important;
  }
  html[dir="ltr"] .newsletter-consent-label {
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  .footer-newsletter-box {
    padding: 8px 10px 8px !important;
    margin-bottom: 10px !important;
  }
  .newsletter-consent-label {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
}

/* ==========================================
   HEADER SEARCH BAR & AUTO-SUGGESTION DROPDOWN
========================================== */
.header-search-subrow {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0 12px;
}

.header-search-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 28px;
  padding: 4px 6px 4px 16px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

html[dir="rtl"] .header-search-form {
  padding: 4px 16px 4px 6px;
}

.header-search-form:focus-within {
  background: #ffffff;
  border-color: #e08d38;
  box-shadow: 0 4px 15px rgba(224, 141, 56, 0.18);
}

.header-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  position: relative;
}

.header-search-icon {
  color: #64748b;
  flex-shrink: 0;
}

.header-search-field {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #1e293b;
  padding: 8px 0;
}

.header-search-field::placeholder {
  color: #94a3b8;
}

/* Disable native browser search cancel button to prevent duplicate 'X' icons */
.header-search-field::-webkit-search-cancel-button,
.header-search-field::-webkit-search-decoration,
.header-search-field::-webkit-search-results-button,
.header-search-field::-webkit-search-results-decoration,
.search-page-input::-webkit-search-cancel-button,
.search-page-input::-webkit-search-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

.header-search-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.header-search-clear:hover {
  color: #ef4444;
}

.header-search-btn {
  background: #183857;
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-search-btn:hover {
  background: #e08d38;
  transform: scale(1.05);
}

/* Auto-Suggestion Dropdown Popup */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  z-index: 1005;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.search-suggestions-wrapper {
  padding: 8px 0;
}

.suggestion-group {
  border-bottom: 1px solid #f1f5f9;
}

.suggestion-group:last-child {
  border-bottom: none;
}

.suggestion-group-title {
  padding: 8px 16px 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
}

.suggestion-items {
  display: flex;
  flex-direction: column;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

.suggestion-item:hover {
  background: #f1f5f9;
}

.suggestion-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.suggestion-icon.branch-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

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

.suggestion-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-sub {
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-sub.price-sub {
  color: #e08d38;
  font-weight: 800;
}

.suggestion-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.cat-badge {
  background: #eff6ff;
  color: #2563eb;
}

.branch-badge {
  background: #f0fdf4;
  color: #16a34a;
}

.offer-badge {
  background: #fff7ed;
  color: #ea580c;
}

.suggestion-footer {
  padding: 10px 16px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.suggestion-all-link {
  font-size: 12.5px;
  font-weight: 800;
  color: #183857;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.suggestion-all-link:hover {
  color: #e08d38;
}

.suggestion-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 992px) {
  .header-search-container {
    max-width: 240px;
    margin: 0 10px;
  }
}

@media (max-width: 768px) {
  .header-search-container {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0;
  }
  .header-wrapper {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }
}

/* ==========================================
   DESKTOP SEARCH TOGGLE, LANG SWITCHER & FOOTER NEWSLETTER UPDATES
   ========================================== */
.desktop-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #183857;
  cursor: pointer;
  transition: all 0.25s ease;
}

.desktop-search-toggle:hover,
.desktop-search-toggle.active {
  background: #183857;
  color: #ffffff;
  border-color: #183857;
  box-shadow: 0 4px 12px rgba(24, 56, 87, 0.2);
}

.single-lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  padding: 0 14px;
  height: 38px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #183857;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.single-lang-toggle-btn:hover {
  background: #183857;
  color: #ffffff;
  border-color: #183857;
  box-shadow: 0 4px 12px rgba(24, 56, 87, 0.2);
}

/* Language Switcher Dropdown Styling */
.lang-switcher-wrapper {
  position: relative;
  display: inline-block;
}

.lang-switcher-wrapper.is-open .lang-switcher-toggle-btn {
  background: #183857;
  color: #ffffff;
  border-color: #183857;
  box-shadow: 0 4px 12px rgba(24, 56, 87, 0.2);
}

.lang-chevron-icon {
  transition: transform 0.25s ease;
}

.lang-switcher-wrapper.is-open .lang-chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  min-width: 150px;
  padding: 6px;
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

.lang-switcher-wrapper.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #1e293b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.lang-dropdown-option:hover {
  background: #f1f5f9;
  color: #e08d38;
}

.lang-dropdown-option.is-active {
  background: #eff6ff;
  color: #183857;
  font-weight: 700;
}

.lang-active-check {
  margin-right: auto;
  color: #e08d38;
}

html[dir="rtl"] .lang-active-check {
  margin-right: 0;
  margin-left: auto;
}

/* Mobile Icon-Only Rule & Direct Dropdown Positioning (max-width: 991px) */
@media (max-width: 991px) {
  .header-lang-switcher {
    position: relative !important;
    z-index: 1003 !important;
  }

  .lang-switcher-wrapper {
    position: relative !important;
    display: inline-flex !important;
  }

  .lang-switcher-toggle-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }

  .lang-switcher-toggle-btn .lang-text-label,
  .lang-switcher-toggle-btn .lang-chevron-icon {
    display: none !important;
  }

  .lang-switcher-toggle-btn .lang-globe-icon {
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
  }

  .lang-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    min-width: 125px !important;
    max-width: 200px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 1005 !important;
    white-space: nowrap !important;
  }

  /* In Arabic (RTL): Search & Lang are on the LEFT -> Dropdown aligns left: 0 & expands RIGHTWARDS */
  html[dir="rtl"] .lang-dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform-origin: top left !important;
  }

  /* In English (LTR): Search & Lang are on the RIGHT -> Dropdown aligns right: 0 & expands LEFTWARDS */
  html[dir="ltr"] .lang-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    transform-origin: top right !important;
  }
}

.header-search-subrow {
  transition: all 0.3s ease;
}

/* Compact newsletter column inside main footer grid */
.footer-col-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
}

.compact-input-group {
  padding: 3px 4px !important;
  background: #ffffff !important;
  border-radius: 30px !important;
}

.compact-input-group .newsletter-email-input {
  padding: 6px 12px !important;
  font-size: 13px !important;
}

.compact-btn {
  padding: 7px 16px !important;
  font-size: 13px !important;
  border-radius: 30px !important;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ======================================================
   MUZN STANDALONE PAGE MOBILE TYPOGRAPHY & GRID STYLING
   ====================================================== */
@media (max-width: 768px) {
  .muzn-hero-banner {
    padding: 40px 0 50px 0 !important;
  }
  .muzn-hero-banner h1 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .muzn-hero-banner p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .muzn-tiers-section {
    margin-top: -20px !important;
  }
  .muzn-tiers-header-box {
    padding: 22px 16px !important;
    margin-bottom: 25px !important;
    border-radius: 16px !important;
  }
  .muzn-tiers-header-box h2 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .muzn-tiers-header-box p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .muzn-tiers-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .muzn-tier-card {
    padding: 25px 18px !important;
    border-radius: 16px !important;
  }
  .muzn-tier-card h3 {
    font-size: 18px !important;
  }
  .muzn-tier-card p {
    font-size: 13.5px !important;
  }

  .muzn-mechanics-section {
    margin-top: 35px !important;
  }
  .muzn-mechanics-box {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }
  .muzn-mechanics-box h2 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
  }
  .muzn-mechanics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .muzn-mechanics-card {
    padding: 18px 14px !important;
    border-radius: 12px !important;
  }
  .muzn-mechanics-card h3 {
    font-size: 17px !important;
  }
  .muzn-mechanics-card ul {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
  }

  .muzn-cta-section {
    margin-top: 35px !important;
  }
  .muzn-cta-box {
    padding: 30px 20px !important;
    border-radius: 16px !important;
  }
  .muzn-cta-box h2 {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }
  .muzn-cta-box p {
    font-size: 14px !important;
  }
  .muzn-cta-box a {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 576px) {
  .muzn-hero-banner h1 {
    font-size: 21px !important;
  }
  .muzn-hero-banner p {
    font-size: 13.5px !important;
  }
  .muzn-tiers-header-box h2,
  .muzn-mechanics-box h2 {
    font-size: 18.5px !important;
  }
  .muzn-tier-card h3,
  .muzn-mechanics-card h3 {
    font-size: 16.5px !important;
  }
  .muzn-cta-box h2 {
    font-size: 19px !important;
  }
}

/* ======================================================
   CONTACT US PAGE MOBILE RESPONSIVE STYLING
   ====================================================== */
@media (max-width: 768px) {
  .contact-hero-banner {
    padding: 40px 0 35px !important;
  }
  .contact-hero-title {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .contact-hero-desc {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .contact-content-section {
    padding: 30px 0 45px !important;
  }

  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-form-card {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }
  .contact-form-title {
    font-size: 19px !important;
  }

  .contact-field-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .contact-input-field {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
  }

  .contact-captcha-box {
    padding: 14px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }
  .contact-captcha-inner {
    gap: 10px !important;
  }
  .contact-captcha-math {
    padding: 8px 16px !important;
    font-size: 18px !important;
    letter-spacing: 2px !important;
  }
  #contact-captcha-input {
    width: 90px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
  }

  #contact-submit-btn {
    padding: 13px 20px !important;
    font-size: 15px !important;
    width: 100% !important;
  }

  .contact-info-box {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
  }
  .contact-info-box svg {
    width: 28px !important;
    height: 28px !important;
  }
  .contact-info-box h3 {
    font-size: 16.5px !important;
    margin-bottom: 6px !important;
  }
  .contact-info-box p {
    font-size: 13.5px !important;
  }
}

@media (max-width: 576px) {
  .contact-hero-title {
    font-size: 21px !important;
  }
  .contact-hero-desc {
    font-size: 13.5px !important;
  }
  .contact-form-title {
    font-size: 17.5px !important;
  }
}

/* ======================================================
   CATEGORIES & SINGLE CATEGORY MOBILE RESPONSIVE STYLING
   ====================================================== */
@media (max-width: 768px) {
  /* Categories Main Page */
  .categories-hero-banner {
    padding: 40px 0 50px !important;
  }
  .cat-hero-title {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .cat-hero-desc {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .categories-main-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .cat-card-img-wrap {
    height: 180px !important;
  }
  .cat-card-body {
    padding: 16px 14px !important;
  }
  .cat-card-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }
  .cat-card-desc {
    font-size: 13.5px !important;
  }

  /* Promo Card Bottom Banner styling for Mobile */
  .categories-promo-box {
    margin-top: 30px !important;
  }
  .cat-promo-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    text-align: center !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  .cat-promo-text {
    max-width: 100% !important;
    text-align: center !important;
  }
  .cat-promo-title {
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
  }
  .cat-promo-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #fff3e6 !important;
    margin-bottom: 0 !important;
  }
  .cat-promo-btn-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .cat-promo-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 20px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    text-align: center !important;
  }

  /* Single Category Detail Page */
  .single-cat-hero-banner {
    padding: 40px 0 50px !important;
  }
  .single-cat-hero-title {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .single-cat-hero-desc {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .single-cat-feature-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .single-cat-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .single-cat-img-box {
    height: 220px !important;
    border-radius: 14px !important;
  }
  .single-cat-title {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  .single-cat-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }
  .single-cat-rich-content {
    font-size: 13.5px !important;
    padding: 14px !important;
    margin-bottom: 18px !important;
  }

  .single-cat-bullets-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }
  .single-cat-bullet-item {
    font-size: 13.5px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 576px) {
  .cat-hero-title,
  .single-cat-hero-title {
    font-size: 21px !important;
  }
  .cat-hero-desc,
  .single-cat-hero-desc {
    font-size: 13.5px !important;
  }
  .cat-card-title,
  .single-cat-title {
    font-size: 16.5px !important;
  }
  .cat-promo-title {
    font-size: 17.5px !important;
  }
  .cat-promo-desc {
    font-size: 13px !important;
  }
}

/* ==========================================
   FAQ & POLICIES MOBILE RESPONSIVE STYLES
========================================== */
@media (max-width: 768px) {
  /* FAQ Mobile Styles */
  .faq-hero-banner {
    padding: 40px 15px 48px 15px !important;
  }
  .faq-hero-title {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
  }
  .faq-hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
  .faq-items-section {
    margin-top: -22px !important;
  }
  .faq-accordion-item {
    border-radius: 12px !important;
  }
  .faq-question-header {
    padding: 16px 18px !important;
  }
  .faq-question-title {
    font-size: 15.5px !important;
    gap: 10px !important;
  }
  .faq-q-icon {
    font-size: 17px !important;
  }
  .faq-toggle-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 18px !important;
  }
  .faq-answer-inner {
    padding: 14px 18px 18px 18px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .faq-cta-box {
    margin-top: 32px !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }
  .faq-cta-title {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .faq-cta-desc {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }
  .faq-cta-btn {
    padding: 11px 22px !important;
    font-size: 14.5px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Policies Mobile Styles */
  .policies-hero-banner {
    padding: 40px 15px 48px 15px !important;
  }
  .policies-hero-title {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
  }
  .policies-hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
  .policies-content-section {
    margin-top: -22px !important;
  }
  .policies-list-wrapper {
    gap: 18px !important;
  }
  .policy-card-item {
    padding: 22px 18px !important;
    border-radius: 14px !important;
    border-right-width: 4px !important;
  }
  html[dir="ltr"] .policy-card-item {
    border-left-width: 4px !important;
  }
  .policy-card-title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .policy-card-icon {
    font-size: 20px !important;
  }
  .policy-card-body {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* Offers Page Mobile Typography & Formatting */
  .offers-hero-banner {
    padding: 45px 15px 55px 15px !important;
  }
  .offers-hero-title {
    font-size: 25px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .offers-hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
  .offers-banner-full {
    margin-top: -25px !important;
  }
  .offers-cards-section {
    margin-top: 35px !important;
  }
  .offers-sec-header {
    margin-bottom: 25px !important;
  }
  .offers-sec-title {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
  .offers-sec-subtitle {
    font-size: 14px !important;
  }
  .offers-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .offer-card-item {
    border-radius: 14px !important;
  }
  .offer-card-tag {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }
  .offer-card-img-wrap {
    height: 200px !important;
    padding: 10px !important;
  }
  .offer-card-body {
    padding: 18px !important;
  }
  .offer-card-title {
    font-size: 16.5px !important;
    line-height: 1.4 !important;
  }
  .offer-card-price {
    font-size: 13.5px !important;
    padding: 3px 8px !important;
  }
  .offer-card-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 15px !important;
  }
  .offer-card-btn {
    font-size: 13.5px !important;
    padding: 9px 18px !important;
  }
  .offers-pagination {
    margin-top: 35px !important;
    gap: 6px !important;
  }
  .offers-pagination a,
  .offers-pagination span {
    padding: 8px 13px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
  .offers-cta-section {
    margin-top: 40px !important;
  }
  .offers-cta-box {
    padding: 30px 18px !important;
    border-radius: 16px !important;
  }
  .offers-cta-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
  .offers-cta-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
  .offers-cta-btn {
    font-size: 14px !important;
    padding: 12px 24px !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Search Results Page Mobile Typography & Formatting */
  .search-hero-section {
    padding: 35px 15px 30px !important;
  }
  .search-hero-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .search-hero-subtitle {
    font-size: 13.5px !important;
    margin-bottom: 18px !important;
  }
  .search-page-form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .search-page-input {
    height: 46px !important;
    font-size: 14.5px !important;
    padding: 0 16px !important;
  }
  .search-page-submit {
    height: 44px !important;
    font-size: 14.5px !important;
    padding: 0 20px !important;
    width: 100% !important;
  }
  .search-tabs-wrapper {
    margin-bottom: 25px !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch;
  }
  .search-tab-btn {
    font-size: 13px !important;
    padding: 8px 15px !important;
    white-space: nowrap !important;
  }
  .search-group-title {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
  .search-group-count {
    font-size: 12.5px !important;
    padding: 2px 8px !important;
  }
  .search-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .search-category-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }
  .search-category-card div {
    width: 75px !important;
    height: 75px !important;
    margin-bottom: 10px !important;
  }
  .search-cat-title {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .search-cat-link {
    font-size: 11.5px !important;
    margin-top: 6px !important;
  }
  .search-branches-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .search-branch-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  .search-branch-badge {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
  .search-branch-title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .search-branch-address {
    font-size: 12.5px !important;
    margin-bottom: 6px !important;
  }
  .search-branch-hours {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .search-branch-details-btn,
  .search-branch-map-btn {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  .search-offers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .search-offer-card {
    border-radius: 14px !important;
  }
  .search-offer-card img {
    height: 160px !important;
  }
  .search-offer-tag {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }
  .search-offer-card > div:last-child {
    padding: 15px !important;
  }
  .search-offer-title {
    font-size: 15.5px !important;
    margin-bottom: 6px !important;
  }
  .search-offer-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
  }
  .search-offer-price {
    font-size: 16px !important;
  }
  .search-offer-btn {
    font-size: 12.5px !important;
    padding: 7px 14px !important;
  }
  .search-empty-state {
    padding: 35px 15px !important;
    border-radius: 16px !important;
  }
  .search-empty-icon {
    font-size: 42px !important;
    margin-bottom: 12px !important;
  }
  .search-empty-title {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }
  .search-empty-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .search-suggestion-chip {
    font-size: 12px !important;
    padding: 5px 12px !important;
  }
}

@media (max-width: 480px) {
  /* FAQ Small Mobile Adjustments */
  .faq-hero-banner {
    padding: 35px 12px 42px 12px !important;
  }
  .faq-hero-title {
    font-size: 21px !important;
  }
  .faq-hero-subtitle {
    font-size: 13px !important;
  }
  .faq-question-header {
    padding: 14px 14px !important;
  }
  .faq-question-title {
    font-size: 14.5px !important;
  }
  .faq-answer-inner {
    padding: 12px 14px 16px 14px !important;
    font-size: 13.5px !important;
  }
  .faq-cta-title {
    font-size: 16.5px !important;
  }
  .faq-cta-desc {
    font-size: 13px !important;
  }

  /* Policies Small Mobile Adjustments */
  .policies-hero-banner {
    padding: 35px 12px 42px 12px !important;
  }
  .policies-hero-title {
    font-size: 21px !important;
  }
  .policies-hero-subtitle {
    font-size: 13px !important;
  }
  .policy-card-item {
    padding: 18px 14px !important;
  }
  .policy-card-title {
    font-size: 16.5px !important;
  }
  .policy-card-icon {
    font-size: 18px !important;
  }
  .policy-card-body {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  /* Offers Page Small Mobile Typography Adjustments */
  .offers-hero-title {
    font-size: 22px !important;
  }
  .offers-hero-subtitle {
    font-size: 13.5px !important;
  }
  .offers-sec-title {
    font-size: 19px !important;
  }
  .offers-sec-subtitle {
    font-size: 13px !important;
  }
  .offer-card-title {
    font-size: 15.5px !important;
  }
  .offers-cta-title {
    font-size: 18.5px !important;
  }
  .offers-cta-desc {
    font-size: 13px !important;
  }

  /* Search Results Page Small Mobile Typography Adjustments */
  .search-hero-title {
    font-size: 19px !important;
  }
  .search-hero-subtitle {
    font-size: 12.5px !important;
  }
  .search-group-title {
    font-size: 16.5px !important;
  }
  .search-cat-title {
    font-size: 13px !important;
  }
  .search-branch-title {
    font-size: 15px !important;
  }
  .search-offer-title {
    font-size: 14.5px !important;
  }
}
