/* ==========================================================
   WhatsApp Store Pro — main.css
   ========================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: var(--wasp-font-size, 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* ← منع التمرير الأفقي */
  max-width: 100%;
}

body {
  font-family: var(--wasp-font-body, "Tajawal", sans-serif);
  color: var(--wasp-text, #333344);
  background: var(--wasp-bg, #ffffff);
  line-height: 1.7;
  overflow-x: hidden; /* ← منع التمرير الأفقي */
  max-width: 100%;
  width: 100%;
}

body.dir-rtl { direction: rtl; text-align: right; }
body.dir-ltr { direction: ltr; text-align: left; }

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wasp-font-heading, "Cairo", sans-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--wasp-dark, #1a1a2e);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--wasp-container, 1200px);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 80px;
}

.section--alt {
  background: var(--wasp-light, #f8f9ff);
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 48px;
}
.section-header--center { text-align: center; }
.section-header--start  { text-align: start; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--wasp-dark);
  margin-bottom: 12px;
  position: relative;
}

.section-subtitle {
  font-size: 1rem;
  color: #777;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.section-line {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--wasp-primary, #6c63ff), var(--wasp-secondary, #ff6584));
  border-radius: 99px;
  margin: 0 auto;
}
.section-header--start .section-line { margin-inline-start: 0; }

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wasp-primary);
  background: color-mix(in srgb, var(--wasp-primary) 12%, transparent);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--wasp-font-heading);
  font-weight: 600;
  border-radius: var(--wasp-radius, 12px);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--sm  { font-size: .82rem; padding: 8px 16px; }
.btn--md  { font-size: .9rem;  padding: 11px 22px; }
.btn--lg  { font-size: 1rem;   padding: 14px 28px; }
.btn--xl  { font-size: 1.1rem; padding: 16px 36px; }
.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--wasp-primary) 0%, color-mix(in srgb, var(--wasp-primary) 80%, var(--wasp-secondary)) 100%);
  color: #fff;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--wasp-primary) 35%, transparent);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--wasp-primary) 45%, transparent);
}

.btn--wa {
  background: linear-gradient(135deg, #25D366, #20b858);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
}
.btn--wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

.btn--outline {
  background: transparent;
  border-color: var(--wasp-primary);
  color: var(--wasp-primary);
}
.btn--outline:hover {
  background: var(--wasp-primary);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
}

.btn--white {
  background: #fff;
  color: var(--wasp-primary);
  border-color: #fff;
  font-weight: 700;
}
.btn--white:hover {
  background: var(--wasp-light);
  transform: translateY(-2px);
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--wasp-primary), var(--wasp-secondary));
  color: #fff;
  padding: 10px 0;
  font-size: .85rem;
  position: relative;
  z-index: 200;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.topbar__text { font-weight: 500; }
.topbar__close {
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .2s;
}
.topbar__close:hover { background: rgba(0,0,0,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  transition: all .3s ease;
  border-bottom: 1px solid rgba(0,0,0,.06);
  width: 100%;
  max-width: 100%;
  /* لا overflow:hidden هنا — يمنع ظهور dropdown البحث */
  overflow: visible;
}
.site-header--transparent {
  position: absolute;
  width: 100%;
  background: transparent !important;
  border-bottom-color: transparent;
}
.site-header--transparent.is-scrolled,
.site-header--sticky {
  position: sticky;
  background: var(--wasp-header-bg, #fff) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.site-header--solid { background: var(--wasp-header-bg, #fff); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding-block: 10px;
}

/* Logo */
.site-branding { flex-shrink: 0; }
.site-logo { display: flex; align-items: center; }
.logo-img   { height: 45px; width: auto; object-fit: contain; }
.logo-text  {
  font-family: var(--wasp-font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--wasp-primary), var(--wasp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.primary-nav { flex: 1; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 8px;
  color: var(--wasp-header-text, var(--wasp-dark));
  transition: all .2s;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--wasp-primary);
  background: color-mix(in srgb, var(--wasp-primary) 8%, transparent);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--wasp-radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
  z-index: 100;
}
.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .85rem;
  color: var(--wasp-text);
}
.nav-menu .sub-menu li a:hover { background: var(--wasp-light); color: var(--wasp-primary); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-action {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: var(--wasp-header-text, var(--wasp-dark));
}
.header-action:hover { background: var(--wasp-light); color: var(--wasp-primary); }

.header-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #25D366, #20b858);
  color: #fff !important;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
}
.header-wa-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.4); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wasp-header-text, var(--wasp-dark));
  border-radius: 99px;
  transition: all .3s;
}
.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search Dropdown */
.search-dropdown {
  position: absolute;    /* ← absolute بالنسبة للـ header */
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: 20px 0;
  z-index: 999;          /* ← فوق كل شيء */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s;
  /* يخترق حدود الـ header */
  overflow: visible;
}
.search-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--wasp-primary);
  border-radius: var(--wasp-radius);
  padding: 4px 12px;
}
.search-input {
  flex: 1;
  padding: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--wasp-dark);
}
.search-close {
  padding: 6px;
  color: #999;
  border-radius: 6px;
  transition: all .2s;
}
.search-close:hover { background: var(--wasp-light); color: var(--wasp-primary); }

