:root {
  --background: #ffffff;
  --foreground: #171717;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-foreground: #ffffff;
  --accent-red: #ef4444;
  --accent-green: #16a34a;
  --warning-bar: #f59e0b;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 12px;
  --header-h: 64px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.container-wide {
  width: 100%;
  max-width: 1440px;
  padding-inline: .65rem;
  margin-inline: auto;
  box-sizing: border-box;
}
@media (min-width: 1100px) {
  .container { width: min(1280px, calc(100% - 2.5rem)); }
  .container-wide { padding-inline: 1.25rem; }
}
@media (min-width: 1400px) {
  .container { width: min(1360px, calc(100% - 3rem)); }
}

.top-disclaimer {
  background: #f8ecd8;
  color: #7c4a12;
  font-size: 12px;
  padding: .55rem 1rem;
  text-align: center;
  border-bottom: 1px solid #f0d9a8;
}
.announcement-bar {
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  padding: .55rem 1rem;
  text-align: center;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.logo img {
  object-fit: contain;
  flex-shrink: 0;
}
.logo .logo-wordmark {
  width: auto;
  height: 36px;
  display: block;
}
.logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  display: none;
}
/* Header only: always [S] then MART (LTR lockup, even on RTL pages) */
.logo-header {
  gap: .4rem;
  direction: ltr;
  flex-direction: row;
}
.logo-header .logo-mark {
  display: block !important;
  order: 1;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.logo-header .logo-mart {
  display: block !important;
  order: 2;
  height: 34px;
  width: auto;
  object-fit: contain;
}
.logo-header .logo-smart-text,
.logo-header .logo-wordmark {
  display: none !important;
}
.footer-brand .logo-footer {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  direction: ltr;
  flex-direction: row;
  margin-bottom: .65rem;
}
.footer-brand .logo-footer .logo-mark {
  display: block !important;
  order: 1;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  margin: 0;
}
.footer-brand .logo-footer .logo-mart {
  display: block !important;
  order: 2;
  height: 34px;
  width: auto;
  object-fit: contain;
}
.footer-brand .footer-wordmark {
  height: 34px;
  width: auto;
  margin-bottom: .65rem;
}
.logo-text {
  line-height: 1;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
@media (max-width: 560px) {
  .logo-text { font-size: 1.25rem; }
}
.nav-desktop {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  overflow-x: auto;
  max-width: min(52vw, 720px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-desktop::-webkit-scrollbar { display: none; }
.nav-desktop a { color: var(--muted-foreground); font-size: .95rem; font-weight: 500; white-space: nowrap; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--foreground); }
.site-nav-drawer { display: none; }
.nav-drawer-head { display: none; }
.nav-toggle { display: none; }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, .45);
  cursor: pointer;
}
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: nowrap;
    height: var(--header-h);
    min-height: var(--header-h);
    padding-block: 0;
    gap: .45rem .55rem;
  }
  .logo { order: 1; }
  .header-actions { order: 2; margin-inline-start: auto; }
  .nav-desktop { display: none !important; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #111;
    cursor: pointer;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-bars {
    display: grid;
    gap: 4px;
    width: 18px;
  }
  .nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  body.nav-open .nav-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.nav-open .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .site-nav-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    z-index: 1300;
    width: min(88vw, 300px);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: calc(.75rem + env(safe-area-inset-top, 0px)) .85rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 0;
    border-inline-end: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
    transform: translate3d(-105%, 0, 0);
    transition: transform .24s ease;
    visibility: hidden;
    pointer-events: none;
  }
  html[dir="rtl"] .site-nav-drawer {
    transform: translate3d(105%, 0, 0);
  }
  .site-nav-drawer[hidden] {
    display: flex !important;
  }
  body.nav-open .site-nav-drawer {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .55rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--border);
    flex: 0 0 auto;
  }
  .nav-drawer-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
  }
  .nav-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f4f4f5;
    color: #111;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }
  .site-nav-drawer > a {
    display: block;
    width: 100%;
    padding: .9rem .8rem;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 600;
    color: #111;
    white-space: normal;
  }
  .site-nav-drawer > a:hover,
  .site-nav-drawer > a.active {
    background: #111;
    color: #fff;
  }
  body.nav-open .nav-backdrop {
    display: block;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { z-index: 1250; }
  /* Header compact on phone: keep S mark only in header, never hide footer brand */
  .site-header .logo .logo-wordmark { display: none !important; }
  .site-header .logo .logo-mark { display: block !important; width: 34px; height: 34px; border-radius: 10px; }
  .site-header .logo-header .logo-mart { display: none !important; }
  .footer-brand .logo-footer .logo-mark,
  .footer-brand .logo-footer .logo-mart {
    display: block !important;
  }
  .header-auth-btn {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    font-size: .78rem;
  }
  .account-menu { display: block; }
  .header-actions {
    gap: .15rem;
    align-items: center;
  }
  .header-desktop-extra { display: none !important; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn svg { width: 20px; height: 20px; }
  .lang-switch,
  .lang-switch.icon-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
  .lang-switch-icon { width: 20px !important; height: 20px !important; }
  .account-menu-btn.icon-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .account-menu-btn .account-menu-label,
  .account-menu-btn .account-caret {
    display: none !important;
  }
  .header-login-btn.icon-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .header-login-btn .header-auth-text { display: none !important; }
  /* Far edge first: hamburger, then language */
  .header-action-search { order: 1; }
  .header-action-orders { order: 2; }
  .header-action-cart { order: 3; }
  .header-action-account { order: 4; }
  .header-action-lang { order: 5; }
  .header-action-menu { order: 6; }
  .account-dropdown {
    inset-inline-end: 0;
    inset-inline-start: auto;
    min-width: 200px;
  }
}
@media (min-width: 981px) {
  .nav-toggle,
  .nav-backdrop,
  .site-nav-drawer,
  .nav-drawer-head {
    display: none !important;
  }
  .header-login-btn .header-auth-text {
    display: inline !important;
    font-size: .82rem;
    font-weight: 700;
  }
  .header-login-btn.icon-btn {
    width: auto;
    min-width: 0;
    height: 40px;
    padding-inline: .7rem;
    gap: .35rem;
    display: inline-flex;
  }
}
@media (max-width: 760px) {
  .header-actions .icon-btn { width: 34px; height: 34px; }
  .nav-toggle { width: 34px; height: 34px; }
}
@media (max-width: 560px) {
  .header-inner { gap: .4rem .5rem; padding-block: .45rem; }
  .site-header .logo .logo-mark,
  .site-header .logo-header .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  .site-header .logo-header .logo-mart { display: none !important; }
  .footer-brand .logo-footer .logo-mark {
    width: 34px;
    height: 34px;
  }
  .footer-brand .logo-footer .logo-mart {
    display: block !important;
    height: 34px;
  }
  .btn.header-auth-btn { padding: .42rem .62rem; font-size: .74rem; }
  .header-auth-btn.btn-primary { display: none !important; }
  .header-login-btn {
    width: 32px; height: 32px; min-width: 32px;
  }
  .container { padding-inline: .9rem; }
  .page-hero h1 { font-size: 1.45rem; }
  .checkout-layout,
  .contact-layout,
  .shop-layout,
  .pay-layout {
    grid-template-columns: 1fr !important;
  }
  .product-buy-box .btn,
  .auth-submit,
  .cart-drawer-checkout {
    min-height: 44px;
  }
  .cart-drawer {
    width: min(100vw, 420px);
  }
  .floating-stack {
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    left: calc(.75rem + env(safe-area-inset-left, 0px));
    gap: .45rem;
  }
  .float-btn {
    width: 42px;
    height: 42px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .14);
  }
  .float-btn img {
    width: 22px;
    height: 22px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-actions {
    width: 100%;
    max-width: 100%;
  }
  .home-hero-actions .btn {
    width: 100%;
  }
}
.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px;
  display: inline-grid; place-items: center; cursor: pointer; color: #111; position: relative;
  padding: 0; line-height: 0; flex-shrink: 0;
}
.icon-btn svg {
  display: block; width: 22px; height: 22px; stroke: currentColor; fill: none; color: #111;
}
.icon-btn:hover { background: #f4f4f5; color: #111; }
.lang-switch {
  width: 40px;
  min-width: 40px;
  padding: 0;
  line-height: 0;
}
.lang-switch-icon {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-menu-btn.icon-btn {
  width: auto;
  min-width: 40px;
  height: 40px;
  padding-inline: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1px solid var(--border);
  background: #fff;
}
.account-menu-btn .account-menu-label {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}
.account-menu-btn .account-caret {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}
.header-login-btn.icon-btn {
  border: 1px solid var(--border);
  background: #fff;
}
.header-login-btn .header-auth-text {
  display: none;
}
.mobile-only { display: inline-grid; }
@media (min-width: 1024px) {
  .mobile-only { display: none !important; }
}
.cart-badge {
  position: absolute; top: 4px; inset-inline-end: 4px;
  background: var(--accent-red); color: #fff; font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; padding: 0 3px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 999px; padding: .75rem 1.2rem; font-weight: 700; cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-green { background: var(--accent-green); color: #fff; }
.btn-sm { padding: .55rem .9rem; font-size: .9rem; }
.btn-block { width: 100%; }

.hero { padding: 3.5rem 0 2rem; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--muted); color: var(--muted-foreground);
  border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 auto .9rem; max-width: 18ch;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.03em;
}
.hero p { margin: 0 auto 1.5rem; max-width: 62ch; color: var(--muted-foreground); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 1.25rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; color: var(--muted-foreground); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .35rem; }

.section { padding: 3.5rem 0; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.section-head p { margin: 0 auto; max-width: 60ch; color: var(--muted-foreground); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  width: 100%;
  justify-content: stretch;
  align-content: start;
  align-items: start;
}
.product-card {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media {
  position: relative; background: #111; aspect-ratio: 1 / 1; overflow: hidden;
  display: block;
}
@media (max-width: 760px) {
  .product-media { aspect-ratio: 4 / 5; }
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block;
  background: #000;
}
.product-badges { position: absolute; top: .75rem; inset-inline: .75rem; display: flex; justify-content: space-between; gap: .35rem; }
.product-badges-top { align-items: flex-start; }
.badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: .28rem .65rem;
  font-size: .72rem; font-weight: 700;
}
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-dark { background: rgba(0,0,0,.7); color: #fff; }
.badge-discount { background: #fbbf24; color: #111; font-weight: 800; }
.badge-brand { background: rgba(255,255,255,.92); color: #111; }
.badge-hot {
  position: absolute; bottom: .75rem; inset-inline-end: .75rem;
  background: #111; color: #fff; border-radius: 999px; padding: .35rem .7rem;
  font-size: .72rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .28rem;
}
.product-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; min-height: 2.7em; }
.meta-row { display: flex; align-items: center; gap: .5rem; color: var(--muted-foreground); font-size: .85rem; flex-wrap: wrap; }
.product-card-meta { justify-content: space-between; gap: .65rem; }
.sold-count {
  display: inline-flex; align-items: center; gap: .28rem;
  font-weight: 700; color: var(--accent-green); white-space: nowrap;
}
.sold-count svg {
  width: 15px; height: 15px; stroke: currentColor; fill: none; flex-shrink: 0;
}
.product-trust { color: var(--accent-green); font-weight: 600; }
.product-trust span { color: var(--accent-green); }
.badge-oos {
  position: absolute; bottom: .7rem; inset-inline-start: .7rem;
  background: #111; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem .55rem; border-radius: 999px; z-index: 2;
}
.product-card.is-out-of-stock .product-media img { filter: grayscale(.35) brightness(.92); }
.product-card.is-out-of-stock .product-actions .btn[disabled] {
  opacity: 1; cursor: not-allowed; background: #f3f4f6; color: #6b7280; border-color: #e5e7eb;
}
.stock-pill {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 700; border-radius: 999px;
  padding: .2rem .55rem;
}
.stock-pill.is-out { background: #fef2f2; color: #b91c1c; }
.stock-pill.is-in { background: #ecfdf5; color: #047857; }
.badge-hot svg { width: 13px; height: 13px; }

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: .12rem;
  line-height: 1;
}
.rating-stars .star {
  display: inline-block;
  font-style: normal;
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.rating-stars .star-full { color: #f59e0b; }
.rating-stars .star-half {
  color: #f59e0b;
  opacity: .55;
}
.rating-stars .star-empty { color: #cbd5e1; }
.rating-stars .rating-value {
  margin-inline-start: .35rem;
  color: #0f172a;
  font-weight: 800;
}
.rating-stars-sm .star { font-size: 1rem; }
.rating-stars-sm .rating-value { font-size: .85rem; }
.rating-stars-md .star { font-size: 1.25rem; }
.rating-stars-md .rating-value { font-size: 1rem; }
.price-row { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.price { font-size: 1.25rem; font-weight: 800; }
.compare-price { color: var(--muted-foreground); text-decoration: line-through; font-size: .9rem; }
.save-price { color: var(--accent-green); font-size: .85rem; font-weight: 700; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: auto; align-items: stretch; }
.product-actions--oos { grid-template-columns: 1fr; }
.product-actions form { min-width: 0; display: flex; }
.product-actions .btn {
  width: 100%;
  white-space: nowrap;
}
.product-oos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border-radius: 10px !important;
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
  color: #6b7280 !important;
  font-weight: 700;
  opacity: 1 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}
.product-cart-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 40px !important;
  min-width: 40px;
  max-width: 40px;
  padding: 0 !important;
  flex: 0 0 40px;
}
.product-cart-ico {
  display: block;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.product-cart-btn .product-btn-label { display: none !important; }

/* Phone-only product card denser layout — does not affect desktop */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }
  .product-media { aspect-ratio: 1 / 1; }
  .product-body {
    padding: .65rem .55rem .7rem;
    gap: .28rem;
  }
  .product-body h3 {
    font-size: .74rem;
    line-height: 1.25;
    min-height: 0;
    font-weight: 700;
  }
  .meta-row { font-size: .68rem; gap: .3rem; }
  .sold-count { font-size: .68rem; }
  .sold-count svg { width: 12px; height: 12px; }
  .price-row { gap: .28rem; }
  .price { font-size: .95rem; }
  .compare-price { font-size: .68rem; }
  .save-price { font-size: .66rem; }
  .product-trust {
    font-size: .62rem;
    gap: .2rem .35rem;
    line-height: 1.2;
  }
  .product-actions {
    grid-template-columns: 1fr auto;
    gap: .3rem;
    margin-top: .35rem;
  }
  .product-actions--oos {
    grid-template-columns: 1fr;
  }
  .product-card .product-actions .btn {
    border-radius: 9px !important;
    min-height: 32px !important;
    height: auto;
    padding: .35rem .3rem !important;
    font-size: .62rem !important;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }
  .product-card .product-actions .product-cart-btn {
    width: 32px !important;
    min-width: 32px;
    max-width: 32px;
    flex-basis: 32px;
    padding: 0 !important;
  }
  .product-card .product-actions--oos .btn,
  .product-card .product-oos-btn {
    width: 100% !important;
    min-height: 34px !important;
    padding: .4rem .55rem !important;
    font-size: .72rem !important;
    white-space: normal !important;
    border-radius: 10px !important;
    background: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #6b7280 !important;
  }
  .product-cart-ico { display: block; width: 15px; height: 15px; }
  .badge { font-size: .62rem; padding: .2rem .45rem; }
  .badge-hot { font-size: .62rem; padding: .25rem .45rem; }
}

.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.stat-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; text-align: center; background: #fff;
}
.stat-card strong { display: block; font-size: 1.6rem; margin-bottom: .2rem; }
.stat-card span { color: var(--muted-foreground); font-size: .9rem; }

.feature-grid, .stories-grid, .why-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.feature-card, .why-card, .story-card, .proof-card, .guide-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; background: #fff;
}
.feature-card h3, .why-card h3, .story-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.muted { color: var(--muted-foreground); }
.list-check { margin: .75rem 0 0; padding: 0; list-style: none; }
.list-check li { position: relative; padding-inline-start: 1.2rem; margin-bottom: .35rem; }
.list-check li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent-green); font-weight: 700; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  border-bottom: 1px solid var(--border); padding: .85rem .75rem; text-align: start; font-size: .9rem;
}
.compare-table th { background: #fafafa; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-highlight { background: #f5f3ff; }

.faq-list { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item .faq-body { padding: 1rem 1.1rem; color: var(--muted-foreground); }

.testimonials-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory;
}
.testimonial-card {
  scroll-snap-align: start; border: 1px solid var(--border); border-radius: 16px; padding: 1.1rem; background: #fff; min-height: 180px;
}
.testimonial-card .name { font-weight: 700; margin-bottom: .15rem; }
.testimonial-card .handle { color: var(--muted-foreground); font-size: .85rem; margin-bottom: .7rem; }

.site-footer {
  margin-top: 3rem; border-top: 1px solid var(--border); background: #fafafa; padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
.footer-brand p { color: var(--muted-foreground); font-size: .92rem; }
.footer-col h3 { margin: 0 0 .8rem; font-size: .95rem; }
.footer-col a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted-foreground);
  margin-bottom: .5rem;
  font-size: .92rem;
  line-height: 1.35;
}
.footer-col a:hover { color: var(--foreground); }
.footer-link-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  color: #64748b;
}
.footer-link-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-col a:hover .footer-link-ico { color: var(--foreground); }
.footer-col a span { min-width: 0; }
.footer-col a .footer-cat-count,
.footer-col a em.footer-cat-count {
  font-style: normal;
  opacity: .75;
  margin-inline-start: .25rem;
}
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border);
  color: var(--muted-foreground); font-size: .85rem;
}
.social-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; align-items: center; }
.social-icon {
  width: 42px; height: 42px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); display: grid; place-items: center;
}
.social-icon img { display: block; width: 22px; height: 22px; }

