:root {
  --bg: #ffffff;
  --ink: #1F0640; /* Abu Al-Hasan deep purple, sampled from logo */
  --ink-2: #12022A;
  --muted: #7A7263; /* warm neutral, ties to ivory/gold surfaces */
  --line: #E9E1CC; /* warm hairline border */
  --accent: #A9791E; /* Abu Al-Hasan antique brass gold, sampled from logo */
  --accent-light: #C9A03D;
  --sky: #3D1D73; /* interactive violet */
  --soft: #FBF6EC; /* warm ivory surface */
  --sale: #d61f4b;
  --max: 1240px;
  --radius: 10px;
  --font: "Cairo", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  color: #341F52;
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 48px 0;
}
.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ink-2);
}
.btn-primary:disabled {
  background: #8477A0;
  cursor: not-allowed;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
.btn-add {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 11px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn-add:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.btn-add:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-add:disabled {
  background: #8477A0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* WhatsApp */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  margin-top: 10px;
}
.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}
.btn-whatsapp .wa-ico {
  margin-inline-end: 4px;
}
.wa-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.12);
  transition: transform 0.15s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}
.field-hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

/* Order tracking */
.track-form {
  margin: 18px 0 26px;
}
.track-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.track-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.track-fields input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 200px;
  font-family: inherit;
}
.track-result {
  max-width: 720px;
}
.track-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.track-head h2 {
  margin: 0 0 4px;
}
.track-timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.track-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 8%;
  left: 8%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}
.track-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  color: var(--muted);
}
.track-step .step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  font-size: 20px;
}
.track-step .step-label {
  font-size: 13px;
  font-weight: 600;
}
.track-step.done {
  color: #166534;
}
.track-step.done .step-icon {
  border-color: #25d366;
  background: #dcfce7;
}
.track-step.current {
  color: var(--ink);
}
.track-step.current .step-icon {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 146, 42, 0.2);
}

/* Coupons */
.summary-row.discount {
  color: #166534;
  font-weight: 600;
}
.coupon-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.coupon-input {
  display: flex;
  gap: 8px;
}
.coupon-input input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
}
.coupon-applied {
  color: #166534;
  font-size: 14px;
  margin-bottom: 6px;
}
.coupon-error {
  color: var(--sale);
  font-size: 13px;
  margin: 8px 0 0;
}
.field-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Customer accounts */
.account-link {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  margin-inline-end: 10px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 8px 16px;
  transition: border-color 0.15s, background 0.15s;
}
.account-link:hover {
  border-color: var(--accent);
  background: var(--soft);
  color: var(--ink);
}
.btn-linklike {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.logout-inline {
  display: inline;
}
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.auth-form .field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form label {
  font-weight: 600;
  font-size: 14px;
}
.auth-form input {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
}
.auth-form .checkbox label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.auth-alt {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
}
.auth-alt a {
  color: var(--sky);
  font-weight: 700;
}
.verify-steps {
  padding-inline-start: 20px;
  line-height: 2.1;
  margin-bottom: 20px;
}
.verify-steps .btn {
  margin: 8px 0;
}
.code-reveal {
  margin-top: 10px;
  padding: 14px;
  background: #dcfce7;
  border-radius: var(--radius);
  font-weight: 700;
}
.code-reveal .the-code {
  font-size: 24px;
  letter-spacing: 4px;
  color: #166534;
}

.orders-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.my-orders {
  display: grid;
  gap: 18px;
}
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.order-card-items .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}
.order-card-items .summary-row.total {
  font-weight: 700;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 8px;
}
.order-card-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.status-0 {
  background: #fef3c7;
  color: #92400e;
}
.status-1 {
  background: #ffedd5;
  color: #9a3412;
}
.status-2 {
  background: #dcfce7;
  color: #166534;
}
.status-3 {
  background: #fee2e2;
  color: #991b1b;
}
.status-4 {
  background: #e0e7ff;
  color: #3730a3;
}
.status-5 {
  background: #cffafe;
  color: #155e75;
}
.status-6 {
  background: #bbf7d0;
  color: #14532d;
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 9px 12px;
  font-weight: 500;
}