.search-results {
  margin-top: 12px;
  max-height: 360px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s;
  cursor: pointer;
}
.search-result-item:hover { background: var(--wasp-light); }
.search-result-item img {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.search-result-item__info { flex: 1; min-width: 0; }
.search-result-item__title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-item__price { font-size: .8rem; color: var(--wasp-primary); }
.search-no-results { text-align: center; padding: 20px; color: #999; }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 140;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav-overlay.is-open { opacity: 1; }

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  overflow: hidden;           /* ← يحبس الـ swiper */
  background: var(--wasp-dark);
  min-height: 480px;
  width: 100%;
  max-width: 100%;
}
.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;           /* ← مهم جداً للـ swiper */
}
.hero-swiper .swiper-wrapper {
  height: 100%;
  width: 100%;
}
.hero-slide {
  height: 100%;
  min-height: inherit;
  position: relative;
  display: flex;
  align-items: center;
  width: 100% !important;     /* ← يمنع الـ slide من التمدد */
  max-width: 100vw;
  overflow: hidden;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
  /* Beautiful gradient fallback when no image */
  background-color: var(--wasp-dark);
  background-image: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 30%,
    color-mix(in srgb, var(--wasp-primary, #6c63ff) 40%, #1a1a2e) 65%,
    color-mix(in srgb, var(--wasp-secondary, #ff6584) 25%, #1a1a2e) 100%
  );
}
.hero-slide__bg[style*="background-image:url"] {
  /* When real image exists, reduce gradient */
  background-image: none;
}
.hero-swiper .swiper-slide-active .hero-slide__bg {
  transform: scale(1.04);
}
.hero-slide__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,.92) 0%,
    rgba(22,33,62,.7) 40%,
    color-mix(in srgb, var(--wasp-primary, #6c63ff) 35%, transparent) 100%
  );
}
/* Decorative animated shapes for no-image slides */
.hero-slide__gradient::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--wasp-primary, #6c63ff) 20%, transparent) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: heroGlow 6s ease-in-out infinite alternate;
}
.hero-slide__gradient::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--wasp-secondary, #ff6584) 15%, transparent) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  animation: heroGlow 8s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlow {
  0%   { transform: scale(1) translate(0, 0); opacity: .6; }
  100% { transform: scale(1.3) translate(30px, 20px); opacity: 1; }
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  /* Lighter overlay so text is readable but not too dark */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.35) 100%
  );
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero-slide__text {
  max-width: 640px;
  padding-block: 80px;
  /* Ensure visible even without image */
  position: relative;
  z-index: 3;
}
.hero-slide__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-slide__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Swiper overrides for hero */
.hero-swiper__next,
.hero-swiper__prev {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  transition: all .2s;
}
.hero-swiper__next:hover,
.hero-swiper__prev:hover { background: var(--wasp-primary); }
.hero-swiper__next::after,
.hero-swiper__prev::after { font-size: 16px; color: #fff; font-weight: 700; }

.hero-swiper__pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,.5);
  opacity: 1;
  transition: all .3s;
}
.hero-swiper__pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero-scroll-hint__icon {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 13px;
  position: relative;
}
.hero-scroll-hint__icon::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollHint 1.8s ease infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ---------- Category Cards ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  border-radius: var(--wasp-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}
.category-card__image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--wasp-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s ease;
}
.category-card:hover .category-card__image { transform: scale(1.04); }
.category-card__icon { font-size: 3rem; }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.5));
  opacity: 0;
  transition: opacity .3s;
}
.category-card:hover .category-card__overlay { opacity: 1; }
.category-card__body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.category-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--wasp-dark);
  margin: 0;
}
.category-card__count {
  font-size: .75rem;
  color: var(--wasp-primary);
  background: color-mix(in srgb, var(--wasp-primary) 10%, transparent);
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 600;
  white-space: nowrap;
}
.category-card__arrow { font-size: 1rem; color: var(--wasp-primary); transition: transform .2s; }
.category-card:hover .category-card__arrow { transform: translateX(-4px); }
body.dir-ltr .category-card:hover .category-card__arrow { transform: translateX(4px); }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.products-grid--cols-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.products-grid--list { grid-template-columns: 1fr; }