.floating-stack {
  position: fixed; bottom: 1.1rem; left: 1.1rem; right: auto; z-index: 60;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-start;
}
.float-btn {
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 8px 20px rgba(15,23,42,.12); outline: none;
}
.float-btn:hover, .float-btn:focus { filter: none; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.16); }
.float-btn img { display: block; width: 26px; height: 26px; }
.float-btn--telegram { background: #229ED9; border-color: #229ED9; }
.float-btn--telegram img { filter: brightness(0) invert(1); }
.float-btn--whatsapp { background: #25D366; border-color: #25D366; }
.float-btn--whatsapp img { filter: brightness(0) invert(1); }

.promo-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.promo-overlay.open { display: flex; }
.promo-modal {
  width: min(560px, 100%); background: #fff; border-radius: 18px; padding: 1.25rem;
  box-shadow: var(--shadow); max-height: 90vh; overflow: auto;
}
.promo-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: .9rem;
  display: block;
}
.promo-dots { display: flex; gap: .35rem; justify-content: center; margin-bottom: .75rem; }
.promo-dots span { width: 8px; height: 8px; border-radius: 999px; background: #d4d4d8; }
.promo-dots span.active { background: var(--primary); width: 18px; }
.promo-modal h3 { margin: .5rem 0; font-size: 1.15rem; }
.promo-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1rem; align-items: center; }

.alert {
  border-radius: 12px; padding: .85rem 1rem; margin: 1rem 0; font-size: .95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.page-hero { padding: 2rem 0 1rem; }
.page-hero h1 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.breadcrumb { color: var(--muted-foreground); font-size: .9rem; margin-bottom: .75rem; }
.breadcrumb a:hover { color: var(--foreground); }

@media (max-width: 767px) {
  .page-hero {
    text-align: center;
  }
  .page-hero h1,
  .page-hero .muted,
  .page-hero p {
    text-align: center;
  }
  .page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
    text-align: center;
  }
  .shop-search-field input {
    text-align: center;
  }
}

.shop-layout {
  display: grid; gap: .85rem; grid-template-columns: 1fr; align-items: start;
  padding-bottom: 2.5rem;
}
.shop-sidebar {
  width: 100%; min-width: 0;
  position: sticky; top: calc(var(--header-h) + .75rem);
}
.shop-sidebar-card {
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  padding: .65rem .55rem; display: grid; gap: .55rem;
}

/* Mobile category rail + filter sheet (hidden on desktop) */
.shop-cats-rail { display: none; }
.shop-price-open { display: none; }
.shop-price-sheet { display: none; }
.shop-filter-icon { display: none; }
.shop-search-row { display: block; }

@media (max-width: 767px) {
  .shop-cats-rail {
    display: block;
    padding: 0 0 .7rem;
    overflow: hidden;
  }
  .shop-cats-rail-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: .45rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .1rem .05rem .25rem;
    width: 100%;
  }
  .shop-cats-rail-track::-webkit-scrollbar { display: none; }
  .shop-cat-chip {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    width: max-content;
    min-width: 0;
    max-width: none;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 0 .75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: #111;
    white-space: nowrap;
  }
  .shop-cat-chip-name {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline;
    gap: .28rem;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
  .shop-cat-chip-name .cat-en,
  .shop-cat-chip-name .cat-ar {
    display: inline;
    white-space: nowrap;
  }
  .shop-cat-chip-name .cat-ar {
    font-size: .72rem;
    color: #6b7280;
    font-weight: 600;
  }
  .shop-cat-chip-count {
    flex-shrink: 0;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 .3rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1.2rem;
    text-align: center;
  }
  .shop-cat-chip.active {
    background: #111;
    border-color: #111;
    color: #fff;
  }
  .shop-cat-chip.active .cat-ar { color: rgba(255,255,255,.78); }
  .shop-cat-chip.active .shop-cat-chip-count {
    background: rgba(255,255,255,.16);
    color: #fff;
  }

  .shop-desktop-only { display: none !important; }
  .shop-sidebar {
    position: static;
    top: auto;
  }
  .shop-sidebar-card {
    padding: .55rem;
    gap: .45rem;
  }
  .shop-layout {
    gap: .7rem;
  }
  .shop-main { min-width: 0; }

  /* Hide inline sort chips on phone — one icon beside search instead */
  .shop-desktop-toolbar,
  .sort-toolbar {
    display: none !important;
  }

  .shop-search-row {
    display: flex;
    align-items: center;
    gap: .45rem;
  }
  .shop-search-row .shop-search-field {
    flex: 1 1 auto;
    min-width: 0;
  }
  .shop-filter-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .shop-filter-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .shop-filter-icon.is-active {
    color: #111;
  }
  .shop-filter-icon:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  .shop-price-sheet[hidden] { display: none !important; }
  .shop-price-sheet:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1300;
  }
  .shop-price-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, .45);
    cursor: pointer;
  }
  .shop-price-sheet-panel {
    position: absolute;
    inset-inline: .75rem;
    bottom: .75rem;
    max-height: min(86vh, 560px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    padding: 1rem .95rem 1.05rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .2);
    display: grid;
    gap: .85rem;
  }
  .shop-price-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .shop-price-sheet-head h3 {
    margin: 0;
    font-size: 1rem;
  }
  .shop-price-sheet-x {
    width: 34px; height: 34px;
    border: 0; border-radius: 10px;
    background: #f4f4f5; color: #111;
    font-size: 1.35rem; line-height: 1; cursor: pointer;
  }
  .shop-price-sheet-form { display: grid; gap: .75rem; }
  .shop-filter-label {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    color: #6b7280;
  }
  .shop-filter-sort-list {
    display: grid;
    gap: .4rem;
  }
  .shop-filter-option {
    display: block;
    padding: .7rem .85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
  }
  .shop-filter-option.active {
    background: #111;
    border-color: #111;
    color: #fff;
  }
  body.shop-price-sheet-open { overflow: hidden; }
}