/* Header */
/* الشريط العلوي (إعلان + هيدر) يثبتوا مع بعض عند التمرير */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== قائمة الموبايل المنسدلة (درج جانبي) ===== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 42, 0.5);
  z-index: 998;
}
.mobile-nav-overlay[hidden] {
  display: none;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #fff;
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(var(--drawer-offset, -100%));
  transition: transform 0.25s ease;
}
[dir="rtl"] .mobile-nav-drawer {
  --drawer-offset: 100%;
}
.mobile-nav-drawer.is-open {
  transform: translateX(0);
}
.mobile-nav-drawer[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav-drawer:not([hidden]) {
  visibility: visible;
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  line-height: 1;
}
.brand-text small {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.header-search-row {
  padding: 0 20px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.search {
  display: flex;
  align-items: center;
  max-width: 100%;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.search input {
  border: 0;
  background: transparent;
  padding: 13px 6px;
  outline: none;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
  text-align: right;
}
.search button {
  border: 0;
  background: transparent;
  padding: 0 18px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-link {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
  background: var(--soft);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 8px 16px;
  transition: background 0.15s;
}
.cart-link:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 480px) {
  .header-top {
    padding: 10px 14px 8px;
    gap: 8px;
  }
  .brand img {
    height: 36px;
  }
  .brand-text {
    font-size: 14px;
  }
  .brand-text small {
    display: none;
  }
  .account-link {
    padding: 7px 10px;
    font-size: 12.5px;
    margin-inline-end: 0;
  }
  .cart-link {
    padding: 7px 10px;
    font-size: 12.5px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-search-row {
    padding: 0 14px 14px;
  }
  .auth-card {
    padding: 22px 18px;
  }
}
.cart-count {
  background: var(--sale);
  color: #fff;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 12px;
}

/* Main nav */
.main-nav {
  border-top: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  padding: 12px 20px;
}
.nav-inner {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-inner a {
  font-size: 14.5px;
  font-weight: 600;
  color: #341F52;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.15s;
}
.nav-inner a:hover {
  color: var(--ink);
}
.nav-inner a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.15s;
}
.nav-inner a:hover::after {
  transform: scaleX(1);
}

/* ===== Shell: main content + persistent sidebar (replaces the old top nav bar) ===== */
.shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 48px;
}
.shell-main {
  min-width: 0;
}
.shell-sidebar {
  order: -1;
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sidebar-links a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
  border-inline-start: 3px solid transparent;
}
.sidebar-links a:hover {
  background: var(--soft);
  border-inline-start-color: var(--accent);
}
.sidebar-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sidebar-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.sidebar-block h4 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}
.sidebar-block--collapsible summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  border-inline-start: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.sidebar-block--collapsible summary:hover {
  background: var(--soft);
  border-inline-start-color: var(--accent);
}
.sidebar-block--collapsible summary h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: normal;
  margin: 0;
}
.sidebar-block--collapsible summary::-webkit-details-marker {
  display: none;
}
.sidebar-block--collapsible summary::before {
  content: "›";
  display: inline-block;
  font-size: 15px;
  color: var(--accent);
  transition: transform 0.15s;
}
.sidebar-block--collapsible[open] summary::before {
  transform: rotate(90deg);
}
.sidebar-block--collapsible .sidebar-categories {
  margin-top: 6px;
}
.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 420px;
  overflow-y: auto;
}
.sidebar-categories a {
  font-size: 13.5px;
  color: var(--text, #201a33);
  padding: 7px 10px;
  border-radius: 6px;
  border-inline-start: 3px solid transparent;
}
.sidebar-categories a:hover {
  background: var(--soft);
  color: var(--ink);
  border-inline-start-color: var(--accent);
}
.sidebar-utility {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-utility a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
  border-inline-start: 3px solid transparent;
}
.sidebar-utility a:hover {
  background: var(--soft);
  border-inline-start-color: var(--accent);
  color: var(--ink);
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  .shell-sidebar {
    /* الدرج الجانبي (hamburger) بقى بيغطي نفس الدور على الموبايل — إخفاء
       النسخة القديمة هنا يمنع تكرار نفس الروابط مرتين على الصفحة. */
    display: none;
  }
  .shell-main {
    order: 1;
  }
}

/* ===== Carousel (admin-controlled, manual navigation only — no autoplay) ===== */
.carousel {
  margin: 20px 0;
}
.carousel--full {
  margin: 0;
}
.carousel--full .carousel-frame {
  border-radius: 0;
  border-left: none;
  border-right: none;
  aspect-ratio: 32 / 9;
}
.carousel--full .carousel-frame::before {
  display: none;
}
.carousel--full .carousel-dots {
  padding: 10px 0;
  background: var(--soft);
  margin-top: 0;
}
.carousel-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 21 / 7;
}
.carousel-cta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.carousel-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
@media (max-width: 640px) {
  .carousel-cta {
    bottom: 14px;
    font-size: 13px;
    padding: 9px 22px;
  }
}
.carousel-frame::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
  border-radius: 10px 0 0 0;
  z-index: 3;
  pointer-events: none;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-slide.is-active {
  opacity: 1;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
.carousel-arrow:hover {
  border-color: var(--accent);
}
.carousel-arrow--prev {
  inset-inline-start: 10px;
}
.carousel-arrow--next {
  inset-inline-end: 10px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.carousel-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .carousel-frame,
  .carousel--full .carousel-frame {
    aspect-ratio: 4 / 3;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .carousel-arrow--prev { inset-inline-start: 6px; }
  .carousel-arrow--next { inset-inline-end: 6px; }
}
@media (max-width: 480px) {
  .carousel-frame,
  .carousel--full .carousel-frame {
    aspect-ratio: 1 / 1;
  }
}

/* ===== Catalog intro (replaces the old photo-slider hero) ===== */
.catalog-intro {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  margin-bottom: 8px;
}
.catalog-intro-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-intro-kicker {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.catalog-intro h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  max-width: 640px;
}
.catalog-intro p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0;
  line-height: 1.8;
}

/* ===== Catalog tile row (replaces circular category icons) ===== */
.catalog-tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.catalog-tile {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 16px 14px;
  transition: border-color 0.15s;
}
.catalog-tile:hover {
  border-color: var(--accent);
}
.catalog-tile h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.catalog-tile-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ===== Dense product row list (replaces the glossy star-rated card grid) ===== */
.product-row-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.product-row-list-head {
  display: grid;
  grid-template-columns: 64px 2fr 1fr 1fr 110px;
  gap: 14px;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.product-row {
  display: grid;
  grid-template-columns: 64px 2fr 1fr 1fr 110px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.product-row:last-child {
  border-bottom: none;
}
.product-row:hover {
  background: var(--soft);
}
.product-row-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  display: block;
}
.product-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  left: 2px;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  padding: 1px 2px;
  border-radius: 3px;
  color: #fff;
}
.row-badge--offer {
  background: var(--sale);
}
.row-badge--out {
  background: var(--muted);
}
.row-badge--last {
  background: var(--accent);
  color: var(--ink);
}
.product-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-row-cat {
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 700;
}
.product-row-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text, #201a33);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-row-stock {
  font-size: 12px;
}
.product-row-stock.in {
  color: #1f6f54;
}
.product-row-stock.out {
  color: var(--sale);
}
.product-row-price .price-now {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}
.product-row-price .price-now small {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
}
.product-row-price .price-hidden {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.btn-row-add {
  display: inline-block;
  border: 1.5px solid var(--accent);
  color: var(--ink);
  background: #fff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.btn-row-add:hover {
  background: var(--accent);
  color: var(--ink);
}
@media (max-width: 640px) {
  .product-row-list-head {
    display: none;
  }
  .product-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "thumb body"
      "thumb stock"
      "thumb price"
      "thumb action";
    row-gap: 4px;
  }
  .product-row-thumb {
    grid-area: thumb;
  }
  .product-row-body {
    grid-area: body;
  }
  .product-row-stock {
    grid-area: stock;
  }
  .product-row-price {
    grid-area: price;
  }
  .product-row-action {
    grid-area: action;
  }
}

/* ===== Clean auth pages (Login/Register) — no sidebar shell ===== */
.auth-body {
  background: var(--soft);
  min-height: 100vh;
}
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
}
.auth-brand {
  display: block;
  margin-bottom: 32px;
}
.auth-brand img {
  height: 64px;
  width: auto;
}
.auth-page-main {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Hero (retained for any page still referencing it; unused on the homepage now) */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
/* خلفية صور المطبخ التجاري مع تبديل تدريجي */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-slide.is-active {
  opacity: 1;
}
@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 20, 45, 0.82), rgba(15, 20, 45, 0.5) 60%, rgba(15, 20, 45, 0.35));
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  padding: 130px 20px;
  width: 100%;
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 14px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.3;
  margin: 0 0 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  margin: 0 auto 28px;
  max-width: 660px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