.product-card {
  background: #fff;
  border-radius: var(--wasp-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
}
.product-card--featured { border: 2px solid var(--wasp-primary); }

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--wasp-light);
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.07); }
.product-card__no-image {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--wasp-light), #eee);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.product-card:hover .product-card__overlay { opacity: 1; }

.featured-star {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge--new     { background: #2196F3; color: #fff; }
.badge--best    { background: #FF5722; color: #fff; }
.badge--offer   { background: #E91E63; color: #fff; }
.badge--hot     { background: #FF9800; color: #fff; }
.badge--limited { background: #9C27B0; color: #fff; }

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.product-card__title a { color: var(--wasp-dark); }
.product-card__title a:hover { color: var(--wasp-primary); }
.product-card__desc { font-size: .82rem; color: #777; line-height: 1.5; flex: 1; }

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

/* Price */
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--wasp-primary);
}
.price-old {
  font-size: .8rem;
  color: #aaa;
  text-decoration: line-through;
}

/* Stock */
.stock-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
}
.stock--in    { background: #e8f5e9; color: #2e7d32; }
.stock--out   { background: #fce4ec; color: #c62828; }
.stock--order { background: #fff3e0; color: #e65100; }

/* ---------- Promo Strip ---------- */
.section--promo-strip {
  padding-block: 32px;
  background: var(--wasp-light);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.promo-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.promo-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: var(--wasp-radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.promo-strip-icon { font-size: 2rem; flex-shrink: 0; }
.promo-strip-item strong { display: block; font-weight: 700; color: var(--wasp-dark); font-size: .95rem; }
.promo-strip-item span  { display: block; font-size: .78rem; color: #888; }

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image__inner {
  position: relative;
  border-radius: calc(var(--wasp-radius) * 2);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.about-image__inner img { width: 100%; height: 400px; object-fit: cover; }
.about-image__badge {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 20px;
  background: var(--wasp-primary);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.about-image__badge-num { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-image__badge span { font-size: .75rem; opacity: .9; }

.about-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 20px; }
.about-text  { color: #555; line-height: 1.8; margin-bottom: 24px; }
.about-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 500;
}
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats ---------- */
.section--stats {
  background: linear-gradient(135deg, var(--wasp-dark) 0%, color-mix(in srgb, var(--wasp-dark) 80%, var(--wasp-primary)) 100%);
  padding-block: 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-icon  { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.stat-num   { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; display: block; color: #fff; margin-bottom: 6px; }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- Reviews ---------- */
.section--reviews { background: var(--wasp-light); }
.reviews-swiper { padding-bottom: 40px !important; }
.review-card {
  background: #fff;
  border-radius: var(--wasp-radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  height: auto;
}
.review-card__header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.review-card__avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--wasp-primary), var(--wasp-secondary));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.review-card__meta strong { display: block; font-weight: 700; font-size: .95rem; }
.review-card__meta span   { font-size: .78rem; color: #999; }
.review-card__stars { margin-bottom: 12px; }
.star { font-size: 1.1rem; }
.star--filled { color: #FFB300; }
.star--empty  { color: #ddd; }
.review-card__text { font-size: .88rem; color: #555; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-card__verified { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #25D366; font-weight: 600; }
.reviews-swiper__pagination .swiper-pagination-bullet-active { background: var(--wasp-primary); }

/* ---------- CTA Section ---------- */
.section--cta {
  padding-block: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-particle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  animation: floatParticle 6s ease-in-out infinite;
}
.cta-particle:nth-child(1)  { top: 10%; left: 10%; animation-delay: 0s; }
.cta-particle:nth-child(2)  { top: 20%; left: 80%; animation-delay: .5s; }
.cta-particle:nth-child(3)  { top: 60%; left: 15%; animation-delay: 1s; }
.cta-particle:nth-child(4)  { top: 80%; left: 70%; animation-delay: 1.5s; }
.cta-particle:nth-child(5)  { top: 40%; left: 50%; animation-delay: 2s; }
.cta-particle:nth-child(6)  { top: 70%; left: 30%; animation-delay: 2.5s; }
.cta-particle:nth-child(7)  { top: 30%; left: 60%; animation-delay: 3s; }
.cta-particle:nth-child(8)  { top: 90%; left: 45%; animation-delay: 3.5s; }
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: .3; }
  50%       { transform: translateY(-30px) scale(1.5); opacity: .8; }
}
.cta-content { position: relative; z-index: 1; }
.cta-wa-icon { margin-bottom: 20px; }
.cta-wa-icon svg { opacity: .9; filter: drop-shadow(0 4px 16px rgba(0,0,0,.3)); }
.cta-title { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; font-weight: 900; margin-bottom: 16px; }
.cta-text  { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Section More ---------- */
.section-more { text-align: center; margin-top: 40px; }

/* ---------- Load More ---------- */
.load-more-wrap { text-align: center; margin-top: 32px; }

/* ---------- Filter Tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid #e0e0e0;
  color: #666;
  transition: all .2s;
  background: #fff;
}
.filter-tab:hover { border-color: var(--wasp-primary); color: var(--wasp-primary); }
.filter-tab--active { background: var(--wasp-primary); color: #fff; border-color: var(--wasp-primary); }

/* ---------- Footer ---------- */
.site-footer { color: var(--wasp-footer-text, #a0a0b0); }
.footer-top { padding-block: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wasp-footer-heading, #fff);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo     { display: inline-block; margin-bottom: 16px; }
.footer-logo-text { font-family: var(--wasp-font-heading); font-size: 1.4rem; font-weight: 800; color: #fff; }
.footer-brand-desc { font-size: .85rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--wasp-footer-text, #a0a0b0);
  transition: color .2s;
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-icon { flex-shrink: 0; }

.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: rgba(255,255,255,.6);
}
.social-link:hover { background: var(--wasp-primary); color: #fff; transform: translateY(-2px); }
.social-wa:hover    { background: #25D366; }
.social-ig:hover    { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-fb:hover    { background: #1877F2; }
.social-tw:hover    { background: #000; }
.social-yt:hover    { background: #FF0000; }
.social-tt:hover    { background: #000; }

.footer-menu { display: flex; flex-direction: column; gap: 10px; }
.footer-menu li a {
  font-size: .87rem;
  color: var(--wasp-footer-text, #a0a0b0);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  padding: 2px 0;
}
.footer-menu li a:hover { color: #fff; transform: translateX(-4px); }
body.dir-ltr .footer-menu li a:hover { transform: translateX(4px); }
.footer-cat-count { font-size: .75rem; color: var(--wasp-primary); opacity: .8; }

.footer-wa-cta p { font-size: .85rem; margin-bottom: 14px; line-height: 1.6; }

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .82rem; }
.footer-credit { color: var(--wasp-primary); }
.footer-legal-menu { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-menu li a { font-size: .8rem; color: var(--wasp-footer-text); }
.footer-legal-menu li a:hover { color: #fff; }

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 500;
}
.wa-float__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #20b858);
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-family: var(--wasp-font-heading);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 2;
}
.wa-float__btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(37,211,102,.55);
  color: #fff;
}
.wa-float__ring {
  position: absolute;
  border-radius: 50px;
  background: rgba(37,211,102,.25);
  animation: waPulse 2.5s ease-out infinite;
  inset: 0;
}
.wa-float__ring--2 { animation-delay: 1s; }
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Scroll Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  inset-inline-end: 28px;
  z-index: 400;
  width: 44px; height: 44px;
  background: var(--wasp-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wasp-primary) 40%, transparent);
  transition: all .3s;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: color-mix(in srgb, var(--wasp-primary) 80%, #000); transform: translateY(-2px); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--wasp-light);
  padding-block: 14px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
}
.breadcrumb a { color: var(--wasp-primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: #bbb; }
.breadcrumb__current { color: #777; font-weight: 600; }

/* ---------- Product Single ---------- */
.product-detail { padding-block: 48px; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

/* Gallery */
.product-gallery__main { border-radius: var(--wasp-radius); overflow: hidden; margin-bottom: 12px; }
.product-gallery__img  { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .8rem;
  opacity: 0;
  transition: opacity .2s;
}
.product-gallery__main:hover .gallery-zoom-hint { opacity: 1; }
.product-gallery__placeholder {
  aspect-ratio: 1;
  background: var(--wasp-light);
  border-radius: var(--wasp-radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  font-size: 5rem;
  color: #bbb;
}

.product-gallery__thumbs { margin-top: 10px; }
.product-gallery__thumbs .swiper-slide {
  width: 72px !important; height: 72px !important;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.product-gallery__thumbs .swiper-slide-thumb-active { border-color: var(--wasp-primary); }
.product-gallery__thumb-img { width: 100%; height: 100%; object-fit: cover; }

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: var(--wasp-light);
  border-radius: 8px;
  font-size: .72rem;
  text-align: center;
  color: #666;
  font-weight: 600;
}

/* Product Info */
.product-info__top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-info__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--wasp-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.product-info__sku {
  font-size: .82rem;
  color: #999;
  margin-bottom: 12px;
}
.sku-code { font-family: monospace; color: var(--wasp-primary); font-weight: 600; }

.product-info .product-price { margin-bottom: 16px; }
.product-info .price-current { font-size: 1.6rem; }

.product-info__excerpt { font-size: .92rem; color: #555; line-height: 1.7; margin-bottom: 20px; }

.product-info__features { margin-bottom: 20px; }
.product-info__features h3 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; color: #666; text-transform: uppercase; letter-spacing: .06em; }
.product-info__features ul { display: flex; flex-direction: column; gap: 8px; }
.product-info__features li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; }
.feat-check { color: #25D366; font-weight: 800; flex-shrink: 0; }

.product-info__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; font-size: .82rem; color: #888; }
.product-cat-tag {
  background: color-mix(in srgb, var(--wasp-primary) 10%, transparent);
  color: var(--wasp-primary);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  transition: all .2s;
}
.product-cat-tag:hover { background: var(--wasp-primary); color: #fff; }

.product-order-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.product-wa-btn {
  font-size: 1.1rem;
  padding: 18px;
  border-radius: var(--wasp-radius);
  animation: waBtnPulse 3s ease-in-out infinite;
}
@keyframes waBtnPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.35); }
  50%       { box-shadow: 0 10px 36px rgba(37,211,102,.6); }
}

/* WA Message Preview */
.wa-message-preview {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--wasp-radius);
  overflow: hidden;
}
.wa-message-preview__header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: #15803d;
}
.wa-message-preview__body {
  padding: 14px;
  font-size: .82rem;
  color: #374151;
  line-height: 1.7;
  white-space: pre-line;
  font-family: monospace;
}

/* Product Tabs */
.product-tabs-section { padding-block: 40px; background: var(--wasp-light); }
.product-tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 28px;
  overflow-x: auto;
}
.product-tab-btn {
  padding: 12px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: #888;
  border-radius: 8px 8px 0 0;
  transition: all .2s;
  white-space: nowrap;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
}
.product-tab-btn:hover { color: var(--wasp-primary); }
.product-tab-btn--active {
  color: var(--wasp-primary);
  border-bottom-color: var(--wasp-primary);
  background: #fff;
}
.product-tab-panel { padding: 24px; background: #fff; border-radius: 0 var(--wasp-radius) var(--wasp-radius); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.product-tab-panel[hidden] { display: none; }
.product-description { font-size: .95rem; color: #444; line-height: 1.8; }
.product-description h2, .product-description h3 { margin-block: 16px 8px; }
.product-description p { margin-bottom: 14px; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid #f0f0f0; }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td { padding: 12px 16px; font-size: .9rem; text-align: start; }
.specs-table th { font-weight: 700; color: var(--wasp-dark); background: var(--wasp-light); width: 35%; }
.specs-table td { color: #555; }

.shipping-info { display: flex; flex-direction: column; gap: 20px; }
.shipping-item { display: flex; gap: 16px; }
.shipping-icon { font-size: 2rem; flex-shrink: 0; }
.shipping-item strong { display: block; font-weight: 700; color: var(--wasp-dark); margin-bottom: 4px; }
.shipping-item p { font-size: .88rem; color: #666; }

/* Sticky bar */
.product-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding-block: 12px;
  transform: translateY(100%);
  transition: transform .3s;
}
.product-sticky-bar.is-visible { transform: translateY(0); }
.product-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-sticky-bar__info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.product-sticky-bar__info img { border-radius: 6px; flex-shrink: 0; }
.product-sticky-bar__info span { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Archive Page ---------- */
.archive-hero {
  background: linear-gradient(135deg, var(--wasp-dark), color-mix(in srgb, var(--wasp-dark) 80%, var(--wasp-primary)));
  color: #fff;
  padding-block: 48px;
}
.archive-hero__content { text-align: center; }
.archive-hero__cat-img { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.archive-hero__cat-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-hero__title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 10px; }
.archive-hero__desc   { font-size: .95rem; color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 16px; }
.archive-hero .breadcrumb { justify-content: center; }
.archive-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.archive-hero .breadcrumb__sep,
.archive-hero .breadcrumb__current { color: rgba(255,255,255,.5); }

.archive-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-block: 40px;
}

.archive-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: #fff;
  border-radius: var(--wasp-radius);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.sidebar-close { display: none; }
.sidebar-widget { margin-bottom: 24px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget__title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #888;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-search__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
}
.sidebar-search__input:focus { border-color: var(--wasp-primary); }
.sidebar-cats { display: flex; flex-direction: column; gap: 4px; }
.sidebar-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .85rem;
  color: var(--wasp-text);
  transition: all .2s;
}
.sidebar-cat:hover { background: var(--wasp-light); color: var(--wasp-primary); }
.sidebar-cat--active { background: color-mix(in srgb, var(--wasp-primary) 12%, transparent); color: var(--wasp-primary); font-weight: 600; }
.sidebar-cat__count {
  margin-inline-start: auto;
  font-size: .72rem;
  background: var(--wasp-light);
  padding: 2px 6px;
  border-radius: 99px;
  color: #888;
  flex-shrink: 0;
}
.sidebar-cat--active .sidebar-cat__count { background: color-mix(in srgb, var(--wasp-primary) 15%, transparent); color: var(--wasp-primary); }
.sidebar-cat__img { border-radius: 4px; flex-shrink: 0; }

.sidebar-sort { display: flex; flex-direction: column; gap: 8px; }
.sidebar-sort__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background .15s;
}
.sidebar-sort__opt:hover { background: var(--wasp-light); }
.sidebar-sort__opt input { accent-color: var(--wasp-primary); }

.sidebar-wa-cta__inner {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.sidebar-wa-cta__inner p { font-size: .82rem; color: #374151; margin-bottom: 12px; line-height: 1.5; }

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.archive-toolbar__left, .archive-toolbar__right { display: flex; align-items: center; gap: 10px; }
.archive-count { font-size: .85rem; color: #888; font-weight: 600; }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #888;
  transition: all .2s;
  border: 1px solid #e0e0e0;
}
.view-btn:hover, .view-btn--active { background: var(--wasp-primary); color: #fff; border-color: var(--wasp-primary); }

/* List view */
.products-grid.view--list { grid-template-columns: 1fr; }
.products-grid.view--list .product-card { flex-direction: row; }
.products-grid.view--list .product-card__image { width: 180px; flex-shrink: 0; aspect-ratio: 1; }
.products-grid.view--list .product-card__body { flex: 1; padding: 20px; justify-content: center; }

.loader-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--wasp-light);
  border-top-color: var(--wasp-primary);
  border-radius: 50%;
  margin: 24px auto;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.no-products-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: #888;
}
.no-products-found__icon { font-size: 4rem; display: block; margin-bottom: 16px; }
.no-products-found h3 { font-size: 1.3rem; color: var(--wasp-dark); margin-bottom: 8px; }
.no-products-found p  { margin-bottom: 24px; }

.sidebar-overlay {
  /* مخفي دائماً — يظهر فقط عبر JS بإضافة is-open */
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 299;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.sidebar-overlay.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Pagination ---------- */
.wasp-pagination { margin-top: 40px; }
.wasp-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.wasp-pagination .page-numbers li a,
.wasp-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 8px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--wasp-text);
  transition: all .2s;
}
.wasp-pagination .page-numbers li a:hover { background: var(--wasp-primary); color: #fff; border-color: var(--wasp-primary); }
.wasp-pagination .page-numbers li span.current { background: var(--wasp-primary); color: #fff; border-color: var(--wasp-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid  { grid-template-columns: 1fr; gap: 32px; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-trust-badges { grid-template-columns: repeat(2, 1fr); }
  .archive-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  .section { padding-block: 48px; }

  /* ---- Product Single Mobile ---- */
  .product-detail { padding-block: 24px; }
  .product-detail__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .product-gallery { width: 100%; }
  .product-gallery__main .swiper-slide { border-radius: 12px; overflow: hidden; }
  .product-gallery__img { max-height: 320px; object-fit: contain !important; background: #f8f9ff; }
  .product-gallery__placeholder { height: 260px; }
  .product-trust-badges { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .trust-badge { font-size: .7rem; padding: 8px 4px; }
  .product-info__title { font-size: 1.3rem !important; }
  .product-order-box { gap: 10px; }
  .product-wa-btn { font-size: 1rem !important; padding: 16px !important; }
  .wa-message-preview { font-size: .78rem; }

  /* ---- Archive Mobile ---- */
  .menu-toggle  { display: flex; }
  .header-wa-text { display: none; }
  .header-wa-btn  { width: 40px; height: 40px; padding: 0; border-radius: 10px; }

  /* ---- Mobile Nav Drawer ---- */
  /*
   * القائمة تنزلق من اليمين للـ RTL (عربي)
   * نستخدم transform فقط للحركة — أثبت توافقاً مع جميع المتصفحات
   */
  .primary-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    padding: 70px 20px 30px !important;
    box-shadow: -6px 0 40px rgba(0,0,0,.25) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    /* مخفية خارج الشاشة يميناً */
    transform: translateX(100%) !important;
    transition: transform .32s cubic-bezier(.4,0,.2,1) !important;
    will-change: transform;
  }

  /* مفتوحة: تنزلق لليمين = تظهر */
  .primary-nav.is-open {
    transform: translateX(0) !important;
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity .32s;
  }
  .mobile-nav-overlay.is-open {
    pointer-events: auto;
    opacity: 1;
  }

  .nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
  }
  .nav-menu > li > a {
    display: flex !important;
    padding: 13px 16px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    color: #1a1a2e !important;
    font-weight: 600 !important;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li.current-menu-item > a {
    background: rgba(108,99,255,.1) !important;
    color: #6c63ff !important;
  }
  .nav-menu .sub-menu {
    position: static !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding-right: 16px;
    padding-left: 0;
    margin-top: 2px;
    background: transparent !important;
  }

  .hero-slide__title  { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-slide__text   { padding-block: 60px 40px; }
  /* Hero min-height on mobile */
  .hero-section       { min-height: 420px !important; }
  .categories-grid    { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .products-grid      { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-top         { padding-block: 40px; }

  .wa-float__text     { display: none; }
  .wa-float__btn      { width: 58px; height: 58px; padding: 0; border-radius: 50%; justify-content: center; }

  .archive-layout     { grid-template-columns: 1fr; }
  .archive-sidebar    {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    left: auto;
    width: min(300px, 85vw);
    z-index: 300;
    border-radius: 0;
    max-height: 100vh;
    transition: right .35s cubic-bezier(.4,0,.2,1);
  }
  body.dir-ltr .archive-sidebar {
    right: auto;
    left: -100%;
    transition: left .35s cubic-bezier(.4,0,.2,1);
  }
  .archive-sidebar.is-open {
    right: 0;
  }
  body.dir-ltr .archive-sidebar.is-open {
    left: 0;
    right: auto;
  }
  .sidebar-close { display: block; position: absolute; top: 14px; right: 14px; font-size: 1.1rem; }
  body.dir-ltr .sidebar-close { right: auto; left: 14px; }
  .sidebar-overlay  { display: block; }

  .filter-tabs      { gap: 6px; }
  .filter-tab       { padding: 6px 12px; font-size: .8rem; }
  .promo-strip-grid { grid-template-columns: 1fr 1fr; }
  .product-trust-badges { grid-template-columns: repeat(4, 1fr); }
  .cta-actions      { flex-direction: column; align-items: stretch; }
  .about-actions    { flex-direction: column; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container       { padding-inline: 16px; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__body { padding: 12px; }
  .promo-strip-grid { grid-template-columns: 1fr; }
  .hero-slide__actions { flex-direction: column; }
  .hero-slide__actions .btn { width: 100%; justify-content: center; }
  .product-sticky-bar__info span { max-width: 120px; }
}

/* ---------- Print Styles ---------- */
@media print {
  .wa-float, .scroll-top, .site-header, .topbar, .footer-bottom { display: none !important; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--wasp-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