@media (min-width: 768px) {
  .shop-cats-rail,
  .shop-price-open,
  .shop-price-sheet,
  .shop-filter-icon {
    display: none !important;
  }
}
.shop-search-field { position: relative; display: block; }
.shop-search-field svg {
  position: absolute; top: 50%; inset-inline-start: .75rem; width: 16px; height: 16px;
  transform: translateY(-50%); fill: none; stroke: #9ca3af; stroke-width: 1.8;
}
.shop-search-field input {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: .65rem .85rem .65rem 2.2rem; background: #fff; font-size: .9rem;
}
html[dir="rtl"] .shop-search-field input { padding: .65rem 2.2rem .65rem .85rem; }
.cat-block { display: grid; gap: .35rem; }
.cat-heading {
  margin: 0; padding: .1rem .45rem .2rem;
  font-size: .92rem; font-weight: 800; letter-spacing: -.01em;
  text-align: start;
}
.cat-list { display: grid; gap: .1rem; }
/* Brands only: English name left, count right — page RTL stays unchanged */
.cat-list--brands {
  direction: ltr;
}
.cat-list--brands .cat-item {
  text-align: left;
}
html[dir="rtl"] .cat-list--brands .cat-item {
  text-align: left;
}
.cat-list--brands .cat-item-label {
  align-items: center;
  flex-wrap: nowrap;
  gap: .45rem;
}
.cat-brand-ico {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  opacity: .88;
}
.cat-item.active .cat-brand-ico {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.cat-item {
  display: flex; width: 100%; box-sizing: border-box;
  align-items: center; justify-content: space-between; gap: .55rem;
  padding: .55rem .55rem; border-bottom: 1px solid var(--border);
  color: #374151; font-weight: 600; font-size: .88rem; text-align: start;
}
.cat-item-label {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .28rem .4rem;
  min-width: 0;
}
.cat-en { font-weight: 700; letter-spacing: -.01em; }
.cat-ar { color: #6b7280; font-weight: 600; font-size: .8rem; }
.cat-count {
  flex-shrink: 0;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}
html[dir="rtl"] .cat-item,
html[dir="rtl"] .cat-heading { text-align: right; }
html[dir="ltr"] .cat-item,
html[dir="ltr"] .cat-heading { text-align: left; }
.cat-item:last-child { border-bottom: 0; }
.cat-item.active {
  background: #111; color: #fff; border-radius: 999px; border-bottom-color: transparent;
  padding-inline: .7rem; margin-block: .05rem;
}
.cat-item.active .cat-ar { color: rgba(255,255,255,.78); }
.cat-item.active .cat-count {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.cat-item:hover:not(.active) { color: #111; }
.footer-col a .footer-cat-count {
  display: inline-block;
  margin-inline-start: .35rem;
  min-width: 1.15rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: #f3f4f5;
  color: #6b7280;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  vertical-align: middle;
}
.sidebar-price { display: grid; gap: .65rem; padding-top: .35rem; border-top: 1px solid var(--border); }
.sidebar-price strong { font-size: .92rem; }
.sort-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  padding: .65rem .75rem; margin-bottom: 1rem;
}
/* Keep mobile hide AFTER base flex rule so chips never reappear on phone */
@media (max-width: 767px) {
  .shop-desktop-toolbar,
  .sort-toolbar {
    display: none !important;
  }
}
.sort-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; min-width: 0;
}
.sort-label { color: var(--muted-foreground); font-size: .9rem; margin-inline-end: .15rem; white-space: nowrap; }
.sort-count {
  margin: 0; color: var(--muted-foreground); font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.sort-price-form { display: inline-flex; }
.chip-row, .sort-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: .25rem;
  border: 1px solid var(--border); background: #fff; color: #111;
  border-radius: 999px; padding: .48rem .9rem; font-size: .86rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.chip input { display: none; }
.chip.active, .chip:hover { background: #111; color: #fff; border-color: #111; }
.price-sort { position: relative; min-width: 140px; }
.price-sort-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .55rem;
  width: 100%; min-width: 140px; height: 40px; padding: 0 .85rem;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: #111;
  font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer;
}
.price-sort-btn:hover, .price-sort.open .price-sort-btn { background: #f4f4f5; }
.price-sort-btn.active {
  border-color: #111; background: #111; color: #fff;
}
.price-sort-btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.price-sort-text { flex: 1; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-sort-caret { transition: transform .15s ease; }
.price-sort.open .price-sort-caret { transform: rotate(180deg); }
.price-sort-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 30;
  min-width: 100%; width: max-content; max-width: min(280px, 80vw);
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12); padding: .35rem; display: none; gap: .15rem;
}
.price-sort.open .price-sort-menu {
  display: grid;
}
.price-sort-menu[hidden] { display: none !important; }
.price-sort-option {
  display: block; padding: .7rem .8rem; border-radius: 8px;
  color: #111; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.price-sort-option:hover { background: #f4f4f5; }
.price-sort-option.active { background: #111; color: #fff; }
.price-range { display: grid; gap: .75rem; max-width: 420px; }
.price-range-values {
  display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem;
}
.price-inputs {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .35rem; align-items: end;
}
.price-field { display: grid; gap: .25rem; min-width: 0; }
.price-field span { font-size: .72rem; color: var(--muted-foreground); font-weight: 600; }
.price-field .form-control { padding: .45rem .5rem; font-size: .85rem; }
.price-sep { padding-bottom: .55rem; color: #9ca3af; font-weight: 700; }
.dual-range {
  position: relative; height: 28px; display: grid; align-items: center; margin-top: .15rem;
}
.dual-range-track {
  position: absolute; inset-inline: 0; height: 4px; border-radius: 999px; background: #e4e4e7; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}
.dual-range input[type="range"] {
  position: absolute; inset-inline: 0; width: 100%; height: 28px; margin: 0;
  appearance: none; background: transparent; pointer-events: none;
}
.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; background: transparent; border-radius: 999px;
}
.dual-range input[type="range"]::-moz-range-track {
  height: 4px; background: transparent; border-radius: 999px;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid #111; margin-top: -7px;
  pointer-events: auto; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15);
  position: relative; z-index: 2;
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid #111;
  pointer-events: auto; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.sort-select {
  width: auto; min-width: 110px; border-radius: 10px; padding: .48rem .9rem;
}
.shop-products { margin-top: .25rem; }
.shop-panel {
  border: 1px solid var(--border); border-radius: 18px; background: #fff;
  padding: 1.15rem 1.2rem 1.25rem; margin-bottom: 1.5rem; display: grid; gap: 1.15rem;
}
.shop-filters {
  border: 1px solid var(--border); border-radius: 18px; background: #fff;
  padding: 1.1rem; margin-bottom: 1.5rem; display: grid; gap: 1rem;
}
.shop-block h3 { margin: 0 0 .65rem; font-size: .95rem; }
.filters {
  display: grid; gap: 1rem; margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}
.filter-card { border: 1px solid var(--border); border-radius: 14px; padding: 1rem; background: #fff; }
.filter-card h3 { margin: 0 0 .75rem; font-size: .95rem; }
.form-control {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: .7rem .85rem; background: #fff;
}
.form-control:focus { outline: 2px solid #ddd6fe; border-color: var(--primary); }
.form-label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; }
.form-group { margin-bottom: .9rem; }
.form-row { display: grid; gap: .75rem; grid-template-columns: 1fr; }

.product-page-top { padding-bottom: .35rem; }
.product-detail {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-bottom: 3rem;
}
.product-gallery {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f5;
  display: block;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  line-height: 0;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-gallery-badge {
  position: absolute;
  top: .7rem;
  inset-inline-start: .7rem;
  z-index: 2;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: .3rem .65rem;
  font-size: .78rem;
  font-weight: 800;
}
@media (max-width: 767px) {
  .product-page-top {
    padding-top: .75rem;
    padding-bottom: .15rem;
  }
  .product-page-top .breadcrumb {
    font-size: .8rem;
    margin-bottom: .55rem;
  }
  .product-detail {
    gap: .95rem;
    padding-bottom: 2rem;
  }
  .product-gallery {
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }
  .product-gallery-badge {
    top: .55rem;
    inset-inline-start: .55rem;
    font-size: .72rem;
    padding: .25rem .55rem;
  }
  .product-info-badges { margin-bottom: .55rem; }
  .product-info h1 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0 0 .55rem;
  }
}
.product-info { min-width: 0; }
.product-info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}
.product-info h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.25;
}
.product-meta { margin-bottom: 1rem; }
.product-rating { color: #d97706; font-weight: 700; }
.product-meta .rating-stars { margin-inline-end: .25rem; }
.product-price-row { margin-bottom: 1rem; align-items: baseline; gap: .65rem; }
.product-info .price { font-size: 2rem; font-weight: 800; }
.product-lead {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: .98rem;
  white-space: pre-line;
  max-width: 54ch;
}
.product-features { margin: 0 0 1.25rem; }
.product-buy-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: .55rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.product-buy-box--oos {
  grid-template-columns: 1fr;
}
.product-oos-btn,
.product-buy-box--oos .btn,
.product-actions--oos .btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}
.product-qty {
  display: grid;
  gap: .35rem;
  min-width: 0;
}
.product-qty .form-label {
  margin: 0;
  font-size: .78rem;
  color: var(--muted-foreground);
}
.product-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  height: 44px;
  padding: .2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
}
.product-qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.product-qty-btn:hover { background: #f4f4f5; }
.product-qty-input,
.product-qty .form-control.product-qty-input {
  width: 42px;
  min-width: 42px;
  height: 34px;
  margin: 0;
  padding: 0 .15rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: none;
  -moz-appearance: textfield;
}
.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.product-cart-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.product-buy-box .btn {
  height: 44px;
  width: 100%;
  white-space: nowrap;
}
.product-extra {
  padding-top: 0;
  padding-bottom: 2.5rem;
}
.product-extra-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
.product-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: .95rem 1rem 1rem;
  text-align: start;
}
.product-panel-title,
.product-panel h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .7rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: start;
}
.product-panel-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
}
.product-panel-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.product-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0;
  padding: .55rem .6rem;
  border: 1px solid #ececef;
  border-radius: 10px;
  background: #fafafa;
  color: #1f2937;
  font-size: .9rem;
  line-height: 1.55;
  text-align: start;
}
.product-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
}
.product-check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-panel-body {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: .95rem;
  text-align: start;
}
@media (max-width: 767px) {
  .product-panel {
    padding: .85rem .8rem .9rem;
  }
  .product-panel-title,
  .product-panel h2 {
    font-size: .95rem;
    margin-bottom: .55rem;
  }
  .product-check-list {
    gap: .35rem;
  }
  .product-check-list li {
    padding: .48rem .55rem;
    font-size: .86rem;
    gap: .45rem;
  }
}
.product-related { background: #fafafa; }

.cart-table, .admin-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td, .admin-table th, .admin-table td {
  border-bottom: 1px solid var(--border); padding: .85rem .5rem; text-align: start; vertical-align: middle;
}
.cart-summary, .checkout-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; background: #fff;
}
.checkout-layout { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

.contact-layout {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr; padding-bottom: 3rem; align-items: start;
}
.contact-channels { display: grid; gap: .75rem; }
.contact-channel {
  display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center;
  border: 1px solid var(--border); border-radius: 14px; padding: .95rem 1rem; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-channel:hover { border-color: #c4b5fd; box-shadow: 0 8px 20px rgba(15,23,42,.06); }
.contact-channel-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #f4f4f5;
}
.contact-channel-icon.telegram { background: #e8f4ff; }
.contact-channel-icon.whatsapp { background: #e9fbf0; }
.contact-channel-icon.email { background: #f4f0ff; color: #6d28d9; }
.contact-channel-body { display: grid; gap: .15rem; min-width: 0; }
.contact-channel-body strong { font-size: .98rem; }
.contact-channel-body span { color: var(--muted-foreground); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; }
.contact-channel-cta {
  font-size: .82rem; font-weight: 700; color: #111; background: #f4f4f5;
  border-radius: 999px; padding: .35rem .7rem;
}
.contact-hours {
  border: 1px dashed var(--border); border-radius: 14px; padding: 1rem; background: #fafafa;
}
.contact-hours strong { display: block; margin-bottom: .35rem; }
.contact-hours p { margin: 0 0 .35rem; }
.contact-form-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; background: #fff;
}
.contact-form-card h2 { margin: 0 0 .35rem; font-size: 1.15rem; }

.blog-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr; padding-bottom: 1.5rem;
}
.blog-card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; background: #111; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: #fff; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #111, #4c1d95);
}
.blog-card-body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: .45rem; }
.blog-card-body h2 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.blog-card-body h2 a:hover { color: var(--primary); }
.blog-card-meta { margin: 0; color: var(--muted-foreground); font-size: .8rem; font-weight: 600; }
.blog-card-link { font-weight: 700; font-size: .9rem; color: #111; }
.blog-article { padding-bottom: 3rem; max-width: 820px; }
.blog-article-head { margin-bottom: 1.25rem; }
.blog-article-head h1 { margin: .35rem 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.blog-article-excerpt { font-size: 1.05rem; }
.blog-article-cover {
  border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.blog-article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog-article-content {
  font-size: 1.05rem; line-height: 1.85; color: #1f2937;
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.35rem; background: #fff;
}
.blog-article-footer {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem;
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .85rem;
  }
}
/* Phone only: footer link columns side-by-side */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem .85rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col h3 {
    margin-bottom: .65rem;
    font-size: .9rem;
  }
  .footer-col a {
    margin-bottom: .42rem;
    font-size: .84rem;
    gap: .35rem;
  }
  .footer-link-ico {
    width: 16px;
    height: 16px;
  }
  .footer-link-ico svg {
    width: 14px;
    height: 14px;
  }
}
@media (min-width: 768px) {
  .shop-layout { grid-template-columns: 180px minmax(0, 1fr); gap: .75rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .product-gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
  .product-extra-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1.2fr .8fr; }
  .checkout-layout-mobile .checkout-card { order: 1; }
  .checkout-layout-mobile .checkout-summary-card { order: 2; }
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
@media (min-width: 1024px) {
  .nav-desktop { max-width: none; overflow: visible; }
  .shop-layout { grid-template-columns: 190px minmax(0, 1fr); gap: .85rem; }
  /* Products page desktop: 5 columns (homepage has its own rules) */
  .products-grid,
  .shop-products.products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
  }
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .container-wide { padding-inline: 1.25rem; }
  .shop-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 1rem; }
  .products-grid,
  .shop-products.products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .9rem;
  }
}

