/* VitsIQ — واجهة المتجر */
:root {
  --forest: #12372A;
  --forest-2: #2F6B52;
  --forest-ink: #0E2A20;
  --amber: #D9922E;
  --amber-2: #F0C27A;
  --amber-ink: #87560F;
  --ink: #17211C;
  --muted: #5B6861;
  --line: #E1E7E2;
  --tint: #F2F6F3;
  --cream: #F7F3EA;
  --bg: #FFFFFF;
  --red: #B4362B;
  --red-soft: #FCEDEB;
  --ok: #1F7A4D;
  --ok-soft: #E7F4EC;
  --r: 14px;
  --r-sm: 10px;
  --wrap: 1240px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --num: "Outfit", "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.i { flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 12px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 640px; }
.wrap.narrow-wide { max-width: 1080px; }
.only-mobile { display: none !important; }
.center { text-align: center; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--forest-2); }
.btn-primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); border-color: var(--forest-2); }
.btn-primary:disabled { background: #9aaba3; border-color: #9aaba3; cursor: not-allowed; }
.btn-amber { background: var(--amber-2); border-color: var(--amber-2); color: var(--forest-ink); font-weight: 600; }
.btn-amber:hover { background: #F5D195; }
.btn-ghost-light { background: transparent; border-color: rgba(247, 243, 234, .45); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); }
.btn-light { background: #fff; color: var(--forest); border-color: #fff; }
.btn-wa { border-color: #b9dcc7; color: #0f6b3b; background: #f1faf4; }
.btn-lg { min-height: 52px; font-size: 16.5px; padding: 0 26px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; font-size: 14px; }
.link-btn:hover { color: var(--red); }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center;
  padding: 0 10px; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-sm); text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: var(--tint); }

/* ---------- الهيدر ---------- */
.topline { --tb-bg: var(--forest); --tb-fg: var(--amber-2); background: var(--tb-bg); color: var(--tb-fg); font-size: 13.5px; text-align: center; position: relative; overflow: hidden; line-height: 1.5; }
.topline[hidden] { display: none; }
.topline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.topline a:hover { text-decoration-thickness: 2px; }
.tb-small { font-size: 12.5px; } .tb-large { font-size: 15px; }
.tb-bold { font-weight: 600; }
.tb-static, .tb-rotator { padding: 7px 40px; }
.tb-large .tb-static, .tb-large .tb-rotator, .tb-large .tb-track { padding-top: 10px; padding-bottom: 10px; }
.tb-sep { opacity: .55; margin: 0 14px; }
.tb-rotator { display: grid; }
.tb-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; visibility: hidden; }
.tb-slide.on { opacity: 1; transform: none; visibility: visible; }
.tb-track { display: flex; width: max-content; padding: 7px 0; animation: tb-marquee 30s linear infinite; }
.tb-marquee:hover .tb-track { animation-play-state: paused; }
.tb-group { display: flex; align-items: center; white-space: nowrap; flex: none; }
.tb-group .tb-sep { margin: 0 22px; }
@keyframes tb-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.tb-close { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 20px; line-height: 1; width: 30px; height: 30px; cursor: pointer; opacity: .8; z-index: 2; }
.tb-marquee .tb-close { background: var(--tb-bg); }
.tb-close:hover { opacity: 1; }
.nav-hl { color: var(--amber-ink) !important; font-weight: 600; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 38px; width: auto; }
.search { flex: 1; display: flex; align-items: center; max-width: 620px; margin-inline: auto; position: relative; }
.search input {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--tint);
  padding: 0 20px 0 54px; font-size: 15px; outline: none;
}
.search input:focus { border-color: var(--forest-2); background: #fff; }
.search button {
  position: absolute; inset-inline-end: 5px; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: var(--forest); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 3px; inset-inline-start: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--amber); color: #fff; font: 600 12px/20px var(--num); text-align: center;
}
.cart-count[hidden] { display: none; }
.site-nav { border-top: 1px solid var(--line); }
.nav-row { display: flex; gap: 2px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 11px 14px; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav-item > a:hover { color: var(--forest-2); }
.nav-offers { color: var(--amber-ink) !important; font-weight: 600; }
.sub {
  display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; box-shadow: 0 12px 30px rgba(18, 55, 42, .1); z-index: 50;
}
.sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.sub a:hover { background: var(--tint); }
@media (hover: hover) and (min-width: 901px) {
  .nav-row { overflow: visible; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
}
.nav-backdrop { display: none; }

/* ---------- عام ---------- */
main { min-height: 50vh; }
.notice { padding: 12px 16px; border-radius: var(--r-sm); margin: 16px 0; font-size: 15px; border: 1px solid; }
.notice-success { background: var(--ok-soft); border-color: #bfe0cc; color: #155c37; }
.notice-error { background: var(--red-soft); border-color: #f1c6c1; color: #8f281f; }
.notice-info { background: #FFF7E8; border-color: #F2DDB3; color: #6c4610; }
.notice a { color: inherit; font-weight: 600; }
.section { padding-top: 44px; padding-bottom: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 24px; }
.section-head p { margin: 0; color: var(--muted); flex-basis: 100%; }
.more { font-weight: 500; text-decoration: none; }
.page-title { font-size: 28px; margin: 24px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 16px 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest-2); }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h1, .empty-state h2 { font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }
.empty-state.small { padding: 50px 16px; background: var(--tint); border-radius: var(--r); }

/* ---------- الهيرو ---------- */
.hero { background: var(--forest); color: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 380px; gap: 24px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 600; line-height: 1.3; letter-spacing: -.3px; }
.hero p { font-size: 18px; color: #cfe0d6; max-width: 46ch; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; height: 380px; }
.cap { position: absolute; width: 96px; height: 250px; border-radius: 48px; overflow: hidden; }
.cap::before, .cap::after { content: ""; position: absolute; inset-inline: 0; height: 50%; }
.cap::before { top: 0; }
.cap::after { bottom: 0; }
.cap-a { left: 22%; top: 70px; transform: rotate(-20deg); }
.cap-a::before { background: var(--cream); } .cap-a::after { background: #B9D3C4; }
.cap-b { left: 46%; top: 40px; transform: rotate(20deg); }
.cap-b::before { background: var(--amber); } .cap-b::after { background: var(--amber-2); }
.cap-c { left: 4%; top: 190px; width: 64px; height: 160px; transform: rotate(62deg); opacity: .55; }
.cap-c::before { background: var(--forest-2); } .cap-c::after { background: #B9D3C4; }
@media (prefers-reduced-motion: no-preference) {
  .cap-a, .cap-b { animation: settle .9s cubic-bezier(.2, .8, .2, 1) both; }
  .cap-b { animation-delay: .12s; }
  @keyframes settle { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- السلايدر ---------- */
.slider { position: relative; max-width: var(--wrap); margin: 18px auto 0; padding: 0 20px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; background: var(--tint);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* يحافظ على الحواف المنحنية بسفاري */ }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; }
.slide a { display: block; color: inherit; text-decoration: none; }
.slide img { width: 100%; aspect-ratio: 1920 / 640; object-fit: cover; }
.slide-text {
  position: absolute; inset-block-end: 12%; inset-inline-start: 6%; max-width: 46%; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.slide-text h2 { font-size: clamp(22px, 3.4vw, 42px); }
.slide-text p { margin: 8px 0 16px; font-size: 17px; }
.slider-dots { position: absolute; bottom: 12px; inset-inline: 20px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; padding: 0; }
.slider-dots button[aria-current="true"] { width: 26px; background: #fff; }

/* ---------- الأهداف (كبسولات) ---------- */
.goals { display: flex; flex-wrap: wrap; gap: 12px; }
.goal {
  display: inline-flex; align-items: stretch; min-height: 54px; border: 1.5px solid var(--line); border-radius: 999px;
  overflow: hidden; text-decoration: none; color: var(--ink); background: #fff;
}
.goal-cap { width: 46px; background: var(--amber-2); display: grid; place-items: center; }
.goal-cap img { width: 26px; height: 26px; object-fit: contain; }
.goal-name { display: flex; align-items: center; padding: 0 20px 0 18px; font-weight: 500; }
.goal:nth-child(3n+2) .goal-cap { background: #B9D3C4; }
.goal:nth-child(3n) .goal-cap { background: var(--cream); border-inline-end: 1.5px solid var(--line); }
.goal:hover { border-color: var(--forest-2); }
.goal:hover .goal-name { color: var(--forest); }

/* ---------- بطاقة المنتج ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.card:hover { border-color: #c8d4cc; }
.card-media { position: relative; display: block; background: var(--tint); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
img.ph { object-fit: contain !important; padding: 28% !important; opacity: .28; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500; }
.tag-off { background: var(--amber); color: #fff; }
.tag-new { background: var(--forest); color: #fff; }
.tag-out { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.card-brand { font-size: 12.5px; color: var(--muted); }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.55; }
.card-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--forest-2); }
.card-pack { font-size: 13px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.add-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--forest); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.add-btn:hover { background: var(--forest-2); }
.add-btn.added { background: var(--ok); }
.price { white-space: nowrap; }
.price b { font: 600 18px/1.2 var(--num); color: var(--forest); }
.price small { font-size: 12.5px; color: var(--muted); }
.was { color: var(--muted); font: 400 13.5px var(--num); }
.off { color: var(--amber-ink); font: 600 13px var(--num); direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- الأقسام والماركات ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; text-align: center; }
.cat-img { aspect-ratio: 1; border-radius: var(--r); background: var(--tint); overflow: hidden; display: block; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover span:last-child { color: var(--forest-2); }
.band-offers { background: var(--cream); margin-top: 44px; padding-bottom: 44px; }
.band-offers .section { padding-top: 36px; }
.brands-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.brand-chip {
  flex: none; width: 150px; height: 84px; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center;
  padding: 14px; background: #fff; color: var(--ink); text-decoration: none; font: 600 16px var(--num);
}
.brand-chip img { max-height: 52px; object-fit: contain; }
.brand-chip:hover { border-color: var(--forest-2); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 40px; }
.brand-tile { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.brand-tile:hover { border-color: var(--forest-2); }
.brand-logo { height: 70px; display: grid; place-items: center; margin-bottom: 6px; }
.brand-logo img { max-height: 64px; object-fit: contain; }
.brand-logo b { font: 600 20px var(--num); color: var(--forest); }
.brand-name { font-weight: 500; }
.brand-tile small { color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 48px; padding-bottom: 56px; }
.trust div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.trust svg { grid-row: span 2; color: var(--forest-2); margin-top: 2px; }
.trust b { font-weight: 600; }
.trust span { color: var(--muted); font-size: 14.5px; }

/* ---------- صفحات القوائم ---------- */
.list-head { padding: 6px 0 20px; }
.list-head h1 { font-size: 30px; }
.intro { color: var(--muted); max-width: 70ch; margin: 8px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 7px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14.5px; }
.chips a:hover { border-color: var(--forest-2); color: var(--forest); }
.list-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 50px; }
.filters-box { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px 16px; position: sticky; top: 140px; }
.filters-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 0; font-weight: 600; }
.filters-box summary::-webkit-details-marker { display: none; }
.pill { background: var(--forest); color: #fff; border-radius: 99px; padding: 0 8px; font: 600 12px/20px var(--num); }
@media (min-width: 901px) { .filters-box:not([open]) > form { display: block; } }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14.5px; }
.opt input { width: 18px; height: 18px; accent-color: var(--forest); margin: 0; }
.opt span { flex: 1; }
.opt small { color: var(--muted); font-family: var(--num); }
.range { display: flex; gap: 8px; }
.range input { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 10px; direction: ltr; text-align: right; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.list-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 14.5px; }
.sort-form select { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 30px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--num); }
.pager .current { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ---------- صفحة المنتج ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 14px 0 34px; align-items: start; }
.pdp-gallery { position: sticky; top: 140px; }
.pdp-main { background: var(--tint); border-radius: var(--r); aspect-ratio: 1; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 30px; mix-blend-mode: multiply; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumbs button { width: 72px; height: 72px; border-radius: 10px; border: 2px solid transparent; background: var(--tint); padding: 4px; cursor: pointer; }
.pdp-thumbs button[aria-current="true"] { border-color: var(--forest); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-brand { font-weight: 500; text-decoration: none; color: var(--forest-2); }
.pdp-info h1 { font-size: 30px; margin-top: 4px; }
.pdp-en { color: var(--muted); font-size: 15px; margin-top: 2px; text-align: right; }
.pdp-lead { font-size: 17px; color: #39463f; margin: 14px 0 0; }
.pdp-price { margin: 20px 0 6px; }
.pdp-price .price b { font-size: 30px; }
.pdp-price .was { font-size: 17px; }
.stock-line { font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.stock-line::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.stock-line.ok { color: var(--ok); } .stock-line.low { color: var(--amber-ink); } .stock-line.out { color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.buy { display: flex; gap: 12px; margin: 22px 0 12px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); height: 52px; flex: none; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; color: var(--forest); display: grid; place-items: center; }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; font: 600 17px var(--num); -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 36px; font-size: 15px; }
.btn-wa { width: 100%; margin-top: 4px; }
.notify { margin: 22px 0 12px; }
.notify label { font-weight: 600; display: block; margin-bottom: 8px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; }
.assure { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #3d4a43; font-size: 14.5px; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure svg { color: var(--forest-2); }
.pdp-goals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; }
.pdp-goals span { color: var(--muted); }
.pdp-goals a { padding: 4px 14px; border-radius: 99px; background: var(--tint); text-decoration: none; color: var(--forest); }
.pdp-details { display: grid; gap: 18px; max-width: 860px; padding-bottom: 20px; }
.detail-block { border-top: 1px solid var(--line); padding-top: 22px; }
.detail-block h2 { font-size: 21px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.benefits li { display: flex; align-items: flex-start; gap: 12px; background: var(--tint); border: 1px solid #E3ECE6; border-radius: var(--r); padding: 14px 16px; min-width: 0; }
.benefits li > div { min-width: 0; overflow-wrap: anywhere; }
.benefits.one li, .benefits li.long { grid-column: 1 / -1; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 99px; background: var(--amber-2); color: var(--forest-ink); display: grid; place-items: center; margin-top: 1px; }
.benefits b { display: block; font-weight: 600; line-height: 1.55; padding-top: 2px; }
.benefits p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; white-space: pre-line; }
.benefits p.ben-text { margin: 2px 0 0; color: var(--ink); font-size: 15.5px; }
td.ltr, th.ltr { display: table-cell; text-align: right; }
.pre { white-space: pre-line; margin: 0; }
.suits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suits span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: var(--ok-soft); color: #155c37; font-size: 14px; }
.table-scroll { overflow-x: auto; }
.ing { width: 100%; border-collapse: collapse; font-size: 15px; }
.ing th { text-align: start; font-weight: 500; color: var(--muted); font-size: 13.5px; padding: 8px 12px; border-bottom: 1.5px solid var(--line); }
.ing td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.warn { background: #FFF8EC; border: 1px solid #F2DDB3; border-radius: var(--r); padding: 18px 20px; }
.warn h2 { color: var(--amber-ink); }
.warn p { margin: 0 0 6px; }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 12px; }
.sticky-buy {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
}

/* ---------- السلة والدفع ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; padding-bottom: 50px; }
.cart-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); }
.cart-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item.unavailable { opacity: .65; }
.ci-img { width: 90px; height: 90px; background: var(--tint); border-radius: 10px; display: block; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.ci-name { color: var(--ink); text-decoration: none; font-weight: 500; }
.ci-unit { font-size: 13.5px; color: var(--muted); }
.ci-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-total { font: 600 16px var(--num); }
.summary { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; position: sticky; top: 140px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.summary h2 { font-size: 19px; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 4px 0; }
.sum-row b { font-family: var(--num); font-weight: 600; }
.sum-row.muted { color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 17px; }
.sum-row.total b { font-size: 20px; color: var(--forest); }
.free-ship { background: var(--tint); border-radius: 10px; padding: 12px; font-size: 14px; }
.free-ship span { display: flex; gap: 6px; align-items: center; }
.bar { height: 6px; background: #dfe7e2; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); border-radius: 99px; }
.help { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.form-card { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; background: #fff; }
.form-card h2 { font-size: 19px; margin-bottom: 14px; }
.form-card h2.mt { margin-top: 26px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; margin-bottom: 14px; }
.fields .f { margin-bottom: 0; }
.f.full { grid-column: 1 / -1; }
.f > span { font-weight: 500; }
.f small { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; background: #fff; font-size: 16px;
}
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--forest-2); outline: none; box-shadow: 0 0 0 3px rgba(47, 107, 82, .14); }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: var(--red); }
.f input:disabled { background: var(--tint); color: var(--muted); }
.field-error { color: var(--red); font-size: 13.5px; }
.saved-addr { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.addr-chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; cursor: pointer; font-size: 14px; }
.addr-chip:hover { border-color: var(--forest-2); }
.pay-method { margin-top: 20px; }
.pay-method h3 { font-size: 16px; margin-bottom: 10px; }
.radio-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--forest-2); background: var(--tint); border-radius: var(--r-sm); padding: 14px 16px; cursor: pointer; }
.radio-card input { accent-color: var(--forest); width: 18px; height: 18px; }
.radio-card span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mini-items { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.mini-items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14.5px; }
.mini-items img { width: 48px; height: 48px; border-radius: 8px; background: var(--tint); object-fit: contain; padding: 3px; }
.mini-items img.ph { padding: 12px !important; }
.mini-items small { color: var(--muted); font-family: var(--num); }
.mini-items b { font-family: var(--num); font-weight: 500; }
.mini-items a { color: var(--ink); }
.checkout-login { color: var(--muted); margin: -6px 0 16px; }

/* ---------- الحساب ---------- */
.auth-card { margin: 34px auto 50px; padding: 30px 28px; }
.auth-card h1 { font-size: 25px; margin-bottom: 8px; }
.auth-card > p { color: var(--muted); margin: 0 0 18px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.auth-links a { color: var(--forest-2); }
.auth-links .link-btn { color: var(--forest-2); padding: 0; }
.otp-input { font: 600 26px var(--num) !important; letter-spacing: 10px; text-align: center; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .f { margin: 0; flex: 1; min-width: 220px; }
.done { text-align: center; padding: 40px 0 26px; }
.done-mark { width: 72px; height: 72px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); display: inline-grid; place-items: center; margin-bottom: 14px; }
.done h1 { font-size: 28px; margin-bottom: 8px; }
.done p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 50px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account-head .page-title { margin-bottom: 0; }
.account-head p { margin: 0 0 18px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; padding-bottom: 40px; }
.account-side { display: flex; flex-direction: column; gap: 4px; }
.account-side a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.account-side a:last-child { border-bottom: 0; }
.order-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-sm); }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: var(--tint); }
.order-row small { display: block; color: var(--muted); font-size: 13px; }
.order-row > b { font-family: var(--num); font-weight: 600; }
.status { padding: 2px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; background: var(--tint); color: var(--forest); white-space: nowrap; }
.status-new { background: #FFF2DC; color: var(--amber-ink); }
.status-delivered { background: var(--ok-soft); color: var(--ok); }
.status-cancelled, .status-returned { background: var(--red-soft); color: var(--red); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; color: var(--muted); font-size: 14px; }
.timeline li::before { content: ""; position: absolute; top: 9px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--forest-2); }
.timeline li.now::before { background: var(--line); }
.timeline .dot { width: 20px; height: 20px; border-radius: 99px; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; }
.timeline li.done .dot { background: var(--forest-2); border-color: var(--forest-2); }
.timeline li.now .dot { background: var(--amber); border-color: var(--amber-2); box-shadow: 0 0 0 4px #FFF2DC; }
.timeline li.done b { color: var(--ink); }
.timeline small { font-family: var(--num); font-size: 12px; }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--forest); color: #cfe0d6; margin-top: 30px; padding-top: 46px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin: 14px 0 0; max-width: 34ch; }
.site-footer h2 { font-size: 15px; color: var(--amber-2); margin-bottom: 12px; font-weight: 600; }
.site-footer a, .site-footer span { display: block; color: #cfe0d6; text-decoration: none; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer a span { display: inline; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; padding-bottom: 22px; font-size: 13px; color: #9fbcae; }
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; width: 56px; height: 56px; border-radius: 99px; z-index: 35;
  background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--forest); color: #fff; z-index: 60;
  padding: 12px 22px; border-radius: 99px; font-size: 15px; box-shadow: 0 10px 30px rgba(18, 55, 42, .25); display: flex; gap: 10px; align-items: center;
}
.toast a { color: var(--amber-2); font-weight: 600; }
.toast[hidden] { display: none; }
.toast.error { background: var(--red); }

/* ---------- الموبايل ---------- */
@media (max-width: 900px) {
  .only-mobile { display: inline-flex !important; }
  .only-desktop { display: none; }
  .header-row { flex-wrap: wrap; gap: 6px 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo { margin-inline-end: auto; }
  .logo img { height: 32px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .site-nav {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(320px, 86vw); background: #fff; z-index: 70;
    transform: translateX(100%); transition: transform .22s ease; overflow-y: auto; border: 0;
  }
  body.nav-open .site-nav { transform: none; }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(14, 42, 32, .45); z-index: 65; }
  .nav-row { flex-direction: column; overflow: visible; padding-top: 10px; padding-bottom: 30px; }
  .nav-close { align-self: flex-end; }
  .nav-item > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 12px 6px; }
  .sub a { font-size: 15px; color: var(--muted); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 34px; padding-bottom: 10px; }
  .hero-art { height: 150px; }
  .hero h1 { font-size: 27px; }
  .hero h1 br { display: none; }
  .hero p { font-size: 16px; margin: 12px 0 20px; }
  .topline { font-size: 12.5px; }
  .tb-static, .tb-rotator { padding: 6px 34px; }
  .cap { width: 60px; height: 150px; }
  .cap-a { left: 30%; top: 14px; } .cap-b { left: 52%; top: 0; } .cap-c { display: none; }
  .section { padding-top: 34px; }
  .section-head h2 { font-size: 21px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 11px 12px; }
  .card-title { font-size: 14px; }
  .price b { font-size: 16px; }
  .add-btn { width: 40px; height: 40px; }
  .goals { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .goal { flex: none; }
  .trust { grid-template-columns: 1fr; gap: 18px; }
  .list-layout { grid-template-columns: 1fr; gap: 14px; }
  .filters-box { position: static; }
  .list-head h1 { font-size: 25px; }
  .pdp { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .pdp-gallery { position: static; }
  .pdp-main img { padding: 20px; }
  .pdp-info h1 { font-size: 24px; }
  .benefits { grid-template-columns: 1fr; }
  .sticky-buy.only-mobile { display: flex !important; }
  body:has(.sticky-buy) .wa-float { bottom: 86px; }
  body:has(.sticky-buy) .site-footer { padding-bottom: 70px; }
  .cart-layout, .account-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-item { grid-template-columns: 70px minmax(0, 1fr); }
  .ci-img { width: 70px; height: 70px; }
  .ci-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .timeline li { flex-direction: row; text-align: start; gap: 12px; }
  .timeline li::before { top: 20px; inset-inline-start: 9px; width: 3px; height: calc(100% - 4px); }
  .order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .order-row > b { grid-column: 1 / -1; }
  .slide-text { max-width: 80%; }
  .slide-text p { display: none; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; inset-inline-start: 16px; }
}

/* ===== الكوبونات ===== */
.sum-row.discount { color: var(--ok); }
.sum-row.discount b.ltr { font-family: var(--num); letter-spacing: .5px; }
.coupon-box { border-top: 1px dashed var(--line); padding-top: 10px; }
.checkout-page .summary .co-submit, .checkout-page .summary .co-note { order: 3; }
.coupon-toggle { background: none; border: 0; padding: 4px 0; color: var(--forest-2); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.coupon-form { margin-top: 8px; }
.coupon-form[hidden] { display: none; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; font-family: var(--num); letter-spacing: 1px; text-transform: uppercase; }
.coupon-row input:focus { border-color: var(--forest-2); outline: none; }
.coupon-row input[aria-invalid] { border-color: var(--red); }
.coupon-row .btn { height: 44px; }
.coupon-applied { display: flex; align-items: center; gap: 10px; background: var(--ok-soft); color: var(--ok); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14.5px; }
.coupon-applied > div { flex: 1; min-width: 0; }
.coupon-applied b { font-weight: 600; }
.coupon-applied .ltr { font-family: var(--num); font-weight: 600; letter-spacing: .5px; background: #fff; border-radius: 6px; padding: 0 6px; margin-inline-start: 4px; }
.coupon-applied small { display: block; color: var(--muted); font-size: 13px; }
.coupon-applied form { margin: 0; }
.coupon-applied .link-btn { color: var(--red); }

/* ===== النوافذ المنبثقة ===== */
body.pop-lock { overflow: hidden; }
.vq-pop[hidden] { display: none; }
.vq-pop { position: fixed; z-index: 90; }
.vq-pop-center { inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(14, 42, 32, 0); transition: background .25s; }
.vq-pop-center.open { background: rgba(14, 42, 32, .55); }
.vq-pop-box { position: relative; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .25s, transform .25s; }
.vq-pop.open .vq-pop-box { opacity: 1; transform: none; }
.vq-pop-center .vq-pop-box { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.vq-pop-bottom { inset-inline: 0; bottom: 0; padding: 12px; }
.vq-pop-bottom .vq-pop-box { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 0; }
.vq-pop-bottom .vq-pop-img { width: 120px; flex: none; align-self: stretch; }
.vq-pop-bottom .vq-pop-img img { height: 100%; aspect-ratio: auto; }
.vq-pop-bottom .vq-pop-body { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 20px 14px 48px; text-align: start; }
.vq-pop-bottom h2 { font-size: 17px; margin: 0; }
.vq-pop-bottom p { margin: 0; flex-basis: 100%; }
.vq-pop-side { bottom: 16px; inset-inline-end: 16px; width: min(340px, calc(100vw - 32px)); }
.vq-pop-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vq-pop-body { padding: 22px 22px 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.vq-pop-body h2 { font-size: 22px; color: var(--forest); padding: 0 28px; }
.vq-pop-body p { margin: 0; color: var(--muted); white-space: pre-line; }
.vq-pop-x { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.vq-pop-coupon { display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px dashed var(--amber); background: #FFF8EC; border-radius: 12px; padding: 10px 12px; }
.vq-pop-coupon span { font-family: var(--num); font-weight: 600; font-size: 22px; letter-spacing: 2px; color: var(--amber-ink); }
.vq-pop-form { display: flex; flex-wrap: wrap; gap: 8px; }
.vq-pop-form input[name=value] { flex: 1 1 180px; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; }
.vq-pop-form input[name=value]:focus { border-color: var(--forest-2); outline: none; }
.vq-pop-form .btn-primary { flex: 1 1 auto; height: 46px; }
.vq-pop-msg { flex-basis: 100%; font-size: 14px; }
.vq-pop-msg.ok { color: var(--ok); font-weight: 500; }
.vq-pop-msg.bad { color: var(--red); }
.vq-pop-cta { align-self: center; min-width: 60%; }
.vq-pop-bottom .vq-pop-cta, .vq-pop-bottom .vq-pop-form { align-self: auto; min-width: 0; margin-inline-start: auto; }
@media (max-width: 700px) {
  .vq-pop-bottom { padding: 0; }
  .vq-pop-bottom .vq-pop-box { border-radius: 18px 18px 0 0; }
  .vq-pop-bottom .vq-pop-img { display: none; }
  .vq-pop-bottom .vq-pop-body { padding: 16px 16px 18px; }
  .vq-pop-bottom .vq-pop-cta, .vq-pop-bottom .vq-pop-form { margin: 0; flex-basis: 100%; }
  .vq-pop-side { inset-inline: 12px; bottom: 12px; width: auto; }
  .vq-pop-center { align-items: end; padding: 0; }
  .vq-pop-center .vq-pop-box { border-radius: 18px 18px 0 0; width: 100%; max-height: 88vh; }
}

/* ===== شريحة ملونة بدون صورة ===== */
.slide-color { background: var(--sl-bg); color: var(--sl-fg); aspect-ratio: 1920 / 640; overflow: hidden; }
.slide-color > a { height: 100%; }
.slide-color .slide-text { color: var(--sl-fg); text-shadow: none; inset-block-end: auto; top: 50%; transform: translateY(-50%); max-width: 58%; }
.slide-color .slide-text p { display: block; opacity: .88; }
.sl-deco { position: absolute; inset-inline-end: 6%; top: 50%; transform: translateY(-50%) rotate(-28deg); display: flex; gap: 18px; opacity: .9; }
.sl-deco i { display: block; width: clamp(54px, 7vw, 96px); height: clamp(140px, 19vw, 250px); border-radius: 99px; background: linear-gradient(180deg, var(--amber-2) 0 50%, rgba(255, 255, 255, .22) 50% 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.sl-deco i:last-child { transform: translateY(26%); background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0 50%, var(--amber) 50% 100%); }
@media (max-width: 700px) {
  .slide-color { aspect-ratio: 4 / 3; }
  .slide-color .slide-text { max-width: 74%; inset-inline-start: 7%; }
  .slide-color .slide-text p { display: block; font-size: 15px; }
  .sl-deco { inset-inline-end: -8%; opacity: .45; }
}

/* ===== التقييمات ===== */
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars i { display: inline-block; background: linear-gradient(to left, var(--amber) var(--f), #DCE3DE var(--f));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pdp-rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); margin: 4px 0 6px; font-size: 14.5px; }
.pdp-rating b { font-family: var(--num); }
.pdp-rating span { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reviews { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 26px; scroll-margin-top: 140px; }
.reviews > h2 { font-size: 22px; margin-bottom: 18px; }
.rv-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.rv-summary { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 140px; }
.rv-avg { display: flex; align-items: center; gap: 14px; }
.rv-avg > b { font: 600 48px/1 var(--num); color: var(--forest); }
.rv-avg span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.rv-bars { display: flex; flex-direction: column; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rv-bar i { height: 8px; background: var(--tint); border-radius: 99px; overflow: hidden; display: block; }
.rv-bar em { display: block; height: 100%; background: var(--amber); border-radius: 99px; }
.rv-bar span, .rv-bar small { font-family: var(--num); }
.rv-form-wrap > summary { list-style: none; cursor: pointer; }
.rv-form-wrap > summary::-webkit-details-marker { display: none; }
.rv-form-wrap[open] > summary { display: none; }
.rv-form { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.rv-form .f input:not([type=file]), .rv-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.rv-form .f { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.star-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { font-size: 14.5px; margin-bottom: 6px; padding: 0; float: right; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: #DCE3DE; cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amber); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--forest-2); border-radius: 4px; }
.rv-note { display: flex; gap: 6px; align-items: center; color: var(--ok); background: var(--ok-soft); border-radius: var(--r-sm); padding: 10px 12px; margin: 0; font-size: 14.5px; }
.rv-list { display: flex; flex-direction: column; gap: 14px; }
.rv-list > .btn { align-self: flex-start; }
.rv-item { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.rv-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.rv-item header time { color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.rv-verified { display: inline-flex; align-items: center; gap: 3px; color: var(--ok); font-size: 12.5px; }
.rv-item h3 { font-size: 16px; margin: 10px 0 0; }
.rv-item p { margin: 6px 0 0; white-space: pre-line; line-height: 1.8; }
.rv-imgs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.rv-imgs img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rv-reply { margin-top: 10px; background: var(--tint); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }
.review-ask { border-color: var(--amber-2); background: #FFFBF3; }
.review-ask .mini-items li { align-items: center; }
@media (max-width: 860px) {
  .rv-layout { grid-template-columns: 1fr; gap: 20px; }
  .rv-summary { position: static; }
}

/* ===== المدونة ===== */
.blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.blog-head .page-title { margin-bottom: 4px; }
.blog-head p { margin: 0; }
.blog-search { display: flex; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; min-width: min(320px, 100%); }
.blog-search input { flex: 1; border: 0; padding: 10px 16px; min-width: 0; outline: none; }
.blog-search button { border: 0; background: var(--forest); color: #fff; width: 46px; display: grid; place-items: center; cursor: pointer; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.chips a { padding: 7px 16px; border-radius: 99px; background: var(--tint); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.chips a[aria-current] { background: var(--forest); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 10px 30px rgba(18, 55, 42, .08); transform: translateY(-2px); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--tint); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-ph { display: grid; place-items: center; height: 100%; }
.post-ph img { width: 64px; height: 64px; opacity: .35; object-fit: contain; }
.post-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 99px; background: rgba(18, 55, 42, .82); color: #fff; display: grid; place-items: center; font-size: 18px; padding-inline-start: 3px; }
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-cat { align-self: flex-start; font-size: 12.5px; color: var(--amber-ink); background: #FFF4DF; border-radius: 99px; padding: 2px 10px; text-decoration: none; }
.post-body h3 { font-size: 17.5px; line-height: 1.5; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { color: var(--forest-2); }
.post-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post-meta { color: var(--muted); font-size: 13px; margin-top: auto; padding-top: 6px; }
.post-grid.with-lead > .post-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.post-grid.with-lead > .post-card:first-child .post-media { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.post-grid.with-lead > .post-card:first-child .post-body { padding: 28px; justify-content: center; }
.post-grid.with-lead > .post-card:first-child h3 { font-size: 26px; }
.post-grid.with-lead > .post-card:first-child .post-meta { margin-top: 8px; }
.article { max-width: 780px; margin: 0 auto; }
.article-head { margin: 8px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.article-head h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.35; }
.article-cover img, .article-video video, .article-video iframe { width: 100%; border-radius: var(--r); display: block; }
.article-cover { margin: 0 0 24px; }
.article-video { margin: 0 0 24px; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.article-video iframe, .article-video video { height: 100%; border: 0; border-radius: 0; }
.yt-play { position: relative; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; display: block; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-play span { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border-radius: 14px; background: #E62117; color: #fff; display: grid; place-items: center; font-size: 22px; }
.yt-play:hover span { transform: scale(1.06); }
.article-body { font-size: 17.5px; line-height: 2; }
.article-body h2 { font-size: 24px; margin: 30px 0 10px; }
.article-body h3 { font-size: 20px; margin: 24px 0 8px; }
.article-body img { border-radius: 12px; margin: 14px auto; height: auto; }
.article-body blockquote { border-inline-start: 4px solid var(--amber); background: #FFFBF3; margin: 18px 0; padding: 12px 18px; border-radius: 0 10px 10px 0; }
.article-products { margin: 34px 0 10px; padding: 22px; background: var(--tint); border-radius: var(--r); }
.article-products h2 { font-size: 20px; margin-bottom: 14px; }
.article-products .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-foot { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.article-note { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share span { color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-grid.with-lead > .post-card:first-child { flex-direction: column; }
  .post-grid.with-lead > .post-card:first-child .post-media { min-height: 0; aspect-ratio: 16 / 9; }
  .post-grid.with-lead > .post-card:first-child .post-body { padding: 16px 18px 18px; }
  .post-grid.with-lead > .post-card:first-child h3 { font-size: 20px; }
  .article-body { font-size: 16.5px; }
  .article-products { padding: 16px; margin-inline: -4px; }
  .article-products .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== نقاط المكافآت ===== */
.points-strip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: linear-gradient(120deg, var(--forest), var(--forest-2)); color: #fff; text-decoration: none; margin-bottom: 18px; }
.points-strip > span:first-child { width: 42px; height: 42px; border-radius: 99px; background: rgba(240, 194, 122, .2); color: var(--amber-2); display: grid; place-items: center; flex: none; }
.points-strip b { font: 600 20px var(--num); }
.points-strip small { color: var(--mint, #B9D3C4); font-size: 14px; }
.points-strip .ps-cta { margin-inline-start: auto; color: var(--amber-2); font-size: 14.5px; font-weight: 500; }
.points-hero { background: linear-gradient(120deg, var(--forest), var(--forest-2)); color: #fff; border-radius: 18px; padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; }
.points-hero::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 180px; height: 180px; border-radius: 99px; background: rgba(240, 194, 122, .12); }
.points-hero span { color: #B9D3C4; font-size: 14.5px; }
.points-hero b { display: block; font: 600 52px/1.1 var(--num); color: var(--amber-2); margin: 4px 0; }
.points-hero small { color: #d6e3dc; font-size: 14.5px; }
.points-warn { position: relative; z-index: 1; background: rgba(255, 255, 255, .12); border-radius: 99px; padding: 8px 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: #FFE4B5 !important; }
.earn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.earn-card { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.earn-card h3 { font-size: 16.5px; padding-left: 74px; }
.earn-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.earn-card .btn { margin-top: 6px; }
.earn-card.done { background: var(--tint); }
.earn-card .ok { color: var(--ok); display: inline-flex; gap: 4px; align-items: center; font-weight: 500; }
.earn-pts { position: absolute; top: 14px; left: 14px; background: #FFF4DF; color: var(--amber-ink); border-radius: 99px; padding: 2px 10px; font: 600 14px var(--num); direction: ltr; unicode-bidi: isolate; }
.share-card { grid-column: 1 / -1; background: #FFFBF3; border-color: var(--amber-2); }
.ref-link { display: flex; gap: 8px; width: 100%; max-width: 520px; margin-top: 6px; }
.ref-link input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; background: #fff; font-family: var(--num); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.points-log { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 10px; }
.pl-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pl-row:first-child { border-top: 0; }
.pl-pts { font: 600 17px var(--num); direction: ltr; unicode-bidi: isolate; text-align: center; }
.pl-pts.pos { color: var(--ok); } .pl-pts.neg { color: var(--red); }
.pl-date { color: var(--muted); font-size: 13px; text-align: end; }
.points-use { display: flex; align-items: center; gap: 10px; background: #FFF8EC; border: 1.5px solid var(--amber-2); border-radius: var(--r-sm); padding: 10px 12px; cursor: pointer; }
.points-use input { width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.points-use span { flex: 1; font-weight: 500; }
.points-use small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.points-use b { font-family: var(--num); color: var(--ok); white-space: nowrap; }
.earn-note { color: var(--amber-ink); font-weight: 500; }
.earn-note-box { display: flex; gap: 6px; align-items: center; background: #FFF8EC; color: var(--amber-ink); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.ok-text { color: var(--ok); font-weight: 500; }
@media (max-width: 700px) {
  .earn-grid { grid-template-columns: 1fr; }
  .points-hero b { font-size: 42px; }
  .points-strip .ps-cta { display: none; }
}

.share-btns .btn { width: auto; flex: 0 0 auto; }
.points-hero + h2, .points-hero ~ h2 { margin-top: 26px; margin-bottom: 4px; }
@media (max-width: 1000px) and (min-width: 701px) { .earn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== المساعد الذكي ===== */
.ai-launch { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 36; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--forest); color: #fff; padding: 13px 18px; border-radius: 99px; font: 500 15px var(--font); box-shadow: 0 10px 26px rgba(18, 55, 42, .3); }
.ai-launch svg { color: var(--amber-2); }
.ai-launch:hover { background: var(--forest-2); }
body.ai-open .ai-launch { display: none; }
.ai-panel { display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.ai-panel[hidden] { display: none; }
.ai-panel:not(.ai-embedded) { position: fixed; z-index: 70; bottom: 20px; inset-inline-end: 20px; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px));
  border-radius: 20px; box-shadow: 0 24px 70px rgba(14, 42, 32, .28); border: 1px solid var(--line); }
.ai-embedded { border: 1px solid var(--line); border-radius: 20px; height: min(680px, calc(100vh - 220px)); min-height: 460px; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--forest); color: #fff; }
.ai-head > div { flex: 1; min-width: 0; }
.ai-head b { display: block; font-weight: 600; }
.ai-head small { color: #B9D3C4; font-size: 12.5px; }
.ai-avatar { width: 36px; height: 36px; border-radius: 99px; background: rgba(240, 194, 122, .18); color: var(--amber-2); display: grid; place-items: center; flex: none; }
.ai-avatar.big { width: 56px; height: 56px; background: rgba(240, 194, 122, .2); }
.ai-icon { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; cursor: pointer; }
.ai-icon:hover { background: rgba(255, 255, 255, .2); }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--tint); overscroll-behavior: contain; }
.ai-msg { max-width: 88%; }
.ai-msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.bot p { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; }
.ai-msg.me { align-self: flex-end; }
.ai-msg.me p { background: var(--forest); color: #fff; border-start-end-radius: 4px; }
.ai-msg.typing p { display: flex; gap: 4px; padding: 14px 16px; }
.ai-msg.typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--muted); animation: aiDot 1s infinite ease-in-out; }
.ai-msg.typing i:nth-child(2) { animation-delay: .15s; } .ai-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips button { border: 1.5px solid var(--forest-2); background: #fff; color: var(--forest); border-radius: 99px; padding: 6px 12px; font: 14px var(--font); cursor: pointer; }
.ai-chips button:hover { background: var(--forest); color: #fff; }
.ai-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ai-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ai-card img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--tint); }
.ai-card small { display: block; color: var(--muted); font-size: 12px; }
.ai-card-name { display: block; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ai-card-price { font-size: 13px; color: var(--muted); }
.ai-card-price b { font-family: var(--num); color: var(--forest); font-size: 14.5px; }
.ai-card-price i { font-style: normal; color: var(--amber-ink); }
.ai-card form { margin: 0; }
.ai-add { width: 36px; height: 36px; border-radius: 99px; border: 0; background: var(--forest); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ai-out { font-size: 12.5px; color: var(--red); }
.ai-context { background: #FFF8EC; color: var(--amber-ink); font-size: 13px; padding: 6px 14px; border-top: 1px solid var(--line); }
.ai-context[hidden] { display: none; }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-form textarea { flex: 1; min-width: 0; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; font: 15px/1.5 var(--font); max-height: 120px; }
.ai-form textarea:focus { border-color: var(--forest-2); outline: none; }
.ai-send { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--amber); color: var(--forest-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.ai-send svg { transform: scaleX(1); }
.ai-note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); text-align: center; background: #fff; }
.btn-ai { background: #fff; border: 1.5px solid var(--forest-2); color: var(--forest); display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.btn-ai:hover { background: var(--tint); }
.pdp-info .btn-ai { width: 100%; margin-top: 10px; }
.ai-band { margin-top: 10px; margin-bottom: 10px; }
.ai-band-in { display: flex; align-items: center; gap: 18px; background: linear-gradient(120deg, var(--forest), var(--forest-2)); color: #fff; border-radius: 20px; padding: 22px 26px; }
.ai-band-in > div { flex: 1; }
.ai-band-in h2 { font-size: 21px; }
.ai-band-in p { margin: 4px 0 0; color: #d6e3dc; }
.assistant-intro { margin-bottom: 14px; }
@media (max-width: 700px) {
  .ai-panel:not(.ai-embedded) { inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0; }
  .ai-launch { bottom: 16px; inset-inline-end: 16px; padding: 12px 14px; }
  .ai-launch span { display: none; }
  body:has(.sticky-buy) .ai-launch { bottom: 86px; }
  .ai-embedded { height: calc(100vh - 200px); border-radius: 16px; }
  .ai-band-in { flex-direction: column; text-align: center; padding: 22px 18px; }
}

/* ---------- صفحة الدفع ---------- */
.pay-card { text-align: center; }
.pay-card .notice { text-align: start; }
.pay-sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--tint); border-radius: var(--r-sm); margin-bottom: 16px; }
.pay-amount { font-size: 24px; color: var(--forest); }
.pay-amount small { font-size: 14px; }
.pay-steps { color: var(--muted); }
.fib-box { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.fib-qr { width: 240px; max-width: 100%; height: auto; image-rendering: pixelated; border: 8px solid #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 8px; }
.fib-code b { font-size: 18px; letter-spacing: 2px; margin-inline: 6px; }
.fib-apps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pay-wait { display: flex; align-items: center; gap: 8px; color: var(--forest-2); margin: 0; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--forest-2); border-radius: 50%; animation: vq-spin .8s linear infinite; display: inline-block; }
@keyframes vq-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.pay-alt { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 16px; }
.pay-alt .link-btn { color: var(--forest-2); text-decoration: underline; }
.pay-due { border: 2px solid var(--amber-2); background: #FFFBF2; }
.pay-st-paid { color: var(--ok); }
.pay-st-failed, .pay-st-refunded { color: var(--red); }
.pay-st-pending, .pay-st-unpaid { color: var(--amber-ink); }

/* =====================================================================
   قسم العناية بالبشرة والشعر
   ===================================================================== */
.beauty {
  --bt-bg: #F6E9E4; --bt-accent: #B4636A;
  --bt-soft: #F7ECEC; --bt-line: #EBD7D5; --bt-sage: #E2EBE2;
  --bt-soft: color-mix(in srgb, var(--bt-accent) 10%, #fff);
  --bt-line: color-mix(in srgb, var(--bt-accent) 24%, #fff);
}
.nav-beauty { color: #A0505A !important; font-weight: 600; display: inline-flex !important; align-items: center; gap: 6px; }
.nav-beauty .bi { opacity: .8; }

.bt-section { padding-top: 48px; }
.bt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bt-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; color: var(--forest); }
.bt-head p { margin: 0; color: var(--muted); flex-basis: 100%; }
.bt-head .more { color: var(--forest-2); font-size: 15px; }

/* الواجهة */
.bt-hero { background: var(--bt-bg); padding: 46px 0 0; position: relative; }
.bt-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; min-height: 340px; }
.bt-hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 300; line-height: 1.12; letter-spacing: -.5px; color: var(--forest-ink); max-width: 18ch; }
.bt-hero-copy p { font-size: 18px; color: #5d4f4b; max-width: 44ch; margin: 18px 0 26px; }
.bt-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bt-btn-line { background: transparent; border: 1.5px solid var(--forest); color: var(--forest); }
.bt-btn-line:hover { background: var(--forest); color: #fff; }
.bt-hero-art { position: relative; height: 330px; }
.bt-hero-art.has-img { display: flex; align-items: flex-end; justify-content: center; }
.bt-hero-art img { max-height: 340px; width: auto; max-width: 100%; object-fit: contain; }
.bt-swirl { position: absolute; inset: 10% 6% 4% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--bt-accent) 22%, transparent) 0 48%, transparent 49%); }
.bt-swirl::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--bt-accent) 35%, transparent); }
.bt-obj { position: absolute; z-index: 1; box-shadow: 0 18px 30px -18px rgba(70, 30, 30, .45); }
.bt-dropper { width: 92px; height: 150px; bottom: 34px; inset-inline-start: 22%; border-radius: 16px 16px 20px 20px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--bt-accent) 55%, #fff) 0%, var(--bt-accent) 70%, color-mix(in srgb, var(--bt-accent) 75%, #000) 100%); }
.bt-dropper::before { content: ""; position: absolute; width: 34px; height: 64px; top: -58px; inset-inline-start: 29px; border-radius: 17px 17px 4px 4px; background: linear-gradient(90deg, #0E2A20, #2F6B52 60%, #0E2A20); }
.bt-dropper::after { content: ""; position: absolute; width: 52px; height: 14px; top: -6px; inset-inline-start: 20px; border-radius: 4px; background: #E9D9B8; }
.bt-dropper i { position: absolute; inset: 46px 14px 30px; border-radius: 6px; background: rgba(255, 255, 255, .85); }
.bt-dropper i::before { content: ""; position: absolute; inset: 14px 12px auto; height: 3px; border-radius: 2px; background: var(--bt-accent); box-shadow: 0 9px 0 rgba(0, 0, 0, .12), 0 17px 0 rgba(0, 0, 0, .12); }
.bt-tube { width: 64px; height: 200px; bottom: 30px; inset-inline-start: 50%; transform: rotate(-12deg); border-radius: 10px 10px 30px 30px / 6px 6px 30px 30px;
  background: linear-gradient(90deg, #FBF7F2, #fff 40%, #EFE5DD); }
.bt-tube::before { content: ""; position: absolute; width: 44px; height: 38px; bottom: -32px; inset-inline-start: 10px; border-radius: 6px 6px 10px 10px; background: var(--forest-2); }
.bt-tube i { position: absolute; inset: 40px 10px 60px; border-radius: 30px; background: var(--bt-soft); border: 1px solid var(--bt-line); }
.bt-jar { width: 132px; height: 76px; bottom: 12px; inset-inline-start: 4%; border-radius: 16px 16px 22px 22px; background: linear-gradient(180deg, #fff, #F3ECE6); }
.bt-jar::before { content: ""; position: absolute; inset: -26px -6px auto; height: 30px; border-radius: 10px; background: linear-gradient(180deg, #E9D9B8, #D4BE93); }
.bt-jar i { position: absolute; inset: 22px 30px; border-radius: 99px; background: color-mix(in srgb, var(--bt-accent) 30%, #fff); }

.bt-areas { display: flex; gap: 12px; transform: translateY(50%); margin-top: -10px; position: relative; z-index: 2; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.bt-areas a { flex: 1 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: 16px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(60, 30, 30, .06), 0 8px 24px -14px rgba(60, 30, 30, .3); }
.bt-areas a .bi { color: var(--bt-accent); flex: none; }
.bt-areas b { display: block; font-weight: 500; }
.bt-areas small { color: var(--muted); font-size: 13px; }
.bt-areas a:hover b { color: var(--forest-2); }
.bt-areas .bt-all { background: var(--forest); color: #fff; }
.bt-areas .bt-all small { color: #b9d0c4; }
.bt-areas .bt-all:hover b { color: #fff; }
.bt-hero + .bt-section { padding-top: 84px; }

/* أنواع البشرة: أقراص تمثل ملمس كل بشرة */
.bt-skins { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bt-skin { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--ink); padding: 18px 8px 16px; border-radius: 20px; }
.bt-skin:hover { background: var(--bt-soft); }
.bt-skin b { font-weight: 500; margin-top: 10px; }
.bt-skin small { color: var(--muted); font-size: 13px; }
.bt-disc { width: 104px; height: 104px; border-radius: 50%; display: block; transition: transform .25s ease;
  box-shadow: inset -6px -8px 16px rgba(120, 60, 40, .16), inset 4px 6px 10px rgba(255, 255, 255, .35), 0 10px 20px -14px rgba(90, 40, 30, .5); }
.bt-skin:hover .bt-disc { transform: scale(1.05); }
.bt-disc-normal { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .55) 0 7%, transparent 26%), linear-gradient(160deg, #F3D7C8, #E2B8A3); }
.bt-disc-oily { background: radial-gradient(ellipse 22% 14% at 32% 28%, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(circle at 66% 60%, rgba(255, 255, 255, .75) 0 4%, transparent 12%),
  radial-gradient(circle at 44% 70%, rgba(255, 255, 255, .55) 0 3%, transparent 9%), linear-gradient(160deg, #EDBE9F, #D99E80); }
.bt-disc-dry { background: repeating-linear-gradient(118deg, transparent 0 13px, rgba(140, 95, 75, .2) 13px 14px), repeating-linear-gradient(28deg, transparent 0 17px, rgba(140, 95, 75, .16) 17px 18px), linear-gradient(160deg, #F0D8CA, #DDBFAE); }
.bt-disc-combination { background: radial-gradient(ellipse 16% 11% at 30% 34%, rgba(255, 255, 255, .9), transparent 70%), linear-gradient(90deg, #E5B295 0 50%, transparent 50%),
  repeating-linear-gradient(118deg, transparent 0 13px, rgba(140, 95, 75, .2) 13px 14px), linear-gradient(160deg, #F0D8CA, #DDBFAE); }
.bt-disc-sensitive { background: radial-gradient(circle at 62% 44%, rgba(214, 92, 92, .38) 0 16%, transparent 38%), radial-gradient(circle at 36% 64%, rgba(214, 92, 92, .3) 0 12%, transparent 32%), linear-gradient(160deg, #F6DCD3, #EBC1B4); }

/* المشاكل */
.bt-concerns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bt-concerns a { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--bt-line); text-decoration: none; color: var(--ink); }
.bt-concerns a:hover { border-color: var(--bt-accent); }
.bt-concerns b { font-weight: 500; flex: 1; }
.bt-concerns small { color: var(--muted); font-size: 13px; font-family: var(--num, inherit); }
.bt-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bt-soft); color: var(--bt-accent); flex: none; }
.bt-concerns-hair .bt-ic { background: var(--bt-sage); color: var(--forest-2); }
.bt-concerns-hair .bt-concerns a { border-color: #D3DFD3; }
.bt-concerns-hair .bt-concerns a:hover { border-color: var(--forest-2); }
.bt-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.bt-pills > span { color: var(--muted); font-size: 14.5px; margin-inline-end: 4px; }
.bt-pills a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.bt-pills a:hover { border-color: var(--forest-2); color: var(--forest); }

/* الروتينات */
.bt-routines-band { background: #FBF6F3; background: color-mix(in srgb, var(--bt-bg) 45%, #fff); margin-top: 48px; padding-bottom: 48px; }
.bt-routines-band .bt-section { padding-top: 40px; }
.bt-routines { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.bt-routine { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--rt-bg); color: var(--forest-ink); text-decoration: none; min-height: 180px; }
.bt-routine img { width: 100%; height: 140px; object-fit: contain; margin-bottom: 4px; }
.bt-routine h3 { font-size: 20px; font-weight: 500; }
.bt-routine p { margin: 0; color: #5d4f4b; font-size: 15px; }
.bt-steps-mini { list-style: none; counter-reset: st; display: flex; flex-wrap: wrap; gap: 6px 0; padding: 0; margin: 8px 0 0; }
.bt-steps-mini li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.bt-steps-mini li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 600; }
.bt-steps-mini li:not(:last-child)::after { content: ""; width: 14px; height: 1.5px; background: rgba(18, 55, 42, .35); margin: 0 6px; }
.bt-routine-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.bt-routine-foot b { font-size: 17px; }
.bt-routine-foot span { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.bt-routine:hover .bt-routine-foot span { color: var(--forest-2); }

/* المكونات */
.bt-actives { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-actives a { display: flex; flex-direction: column; padding: 10px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--bt-line); text-decoration: none; color: var(--forest-ink); line-height: 1.4; }
.bt-actives a span { font-size: 12.5px; color: var(--muted); }
.bt-actives a:hover { border-color: var(--bt-accent); }

.bt-help { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 30px; border-radius: 22px; background: var(--bt-soft); }
.bt-help h2 { font-size: 22px; font-weight: 500; color: var(--forest); }
.bt-help p { margin: 4px 0 0; color: var(--muted); }
.bt-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bt-help-actions .btn { margin: 0; }

/* صفحات القائمة */
.bt-list .list-head { background: var(--bt-bg); border-radius: 22px; padding: 26px 28px; margin-bottom: 22px; }
.bt-list .list-head h1 { font-weight: 400; color: var(--forest-ink); }
.bt-list .list-head .chips a { background: rgba(255, 255, 255, .75); border-color: transparent; }
.bt-list .list-head .chips a:hover { background: #fff; }

/* صفحة الروتين */
.bt-rt-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--rt-bg); border-radius: 26px; padding: 34px 36px; margin-top: 4px; }
.bt-rt-meta { margin: 0 0 6px; color: #6b5a55; font-size: 15px; }
.bt-rt-head h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; color: var(--forest-ink); line-height: 1.2; }
.bt-rt-sub { font-size: 18px; margin: 8px 0 0; color: #4d4340; }
.bt-rt-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.bt-rt-buy b { font-size: 19px; }
.bt-rt-img { max-width: 300px; max-height: 240px; object-fit: contain; }
.bt-rt-steps { list-style: none; margin: 0; padding: 0; }
.bt-rt-step { display: grid; grid-template-columns: 48px 200px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; position: relative; }
.bt-rt-step:not(:last-child)::after { content: ""; position: absolute; top: 66px; bottom: -18px; inset-inline-start: 23px; width: 2px; background: var(--bt-line); }
.bt-rt-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #fff; font-size: 19px; font-weight: 600; position: relative; z-index: 1; }
.bt-rt-label b { display: block; font-size: 18px; font-weight: 500; }
.bt-rt-label p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.bt-time { display: inline-block; margin-top: 4px; font-size: 12.5px; padding: 2px 10px; border-radius: 99px; background: #FFF4DC; color: var(--amber-ink); }
.bt-time-pm { background: #E7E9F4; color: #3E4A7A; }
.bt-time-both { background: var(--bt-sage); color: var(--forest-2); }
.bt-rt-prod { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.bt-rt-prod:hover { border-color: var(--forest-2); }
.bt-rt-prod img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; flex: none; }
.bt-rt-prod small { display: block; color: var(--muted); font-size: 13px; }
.bt-rt-prod b { font-weight: 500; display: block; }
.bt-rt-price .price b { font-size: 15px; }
.bt-rt-step.is-out { opacity: .55; }

/* صفحة المنتج */
.bt-fit { background: #FCF7F5; background: color-mix(in srgb, var(--bt-bg) 40%, #fff); border-radius: var(--r); padding: 22px 24px; border: 1px solid var(--bt-line); }
.bt-fit-list { margin: 12px 0 0; display: grid; gap: 12px; }
.bt-fit-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
.bt-fit-list dt { color: var(--muted); font-size: 14.5px; }
.bt-fit-list dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bt-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--bt-line); color: var(--ink); text-decoration: none; font-size: 14px; }
a.bt-tag:hover { border-color: var(--bt-accent); }
.bt-tag .bi { color: var(--bt-accent); }
.bt-tag-active { background: var(--bt-soft); border-color: transparent; }
.bt-claims { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--forest-2); }
.bt-claims li { display: inline-flex; align-items: center; gap: 4px; }
.bt-in-routine { display: block; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--forest); text-decoration: none; font-size: 14.5px; }
.bt-in-routine:hover { text-decoration: underline; }
.ing-inline { margin: 0; line-height: 1.9; color: #3c4540; }

/* بلوك الرئيسية */
.bt-home { background: var(--bt-bg); margin-top: 48px; padding: 44px 0; }
.bt-home-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.bt-home h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 300; color: var(--forest-ink); line-height: 1.2; }
.bt-home-copy > p { color: #5d4f4b; margin: 12px 0 18px; max-width: 42ch; }
.bt-home .bt-pills { margin: 0 0 12px; }
.bt-home-copy .btn { margin-top: 8px; }
.grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 1000px) {
  .bt-skins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-rt-step { grid-template-columns: 48px 1fr; }
  .bt-rt-prod { grid-column: 2; }
  .bt-rt-act { grid-column: 2; }
  .bt-rt-step:not(:last-child)::after { top: 66px; }
}
@media (max-width: 800px) {
  .bt-hero { padding-top: 28px; }
  .bt-hero-in { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .bt-hero-art { height: 220px; order: -1; }
  .bt-hero-art img { max-height: 220px; }
  .bt-dropper { transform: scale(.72); transform-origin: bottom; }
  .bt-tube { transform: rotate(-12deg) scale(.72); transform-origin: bottom; }
  .bt-jar { transform: scale(.75); transform-origin: bottom; }
  .bt-areas { transform: none; margin: 22px 0 0; padding: 0 20px 18px; }
  .bt-areas a { flex: 0 0 auto; }
  .bt-hero + .bt-section { padding-top: 36px; }
  .bt-home-in { grid-template-columns: 1fr; }
  .bt-rt-head { grid-template-columns: 1fr; padding: 24px 22px; }
  .bt-rt-img { order: -1; max-height: 180px; justify-self: center; }
  .bt-fit-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .bt-skins { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; margin: 0 -20px; padding: 0 12px; }
  .bt-skin { flex: 0 0 116px; }
  .bt-disc { width: 84px; height: 84px; }
  .bt-concerns { grid-template-columns: 1fr 1fr; }
  .bt-concerns a { flex-direction: column; text-align: center; border-radius: 18px; padding: 14px 8px; gap: 6px; }
  .bt-concerns b { font-size: 14.5px; }
  .bt-help { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .bt-disc { transition: none; } }
.bt-rt-price .price { display: inline-flex; align-items: baseline; gap: 4px; }
.bt-rt-stack { display: flex; align-items: flex-end; padding-inline-end: 10px; }
.bt-rt-stack img { width: 120px; height: 150px; object-fit: cover; border-radius: 18px; border: 4px solid rgba(255, 255, 255, .85); margin-inline-start: -34px; box-shadow: 0 14px 24px -16px rgba(40, 30, 20, .45); background: #fff; }
.bt-rt-stack img:nth-child(odd) { transform: translateY(-14px) rotate(-3deg); }
.bt-rt-stack img:nth-child(even) { transform: rotate(3deg); }
@media (max-width: 800px) { .bt-rt-stack { order: -1; justify-content: center; padding: 0 0 0 34px; } .bt-rt-stack img { width: 86px; height: 108px; } }

@media (max-width: 700px) {
  .slide img.has-mobile { aspect-ratio: 1 / 1; }
  .slider { margin-top: 12px; padding: 0 14px; }
  .slides { border-radius: 16px; }
  .slider-dots { inset-inline: 14px; bottom: 8px; }
}
.bt-cats .cat-img { background: var(--bt-soft); border-radius: 20px; }

/* ---------- المفضلة ---------- */
.card { position: relative; }
.wish-form { margin: 0; }
.card > .wish-form { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; }
.wish-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--muted); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 1px 4px rgba(20, 30, 25, .12); padding: 0; }
.wish-btn:hover { color: #C0394B; }
.wish-btn.on { color: #C0394B; }
.wish-btn.on .i { fill: currentColor; }
.wish-btn:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 2px; }
.wish-btn.pop .i { animation: wish-pop .35s ease; }
@keyframes wish-pop { 50% { transform: scale(1.3); } }
.wish-wide { margin: 0 0 10px; }
.wish-wide .wish-btn { width: 100%; height: auto; border-radius: var(--r-sm); padding: 11px 14px; display: flex; gap: 8px; justify-content: center;
  border: 1.5px solid var(--line); box-shadow: none; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.wish-wide .wish-btn.on { border-color: #EBC3C8; background: #FDF3F4; color: #A3283A; }
.wish-link { position: relative; }
.wish-count { background: #C0394B; }
.wish-inline { color: #C0394B; vertical-align: middle; }

/* ---------- اشتريها بعدين ---------- */
.later-btn { color: var(--forest-2); font-size: 13.5px; }
.later-btn:hover { color: var(--forest); }
.saved-later { margin: 28px 0 40px; }
.saved-later h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 12px; }
.saved-later h2 small { color: var(--muted); font-weight: 400; }
.later-list { list-style: none; padding: 0; margin: 0; border: 1px dashed var(--line); border-radius: var(--r); background: var(--tint); }
.later-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.later-list li:last-child { border-bottom: 0; }
.later-list .ci-img { width: 72px; height: 72px; background: #fff; }
.later-act { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.later-act form { margin: 0; }

/* ---------- مختارة لك ---------- */
.fy-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fy-sub a { padding: 3px 12px; border-radius: 99px; background: var(--tint); color: var(--forest); text-decoration: none; font-size: 14px; }
.fy-sub a:hover { background: var(--forest); color: #fff; }
.mt-head { margin-top: 34px; }
.acc-sec { padding-top: 24px; }

/* ---------- العناوين ---------- */
.save-addr { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--tint); cursor: pointer; }
.save-addr input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.save-addr small { display: block; color: var(--muted); font-size: 13px; }
.addr-filled { display: flex; align-items: center; gap: 6px; margin: -4px 0 14px; font-size: 14px; color: var(--forest-2); }
.addr-mini { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.addr-mini h2 { display: flex; align-items: center; gap: 6px; }
.addr-mini p { margin: 6px 0; font-size: 14.5px; }
.account-side .addr-mini a { border: 0; padding: 0; color: var(--forest-2); }
.addr-card { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.addr-card.is-default { background: var(--tint); margin: 0 -14px; padding: 12px 14px; border-radius: var(--r-sm); border: 0; }
.addr-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--forest-2); font-size: 13px; font-weight: 500; }
.addr-act { display: flex; gap: 14px; align-items: center; margin-top: 4px; font-size: 13.5px; }
.account-side .addr-act a { border: 0; padding: 0; color: var(--forest-2); }
.addr-act form { margin: 0; }
.addr-act .link-btn { padding: 0; font-size: 13.5px; }

@media (max-width: 700px) {
  .later-list li { grid-template-columns: 60px minmax(0, 1fr); }
  .later-list .ci-img { width: 60px; height: 60px; }
  .later-act { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; gap: 12px; }
  .wish-btn { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .wish-btn.pop .i { animation: none; } }
