@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
  --store-z-social-proof: 122;
  --store-z-inline-cart: 126;
  --store-z-whatsapp: 127;
  --store-social-above-inline: calc(96px + max(10px, env(safe-area-inset-bottom, 0px)));

  --store-bg: #fafafa;
  --store-bg-accent: #fff0f5;
  --store-card: #ffffff;
  --store-border: rgba(200, 180, 190, 0.15);
  --store-shadow: 0 4px 24px rgba(180, 100, 130, 0.08);

  --store-text: #1a1a2e;
  --store-muted: #7a6570;

  --store-primary: #e8547a;
  --store-primary-light: #fce8ef;
  --store-primary-dark: #c43460;

  --store-accent: #f7a8c0;
  --store-accent-2: #b8d4f8;
  --store-accent-3: #c8f0e0;

  --store-green: #2a9d6f;
  --store-red: #e05555;
  --store-gold: #e6a817;

  --store-blue: #e8547a;
  --store-blue-deep: #c43460;

  --store-radius-xl: 24px;
  --store-radius-lg: 18px;
  --store-radius-md: 14px;
  --store-radius-sm: 10px;
}

*{box-sizing:border-box;}
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  direction: rtl;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  color: var(--store-text);
  background: var(--store-bg);
}

a{color:inherit; text-decoration:none;}
button, input, select, textarea{font:inherit;}
button{cursor:pointer;}
img{
  max-width:100%;
  display:block;
  image-rendering:auto;
  image-rendering:-webkit-optimize-contrast;
  -ms-interpolation-mode:bicubic;
}

/* ترتيب المنتجات يبقى في المنطق (افتراضي: الأبرز) بدون ظهور في الواجهة */
.storeSortSelectHidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0, 0, 0, 0) !important;
  border:0 !important;
  white-space:nowrap !important;
}

.storeShell{
  width:min(1280px, calc(100vw - 32px));
  margin:0 auto;
  padding:0 0 56px;
  position:relative;
}

.storeBootLoading{
  position:fixed;
  inset:0;
  z-index:400;
  display:grid;
  place-items:center;
  background:rgba(247, 248, 252, 0.92);
  pointer-events:none;
}
.storeBootLoading[hidden]{
  display:none !important;
  pointer-events:none !important;
  visibility:hidden !important;
}
.storeBootLoadingInner{
  text-align:center;
  padding:28px 32px;
  border-radius:var(--store-radius-lg);
  background:var(--store-card);
  border:1px solid var(--store-border);
  box-shadow:var(--store-shadow);
  max-width:min(360px, calc(100vw - 40px));
}
.storeBootLoadingSpinner{
  width:44px;
  height:44px;
  margin:0 auto 14px;
  border-radius:50%;
  border:3px solid rgba(244, 93, 153, 0.25);
  border-top-color:var(--store-primary, #f45d99);
  animation:storeBootSpin 0.75s linear infinite;
}
.storeBootLoadingText{
  margin:0;
  font-weight:800;
  font-size:16px;
  color:var(--store-text);
}
@keyframes storeBootSpin{
  to{transform:rotate(360deg);}
}

.storeBootStale{
  position:fixed;
  inset:0;
  z-index:401;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(247, 248, 252, 0.96);
  text-align:center;
}
.storeBootStale p{
  margin:0 0 14px;
  font-weight:700;
  font-size:15px;
  color:var(--store-text);
}
.storeBootStaleBtn{
  border:none;
  border-radius:12px;
  padding:10px 20px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  background:var(--store-primary, #f45d99);
  color:#fff;
}

.storeCartInlineBar{
  position:fixed;
  left:10px;
  right:10px;
  bottom:12px;
  z-index:var(--store-z-inline-cart, 126);
  margin:0;
  min-height:64px;
  border-radius:16px;
  border:1px solid rgba(22, 163, 74, 0.24);
  background:#dff5e6;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:12px;
  padding:10px 12px;
}

.storeCartInlineCheckoutBtn{
  min-height:46px;
  border:0;
  border-radius:12px;
  padding:0 18px;
  background:#16a34a;
  color:#fff;
  font-weight:800;
}

.storeCartInlineMeta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  font-weight:800;
  color:#0f172a;
  font-size:20px;
}

.storeCartInlineMeta > span:last-child{
  color:#15803d;
}

.storeCartInlineIcon{
  color:var(--store-primary);
  font-size:26px;
}

.storeUrgentStrip{
  position:sticky;
  top:0;
  z-index:40;
  padding:10px 0 0;
}

.storeUrgentInner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  border-radius:999px;
  padding:8px 18px;
  background:linear-gradient(135deg, #fff4f0, #ffe7e7);
  border:1px solid rgba(206, 78, 79, 0.18);
  color:#8e2629;
  box-shadow:0 16px 32px rgba(206, 78, 79, 0.12);
}

.storeUrgentLabel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:#8e2629;
  color:#ffffff;
  font-size:12px;
  font-weight:800;
}

.storeHeader{
  position:sticky;
  top:0;
  z-index:35;
  padding-top:18px;
  backdrop-filter: blur(14px);
}

.storeHeaderBar{
  display:grid;
  grid-template-columns:auto minmax(240px, 1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,0.75);
  background:rgba(255,255,255,0.86);
  border-radius:26px;
  box-shadow:0 26px 55px rgba(15, 23, 42, 0.10);
}

.storeBrand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.storeBrandMark{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--store-blue), var(--store-blue-deep));
  color:#fff;
  font-size:24px;
  font-weight:800;
  box-shadow:0 16px 28px rgba(37, 88, 214, 0.22);
}