.header-auth-btn {
  padding: .42rem .75rem;
  font-size: .82rem;
  border-radius: 10px;
  white-space: nowrap;
}
.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.header-login-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.account-menu { position: relative; }
.account-menu-btn {
  display: inline-flex !important;
  align-items: center;
  gap: .35rem;
}
.account-menu-btn > svg:first-child {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.account-menu-btn .account-caret {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}
.account-dropdown {
  position: absolute;
  top: calc(100% + .4rem);
  inset-inline-end: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
  padding: .4rem;
  z-index: 80;
  display: grid;
  gap: .15rem;
}
.account-dropdown[hidden] { display: none !important; }
.account-dropdown a,
.account-dropdown button {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  padding: .65rem .7rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.account-dropdown a:hover,
.account-dropdown button:hover { background: #f4f4f5; }
.account-dropdown svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.account-dropdown form { margin: 0; }
@media (max-width: 1100px) and (min-width: 981px) {
  .header-auth-btn.btn-outline:not(.account-menu-btn) { display: none; }
}

.auth-page {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid;
  align-items: center;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, .10), transparent 36%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, .08), transparent 30%),
    #fafafa;
}
.auth-card {
  width: min(440px, 100%);
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.45rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.auth-brand--center {
  justify-content: center;
  margin-bottom: 1.1rem;
}
.auth-brand img,
.auth-logo-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  background: #0f172a;
}
.auth-brand strong { font-size: 1.05rem; }
.auth-card h1 {
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  text-align: center;
}
.auth-sub {
  margin: 0 0 1.25rem;
  color: var(--muted-foreground);
  font-size: .92rem;
  text-align: center;
}
.auth-form {
  display: grid;
  gap: .85rem;
  text-align: start;
}
.auth-form .form-group { margin: 0; }
.auth-form .form-label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  font-size: .9rem;
  text-align: start;
}
.auth-input {
  position: relative;
  display: grid;
}
.auth-input .form-control {
  width: 100%;
  padding-inline-start: 2.7rem;
  padding-inline-end: 2.7rem;
  min-height: 48px;
  border-radius: 12px;
}
.auth-input-icon {
  position: absolute;
  inset-inline-start: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #71717a;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.auth-input-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-eye {
  position: absolute;
  inset-inline-end: .45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.auth-eye:hover { background: #f4f4f5; color: #111; }
.auth-eye svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .05rem 0 .15rem;
  color: var(--muted-foreground);
  font-size: .9rem;
  justify-self: start;
}
.auth-submit {
  width: 100%;
  margin-top: .15rem;
  min-height: 48px;
  border-radius: 12px;
}
.auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--muted-foreground);
  font-size: .9rem;
}
.auth-switch a {
  color: var(--primary);
  font-weight: 700;
}
.auth-social {
  margin-top: 1.15rem;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .7rem;
  margin-bottom: .95rem;
  color: var(--muted-foreground);
  font-size: .82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}