/* Hero slider (auto-rotating banner) */
.hero-slider {
  position: relative;
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.hero-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #fff;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 16px 22px;
  background: linear-gradient(transparent, rgba(27, 6, 64, 0.85));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-align: right;
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 3;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.hero-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 6px;
}

/* Features strip */
.features-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.features-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 20px;
  text-align: center;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature strong {
  font-size: 17px;
  color: var(--ink);
}
.feature span {
  color: var(--muted);
  font-size: 13px;
}

/* Section head */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.faq-section .section-title,
.banners + .section .section-title {
  text-align: right;
}
.see-all {
  color: var(--sky);
  font-weight: 700;
  font-size: 14px;
}
.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
.category-card {
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.category-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card:hover .category-thumb {
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  transform: translateY(-4px);
  border-color: var(--sky);
}
.category-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* Promo banners */
.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px auto 0;
}
.promo-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.promo-banner.alt {
  background: var(--ink);
}
.promo-banner h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}
.promo-banner p {
  margin: 0;
  opacity: 0.9;
}
.promo-badge {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* Entrance reveal (staggered) */
.reveal {
  animation: cardReveal 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 0.06s);
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .badge-sale,
  .media-shine::before {
    animation: none;
  }
  .product-card,
  .media-img,
  .btn-add,
  .media-dots,
  .media-dot {
    transition: none;
  }
  .product-card:hover .media-img--primary {
    opacity: 0;
    transform: none;
  }
  .product-card:hover .media-img--secondary {
    opacity: 1;
    transform: none;
  }
}

/* Product grid + cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plp-main .product-grid {
  grid-template-columns: repeat(3, 1fr);
}
.product-card-wrap {
  display: flex;
}
.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
  border-radius: 8px 0 0 0;
  z-index: 2;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.1);
  border-color: var(--ink);
}
.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  background: var(--soft);
  overflow: hidden;
}
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.45s ease;
  backface-visibility: hidden;
}
.media-img--primary {
  position: relative;
  z-index: 1;
}
.media-img--secondary {
  z-index: 2;
  opacity: 0;
  transform: scale(1.08);
}
/* hover: crossfade to the 2nd image with a gentle zoom */
.product-card:hover .media-img--primary {
  opacity: 0;
  transform: scale(1.08) rotate(-1deg);
}
.product-card:hover .media-img--secondary {
  opacity: 1;
  transform: scale(1);
}
/* single-image cards: just zoom + tilt the one image */
.product-media:not(.has-swap):hover .media-img--primary,
.product-card:hover .product-media:not(.has-swap) .media-img--primary {
  opacity: 1;
  transform: scale(1.09) rotate(-1deg);
}

/* Shine sweep removed — not part of the clean/minimal direction.
   .media-shine kept as an inert, invisible element so markup referencing
   it elsewhere doesn't break. */
.media-shine {
  display: none;
}

/* Gallery dots */
.media-dots {
  position: absolute;
  z-index: 4;
  bottom: 10px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  display: flex;
  gap: 5px;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.product-card:hover .media-dots {
  opacity: 1;
  transform: none;
}
.media-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(42, 10, 92, 0.28);
  transition:
    background 0.3s ease,
    width 0.3s ease;
}
.product-card:hover .media-dot.is-active {
  background: var(--sky);
  width: 16px;
  border-radius: 6px;
}
.badge-sale {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
  z-index: 2;
}
.badge-out {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: #746C86;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
  z-index: 2;
}
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(214, 31, 75, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(214, 31, 75, 0);
  }
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-cat {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.product-name {
  font-size: 15px;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.product-name a:hover {
  color: var(--sky);
}
.rating {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}
.product-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 4px 0 8px;
}
.price-now {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.price-now small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 14px;
}
.product-body form {
  margin-top: auto;
}

/* FAQ */
.faq-section {
  background: var(--soft);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  list-style: none;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "＋";
  color: var(--sky);
  margin-inline-start: 10px;
  font-weight: 800;
}
.faq-item[open] summary::before {
  content: "－";
}
.faq-item p {
  margin: 0 0 16px;
  color: #6E5A84;
}

/* ===== Shop / PLP ===== */
.plp-topbar {
  background: var(--ink);
  padding: 22px 24px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.plp-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 0;
}
.plp-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plp-breadcrumb a:hover {
  color: #fff;
}
.plp-sep {
  opacity: 0.7;
}
.plp-current {
  color: var(--accent);
  font-weight: 700;
}
.plp-cat-row {
  margin-bottom: 28px;
}
.plp-pill-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
}
.plp-pill {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #201a33);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.plp-pill:hover {
  border-color: var(--accent);
}
.plp-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.catalog-tile.is-active {
  border-color: var(--accent);
  background: var(--soft);
}