.storeBrandText{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.storeBrandText strong{
  font-size:18px;
  font-weight:800;
  line-height:1.15;
}

.storeBrandText span{
  color:var(--store-muted);
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}

.storeSearch{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:0 16px;
  border-radius:18px;
  background:#f7f9ff;
  border:1px solid rgba(37,88,214,0.10);
}

.storeSearch svg{
  width:20px;
  height:20px;
  fill:#7a8aa7;
  flex:0 0 auto;
}

.storeSearch input{
  width:100%;
  border:0;
  background:transparent;
  color:var(--store-text);
  outline:none;
}

.storeHeaderActions{
  display:flex;
  align-items:center;
  gap:10px;
}

.storeIconBtn,
.storeCartBtn,
.storePrimaryAction,
.storeSecondaryAction,
.storeSubmitBtn,
.storeIconOnlyBtn{
  border:0;
  border-radius:16px;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.storeIconBtn,
.storeSecondaryAction{
  min-height:50px;
  padding:0 16px;
  background:#f4f6fb;
  color:var(--store-text);
  font-weight:800;
}

.storeCartBtn,
.storePrimaryAction,
.storeSubmitBtn{
  min-height:50px;
  padding:0 18px;
  background:linear-gradient(135deg, var(--store-blue), var(--store-blue-deep));
  color:#fff;
  font-weight:800;
  box-shadow:0 16px 28px rgba(37, 88, 214, 0.18);
}

.storeCartBtn{
  display:flex;
  align-items:center;
  gap:10px;
}

.storeCartBtn strong{
  min-width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,0.18);
}

.storePrimaryAction,
.storeSecondaryAction{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.storeIconOnlyBtn{
  width:42px;
  height:42px;
  font-size:24px;
  line-height:1;
  background:#f4f6fb;
  color:var(--store-text);
}

.storeIconBtn:hover,
.storeCartBtn:hover,
.storePrimaryAction:hover,
.storeSecondaryAction:hover,
.storeSubmitBtn:hover,
.storeIconOnlyBtn:hover{
  transform:translateY(-1px);
}

.storeCategoryRail,
.storeFilterChips{
  display:flex;
  gap:10px;
  overflow:auto hidden;
  scrollbar-width:none;
}

.storeCategoryRail::-webkit-scrollbar,
.storeFilterChips::-webkit-scrollbar{display:none;}

.storeCategoryRail{
  padding:12px 6px 2px;
}

.storeCategoryChip,
.storeFilterChip{
  flex:0 0 auto;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(37,88,214,0.12);
  background:rgba(255,255,255,0.82);
  color:#2f4261;
  font-size:13px;
  font-weight:800;
}

.storeCategoryChip.is-active,
.storeFilterChip.is-active{
  background:linear-gradient(135deg, rgba(37,88,214,0.16), rgba(22,60,159,0.18));
  color:var(--store-blue-deep);
  border-color:rgba(37,88,214,0.26);
}

.storeMain{
  display:flex;
  flex-direction:column;
  gap:28px;
  padding-top:22px;
}

.storeHero{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  align-items:stretch;
}

.storeHero--bannerOnly .storeHeroVisual{
  width:100%;
}

.storeHeroCopy,
.storeHeroVisual,
.storeAssuranceCard,
.storeFeaturedCard,
.storeProductCard,
.storeCheckoutSummary,
.storeCheckoutForm,
.storeCartDrawer{
  border:1px solid var(--store-border);
  background:var(--store-card);
  box-shadow:var(--store-shadow);
}

.storeHeroCopy,
.storeHeroVisual,
.storeCheckoutSummary,
.storeCheckoutForm{
  border-radius:var(--store-radius-xl);
  padding:28px;
}

.storeHeroCopy{
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(37,88,214,0.11), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.98));
}

.storeHeroBadge,
.storeSectionEyebrow,
.storeProductType,
.storePriceDiscount,
.storeStockTag,
.storeEmptyState,
.storeSaleBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.storeHeroBadge,
.storeSectionEyebrow{
  background:#eef3ff;
  color:var(--store-blue-deep);
}

.storeHeroCopy h1{
  margin:16px 0 10px;
  font-size:clamp(30px, 4vw, 52px);
  line-height:1.08;
}

.storeHeroCopy p{
  margin:0;
  color:var(--store-muted);
  font-size:15px;
  line-height:1.9;
}

.storeHeroActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.storeHeroStats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:22px;
}

.storeHeroStat{
  min-height:110px;
  border-radius:18px;
  padding:16px;
  background:#fff;
  border:1px solid rgba(37,88,214,0.08);
}

.storeHeroStat strong{
  display:block;
  font-size:28px;
  font-weight:800;
}

.storeHeroStat span{
  color:var(--store-muted);
  font-size:12px;
  font-weight:700;
}

.storeHeroVisual{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(420px 260px at 10% 10%, rgba(220,169,95,0.20), transparent 58%),
    linear-gradient(180deg, #ffffff, #f4f7ff);
}

.storeBannerStage{
  display:grid;
  gap:14px;
  height:100%;
}

.storeBannerCard{
  position:relative;
  min-height:420px;
  padding:26px;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(135deg, #1d3f9f, #3161e6);
  color:#fff;
}

.storeBannerCard::after{
  content:"";
  position:absolute;
  inset:auto -40px -60px auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.26), transparent 65%);
}

.storeBannerImage{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.34;
}

.storeBannerOverlay{
  position:absolute;
  inset:0;
  background:linear-gradient(140deg, rgba(12,23,58,0.18), rgba(16,32,75,0.86));
}

.storeBannerContent{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
  min-height:368px;
}