.auth-social-actions {
  display: grid;
  gap: .7rem;
  justify-items: stretch;
}
.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
  color: #3c4043;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.auth-social-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
  box-shadow: 0 2px 6px rgba(60, 64, 67, .12);
}
.auth-social-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}
.auth-social-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.auth-social-btn--google {
  background: #fff;
  color: #3c4043;
}
.auth-social-btn--telegram {
  background: #2AABEE;
  border-color: #2AABEE;
  color: #fff;
  box-shadow: 0 6px 14px rgba(42, 171, 238, .28);
}
.auth-social-btn--telegram:hover {
  background: #229ED9;
  border-color: #229ED9;
  color: #fff;
  box-shadow: 0 8px 18px rgba(42, 171, 238, .34);
  transform: translateY(-1px);
}
.auth-social-btn--telegram .auth-social-ico {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}
.auth-social-btn--telegram svg {
  width: 24px;
  height: 24px;
}
.auth-social-hint {
  margin: .15rem 0 0;
  color: var(--muted-foreground);
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}
.account-info {
  display: grid;
  gap: .75rem;
  margin: .4rem 0 1.2rem;
}
.account-info > div {
  display: grid;
  gap: .15rem;
  padding: .8rem .9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
}
.account-info span {
  color: var(--muted-foreground);
  font-size: .78rem;
}
.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.account-actions form { display: grid; }
.account-actions .btn { width: 100%; }
@media (max-width: 767px) {
  .product-buy-box {
    grid-template-columns: auto 48px minmax(0, 1fr);
    gap: .4rem;
    padding: .7rem;
    align-items: end;
  }
  .product-qty .form-label {
    font-size: .7rem;
  }
  .product-qty-stepper {
    height: 42px;
    border-radius: 11px;
  }
  .product-qty-btn {
    width: 30px;
    height: 30px;
    font-size: 1.05rem;
  }
  .product-qty-input,
  .product-qty .form-control.product-qty-input {
    width: 34px;
    min-width: 34px;
    height: 30px;
    font-size: .9rem;
  }
  .product-buy-box .btn {
    height: 42px;
    min-height: 42px;
    padding-inline: .55rem;
    font-size: .86rem;
  }
  .product-cart-btn {
    width: 48px;
    min-width: 48px;
    padding: 0;
    border-radius: 12px;
  }
  .product-cart-btn .product-cart-text {
    display: none;
  }
  .product-cart-btn .product-cart-icon {
    width: 22px;
    height: 22px;
  }
  .product-buy-box .product-buy-btn {
    grid-column: auto;
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .account-actions { grid-template-columns: 1fr; }
}

.checkout-section { margin-bottom: 1.35rem; }
.checkout-section h2,
.checkout-section-title {
  margin: 0 0 .85rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
}
.checkout-section-title svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.checkout-summary-card .checkout-section-title {
  margin-top: 0;
}
.checkout-summary-total {
  font-size: 1rem;
}
.checkout-layout-mobile {
  padding-bottom: 3rem;
}
.payment-methods {
  display: grid;
  gap: .65rem;
}
.payment-methods-grid {
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: .55rem;
}
.payment-method {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .85rem .9rem;
  cursor: pointer;
  background: #fff;
  transition: .15s ease;
}
.payment-method input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method.is-active,
.payment-method:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
  background: #faf8ff;
}
.payment-method-body { display: grid; gap: .35rem; }
.payment-method-top {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.payment-method-top img {
  width: 54px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}
.payment-method-top strong { font-size: .95rem; }
.payment-method-desc {
  color: var(--muted-foreground);
  font-size: .82rem;
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.payment-badges img {
  width: 42px;
  height: 26px;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #fff;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin: .45rem 0;
  font-size: .92rem;
}
.checkout-login-hint {
  margin: .85rem 0 0;
  text-align: center;
  color: var(--muted-foreground);
  font-size: .88rem;
}
.checkout-login-hint a { color: var(--primary); font-weight: 700; }

.pay-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.pay-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.pay-kicker {
  margin: 0 0 .35rem;
  color: var(--muted-foreground);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.pay-order-chip {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.pay-order-chip span { color: var(--muted-foreground); font-size: .78rem; }
.pay-order-chip strong { font-size: 1.05rem; letter-spacing: .03em; }
.pay-copy-btn { padding: .35rem .7rem; font-size: .78rem; }
.icon-copy-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.icon-copy-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-copy-btn.is-copied {
  background: #111;
  border-color: #111;
  color: #fff;
}
.pay-section-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .8rem;
  font-size: 1rem;
  font-weight: 800;
}
.pay-section-title svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.pay-invoice-cards { display: none; }
.pay-card { max-width: none; }
.pay-invoice-head {
  display: grid;
  gap: .8rem;
  margin-bottom: 1rem;
}
.pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  margin-bottom: 0;
}
.pay-amount span { opacity: .8; }
.pay-amount strong { font-size: 1.55rem; }
.pay-method-box {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0;
  background: #fafafa;
}
.pay-method-box img {
  width: 72px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: .2rem;
}
.pay-method-box p {
  margin: .15rem 0 0;
  color: var(--muted-foreground);
  font-size: .85rem;
}
.pay-invoice-table-wrap,
.pay-account-panel {
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.pay-invoice-table-wrap h3,
.pay-account-panel h3 {
  margin: 0 0 .8rem;
  font-size: 1rem;
}
.pay-invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.pay-invoice-table th,
.pay-invoice-table td {
  padding: .65rem .5rem;
  border-bottom: 1px solid var(--border);
  text-align: start;
}
.pay-invoice-table th {
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: .78rem;
}
.pay-invoice-table tfoot td {
  border-bottom: 0;
  font-weight: 800;
  padding-top: .85rem;
}
.pay-invoice-table code {
  background: #f1f5f9;
  padding: .15rem .4rem;
  border-radius: 6px;
  font-size: .8rem;
}
.pay-binance-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.pay-qr-card {
  text-align: center;
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
}
.pay-qr-card img {
  width: min(260px, 100%);
  height: auto;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.pay-qr-card p {
  margin: .7rem 0 0;
  color: var(--muted-foreground);
  font-size: .86rem;
}
.pay-wallet-card {
  display: grid;
  gap: .9rem;
}
.pay-wallet-logo {
  width: min(240px, 100%);
  height: auto;
  border-radius: 12px;
}
.pay-account-meta { display: grid; gap: .55rem; }
.pay-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
  padding: .75rem .85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
}
.pay-meta-row span { color: var(--muted-foreground); font-size: .82rem; }
.pay-due { color: #0f766e; font-size: 1.15rem; }
.pay-note {
  margin: .35rem 0 0;
  color: var(--muted-foreground);
  font-size: .88rem;
  line-height: 1.55;
}
.pay-steps h3 { margin: 0 0 .55rem; font-size: .98rem; }
.pay-steps ol, .pay-steps ul { margin: 0 0 1rem; padding-inline-start: 1.15rem; }
.pay-steps li { margin: .3rem 0; }
.pay-bank-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.pay-bank-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .7rem .8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafafa;
}
.pay-bank-list span { color: var(--muted-foreground); font-size: .82rem; }
.pay-card-fields { margin-bottom: 1rem; }
.pay-confirm-form { display: grid; gap: .75rem; }
.pay-side .pay-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.pay-log-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .7rem .8rem;
  background: #fff;
  display: grid;
  gap: .2rem;
}
.pay-log-item span { color: var(--muted-foreground); font-size: .78rem; }
.pay-log-item.tone-ok { border-color: #bbf7d0; background: #f0fdf4; }
.pay-log-item.tone-pending { border-color: #fde68a; background: #fffbeb; }
@media (min-width: 900px) {
  .pay-binance-grid { grid-template-columns: 240px 1fr; align-items: start; }
  .pay-invoice-head { grid-template-columns: 1.1fr .9fr; }
}

.success-card { max-width: 680px; margin: auto; text-align: center; }
.success-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #047857;
  font-size: 1.4rem;
  font-weight: 800;
}
.success-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.1rem 0 1.2rem;
  text-align: start;
}
.success-meta > div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem .8rem;
  background: #fafafa;
}
.success-meta span {
  display: block;
  color: var(--muted-foreground);
  font-size: .75rem;
  margin-bottom: .2rem;
}
.success-meta strong.ok { color: #047857; }
.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
@media (min-width: 768px) {
  .pay-layout { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .pay-layout-mobile .pay-card { order: 1; }
  .pay-layout-mobile .pay-side { order: 2; }
}
@media (max-width: 767px) {
  .pay-layout-mobile {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding-bottom: 2rem;
  }
  .pay-hero {
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
  }
  .pay-hero h1 {
    font-size: 1.3rem;
    margin: 0;
  }
  .pay-order-chip {
    width: 100%;
    justify-content: space-between;
  }
  .pay-amount {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }
  .pay-amount strong { font-size: 1.35rem; }
  .pay-method-box {
    flex-wrap: wrap;
  }
  .pay-invoice-table-desktop { display: none !important; }
  .pay-invoice-cards {
    display: grid;
    gap: .55rem;
  }
  .pay-invoice-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .75rem .8rem;
    background: #fafafa;
  }
  .pay-invoice-card-top {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    align-items: flex-start;
    margin-bottom: .45rem;
  }
  .pay-invoice-card-top strong {
    font-size: .9rem;
    line-height: 1.35;
  }
  .pay-invoice-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    align-items: center;
    font-size: .82rem;
    color: var(--muted-foreground);
  }
  .pay-invoice-card-meta strong {
    margin-inline-start: auto;
    color: #111;
    font-size: .95rem;
  }
  .pay-invoice-card-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #fff;
    border-color: #111;
  }
  .pay-invoice-card-total span { color: rgba(255,255,255,.8); }
  .pay-meta-row {
    flex-wrap: wrap;
  }
  .pay-binance-grid {
    grid-template-columns: 1fr;
  }
  .pay-qr-card img {
    width: min(220px, 100%);
  }
  .pay-side { order: 2; }
  .pay-card { order: 1; }
}
@media (max-width: 700px) {
  .success-meta { grid-template-columns: 1fr; }
}

/* ===== User account panel ===== */
.account-body { background: #f6f7fb; min-height: 100vh; }
.account-shell { padding: 1.1rem 0 2.25rem; }
.account-shell-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  max-width: 820px;
}
.account-shell-inner--solo { max-width: 820px; margin-inline: auto; }
.account-welcome {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
  padding: .85rem .95rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.account-welcome-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.account-welcome-avatar svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.account-welcome strong {
  display: block;
  font-size: .95rem;
  line-height: 1.3;
}
.account-welcome span {
  display: block;
  color: var(--muted-foreground);
  font-size: .8rem;
  word-break: break-all;
}
.account-main { min-width: 0; }
.account-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.05rem 1.2rem;
}
.account-panel-head { margin-bottom: 1rem; }
.account-panel-head h1 { margin: 0 0 .25rem; font-size: 1.25rem; }
.account-panel-head p { margin: 0; color: var(--muted-foreground); font-size: .88rem; line-height: 1.5; }
.account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .9rem;
}
.account-stat {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .85rem .9rem;
  background: #fafafa;
  color: inherit;
  text-decoration: none;
}
.account-stat-link:hover {
  border-color: #111;
  background: #fff;
}
.account-stat span { display: block; color: var(--muted-foreground); font-size: .78rem; margin-bottom: .2rem; }
.account-stat strong { font-size: 1.15rem; }
.account-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 0;
}
.account-info-grid > div {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .85rem .9rem;
}
.account-info-grid span { display: block; color: var(--muted-foreground); font-size: .78rem; margin-bottom: .2rem; }
.account-quick { display: none; }
.account-order {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .95rem 1rem;
  margin-bottom: .75rem;
}
.account-order-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .7rem;
}
.account-order-top strong { display: block; }
.account-order-top span { color: var(--muted-foreground); font-size: .8rem; }
.account-order-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge-soft {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 700;
  background: #f3f4f6;
  color: #4b5563;
}
.badge-soft.active { background: #ecfdf5; color: #047857; }
.badge-soft.pending { background: #fff7ed; color: #c2410c; }
.badge-soft.processing { background: #eff6ff; color: #1d4ed8; }
.account-order-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.account-order-items li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .9rem;
}
.account-order-total {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
}
.account-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted-foreground);
}
.account-empty .btn { margin-top: .75rem; }
.account-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.account-support-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: .35rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.account-support-card:hover { border-color: #c4b5fd; box-shadow: 0 8px 20px rgba(15,23,42,.06); }
.account-support-card--channel {
  justify-items: start;
  gap: .45rem;
}
.account-support-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: .15rem;
}
.account-support-icon.telegram { background: #e8f4ff; }
.account-support-icon.whatsapp { background: #e9fbf0; }
.account-support-icon.email { background: #f4f4f5; color: #111; }
.account-support-icon img {
  width: 28px; height: 28px; display: block; object-fit: contain;
}
.account-support-icon svg {
  width: 24px; height: 24px; stroke: currentColor; fill: none;
}
.account-support-card strong { font-size: 1rem; }
.account-support-card span { color: var(--muted-foreground); font-size: .85rem; word-break: break-all; }
.account-support-cta {
  margin-top: .25rem;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  color: #111;
}
.account-support-note {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fafafa;
}
.account-support-note p { margin: .35rem 0 .85rem; color: var(--muted-foreground); }
.account-pagination { margin-top: 1rem; }

/* Shop pagination — never let default Tailwind SVG chevrons explode */
.shop-pagination,
nav[role="navigation"] .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.5rem;
}
.shop-pagination svg,
nav[role="navigation"] svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: block;
  flex: 0 0 auto;
}
.shop-page-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 38px;
  padding: .4rem .85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.shop-page-btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.shop-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
}
.shop-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .45rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.shop-page-num.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}
.shop-page-ellipsis {
  padding: 0 .2rem;
  color: var(--muted-foreground);
}
.cat-item-label .cat-ar { display: none; }
.shop-cat-chip-name .cat-ar { display: inline; }
@media (max-width: 900px) {
  .account-shell {
    padding: .75rem 0 1.6rem;
  }
  .account-shell-inner {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .account-welcome {
    padding: .7rem .8rem;
    margin-bottom: .7rem;
    border-radius: 12px;
  }
  .account-welcome-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .account-panel {
    padding: .9rem .8rem 1rem;
    border-radius: 14px;
  }
  .account-panel-head { margin-bottom: .8rem; }
  .account-panel-head h1 { font-size: 1.1rem; }
  .account-support-grid,
  .account-info-grid { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr 1fr; }
  .account-order-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Wallet + delivery ===== */
.wallet-badge {
  position: absolute; top: 2px; inset-inline-end: 2px;
  background: #111; color: #fff; font-size: 9px; font-weight: 800;
  min-width: 18px; height: 16px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px; line-height: 1;
}
.account-order-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: .75rem; padding-top: .7rem;
  border-top: 1px solid var(--border);
}
.account-order-footer .account-order-total {
  margin: 0; padding: 0; border: 0; flex: 1;
}
.account-panel-head-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.delivery-box {
  margin-top: 1rem; border: 1px solid var(--border); border-radius: 14px; padding: 1rem;
  background: #fafafa;
}
.delivery-box-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: .85rem;
}
.delivery-box-head h2 { margin: 0; font-size: 1.05rem; }
.delivery-lines { display: grid; gap: .55rem; }
.delivery-line {
  display: flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .55rem .65rem;
}
.delivery-line code {
  flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88rem; white-space: pre-wrap; word-break: break-word; color: #111;
}