/* Category strip */
.plp-category-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
/* Hide the scrollbar — the strip auto-scrolls and is mouse/touch controllable. */
.plp-category-strip::-webkit-scrollbar {
  display: none;
}
.plp-category-strip.is-dragging {
  cursor: grabbing;
}
.plp-category-strip.is-dragging a {
  pointer-events: none;
}
/* Block native image/link drag so custom drag-scroll owns the gesture. */
.plp-category-strip img,
.plp-category-strip a {
  -webkit-user-drag: none;
  user-select: none;
}
.plp-category {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: cardReveal 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 0.05s);
}
.plp-category__thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  border: 2px solid var(--line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.plp-category__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.plp-category:hover .plp-category__thumb {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  border-color: var(--sky);
}
.plp-category:hover .plp-category__thumb img {
  transform: scale(1.08);
}
.plp-category.is-active .plp-category__thumb {
  border-color: var(--accent);
}
.plp-category__name {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}
.plp-category__count {
  font-size: 11px;
  color: var(--muted);
}

/* Category dropdown */
.plp-device {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.plp-device__label {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.plp-dd {
  position: relative;
  min-width: 260px;
}
.plp-dd__toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.plp-dd__toggle::-webkit-details-marker {
  display: none;
}
.plp-dd[open] .plp-dd__toggle {
  border-color: var(--sky);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.1);
}
.plp-dd__chev {
  transition: transform 0.2s ease;
  color: var(--sky);
}
.plp-dd[open] .plp-dd__chev {
  transform: rotate(180deg);
}
.plp-dd__panel {
  position: absolute;
  z-index: 20;
  inset-inline-start: 0;
  top: calc(100% + 8px);
  width: 320px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  animation: ddDrop 0.2s ease both;
}
@keyframes ddDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.plp-dd__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plp-dd__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.15s ease;
}
.plp-dd__item:hover {
  background: var(--soft);
}
.plp-dd__item.is-active {
  background: var(--ink);
  color: #fff;
}
.plp-dd__count {
  font-size: 12px;
  color: var(--muted);
}
.plp-dd__item.is-active .plp-dd__count {
  color: #DDD0EA;
}

/* Layout */
.plp-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 34px;
  align-items: start;
}

/* Filter panel */
.plp-filter {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Toggle switches */
.plp-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.plp-toggle b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.plp-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.plp-switch {
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  border-radius: 6px;
  background: #DDD0EA;
  position: relative;
  transition: background 0.25s ease;
}
.plp-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}
.plp-toggle input:checked + .plp-switch {
  background: var(--sky);
}
.plp-toggle input:checked + .plp-switch::after {
  transform: translateX(-20px);
}
.plp-toggle input:focus-visible + .plp-switch {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Filter groups */
.plp-filter__group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.plp-filter__group h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}
.plp-filter__group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3a4a72;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.plp-filter__group label:hover {
  background: var(--soft);
}
.plp-filter__group input[type="radio"],
.plp-filter__group input[type="checkbox"] {
  accent-color: var(--sky);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* Category radios (look like a checkbox list) */
.plp-cat span {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--muted);
}
.plp-cat input:checked ~ span {
  color: var(--sky);
}
.plp-cat input:checked {
}
.plp-cat:has(input:checked) {
  color: var(--ink);
  font-weight: 700;
}

/* Ratings */
.plp-rating-opt .stars {
  color: var(--accent);
  letter-spacing: 1px;
}
.plp-rating-opt .stars i {
  color: #DDD0EA;
  font-style: normal;
}

/* Price */
.plp-price-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.plp-price-inputs label {
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.plp-price-inputs label:hover {
  background: none;
}
.plp-price-inputs input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  text-align: center;
}
.plp-price-inputs input:focus {
  outline: none;
  border-color: var(--sky);
}
/* Hide number spinners so the boxes stay compact */
.plp-price-inputs input::-webkit-outer-spin-button,
.plp-price-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.plp-price-inputs input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.plp-price-apply {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 11px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.plp-price-apply:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.plp-price-apply:active {
  transform: none;
  box-shadow: none;
}

/* Reset */
.plp-filter__reset {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--sky);
  font-weight: 700;
}
.plp-filter__reset:hover {
  text-decoration: underline;
}

/* Toolbar */
.plp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.result-count {
  color: var(--muted);
  margin: 0;
}
.sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-form label {
  font-size: 14px;
  color: var(--muted);
}
.sort-form select {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.sort-form select:focus {
  outline: none;
  border-color: var(--sky);
}
.empty {
  color: var(--muted);
  padding: 40px 0;
}

/* Pagination */
.plp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  transition: all 0.18s ease;
}
.page-link:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(74, 31, 143, 0.1);
}
.page-link.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.page-link.is-active:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: none;
  box-shadow: none;
}
.page-nav {
  font-size: 18px;
  color: var(--sky);
}
.page-nav:hover {
  color: #fff;
}
.page-gap {
  color: var(--muted);
  padding: 0 4px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover {
  color: var(--sky);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-bottom: 56px;
}
.detail-media {
  position: relative;
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
}
.detail-info h1 {
  font-size: 30px;
  margin: 6px 0 12px;
  font-weight: 800;
  color: var(--ink);
}
.detail-price {
  font-size: 24px;
  margin: 12px 0;
}
.detail-desc {
  color: #6E5A84;
  margin: 18px 0;
}
.stock {
  font-size: 15px;
  font-weight: 700;
}
.stock.in {
  color: #1a8a3f;
}
.stock.out {
  color: var(--sale);
}
.add-form {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.add-form label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.add-form input[type="number"] {
  width: 68px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.perks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}
.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--soft);
  padding: 6px;
}
.cart-line-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-line-info a {
  font-weight: 700;
  color: var(--ink);
}
.qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-form input {
  width: 58px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.btn-link {
  background: none;
  border: none;
  color: var(--sky);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  font-family: inherit;
}
.line-total {
  font-weight: 800;
  color: var(--ink);
}
.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
}
.btn-remove:hover {
  color: var(--sale);
}
@media (max-width: 560px) {
  .cart-line {
    grid-template-columns: 68px 1fr auto;
    grid-template-areas:
      "img info remove"
      "img qty  total";
    row-gap: 8px;
  }
  .cart-line img {
    grid-area: img;
    width: 68px;
    height: 68px;
  }
  .cart-line-info {
    grid-area: info;
  }
  .qty-form {
    grid-area: qty;
  }
  .line-total {
    grid-area: total;
    justify-self: end;
  }
  .btn-remove {
    grid-area: remove;
    justify-self: end;
  }
}
.cart-summary {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.cart-summary h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--ink);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.cart-summary .btn {
  margin-top: 16px;
}
.continue {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.empty-cart {
  text-align: center;
  padding: 60px 0;
}
.empty-cart p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 17px;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}
.checkout-form h3,
.cart-summary h3 {
  margin-top: 0;
}
.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field textarea {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  text-align: right;
}
.field-error {
  color: var(--sale);
  font-size: 13px;
}