.storeBannerContent h3{
  margin:0;
  font-size:clamp(26px, 4vw, 42px);
  line-height:1.1;
}

.storeBannerContent p{
  margin:0;
  max-width:430px;
  color:rgba(255,255,255,0.86);
  line-height:1.9;
}

.storeBannerDots{
  position:absolute;
  inset:auto 28px 22px auto;
  display:flex;
  gap:8px;
  z-index:2;
}

.storeBannerDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,0.34);
}

.storeBannerDot.is-active{background:#fff;}

.storeAssuranceGrid,
.storeFeaturedGrid,
.storeProductsGrid,
.storeCheckoutGrid{
  display:grid;
  gap:16px;
}

.storeAssuranceGrid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.storeAssuranceCard{
  border-radius:20px;
  padding:20px;
}

.storeAssuranceCard strong{
  display:block;
  margin-bottom:8px;
  font-size:18px;
}

.storeAssuranceCard p{
  margin:0;
  color:var(--store-muted);
  line-height:1.8;
}

.storeSection{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.storeSectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
}

.storeSectionHead h2{
  margin:8px 0 0;
  font-size:28px;
  line-height:1.1;
}

.storeToolbar select,
.storeField input,
.storeField select,
.storeField textarea{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(148, 163, 184, 0.22);
  background:#fff;
  color:var(--store-text);
  outline:none;
}

.storeToolbar select{
  min-width:190px;
  min-height:50px;
  padding:0 16px;
}

.storeFeaturedGrid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.storeFeaturedCard,
.storeProductCard{
  position:relative;
  overflow:hidden;
}

.storeFeaturedCard{
  display:grid;
  grid-template-columns:130px minmax(0, 1fr);
  gap:16px;
  min-height:210px;
  border-radius:24px;
  padding:18px;
}

.storeFeaturedMedia,
.storeProductMedia{
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(135deg, #eff4ff, #f9fafc);
  display:flex;
  align-items:center;
  justify-content:center;
}

.storeFeaturedMedia img,
.storeProductMedia img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  image-rendering:auto;
  image-rendering:-webkit-optimize-contrast;
}

.storeProductMediaScroll{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  width:100%;
  height:100%;
  min-height:0;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  box-sizing:border-box;
  outline:none;
}
.storeProductMediaScroll:focus-visible{
  box-shadow:inset 0 0 0 2px rgba(244, 93, 153, 0.45);
}
.storeProductMediaSlide{
  flex:0 0 100%;
  min-width:100%;
  height:100%;
  min-height:0;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
}
.storeProductMediaSlide img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.storeProductMedia > .storeProductMediaScroll,
.storeFeaturedMedia > .storeProductMediaScroll{
  align-self:stretch;
  flex:1 1 auto;
  min-height:0;
  width:100%;
}

.storeFeaturedMedia{
  min-height:0;
}
.storeFeaturedMedia .storeProductMediaScroll{
  max-height:100%;
  border-radius:18px;
}

.storeFeaturedBody,
.storeProductBody{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.storeFeaturedBody h3,
.storeProductBody h3{
  margin:0;
  font-size:20px;
  line-height:1.4;
}

.storeFeaturedBody p,
.storeProductBody p,
.storePriceCompare,
.storeStockMeta,
.storeCartMeta,
.storeCheckoutMeta{
  margin:0;
  color:var(--store-muted);
}

.storeSaleBadge,
.storePriceDiscount{
  background:#fff0d9;
  color:#8d5c18;
}

.storeProductType{
  background:#eef6ff;
  color:#2052c3;
}

.storeProductsGrid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.storeProductCard{
  display:flex;
  flex-direction:column;
  border-radius:24px;
  min-height:100%;
  text-decoration:none;
  color:inherit;
}

.storeProductMedia{
  aspect-ratio:1 / 1;
  margin:16px 16px 0;
}

.storeProductBody{
  padding:16px;
  flex:1;
}

.storeProductTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.storeProductCard h3{
  font-size:18px;
}

.storePriceRow{
  display:flex;
  align-items:end;
  gap:10px;
  flex-wrap:wrap;
}

.storePricePrimary{
  font-size:24px;
  font-weight:800;
  color:var(--store-blue-deep);
}

.storePriceCompare{
  text-decoration:line-through;
  font-size:13px;
  font-weight:700;
}

.storeStockRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
}

.storeStockTag{
  background:#ecfdf3;
  color:var(--store-green);
}

.storeStockTag.is-out{
  background:#fff1f2;
  color:#9b1c1f;
}

.storeAddBtn,
.storeQtyBtn,
.storeCartActionBtn{
  min-height:46px;
  border:0;
  border-radius:14px;
  font-weight:800;
}

.storeAddBtn,
.storeCartActionBtn{
  width:100%;
  background:#0f172a;
  color:#fff;
}

.storeAddBtn[disabled]{
  background:#cbd5e1;
  color:#475569;
  cursor:not-allowed;
}

.storeEmptyState{
  align-self:center;
  background:#fff;
  color:var(--store-muted);
  border:1px dashed rgba(148, 163, 184, 0.34);
}

.storeCheckoutGrid{
  grid-template-columns:minmax(280px, 360px) minmax(0, 1fr);
}

.storeCheckoutSummary{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.storeCheckoutForm{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.storeFieldGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.storeField{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.storeField span{
  font-size:13px;
  font-weight:800;
}

.storeField input,
.storeField select,
.storeField textarea{
  min-height:52px;
  padding:12px 16px;
}

.storeField textarea{
  min-height:112px;
  resize:vertical;
}

.storeFieldFull{grid-column:1 / -1;}

.storeCheckoutFooter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.storeCheckoutTotals,
.storeCartFoot,
.storeCartSummary,
.storeCartLine,
.storeCheckoutSummaryBox{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.storeSummaryLine,
.storeCartLine{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.storeSubmitBtn{
  min-width:220px;
}

.storeCartBackdrop{
  position:fixed;
  inset:0;
  background:rgba(10, 18, 38, 0.36);
  z-index:70;
}

.storeCartDrawer{
  position:fixed;
  top:18px;
  left:18px;
  bottom:18px;
  z-index:80;
  width:min(390px, calc(100vw - 24px));
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px;
  border-radius:26px;
  transform:translateX(calc(-100% - 24px));
  transition:transform .22s ease;
}

.storeCartDrawer.is-open{
  transform:translateX(0);
}

.storeCartHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.storeCartHead strong{
  display:block;
  font-size:20px;
}

.storeCartHead span{
  color:var(--store-muted);
  font-size:12px;
  font-weight:700;
}

.storeCartList{
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:auto;
  min-height:0;
}

.storeCartItem{
  display:grid;
  grid-template-columns:92px minmax(0, 1fr);
  gap:12px;
  padding:12px;
  border-radius:18px;
  background:#f8faff;
  border:1px solid rgba(148, 163, 184, 0.14);
}

.storeCartThumb{
  width:92px;
  height:92px;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  padding:4px;
  box-sizing:border-box;
  border:1px solid rgba(148, 163, 184, 0.18);
}

.storeCartThumb img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  image-rendering:auto;
  image-rendering:-webkit-optimize-contrast;
}

.storeCartBody{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.storeCartBody h4{
  margin:0;
  font-size:15px;
  line-height:1.6;
}

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

.storeQtyBtn{
  width:34px;
  background:#fff;
  color:var(--store-text);
  border:1px solid rgba(148, 163, 184, 0.18);
}

.storeCartQty{
  min-width:34px;
  text-align:center;
  font-weight:800;
}

.storeCartActionBtn{
  background:#e2e8f0;
  color:#334155;
}

.storeWhatsappFab{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:var(--store-z-whatsapp, 127);
  min-height:54px;
  padding:0 20px;
  border-radius:999px;
  background:#20b15a;
  color:#fff;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 36px rgba(32, 177, 90, 0.28);
}

.storeToast{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:90;
  max-width:min(360px, calc(100vw - 30px));
  padding:14px 16px;
  border-radius:16px;
  background:#0f172a;
  color:#fff;
  box-shadow:0 24px 60px rgba(15, 23, 42, 0.28);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease, transform .18s ease;
}

.storeToast.is-visible{
  opacity:1;
  transform:translateY(0);
}

.storeLoadingState,
.storeFatalState{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
}

.storeStateCard{
  width:min(520px, 100%);
  border-radius:28px;
  padding:28px;
  background:#fff;
  border:1px solid rgba(148, 163, 184, 0.16);
  box-shadow:var(--store-shadow);
  text-align:center;
}

.storeStateCard h1{margin:0 0 10px; font-size:28px;}
.storeStateCard p{margin:0; color:var(--store-muted); line-height:1.9;}

@media (max-width: 1180px){
  .storeProductsGrid{grid-template-columns:repeat(3, minmax(0, 1fr));}
}

@media (max-width: 980px){
  .storeHeaderBar,
  .storeHero,
  .storeCheckoutGrid,
  .storeFeaturedGrid,
  .storeAssuranceGrid{
    grid-template-columns:1fr;
  }

  .storeProductsGrid{grid-template-columns:repeat(2, minmax(0, 1fr));}

  .storeHeaderBar{
    grid-template-columns:1fr;
    align-items:stretch;
  }

  .storeHeaderActions{
    justify-content:stretch;
  }

  .storeHeaderActions > *{
    flex:1 1 0;
    justify-content:center;
  }

  .storeCartDrawer{
    left:auto;
    right:12px;
    width:min(420px, calc(100vw - 24px));
    transform:translateX(calc(100% + 18px));
  }

  .storeCartDrawer.is-open{
    transform:translateX(0);
  }
}

@media (max-width: 680px){
  .storeShell{
    width:min(100vw, calc(100vw - 14px));
  }

  .storeHeader{
    padding-top:10px;
  }

  .storeHeaderBar,
  .storeHeroCopy,
  .storeHeroVisual,
  .storeCheckoutSummary,
  .storeCheckoutForm,
  .storeCartDrawer{
    padding:18px;
    border-radius:22px;
  }

  .storeHeroStats,
  .storeFieldGrid{
    grid-template-columns:1fr;
  }

  .storeProductsGrid{grid-template-columns:1fr;}

  .storeFeaturedCard{
    grid-template-columns:1fr;
  }

  .storeFeaturedMedia{
    min-height:220px;
  }

  .storeBannerCard{
    min-height:340px;
    padding:18px;
  }

  .storeBannerContent{
    min-height:280px;
  }

  .storeCheckoutFooter{
    align-items:stretch;
  }

  .storeSubmitBtn{
    width:100%;
    min-width:0;
  }

  .storeWhatsappFab,
  .storeToast{
    right:12px;
    bottom:12px;
  }
}

/* Visual refresh layer: modern surfaces, keeps original colors */
.storeHeaderBar,
.storeHeroCopy,
.storeHeroVisual,
.storeAssuranceCard,
.storeSection,
.storeFeaturedCard,
.storeProductCard,
.storeCheckoutSummary,
.storeCheckoutForm,
.storeCartDrawer{
  border-radius:24px !important;
  box-shadow:0 18px 44px rgba(15, 23, 42, 0.14) !important;
  border-width:1px !important;
}

.storeSearch,
.storeIconBtn,
.storeSecondaryAction,
.storeIconOnlyBtn,
.storeCategoryChip,
.storeFilterChip,
.storeField input,
.storeField select,
.storeField textarea{
  border-radius:16px !important;
}

.storeCartBtn,
.storePrimaryAction,
.storeSubmitBtn{
  border-radius:16px !important;
  box-shadow:0 12px 30px rgba(37, 88, 214, 0.24) !important;
}

.storeProductCard,
.storeFeaturedCard{
  border-radius:24px !important;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}

.storeProductCard:hover,
.storeFeaturedCard:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 40px rgba(15, 23, 42, 0.18) !important;
}

.storeCategoryChip,
.storeFilterChip{
  min-height:44px;
  font-weight:700;
  transition:transform .16s ease, box-shadow .16s ease;
}

.storeCategoryChip:hover,
.storeFilterChip:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(15, 23, 42, 0.10);
}


/* ═══════════════════════════════════════════════
   STOREFRONT SKIN — Editorial E-Commerce
═══════════════════════════════════════════════ */


:root {
  --store-primary:       #e8547a;
  --store-primary-light: #fce8ef;
  --store-primary-dark:  #c43460;
  --store-bg-page:       #ffffff;
  --store-card-bg:       #fdf5f7;
  --store-green:         #16a34a;
  --store-red:           #e05555;
  --store-dark:          #1a1a2e;
}

body {
  background: #fff !important;
  color: #1a1a2e !important;
}

/* ── Shell ── */
.storeShell {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 0 0 max(100px, calc(80px + env(safe-area-inset-bottom, 0px))) !important;
}

/* ── Header ── */
.storeHeader {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  padding: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid #fce8ef !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.storeHeaderBar {
  display: grid !important;
  grid-template-columns: 44px 1fr auto !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 14px !important;
  border-radius: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  gap: 8px !important;
  direction: ltr !important;
}

.storeBrand,
.storeBrand.storeMenuToggle {
  order: 1 !important;
  justify-self: start !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
}

.storeBrandMark {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #fce8ef !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.storeBrandText { display: none !important; }

.storeSearch {
  order: 2 !important;
  width: 100% !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  padding: 0 10px !important;
  gap: 6px !important;
  box-shadow: none !important;
}

.storeSearch input {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  text-align: center !important;
}

.storeSearch svg { width: 14px !important; height: 14px !important; fill: #9ca3af !important; }

.storeHeaderActions {
  order: 3 !important;
  justify-self: end !important;
  display: flex !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
}

.storeCartBtn,
.storeIconBtn {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: none !important;
  background: #fce8ef !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  font-size: 0 !important;
  color: transparent !important;
}

.storeCartBtn span,
.storeIconBtn span { font-size: 0 !important; }

.storeCartBtn::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e8547a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 2 3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4zM3 6h18M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

.storeIconBtn::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e8547a' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.storeCartBtn strong {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  min-width: 17px !important;
  height: 17px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  background: #e8547a !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
}

/* ── Category Rail — underline ── */
.storeCategoryRail {
  display: flex !important;
  gap: 0 !important;
  padding: 0 14px !important;
  background: #fff !important;
  border-bottom: 1px solid #fce8ef !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  margin-top: 0 !important;
}

.storeCategoryRail::-webkit-scrollbar { display: none !important; }

.storeCategoryChip,
.storeCategoryChip.storeCategoryChipHome {
  flex-shrink: 0 !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  color: #9ca3af !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
  margin-bottom: -1px !important;
}

.storeCategoryChip.is-active,
.storeCategoryChip.storeCategoryChipHome.is-active {
  color: #e8547a !important;
  border-bottom-color: #e8547a !important;
  font-weight: 800 !important;
  background: transparent !important;
}

.storeCategoryChip:hover,
.storeCategoryChip.storeCategoryChipHome:hover {
  color: #1a1a2e !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Main ── */
.storeMain {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
}

/* ── Hero / Banner ── */
.storeHero,
.storeHero.storeHero--bannerOnly {
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.storeHeroCopy    { display: none !important; }
.storeHeroStats   { display: none !important; }
.storeAssuranceGrid { display: none !important; }
#featuredSection  { display: block !important; }

.storeHeroVisual {
  padding: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: relative !important;
}

.storeBannerStage {
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.storeBannerCard {
  min-height: 180px !important;
  padding: 20px !important;
  border-radius: 0 !important;
  background: #1a1a2e !important;
}

.storeBannerCard::after { display: none !important; }

.storeBannerCard:not(.is-logo-banner) .storeBannerImage {
  opacity: 0.25 !important;
}

.storeBannerCard:not(.is-logo-banner) .storeBannerOverlay {
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.3) 0%,
    rgba(26,26,46,0.85) 100%
  ) !important;
}

/* النص ظاهر في الأسفل */
.storeBannerContent {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  min-height: 140px !important;
  position: relative !important;
  z-index: 1 !important;
}

.storeBannerContent h3 {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: -0.5px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.storeBannerContent p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.65) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.storeBannerContent .storeHeroBadge {
  align-self: flex-start !important;
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}

.storeBannerContent .storePrimaryAction {
  align-self: flex-start !important;
  margin-top: 4px !important;
}

/* Dots */
.storeBannerDots {
  bottom: 14px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;
}

.storeBannerDot {
  width: 5px !important;
  height: 5px !important;
  background: rgba(255,255,255,0.35) !important;
  border-radius: 999px !important;
  border: none !important;
  padding: 0 !important;
}

.storeBannerDot.is-active {
  width: 16px !important;
  border-radius: 999px !important;
  background: #fff !important;
}

/* ── Section ── */
.storeSection {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 16px 14px 0 !important;
  border-radius: 0 !important;
  gap: 10px !important;
  margin: 0 !important;
}

.storeSectionHead h2 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

.storeSectionEyebrow { display: none !important; }

.storeSectionHead a,
.storeSectionHead button {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #e8547a !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  text-decoration: underline !important;
  box-shadow: none !important;
}

/* ── Product Grid ── */
.storeProductsGrid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  padding: 0 14px !important;
}

/* ── Product Card ── */
.storeProductCard {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid #fce8ef !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: transform 0.18s ease !important;
  position: relative !important;
  cursor: pointer !important;
}

.storeProductCard .storeProductQty button {
  cursor: pointer !important;
}

.storeProductCard:active { transform: scale(0.97) !important; }

.storeShell.is-catalog-ready,
body.catalog-ready .storeShell {
  opacity: 1 !important;
  visibility: visible !important;
}

body.catalog-ready .storeBootLoading,
body.catalog-ready .storeBootStale {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.storeProductMedia {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #fdf5f7 !important;
}

.storeProductMedia img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 10px !important;
}

.storeProductBody {
  padding: 8px 10px 10px !important;
  gap: 3px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.storeProductBody h3 {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.storeProductBody p { display: none !important; }
.storeProductType   { display: none !important; }
.storePriceDiscount { display: none !important; }
.storeStockTag      { display: none !important; }
.storeStockMeta     { display: none !important; }

/* صف السعر + الزر */
.storeStockRow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: auto !important;
}

.storePriceRow {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  margin: 0 !important;
}

.storePricePrimary {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #1a1a2e !important;
  letter-spacing: -0.3px !important;
  line-height: 1.15 !important;
}

.storePriceCompare {
  font-size: 10px !important;
  color: #d1d5db !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

/* زر + */
.storeAddBtn {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  border-radius: 9px !important;
  background: #e8547a !important;
  font-size: 0 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(232,84,122,0.3) !important;
  flex-shrink: 0 !important;
  transition: transform 0.1s ease !important;
}

.storeAddBtn::before {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.storeAddBtn::after { content: none !important; }
.storeAddBtn:active { transform: scale(0.9) !important; }

.storeAddBtn[disabled] {
  background: #e5e7eb !important;
  box-shadow: none !important;
}

.storeAddBtn[disabled]::before {
  content: "—";
  font-size: 14px;
  color: #9ca3af;
}

/* بادج خصم */
.storeSaleBadge {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  background: #e8547a !important;
  color: #fff !important;
  z-index: 3 !important;
  min-height: auto !important;
  min-width: auto !important;
}

.storeProductTop {
  position: static !important;
  min-height: 0 !important;
}

/* React ProductCard — نفس التصميم (storeProductQtyAdd) */
.storeProductCard .storeProductBody {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 3px 6px !important;
}

.storeProductCard .storeProductTop,
.storeProductCard .storeProductBody h3 {
  grid-column: 1 / -1 !important;
}

.storeProductCard .storeProductBody > p,
.storeProductCard .storeProductBody > .storeStockRow {
  display: none !important;
}

.storeProductCard .storeProductBody > .storePriceRow {
  grid-column: 1 !important;
  align-self: end !important;
}

.storeProductCard .storeProductBody > .storeProductQty {
  grid-column: 2 !important;
  align-self: end !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.storeProductQty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.storeProductQty.has-value:not(.storeProductQtyStepper) {
  display: flex !important;
  gap: 4px !important;
  background: transparent !important;
  padding: 0 !important;
}

.storeProductQtyAdd {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 9px !important;
  background: #e8547a !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(232,84,122,0.3) !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  transition: transform 0.1s ease !important;
}

.storeProductQtyAdd:active { transform: scale(0.9) !important; }

.storeProductQtyAdd span:not(.storeProductQtyAddGlyph) {
  display: none !important;
}

.storeProductQtyAddGlyph {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.storeProductQty.is-disabled .storeProductQtyDisabled {
  width: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  background: #e5e7eb !important;
  color: #9ca3af !important;
  font-size: 14px !important;
}

.storeProductQtyBtn {
  width: 32px !important;
  min-width: 32px !important;
  min-height: 36px !important;
  border-radius: 9px !important;
  background: #fce8ef !important;
  font-size: 18px !important;
}

.storeProductQtyBtn--minus { color: #1a1a2e !important; }
.storeProductQtyBtn--plus { color: #e8547a !important; }

.storeProductQtyVal {
  min-height: 36px !important;
  min-width: 30px !important;
  padding: 0 6px !important;
  font-size: 14px !important;
  border: 1px solid #fce8ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.storeProductQty.is-disabled {
  opacity: 1 !important;
  pointer-events: none !important;
  background: transparent !important;
}

/* ── Groups Showcase ── */
.storeGroupsShowcase {
  padding: 16px 14px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.storeGroupsGrid {
  gap: 8px !important;
}

.storeGroupCard {
  flex: 0 0 88px !important;
  min-height: 100px !important;
  padding: 10px 6px 8px !important;
  border-radius: 14px !important;
  border: 1px solid #fce8ef !important;
  background: #fff !important;
  box-shadow: none !important;
  gap: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.storeGroupIcon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  background: #fce8ef !important;
  border: none !important;
  overflow: hidden !important;
}

.storeGroupCard strong {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #374151 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

/* ── Group Products Head ── */
.storeGroupProductsHead {
  border-radius: 12px !important;
  background: #1a1a2e !important;
  padding: 12px 14px !important;
  margin-bottom: 8px !important;
  box-shadow: none !important;
}

.storeGroupProductsTitle {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.storeGroupProductsCountPill {
  background: rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  font-size: 10px !important;
  border-radius: 20px !important;
  padding: 2px 8px !important;
}

/* ── Cart Bar ── */
.storeCartInlineBar {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
  z-index: 126 !important;
  min-height: 58px !important;
  border-radius: 16px !important;
  border: 1px solid #fce8ef !important;
  background: rgba(255,255,255,0.97) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 10px 8px 14px !important;
  box-shadow: 0 8px 32px rgba(232,84,122,0.15), 0 2px 8px rgba(0,0,0,0.08) !important;
  gap: 10px !important;
}

.storeCartInlineMeta {
  color: #1a1a2e !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  justify-content: flex-start !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.storeCartInlineMeta > span:last-child {
  color: #e8547a !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.storeCartInlineIcon {
  font-size: 18px !important;
  color: #e8547a !important;
}

.storeCartInlineCheckoutBtn {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  background: #1a1a2e !important;
  color: #fff !important;
  border: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

/* ── Toast ── */
.storeToast {
  left: 50% !important;
  right: auto !important;
  bottom: 90px !important;
  transform: translateX(-50%) translateY(20px) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.storeToast.is-visible {
  transform: translateX(-50%) translateY(0) !important;
}

/* ── Checkout ── */
.storeSubmitBtn, .storePrimaryAction {
  background: var(--store-dark) !important;
  box-shadow: none !important;
  border-radius: 14px !important;
}

.storeCheckoutSummary, .storeCheckoutForm {
  background: #fff !important;
  border: 1px solid #fce8ef !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.storeCartDrawer .storeCartHead {
  background: var(--store-dark) !important;
}

/* ── Product Detail ── */
.productIdBadge      { display: none !important; }
.productPriceSale    { color: #1a1a2e !important; font-size: 24px !important; font-weight: 900 !important; }
.productBuyBtn       { background: var(--store-dark) !important; border-radius: 14px !important; box-shadow: none !important; }
.productRelatedHeading { background: var(--store-dark) !important; border-radius: 12px !important; }

/* ── Nav ── */
.storeNavDrawerHead { background: var(--store-dark) !important; }
.storeNavItemLabel  { color: var(--store-dark) !important; }
.storeNavChevron    { color: var(--store-primary) !important; }

@media (max-width: 768px) {
  .storeSocialRail { display: none !important; }
}

/* ═══════════════════════════════════════════════
   LOVE & FUN — Mockup alignment
═══════════════════════════════════════════════ */

.storeIconBtn,
.storeBrand.storeMenuToggle,
.storeCategoryChipHome {
  display: none !important;
}

/* ── Header mockup ── */
.storeHeader .storeSearch {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 16px 10px !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: none !important;
}

.storeHeader .storeSearch input {
  flex: 1 !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  text-align: start !important;
}

.storeHeader .storeSearch svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
  fill: #9ca3af !important;
}

.storeSearchClear {
  flex: 0 0 auto !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 8px !important;
  background: #fce8ef !important;
  color: #e8547a !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.storeHeaderBar {
  grid-template-columns: 44px 1fr 44px !important;
  min-height: 56px !important;
  padding: 10px 16px !important;
}

.storeMenuBtn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* شرطات القائمة — تُعرَّف في storefront-v2-overrides.css */

.storeHeaderTitle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.storeHeaderTitleBtn {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  color: #1a1a2e !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.storeHeaderActions {
  gap: 6px !important;
}

.storeCartBtn {
  background: transparent !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
}

.storeCartBtn::before {
  width: 22px !important;
  height: 22px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 2 3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4zM3 6h18M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

.storeCartBtn strong {
  top: 2px !important;
  right: 2px !important;
  left: auto !important;
  background: #e85555 !important;
  border-color: #fff !important;
}

.storeCategoryRail {
  padding: 0 16px !important;
}

/* ── Hero mockup ── */
.storeHero.storeHero--bannerOnly {
  padding: 12px 14px 0 !important;
}

.storeBannerCard {
  min-height: 200px !important;
  padding: 22px 20px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #3d1f4a 55%, #e8547a 120%) !important;
  overflow: hidden !important;
  position: relative !important;
}

.storeBannerCard::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  width: 88px !important;
  height: 88px !important;
  margin-top: -44px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(232, 84, 122, 0.45) !important;
  box-shadow: 0 0 0 12px rgba(232, 84, 122, 0.12) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.storeBannerCard:not(.is-logo-banner) .storeBannerImage {
  opacity: 0.22 !important;
}

.storeBannerCard:not(.is-logo-banner) .storeBannerOverlay {
  background: linear-gradient(135deg, rgba(26,26,46,0.55) 0%, rgba(61,31,74,0.75) 50%, rgba(26,26,46,0.88) 100%) !important;
}

.storeBannerContent {
  align-items: flex-end !important;
  text-align: right !important;
  min-height: 156px !important;
  z-index: 2 !important;
}

.storeBannerEyebrow,
.storeHeroBadge {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: auto !important;
  border-radius: 0 !important;
}

.storeBannerContent h3 {
  font-size: 24px !important;
  max-width: 92% !important;
}

.storeBannerContent p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 88% !important;
}

.storeBannerCta,
.storeBannerContent .storePrimaryAction {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  margin-top: 4px !important;
  border-radius: 999px !important;
  background: #e8547a !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(232,84,122,0.35) !important;
  border: none !important;
  width: auto !important;
}

.storeBannerDots {
  position: absolute !important;
  bottom: 18px !important;
  left: 20px !important;
  right: auto !important;
}

/* ── Featured horizontal card ── */
.storeFeaturedSection {
  padding-top: 18px !important;
}

.storeSectionHead--mockup {
  padding: 0 14px 10px !important;
  margin: 0 !important;
}

.storeSectionHead--mockup h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #6b7280 !important;
  text-align: right !important;
}

.storeFeaturedGrid--single {
  display: block !important;
  padding: 0 14px !important;
  gap: 0 !important;
}

.storeFeaturedCard--horizontal {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
  direction: ltr !important;
  gap: 0 !important;
  border-radius: 20px !important;
  border: 1px solid #ece8eb !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  min-height: 132px !important;
  cursor: pointer !important;
}

.storeFeaturedCard--horizontal .storeFeaturedMedia {
  margin: 0 !important;
  border-radius: 0 !important;
  background: #fdf5f7 !important;
  min-height: 132px !important;
}

.storeFeaturedCard--horizontal .storeFeaturedBody {
  padding: 14px 14px 12px !important;
  justify-content: center !important;
  gap: 6px !important;
  direction: rtl !important;
  text-align: right !important;
}

.storeFeaturedCard--horizontal .storeFeaturedBody h3 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
}

.storeFeaturedCard--horizontal .storeFeaturedBody p {
  display: block !important;
  font-size: 11px !important;
  color: #9ca3af !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.storeFeaturedPurchaseRow {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.storeFeaturedPrice {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #e8547a !important;
}

.storeFeaturedBadge {
  position: static !important;
}

.storeFeaturedAddBtn {
  margin-inline-start: auto !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: none !important;
  border-radius: 12px !important;
  background: #e8547a !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(232,84,122,0.28) !important;
  cursor: pointer !important;
}

.storeFeaturedAddBtn[disabled] {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

#productsSection.storeSection {
  padding-top: 14px !important;
}

#productsSection .storeSectionHead {
  display: none !important;
}

/* ── Cart bar mockup ── */
.storeCartInlineBar {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid #ece8eb !important;
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 -4px 24px rgba(26,26,46,0.06) !important;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom, 10px)) !important;
  min-height: 64px !important;
  direction: ltr !important;
}

.storeCartInlineMeta {
  flex: 1 !important;
  min-width: 0 !important;
  order: 1 !important;
}

.storeCartInlineIconWrap {
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: #fce8ef !important;
}

.storeCartInlineIcon {
  font-size: 20px !important;
  color: #e8547a !important;
}

.storeCartInlineText {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  text-align: left !important;
}

.storeCartInlineLabel {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #9ca3af !important;
}

.storeCartInlineSum {
  display: flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  font-size: 13px !important;
  color: #6b7280 !important;
}

.storeCartInlineSum strong {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1a1a2e !important;
}

.storeCartInlineSum > span:last-child {
  color: #6b7280 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.storeCartInlineMeta > span:last-child,
.storeCartInlineMeta > strong {
  display: none !important;
}

.storeCartInlineMeta > .storeCartInlineIconWrap {
  display: flex !important;
}

.storeCartInlineCheckoutBtn {
  order: 2 !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}

.storeShell {
  padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom, 0px))) !important;
}

/* ── أقسام دائرية — سلايدر تحت البانر ── */
.storeGroupsSlider {
  display: block !important;
  padding: 14px 0 6px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.storeGroupsSlider .storeGroupsRail {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 4px 16px 8px !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

.storeGroupsSlider .storeGroupsRail::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.storeGroupCircle {
  flex: 0 0 auto !important;
  width: 76px !important;
  min-width: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  scroll-snap-align: center !important;
  scroll-snap-stop: always !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: transform 0.2s ease !important;
}

.storeGroupCircle:active {
  transform: scale(0.94) !important;
}

.storeGroupCircleMedia {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: #fce8ef !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 16px rgba(232, 84, 122, 0.12) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.storeGroupCircle:hover .storeGroupCircleMedia,
.storeGroupCircle:focus-visible .storeGroupCircleMedia {
  box-shadow: 0 6px 20px rgba(232, 84, 122, 0.22) !important;
  transform: translateY(-2px) !important;
}

.storeGroupCircleMedia img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

.storeGroupCircleGlyph {
  font-size: 26px !important;
  line-height: 1 !important;
  color: #e8547a !important;
}

.storeGroupCircleLabel {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-width: 76px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  color: #374151 !important;
}

/* إخفاء تنسيق البطاقات القديم إن وُجد */
.storeGroupsSlider .storeGroupCard {
  display: none !important;
}

/* ── أقسام المنتجات على الرئيسية: مميز + 4 + استكشاف ── */
.storeHomeSections {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  padding: 8px 0 16px !important;
}

.storeGroupProductsSection {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.storeGroupProductsHead {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.storeGroupProductsHeadText {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.storeGroupExploreBtn {
  flex: 0 0 auto !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.storeGroupExploreBtn:hover,
.storeGroupExploreBtn:focus-visible {
  background: rgba(255, 255, 255, 0.22) !important;
}

.storeGroupExploreBtn:active {
  transform: scale(0.97) !important;
}

.storeGroupFeaturedWrap {
  margin-bottom: 4px !important;
}

.storeSectionFeaturedCard {
  position: relative !important;
}

.storeSectionFeaturedBadge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 2 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  background: #e8547a !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.storeSection--home .storeProductsGridByGroup {
  margin-top: 0 !important;
}