/* ===== Order track (DigiVentorz-inspired) ===== */
.track-page { display: grid; gap: .85rem; }
.delivery-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 .95rem 1rem;
  overflow: hidden;
}
.delivery-panel-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 0 .75rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  user-select: none;
}
.delivery-panel-summary::-webkit-details-marker { display: none; }
.delivery-panel-summary-right {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.delivery-panel[open] .track-fold-caret { transform: rotate(180deg); }
.delivery-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .7rem;
}
.delivery-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
}
.delivery-rows { display: grid; gap: .45rem; }
.order-paid-body {
  padding: 1.1rem 1rem 1.15rem;
  display: grid;
  gap: 1rem;
}
.order-paid-ok {
  width: 64px;
  height: 64px;
  margin: .15rem auto .2rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .28);
}
.order-paid-ok svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.order-info-list {
  display: grid;
  gap: .7rem;
}
.order-info-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
}
.order-info-ico {
  width: 20px;
  height: 20px;
  margin-top: .12rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.order-info-ico.is-blue { color: #2563eb; }
.order-info-ico.is-violet { color: #7c3aed; }
.order-info-ico.is-orange { color: #ea580c; }
.order-info-ico.is-teal { color: #0d9488; }
.order-info-ico.is-green { color: #16a34a; }
.order-info-ico.is-rose { color: #e11d48; }
.order-info-row span {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  margin-bottom: .12rem;
}
.order-info-row strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  word-break: break-word;
}
.order-info-copy {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
}
.order-info-copy svg {
  width: 14px;
  height: 14px;
  stroke: #64748b;
  fill: none;
  stroke-width: 1.9;
}
.delivery-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 34px;
  gap: .45rem;
  align-items: center;
  padding: .55rem .6rem;
  border: 1px solid #ececef;
  border-radius: 12px;
  background: #fafafa;
}
.delivery-row span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted-foreground);
}
.delivery-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  word-break: break-all;
  color: #111;
  min-width: 0;
}
.track-order-fold { border: 0; }
.track-order-fold-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  cursor: pointer;
  font-weight: 800;
  font-size: .98rem;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.track-order-fold-summary::-webkit-details-marker { display: none; }
.track-fold-caret {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.track-order-fold[open] .track-fold-caret { transform: rotate(180deg); }
.track-total-inline {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.track-meta-right { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.track-topbar {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  flex-wrap: nowrap;
}
.track-topbar-text { min-width: 0; flex: 1 1 auto; }
.track-topbar h1 { margin: .35rem 0 0; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.track-back {
  display: inline-block; color: var(--muted-foreground); font-size: .88rem; font-weight: 700;
}
.track-top-actions, .track-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  align-items: center;
  flex: 0 0 auto;
}
.track-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}
.track-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.track-icon-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.track-icon-whatsapp svg { stroke: none; }
.track-card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05); overflow: hidden;
}
.track-card-head { padding: .95rem 1rem 1rem; }
.track-order-fold .track-card-head { border-top: 0; }
.track-product-list { display: grid; gap: .75rem; }
.track-product-row {
  display: flex; justify-content: space-between; gap: .85rem; align-items: center;
}
.track-product-main { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.track-product-ico {
  width: 48px; height: 48px; border-radius: 14px; background: #111; color: #fff;
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0; font-weight: 800;
}
.track-product-ico img { width: 100%; height: 100%; object-fit: cover; }
.track-product-main strong { display: block; font-size: .98rem; line-height: 1.3; }
.track-product-main p { margin: .2rem 0 0; color: var(--muted-foreground); font-size: .82rem; }
.track-product-price strong { font-size: 1.05rem; white-space: nowrap; }
.track-meta {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--border);
  align-items: center;
}
.track-meta-left { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; color: var(--muted-foreground); font-size: .85rem; }
.track-id-btn {
  border: 1px solid var(--border); background: #fafafa; border-radius: 999px;
  padding: .28rem .7rem; display: inline-flex; gap: .4rem; align-items: center; cursor: pointer;
  color: #111; font: inherit;
}
.track-id-btn em { font-style: normal; color: #6d28d9; font-weight: 800; font-size: .75rem; }
.track-copy-ico {
  width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;
}
.track-meta-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.track-section {
  padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--border);
}
.track-section h2 { margin: 0 0 .85rem; font-size: 1.05rem; }
.track-steps-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -.15rem;
  padding: .15rem .15rem .35rem;
}
.track-steps-rail::-webkit-scrollbar { display: none; }
.track-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: .35rem;
  min-width: max-content;
  width: max-content;
}
.track-steps li {
  display: grid;
  justify-items: center;
  gap: .4rem;
  text-align: center;
  position: relative;
  color: var(--muted-foreground);
  font-size: .72rem;
  font-weight: 700;
  flex: 0 0 auto;
  width: 88px;
}
.track-step-label {
  line-height: 1.25;
  max-width: 88px;
}
.track-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid #d4d4d8;
  background: #fff;
  color: #71717a;
  font-size: .85rem;
}
.track-step-dot svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.track-steps li.is-done .track-step-dot { background: #111; border-color: #111; color: #fff; }
.track-steps li.is-current .track-step-dot { border-color: #111; color: #111; box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); }
.track-steps li.is-done, .track-steps li.is-current { color: #111; }
.track-status-note {
  margin-top: .95rem; background: #f4f4f5; border-radius: 14px; padding: .85rem .95rem;
  color: #3f3f46; font-size: .9rem;
}
.track-invite-form .form-label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .88rem; }
.track-invite-row { display: flex; gap: .55rem; flex-wrap: wrap; }
.track-invite-row .form-control { flex: 1; min-width: 220px; }
.track-invite-result {
  border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 16px; padding: 1rem;
}
.track-invite-result span { display: block; color: #166534; font-size: .8rem; margin-bottom: .2rem; }
.track-invite-result strong { display: block; margin-bottom: .55rem; word-break: break-all; }
.track-invite-result p { margin: 0; color: #166534; }
.track-cred-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem;
}
.track-cred-card {
  border: 1px solid var(--border); border-radius: 14px; padding: .8rem .85rem; background: #fafafa;
  display: grid; gap: .45rem;
}
.track-cred-card--wide { grid-column: 1 / -1; }
.track-cred-card span { font-size: .78rem; color: var(--muted-foreground); font-weight: 700; }
.track-cred-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem; word-break: break-all; color: #111;
}
.track-extra-lines { display: grid; gap: .55rem; margin-top: .75rem; }
.track-guide {
  margin-top: 1rem; border: 1px solid #ede9fe; background: #f5f3ff; border-radius: 16px; padding: 1rem;
}
.track-guide h3 { margin: 0 0 .55rem; font-size: .98rem; }
.track-guide ol { margin: 0; padding-inline-start: 1.2rem; color: #4c1d95; }
.track-guide li { margin-bottom: .35rem; }
.track-total {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--border); font-weight: 800;
}
@media (max-width: 700px) {
  .track-product-row { align-items: flex-start; }
  .track-cred-grid { grid-template-columns: 1fr; }
  .track-invite-row { flex-direction: column; }
  .track-invite-row .btn { width: 100%; }
  .track-card-head, .track-section, .track-total { padding-inline: .9rem; }
  .track-topbar {
    align-items: flex-start;
  }
  .track-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .dv-filter-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .2rem;
  }
  .dv-filter-tabs::-webkit-scrollbar { display: none; }
  .dv-filter-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .dv-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
  }
}
.wallet-balance-card {
  border-radius: 16px; padding: 1.1rem 1.15rem; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #111 0%, #333 100%); color: #fff;
}
.wallet-balance-card span { display: block; opacity: .75; font-size: .82rem; margin-bottom: .25rem; }
.wallet-balance-card strong { font-size: 1.8rem; }
.wallet-topup-form h2,
.wallet-history h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.wallet-presets { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.wallet-preset {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: .45rem .85rem; font-weight: 700; cursor: pointer;
}
.wallet-preset.active, .wallet-preset:hover { border-color: #111; background: #111; color: #fff; }
.wallet-methods { margin-top: .35rem; }
.payment-method-tile {
  padding: .7rem .4rem;
  text-align: center;
  min-height: 96px;
}
.payment-method-tile .payment-method-body {
  display: grid;
  justify-items: center;
  gap: .4rem;
}
.payment-method-tile img {
  width: 78px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.payment-method-tile strong {
  font-size: .74rem;
  line-height: 1.2;
  color: #111;
}
.checkout-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.checkout-user-chip {
  display: grid;
  gap: .15rem;
  padding: .75rem .95rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.checkout-user-chip span,
.checkout-user-chip small {
  color: var(--muted-foreground);
  font-size: .75rem;
}
.checkout-autofill {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.checkout-autofill > div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem .9rem;
  background: #f8fafc;
}
.checkout-autofill span {
  display: block;
  color: var(--muted-foreground);
  font-size: .75rem;
  margin-bottom: .2rem;
}
@media (max-width: 640px) {
  .checkout-autofill { grid-template-columns: 1fr; }
}
.payment-methods-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.payment-method-card {
  padding: .75rem .55rem;
  min-height: 0;
}
.payment-method-card .payment-method-body {
  display: grid;
  justify-items: center;
  gap: .35rem;
  text-align: center;
}
.payment-logo-wrap {
  width: 100%;
  max-width: 120px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: .3rem .45rem;
}
.payment-method-card img {
  width: 100%;
  max-width: 100px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.payment-method-card strong {
  font-size: .84rem;
  color: #0f172a;
}
.payment-method-card small {
  color: var(--muted-foreground);
  font-size: .72rem;
  line-height: 1.3;
}
@media (min-width: 900px) {
  .payment-methods-modern { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .payment-method-card {
    padding: 1rem .9rem;
  }
  .payment-method-card strong { font-size: .92rem; }
}
@media (max-width: 767px) {
  .checkout-layout-mobile {
    display: flex;
    flex-direction: column;
    gap: .85rem;
  }
  .checkout-layout-mobile .checkout-summary-card {
    order: 1;
  }
  .checkout-layout-mobile .checkout-card {
    order: 2;
  }
  .checkout-hero {
    align-items: flex-start;
    padding-bottom: .35rem;
  }
  .checkout-hero h1 {
    margin-bottom: 0;
    font-size: 1.35rem;
  }
  .checkout-user-chip {
    width: 100%;
  }
  .payment-methods-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .checkout-autofill {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }
}
@media (max-width: 1100px) {
  .payment-methods-grid:not(.payment-methods-modern) {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
  }
}
@media (max-width: 820px) {
  .payment-methods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .payment-methods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-methods-modern { grid-template-columns: 1fr; }
}
.wallet-history { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.wallet-tx {
  display: flex; justify-content: space-between; gap: .75rem; align-items: center;
  padding: .75rem 0; border-bottom: 1px solid var(--border);
}
.wallet-tx strong { display: block; }
.wallet-tx span { color: var(--muted-foreground); font-size: .78rem; }
.wallet-tx.credit .wallet-tx-amount { color: #047857; }
.wallet-tx.debit .wallet-tx-amount { color: #b91c1c; }
.copy-toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%) translateY(12px);
  background: #111; color: #fff; padding: .55rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; opacity: 0; transition: .2s ease; z-index: 120;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.payment-badges-compact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem;
}
.payment-badges-compact img {
  width: 28px !important; height: 18px !important; object-fit: contain;
}

/* —— DigiVentorz-inspired homepage (Smart data) —— */
.home-landing {
  --home-ink: #111111;
  --home-muted: #6b7280;
  --home-accent: #e11d48;
  --home-card: #ffffff;
  --home-soft: #f7f7f8;
  --home-radius: 28px;
  --home-display: "Fraunces", "IBM Plex Sans Arabic", Georgia, serif;
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(225, 29, 72, .04), transparent 55%),
    linear-gradient(#fff, #fff);
}
html[lang="ar"] .home-landing {
  --home-display: "IBM Plex Sans Arabic", "Fraunces", Georgia, serif;
}
.home-landing .section { padding: 3rem 0; }
@media (min-width: 900px) {
  .home-landing .section { padding: 4.25rem 0; }
}

.home-eyebrow {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--home-accent);
}
.home-eyebrow--dot {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--home-muted);
  letter-spacing: .12em;
}
.home-eyebrow--dot::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, .15);
  animation: home-pulse 1.8s ease-in-out infinite;
}
@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(225, 29, 72, .12); }
  50% { box-shadow: 0 0 0 7px rgba(225, 29, 72, .05); }
}

.home-section-head {
  text-align: center;
  margin-bottom: 1.75rem;
  max-width: 46rem;
  margin-inline: auto;
}
.home-section-title {
  margin: 0 0 .65rem;
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--home-ink);
}
.home-section-title em {
  font-family: var(--home-display);
  font-style: italic;
  font-weight: 600;
  color: var(--home-ink);
}
.home-section-head p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--home-muted);
  font-size: .98rem;
}
.home-section-foot {
  text-align: center;
  margin-top: 1.75rem;
}