/* Confirmation */
.confirmation {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.confirmation .check {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #1a8a3f;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.confirmation h1 {
  font-size: 30px;
  color: var(--ink);
}
.order-recap {
  text-align: right;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin: 28px 0;
}
.order-recap h3 {
  margin-top: 0;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #DDD0EA;
  margin-top: 40px;
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}
.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 14px;
}
.site-footer a {
  display: block;
  color: #DDD0EA;
  font-size: 14px;
  padding: 4px 0;
}
.site-footer a:hover {
  color: #fff;
}
.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.newsletter input {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  text-align: right;
}
.newsletter button {
  background: var(--accent);
  color: var(--ink);
  border: 0;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
}
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.payment-chip {
  width: 44px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.payment-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.payment-chip svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1080px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .plp-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-logo img {
    max-width: 220px;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .banners {
    grid-template-columns: 1fr;
  }
  .plp-layout,
  .cart-layout,
  .checkout-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }
  .plp-filter {
    position: static;
  }
  .plp-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid,
  .category-grid,
  .plp-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 16px;
  }
  .brand img {
    width: 60px;
    height: 60px;
  }
  .header-actions {
    gap: 12px;
  }
  .search {
    order: 3;
    max-width: 100%;
  }

  /* Collapse the main nav into a hamburger menu */
  .nav-bar {
    padding: 10px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-inner {
    display: none;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 10px;
  }
  .nav-inner.open {
    display: flex;
  }
  .nav-inner a {
    padding: 13px 4px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--line);
  }
  .nav-inner a:last-child {
    border-bottom: 0;
  }

  /* Product detail: quantity + add button stack full width */
  .add-form {
    flex-wrap: wrap;
    gap: 12px;
  }
  .add-form .btn-add,
  .add-form .btn {
    flex: 1 1 100%;
  }
  .perks {
    gap: 14px 22px;
  }
  .detail-media img {
    padding: 20px;
  }
  .detail-info h1 {
    font-size: 24px;
  }
  .page-title {
    font-size: 26px;
  }
  .plp-hero h1 {
    font-size: 26px;
  }
  .section-title {
    font-size: 22px;
  }

  /* Section padding a touch tighter on phones */
  .section {
    padding: 32px 0;
  }
}
@media (max-width: 520px) {
  .product-grid,
  .category-grid,
  .stats-inner,
  .plp-main .product-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-inner {
    padding: 40px 16px;
  }

  /* Cart line: image + info on top row, controls on a second row */
  .cart-line {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "img info remove"
      "img qty  total";
    row-gap: 10px;
  }
  .cart-line img {
    grid-area: img;
    width: 64px;
    height: 64px;
  }
  .cart-line-info {
    grid-area: info;
  }
  .qty-form {
    grid-area: qty;
  }
  .line-total {
    grid-area: total;
    text-align: start;
  }
  .btn-remove {
    grid-area: remove;
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .track-timeline {
    flex-wrap: wrap;
    gap: 16px;
  }
  .track-timeline::before {
    display: none;
  }
  .track-step {
    flex: 0 0 40%;
  }
}

/* ===== Checkout: payment method + Vodafone Cash ===== */
.payment-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.payment-option {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.payment-option:hover {
  border-color: var(--sky);
}
.payment-option input {
  accent-color: var(--ink);
}
.vodafone-box {
  background: #FBF3E4;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.vodafone-number {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink);
  background: #fff;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  margin: 8px 0;
  direction: ltr;
}
.status-note-box {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 16px;
  margin: 16px 0;
  text-align: right;
}
.status-note-box.awaiting {
  background: #FBF3E4;
  border: 1px solid var(--accent);
}

/* ===== Maintenance / Repair section ===== */
.section-sub {
  color: var(--muted);
  margin-top: 4px;
}

/* Homepage CTA banner */
.maint-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 28px 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.maint-cta-banner::after {
  content: "🔧";
  position: absolute;
  inset-inline-start: -10px;
  bottom: -26px;
  font-size: 130px;
  opacity: 0.08;
  transform: rotate(-18deg);
  pointer-events: none;
}
.maint-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.maint-cta-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.maint-cta-text h3 {
  font-size: 24px;
  margin: 2px 0 6px;
}
.maint-cta-text p {
  color: #DDD0EA;
  font-size: 15px;
  margin: 0;
  max-width: 640px;
}
.maint-cta-arrow {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--ink-2);
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Maintenance hero */
.maint-hero {
  background: var(--soft);
  padding: 56px 0;
}
.maint-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.maint-hero-copy h1 {
  font-size: 34px;
  line-height: 1.3;
  color: var(--ink);
  margin: 8px 0 14px;
}
.maint-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.maint-hero-cta .btn-whatsapp {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.maint-tel {
  display: inline-flex;
  align-items: center;
}
.maint-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}

/* Maintenance steps */
.maint-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.maint-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 22px 22px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.maint-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.maint-step-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(196, 146, 42, 0.1);
}
.maint-step h3 {
  color: var(--ink);
  font-size: 18px;
  margin: 0 0 8px;
}
.maint-step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

/* Maintenance gallery */
.maint-gallery-section {
  background: var(--soft);
  padding: 48px 0;
}
.maint-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.maint-shot {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.1);
}
.maint-shot img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.maint-shot:hover img {
  transform: scale(1.05);
}
.maint-shot figcaption {
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

/* Maintenance contact band */
.maint-contact {
  background: var(--ink);
  color: #fff;
  padding: 46px 0;
}
.maint-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.maint-contact-copy h2 {
  font-size: 26px;
  margin: 0 0 6px;
}
.maint-contact-copy p {
  color: #DDD0EA;
  margin: 0;
}
.maint-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.maint-contact-actions .btn-whatsapp {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.maint-tel-lg {
  background: var(--accent);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
}
.maint-tel-lg:hover {
  background: #A67818;
}

@media (max-width: 860px) {
  .maint-hero-inner {
    grid-template-columns: 1fr;
  }
  .maint-hero-media {
    order: -1;
  }
  .maint-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .maint-steps,
  .maint-gallery {
    grid-template-columns: 1fr;
  }
  .maint-cta-banner {
    padding: 22px;
  }
}

/* ===================================================================
   إضافات: الإحصائيات، آراء العملاء،
   فلاجات المخزون، إخفاء السعر، لوحة المواصفات
   =================================================================== */

/* ---- لوجو الهيرو (بديل السلايدر) ---- */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  /* دمج الخلفية البيضاء للّوجو مع خلفية الهيرو الفاتحة */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 40px rgba(42, 10, 92, 0.18));
}
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ---- آراء العملاء المتحركة ---- */
.testimonials-section {
  padding: 48px 0;
  overflow: hidden;
}
.testimonial-controls {
  display: flex;
  gap: 8px;
}
.testimonial-marquee {
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  direction: ltr;
}
.testimonial-marquee::-webkit-scrollbar {
  display: none;
}
.testimonial-track {
  display: flex;
  gap: 0;
  width: max-content;
  direction: ltr;
}
.testimonial-group {
  display: flex;
  gap: 16px;
  padding-inline-end: 16px;
  flex: 0 0 auto;
}
.testimonial {
  direction: rtl;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px 18px;
  width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.testimonial-quote-mark {
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}
.testimonial-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
  width: fit-content;
}
.testimonial-text {
  font-size: 13.5px;
  color: var(--text, #201a33);
  line-height: 1.8;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-by {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.testimonial-name {
  font-weight: 700;
  color: var(--ink);
}
.testimonial-verified {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 560px) {
  .testimonial {
    width: 240px;
    flex: 0 0 240px;
  }
}

/* ---- فلاجات المخزون + عرض العدد ---- */
.badge-last {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(214, 31, 75, 0.1);
}
.last-flag {
  display: inline-block;
  background: var(--sale);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 6px;
  margin: 2px 0 6px;
}
.last-flag-lg {
  font-size: 15px;
  padding: 9px 18px;
  margin: 10px 0;
}
@keyframes flag-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.stock-line {
  font-size: 13px;
  font-weight: 700;
  margin: 2px 0 6px;
}
.stock-line.in {
  color: #0f9d58;
}
.stock-line.out {
  color: var(--sale);
}

/* ---- إخفاء السعر عن العميل ---- */
.price-hidden {
  color: var(--sky);
  font-weight: 700;
  font-size: 14px;
}
.detail-price.price-hidden {
  font-size: 16px;
  background: var(--soft);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px dashed var(--sky);
  display: inline-block;
}
.price-hidden-note {
  background: var(--soft);
  border: 1px dashed var(--sky);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #6E5A84;
  margin: 8px 0;
}

/* ===== المواصفات الفنية (جدول key/value اختياري) ===== */
.tech-specs-lead {
  margin: 40px 0 12px;
}
.tech-specs-lead .detail-desc {
  margin: 0;
}
.tech-specs {
  margin: 0 0 40px;
}
.tech-specs-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tech-specs-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
}
.tech-specs-table tr:nth-child(even) {
  background: var(--soft);
}
.tech-specs-table th, .tech-specs-table td {
  padding: 12px 18px;
  text-align: start;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.tech-specs-table th {
  border-inline-end: 1px solid var(--line);
}
.tech-specs-table tr:last-child th, .tech-specs-table tr:last-child td {
  border-bottom: none;
}
.tech-specs-table th {
  color: var(--muted);
  font-weight: 600;
  width: 40%;
}
.tech-specs-table td {
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
  direction: ltr;
  text-align: left;
}
@media (max-width: 560px) {
  .tech-specs-table th, .tech-specs-table td {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border-bottom: none;
    border-inline-end: none;
    font-size: 15px;
  }
  .tech-specs-table th {
    padding-top: 12px;
    padding-bottom: 2px;
  }
  .tech-specs-table td {
    padding-bottom: 12px;
  }
  .tech-specs-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .tech-specs-table tr:last-child {
    border-bottom: none;
  }
}

/* ---- لوحة أهم المواصفات (تفاصيل المنتج) ---- */
.specs-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 40px 0;
  padding: 30px 34px;
}
.specs-badge {
  display: inline-block;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.specs-body {
  color: var(--ink);
}
.specs-title {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
}
.specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}
.specs-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

/* ---- تلميح حقل الأدمن ---- */
.field-hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2n) {
    border-inline-start: 0;
  }
  .specs-panel {
    grid-template-columns: 1fr;
  }
  .specs-media {
    order: -1;
  }
  .hero-logo img {
    max-width: 240px;
  }
}
@media (max-width: 520px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .review-card {
    flex: 0 0 300px;
    width: 300px;
  }
}


/* ===== شريط الصور والفيديوهات (Reels) ===== */
.reels-section {
  padding: 48px 0;
  background: #fff;
}
.reels-title {
  text-align: center;
  margin-bottom: 28px;
}
.reels-viewport {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 20px;
}
.reels-viewport:last-child {
  margin-bottom: 0;
}
.reels-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.reels-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  /* LTR عشان التمرير التلقائي يشتغل صح في صفحة RTL */
  direction: ltr;
}
.reels-track::-webkit-scrollbar {
  display: none;
}
.reels-arrow {
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
.reels-arrow:hover {
  border-color: var(--accent);
}
@media (max-width: 620px) {
  .reels-arrow {
    display: none;
  }
}
.reel-card {
  flex: 0 0 auto;
  width: 190px;
  direction: rtl;
}
.reel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}
.reel-media::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
  border-radius: 8px 0 0 0;
  z-index: 2;
}
.reel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: border-color 0.15s;
}
.reel-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
}
.reel-play:hover {
  border-color: var(--accent);
}
.reel-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 620px) {
  .reel-card {
    width: 150px;
  }
}

.reel-label {
  display: block;
  padding-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text, #201a33);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* كروت الصور داخل الشريط: تعرض المنتج كامل على خلفية بيضاء */
.reel-media--img {
  display: block;
  background: #fff;
}
.reel-media--img .reel-thumb {
  object-fit: contain;
  padding: 14px;
}

/* ===== صفحة من نحن ===== */
.about-intro {
  max-width: 820px;
  font-size: 16px;
  color: #6E5A84;
  line-height: 1.9;
  margin-bottom: 34px;
}
.about-intro strong { color: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.06);
}
.about-ico { font-size: 32px; margin-bottom: 8px; }
.about-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.about-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* لوجو صغير داخل بانر الترويج (بدل الشارة) */
.promo-logo {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== لوحة حجز منتج نافد الكمية (العربون) ===== */
.deposit-panel {
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--soft);
  margin: 6px 0 14px;
}
.deposit-title { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.deposit-note { margin: 0 0 14px; font-size: 14px; color: #6E5A84; }
.deposit-note strong { color: var(--ink); }
.deposit-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.deposit-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.deposit-form input[type="text"],
.deposit-form input[type="tel"],
.deposit-form input[type="number"] {
  padding: .6rem .7rem; border: 1px solid #DDD0EA; border-radius: 8px; font-family: inherit; font-size: 14px;
}
.deposit-form input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(74,31,143,.14); }
.deposit-pay { font-size: 13.5px; color: #6E5A84; margin: 14px 0 10px; }
.deposit-file { margin: 6px 0 14px; }
.deposit-alert { padding: 12px 14px; border-radius: 10px; font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.deposit-alert.ok { background: #e3f5ea; color: #1f6f54; }
.deposit-alert.err { background: #fdecea; color: #b3261e; }
@media (max-width: 560px) {
  .deposit-grid { grid-template-columns: 1fr; }
}

/* ===== بانرات المقارنة (الرئيسية) ===== */
.cmp-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px auto;
}
.cmp-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 34px 40px;
  overflow: hidden;
  color: #fff;
  background-color: #1e3fa8;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cmp-banner.alt { background-color: #2A0A5C; }
/* تدرّج افتراضي لو مفيش صورة مرفوعة */
.cmp-banner:not(.has-img) { background-image: none; background-color: var(--sky); }
.cmp-banner.alt:not(.has-img) { background-image: none; background-color: var(--ink); }
/* تعتيم فوق الصورة لوضوح النص (النص على اليمين) */
.cmp-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-90deg, rgba(18, 26, 64, 0.12) 0%, rgba(18, 26, 64, 0.5) 45%, rgba(18, 26, 64, 0.85) 100%);
}
.cmp-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
}
.cmp-banner-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
  text-align: right;
}
.cmp-banner h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}
.cmp-banner p {
  margin: 0 0 18px;
  font-size: 15px;
  opacity: 0.92;
  line-height: 1.7;
}
.cmp-banner-btn {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: 6px;
}
@media (max-width: 760px) {
  .cmp-banners { grid-template-columns: 1fr; }
  .cmp-banner-copy { max-width: 100%; }
}