.home-hero {
  position: relative;
  padding: 2.75rem 0 2.25rem;
  text-align: center;
  min-height: auto;
  display: grid;
  place-items: center;
}
@media (min-width: 1024px) {
  .home-hero {
    min-height: min(52vh, 520px);
    padding: 3.25rem 0 2.5rem;
  }
}
.home-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 35%, transparent 80%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding-inline: .25rem;
}
.home-hero-title {
  margin: 0 auto .9rem;
  max-width: 16ch;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--home-ink);
  font-family: var(--home-display);
}
.home-hero-title em {
  font-style: italic;
  font-weight: 550;
}
.home-hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 34ch;
  color: var(--home-muted);
  font-size: clamp(.98rem, 2.4vw, 1.15rem);
}
.home-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .7rem;
  max-width: 280px;
  margin: 0 auto 1.35rem;
}
@media (min-width: 768px) {
  .home-hero-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: none;
    flex-wrap: wrap;
  }
  .home-hero-actions .btn {
    width: auto;
    min-width: 200px;
  }
}
.home-cta-pill {
  border-radius: 999px;
  padding: .95rem 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.home-cta-pill--ghost {
  background: #111;
  opacity: .92;
}
.home-cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
}
html[dir="rtl"] .home-cta-arrow,
html[dir="rtl"] .home-cta-circle {
  transform: scaleX(-1);
}
.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  justify-content: center;
  color: var(--home-muted);
  font-size: .86rem;
}

.home-float-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.home-float-icon {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .14);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  animation: home-float 5.5s ease-in-out infinite;
}
.home-float-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 999px;
  background: transparent;
}
.home-float-icon--1 { top: 12%; left: 8%; animation-delay: 0s; }
.home-float-icon--2 { top: 22%; right: 10%; animation-delay: .4s; }
.home-float-icon--3 { top: 58%; left: 6%; animation-delay: .8s; }
.home-float-icon--4 { top: 62%; right: 8%; animation-delay: 1.1s; }
.home-float-icon--5 { top: 8%; left: 28%; width: 44px; height: 44px; animation-delay: 1.4s; }
.home-float-icon--6 { top: 14%; right: 26%; width: 44px; height: 44px; animation-delay: 1.7s; }
.home-float-icon--7 { bottom: 10%; left: 22%; width: 40px; height: 40px; animation-delay: .6s; }
.home-float-icon--8 { bottom: 12%; right: 20%; width: 40px; height: 40px; animation-delay: 1.2s; }
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
html[dir="rtl"] .home-float-icon--1 { left: auto; right: 8%; }
html[dir="rtl"] .home-float-icon--2 { right: auto; left: 10%; }
html[dir="rtl"] .home-float-icon--3 { left: auto; right: 6%; }
html[dir="rtl"] .home-float-icon--4 { right: auto; left: 8%; }
html[dir="rtl"] .home-float-icon--5 { left: auto; right: 28%; }
html[dir="rtl"] .home-float-icon--6 { right: auto; left: 26%; }
html[dir="rtl"] .home-float-icon--7 { left: auto; right: 22%; }
html[dir="rtl"] .home-float-icon--8 { right: auto; left: 20%; }

.home-deal-wrap { padding: 0 0 1rem; }
.home-deal-card {
  position: relative;
  display: grid;
  gap: 1.35rem;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 63, 94, .08), transparent 42%),
    #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--home-radius);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
  padding: 1.35rem 1.2rem 1.4rem;
}
.home-deal-card::before,
.home-deal-card::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px; height: 22px;
  border-radius: 4px;
  background: #3f3f46;
  box-shadow: 28px 0 0 #3f3f46, 56px 0 0 #3f3f46;
  left: 18%;
  opacity: .85;
}
.home-deal-card::after { left: auto; right: 18%; }
.home-deal-title {
  margin: 0 0 .55rem;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}
.home-deal-title em {
  font-family: var(--home-display);
  font-style: italic;
  color: var(--home-accent);
  font-weight: 600;
}
.home-deal-sub {
  margin: 0;
  color: var(--home-muted);
  font-size: .95rem;
  max-width: 42ch;
}
.home-deal-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.home-deal-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.home-deal-unit {
  background: #111;
  color: #fff;
  border-radius: 14px;
  min-width: 64px;
  padding: .7rem .55rem .55rem;
  text-align: center;
}
.home-deal-unit strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.home-deal-unit span {
  display: block;
  margin-top: .35rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fb7185;
  text-transform: uppercase;
}
.home-deal-sep {
  color: var(--home-accent);
  font-weight: 900;
  font-size: 1.2rem;
  padding-bottom: .85rem;
}
.home-deal-cta {
  border-radius: 999px;
  padding: .9rem 1.1rem;
  justify-content: space-between;
  width: 100%;
}
.home-cta-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: #111;
  display: inline-grid; place-items: center;
  font-size: .9rem; font-weight: 800;
}

.home-products { background: transparent; }
.home-products-shell {
  width: min(1360px, calc(100% - 2.5rem)) !important;
  max-width: none;
  margin-inline: auto;
}
.home-products-grid {
  display: grid !important;
  width: 100% !important;
  gap: 1rem;
  justify-content: stretch !important;
  align-content: start !important;
  align-items: start !important;
}
.home-products-grid .product-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}
.home-products-grid .product-body {
  flex: 0 1 auto;
}
.home-landing .section {
  padding: 2.75rem 0;
}
@media (min-width: 1024px) {
  .home-landing .section { padding: 3rem 0; }
  /* Homepage desktop ONLY — wider cards, logos fully visible (not cropped) */
  .home-landing .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
  .home-landing .home-products .product-media {
    aspect-ratio: 1 / 1;
    background: #111;
  }
  .home-landing .home-products .product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: .55rem;
    box-sizing: border-box;
    background: #111;
  }
  .home-landing .home-products-grid .product-body {
    padding: .95rem 1rem 1.05rem;
    gap: .45rem;
  }
  .home-landing .home-products-grid .product-body h3 {
    font-size: .98rem;
    min-height: 0;
    line-height: 1.35;
  }
}
@media (min-width: 1280px) {
  .home-products-shell {
    width: min(1280px, calc(100% - 3rem)) !important;
  }
  .home-landing .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
  .home-landing .home-products .product-media img {
    padding: .7rem;
  }
}
.home-features { background: var(--home-soft); }
.home-feature-grid,
.home-proof-grid,
.home-stories-grid,
.home-guide-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.home-feature-card,
.home-proof-card,
.home-story-card,
.home-guide-card,
.home-stat-card,
.home-review-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 22px;
  padding: 1.2rem 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.home-feature-index {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--home-accent);
  letter-spacing: .08em;
  margin-bottom: .55rem;
}
.home-feature-card h3,
.home-proof-card h3,
.home-story-card h3,
.home-guide-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.home-stat-card {
  text-align: center;
  padding: 1.15rem .85rem;
}
.home-stat-card strong {
  display: block;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: -.03em;
  margin-bottom: .2rem;
}
.home-stat-card span { color: var(--home-muted); font-size: .88rem; }
.home-proof-time { font-size: .82rem; margin-bottom: 0; }
.home-story-quote { margin: .75rem 0; }
.home-story-tags { margin-top: .8rem; flex-wrap: wrap; }
.home-stories,
.home-reviews { background: var(--home-soft); }
.home-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
.home-review-compact {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.home-review-stars { color: #f59e0b; letter-spacing: .08em; margin-bottom: .45rem; font-size: .95rem; }
.home-review-compact p {
  margin: 0 0 .75rem;
  color: #3f3f46;
  font-size: .95rem;
  line-height: 1.55;
}
.home-review-author strong { display: block; font-size: .92rem; }
.home-review-author span { color: var(--muted-foreground); font-size: .8rem; }
@media (min-width: 800px) {
  .home-reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.offer-card {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.1rem;
  background: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.offer-card-main { display: grid; gap: .9rem; }
.offer-card-image {
  width: 100%; max-height: 220px; object-fit: cover; border-radius: 16px;
}
.offer-card-copy h2 { margin: 0 0 .45rem; font-size: 1.25rem; }
.offer-price { font-size: 1.35rem; font-weight: 800; margin: .7rem 0; }
.offer-card-side { display: grid; gap: .75rem; align-content: start; }
@media (min-width: 860px) {
  .offer-card { grid-template-columns: 1.4fr .8fr; align-items: center; }
  .offer-card-main { grid-template-columns: 180px 1fr; align-items: start; }
  .offer-card-image { width: 180px; height: 140px; max-height: none; }
}

.warranty-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  margin-bottom: .85rem;
}
.warranty-card-head {
  display: flex; gap: .85rem; align-items: center; flex-wrap: wrap;
}
.warranty-card-head img {
  width: 52px; height: 52px; border-radius: 14px; object-fit: cover;
}
.warranty-card-head h2 { margin: 0; font-size: 1.05rem; }
.warranty-card-head > div { flex: 1; min-width: 180px; }
.warranty-card-body {
  margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--border);
  white-space: pre-line; line-height: 1.7;
}
.product-warranty-box {
  margin: 1rem 0;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 14px;
  padding: .85rem .95rem;
}
.product-warranty-box strong { display: block; color: #166534; margin-bottom: .35rem; }
.product-warranty-box p { margin: 0; color: #166534; white-space: pre-line; }
.home-ready {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
  padding: 3.5rem 0 !important;
  isolation: isolate;
}
.home-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/home/home-ready-watermark.jpg?v=2") center / cover no-repeat;
  opacity: .68;
  z-index: 0;
  pointer-events: none;
}
.home-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .36), rgba(0, 0, 0, .52));
  z-index: 0;
  pointer-events: none;
}
.home-ready-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.home-ready-title {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.home-ready-title em { color: #fda4af; }
.home-ready-sub {
  opacity: .72;
  margin: 0 auto 1.35rem;
  max-width: 40ch;
}
.home-ready .home-cta-pill {
  background: #fff;
  color: #111;
  box-shadow: none;
}
.home-ready .home-cta-pill:hover { background: #f4f4f5; }

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    padding: 2rem 0 1.5rem;
  }
  .home-hero-title { max-width: 14ch; }
  .home-hero-actions { max-width: 100%; padding-inline: .5rem; }
  .home-float-icon--5,
  .home-float-icon--6,
  .home-float-icon--7,
  .home-float-icon--8 { display: none; }
  .home-float-icon {
    width: 42px; height: 42px;
    border-radius: 13px;
    opacity: .92;
  }
  .home-deal-card {
    border-radius: 22px;
    padding: 1.5rem 1rem 1.15rem;
  }
  .home-deal-card::before,
  .home-deal-card::after {
    width: 10px; height: 16px;
    box-shadow: 20px 0 0 #3f3f46, 40px 0 0 #3f3f46;
  }
  .home-deal-side {
    align-items: stretch;
    gap: .85rem;
  }
  .home-deal-timer {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: .35rem;
  }
  .home-deal-unit { min-width: 52px; padding: .55rem .35rem .4rem; }
  .home-deal-unit strong { font-size: 1.2rem; }
  .home-deal-unit span { font-size: .58rem; }
  .home-deal-cta { width: 100%; }
  .home-section-head { margin-bottom: 1.35rem; padding-inline: .15rem; }
  .home-landing .section { padding: 2.4rem 0; }
}
@media (min-width: 700px) {
  .home-deal-card {
    grid-template-columns: 1.15fr .85fr;
    padding: 1.75rem 1.6rem 1.65rem;
    gap: 1.5rem;
  }
  .home-deal-side { align-items: flex-end; }
  .home-deal-cta { width: auto; min-width: 220px; }
  .home-feature-grid,
  .home-proof-grid,
  .home-stories-grid,
  .home-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .home-hero { padding: 3.5rem 0 2.75rem; }
  .home-float-icon { width: 58px; height: 58px; }
  .home-feature-grid,
  .home-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-float-icon,
  .home-eyebrow--dot::before { animation: none; }
}

/* —— Cart side drawer —— */
body.cart-drawer-open { overflow: hidden; }
.cart-drawer-root {
  position: fixed; inset: 0; z-index: 1200;
  pointer-events: none; visibility: hidden;
}
.cart-drawer-root.is-open {
  pointer-events: auto; visibility: visible;
}
.cart-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(17, 17, 17, .45);
  opacity: 0; transition: opacity .25s ease;
}
.cart-drawer-root.is-open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(420px, 100%);
  background: #fff;
  box-shadow: -12px 0 40px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .28s ease;
  outline: none;
}
[dir="rtl"] .cart-drawer {
  transform: translateX(-105%);
  box-shadow: 12px 0 40px rgba(0,0,0,.18);
}
.cart-drawer-root.is-open .cart-drawer,
[dir="rtl"] .cart-drawer-root.is-open .cart-drawer {
  transform: translateX(0);
}
.cart-drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h2 {
  margin: 0; font-size: 1.15rem; font-weight: 800;
}
.cart-drawer-count {
  margin: .25rem 0 0; color: var(--muted-foreground); font-size: .86rem;
}
.cart-drawer-close {
  width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: #f4f4f5; color: #111; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.cart-drawer-close:hover { background: #e4e4e7; }
.cart-drawer-body {
  flex: 1; overflow: auto; padding: 1rem 1.1rem;
  display: grid; gap: .85rem; align-content: start;
}
.cart-drawer-empty {
  text-align: center; padding: 2.5rem 1rem; display: grid; gap: 1rem; justify-items: center;
}
.cart-drawer-item {
  display: grid; grid-template-columns: 72px 1fr; gap: .85rem;
  padding: .85rem; border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.cart-drawer-thumb {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  background: #111; display: block; flex-shrink: 0;
}
.cart-drawer-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cart-drawer-info { min-width: 0; display: grid; gap: .45rem; }
.cart-drawer-item-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
}
.cart-drawer-name {
  font-weight: 700; font-size: .92rem; line-height: 1.35; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-drawer-remove {
  border: 0; background: transparent; color: #71717a; font-size: 1.15rem;
  line-height: 1; cursor: pointer; padding: 0 .15rem;
}
.cart-drawer-remove:hover { color: #111; }
.cart-drawer-sku {
  margin: 0; color: var(--muted-foreground); font-size: .75rem; word-break: break-all;
}
.cart-drawer-item-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.cart-qty-form {
  display: inline-flex; align-items: center; gap: .15rem;
  border: 1px solid var(--border); border-radius: 999px; padding: .15rem;
  background: #fafafa;
}
.cart-qty-btn {
  width: 28px; height: 28px; border: 0; border-radius: 999px;
  background: #fff; color: #111; font-size: 1rem; cursor: pointer;
}
.cart-qty-btn:hover { background: #f4f4f5; }
.cart-qty-value {
  min-width: 1.5rem; text-align: center; font-weight: 700; font-size: .9rem;
}
.cart-drawer-price { font-size: .95rem; }
.cart-drawer-foot {
  border-top: 1px solid var(--border);
  padding: 1rem 1.15rem 1.2rem;
  display: grid; gap: .7rem;
  background: #fff;
}
.cart-drawer-row {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted-foreground); font-size: .92rem;
}
.cart-drawer-total {
  color: #111; font-size: 1.05rem; font-weight: 700;
}
.cart-drawer-checkout { border-radius: 12px; padding: .9rem 1rem; }
.cart-drawer-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
}
.cart-drawer-actions .btn { border-radius: 12px; padding: .7rem .6rem; font-size: .88rem; }
.cart-drawer-actions form { display: contents; }
.cart-page-product {
  display: flex; align-items: center; gap: .75rem;
}
.cart-page-product img {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #111;
}
.header-actions .icon-btn { position: relative; }
.dv-orders { display: grid; gap: 1rem; }
.dv-orders-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.dv-orders-head h1 { margin: 0 0 .25rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.dv-orders-head p { margin: 0; color: var(--muted-foreground); }
.dv-filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .15rem;
}
.dv-filter-tabs::-webkit-scrollbar { display: none; }
.dv-filter-tab { flex: 0 0 auto; white-space: nowrap; }
.dv-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.dv-filter-tab {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: #334155; font-size: .86rem; font-weight: 700;
}
.dv-filter-tab span { color: var(--muted-foreground); font-weight: 600; }
.dv-filter-tab.is-active { background: #111; border-color: #111; color: #fff; }
.dv-filter-tab.is-active span { color: rgba(255,255,255,.72); }
.dv-orders-list { display: grid; gap: .85rem; }
.dv-order-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 1rem 1.05rem; box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.dv-order-main { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.dv-order-product { display: flex; gap: .8rem; min-width: 0; flex: 1; }
.dv-order-ico {
  width: 52px; height: 52px; border-radius: 14px; background: #0f172a; color: #fff;
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0; font-weight: 800;
}
.dv-order-ico img { width: 100%; height: 100%; object-fit: cover; }
.dv-order-copy strong { display: block; font-size: 1rem; line-height: 1.35; }
.dv-order-copy p { margin: .2rem 0 .45rem; color: var(--muted-foreground); font-size: .84rem; }
.dv-order-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted-foreground); font-size: .82rem; }
.dv-order-price { text-align: end; }
.dv-order-price strong { display: block; font-size: 1.2rem; }
.dv-order-price span { color: var(--muted-foreground); font-size: .78rem; }
.dv-order-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.dv-proof-card {
  display: flex; gap: .85rem; align-items: center; flex-wrap: wrap;
  padding: .85rem; border: 1px solid #bbf7d0; border-radius: 16px; background: #f0fdf4; margin-bottom: .85rem;
}
.dv-proof-thumb {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1px solid #86efac; flex-shrink: 0; background: #fff;
}
.dv-proof-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dv-proof-meta { display: grid; gap: .2rem; min-width: 0; }
.dv-proof-meta strong { color: #166534; }
.dv-proof-meta span { color: #15803d; font-size: .82rem; }
.dv-proof-form { display: grid; gap: .75rem; margin-top: .35rem; }
html[dir="rtl"] .dv-order-price { text-align: start; }