/* ===== الفوتر: أيقونات سوشيال + تنسيق موبايل ===== */
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-email { display: block; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.footer-email:hover { color: var(--accent); }
.footer-social a {
  width: 40px; height: 40px; padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; line-height: 0;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.footer-social a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-social a.social-wa { background: #25D366; }
.footer-social a.social-fb { background: #1877F2; }
.footer-social a.social-yt { background: #FF0000; }
.footer-social a.social-tt { background: #000000; }

@media (max-width: 640px) {
  .site-footer { padding-top: 36px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { max-width: 320px; margin-inline: auto; }
  .footer-social { justify-content: center; }
  .footer-news .newsletter { max-width: 360px; margin-inline: auto; }
  .footer-col h4 { margin-bottom: 10px; }
}

/* ===== فلاج العرض/التخفيض (Sale) ===== */
.badge-offer {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(214, 31, 75, 0.1);
}
@keyframes offer-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.badge-offer-lg {
  font-size: 15px;
  padding: 8px 18px;
  top: 16px;
  inset-inline-end: 16px;
}
/* الكارت اللي عليه عرض: إطار وتوهّج مميّز */
.product-card--sale {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(196, 146, 42, 0.12);
}
.product-card--sale .product-media {
  background: var(--soft);
}
.detail-media--sale {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(196, 146, 42, 0.12);
}

/* ===== شريط الإعلانات العلوي ===== */
.announcement {
  background: var(--ink);
  color: #fff;
}
.announcement__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
}
.announcement__arrow {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0 6px;
  transition: color 0.15s ease;
}
.announcement__arrow:hover { color: #fff; }
.announcement__viewport {
  flex: 1;
  min-width: 0;
  text-align: center;
  overflow: hidden;
}
.announcement__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

/* ===== إشعارات المبيعات (Sales Popup) ===== */
.salespop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 950;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(42, 10, 92, 0.12);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s ease;
  pointer-events: none;
}
.salespop.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.salespop-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  align-items: center;
}
.salespop-media {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.salespop-img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.salespop-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.salespop-tag {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--sale);
  padding: 2px 8px;
  border-radius: 6px;
  align-self: flex-start;
}
.salespop-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salespop-price { font-weight: 800; font-size: 15px; color: var(--sale); }
.salespop-price small { font-weight: 600; font-size: 11px; color: var(--muted); }
.salespop-cta { font-size: 12px; font-weight: 700; color: var(--sky); margin-top: 2px; }
.salespop-close {
  position: absolute;
  top: 6px;
  inset-inline-start: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.salespop-close:hover { color: var(--sale); }
@media (max-width: 520px) {
  .salespop { right: 12px; bottom: 84px; width: 280px; }
}

/* ===== معرض صور المنتج (صفحة التفاصيل) ===== */
.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.detail-thumb {
  width: 74px;
  height: 74px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumb:hover { border-color: var(--sky); transform: translateY(-2px); }
.detail-thumb.active { border-color: var(--sky); }
#detailMainImg { transition: opacity 0.2s ease; }

/* فواصل مجموعات صفحة الإعدادات */
.settings-sep { border: none; border-top: 1px solid var(--line); margin: 22px 0 6px; }
.settings-group-title { font-size: 15px; color: var(--ink); margin: 0 0 10px; font-weight: 800; }

/* روابط الفروع في الفوتر */
.footer-locations { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.footer-locations a { color: #DDD0EA; font-size: 13.5px; }
.footer-locations a:hover { color: #fff; }

/* ===== رابط مختصر للمنتج (نسخ للحافظة) ===== */
.title-row { display: flex; align-items: center; gap: 10px; }
.title-row h1 { margin: 0; }
.btn-copy-link {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-copy-link svg { width: 16px; height: 16px; }
.btn-copy-link:hover, .btn-copy-link.is-copied { background: var(--soft); color: var(--accent); border-color: var(--accent); }

.short-link-box {
  display: flex; align-items: center; gap: 8px; margin: 24px 0; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--soft);
  font-size: 12.5px; max-width: fit-content;
}
.short-link-box svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.short-link-label { color: var(--muted); font-weight: 600; white-space: nowrap; }
.short-link-text {
  color: var(--ink); text-decoration: none; direction: ltr; text-align: left;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer;
}
.short-link-text:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .short-link-text { max-width: 140px; }
}

/* ===== تجربة: هيرو متعدد الطبقات — أنيميشن دخول عند التحميل (مش مرتبط
   بالسكرول خالص دلوقتي — كان بيعمل مشاكل أداء واضحة على الموبايل لما كذا
   عنصر بيتحرك مع بعض أثناء السكرول). الحركة الوحيدة دلوقتي: زوم خلفية بطيء
   مستمر + ظهور تدريجي للعناصر مرة واحدة لما الصفحة تفتح. ===== */
.mlp-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 680px;
  overflow: hidden;
  background: var(--ink);
  margin-bottom: 60px;
}
.mlp-bg {
  position: absolute;
  inset: 0;
}
.mlp-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
  animation: mlpBgZoom 9s ease-in-out infinite alternate;
}
.mlp-bg img.is-fading {
  opacity: 0;
}
@keyframes mlpBgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.mlp-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 2, 42, 0.78) 0%, rgba(18, 2, 42, 0.4) 55%, rgba(18, 2, 42, 0.18) 100%);
}
.mlp-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: mlpFadeIn 1.2s ease forwards;
}
.mlp-shape--1 {
  width: 220px;
  height: 220px;
  top: 12%;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(169, 121, 30, 0.35) 0%, rgba(169, 121, 30, 0) 70%);
  animation-delay: 0.2s;
}
.mlp-shape--2 {
  width: 160px;
  height: 160px;
  bottom: 22%;
  inset-inline-start: 6%;
  background: radial-gradient(circle, rgba(61, 29, 115, 0.4) 0%, rgba(61, 29, 115, 0) 70%);
  animation-delay: 0.4s;
}
@keyframes mlpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mlp-content {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: end;
  padding: 0 60px;
  color: #fff;
}
.mlp-kicker, .mlp-title, .mlp-cta {
  opacity: 0;
  transform: translateY(22px);
  animation: mlpReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mlp-kicker { animation-delay: 0.15s; }
.mlp-title { animation-delay: 0.3s; }
.mlp-cta { animation-delay: 0.5s; }
@keyframes mlpReveal {
  to { opacity: 1; transform: translateY(0); }
}
.mlp-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.mlp-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 28px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.mlp-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mlp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.mlp-card {
  position: absolute;
  bottom: -30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 14px 34px rgba(18, 2, 42, 0.18);
  max-width: 260px;
  opacity: 0;
  transform: translateY(24px);
  animation: mlpReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mlp-card--warranty {
  inset-inline-start: 6%;
  animation-delay: 0.65s;
}
.mlp-card--catalogs {
  inset-inline-start: 32%;
  animation-delay: 0.8s;
}
.mlp-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.mlp-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mlp-card-text strong {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 800;
}
.mlp-card-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .mlp-bg img { animation: none; }
  .mlp-shape, .mlp-kicker, .mlp-title, .mlp-cta, .mlp-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .mlp-title {
    font-size: 32px;
  }
  .mlp-card--catalogs {
    inset-inline-start: unset;
    inset-inline-end: 6%;
  }
}
@media (max-width: 720px) {
  .mlp-hero {
    height: 58vh;
    min-height: 360px;
    max-height: 500px;
    margin-bottom: 210px; /* مساحة كافية تحت الهيرو عشان الكارتين اللي هيتكدسوا فوق بعض بره حده */
  }
  .mlp-content {
    align-items: center;
    text-align: center;
    padding: 0 24px;
  }
  .mlp-title {
    font-size: 24px;
  }
  .mlp-shape {
    display: none; /* على الموبايل الشكلين الزخرفيين بياخدوا مساحة من غير ما يضيفوا حاجة واضحة */
  }
  .mlp-card {
    inset-inline-start: 20px;
    inset-inline-end: 20px;
    max-width: none;
    width: auto;
  }
  .mlp-card--warranty {
    bottom: -90px;
    animation-delay: 0.5s;
  }
  .mlp-card--catalogs {
    bottom: -170px;
    animation-delay: 0.65s;
  }
}
