:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #151515;
  --line: #2e2e2e;
  --muted: #9a9a9a;
  --text: #FFFFFF;
  --gold: #e10600;
  --gold-2: #b80500;
  --gold-dark: #2e2e2e;
  --gold-soft: rgba(225, 6, 0, 0.14);
  --panel-edge:
    0 0 0 1px rgba(225, 6, 0, 0.16),
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(225, 6, 0, 0.14);
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #e10600 #141414;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Tajawal, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(225, 6, 0, 0.08), transparent 58%),
    radial-gradient(700px 420px at 0% 100%, rgba(80, 10, 10, 0.22), transparent 55%),
    linear-gradient(rgba(225, 6, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 80px 80px, 80px 80px, auto;
}

/* سكرول بار أحمر متناسق مع هوية PRO TEC21 */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #101010, #181818);
  border-inline-start: 1px solid rgba(225, 6, 0, 0.12);
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2a22 0%, #e10600 45%, #8a0400 100%);
  border-radius: 999px;
  border: 2px solid #121212;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4d45 0%, #ff1a10 45%, #b80500 100%);
  border: 2px solid #121212;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #e10600, #6e0300);
  border: 2px solid #121212;
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: #101010;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

#app {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
#app > main { flex: 1; position: relative; z-index: 1; }
#app > .header {
  position: sticky;
  top: 0;
  z-index: 40;
}
#app > .footer { position: relative; z-index: 2; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); }

@keyframes site-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -20px) scale(1.08); }
}
@keyframes site-scan {
  0% { transform: translateY(-30vh); opacity: 0; }
  15% { opacity: 0.35; }
  100% { transform: translateY(110vh); opacity: 0; }
}
.site-fx {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.site-fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.32;
  animation: site-orb 10s ease-in-out infinite;
}
.site-fx-orb-a {
  width: 280px;
  height: 280px;
  inset-block-start: 8%;
  inset-inline-start: -60px;
  background: rgba(225, 6, 0, 0.34);
}
.site-fx-orb-b {
  width: 220px;
  height: 220px;
  inset-block-start: 42%;
  inset-inline-end: -50px;
  background: rgba(225, 6, 0, 0.2);
  animation-delay: -3.5s;
}
.site-fx-orb-c {
  width: 180px;
  height: 180px;
  inset-block-end: 8%;
  inset-inline-start: 18%;
  background: rgba(120, 10, 10, 0.28);
  animation-delay: -6s;
}
.site-fx-grid {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, transparent 75%);
}
.site-fx-scan {
  position: absolute;
  inset-inline: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(225, 6, 0, 0.1), transparent);
  animation: site-scan 9s linear infinite;
}
@media (max-width: 720px) {
  .site-fx-orb,
  .site-fx-scan { display: none; }
  .site-fx-grid { opacity: 0.04; }
}
@media (prefers-reduced-motion: reduce) {
  .site-fx-orb,
  .site-fx-scan,
  .hero-slider::before,
  .hero-slider::after,
  .hero-veil::after,
  .hero-logo-wrap::before,
  .hero-perk,
  .hero-perk-icon::after { animation: none !important; }
  .hero-media,
  .hero-slide .hero-brand-row,
  .hero-slide h1,
  .hero-slide .lead,
  .hero-slide .hero-actions,
  .hero-side-name,
  .hero-perk {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.boot, .empty {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 48px 16px;
}
.boot {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(520px 280px at 50% 38%, rgba(225, 6, 0, 0.16), transparent 62%),
    radial-gradient(700px 420px at 80% 0%, rgba(225, 6, 0, 0.08), transparent 55%),
    #0a0a0a;
}
.boot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 15%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
.boot-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(320px, calc(100% - 32px));
  padding: 28px 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: rgba(14, 14, 14, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  animation: boot-card-in 0.45s ease both;
}
.boot-orb {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.boot-ring,
.boot-ring-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: rgba(225, 6, 0, 0.35);
  animation: boot-spin 0.9s linear infinite;
}
.boot-ring-2 {
  inset: 10px;
  border-top-color: rgba(255, 255, 255, 0.55);
  border-right-color: rgba(255, 255, 255, 0.12);
  animation-duration: 1.35s;
  animation-direction: reverse;
}
.boot-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.45);
  color: #fff;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.22);
  animation: boot-pulse 1.6s ease-in-out infinite;
}
.boot-brand,
.boot p,
.empty h1 {
  margin: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.boot-brand {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.boot-msg,
.boot span,
.empty p {
  color: var(--muted);
}
.boot-msg {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.boot-track {
  width: 100%;
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.boot-track i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold), #ff5a52, transparent);
  animation: boot-bar 1.15s ease-in-out infinite;
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}
@keyframes boot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes boot-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
@keyframes boot-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.page-loader:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
.page-loader[hidden] { display: none !important; }
.page-loader-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: min(240px, calc(100vw - 48px));
  padding: 18px 20px 16px;
  border-radius: 18px;
  border: 1px solid rgba(225, 6, 0, 0.3);
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.page-loader-spin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  animation: boot-spin 0.75s linear infinite;
}
.page-loader-msg {
  margin: 0;
  color: #ddd;
  font-size: 13px;
  font-weight: 700;
}
.page-loader-top {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 140;
  height: 3px;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
body.is-page-loading .page-loader-top {
  opacity: 1;
}
.page-loader-top i {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--gold), #ff6b63);
  animation: boot-bar 0.85s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .boot-ring,
  .boot-ring-2,
  .boot-core,
  .boot-track i,
  .page-loader-spin,
  .page-loader-top i,
  .boot-card {
    animation: none !important;
  }
  .boot-ring,
  .boot-ring-2 { border-color: rgba(225, 6, 0, 0.45); }
  .boot-track i { width: 55%; transform: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid #222;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding-block: 8px;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-left { min-width: 0; }
.header-right { margin-inline-start: 0; }
.header-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #fff;
  place-items: center;
  flex-shrink: 0;
}
.header-menu:hover { border-color: var(--gold); color: var(--gold); }
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  position: relative;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  position: relative;
  border-radius: 12px;
  padding: 4px 6px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.28s ease, background 0.28s ease, transform 0.28s ease;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(176px, 42vw);
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: filter 0.28s ease, transform 0.28s ease;
}
.brand:hover .brand-mark {
  transform: translateY(-1px);
  background: linear-gradient(165deg, rgba(225, 6, 0, 0.1), transparent 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 0 rgba(225, 6, 0, 0.2),
    0 10px 22px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(225, 6, 0, 0.18);
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  transform: translateY(-0.5px);
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  .brand-logo,
  .brand:hover .brand-mark,
  .brand:hover .brand-logo {
    transition: none;
    transform: none;
  }
}
.brand-logo-footer {
  height: 48px;
  max-width: 200px;
}
.brand-footer { margin-bottom: 10px; }
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  min-height: 42px;
}
.search-toggle {
  cursor: pointer;
  background: transparent;
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 18px 20px 20px;
  pointer-events: none;
}
.search-modal[hidden] { display: none; }
.search-modal.is-open { pointer-events: auto; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.72);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.search-modal.is-open .search-backdrop { opacity: 1; }
.search-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 48px));
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid #2a2a2a;
  background: #151515;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.2s ease;
}
.search-modal.is-open .search-dialog {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(225, 6, 0, 0.12);
}
.search-dialog-close {
  position: absolute;
  top: 14px;
  inset-inline-start: unset;
  inset-inline-end: unset;
  right: auto;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.search-dialog-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.search-dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-inline-end: 48px;
}
.search-dialog-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #151515;
  border: 1px solid #2a2a2a;
  color: #fff;
  flex: 0 0 auto;
}
.search-dialog-head strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.search-dialog-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.search-dialog-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  background: #121212;
}
.search-dialog-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0 14px;
  color: var(--text);
  font-size: 15px;
}
.search-dialog-form input:focus {
  outline: none;
}
.search-dialog-form input::placeholder { color: #6f6f6f; }
.search-dialog-submit {
  flex: 0 0 auto;
  min-width: 88px;
  height: 44px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}
.search-dialog-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.1);
  color: #ffb4b4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.search-dialog-hint-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.35);
  color: var(--gold);
  flex: 0 0 auto;
}
.search-dialog-hint[hidden] { display: none; }
body.search-open { overflow: hidden; }
body.search-open .header { z-index: 90; }
@media (min-width: 981px) {
  .header-left,
  .header-right { display: contents; }
  .header-menu { display: none; }
  .header-main .brand { order: 1; flex-shrink: 0; }
  .header-main .nav { order: 2; flex: 1; min-width: 0; }
  .header-main .nav-search {
    order: 3;
    margin-inline-start: auto;
  }
  .header-main .header-account { order: 4; }
  .header-main .header-cart { order: 5; }
}
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid transparent;
  color: #ddd;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.header-action:hover {
  background: transparent;
  border-color: transparent;
  color: #fff;
}
.header-action-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #151515;
  border: 1px solid #2a2a2a;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.header-action-icon.is-avatar {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(225, 6, 0, 0.18);
  border-color: rgba(225, 6, 0, 0.45);
  color: #fff;
}
.header-action:hover .header-action-icon {
  border-color: var(--gold);
  color: var(--gold);
}
.header-action:hover .header-action-icon.is-avatar {
  background: rgba(225, 6, 0, 0.28);
  border-color: var(--gold);
  color: #fff;
}
.header-action-text {
  display: none;
}
.header-cart .badge {
  top: -5px;
  inset-inline-end: -5px;
  inset-inline-start: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 0;
  min-width: 0;
  flex: 1;
  overflow: visible;
}
.nav > a:not(.btn-build),
.nav-dd-trigger,
.menu-links a {
  padding: 10px 14px;
  color: #cfcfcf;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav > a:not(.btn-build).active,
.nav > a:not(.btn-build):hover,
.nav-dd-trigger.active,
.nav-dd-trigger:hover,
.nav-dd:hover .nav-dd-trigger,
.nav-dd.is-open .nav-dd-trigger,
.menu-links a.active,
.menu-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-dd {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dd-trigger svg {
  transition: transform 0.2s ease;
}
.nav-dd.is-open .nav-dd-trigger svg {
  transform: rotate(180deg);
}
.nav-mega {
  position: fixed;
  top: var(--nav-mega-top, 72px);
  left: 50%;
  width: min(720px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 40;
}
.nav-dd.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -16px;
  height: 18px;
}
.nav-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #222;
}
.nav-mega-head strong {
  font-size: 14px;
  color: #fff;
}
.nav-mega-head a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  border: 0;
  padding: 0;
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.nav-mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #121212;
  color: #ddd;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.nav-mega-item:hover,
.nav-mega-item.is-on {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.08);
  color: #fff;
}
.nav-mega-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.nav-mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-mega-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}
.nav-mega-copy strong {
  font-size: 13px;
  font-weight: 700;
}
.nav-mega-copy small {
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-build {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  margin-inline-start: 8px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #e8e8e8;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-build:hover {
  background: var(--gold-soft);
  border-color: rgba(225, 6, 0, 0.55);
  color: var(--gold);
}
.btn-build:active { transform: translateY(1px); }
.btn-build svg { flex-shrink: 0; }
.btn-build.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn-build.is-on:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #fff;
}
.menu-backdrop {
  display: none;
}
.menu {
  display: none;
}
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-head strong { font-size: 16px; }
.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.menu-close:hover { color: var(--gold); }
.menu-links { display: grid; gap: 2px; }
.menu-links a {
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  background: transparent;
}
.menu-links a.active,
.menu-links a:hover {
  background: rgba(225, 6, 0, 0.1);
  border-bottom-color: transparent;
}
.menu-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-cats a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #ddd;
  font-size: 13px;
}
.menu-cats a:hover { border-color: var(--gold); color: #fff; }
.menu-label { margin: 0; color: var(--muted); font-size: 13px; }
.menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.menu-open { overflow: hidden; }
@media (max-width: 980px) {
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    width: 100%;
    max-height: min(94vh, 920px);
    padding: 0 0 env(safe-area-inset-bottom, 0);
    border: 0;
    border-radius: 28px 28px 0 0;
    background: #121212;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
    transform: translate3d(0, 110%, 0);
    visibility: hidden;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.34s;
    pointer-events: none;
    overflow: hidden;
  }
  .menu.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    overflow: auto;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }
  .menu-close {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 36px;
    height: 36px;
    margin: 12px auto 0;
    z-index: 2;
    box-shadow: none;
  }
  .menu-sheet {
    display: grid;
    align-content: start;
    gap: 0;
    flex: 0 0 auto;
    overflow: visible;
    padding: 6px 18px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .menu-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 10px 2px;
    border: 0;
    border-bottom: 1px solid #262626;
    color: #f3f3f3;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    text-align: start;
    background: transparent;
    cursor: pointer;
  }
  .menu-label {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: inherit;
    font-size: 22px;
    font-weight: 800;
  }
  .menu-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid #333;
    background: linear-gradient(180deg, #1c1c1c, #141414);
    color: #fff;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .menu-row:hover { color: #fff; }
  .menu-row:hover .menu-ico { border-color: #444; }
  .menu-row.is-on { color: var(--gold); }
  .menu-row.is-on .menu-ico {
    color: #fff;
    border-color: rgba(225, 6, 0, 0.7);
    background: linear-gradient(180deg, rgba(225, 6, 0, 0.35), rgba(225, 6, 0, 0.12));
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
  }
  .menu-acc-btn.is-open { color: #fff; }
  .menu-acc-btn.is-open .menu-ico {
    color: #fff;
    border-color: rgba(225, 6, 0, 0.7);
    background: linear-gradient(180deg, rgba(225, 6, 0, 0.35), rgba(225, 6, 0, 0.12));
  }
  .menu-store-all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid #2e2e2e;
    background: #171717;
    color: #eee;
    font-size: 13px;
    font-weight: 800;
  }
  .menu-store-all:hover,
  .menu-store-all.is-on {
    border-color: rgba(225, 6, 0, 0.5);
    color: var(--gold);
  }
  .menu-acc-arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-inline-start: auto;
    border-radius: 50%;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #ddd;
    flex-shrink: 0;
    transition: transform 0.22s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }
  .menu-acc-btn.is-open .menu-acc-arrow {
    transform: rotate(-90deg);
    border-color: rgba(225, 6, 0, 0.5);
    background: rgba(225, 6, 0, 0.14);
    color: #fff;
  }
  .menu-acc-panel {
    display: block;
    padding: 12px 0 4px;
  }
  .menu-acc-panel[hidden] { display: none; }
  .menu-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .menu-cat-card {
    display: grid;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    background: #151515;
    color: #eee;
  }
  .menu-cat-card:hover,
  .menu-cat-card.is-on {
    border-color: rgba(225, 6, 0, 0.55);
  }
  .menu-cat-card.is-on strong { color: var(--gold); }
  .menu-cat-media {
    position: relative;
    aspect-ratio: 1.15;
    background: #101010;
  }
  .menu-cat-media img,
  .menu-cat-media .ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .menu-cat-media .ph { z-index: 0; }
  .menu-cat-media img { z-index: 1; }
  .menu-cat-card strong {
    display: block;
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    border-top: 1px solid #222;
  }
  .menu-cats-all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    background: #171717;
    color: #ddd;
    font-size: 13px;
    font-weight: 700;
  }
  .menu-cats-all:hover,
  .menu-cats-all.is-on {
    border-color: rgba(225, 6, 0, 0.45);
    color: var(--gold);
  }
  .menu-foot {
    display: grid;
    gap: 12px;
    flex: 0 0 auto;
    padding: 14px 20px 20px;
    border-top: 1px solid #262626;
    background: #121212;
  }
  .menu-build {
    justify-content: center;
    min-height: 48px;
    font-size: 16px;
    font-weight: 800;
  }
  .menu-account {
    display: block;
    text-align: center;
    color: #bdbdbd;
    font-size: 15px;
    font-weight: 700;
    padding-block: 4px;
  }
  .menu-account:hover { color: var(--gold); }
}
.icon-btn, .menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: var(--gold);
  display: grid;
  place-items: center;
  position: relative;
}
.badge {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.badge[hidden] { display: none !important; }

.site-search { display: none; border-top: 1px solid var(--gold-dark); background: #0f0f0f; }
.site-search.is-open { display: block; }
.site-search form {
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto;
  display: flex;
  gap: 8px;
}
.site-search input, .field input, .field select, .field textarea {
  width: 100%;
  background: #111111;
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
}
.site-search input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field { display: grid; gap: 6px; color: #d9d2cf; }
.field span { font-size: 14px; color: var(--muted); }

.btn, .btn-ghost {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(225, 6, 0, 0.22);
}
.btn:hover {
  filter: brightness(1.08);
  background: #ff1a1a;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.32);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; box-shadow: none; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
}
.btn-ghost:hover {
  border-color: var(--gold-2);
  background: var(--gold-soft);
  color: #ff4d4d;
}
.btn-small { padding: 8px 12px; border-radius: 10px; }
.btn-block { width: 100%; }

.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1, h2, h3 { font-weight: 800; color: var(--text); }
.lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-slide .hero-actions .btn,
.hero-slide .hero-actions .btn-ghost,
.hero-slide .hero-actions .btn.btn-ghost {
  font-size: var(--banner-btn-size, inherit);
  padding-block: calc(var(--banner-btn-size, 14px) * 0.85);
  padding-inline: calc(var(--banner-btn-size, 14px) * 1.15);
  min-height: calc(var(--banner-btn-size, 14px) * 2.9);
  border-radius: calc(var(--banner-btn-size, 14px) * 0.85);
}

.hero-slider {
  position: relative;
  min-height: clamp(420px, 62vw, 560px);
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  animation: hero-orb 9s ease-in-out infinite;
}
.hero-slider::before {
  width: 220px;
  height: 220px;
  inset-block-start: 12%;
  inset-inline-start: -40px;
  background: rgba(225, 6, 0, 0.35);
}
.hero-slider::after {
  width: 180px;
  height: 180px;
  inset-block-end: 8%;
  inset-inline-end: -30px;
  background: rgba(225, 6, 0, 0.22);
  animation-delay: -3s;
}
@keyframes hero-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -18px) scale(1.1); }
}
.hero-progress {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.08);
}
.hero-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.55);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: -4%;
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 6.5s ease-out, opacity 0.7s ease;
  opacity: 0.88;
  overflow: hidden;
}
.hero-slide.is-active .hero-media {
  transform: scale(1);
  opacity: 1;
}
.hero-media.has-video {
  background-color: #050505;
}
.hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}
.hero-media iframe.hero-video {
  width: 100%;
  height: 100%;
  transform: scale(1.35);
  transform-origin: center center;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(5, 5, 5, 0.94) 12%, rgba(5, 5, 5, 0.62) 48%, rgba(5, 5, 5, 0.22) 78%, rgba(5, 5, 5, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 18%, transparent 42%),
    radial-gradient(900px 420px at 85% 20%, rgba(225, 6, 0, 0.16), transparent 60%);
  pointer-events: none;
}
.hero-veil::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(225, 6, 0, 0.08), transparent);
  animation: hero-scan 5.5s linear infinite;
  opacity: 0.55;
}
@keyframes hero-scan {
  0% { top: -30%; }
  100% { top: 110%; }
}
.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: clamp(420px, 62vw, 560px);
  padding-block: 56px 118px;
}
.hero-panel.has-feature {
  gap: clamp(20px, 2.8vw, 34px);
  align-items: center;
  /* المربع وصورة المنتج صف واحد جنب بعض — مو مفرّقين بعرض البنر */
  justify-content: flex-start;
}
.hero-panel.has-feature.is-align-left {
  justify-content: flex-end;
}
.hero-panel.has-feature.is-align-center {
  justify-content: center;
}
.hero-panel.has-feature.is-feature-left .hero-copy { order: 1; }
.hero-panel.has-feature.is-feature-left .hero-feature { order: 2; }
.hero-panel.has-feature.is-feature-right .hero-copy { order: 2; }
.hero-panel.has-feature.is-feature-right .hero-feature { order: 1; }
.hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0;
  flex: 0 1 auto;
}
.hero-panel.has-feature .hero-copy {
  width: min(100%, 520px);
  max-width: 520px;
  flex: 0 1 520px;
}
.hero-panel.has-feature .hero-copy h1 {
  font-size: var(--banner-title-size, clamp(34px, 4.6vw, 54px));
}
.hero-feature {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  flex: 0 0 var(--banner-feature-w, min(420px, 42%));
  width: var(--banner-feature-w, min(420px, 42%));
  min-height: var(--banner-feature-h, clamp(260px, 34vw, 400px));
  align-self: center;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 35%, rgba(225, 6, 0, 0.16), transparent 58%),
    rgba(8, 8, 8, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.hero-feature:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.48);
}
.hero-feature:not(:has(img)) {
  background:
    var(--hero-feature) center / contain no-repeat,
    radial-gradient(circle at 50% 35%, rgba(225, 6, 0, 0.16), transparent 58%),
    rgba(8, 8, 8, 0.55);
}
.hero-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--banner-feature-h, clamp(260px, 34vw, 400px));
  object-fit: contain;
  padding: clamp(16px, 2.2vw, 30px);
}
.hero-panel.is-align-center.has-feature {
  flex-direction: column;
  justify-content: center;
}
.hero-panel.is-align-center.has-feature .hero-feature {
  width: min(360px, 80%);
  flex-basis: auto;
}
.hero-copy.has-bg {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.hero-slide.is-media-only .hero-media {
  opacity: 1;
}
.hero-panel.is-align-right { justify-content: flex-start; }
.hero-panel.is-align-left { justify-content: flex-end; }
.hero-panel.is-align-center { justify-content: center; }
.hero-panel.is-align-center .hero-copy {
  text-align: center;
  justify-items: center;
}
.hero-panel.is-align-center .hero-actions {
  justify-content: center;
}
.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(225, 6, 0, 0.1);
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.2) 50%, transparent 65%);
  transform: translateX(120%);
  animation: logo-shine 2.8s ease-in-out infinite;
}
.hero-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(225, 6, 0, 0.35));
}
.hero-brand {
  margin: 0;
  color: var(--gold);
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.28);
}
.hero-side-name {
  display: grid;
  gap: 8px;
  justify-items: start;
  text-align: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
  max-width: 220px;
}
.hero-slide.is-active .hero-side-name {
  opacity: 1;
  transform: translateY(0);
}
.hero-side-name strong {
  color: rgba(255, 255, 255, 0.92);
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(225, 6, 0, 0.35);
}
.hero-side-name span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.hero-copy h1 {
  margin: 0;
  font-size: var(--banner-title-size, clamp(32px, 5vw, 58px));
  line-height: 1.12;
  color: var(--banner-title-color, #fff);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.hero-copy .lead {
  color: var(--banner-lead-color, #d8d8d8);
  font-size: var(--banner-lead-size, clamp(15px, 1.8vw, 18px));
  line-height: 1.7;
  max-width: 46ch;
}
.hero-meta { margin: 0; color: var(--gold-2); font-weight: 600; }
.hero-slide .hero-kicker,
.hero-slide h1,
.hero-slide .lead,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hero-slide.is-active .hero-kicker,
.hero-slide.is-active h1,
.hero-slide.is-active .lead,
.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide.is-active .hero-kicker { transition-delay: 0.06s; }
.hero-slide.is-active h1 { transition-delay: 0.16s; }
.hero-slide.is-active .lead { transition-delay: 0.26s; }
.hero-slide.is-active .hero-actions { transition-delay: 0.36s; }
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.hero-nav.prev { inset-inline-start: 16px; }
.hero-nav.next { inset-inline-end: 16px; }
.hero-nav:hover {
  border-color: var(--gold);
  background: rgba(225, 6, 0, 0.18);
  color: var(--gold);
}
.hero-dots {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-dots button {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}
.hero-dots button.is-active {
  width: 42px;
  background: var(--gold);
}

.hero-perks {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 3;
  pointer-events: none;
  padding: 0 clamp(16px, 3vw, 40px) 16px;
}
.hero-perks-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: 10px 8px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 10, 10, 0.35), rgba(8, 8, 8, 0.78)),
    rgba(8, 8, 8, 0.55);
  border: 1px solid rgba(225, 6, 0, 0.22);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
.hero-perk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 16px;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-perk-in 0.55s ease forwards;
  animation-delay: calc(0.12s + (var(--i, 0) * 0.08s));
}
.hero-perk + .hero-perk::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(225, 6, 0, 0.5), transparent);
}
.hero-perk-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background:
    radial-gradient(circle at 35% 30%, rgba(225, 6, 0, 0.35), transparent 62%),
    rgba(225, 6, 0, 0.12);
  border: 1px solid rgba(225, 6, 0, 0.45);
  box-shadow:
    0 0 0 4px rgba(225, 6, 0, 0.06),
    0 0 18px rgba(225, 6, 0, 0.22);
}
.hero-perk-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.18);
  animation: hero-perk-ring 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.35s);
}
.hero-perk-icon svg {
  width: 20px;
  height: 20px;
}
.hero-perk b {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
@keyframes hero-perk-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-perk-ring {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

.trust-bar {
  width: min(1920px, calc(100% - 32px));
  margin: 22px auto 6px;
  background: transparent;
  border: 0;
  padding: 0;
}
.trust-bar .trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
}
.trust-item > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(80, 10, 10, 0.7);
  font-size: 18px;
}
.trust-item b { display: block; font-size: 15px; }
.trust-item small { color: var(--muted); font-size: 13px; }

.home-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.home-cats-8 { grid-template-columns: repeat(8, 1fr); }
.cat-slider.is-overflow {
  position: relative;
  outline: none;
}
.cat-slider.is-overflow:focus-visible .home-cats-track {
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.35);
  border-radius: 16px;
}
@media (min-width: 981px) {
  .cat-slider.is-overflow .home-cats-track {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    padding: 4px 2px 8px;
    cursor: grab;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }
  .cat-slider.is-overflow .home-cats-track::-webkit-scrollbar { display: none; }
  .cat-slider.is-overflow .home-cats-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
  .cat-slider.is-overflow .home-cats-track.is-dragging .home-cat:hover { transform: none; }
  .cat-slider.is-overflow .home-cat {
    flex: 0 0 calc((100% - 84px) / 8);
    min-width: 0;
    scroll-snap-align: start;
    user-select: none;
  }
  .cat-slider.is-overflow .slider-nav.prev { inset-inline-start: -8px; }
  .cat-slider.is-overflow .slider-nav.next { inset-inline-end: -8px; }
  .cat-slider.is-overflow:not(.is-scrollable) .slider-nav { display: none; }
}
@media (max-width: 980px) {
  .cat-slider.is-overflow .slider-nav { display: none !important; }
}
.price,
.price-old,
.price-row > b,
.price-row > strong,
.cart-line-total,
.check-sum-totals strong,
.check-hero-meta strong,
.check-mobile-bar strong,
.pc-shot-price b,
.pc-summary-price b,
.summary strong,
.buybox .price {
  direction: ltr;
  unicode-bidi: isolate;
}
.price { color: #fff; }
.card-feature .price, .buybox .price, .summary strong { color: var(--gold); }
.home-cat {
  background: var(--panel);
  border: 1px solid var(--gold-dark);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-cat:hover {
  border-color: var(--gold-2);
  transform: translateY(-2px);
}
.home-cat-media {
  position: relative;
  aspect-ratio: 1;
  background: #111111;
}
.home-cat-media img, .home-cat-media .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-cat-media .ph { z-index: 0; }
.home-cat-media img { z-index: 1; }
.home-cat strong {
  display: block;
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(80, 10, 10, 0.55);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.promo-card {
  position: relative;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gold-dark);
  background:
    linear-gradient(120deg, rgba(8, 8, 7, 0.88), rgba(8, 8, 7, 0.35)),
    var(--promo-image) center / cover no-repeat;
  display: flex;
  align-items: end;
  padding: 22px;
}
.promo-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  max-width: 16ch;
}
.promo-card:hover { border-color: var(--gold-2); }
.promo-card-lg { min-height: 280px; }
.promo-grid-wide { grid-template-columns: 1.2fr 0.8fr; }

.home-promo-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px auto;
}
.home-promo-duo:has(> :only-child) {
  grid-template-columns: 1fr;
}
.home-promo-duo:has(> :only-child) .home-promo-card {
  max-width: 720px;
  width: 100%;
  justify-self: center;
}
.home-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 228px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(225, 6, 0, 0.22), transparent 55%),
    linear-gradient(135deg, #141414 0%, #0a0a0a 55%, #120808 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 18px 40px rgba(225, 6, 0, 0.18);
}
.home-promo-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px 20px 20px;
  justify-items: start;
  text-align: start;
}
.home-promo-card.is-align-center .home-promo-card-copy {
  justify-items: center;
  text-align: center;
}
.home-promo-card.is-align-left .home-promo-card-copy {
  justify-items: end;
  text-align: end;
}
.home-promo-card-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff2a1f, #b30000);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.35);
}
.home-promo-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  max-width: 16ch;
}
.home-promo-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #c7c0bc;
  max-width: 28ch;
}
.home-promo-card-cta {
  margin-top: 4px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e10600, #9d0500) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.28);
  pointer-events: none;
}
.home-promo-card-media {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.55), transparent 35%),
    var(--promo-card-image) center / cover no-repeat;
}
.home-promo-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(225, 6, 0, 0.18));
  pointer-events: none;
}
.home-cats-page {
  grid-template-columns: repeat(4, 1fr);
}
.home-cat-media img {
  transition: transform 0.35s ease;
}
.home-cat:hover .home-cat-media img { transform: scale(1.06); }

.card-specs {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-slider-section.is-full {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.home-slider-section.is-full .home-slider-body {
  width: 100%;
}
.home-slider-section.is-full .product-slider {
  padding-inline: 0;
}
.home-slider-section.is-full .product-track {
  padding-inline: 16px;
  grid-auto-columns: minmax(220px, calc((100% - 72px) / 5.4));
}
.home-slider-section.is-full .slider-nav.prev { inset-inline-start: 10px; }
.home-slider-section.is-full .slider-nav.next { inset-inline-end: 10px; }
@media (min-width: 981px) {
  .home-slider-section.is-full .product-track {
    padding-inline: 20px;
    grid-auto-columns: calc((100% - 80px) / 5.6);
  }
}

/* سلايدر داخل خلفية — السلايدر أصغر والخلفية مبينة حوله */
.home-slider-section.is-inset {
  position: relative;
  isolation: isolate;
  padding-block: clamp(28px, 5vw, 56px);
  overflow: visible;
}
.home-slider-section.is-inset .home-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
    var(--slider-bg) center / cover no-repeat;
  pointer-events: none;
}
.home-slider-section.is-inset .home-slider-inset {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 22px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.home-slider-section.is-inset .home-slider-inset::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.home-slider-section.is-inset .home-slider-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
}
.home-slider-section.is-inset .home-slider-split.is-copy-left {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
}
.home-slider-section.is-inset .home-slider-split.is-copy-left .home-slider-copy { order: 2; }
.home-slider-section.is-inset .home-slider-split.is-copy-left .home-slider-rail { order: 1; }
.home-slider-section.is-inset .home-slider-copy {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
  color: #fff;
}
.home-slider-section.is-inset .home-slider-kicker {
  margin: 0;
  color: #e10600;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-slider-section.is-inset .home-slider-copy-title {
  margin: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.home-slider-section.is-inset .home-slider-copy-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 34ch;
}
.home-slider-section.is-inset .home-slider-copy-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 6px;
  min-width: 0;
}
.home-slider-section.is-inset .home-slider-copy-actions:not(.has-feature) {
  grid-template-columns: auto;
}
.home-slider-section.is-inset .home-slider-copy-cta {
  justify-self: start;
  align-self: end;
  min-height: 42px;
  padding-inline: 18px;
  white-space: nowrap;
}
.home-slider-section.is-inset .home-slider-feature {
  display: block;
  min-width: 0;
  min-height: 110px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 6, 0, 0.12), transparent 60%),
    #0c0c0c;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-slider-section.is-inset .home-slider-feature:hover {
  border-color: rgba(225, 6, 0, 0.55);
  transform: translateY(-2px);
}
.home-slider-section.is-inset .home-slider-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 110px;
  max-height: 160px;
  object-fit: contain;
  padding: 10px;
}
.home-slider-section.is-inset .home-slider-rail,
.home-slider-section.is-inset .home-slider-body,
.home-slider-section.is-inset .product-slider {
  min-width: 0;
  overflow: visible;
}
.home-slider-section.is-inset .product-slider {
  padding-inline: 0;
}
/* بطاقات كاملة بدون قصّ — 3 ظاهرة بالدسكتوب */
.home-slider-section.is-inset .product-track {
  grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
  padding: 8px 2px 12px;
  overflow-x: auto;
  overflow-y: visible;
}
.home-slider-section.is-inset .product-track .card-product {
  height: auto;
}
.home-slider-section.is-inset .slider-nav.prev { inset-inline-start: -6px; }
.home-slider-section.is-inset .slider-nav.next { inset-inline-end: -6px; }
@media (max-width: 1100px) {
  .home-slider-section.is-inset .product-track {
    grid-auto-columns: calc((100% - 14px) / 2);
  }
}
@media (max-width: 900px) {
  .home-slider-section.is-inset .home-slider-split,
  .home-slider-section.is-inset .home-slider-split.is-copy-left {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .home-slider-section.is-inset .home-slider-copy,
  .home-slider-section.is-inset .home-slider-split.is-copy-left .home-slider-copy { order: 0; }
  .home-slider-section.is-inset .home-slider-rail,
  .home-slider-section.is-inset .home-slider-split.is-copy-left .home-slider-rail { order: 1; }
  .home-slider-section.is-inset .home-slider-copy-lead { max-width: none; }
  .home-slider-section.is-inset .product-track {
    grid-auto-columns: calc((100% - 14px) / 2);
  }
}
@media (max-width: 720px) {
  .home-slider-section.is-inset {
    padding-block: 16px;
  }
  .home-slider-section.is-inset .home-slider-inset {
    width: min(100%, calc(100% - 24px));
    padding: 12px 10px 12px;
    border-radius: 14px;
  }
  .home-slider-section.is-inset .home-slider-inset::before {
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }
  .home-slider-section.is-inset .home-slider-split,
  .home-slider-section.is-inset .home-slider-split.is-copy-left {
    gap: 10px;
  }
  /* رأس مدمج مثل section-head على التلفون: عنوان + زر جنب بعض */
  .home-slider-section.is-inset .home-slider-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: center;
  }
  .home-slider-section.is-inset .home-slider-kicker {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 11px;
  }
  .home-slider-section.is-inset .home-slider-copy-title {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
    line-height: 1.2;
  }
  .home-slider-section.is-inset .home-slider-copy:has(.home-slider-kicker) .home-slider-copy-title {
    grid-row: 2;
  }
  .home-slider-section.is-inset .home-slider-copy-lead {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .home-slider-section.is-inset .home-slider-copy:not(:has(.home-slider-kicker)) .home-slider-copy-lead {
    grid-row: 2;
  }
  .home-slider-section.is-inset .home-slider-copy-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    min-width: 0;
  }
  .home-slider-section.is-inset .home-slider-copy:has(.home-slider-kicker) .home-slider-copy-actions {
    grid-row: 2;
  }
  .home-slider-section.is-inset .home-slider-copy-actions:not(.has-feature) {
    grid-template-columns: none;
  }
  .home-slider-section.is-inset .home-slider-copy-actions.has-feature {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .home-slider-section.is-inset .home-slider-copy:not(:has(.home-slider-kicker)) .home-slider-copy-actions.has-feature {
    grid-row: 3;
  }
  .home-slider-section.is-inset .home-slider-copy:not(:has(.home-slider-copy-lead)):not(:has(.home-slider-kicker)) .home-slider-copy-actions.has-feature {
    grid-row: 2;
  }
  .home-slider-section.is-inset .home-slider-copy:has(.home-slider-kicker):not(:has(.home-slider-copy-lead)) .home-slider-copy-actions.has-feature {
    grid-row: 3;
  }
  .home-slider-section.is-inset .home-slider-copy-cta {
    width: auto;
    min-height: 36px;
    padding-inline: 14px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }
  .home-slider-section.is-inset .home-slider-copy-actions.has-feature .home-slider-copy-cta {
    align-self: center;
  }
  .home-slider-section.is-inset .home-slider-feature {
    min-height: 72px;
    border-radius: 12px;
  }
  .home-slider-section.is-inset .home-slider-feature img {
    min-height: 72px;
    max-height: 96px;
    padding: 6px;
  }
  /* بطاقتان مثل باقي سلايدرات التلفون */
  .home-slider-section.is-inset .product-track {
    grid-auto-columns: calc((100% - 10px) / 2);
    gap: 10px;
    padding: 4px 0 8px;
  }
  .home-slider-section.is-inset .slider-nav {
    width: 34px;
    height: 34px;
  }
  .home-slider-section.is-inset .slider-nav.prev { inset-inline-start: -2px; }
  .home-slider-section.is-inset .slider-nav.next { inset-inline-end: -2px; }
}
@media (max-width: 640px) {
  .home-slider-section.is-inset .home-slider-inset {
    width: min(100%, calc(100% - 24px));
    padding: 10px 8px 10px;
  }
  .home-slider-section.is-inset .product-track {
    grid-auto-columns: calc((100% - 10px) / 2);
    gap: 10px;
  }
}

.product-slider {
  position: relative;
  outline: none;
}
.product-slider:focus-visible .product-track {
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.35);
  border-radius: 16px;
}
.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, calc((100% - 56px) / 5));
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  padding: 4px 2px 10px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
.product-track::-webkit-scrollbar { display: none; }
.product-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  pointer-events: auto;
}
.product-track.is-dragging .card-product:hover { transform: none; }
.product-track .card {
  scroll-snap-align: start;
  min-width: 0;
  user-select: none;
}
.product-track .card-product:hover { transform: none; }
.card-product {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    #121212;
  border-color: #2a2a2a;
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.card-product:hover {
  border-color: rgba(225, 6, 0, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.06), transparent 42%),
    #151515;
}
.card-feature .card-media,
.card-product .card-media {
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 35%, rgba(225, 6, 0, 0.08), transparent 55%),
    #0c0c0c;
  border-bottom: 0;
  overflow: hidden;
}
.card-feature .card-media img,
.card-product .card-media img {
  object-fit: contain;
  object-position: center;
  padding: 8px;
  box-sizing: border-box;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 0.35s ease;
}
.card-product:hover .card-media img { transform: scale(1.03); }
.card-feature .card-body,
.card-product .card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 11px;
  flex: 1 1 auto;
  min-height: 0;
}
.card-meta {
  margin: 0;
  color: #8f8885;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.card-feature .card-copy,
.card-product .card-copy {
  display: grid;
  gap: 2px;
  align-content: start;
  min-height: 0;
}
.card-feature h3,
.card-product h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-feature h3 a,
.card-product h3 a { color: #fff; }
.card-feature h3 a:hover,
.card-product h3 a:hover { color: #ffd0cd; }
.card-feature .card-specs,
.card-product .card-specs {
  margin: 0;
  color: #9a9492;
  font-size: 11.5px;
  line-height: 1.3;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
.card-foot {
  display: grid;
  gap: 0;
  margin-top: auto;
  padding-top: 6px;
  min-height: 48px;
}
.card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
}
.card-buy-price {
  flex: 1 1 auto;
  min-width: 0;
}
/* سعر المفرد + السلة: نفس ارتفاع الزر، تسمية فقط عند تعدد الأسعار */
.card-buy-price .price-row.is-retail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin: 0;
  min-height: 42px;
}
.card-buy-price .price-row.is-retail .price-meta {
  order: -1;
  display: block;
  line-height: 1;
}
.card-buy-price .price-row.is-retail .price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  order: 0;
  min-width: 0;
}
.card-buy-price .price-row.is-retail .price-old {
  order: -1;
  font-size: 11px;
  line-height: 1.15;
  color: #8a8a8a;
  text-decoration: line-through;
  font-weight: 600;
}
.card-buy-price .price-row.is-retail .price {
  margin: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.05;
  white-space: nowrap;
}
.card-buy-price .price-row.is-retail.is-sale {
  min-height: 42px;
  justify-content: flex-end;
}
.card-buy-price .price-row.is-retail .price-tier {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a9492;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0;
}
.card-feature .price-row,
.card-product .price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
}
.card-feature .price-row.is-sale,
.card-product .price-row.is-sale {
  align-items: flex-start;
}
.card-feature .price-meta,
.card-product .price-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card-feature .price-meta:empty,
.card-product .price-meta:empty { display: none; }
.card-feature .price-main,
.card-product .price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}
.card-feature .price-now,
.card-product .price-now {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.card-feature .price,
.card-product .price {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.card-feature .price-row.is-retail .price,
.card-product .price-row.is-retail .price {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.card-feature .price-old,
.card-product .price-old {
  font-size: 11px;
  color: #8a8a8a;
  text-decoration: line-through;
  font-weight: 600;
  line-height: 1.2;
}
.card-feature .discount-pill,
.card-product .discount-pill {
  display: none;
}
.card-feature .price-tier,
.card-product .price-tier {
  margin: 0;
  margin-inline-start: 0;
  font-size: 10px;
  padding: 1px 6px;
  letter-spacing: 0.02em;
}
.card-feature .price-stack,
.card-product .price-stack {
  display: grid;
  gap: 5px;
}
.card-feature .price-stack .price-row:not(.is-retail),
.card-product .price-stack .price-row:not(.is-retail) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.card-feature .price-stack .price,
.card-product .price-stack .price {
  font-size: 13px;
}
.card-feature .price-stack .price-row.is-retail .price,
.card-product .price-stack .price-row.is-retail .price {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.card-feature .price-stack .price-row.is-retail + .price-row,
.card-product .price-stack .price-row.is-retail + .price-row {
  padding-top: 6px;
  margin-top: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.card-feature .price-stack .price-row + .price-row,
.card-product .price-stack .price-row + .price-row {
  padding-top: 3px;
}
.card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #ff1f1a, var(--gold-2));
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.28);
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.card-add-full { width: 100%; }
.card-add-ico { flex: 0 0 auto; }
.card-add-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 12px;
  align-self: flex-end;
}
.card-add-icon .card-add-ico {
  width: 18px;
  height: 18px;
}
.card-add-oos {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: #b0b0b0;
}
.card-add:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(225, 6, 0, 0.38);
}
.card-add:active:not(:disabled) { transform: translateY(1px); }
.card-add:disabled {
  opacity: 1;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
  background: #3a3a3a;
  color: #d0d0d0;
}
.card-media .pdp-badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  max-width: calc(100% - 20px);
}
.card-media .pdp-badges .tag {
  position: static;
}
.card-media .tag-discount {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ff1f1a, var(--gold-2));
  box-shadow: 0 6px 14px rgba(225, 6, 0, 0.35);
}
.card-product.is-oos {
  border-color: rgba(255, 255, 255, 0.08);
}
.card-product.is-oos:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.card-product.is-oos .card-media,
.pdp-stage.is-oos .pdp-stage-frame,
.pdp-grid.is-oos .pdp-thumb {
  filter: grayscale(1) saturate(0) brightness(0.72);
}
.card-product.is-oos .card-media::after,
.pdp-stage.is-oos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(48, 48, 48, 0.28);
  pointer-events: none;
}
.card-product.is-oos:hover .card-media img { transform: none; }
.oos-ribbon {
  position: absolute;
  inset-inline: 0;
  top: 42%;
  z-index: 4;
  transform: translateY(-50%);
  padding: 8px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f4f4f4;
  background: rgba(55, 55, 55, 0.88);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.pdp-stage.is-oos .oos-ribbon {
  font-size: 15px;
  padding: 10px 14px;
  letter-spacing: 0.16em;
}
.pdp-add.is-oos,
.pdp-add:disabled {
  background: #3a3a3a;
  color: #d8d8d8;
  box-shadow: none;
  cursor: not-allowed;
}
.slider-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.15s ease;
}
.slider-nav:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-50%) scale(1.04);
}
.slider-nav:disabled {
  opacity: 0.25;
  cursor: default;
}
.slider-nav.prev { inset-inline-start: -8px; }
.slider-nav.next { inset-inline-end: -8px; }
.product-slider:not(.is-scrollable) .slider-nav { display: none; }
.tag {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 1;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.tag-best { background: var(--gold); }
.tag-new { background: #16a34a; }
.tag-sale { background: var(--gold); }
.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 13px; font-weight: 500; }
.discount-pill {
  background: rgba(225, 6, 0, 0.16);
  color: #ff4d4d;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}
.hero-kicker {
  margin: 0;
  color: #cfcfcf;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.hero-copy h1 { color: var(--banner-title-color, #fff); }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-actions .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hero-actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(225, 6, 0, 0.1);
}
.office-gallery {
  position: relative;
  margin-block: 12px 36px;
  padding-block: 8px 4px;
  background: transparent;
}
.office-gallery-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  background: transparent;
}
.office-gallery-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  background: transparent;
}
.office-gallery-title i {
  order: 2;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: #e10600;
  flex: none;
}
.office-gallery-title h2 {
  order: 1;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: #f5f5f5;
  letter-spacing: 0.01em;
}
.office-gallery-stage {
  position: relative;
  width: 100%;
  background: transparent;
}
.office-gallery-dots {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  inset-block-end: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  background: transparent;
}
.office-gallery-dots button {
  appearance: none;
  pointer-events: auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, width 0.18s ease;
}
.office-gallery-dots button.is-on {
  width: 22px;
  background: #e10600;
}
.office-gallery-dots button:hover {
  background: rgba(255, 255, 255, 0.75);
}
.office-gallery-dots button.is-on:hover {
  background: #ff1f1a;
}
/* معرض المكتب: بنتو مطابق للمرجع — عمودي يمين + عريض أعلى + صغيرين أسفل */
.office-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1.35fr 1fr;
  gap: 12px;
  width: 100%;
  height: min(480px, 44vw);
}
.office-bento-cell {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  border: 0;
  min-height: 0;
  min-width: 0;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
a.office-bento-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
/* RTL: العمود 1 يمين الشاشة */
.office-bento-cell.is-tall { grid-column: 1; grid-row: 1 / span 2; }
.office-bento-cell.is-wide { grid-column: 2 / span 2; grid-row: 1; }
.office-bento-cell.is-small_a { grid-column: 2; grid-row: 2; }
.office-bento-cell.is-small_b { grid-column: 3; grid-row: 2; }
.office-bento-cell.is-empty { opacity: 0.25; pointer-events: none; }
.office-bento-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.office-bento-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.2));
}
@media (max-width: 980px) {
  .office-bento {
    height: min(420px, 52vw);
    gap: 10px;
  }
}
@media (max-width: 720px) {
  .office-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(200px, 48vw) minmax(140px, 34vw) minmax(140px, 34vw);
    height: auto;
    gap: 8px;
  }
  .office-bento-cell { border-radius: 14px; }
  .office-bento-cell.is-tall { grid-column: 1 / -1; grid-row: 1; }
  .office-bento-cell.is-wide { grid-column: 1 / -1; grid-row: 2; }
  .office-bento-cell.is-small_a { grid-column: 1; grid-row: 3; }
  .office-bento-cell.is-small_b { grid-column: 2; grid-row: 3; }
  .office-gallery-dots { inset-block-end: 10px; }
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-panel h2 { margin: 0 0 6px; }
.contact-panel .hero-actions { margin-top: 0; }

.stat, .cat-card, .card, .panel, .summary, .auth-card, .order {
  background: var(--panel);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--panel-edge);
}
.stat { padding: 14px 16px; min-width: 140px; }
.stat b { display: block; font-size: 20px; color: var(--gold); }
.stat span, .muted { color: var(--muted); }
.section { padding: 28px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2, .panel h1, .buybox h1 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head a { color: var(--gold); }
.section-head a:hover { color: #ff4d4d; }

.cats, .cards { display: grid; gap: 14px; }
.cats { grid-template-columns: repeat(4, 1fr); }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cat-card {
  padding: 16px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cat-card:hover {
  border-color: var(--gold-2);
  background: #1a1a1a;
}
.cat-card small, .eyebrow { color: var(--muted); font-size: 13px; }
.cat-card b { color: var(--gold); }
.card { overflow: hidden; display: flex; flex-direction: column; }
.card-media, .gallery-main {
  position: relative;
  background: #111111;
  aspect-ratio: 1;
  border-bottom: 1px solid rgba(80, 10, 10, 0.55);
}
.gallery {
  display: grid;
  gap: 10px;
  align-content: start;
}
.gallery-main {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(80, 10, 10, 0.55);
  border-bottom: 1px solid rgba(80, 10, 10, 0.55);
}
.card-media img, .gallery-main img, .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.gallery-thumb {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(80, 10, 10, 0.55);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb.is-on {
  border-color: rgba(225, 6, 0, 0.7);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.35);
}
.ph {
  background:
    radial-gradient(circle at 30% 20%, rgba(225, 6, 0, 0.12), transparent 42%),
    #101010;
}
.ribbon {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: #3a1010;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}
.card-body, .panel, .summary, .auth-card, .order { padding: 14px; }
.card h3 { margin: 6px 0; font-size: 16px; line-height: 1.45; }
.card-row, .line-row, .order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.price { color: var(--gold); font-size: 16px; }

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0 40px;
}
.products-page { padding: 22px 0 40px; }
.products-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 16px 18px;
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28);
  animation: cart-top-in 0.45s ease both;
}
.products-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(225, 6, 0, 0.16) 48%, transparent 66%);
  transform: translateX(120%);
  animation: cart-sheen 2.8s ease 0.4s infinite;
  pointer-events: none;
}
.products-top-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.28), rgba(225, 6, 0, 0.1));
  color: #fff;
  flex-shrink: 0;
}
.products-top-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.products-top-copy b { font-size: 20px; line-height: 1.15; }
.products-top-copy small { color: var(--muted); font-size: 13px; }
.products-top > strong {
  color: var(--gold);
  font-size: 22px;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}
.products-hero { display: none; }
.products-shelf {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.filters-anchor {
  position: relative;
  align-self: stretch;
  min-height: 100%;
}
@media (min-width: 981px) {
  .wrap:has(.product-slider),
  .wrap:has(.cat-slider) { width: min(1440px, calc(100% - 40px)); }
  .product-track { grid-auto-columns: calc((100% - 56px) / 5); }
  .products-page.wrap { width: min(1440px, calc(100% - 40px)); }
  .products-top { display: none; }
  .products-hero {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    text-align: start;
  }
  .products-kicker {
    margin: 0;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .products-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 800;
  }
  .products-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
  }
  .filters-anchor { order: 0; }
  .products-main { order: 1; min-width: 0; }
  .filters.panel {
    position: sticky;
    top: 88px;
    z-index: 5;
    width: 100%;
    height: calc(100vh - 108px);
    min-height: calc(100vh - 108px);
    max-height: calc(100vh - 108px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
    border-radius: 20px;
    border: 1px solid rgba(225, 6, 0, 0.32);
    background:
      linear-gradient(165deg, rgba(225, 6, 0, 0.14), transparent 36%),
      linear-gradient(180deg, #181818, #101010);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  }
  .filters-head {
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex: 0 0 auto;
  }
  .filters-head h2 { font-size: 18px; }
  .filters-head a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(225, 6, 0, 0.35);
    background: rgba(225, 6, 0, 0.1);
  }
  .filter-cat-list { grid-template-columns: 1fr 1fr; }
  .filters-stock { margin-top: auto; }
  .filters-body { display: contents; }
}
.filters-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.filters-glow::before {
  content: "";
  position: absolute;
  inset-inline: -20%;
  top: -40%;
  height: 55%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  animation: filters-sheen 7.5s ease-in-out infinite;
}
@keyframes filters-sheen {
  0%, 70% { transform: translateX(30%); opacity: 0.25; }
  100% { transform: translateX(-40%); opacity: 0.7; }
}
.filters-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.filters-head h2 { margin: 0; font-size: 16px; }
.filters-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.filters-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filters-head a {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  padding-top: 2px;
}
.filters-close,
.filter-backdrop { display: none; }
.sort-box {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #2c2c2c;
  background: rgba(0, 0, 0, 0.28);
}
.sort-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.sort-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.sort-chip {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid #2e2e2e;
  background: #151515;
  color: #ddd;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.sort-chip:hover {
  border-color: rgba(225, 6, 0, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.sort-chip.is-on {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.34), rgba(225, 6, 0, 0.14));
  color: #fff;
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.22);
}
.filters .field {
  position: relative;
  z-index: 1;
  gap: 5px;
}
.filters .field span { font-size: 12px; }
.filters .field select,
.filters .field input {
  min-height: 40px;
  border-radius: 11px;
  border-color: #2c2c2c;
  background: #121212;
}
.filter-cats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #2c2c2c;
  background: rgba(0, 0, 0, 0.28);
}
.filter-cat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.filter-cat {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid #2e2e2e;
  background: #151515;
  color: #e8e2df;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.filter-cat:hover {
  border-color: rgba(225, 6, 0, 0.45);
  color: #fff;
}
.filter-cat.is-on {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.32), rgba(225, 6, 0, 0.14));
  color: #fff;
}
.filters-price {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.filters-stock {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid #2c2c2c;
  background: #121212;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filters-stock input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filters-stock-ui {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  position: relative;
  flex: 0 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.filters-stock-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #bbb;
  transition: inset-inline-start 0.15s ease, background 0.15s ease;
}
.filters-stock.is-on,
.filters-stock:has(input:checked) {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.1);
}
.filters-stock.is-on .filters-stock-ui,
.filters-stock:has(input:checked) .filters-stock-ui {
  background: rgba(225, 6, 0, 0.35);
  border-color: var(--gold);
}
.filters-stock.is-on .filters-stock-ui::after,
.filters-stock:has(input:checked) .filters-stock-ui::after {
  background: #fff;
  inset-inline-start: 18px;
}
.products-main { min-width: 0; }
.products-empty {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(52vh, 480px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 44px 24px;
  border-radius: 22px;
  border: 1px solid #2a2a2a;
  background:
    linear-gradient(165deg, rgba(225, 6, 0, 0.1), transparent 42%),
    linear-gradient(180deg, #161616, #101010);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  animation: products-empty-in 0.55s ease both;
}
.products-empty-glow {
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(400px, 90%);
  height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.26), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: products-empty-pulse 3.6s ease-in-out infinite;
}
.products-empty-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.products-empty-orb-a {
  width: 110px;
  height: 110px;
  top: 16%;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.2), transparent 70%);
  animation: products-empty-float 5.5s ease-in-out infinite;
}
.products-empty-orb-b {
  width: 84px;
  height: 84px;
  bottom: 14%;
  inset-inline-start: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  animation: products-empty-float 6.8s ease-in-out infinite reverse;
}
.products-empty-ico {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(225, 6, 0, 0.42);
  background:
    linear-gradient(160deg, rgba(225, 6, 0, 0.2), transparent 55%),
    #151515;
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.08);
  animation: products-empty-ico 2.8s ease-in-out infinite;
}
.products-empty > h2,
.products-empty > p,
.products-empty-actions {
  position: relative;
  z-index: 1;
  margin: 0;
}
.products-empty > h2 {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.products-empty > p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.products-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.products-empty-actions .btn {
  min-width: 146px;
  justify-content: center;
}
.products-empty-actions .btn-ghost {
  border-color: #333;
  background: rgba(255, 255, 255, 0.02);
}
.products-empty-actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@keyframes products-empty-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes products-empty-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}
@keyframes products-empty-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes products-empty-ico {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.08); }
  50% { transform: translateY(-4px); box-shadow: 0 0 0 8px rgba(225, 6, 0, 0.12), 0 12px 28px rgba(225, 6, 0, 0.18); }
}
@media (max-width: 980px) {
  .products-empty {
    min-height: min(46vh, 400px);
    gap: 10px;
    padding: 32px 16px;
    border-radius: 18px;
  }
  .products-empty-ico {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .products-empty > h2 { font-size: 24px; }
  .products-empty > p { font-size: 14px; }
  .products-empty-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .products-empty-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .products-empty-orb-a { width: 80px; height: 80px; }
  .products-empty-orb-b { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .products-empty,
  .products-empty-glow,
  .products-empty-orb,
  .products-empty-ico { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .filters-glow::before { animation: none; }
  .sort-chip:hover { transform: none; }
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 24px 0 40px;
}
.buybox { display: grid; gap: 12px; align-content: start; }
.spec {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #121212;
  border: 1px solid var(--gold-dark);
  color: #d9d2cf;
}
.qty-row { display: flex; gap: 8px; align-items: center; }
.qty-row input { width: 84px; text-align: center; }
.crumb { color: var(--muted); margin: 0 0 8px; }
.crumb a { color: var(--gold); }

/* —— Product detail page —— */
.pdp {
  padding: 20px 0 48px;
  display: grid;
  gap: 22px;
}
.pdp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.pdp-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 21, 21, 0.9);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pdp-back svg { transform: scaleX(-1); }
.pdp-back:hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
  color: #ffd0d0;
}
.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.pdp-crumb a { color: #d9d2cf; }
.pdp-crumb a:hover { color: var(--gold); }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}
.pdp-gallery-wrap {
  min-width: 0;
  position: relative;
  height: auto;
  min-height: 0 !important;
}
.pdp-gallery {
  display: grid;
  gap: 12px;
  position: relative;
  top: auto;
  z-index: 3;
  width: 100%;
}
.pdp-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(80, 10, 10, 0.55);
  background:
    radial-gradient(circle at 20% 15%, rgba(225, 6, 0, 0.12), transparent 42%),
    linear-gradient(160deg, #161616, #0d0d0d 70%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  touch-action: pan-y;
}
.pdp-stage-frame {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
  cursor: zoom-in;
}
.pdp-stage-frame img,
.pdp-stage-frame .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  box-sizing: border-box;
}
.pdp-stage-frame img {
  padding: 8px;
  animation: pdp-fade 0.35s ease;
  cursor: zoom-in;
}
.pdp-stage-frame img.is-swap { animation: pdp-fade 0.28s ease; }
@keyframes pdp-fade {
  from { opacity: 0.35; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
.pdp-stage .tag,
.pdp-stage .pdp-badges {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
}
.pdp-stage .pdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  max-width: calc(100% - 28px);
}
.pdp-stage .pdp-badges .tag {
  position: static;
}
.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.pdp-nav:hover {
  background: rgba(225, 6, 0, 0.85);
  border-color: rgba(225, 6, 0, 0.9);
}
.pdp-nav.prev { inset-inline-start: 12px; }
.pdp-nav.next { inset-inline-end: 12px; }
.pdp-counter {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.pdp-counter b { color: #fff; font-size: 13px; }
.pdp-thumbs-slider {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 6px;
}
.pdp-thumbs-slider:not(.is-scrollable) {
  grid-template-columns: 1fr;
}
.pdp-thumbs-slider:not(.is-scrollable) .pdp-thumbs-nav { display: none; }
.pdp-thumbs-nav {
  appearance: none;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pdp-thumbs-nav:hover:not(:disabled) {
  border-color: rgba(225, 6, 0, 0.5);
  background: rgba(225, 6, 0, 0.16);
}
.pdp-thumbs-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.pdp-thumbs {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}
.pdp-thumbs-slider:not(.is-scrollable) .pdp-thumbs {
  justify-content: center;
  cursor: default;
}
.pdp-thumbs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.pdp-thumbs.is-dragging .pdp-thumb { pointer-events: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb {
  appearance: none;
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(80, 10, 10, 0.55);
  background: #111;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}
.pdp-thumb:hover { transform: translateY(-2px); border-color: rgba(225, 6, 0, 0.45); }
.pdp-thumb.is-on {
  border-color: rgba(225, 6, 0, 0.85);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.35), 0 8px 18px rgba(225, 6, 0, 0.18);
}
.pdp-info {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 8px 0;
}
.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.pdp-meta a { color: #ff8f8f; }
.pdp-meta a:hover { color: #ffb3b3; }
.pdp-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.pdp-info h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pdp-price-block .price {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pdp-price-block .price-tier { font-size: 12px; }
.pdp-price-block .price-stack { gap: 10px; }
.pdp-price-block .price-old { font-size: 1rem; }
.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.pdp-stock.is-in {
  color: #b8f5d4;
  background: rgba(34, 160, 100, 0.16);
  border: 1px solid rgba(61, 214, 140, 0.35);
}
.pdp-stock.is-in i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.18);
}
.pdp-stock.is-out {
  color: #ffd0d0;
  background: rgba(225, 6, 0, 0.14);
  border: 1px solid rgba(225, 6, 0, 0.35);
}
.pdp-desc,
.pdp-specs,
.pdp-build-parts {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.18));
}
.pdp-desc h2,
.pdp-specs h2,
.pdp-build-parts h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #ff8f8f;
  letter-spacing: 0.04em;
}
.pdp-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pdp-build-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  text-decoration: none;
}
.pdp-build-card:hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.1);
}
.pdp-build-media {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  display: grid;
  place-items: center;
}
.pdp-build-media img,
.pdp-build-media .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.pdp-build-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pdp-build-copy strong {
  font-size: 11px;
  color: #ff8f8f;
}
.pdp-build-copy b {
  font-size: 13px;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-build-copy small { color: var(--muted); font-size: 11px; }
@media (max-width: 520px) {
  .pdp-build-grid { grid-template-columns: 1fr; }
}
.pdp-desc p,
.pdp-specs p {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.pdp-desc-body {
  position: relative;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.65;
}
.pdp-desc-body.is-clamped {
  max-height: 10.4em;
  overflow: hidden;
}
.pdp-desc-body.is-clamped:not(.is-open)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2.8em;
  background: linear-gradient(to bottom, transparent, rgba(18, 18, 18, 0.96));
  pointer-events: none;
}
.pdp-desc-body.is-open {
  max-height: none;
  overflow: visible;
}
.pdp-desc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.pdp-desc-list li {
  position: relative;
  padding-inline-start: 16px;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.65;
}
.pdp-desc-list li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}
.pdp-more {
  appearance: none;
  justify-self: start;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #ff8f8f;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pdp-more:hover { color: #ffb3b3; text-decoration: underline; }
.pdp-admin-quick {
  display: grid;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(225, 6, 0, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 6, 0, 0.16), transparent 50%),
    linear-gradient(165deg, #1a1010, #0f0f0f);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: gap 0.2s ease, padding 0.2s ease;
}
.pdp-admin-quick.is-collapsed {
  gap: 0;
  padding-block: 10px;
}
.pdp-admin-quick.is-busy { opacity: 0.72; pointer-events: none; }
.pdp-admin-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pdp-admin-toggle {
  appearance: none;
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.14);
  color: #ffb3b3;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.pdp-admin-toggle svg {
  transition: transform 0.22s ease;
}
.pdp-admin-quick:not(.is-collapsed) .pdp-admin-toggle svg {
  transform: rotate(180deg);
}
.pdp-admin-toggle:hover {
  background: rgba(225, 6, 0, 0.28);
  border-color: rgba(225, 6, 0, 0.7);
  color: #fff;
}
.pdp-admin-quick-title {
  flex: 1;
  min-width: 0;
}
.pdp-admin-kicker {
  margin: 0 0 4px;
  color: #ff8f8f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pdp-admin-quick-head strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.pdp-admin-full {
  flex: none;
  color: #ffb3b3;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.pdp-admin-full:hover { color: #fff; text-decoration: underline; }
.pdp-admin-body {
  display: grid;
  gap: 12px;
}
.pdp-admin-body[hidden] { display: none !important; }
.pdp-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pdp-admin-field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.pdp-admin-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.pdp-admin-field input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0c;
  color: #fff;
  font-weight: 700;
  direction: ltr;
  text-align: left;
}
.pdp-admin-field input:focus {
  outline: none;
  border-color: rgba(225, 6, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18);
}
.pdp-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-admin-actions .btn,
.pdp-admin-actions .btn-ghost {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}
.pdp-admin-actions .pdp-admin-delete {
  color: #ffb4b4;
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(225, 6, 0, 0.12);
}
.pdp-admin-actions .pdp-admin-delete:hover {
  color: #fff;
  background: #e10600;
  border-color: #e10600;
}
.pdp-admin-msg {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}
.pdp-admin-msg.is-ok { color: #8dffb0; }
.pdp-admin-msg.is-err { color: #ff8f8f; }
.apd-buy .pdp-admin-quick { margin-top: 2px; }
@media (max-width: 720px) {
  .pdp-admin-fields { grid-template-columns: 1fr; }
  .pdp-admin-quick-head { flex-wrap: wrap; }
  .pdp-admin-full { width: 100%; text-align: start; }
}

.pdp-cart-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 6, 0, 0.14), transparent 45%),
    linear-gradient(165deg, #171717, #101010);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.pdp-cart-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.pdp-qty {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0c;
  overflow: hidden;
}
.pdp-qty-btn {
  appearance: none;
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}
.pdp-qty-btn:hover:not(:disabled) { background: rgba(225, 6, 0, 0.16); color: #ffd0d0; }
.pdp-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pdp-qty input {
  width: 56px;
  height: 44px;
  border: 0;
  border-inline: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
}
.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}
.pdp-add {
  min-height: 48px;
  font-weight: 800;
}
.pdp-add .card-add-ico { width: 18px; height: 18px; }
.pdp-wa {
  min-height: 48px;
  background: #128c7e !important;
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.28) !important;
  color: #fff !important;
}
.pdp-wa:hover {
  filter: brightness(1.08);
  background: #1aaa7a !important;
}
.pdp-wa:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
}
.pdp-related { padding-top: 8px; }

/* Lightbox تكبير صورة المنتج */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pdp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pdp-lightbox-inner {
  position: relative;
  width: min(1180px, 96vw);
  max-height: min(94vh, 1080px);
  display: grid;
  place-items: center;
}
.pdp-lightbox-inner img {
  max-width: 100%;
  max-height: min(92vh, 1000px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  background: transparent;
}
.pdp-lightbox-close {
  position: fixed;
  top: 18px;
  inset-inline-end: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.pdp-lightbox-close:hover {
  background: rgba(225, 6, 0, 0.9);
  border-color: rgba(225, 6, 0, 0.9);
}
.pdp-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.pdp-lightbox-nav:hover { background: rgba(225, 6, 0, 0.9); }
.pdp-lightbox-nav.prev { inset-inline-start: 18px; }
.pdp-lightbox-nav.next { inset-inline-end: 18px; }
.pdp-lightbox-count {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
body.pdp-lightbox-open { overflow: hidden; }

@media (max-width: 980px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdp-actions { grid-template-columns: 1fr; }
  .pdp-nav { width: 38px; height: 38px; }
  .pdp-thumb { flex-basis: 68px; width: 68px; }
  .pdp-thumbs-slider {
    grid-template-columns: 30px 1fr 30px;
    gap: 4px;
  }
  .pdp-thumbs-nav { width: 30px; height: 30px; font-size: 18px; }
  .pdp-lightbox-nav.prev { inset-inline-start: 8px; }
  .pdp-lightbox-nav.next { inset-inline-end: 8px; }
}

.cart-layout, .auth-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  padding: 24px 0 48px;
}
.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
}
.cart-list { display: grid; gap: 12px; }
.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
}
.cart-line img, .cart-line .ph {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(80, 10, 10, 0.55);
}
.cart-build {
  display: grid;
  gap: 14px;
  border-top: 3px solid var(--gold);
}
.cart-build-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cart-build-head h2 {
  margin: 6px 0 4px;
  font-size: 18px;
  color: var(--text);
}
.cart-build-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cart-build-parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cart-build-parts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #2a2a2a;
  color: var(--muted);
  font-size: 13px;
}
.cart-build-parts li > span {
  font-weight: 800;
  color: #bbb;
}
.cart-build-parts li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: end;
}
.cart-build-parts b {
  color: var(--text);
  font-size: 13px;
}
.cart-build-parts small {
  color: var(--muted);
  font-size: 11px;
}
.cart-build-parts li.is-chosen-gpu {
  margin: 0 -6px;
  padding: 8px 10px;
  border-radius: 10px;
  border-bottom-color: transparent;
  background: rgba(225, 6, 0, 0.1);
  box-shadow: inset -3px 0 0 #e10600;
}
.cart-build-parts li.is-chosen-gpu > span {
  color: #ffb4b4;
}
.cart-build-fee {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.cart-build-fee b { color: #ffb4b4; }
.cart-build-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.14), transparent 70%);
}
.cart-build-total span { color: var(--muted); font-weight: 700; }
.cart-build-total strong {
  color: var(--gold);
  font-size: 24px;
  font-family: Rajdhani, Tajawal, sans-serif;
}
.order-build-parts {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.order-items em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
}
.summary {
  display: grid;
  gap: 10px;
  align-content: start;
  height: max-content;
  position: sticky;
  top: 90px;
}
.summary strong { font-size: 22px; color: var(--gold); }
.cart-page { padding: 14px 0 28px; }
.cart-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28);
  animation: cart-top-in 0.45s ease both;
}
.cart-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(225, 6, 0, 0.16) 48%, transparent 66%);
  transform: translateX(120%);
  animation: cart-sheen 2.8s ease 0.4s infinite;
  pointer-events: none;
}
.cart-top-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
  color: #fff;
  flex-shrink: 0;
}
.cart-top-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.cart-top-copy b { font-size: 18px; line-height: 1.1; }
.cart-top-copy small { color: var(--muted); font-size: 12px; }
.cart-top > strong {
  color: var(--gold);
  font-size: 16px;
  font-family: Rajdhani, Tajawal, sans-serif;
  white-space: nowrap;
}
.cart-body { display: grid; gap: 12px; }
.cart-list .cart-line,
.cart-list .cart-build {
  animation: cart-card-in 0.45s ease both;
}
.cart-list > :nth-child(2) { animation-delay: 0.06s; }
.cart-list > :nth-child(3) { animation-delay: 0.12s; }
.cart-list > :nth-child(4) { animation-delay: 0.18s; }
.cart-line {
  grid-template-columns: 84px 1fr;
  gap: 10px 12px;
  align-items: start;
}
.cart-line-media { display: block; }
.cart-line-media img,
.cart-line-media .ph,
.cart-line > img,
.cart-line > .ph {
  width: 84px;
  height: 84px;
}
.cart-line-copy { display: grid; gap: 4px; min-width: 0; align-content: center; }
.cart-line-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
}
.cart-line-copy .muted { margin: 0; font-size: 12px; }
.cart-line-copy b { color: #fff; font-size: 13px; }
.cart-line .line-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty {
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 2px;
  background: #101010;
}
.cart-qty .btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
}
.cart-qty span { min-width: 18px; text-align: center; font-weight: 800; }
.cart-line-total {
  margin-inline-start: auto;
  color: var(--gold);
  font-size: 15px;
}
.cart-remove {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #121212;
  color: #ddd;
  font-size: 20px;
  line-height: 1;
}
.cart-remove:hover { border-color: var(--gold); color: var(--gold); }
.cart-dock {
  display: grid;
  gap: 12px;
  align-content: start;
  height: max-content;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(16, 16, 16, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.cart-dock h2 { margin: 0; font-size: 18px; }
.cart-coupon {
  display: flex;
  gap: 8px;
}
.cart-coupon input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #101010;
  color: #fff;
  padding: 10px 12px;
}
.cart-coupon .btn { white-space: nowrap; padding-inline: 14px; }
.cart-coupon-msg { margin: 0; color: #f0c9a0; font-size: 13px; }
.cart-sum-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cart-sum-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ddd;
  font-size: 14px;
}
.cart-sum-lines strong { color: #fff; font-size: 15px; }
.cart-dock .btn-block { min-height: 46px; justify-content: center; }
.cart-empty {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(58vh, 560px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 48px 28px;
  border-radius: 22px;
  border: 1px solid #2a2a2a;
  background:
    linear-gradient(165deg, rgba(225, 6, 0, 0.1), transparent 42%),
    linear-gradient(180deg, #161616, #101010);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  animation: cart-empty-in 0.55s ease both;
}
.cart-empty-glow {
  position: absolute;
  inset: auto;
  top: -18%;
  left: 50%;
  width: min(420px, 90%);
  height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.28), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: cart-empty-pulse 3.6s ease-in-out infinite;
}
.cart-empty-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.cart-empty-orb-a {
  width: 120px;
  height: 120px;
  top: 18%;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.22), transparent 70%);
  animation: cart-empty-float 5.5s ease-in-out infinite;
}
.cart-empty-orb-b {
  width: 90px;
  height: 90px;
  bottom: 14%;
  inset-inline-start: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  animation: cart-empty-float 6.8s ease-in-out infinite reverse;
}
.cart-empty-ico {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(225, 6, 0, 0.42);
  background:
    linear-gradient(160deg, rgba(225, 6, 0, 0.2), transparent 55%),
    #151515;
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.08);
  animation: cart-empty-ico 2.8s ease-in-out infinite;
}
.cart-empty > h1,
.cart-empty > p,
.cart-empty-actions {
  position: relative;
  z-index: 1;
  margin: 0;
}
.cart-empty > h1 {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.cart-empty > p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.cart-empty-actions .btn {
  min-width: 150px;
  justify-content: center;
}
.cart-empty-actions .btn-ghost {
  border-color: #333;
  background: rgba(255, 255, 255, 0.02);
}
.cart-empty-actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@keyframes cart-empty-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cart-empty-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}
@keyframes cart-empty-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes cart-empty-ico {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.08); }
  50% { transform: translateY(-4px); box-shadow: 0 0 0 8px rgba(225, 6, 0, 0.12), 0 12px 28px rgba(225, 6, 0, 0.18); }
}
@media (max-width: 980px) {
  .cart-empty {
    min-height: min(52vh, 460px);
    gap: 10px;
    padding: 36px 18px;
    border-radius: 18px;
  }
  .cart-empty-ico {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }
  .cart-empty > h1 { font-size: 26px; }
  .cart-empty > p { font-size: 14px; }
  .cart-empty-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
  }
  .cart-empty-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .cart-empty-orb-a { width: 88px; height: 88px; inset-inline-end: 4%; }
  .cart-empty-orb-b { width: 70px; height: 70px; inset-inline-start: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-empty,
  .cart-empty-glow,
  .cart-empty-orb,
  .cart-empty-ico { animation: none !important; }
}
@keyframes cart-top-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cart-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cart-sheen {
  0%, 55% { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}
@media (min-width: 981px) {
  .cart-page { padding: 24px 0 48px; }
  .cart-body {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
    gap: 18px;
  }
  .cart-body:has(.cart-empty) {
    grid-template-columns: 1fr;
  }
  .cart-empty {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    min-height: min(62vh, 620px);
  }
  .cart-dock { position: sticky; top: 90px; }
  .cart-line { grid-template-columns: 92px 1fr auto; align-items: center; }
  .cart-line .line-row { grid-column: auto; }
}
/* ——— إتمام الطلب ——— */
.check-page {
  padding: 14px 0 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.check-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28);
}
.check-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(225, 6, 0, 0.14) 48%, transparent 66%);
  transform: translateX(120%);
  animation: cart-sheen 2.8s ease 0.35s infinite;
  pointer-events: none;
}
.check-hero-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
  color: #fff;
  flex-shrink: 0;
}
.check-hero-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.check-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}
.check-hero-copy h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.15;
}
.check-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.check-hero-meta {
  display: grid;
  gap: 2px;
  text-align: end;
  flex-shrink: 0;
}
.check-hero-meta span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.check-hero-meta strong {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 20px;
  color: var(--gold);
  white-space: nowrap;
}
.check-form {
  display: grid;
  gap: 16px;
  padding: 18px !important;
}
.check-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: rgba(225, 6, 0, 0.08);
  color: #ffd0d0;
  font-size: 12px;
  font-weight: 700;
}
.check-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.2);
}
.check-guest {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.check-guest a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.check-guest.is-user b { color: #fff; }
.check-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0e0e0e;
}
.check-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-block-head > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.check-block-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.check-block-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.check-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.check-block-recipient {
  gap: 14px;
}
.check-phone-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.22);
  background: linear-gradient(90deg, rgba(18, 140, 126, 0.14), rgba(18, 140, 126, 0.05));
  color: #b8c4bf;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.check-phone-hint-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.14);
  color: #25d366;
}
.check-phone-hint-icon svg {
  display: block;
}
.check-phone-hint p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0;
  min-width: 0;
}
.check-phone-hint strong {
  color: #e8fff4;
  font-size: 12.5px;
  font-weight: 800;
}
.check-phone-hint p > span {
  color: #9aa39e;
  font-size: 12px;
  font-weight: 600;
}
.check-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.check-wa-modal[hidden] { display: none; }
.check-wa-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}
.check-wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.check-wa-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(37, 211, 102, 0.14), transparent 55%),
    #121212;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}
.check-wa-modal.is-open .check-wa-dialog {
  transform: translateY(0) scale(1);
}
.check-wa-dialog-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(37, 211, 102, 0.16);
  color: #25d366;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.25) inset;
}
.check-wa-kicker {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7dcea0;
  text-transform: none;
}
.check-wa-dialog h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
}
.check-wa-body {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.65;
  color: #c4c4c4;
}
.check-wa-points {
  list-style: none;
  margin: 2px 0 0;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  text-align: start;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}
.check-wa-points li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #e8e8e8;
}
.check-wa-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}
.check-wa-ok {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  justify-content: center;
  background: linear-gradient(135deg, #128c7e, #25d366) !important;
  border-color: transparent !important;
}
.check-fields-stack {
  grid-template-columns: 1fr;
  gap: 14px;
}
.check-field-wide { grid-column: 1 / -1; }
.check-fields-stack .field,
.check-fields-stack .field input,
.check-fields-stack .field select,
.check-fields-stack .field textarea {
  width: 100%;
  max-width: none;
}
.check-fields-stack .field textarea {
  min-height: 96px;
}
.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.check-actions .btn-ghost { min-height: 46px; }
.check-submit {
  flex: 1;
  min-width: min(100%, 220px);
  min-height: 48px;
  justify-content: center;
  font-weight: 800;
}
.check-summary {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 90px;
  padding: 18px !important;
  border-color: rgba(225, 6, 0, 0.28);
  background:
    linear-gradient(165deg, rgba(225, 6, 0, 0.08), transparent 42%),
    #121212;
}
.check-summary h2 {
  margin: 0;
  font-size: 18px;
}
.check-sum-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: min(42vh, 360px);
  overflow: auto;
}
.check-sum-item {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.check-sum-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.check-sum-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.check-sum-item.is-build .check-sum-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.check-sum-media {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}
.check-sum-media img,
.check-sum-media .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.check-sum-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.check-sum-badge {
  display: inline-flex;
  width: max-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.16);
  color: #ffb4b4;
  font-size: 10px;
  font-weight: 800;
}
.check-sum-copy strong {
  font-size: 13px;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.check-sum-copy small {
  color: var(--muted);
  font-size: 11px;
}
.check-sum-row > b {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.check-sum-totals {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.check-sum-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.check-sum-totals span { color: var(--muted); font-weight: 700; }
.check-sum-totals strong {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 24px;
  color: var(--gold);
}
.check-sum-totals b { color: #fff; font-weight: 700; }
.check-sum-grand {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.check-sum-grand strong {
  font-size: 28px;
  color: #fff;
}
.check-sum-pay {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: rgba(225, 6, 0, 0.08);
}
.check-sum-pay b { color: #ffd0d0; }
.check-sum-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.check-wa-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 140, 126, 0.35);
  background: rgba(18, 140, 126, 0.12);
  color: #d7fff6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.success-page {
  padding: 28px 0 48px;
}
.success-card {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(165deg, rgba(225, 6, 0, 0.1), transparent 42%),
    rgba(12, 12, 12, 0.92);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.success-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(225, 6, 0, 0.12), transparent 48%),
    rgba(0, 0, 0, 0.35);
}
.success-hero-glow {
  position: absolute;
  inset: -30% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(225, 6, 0, 0.28);
  filter: blur(10px);
  pointer-events: none;
  animation: success-hero-glow 3.2s ease-in-out infinite;
}
.success-hero.is-confirmed .success-hero-glow { background: rgba(62, 207, 122, 0.28); }
.success-hero.is-shipped .success-hero-glow { background: rgba(90, 168, 255, 0.3); }
.success-hero.is-delivered .success-hero-glow { background: rgba(125, 206, 90, 0.26); }
.success-hero.is-cancelled .success-hero-glow { background: rgba(140, 140, 140, 0.22); animation: none; }
.success-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: 0;
}
.success-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.success-hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.success-check {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(18, 140, 126, 0.45);
  background: rgba(18, 140, 126, 0.16);
  color: #7dffcf;
  animation: success-check-pop 0.55s ease both, success-check-glow 2.4s ease-in-out 0.55s infinite;
}
.success-hero-title small {
  display: block;
  color: #ffb4b4;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 2px;
}
.success-hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-family: Rajdhani, Tajawal, sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.success-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 48ch;
}
.success-brand {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  justify-self: end;
}
.success-brand-orbit {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: conic-gradient(
    from 0deg,
    rgba(225, 6, 0, 0) 0deg,
    rgba(225, 6, 0, 0.95) 55deg,
    rgba(255, 170, 150, 0.4) 95deg,
    rgba(225, 6, 0, 0) 145deg,
    rgba(225, 6, 0, 0) 220deg,
    rgba(225, 6, 0, 0.7) 280deg,
    rgba(225, 6, 0, 0) 330deg
  );
  animation: success-brand-spin 2.8s linear infinite;
}
.success-brand-orbit::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 28px;
  background: #0b0b0b;
}
.success-brand-flare {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 42%, rgba(225, 6, 0, 0.4), transparent 64%);
  animation: success-brand-pulse 2.2s ease-in-out infinite;
}
.success-brand-core {
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(10, 10, 10, 0.96);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(225, 6, 0, 0.18);
  overflow: hidden;
}
.success-brand-core::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.26) 48%, transparent 62%);
  animation: success-brand-sheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
.success-brand-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  animation: logo-glow 2.4s ease-in-out infinite !important;
}
@keyframes success-hero-glow {
  0%, 100% { opacity: 0.28; transform: scale(0.94); }
  50% { opacity: 0.55; transform: scale(1.06); }
}
@keyframes success-check-pop {
  0% { transform: scale(0.7); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes success-check-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 140, 126, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(18, 140, 126, 0); }
}
@keyframes success-brand-spin {
  to { transform: rotate(360deg); }
}
@keyframes success-brand-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes success-brand-sheen {
  0%, 50% { transform: translateX(130%) rotate(8deg); opacity: 0; }
  65% { opacity: 1; }
  100% { transform: translateX(-130%) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .success-hero-glow,
  .success-check,
  .success-brand-orbit,
  .success-brand-flare,
  .success-brand-core::after,
  .success-brand-logo { animation: none !important; }
}
@media (max-width: 720px) {
  .success-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .success-brand {
    order: -1;
    width: 96px;
    height: 96px;
  }
  .success-brand-core { width: 74px; height: 74px; }
  .success-brand-logo { max-height: 40px; }
}
.success-wa {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 140, 126, 0.4);
  background:
    linear-gradient(135deg, rgba(18, 140, 126, 0.18), transparent 55%),
    rgba(8, 24, 22, 0.9);
}
.success-wa-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #128c7e;
  color: #fff;
}
.success-wa strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.success-wa p {
  margin: 0;
  color: #c9fff3;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 600;
}
.success-wa b { color: #fff; font-weight: 800; }
.success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.success-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}
.success-block h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.success-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.success-dl > div { display: grid; gap: 2px; }
.success-dl .wide { grid-column: 1 / -1; }
.success-dl dt {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
}
.success-dl dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.success-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.success-items li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.success-item-media {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.success-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.success-item-media.is-empty::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.success-item-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.success-item-copy strong {
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}
.success-item-copy small { color: var(--muted); font-weight: 700; }
.success-items b {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  font-family: Rajdhani, Tajawal, sans-serif;
}
.success-totals {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.success-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
}
.success-totals span { color: var(--muted); font-weight: 700; }
.success-totals b { color: #fff; font-weight: 800; }
.success-totals .is-grand strong {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 1.4rem;
  color: #fff;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.success-actions .btn,
.success-actions .btn-ghost {
  min-height: 46px;
  padding-inline: 18px;
}
@media (max-width: 780px) {
  .success-grid { grid-template-columns: 1fr; }
  .success-card { padding: 18px; border-radius: 22px; }
  .success-actions .btn,
  .success-actions .btn-ghost { flex: 1 1 100%; justify-content: center; }
}
.check-empty {
  display: grid;
  gap: 12px;
  place-items: center;
  text-align: center;
  padding: 48px 20px !important;
  margin: 24px 0;
}
.check-empty-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.12);
  color: #fff;
}
.check-empty h1 { margin: 0; font-size: 22px; }
.check-empty p { margin: 0; color: var(--muted); }
.check-login-gate .check-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}
.check-mobile-bar {
  display: none;
}

@media (max-width: 980px) {
  .check-page {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .check-layout { gap: 12px; }
  .check-hero {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .check-hero-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: start;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .check-fields { grid-template-columns: 1fr; }
  .check-summary {
    position: static;
    order: -1;
  }
  .check-sum-list { max-height: none; }
  .check-actions {
    display: none;
  }
  .check-mobile-bar,
  #app > .check-mobile-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    inset-inline: 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(225, 6, 0, 0.35);
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }
  .check-mobile-bar > div {
    display: grid;
    gap: 1px;
    min-width: 0;
  }
  .check-mobile-bar small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }
  .check-mobile-bar strong {
    font-family: Rajdhani, Tajawal, sans-serif;
    font-size: 18px;
    color: var(--gold);
    white-space: nowrap;
  }
  .check-mobile-bar .btn {
    flex: 1;
    min-height: 46px;
    justify-content: center;
    font-weight: 800;
  }
}

.form-grid { display: grid; gap: 12px; }
.alert, .notice { border-radius: 12px; padding: 12px 14px; }
.alert {
  background: #2a0c0c;
  color: #f0c9a0;
  border: 1px solid rgba(80, 10, 10, 0.8);
}
.notice {
  background: #121212;
  border: 1px solid var(--gold-dark);
  color: #d9d2cf;
}
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
}
.tab.active {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border-color: var(--gold-2);
  color: #ffffff;
}
.orders { display: grid; gap: 12px; }
.order-items { margin: 8px 0 0; padding: 0; list-style: none; color: #d9d2cf; }
.status {
  border-radius: 999px;
  padding: 4px 8px;
  background: #3a1010;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  font-size: 13px;
}
.filter-toggle { display: none; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }

.footer {
  margin-top: auto;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(225, 6, 0, 0.4);
  background:
    radial-gradient(640px 160px at 100% 0%, rgba(225, 6, 0, 0.18), transparent 58%),
    radial-gradient(520px 140px at 0% 100%, rgba(225, 6, 0, 0.08), transparent 55%),
    #080808;
}
.footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e10600 42%, #ff5a52 58%, transparent);
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.55);
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  transform: translateX(38%);
  animation: foot-sheen 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes foot-sheen {
  0%, 72% { transform: translateX(38%); opacity: 0.35; }
  100% { transform: translateX(-38%); opacity: 0.7; }
}
.foot {
  position: relative;
  z-index: 1;
  padding: 24px 0 18px;
}
.foot-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2.2fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #222;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(12, 12, 12, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.foot-brand {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 6px 8px 6px 4px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-brand .lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 32ch;
  color: #bdb6b3;
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.foot-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: rgba(225, 6, 0, 0.08);
  color: #f0d0ce;
  font-size: 11.5px;
  font-weight: 700;
}
.foot-social {
  gap: 10px;
}
.foot-social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(225, 6, 0, 0.28), transparent 60%),
    #141414;
  color: #ffd0d0;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.foot-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.75);
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(225, 6, 0, 0.42), transparent 60%),
    #1a0c0c;
  box-shadow: 0 10px 22px rgba(225, 6, 0, 0.22);
}
.foot-social-link.is-whatsapp:hover { color: #9dffb8; }
.foot-social-link.is-instagram:hover { color: #ffb4e2; }
.foot-social-link.is-tiktok:hover { color: #b8fff4; }
.foot-social-link.is-facebook:hover { color: #b8d4ff; }
.foot-links {
  display: grid;
  grid-template-columns: 0.9fr 1.45fr 0.9fr;
  gap: 10px;
  min-width: 0;
}
.foot-col {
  min-width: 0;
  padding: 4px 6px;
}
.foot-col-store { order: 1; }
.foot-col-cats { order: 2; }
.foot-col-order { order: 3; }
.foot h3 {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.foot h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e10600, transparent);
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  color: #d7d0cd;
}
.foot-col:not(.foot-col-cats) li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  color: #e8e2df;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.foot-col:not(.foot-col-cats) li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a3a3a;
  flex: 0 0 auto;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.foot-col:not(.foot-col-cats) li a:hover {
  background: rgba(225, 6, 0, 0.1);
  color: #fff;
  transform: translateX(-2px);
}
.foot-col:not(.foot-col-cats) li a:hover::before {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.7);
}
.foot-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-cats li { margin: 0; min-width: 0; }
.foot-cats a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #121212;
  color: #e4dedb;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.foot-cats a:hover {
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(225, 6, 0, 0.12);
  color: #fff;
  transform: translateY(-1px);
}
@media (min-width: 981px) {
  .foot-cats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-cats a {
    width: 100%;
    border-radius: 12px;
    padding: 6px 8px;
  }
}
.copy-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(80, 10, 10, 0.5);
  background: rgba(0, 0, 0, 0.28);
}
.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 0;
  color: var(--muted);
  font-size: 13px;
}
.copy a {
  color: var(--gold);
  font-weight: 700;
  transition: opacity 0.15s ease;
}
.copy a:hover { opacity: 0.82; }
@media (prefers-reduced-motion: reduce) {
  .footer::after { animation: none; }
  .foot-col:not(.foot-col-cats) li a:hover,
  .foot-cats a:hover { transform: none; }
}

.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 30;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1100px) {
  .product-track { grid-auto-columns: calc((100% - 56px) / 5); }
}
@media (max-width: 1100px) {
  .home-cats-8 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .layout, .products-shelf, .detail, .cart-layout, .check-layout, .auth-grid, .promo-grid, .promo-grid-wide { grid-template-columns: 1fr; }
  .home-promo-duo { grid-template-columns: 1fr; }
  .home-promo-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.9fr);
    min-height: 190px;
  }
  .filters-anchor { display: contents; }
  .cats, .cards { grid-template-columns: repeat(2, 1fr); }
  .home-cats, .home-cats-8, .home-cats-page { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .slider-nav.prev { inset-inline-start: 0; }
  .slider-nav.next { inset-inline-end: 0; }
  .header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: auto;
    padding-block: 10px;
    gap: 8px;
  }
  .header-left {
    display: flex;
    grid-column: 1;
    justify-self: start;
    gap: 6px;
  }
  .header-main > .brand {
    grid-column: 2;
    justify-self: center;
    max-width: min(160px, 42vw);
  }
  .header-main > .brand .brand-logo {
    height: 36px;
    max-width: 100%;
    object-position: center;
  }
  .header-right {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }
  .header-menu { display: grid; }
  .nav { display: none; }
  .header-account { display: none; }
  .header-action { padding: 0; border: 0; background: transparent; }
  .header-action:hover { background: transparent; border-color: transparent; }
  .header-action-text { display: none; }
  .header-action-icon { width: 42px; height: 42px; }
  .search-modal { padding: 10px 10px 14px; align-content: start; }
  .search-dialog {
    width: 100%;
    border-radius: 16px;
    padding: 14px 12px 12px;
  }
  .search-dialog-close {
    top: 12px;
    left: 10px;
    width: 38px;
    height: 38px;
  }
  .search-dialog-head {
    gap: 10px;
    margin-bottom: 12px;
    padding-inline-end: 42px;
  }
  .search-dialog-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .search-dialog-head strong { font-size: 15px; }
  .search-dialog-head p { font-size: 11px; }
  .search-dialog-form {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid #2a2a2a;
    background: #121212;
  }
  .search-dialog-form input {
    height: 42px;
    width: auto;
    flex: 1;
    border: 0;
    border-radius: 11px;
    background: transparent;
    font-size: 15px;
    padding: 0 12px;
  }
  .search-dialog-form input:focus {
    border-color: transparent;
    box-shadow: none;
  }
  .search-dialog-submit {
    height: 42px;
    width: auto;
    min-width: 72px;
    border-radius: 11px;
    padding: 0 14px;
    font-size: 14px;
  }
  .search-dialog-hint {
    margin-top: 10px;
    padding: 9px 10px;
    gap: 8px;
    font-size: 12px;
  }
  .search-dialog-hint-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .products-hero { display: none; }
  .products-top { padding: 14px; }
  .products-top-copy b { font-size: 18px; }
  .products-top > strong { font-size: 18px; }
  .filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 14px;
    min-height: 64px;
    border: 1px solid rgba(225, 6, 0, 0.45);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(225, 6, 0, 0.28), rgba(225, 6, 0, 0.08) 45%, #141414 80%),
      #121212;
    color: #fff;
    font: inherit;
    text-align: start;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  }
  .filter-toggle:hover,
  .filter-toggle:active {
    border-color: var(--gold);
    filter: brightness(1.05);
    box-shadow: 0 12px 30px rgba(225, 6, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  .filter-toggle:active { transform: scale(0.99); }
  .filter-toggle-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(225, 6, 0, 0.45);
    background: linear-gradient(180deg, #e10600, #b80500);
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(225, 6, 0, 0.35);
  }
  .filter-toggle-copy {
    display: grid;
    gap: 2px;
    flex: 1;
    min-width: 0;
  }
  .filter-toggle-copy strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
  }
  .filter-toggle-copy small {
    color: #cfc7c4;
    font-size: 12px;
    font-weight: 600;
  }
  .filter-toggle-go {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
  }
  .filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .filters.panel {
    position: fixed;
    inset-inline: 0;
    top: auto;
    bottom: 0;
    z-index: 60;
    width: 100%;
    max-width: none;
    max-height: min(94vh, 920px);
    height: auto;
    margin: 0;
    border-radius: 28px 28px 0 0;
    border: 0;
    border-top: 1px solid rgba(225, 6, 0, 0.35);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    overflow: hidden;
    transform: none;
    transition: none;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
    background: #121212;
  }
  .filters.panel.is-open { display: flex; }
  .filters-close {
    display: grid;
    place-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 12px auto 0;
    padding: 0;
    border: 1px solid #333;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    z-index: 2;
    box-shadow: none;
  }
  .filters-close:hover,
  .filters-close:active {
    border-color: var(--gold);
    background: rgba(225, 6, 0, 0.22);
    color: #fff;
  }
  .filters-head {
    position: relative;
    top: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 10px 18px 12px;
    background: transparent;
  }
  .filters-head-copy {
    min-width: 0;
    text-align: start;
  }
  .filters-head-copy h2 { font-size: 20px; }
  .filters-head-copy p { margin-top: 2px; font-size: 12px; }
  .filters-head a {
    font-size: 12px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(225, 6, 0, 0.35);
    background: rgba(225, 6, 0, 0.1);
  }
  .filters.panel > .filters-glow { display: none; }
  .filters-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0 16px 18px;
    -webkit-overflow-scrolling: touch;
  }
  .filters-body > .sort-box,
  .filters-body > .filter-cats,
  .filters-body > .filters-price,
  .filters-body > .field,
  .filters-body > .filters-stock {
    min-width: 0;
  }
  .filter-cat-list { grid-template-columns: 1fr 1fr; }
  .filter-cat {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }
  body.filters-open { overflow: hidden; }
  .summary { position: static; }
  .foot { padding: 12px 0 8px; }
  .foot-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 12px 12px;
    border-radius: 18px;
  }
  .foot-brand {
    text-align: center;
    justify-items: center;
    gap: 7px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0 0 12px;
    margin-bottom: 12px;
  }
  .foot-brand .brand { display: inline-flex; }
  .foot-brand .lead {
    margin-inline: auto;
    max-width: 32ch;
    font-size: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .foot-meta {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .foot-meta span {
    font-size: 10.5px;
    padding: 4px 8px;
  }
  .foot-social { justify-content: center; gap: 8px; }
  .foot-social-link { width: 38px; height: 38px; border-radius: 11px; }
  .brand-logo-footer { height: 38px; max-width: 148px; }
  .foot-links {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    align-items: start;
  }
  .foot-col {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .foot-col-store {
    order: 1;
    padding-inline-end: 14px;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.07);
  }
  .foot-col-order { order: 2; }
  .foot-col-cats {
    order: 3;
    grid-column: 1 / -1;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .foot h3 {
    margin: 0 0 8px;
    font-size: 13px;
  }
  .foot h3::after { width: 20px; }
  .foot-col-store ul,
  .foot-col-order ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .foot-col:not(.foot-col-cats) li a {
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 7px 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    text-align: start;
    transform: none;
  }
  .foot-col:not(.foot-col-cats) li a::before {
    display: block;
    width: 4px;
    height: 4px;
  }
  .foot-col:not(.foot-col-cats) li a:hover {
    transform: none;
    background: rgba(225, 6, 0, 0.1);
  }
  .foot-col-store ul li:last-child { grid-column: auto; }
  .foot-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
    width: 100%;
    overflow: visible;
  }
  .foot-cats a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 7px 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #e8e2df;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-align: start;
    white-space: normal;
    transform: none;
  }
  .foot-cats a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3a3a3a;
    flex: 0 0 auto;
  }
  .foot-cats a:hover {
    background: rgba(225, 6, 0, 0.1);
    color: #fff;
    border-color: transparent;
    transform: none;
  }
  .foot-cats a:hover::before {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(225, 6, 0, 0.7);
  }
  .copy {
    font-size: 12px;
    padding: 10px 0;
    justify-content: space-between;
  }
  /* تابلت: نفس تصميم الكمبيوتر (صف أفقي) بقياسات أصغر */
  .hero-slider,
  .hero-panel {
    min-height: clamp(360px, 48vw, 480px);
  }
  .hero-panel {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding-block: 40px 72px;
  }
  .hero-panel.has-feature {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }
  .hero-panel.has-feature.is-align-left { justify-content: flex-end; }
  .hero-panel.has-feature.is-align-center { justify-content: center; }
  .hero-panel.has-feature.is-feature-left .hero-copy { order: 1; }
  .hero-panel.has-feature.is-feature-left .hero-feature { order: 2; }
  .hero-panel.has-feature.is-feature-right .hero-copy { order: 2; }
  .hero-panel.has-feature.is-feature-right .hero-feature { order: 1; }
  .hero-copy,
  .hero-panel.has-feature .hero-copy {
    flex: 1 1 auto;
    width: min(100%, 52%);
    max-width: none;
    min-width: 0;
    gap: 10px;
  }
  .hero-panel.has-feature .hero-feature {
    flex: 0 0 var(--banner-feature-w-m, var(--banner-feature-w, min(280px, 38%)));
    width: var(--banner-feature-w-m, var(--banner-feature-w, min(280px, 38%)));
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, clamp(200px, 28vw, 280px)));
    border-radius: 22px;
    align-self: center;
  }
  .hero-panel.has-feature .hero-feature img {
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, clamp(200px, 28vw, 280px)));
    padding: 14px;
  }
  .hero-panel.is-align-center.has-feature {
    flex-direction: column;
  }
  .hero-side-name strong { font-size: 22px; }
  .hero-nav { display: none; }
  .hero-brand { font-size: 22px; }
  .hero-logo-wrap { width: 54px; height: 54px; }
  .hero-logo { width: 38px; height: 38px; }
  .hero-copy h1,
  .hero-panel.has-feature .hero-copy h1 {
    font-size: var(--banner-title-size-m, var(--banner-title-size, clamp(28px, 4.2vw, 40px)));
    color: var(--banner-title-color-m, var(--banner-title-color, #fff));
  }
  .hero-copy .lead {
    font-size: var(--banner-lead-size-m, var(--banner-lead-size, clamp(14px, 1.6vw, 17px)));
    color: var(--banner-lead-color-m, var(--banner-lead-color, #d8d8d8));
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-slide .hero-actions .btn,
  .hero-slide .hero-actions .btn-ghost,
  .hero-slide .hero-actions .btn.btn-ghost {
    font-size: var(--banner-btn-size-m, var(--banner-btn-size, inherit));
    padding-block: calc(var(--banner-btn-size-m, var(--banner-btn-size, 13px)) * 0.85);
    padding-inline: calc(var(--banner-btn-size-m, var(--banner-btn-size, 13px)) * 1.15);
    min-height: calc(var(--banner-btn-size-m, var(--banner-btn-size, 13px)) * 2.9);
    border-radius: calc(var(--banner-btn-size-m, var(--banner-btn-size, 13px)) * 0.85);
    justify-content: center;
  }
  .hero-slider::before,
  .hero-slider::after { opacity: 0.22; }
  .hero-perks { display: none; }
  .hero-dots { bottom: 22px; }
}
@media (max-width: 720px) {
  /* تلفون: نفس تصميم الحاسبة — نص وصورة جنب بعض */
  .hero-slider {
    min-height: min(400px, 72svh);
    height: auto;
    max-width: 100%;
    overflow: hidden;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
  }
  .hero-slide.is-active {
    position: relative;
    inset: auto;
    height: auto;
    min-height: min(400px, 72svh);
  }
  .hero-media {
    inset: 0;
    transform: none;
    background-size: cover;
    background-position: center center;
  }
  .hero-slide.is-active .hero-media { transform: none; }
  .hero-media .hero-video,
  .hero-media iframe.hero-video {
    object-fit: cover;
    object-position: center center;
  }
  .hero-media iframe.hero-video { transform: scale(1.12); }
  /* نفس تدرّج الكمبيوتر (من جهة النص) */
  .hero-veil {
    background:
      linear-gradient(270deg, rgba(5, 5, 5, 0.94) 10%, rgba(5, 5, 5, 0.68) 46%, rgba(5, 5, 5, 0.28) 76%, rgba(5, 5, 5, 0.4) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.4) 22%, transparent 48%),
      radial-gradient(640px 300px at 85% 20%, rgba(225, 6, 0, 0.14), transparent 60%);
  }
  .hero-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: min(400px, 72svh);
    height: auto;
    width: min(100% - 24px, 1180px);
    max-width: 100%;
    box-sizing: border-box;
    padding-block: 36px 56px;
    gap: 10px;
    overflow: visible;
  }
  .hero-panel.has-feature {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-block: 36px 56px;
  }
  .hero-panel.has-feature.is-align-left { justify-content: flex-end; }
  .hero-panel.has-feature.is-align-center { justify-content: center; }
  .hero-panel.has-feature.is-feature-left .hero-copy { order: 1; }
  .hero-panel.has-feature.is-feature-left .hero-feature { order: 2; }
  .hero-panel.has-feature.is-feature-right .hero-copy { order: 2; }
  .hero-panel.has-feature.is-feature-right .hero-feature { order: 1; }
  .hero-copy,
  .hero-panel.has-feature .hero-copy {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    gap: 8px;
  }
  .hero-panel.has-feature .hero-copy {
    flex: 1 1 58%;
  }
  .hero-panel.has-feature .hero-feature,
  .hero-panel.has-feature.is-feature-left .hero-feature,
  .hero-panel.has-feature.is-feature-right .hero-feature {
    flex: 0 0 var(--banner-feature-w-m, var(--banner-feature-w, min(150px, 40vw)));
    width: var(--banner-feature-w-m, var(--banner-feature-w, min(150px, 40vw)));
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, min(150px, 40vw)));
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  }
  .hero-panel.has-feature .hero-feature:hover { transform: none; }
  .hero-panel.has-feature .hero-feature img {
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, min(150px, 40vw)));
    padding: 8px;
  }
  .hero-panel.is-align-center.has-feature {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .hero-panel.is-align-center.has-feature .hero-feature {
    width: min(160px, 48vw);
    flex-basis: auto;
  }
  .hero-panel.is-align-center .hero-copy {
    text-align: center;
    justify-items: center;
  }
  .hero-panel.is-align-center .hero-actions {
    justify-content: center;
  }
  .hero-copy.has-bg {
    padding: 12px 12px;
    border-radius: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-kicker { font-size: 11px; }
  .hero-copy h1,
  .hero-panel.has-feature .hero-copy h1 {
    font-size: var(--banner-title-size-m, var(--banner-title-size, clamp(20px, 5.6vw, 28px)));
    color: var(--banner-title-color-m, var(--banner-title-color, #fff));
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
  .hero-copy .lead {
    font-size: var(--banner-lead-size-m, var(--banner-lead-size, 12.5px));
    color: var(--banner-lead-color-m, var(--banner-lead-color, #d8d8d8));
    line-height: 1.5;
    max-width: 36ch;
  }
  .hero-actions {
    margin-top: 2px;
    gap: 8px;
    width: auto;
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    flex: 0 1 auto;
  }
  .hero-dots { bottom: 14px; }
  .hero-side-name { display: none; }
}
@media (max-width: 640px) {
  .wrap, .site-search form { width: min(100% - 24px, 1180px); }
  .cats { grid-template-columns: 1fr; }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }
  .home-cats, .home-cats-8 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .product-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .card-feature .price,
  .card-product .price { font-size: 16px; }
  .card-buy-price .price-row.is-retail .price,
  .card-feature .price-row.is-retail .price,
  .card-product .price-row.is-retail .price,
  .card-feature .price-stack .price-row.is-retail .price,
  .card-product .price-stack .price-row.is-retail .price { font-size: 20px; }
  .card-foot,
  .card-buy,
  .card-buy-price .price-row.is-retail { min-height: 40px; }
  .card-feature .price-stack .price,
  .card-product .price-stack .price { font-size: 12px; }
  .card-feature .card-body,
  .card-product .card-body { padding: 7px 8px 9px; gap: 4px; }
  .card-feature h3,
  .card-product h3 { font-size: 12.5px; line-height: 1.28; }
  .card-feature .card-specs,
  .card-product .card-specs { font-size: 10.5px; }
  .card-feature .price-stack .price-row,
  .card-product .price-stack .price-row {
    gap: 4px;
  }
  .card-feature .price-tier,
  .card-product .price-tier {
    font-size: 9px;
    padding: 1px 5px;
  }
  .card-foot { padding-top: 4px; }
  .card-buy { gap: 8px; }
  .card-buy-price .price-row.is-retail .price-old { font-size: 10px; }
  .card-add-icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
  }
  .card-add-icon .card-add-ico {
    width: 16px;
    height: 16px;
  }
  .card-product:hover { transform: none; }
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line .line-row { grid-column: 1 / -1; }
  .cart-build-parts li { grid-template-columns: 88px 1fr; }
  .cart-build-total strong { font-size: 20px; }
  .brand-logo { height: 36px; max-width: min(160px, 40vw); }
  .home-cats-page { grid-template-columns: repeat(2, 1fr); }
  .hero-slider,
  .hero-slide.is-active,
  .hero-panel {
    min-height: min(360px, 70svh);
  }
  .hero-panel,
  .hero-panel.has-feature {
    padding-block: 28px 48px;
    gap: 8px;
  }
  .hero-panel.has-feature .hero-feature,
  .hero-panel.has-feature.is-feature-left .hero-feature,
  .hero-panel.has-feature.is-feature-right .hero-feature {
    flex: 0 0 var(--banner-feature-w-m, var(--banner-feature-w, min(128px, 36vw)));
    width: var(--banner-feature-w-m, var(--banner-feature-w, min(128px, 36vw)));
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, min(128px, 36vw)));
    border-radius: 16px;
  }
  .hero-panel.has-feature .hero-feature img {
    min-height: var(--banner-feature-h-m, var(--banner-feature-h, min(128px, 36vw)));
    padding: 6px;
  }
  .hero-copy h1,
  .hero-panel.has-feature .hero-copy h1 {
    font-size: var(--banner-title-size-m, var(--banner-title-size, clamp(18px, 5.4vw, 24px)));
    color: var(--banner-title-color-m, var(--banner-title-color, #fff));
  }
  .hero-copy .lead {
    font-size: var(--banner-lead-size-m, var(--banner-lead-size, 12px));
    color: var(--banner-lead-color-m, var(--banner-lead-color, #d8d8d8));
    max-width: 32ch;
  }
  .hero-actions .btn {
    min-height: 38px;
    font-size: 12.5px;
    padding-inline: 12px;
  }
}
@media (max-width: 980px) {
  .cat-slider .home-cats-8,
  .cat-slider .home-cats-track {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 6px;
    touch-action: pan-x pan-y;
    cursor: auto;
  }
  .cat-slider .home-cats-8.is-dragging,
  .cat-slider .home-cats-track.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .cat-slider .home-cats-8::-webkit-scrollbar,
  .cat-slider .home-cats-track::-webkit-scrollbar { display: none; }
  .cat-slider .home-cat {
    flex: 0 0 calc((100% - 20px) / 3);
    scroll-snap-align: start;
  }
  .cat-slider .home-cat strong {
    padding: 8px 4px;
    font-size: 12px;
    line-height: 1.25;
  }
  .trust-bar {
    background: transparent;
    border-bottom: 0;
    padding: 4px 0 8px;
  }
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-block: 8px 4px;
    padding: 12px 8px;
    background: var(--panel);
    border: 1px solid var(--gold-dark);
    border-radius: 16px;
  }
  .trust-item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 4px 2px;
    text-align: center;
  }
  .trust-item > div { min-width: 0; }
  .trust-item > span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
  }
  .trust-item b {
    font-size: 12px;
    line-height: 1.35;
  }
  .trust-item small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.35;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .header-action-text { display: none; }
  .nav > a:not(.btn-build),
  .nav-dd-trigger { padding: 10px 8px; font-size: 13px; }
  .brand-logo { height: 40px; max-width: 176px; }
  .btn-build { height: 34px; padding: 0 12px; font-size: 12px; margin-inline-start: 6px; gap: 6px; }
  .nav-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* —— PC Builder —— */
@keyframes pc-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pc-scan {
  0% { transform: translateY(-120%); opacity: 0; }
  20% { opacity: 0.45; }
  100% { transform: translateY(220%); opacity: 0; }
}
@keyframes pc-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.08); }
}
@keyframes pc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(225, 6, 0, 0); }
}
@keyframes pc-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(225, 6, 0, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(225, 6, 0, 0.55)); }
}
@keyframes pc-price-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pc-dot-pop {
  from { transform: scaleX(0.4); opacity: 0.4; }
  to { transform: scaleX(1); opacity: 1; }
}

.pc-builder {
  position: relative;
  overflow: visible;
  padding: 28px 0 120px;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(225, 6, 0, 0.12), transparent 60%),
    transparent;
}
.pc-builder.is-ready {
  background:
    radial-gradient(720px 360px at 50% 0%, rgba(225, 6, 0, 0.18), transparent 62%),
    transparent;
}
.pc-promo {
  margin: 0 0 8px;
  background:
    radial-gradient(520px 220px at 12% 80%, rgba(225, 6, 0, 0.16), transparent 62%),
    linear-gradient(180deg, #101010 0%, #0b0b0b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pc-promo-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px 40px;
  align-items: center;
  min-height: 280px;
  padding-block: 28px 32px;
}
.pc-promo-media {
  min-width: 0;
}
.pc-promo-media img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}
.pc-promo.is-bg {
  position: relative;
  background-color: #0b0b0b;
  background-image: var(--pc-promo-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.pc-promo.is-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.72));
  pointer-events: none;
}
.pc-promo.is-bg .pc-promo-inner {
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 1;
}
.pc-promo-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.pc-promo.is-align-right .pc-promo-copy { justify-items: right; text-align: right; }
.pc-promo.is-align-left .pc-promo-copy { justify-items: left; text-align: left; }
.pc-promo.is-align-center .pc-promo-copy { justify-items: center; text-align: center; }
.pc-promo.is-align-right .pc-promo-points { justify-content: right; }
.pc-promo.is-align-left .pc-promo-points { justify-content: left; }
.pc-promo.is-align-center .pc-promo-points { justify-content: center; }
.pc-promo.is-bg.is-align-left::before {
  background: linear-gradient(to left, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.72));
}
.pc-promo.is-bg.is-align-center::before {
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.52));
}
.pc-promo.has-copy-bg .pc-promo-copy {
  width: fit-content;
  max-width: min(100%, 720px);
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.pc-promo.has-copy-bg.is-align-center .pc-promo-copy {
  margin-inline: auto;
}
.pc-promo.is-bg.has-copy-bg::before {
  background: rgba(0, 0, 0, 0.22);
}
.pc-promo-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}
.pc-promo-copy > p {
  margin: 0;
  color: #c8c8c8;
  font-size: 16px;
  line-height: 1.7;
  max-width: 42ch;
}
.pc-promo-points {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 12px 28px;
  width: 100%;
}
.pc-promo-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.pc-promo-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.4);
}
.pc-promo-ico svg { width: 14px; height: 14px; }
.pc-promo-points b,
.pc-promo-points small {
  display: block;
  line-height: 1.35;
}
.pc-promo-points b {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.pc-promo-points small {
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 700;
}
.pc-promo-cta {
  margin-top: 4px;
  min-height: 46px;
  padding-inline: 22px;
  gap: 8px;
}
@media (max-width: 980px) {
  .pc-promo-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 22px;
  }
  .pc-promo-media { order: -1; }
  .pc-promo-media img { max-height: 180px; }
  .pc-promo-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-promo.is-bg { background-position: center right; }
  .pc-promo.is-bg::before {
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.55) 0%, rgba(6, 6, 6, 0.82) 100%);
  }
  .pc-promo.is-bg .pc-promo-copy {
    justify-items: stretch;
    text-align: right;
    width: 100%;
    max-width: none;
  }
  .pc-promo.is-bg .pc-promo-points { justify-content: stretch; }
  .pc-promo.has-copy-bg .pc-promo-copy {
    width: 100%;
    max-width: none;
    padding: 18px 16px;
    border-radius: 16px;
  }
}
@media (max-width: 640px) {
  .pc-promo { margin-bottom: 4px; }
  .pc-promo.is-bg {
    background-position: 70% center;
    background-size: cover;
  }
  .pc-promo.is-bg::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.9) 100%),
      radial-gradient(120% 80% at 100% 0%, rgba(225, 6, 0, 0.16), transparent 55%);
  }
  .pc-promo-inner {
    padding-block: 18px 20px;
    gap: 0;
  }
  .pc-promo-copy {
    gap: 12px;
  }
  .pc-promo-copy h1 {
    font-size: 1.55rem;
    line-height: 1.25;
    max-width: 16ch;
  }
  .pc-promo-copy > p {
    font-size: 13.5px;
    line-height: 1.65;
    max-width: none;
    color: #d0d0d0;
  }
  .pc-promo-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 2px;
  }
  .pc-promo-points li {
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pc-promo-ico {
    width: 32px;
    height: 32px;
  }
  .pc-promo-points b { font-size: 13.5px; }
  .pc-promo-points small { font-size: 11.5px; }
  .pc-promo.has-copy-bg .pc-promo-copy {
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(8, 8, 8, 0.62);
  }
  .pc-promo-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 2px;
  }
  .pc-promo-media img { max-height: 150px; }
}
.pc-builder-inner {
  position: relative;
  z-index: 1;
}
.pc-rise {
  animation: pc-rise 0.55s ease both;
  animation-delay: var(--d, 0s);
}
.pc-hero {
  margin-bottom: 22px;
}
.pc-hero-panel {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.14), transparent 42%),
    linear-gradient(180deg, #171717 0%, #101010 100%);
  overflow: hidden;
}
.pc-hero-panel::before {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.22), transparent 68%);
  pointer-events: none;
}
.pc-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.pc-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.5);
  animation: pc-pulse 2s ease infinite;
}
.pc-hero-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #ddd;
  font-size: 12px;
  font-weight: 800;
}
.pc-hero-brand {
  position: relative;
  margin: 0 0 6px;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--gold);
}
.pc-hero h1 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.35;
  color: var(--text);
  font-weight: 900;
}
.pc-hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.pc-hero-lead {
  position: relative;
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.75;
}
.pc-preview-wrap {
  margin-top: 14px;
  margin-bottom: 8px;
  display: grid;
  gap: 12px;
}
.pc-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.16);
}
.pc-chip-row em {
  font-style: normal;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.pc-preview {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.pc-preview-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--gold);
  color: #fff;
}
.pc-preview-chip strong {
  font-size: 14px;
  font-weight: 900;
}
.pc-preview-chip span {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.95;
}
.pc-preview-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  overflow: hidden;
}
.pc-preview-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.pc-preview-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72));
}
.pc-preview-overlay strong {
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}
.pc-preview-overlay p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.6;
  justify-self: center;
}
.pc-preview-overlay em {
  font-style: normal;
  color: var(--gold);
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 28px;
  font-weight: 700;
}
.pc-preview-foot {
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid #222;
}
.pc-preview-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pc-steps {
  display: flex;
  flex: 1;
  gap: 8px;
  flex-wrap: wrap;
}
.pc-step-dot {
  flex: 1;
  min-width: 18px;
  max-width: 48px;
  height: 5px;
  border-radius: 999px;
  background: #2a2a2a;
  transform-origin: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.pc-step-dot.is-on {
  background: var(--gold);
  animation: pc-dot-pop 0.35s ease both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.pc-hero-progress-label {
  flex-shrink: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  min-width: 3ch;
  text-align: end;
}

.pc-shot-wrap {
  display: grid;
  gap: 16px;
  max-width: none;
  width: 100%;
  overflow: visible;
}
.pc-shot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}
.pc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}
.pc-card-actions .btn,
.pc-card-actions .pc-copy {
  flex: 1;
  width: auto;
  min-width: 0;
  margin: 0;
  min-height: 44px;
  padding: 10px 16px;
}
.pc-shot-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(225, 6, 0, 0.22);
  background: #070707;
  box-shadow: var(--panel-edge);
  overflow: hidden;
  padding: 18px 18px 14px;
}
.pc-shot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  background: transparent;
  border: 0;
  padding: 0;
}
.pc-shot-brand {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pc-shot-brand strong {
  display: block;
  color: #fff;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.pc-shot-brand span {
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
}
.pc-shot-brand em {
  display: inline-flex;
  margin-top: 4px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.18);
  color: #ffb4b4;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.pc-shot-head-meta {
  display: grid;
  gap: 8px;
  justify-items: start;
  text-align: start;
}
.pc-shot-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e10600;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.pc-shot-pill.soft {
  background: rgba(225, 6, 0, 0.16);
  color: #ffd0d0;
}
.pc-shot-date {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
}
.pc-shot-body {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
  gap: 14px 16px;
  padding: 16px;
  align-items: start;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(520px 280px at 78% 35%, rgba(225, 6, 0, 0.2), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.3)),
    #070707;
}
/* Atmosphere only — remove these rules and the body returns to a plain layout */
.pc-shot-body::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
  opacity: 0.55;
}
.pc-shot-body::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(225, 6, 0, 0.16), transparent 34%),
    radial-gradient(circle at 70% 65%, rgba(120, 20, 20, 0.18), transparent 40%);
  animation: pc-shot-ambience 9s ease-in-out infinite alternate;
}
@keyframes pc-shot-ambience {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(2%, -2%, 0) scale(1.04); opacity: 1; }
}
.pc-shot-body > * {
  position: relative;
  z-index: 1;
}
.pc-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  align-content: start;
}
.pc-shot {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
  display: grid;
  gap: 6px;
  height: auto;
  grid-template-rows: auto;
}
.pc-shot.is-hero {
  gap: 8px;
}
.pc-shot-label {
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.pc-shot-media {
  position: relative;
  background: #0e0e0e;
  border: 1.6px solid rgba(225, 6, 0, 0.85);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
}
.pc-shot.is-hero .pc-shot-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
  max-height: 520px;
  border-radius: 14px;
}
.pc-shot-media img,
.pc-shot-media .ph {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  padding: 4px;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  transform-origin: center;
}
.pc-shot.is-hero .pc-shot-media img,
.pc-shot.is-hero .pc-shot-media .ph {
  object-fit: cover !important;
  padding: 0;
}
.pc-shot-tag {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e10600;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
}
.pc-shot figcaption {
  padding: 0;
  display: grid;
  gap: 2px;
  border: 0;
  background: transparent;
  min-height: 0;
}
.pc-shot figcaption em {
  font-style: normal;
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 800;
}
.pc-shot figcaption strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-shot.is-hero figcaption strong { font-size: 14px; }
.pc-shot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(225, 6, 0, 0.25);
  background: transparent;
}
.pc-shot-foot-start {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
}
.pc-shot-foot-start > p {
  margin: 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.45;
}
.pc-shot-price {
  display: grid;
  gap: 2px;
  justify-items: end;
  text-align: end;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
}
.pc-shot-price span {
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 700;
}
.pc-shot-price b {
  color: #e10600;
  font-size: 28px;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 800;
  line-height: 1.1;
}
.pc-shot-fee {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.pc-shot-fee b { color: #ffd0d0; }
.pc-shot-ribbon-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.92), rgba(160, 8, 4, 0.78));
  color: #fff;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pc-shot-ribbon-bar strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.pc-shot-ribbon-bar span {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.95;
}
.pc-shot-ribbon-bar--aside {
  margin: 0 0 12px;
  border-radius: 12px;
}
.pc-summary > .pc-summary-sub {
  margin: 0 0 12px;
}
.pc-shot-below {
  position: sticky;
  top: 88px;
  isolation: isolate;
  border-radius: 16px;
  border: 0;
  background: var(--panel);
  box-shadow: var(--panel-edge);
  padding: 16px 16px 18px;
  overflow: visible;
  max-height: none;
}
.pc-shot-below .pc-summary-price {
  margin-bottom: 8px;
}
.pc-shot-wrap > .pc-tips {
  grid-area: auto;
}
.pc-shot-below-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pc-shot-below-list li {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.pc-shot-below-list .pc-summary-pick {
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
}
.pc-shot-below-list .pc-summary-pick:hover {
  background: rgba(225, 6, 0, 0.12);
}
.pc-shot-below-list b {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.pc-shot-below-list span {
  color: #ddd;
  font-size: 13px;
  line-height: 1.4;
}

.pc-motivate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.12), transparent 55%),
    #141414;
}
.pc-motivate-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(225, 6, 0, 0.35);
}
.pc-motivate strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}
.pc-motivate p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.pc-motivate-pct {
  margin-inline-start: auto;
  flex-shrink: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.pc-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.pc-pillar {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.85);
  display: grid;
  gap: 6px;
  justify-items: start;
}
.pc-pillar-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}
.pc-pillar b {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}
.pc-pillar span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pc-ready-banner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.16), rgba(20, 20, 20, 0.9));
  overflow: hidden;
}
.pc-ready-pulse {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pc-pulse 1.6s ease infinite;
}
.pc-ready-banner strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 4px;
}
.pc-ready-banner p {
  margin: 0;
  color: #ddd;
  font-size: 13px;
  line-height: 1.55;
}

.pc-section-label { display: none !important; }

.pc-build-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-template-areas: "main summary";
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}
.pc-build-stage.is-ready {
  grid-template-columns: 1fr;
  grid-template-areas: "main";
}
.pc-build-main {
  grid-area: main;
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.pc-build-main > .pc-tips {
  margin-top: 2px;
}
.pc-parts-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.pc-parts-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.pc-reset-top {
  width: auto;
  margin: 0;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}
.pc-reset-top:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(225, 6, 0, 0.22);
  color: #fff;
}
.pc-parts { display: grid; gap: 10px; margin-bottom: 0; }
.pc-part-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-part-row {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.pc-part-row:hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: #171717;
  transform: translateY(-1px);
}
.pc-part-row.is-selected {
  border-color: rgba(225, 6, 0, 0.6);
  background: #171717;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.12), 0 10px 28px rgba(0, 0, 0, 0.35);
}
.pc-part-row.is-incompat {
  border-color: rgba(225, 6, 0, 0.85);
  background: rgba(225, 6, 0, 0.12);
  box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.22);
}
.pc-incompat-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #ffc4c1;
  background: rgba(225, 6, 0, 0.3);
  border: 1px solid rgba(225, 6, 0, 0.55);
}
.pc-part-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  font: inherit;
}
.pc-part-accent {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.25;
}
.pc-part-row.is-selected .pc-part-accent,
.pc-part-row:hover .pc-part-accent { opacity: 1; }
.pc-part-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #cfcfcf;
  flex-shrink: 0;
}
.pc-part-row.is-selected .pc-part-icon {
  background: var(--gold-soft);
  border-color: rgba(225, 6, 0, 0.45);
  color: var(--gold);
}
.pc-part-label { flex-shrink: 0; min-width: 110px; }
.pc-part-label strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}
.pc-part-label i {
  color: var(--gold);
  font-style: normal;
}
.pc-part-label .pc-opt {
  margin-inline-start: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.pc-part-label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pc-part-status {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}
.pc-part-hint { color: var(--muted); }
.pc-part-row:not(.is-selected) .pc-part-hint {
  color: var(--gold);
  font-weight: 700;
}
.price-stack {
  display: grid;
  gap: 6px;
}
.price-stack .price-row {
  margin: 0;
}
.pc-piece-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.pc-piece-price i { font-style: normal; font-weight: 600; }
.pc-piece-price b {
  color: #4da3ff;
  font-weight: 800;
  font-size: 12px;
}
.pc-part-chosen { display: grid; gap: 2px; }
.pc-part-chosen b {
  color: var(--text);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pc-part-chosen em {
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}
.pc-part-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  flex-shrink: 0;
}
.pc-part-count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  font-size: 12px;
  font-weight: 800;
  color: #ddd;
}
.pc-part-clear,
.pc-part-clear-slot {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.pc-part-clear {
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.pc-part-clear:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}
.pc-part-clear-slot { visibility: hidden; }

.pc-summary {
  grid-area: summary;
  position: sticky;
  top: 88px;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--panel);
  padding: 18px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  align-self: start;
}
.pc-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pc-summary-head h2 { margin: 0; font-size: 18px; color: var(--text); }
.pc-summary-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.pc-summary-ring {
  --pct: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--panel) 58%, transparent 59%),
    conic-gradient(var(--gold) calc(var(--pct) * 1%), #2a2a2a 0);
}
.pc-summary-ring strong { font-size: 12px; color: var(--text); }
.pc-summary-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pc-summary-list li {
  display: grid;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 1px dashed #2a2a2a;
  color: var(--muted);
  font-size: 13px;
}
.pc-summary-list li:last-child { border-bottom: 0; }
.pc-summary-list li.is-on { color: #ddd; }
.pc-summary-pick {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px 8px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.pc-summary-pick:hover {
  background: rgba(225, 6, 0, 0.1);
  color: #fff;
}
.pc-summary-pick:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.pc-summary-list .pc-summary-pick > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pc-summary-list .pc-summary-pick > span small {
  color: #666;
  font-size: 10px;
  font-weight: 700;
  margin-inline-start: 4px;
}
.pc-summary-list .pc-summary-pick > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: start;
}
.pc-summary-list b {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.pc-summary-list em {
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}
.pc-summary-empty { color: #555 !important; }
.pc-summary-locked {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #3a3a3a;
  background: #151515;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.pc-summary-fee,
.pc-shot-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.pc-summary-fee.is-admin,
.pc-summary-price.is-admin {
  width: 100%;
  cursor: pointer;
  text-align: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pc-summary-fee.is-admin:hover {
  border-color: rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.08);
}
.pc-summary-fee.is-editing {
  border-color: rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.08);
}
.pc-summary-fee-edit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.pc-summary-edit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.pc-summary-fee-edit input {
  flex: 1;
  width: 120px;
  min-width: 0;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #121212;
  color: #fff;
  font-weight: 800;
}
.pc-summary-price.is-editing {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.pc-summary-fee-reset {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.pc-summary-fee-save,
.pc-summary-fee-cancel {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.pc-summary-fee-save {
  background: var(--gold);
  color: #fff;
}
.pc-summary-fee-cancel {
  min-width: 30px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pc-summary-fee b,
.pc-shot-fee b {
  color: #ffb4b4;
  white-space: nowrap;
}
.pc-summary-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.18), rgba(255, 255, 255, 0.03) 70%);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 0.28);
}
.pc-summary-price.is-admin:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.22), transparent 70%);
}
.pc-summary-price .pc-summary-fee-edit input {
  width: auto;
  min-width: 120px;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 18px;
}
.pc-price-reveal { animation: pc-price-in 0.45s ease both; }
.pc-summary-price span {
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}
.pc-summary-price b {
  color: var(--gold);
  font-size: 28px;
  font-family: Rajdhani, Tajawal, sans-serif;
  white-space: nowrap;
}
.pc-summary-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.pc-summary-actions .pc-copy,
.pc-summary-actions .pc-reset,
.pc-copy,
.pc-reset {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
}
.pc-copy {
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #fff;
}
.pc-copy:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.pc-reset {
  border: 1px dashed #3a3a3a;
  background: transparent;
  color: #ddd;
}
.pc-reset:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.pc-copy:disabled,
.pc-reset:disabled { opacity: 0.4; cursor: not-allowed; }
.pc-cart-glow {
  box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.4);
  animation: pc-pulse 2s ease infinite;
}

.pc-tips {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #141414;
}
.pc-summary-actions {
  display: grid;
  gap: 0;
}
.pc-tips h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text);
}
.pc-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.pc-tips li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.pc-tips li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.15);
}


.pc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 18px;
}
.pc-modal {
  width: min(880px, 100%);
  max-height: min(82vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #121212;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.pc-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #222;
  flex: 0 0 auto;
}
.pc-modal-head h2 { margin: 0 0 4px; font-size: 20px; color: var(--text); }
.pc-modal-head p { margin: 0; color: var(--muted); font-size: 13px; }
.pc-modal-head-hint { display: none; }
.pc-modal-tools { display: flex; gap: 8px; align-items: center; }
.pc-modal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: var(--muted);
}
.pc-modal-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: min(180px, 28vw);
  color: var(--text);
}
.pc-modal-x {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #fff;
  font-size: 22px;
}
.pc-modal-x:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pc-modal-grid {
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.pc-modal-card {
  display: grid;
  grid-template-columns: auto 1fr 72px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  background: #151515;
  text-align: start;
  color: #ddd;
}
.pc-modal-card:hover:not(:disabled),
.pc-modal-card.is-on {
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(225, 6, 0, 0.08);
}
.pc-modal-card.is-incompat {
  border-color: rgba(225, 6, 0, 0.75);
  background: rgba(225, 6, 0, 0.14);
  opacity: 0.88;
}
.pc-modal-card.is-incompat .pc-modal-copy strong {
  color: #ffd2cf;
}
.pc-modal-card:disabled { opacity: 0.45; cursor: not-allowed; }
.pc-modal-card.is-incompat:disabled { opacity: 0.88; }
.pc-modal-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #3a3a3a;
}
.pc-modal-card.is-on .pc-modal-radio {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--gold);
}
.pc-modal-copy { display: grid; gap: 3px; min-width: 0; }
.pc-modal-copy strong {
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}
.pc-modal-copy small { color: var(--muted); font-size: 11px; }
.pc-modal-copy .price { color: var(--gold); font-size: 14px; }
.pc-modal-media {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}
.pc-modal-media img,
.pc-modal-media .ph { width: 100%; height: 100%; object-fit: cover; }
.pc-modal-empty {
  grid-column: 1 / -1;
  margin: 24px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 980px) {
  .pc-build-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "summary";
    gap: 14px;
    margin-bottom: 12px;
  }
  .pc-build-stage.is-ready {
    grid-template-areas: "main";
  }
  .pc-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .pc-shot-wrap {
    gap: 12px;
    overflow: visible;
  }
  .pc-shot-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .pc-shot-row > .pc-shot-card {
    order: 1;
  }
  .pc-shot-below {
    position: static;
    max-height: none;
    order: 2;
    width: 100%;
  }
  .pc-shot-below-list b {
    color: var(--muted);
    font-size: 11px;
  }
  .pc-shot-below-list span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
  }
  .pc-shot-card {
    min-width: 0;
    padding: 14px 12px 12px;
  }
  .pc-shot-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pc-shot.is-hero {
    gap: 8px;
  }
  .pc-shot.is-hero .pc-shot-media {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    width: min(100%, 320px);
  }
  .pc-shot-media {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .pc-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
  .pc-shot-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .pc-shot-price {
    justify-items: start;
    text-align: start;
    width: 100%;
  }
  .pc-shot-price b { font-size: 24px; }
}
@media (max-width: 720px) {
  .pc-builder {
    padding: 14px 0 96px;
  }
  .pc-hero { margin-bottom: 12px; }
  .pc-hero-panel { padding: 18px 16px 16px; border-radius: 18px; }
  .pc-hero-top { margin-bottom: 14px; }
  .pc-badge { font-size: 10px; padding: 5px 10px; }
  .pc-hero-chip { font-size: 11px; padding: 5px 10px; }
  .pc-hero-brand {
    font-size: 32px;
    margin-bottom: 4px;
  }
  .pc-hero h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .pc-hero-lead {
    font-size: 13px;
    margin-bottom: 14px;
    max-width: none;
    line-height: 1.65;
  }
  .pc-preview-wrap { margin-top: 4px; }
  .pc-preview-stage { aspect-ratio: 4 / 3; }
  .pc-preview-overlay strong { font-size: 17px; }
  .pc-preview-overlay p { font-size: 12.5px; }
  .pc-preview-overlay em { font-size: 22px; }
  .pc-preview-progress { gap: 10px; }
  .pc-steps { gap: 5px; }
  .pc-step-dot { height: 4px; min-width: 14px; }
  .pc-hero-progress-label { font-size: 18px; }
  .pc-shot-wrap {
    max-width: none;
    gap: 10px;
  }
  .pc-shot-row { gap: 10px; }
  .pc-shot-card { padding: 12px 10px 10px; border-radius: 14px; }
  .pc-shot-head {
    margin-bottom: 10px;
    gap: 8px;
  }
  .pc-shot-brand strong { font-size: 18px; }
  .pc-shot-brand span,
  .pc-shot-date { font-size: 11px; }
  .pc-shot-body {
    gap: 14px;
  }
  .pc-shot.is-hero .pc-shot-media {
    width: min(100%, 260px);
    border-radius: 14px;
  }
  .pc-shot-media {
    border-radius: 12px;
  }
  .pc-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
  .pc-shot {
    gap: 6px;
  }
  .pc-shot figcaption {
    text-align: start;
    min-height: 36px;
  }
  .pc-shot figcaption strong {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }
  .pc-shot.is-hero figcaption strong { font-size: 12px; }
  .pc-shot-tag {
    font-size: 10px;
    padding: 4px 8px;
  }
  .pc-shot-foot {
    margin-top: 12px;
    padding-top: 10px;
    gap: 10px;
  }
  .pc-shot-price b { font-size: 22px; }
  .pc-shot-foot-start > p { font-size: 11px; }
  .pc-shot-below {
    width: 100%;
    padding: 14px 12px 14px;
    border-radius: 16px;
  }
  .pc-shot-ribbon-bar {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 11px;
  }
  .pc-shot-ribbon-bar strong { font-size: 14px; }
  .pc-shot-ribbon-bar span {
    font-size: 12px;
    direction: ltr;
    unicode-bidi: isolate;
  }
  .pc-shot-below-list {
    gap: 8px;
    margin-bottom: 12px;
  }
  .pc-shot-below-list li {
    gap: 4px;
    padding: 12px 12px;
    border-radius: 12px;
  }
  .pc-shot-below-list b {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .pc-shot-below-list span {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    white-space: normal;
    overflow: visible;
    display: block;
  }
  .pc-shot-below .pc-summary-price {
    padding: 12px;
  }
  .pc-shot-below .pc-summary-price b {
    font-size: 24px;
  }
  .pc-shot-below .pc-summary-count {
    font-size: 12px;
  }
  .pc-shot-below .pc-card-actions {
    flex-direction: column;
  }
  .pc-shot-below .pc-card-actions .btn,
  .pc-shot-below .pc-card-actions .pc-copy {
    width: 100%;
    flex: none;
  }
  .pc-shot-below .pc-summary-actions .btn,
  .pc-shot-below .pc-summary-actions .pc-copy,
  .pc-shot-below .pc-summary-actions .pc-reset {
    min-height: 46px;
    font-size: 14px;
  }
  .pc-shot-wrap > .pc-tips {
    display: none !important;
  }

  .pc-motivate,
  .pc-pillars,
  .pc-ready-banner {
    display: none !important;
  }

  .pc-section-label {
    margin-bottom: 8px;
  }
  .pc-section-label span { font-size: 12px; }
  .pc-section-label em { font-size: 11px; }

  .pc-parts { gap: 8px; }
  .pc-part-wrap {
    position: relative;
    display: block;
    gap: 0;
  }
  .pc-part-clear-slot { display: none; }
  .pc-part-clear {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
  }
  .pc-part-row {
    border-radius: 14px;
  }
  .pc-part-row:hover { transform: none; }
  .pc-part-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    padding-inline-end: 40px;
  }
  .pc-part-accent { width: 2px; }
  .pc-part-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .pc-part-icon svg { width: 18px; height: 18px; }
  .pc-part-label {
    min-width: 0;
    flex: 1 1 auto;
  }
  .pc-part-label strong { font-size: 13px; }
  .pc-part-label small {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .pc-part-label .pc-opt { font-size: 10px; }
  .pc-part-status {
    flex: 1 1 100%;
    order: 5;
    font-size: 12px;
    padding-inline-end: 4px;
  }
  .pc-part-hint { font-size: 11.5px; }
  .pc-part-chosen b {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.35;
  }
  .pc-part-meta {
    margin-inline-start: auto;
  }
  .pc-part-count {
    min-width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .pc-summary {
    padding: 14px;
    border-radius: 16px;
  }
  .pc-summary-head { margin-bottom: 10px; gap: 10px; }
  .pc-summary-head h2 { font-size: 15px; }
  .pc-summary-sub { font-size: 11px; }
  .pc-summary-ring {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }
  .pc-summary-list {
    gap: 8px;
    margin-bottom: 12px;
  }
  .pc-summary-list li {
    padding-bottom: 8px;
    font-size: 12px;
  }
  .pc-summary-list b {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: normal;
    line-height: 1.4;
  }
  .pc-summary-list small {
    white-space: normal;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  .pc-summary-locked {
    font-size: 12px;
    padding: 11px 12px;
  }
  .pc-summary-price {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    padding: 12px;
  }
  .pc-summary-price b { font-size: 22px; }
  .pc-summary-count {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .pc-summary-actions {
    display: grid;
    gap: 8px;
  }
  .pc-summary-actions .pc-copy,
  .pc-summary-actions .pc-reset,
  .pc-copy,
  .pc-reset {
    margin-top: 0;
    padding: 12px;
    font-size: 13px;
    min-height: 44px;
  }
  .pc-summary-actions .btn {
    min-height: 46px;
  }

  .pc-tips {
    padding: 14px;
    border-radius: 14px;
  }
  .pc-tips h3 {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .pc-tips ul { gap: 8px; }
  .pc-tips li {
    font-size: 12px;
    line-height: 1.5;
  }

  .pc-modal-backdrop {
    place-items: end center;
    align-items: end;
    padding: 0;
  }
  .pc-modal {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(92dvh, 920px);
    border-radius: 18px 18px 0 0;
    display: flex;
    flex-direction: column;
  }
  .pc-modal-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px 10px;
  }
  .pc-modal-head h2 { font-size: 18px; }
  .pc-modal-head-hint {
    display: block;
    margin-top: 6px;
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1.45;
  }
  .pc-modal-tools {
    width: 100%;
  }
  .pc-modal-search {
    flex: 1;
    min-height: 44px;
  }
  .pc-modal-search input {
    width: 100%;
    font-size: 16px; /* يمنع زوم iOS */
  }
  .pc-modal-x {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }
  .pc-modal-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-content: start;
    align-items: stretch;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    flex: 1 1 auto;
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  /* بطاقة ثابتة مضغوطة: نفس القياس لقطعة أو عشر قطع */
  .pc-modal-card {
    grid-template-columns: 16px minmax(0, 1fr) 56px;
    gap: 8px 10px;
    align-items: center;
    align-self: start;
    width: 100%;
    height: auto;
    min-height: 72px;
    max-height: none;
    padding: 10px;
    border-radius: 12px;
  }
  .pc-modal-card:disabled { opacity: 0.5; }
  .pc-modal-radio {
    width: 16px;
    height: 16px;
  }
  .pc-modal-copy {
    gap: 2px;
  }
  .pc-modal-copy strong {
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  .pc-modal-copy small { font-size: 11px; }
  .pc-modal-media {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }
  .pc-modal-card .pc-piece-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px 8px;
    margin-top: 2px;
  }
  .pc-modal-card .pc-piece-price i {
    font-size: 10px;
  }
  .pc-modal-card .pc-piece-price b {
    font-size: 12.5px;
  }
  .pc-modal-empty {
    margin: 20px 12px;
    font-size: 14px;
    line-height: 1.55;
  }
}
@media (max-width: 720px) {
  body.pc-modal-open {
    overflow: hidden;
  }
}
.pc-builder.is-instant .pc-rise,
.pc-builder.is-instant .pc-badge i,
.pc-builder.is-instant .pc-hero h1 em,
.pc-builder.is-instant .pc-step-dot.is-on,
.pc-builder.is-instant .pc-ready-pulse,
.pc-builder.is-instant .pc-cart-glow { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .pc-rise,
  .pc-badge i,
  .pc-hero h1 em,
  .pc-step-dot.is-on,
  .pc-ready-pulse,
  .pc-price-reveal,
  .pc-cart-glow,
  .pc-shot-body::after { animation: none !important; }
}

/* —— Account / user dashboard —— */
.price-tier {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffd0d0;
  background: rgba(225, 6, 0, 0.22);
  border: 1px solid rgba(225, 6, 0, 0.35);
  vertical-align: middle;
}
.price-office {
  color: #3dd68c !important;
}
.price-tier-office {
  color: #b8f5d4;
  background: rgba(34, 160, 100, 0.22);
  border-color: rgba(61, 214, 140, 0.4);
}
.price-build {
  color: #4da3ff !important;
}
.price-tier-build {
  color: #c8e4ff;
  background: rgba(40, 120, 220, 0.22);
  border-color: rgba(77, 163, 255, 0.4);
}
.price-na {
  color: var(--muted) !important;
  font-weight: 700;
}
.account-auth {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 40px 0 56px;
  overflow: hidden;
}
.account-auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 360px at 50% 18%, rgba(225, 6, 0, 0.18), transparent 62%),
    radial-gradient(420px 280px at 50% 100%, rgba(80, 10, 10, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%);
  pointer-events: none;
}
.account-auth-inner {
  position: relative;
  width: min(440px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.account-auth-brand {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 8px;
}
/* —— Maintenance —— */
.maint-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 50% -15%, rgba(225, 6, 0, 0.22), transparent 55%),
    radial-gradient(700px 480px at 0% 100%, rgba(60, 8, 8, 0.4), transparent 50%),
    #050505;
}
.maint-rail {
  position: absolute;
  inset-inline: 0;
  z-index: 3;
  height: 34px;
  overflow: hidden;
  border-block: 2px solid rgba(0, 0, 0, 0.55);
  background: #111;
}
.maint-rail-top { top: 0; }
.maint-rail-bot { bottom: 0; }
.maint-rail b {
  display: block;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    -52deg,
    #e10600 0 14px,
    #111 14px 28px
  );
  will-change: transform;
  animation: maint-rail 1s linear infinite;
}
.maint-rail-bot b {
  animation-name: maint-rail-rev;
  animation-duration: 1.25s;
}

.maint-scene {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.maint-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  will-change: transform;
  animation: maint-orb 5s ease-in-out infinite;
}
.maint-orb.o1 {
  width: 280px;
  height: 280px;
  top: 18%;
  inset-inline-start: -40px;
  background: rgba(225, 6, 0, 0.4);
}
.maint-orb.o2 {
  width: 220px;
  height: 220px;
  bottom: 12%;
  inset-inline-end: -30px;
  background: rgba(120, 20, 20, 0.5);
  animation-delay: -2.2s;
}
.maint-scan {
  position: absolute;
  inset-inline: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(225, 6, 0, 0.12), transparent);
  will-change: top, opacity;
  animation: maint-scan 4.2s linear infinite;
}

.maint-hero {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 40%),
    rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: maint-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.maint-logo-wrap { margin-bottom: 4px; }
.maint-logo-img {
  height: 64px;
  max-width: 260px;
  width: auto;
  filter: drop-shadow(0 12px 28px rgba(225, 6, 0, 0.3));
}

.maint-visual {
  position: relative;
  width: 168px;
  height: 124px;
  margin: 4px 0 8px;
  color: #e10600;
}
.maint-gear {
  position: absolute;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 8px 16px rgba(225, 6, 0, 0.25));
}
.maint-gear.g-big {
  inset-inline-start: 6px;
  top: 6px;
  animation: maint-spin 3.6s linear infinite;
}
.maint-gear.g-small {
  inset-inline-end: 8px;
  bottom: 4px;
  color: #ff4d4d;
  animation: maint-spin-rev 2.6s linear infinite;
}
.maint-wrench {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  color: #d0d0d0;
  transform-origin: 30% 70%;
  will-change: transform;
  animation: maint-wrench 1.8s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.maint-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffd0d0;
  background: rgba(225, 6, 0, 0.16);
  border: 1px solid rgba(225, 6, 0, 0.35);
}
.maint-kicker i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e10600;
  animation: maint-blink 1.1s ease-out infinite;
}
.maint-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.maint-lead {
  margin: 0;
  max-width: 36ch;
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.75;
}
.maint-meter {
  width: min(220px, 68%);
  height: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.maint-meter span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a0400, #e10600, #ff5a5a);
  will-change: transform;
  animation: maint-load 1.35s ease-in-out infinite;
}

@keyframes maint-rail {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes maint-rail-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes maint-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(22px, -28px, 0) scale(1.12); }
}
@keyframes maint-scan {
  0% { top: -12%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 0.55; }
  100% { top: 102%; opacity: 0; }
}
@keyframes maint-enter {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes maint-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes maint-spin-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes maint-wrench {
  0%, 100% { transform: rotate(-32deg); }
  50% { transform: rotate(12deg); }
}
@keyframes maint-load {
  0% { transform: translate3d(-120%, 0, 0); }
  100% { transform: translate3d(280%, 0, 0); }
}
@keyframes maint-blink {
  0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.6); opacity: 1; }
  70% { box-shadow: 0 0 0 10px rgba(225, 6, 0, 0); opacity: 0.8; }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); opacity: 1; }
}

@media (max-width: 520px) {
  .maint-hero { padding: 28px 18px 26px; border-radius: 22px; }
  .maint-visual { transform: scale(0.92); }
  .maint-rail { height: 28px; }
}

.account-auth-logo {
  width: min(180px, 52vw);
  height: auto;
  margin: 0 auto 6px;
  filter: drop-shadow(0 10px 24px rgba(225, 6, 0, 0.25));
}
.account-auth-kicker {
  margin: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
}
.account-auth-brand h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
}
.account-auth-brand h1 em {
  font-style: normal;
  color: var(--gold);
}
.account-auth-brand > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
  max-width: 34ch;
}
.account-auth-card {
  width: 100%;
  background: linear-gradient(165deg, rgba(28, 28, 28, 0.96), rgba(16, 16, 16, 0.98));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  text-align: start;
}
.account-form { display: grid; gap: 14px; }
.account-extra {
  display: grid;
  gap: 14px;
  padding-bottom: 2px;
  animation: account-extra-in 0.28s ease;
}
.account-extra[hidden] { display: none !important; }
@keyframes account-extra-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.account-switch {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 4px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  justify-self: center;
}
.account-switch:hover { color: var(--gold); }
.account-form .field { width: 100%; }
.account-form .field > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}
.account-form .field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #b8a090;
  line-height: 1.4;
}
.account-form .field-hint[hidden] { display: none !important; }
.account-form input {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: #0f0f0f;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.account-form input:focus {
  outline: none;
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
}
.pass-input-wrap {
  position: relative;
  display: block;
}
.pass-input-wrap input {
  padding-inline-end: 48px;
}
.pass-peek {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  transition: color 0.15s ease, background 0.15s ease;
}
.pass-peek:hover,
.pass-peek:focus-visible {
  color: #ddd;
  background: rgba(255, 255, 255, 0.04);
}
.pass-peek.is-on {
  color: var(--gold);
  background: rgba(225, 6, 0, 0.1);
}
.pass-peek svg { display: block; pointer-events: none; }
.pass-peek .pass-peek-hide[hidden],
.pass-peek .pass-peek-show[hidden] { display: none !important; }
.account-submit {
  margin-top: 4px;
  min-height: 50px;
  width: 100%;
  font-weight: 800;
}
.account-auth-foot {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.account-dash {
  padding: 36px 0 72px;
}
.account-dash-inner { display: grid; gap: 22px; }
.dash-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(225, 6, 0, 0.16), transparent 55%),
    linear-gradient(160deg, #171717, #101010);
}
.dash-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.dash-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
}
.dash-hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}
.dash-hero-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
}
.dash-hero-user {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: min(100%, 320px);
}
.dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-inline-start: auto;
}
.dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  background: rgba(225, 6, 0, 0.18);
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: #fff;
  flex-shrink: 0;
}
.dash-hero-user strong { display: block; }
.dash-hero-user span { color: var(--muted); font-size: 13px; }
.dash-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #ddd;
}
.dash-badge-office {
  background: rgba(225, 6, 0, 0.18);
  border-color: rgba(225, 6, 0, 0.4);
  color: #ffd0d0;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dash-stat {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.dash-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.dash-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
}
.dash-stat.is-office {
  border-color: rgba(225, 6, 0, 0.35);
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.12), var(--panel));
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: start;
}
.dash-side { display: grid; gap: 14px; }
.dash-panel {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.dash-panel h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dash-panel-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dash-panel-head span { color: var(--muted); font-size: 13px; }
.dash-orders-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #ff2a1f, #b30000);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(225, 6, 0, 0.35);
}
.dash-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.dash-dl > div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dash-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-dl dt { color: var(--muted); font-size: 12px; }
.dash-dl dd { margin: 0; font-weight: 600; }
.dash-panel-cta .btn { margin-top: 8px; }
.dash-panel-cta p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.dash-admin-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: rgba(225, 6, 0, 0.4);
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.14), var(--panel));
}
.dash-admin-entry h2 { margin: 0 0 6px; }
.dash-admin-entry p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.55;
}
.dash-admin-entry .btn { min-height: 46px; padding-inline: 22px; font-weight: 800; }
.dash-office-note {
  border-color: rgba(225, 6, 0, 0.35);
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.1), var(--panel));
}
.dash-office-note p {
  margin: 0;
  color: #ddd;
  line-height: 1.65;
  font-size: 0.95rem;
}
.dash-orders { display: grid; gap: 14px; }
.dash-order {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 42%),
    rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 14px;
}
.dash-order-glow {
  position: absolute;
  inset: auto -20% 40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.35;
}
.dash-order.is-pending .dash-order-glow {
  background: rgba(225, 6, 0, 0.35);
  animation: dash-glow-pulse 2.4s ease-in-out infinite;
}
.dash-order.is-confirmed .dash-order-glow {
  background: rgba(80, 200, 120, 0.4);
  animation: dash-glow-pulse 2.8s ease-in-out infinite;
}
.dash-order.is-shipped .dash-order-glow {
  background: rgba(100, 160, 255, 0.4);
  animation: dash-glow-move 3.2s ease-in-out infinite;
}
.dash-order.is-delivered .dash-order-glow {
  background: rgba(120, 210, 140, 0.28);
}
.dash-order.is-cancelled .dash-order-glow {
  background: rgba(120, 120, 120, 0.25);
}
.dash-order.is-cancelled { opacity: 0.82; }
.dash-order.is-pending { box-shadow: inset 3px 0 0 #e10600; }
.dash-order.is-confirmed { box-shadow: inset 3px 0 0 #3ecf7a; }
.dash-order.is-shipped { box-shadow: inset 3px 0 0 #5aa8ff; }
.dash-order.is-delivered { box-shadow: inset 3px 0 0 #7dce5a; }
.dash-order.is-cancelled { box-shadow: inset 3px 0 0 #777; }

.dash-order-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.dash-order-id {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dash-order-id strong {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #fff;
}
.dash-order-id span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}
.dash-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
}
.dash-status.is-pending {
  color: #ffb4b4;
  background: rgba(225, 6, 0, 0.14);
  border-color: rgba(225, 6, 0, 0.35);
}
.dash-status.is-pending i { animation: dash-dot-pulse 1.4s ease-out infinite; }
.dash-status.is-confirmed {
  color: #b8f0cc;
  background: rgba(62, 207, 122, 0.14);
  border-color: rgba(62, 207, 122, 0.4);
}
.dash-status.is-confirmed i { animation: dash-dot-pulse 1.8s ease-out infinite; color: #3ecf7a; }
.dash-status.is-shipped {
  color: #cfe4ff;
  background: rgba(90, 168, 255, 0.14);
  border-color: rgba(90, 168, 255, 0.4);
}
.dash-status.is-shipped i { animation: dash-dot-ride 1.2s linear infinite; color: #5aa8ff; }
.dash-status.is-delivered {
  color: #d4f5c8;
  background: rgba(125, 206, 90, 0.14);
  border-color: rgba(125, 206, 90, 0.35);
}
.dash-status.is-cancelled {
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.dash-order-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.8fr);
  gap: 14px;
  align-items: start;
}
.dash-order-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dash-order-product {
  margin: 0;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.dash-order-media {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 6, 0, 0.1), transparent 60%),
    #0a0a0a;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.dash-order-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dash-order-media.is-empty::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.dash-order-product figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.dash-order-product figcaption span {
  color: #eee;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dash-order-product figcaption b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.dash-order-product.is-more {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px dashed rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.08);
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  color: #ffd0d0;
}
.dash-order-product.is-more span { font-size: 1.15rem; font-weight: 800; }
.dash-order-product.is-more small { font-size: 11px; font-weight: 700; }
.dash-order-meta {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}
.dash-order-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-size: 12.5px;
}
.dash-order-meta span { color: var(--muted); font-weight: 700; }
.dash-order-meta b { color: #fff; font-weight: 800; }
.dash-order-meta .is-total {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-order-meta .is-total strong {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 1.2rem;
  color: #fff;
}
.dash-order-hint {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}
.dash-order-hint.is-pending {
  border: 1px solid rgba(18, 140, 126, 0.4);
  background: rgba(18, 140, 126, 0.12);
  color: #d7fff6;
}
.dash-order-hint.is-confirmed {
  border: 1px solid rgba(62, 207, 122, 0.35);
  background: rgba(62, 207, 122, 0.1);
  color: #d4ffe4;
}
.dash-order-hint.is-shipped {
  border: 1px solid rgba(90, 168, 255, 0.35);
  background: rgba(90, 168, 255, 0.1);
  color: #dff0ff;
  animation: dash-hint-shine 2.8s ease-in-out infinite;
}
.dash-order-hint.is-delivered {
  border: 1px solid rgba(125, 206, 90, 0.3);
  background: rgba(125, 206, 90, 0.1);
  color: #e5ffd8;
}
.dash-order-hint.is-cancelled {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #bbb;
}
@keyframes dash-glow-pulse {
  0%, 100% { opacity: 0.22; transform: scale(0.92); }
  50% { opacity: 0.5; transform: scale(1.05); }
}
@keyframes dash-glow-move {
  0%, 100% { opacity: 0.25; transform: translateX(0); }
  50% { opacity: 0.55; transform: translateX(-28px); }
}
@keyframes dash-dot-pulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { box-shadow: 0 0 0 8px transparent; opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
@keyframes dash-dot-ride {
  0% { transform: translateX(3px); opacity: 0.55; }
  50% { transform: translateX(-3px); opacity: 1; }
  100% { transform: translateX(3px); opacity: 0.55; }
}
@keyframes dash-hint-shine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .dash-order-glow,
  .dash-status i,
  .dash-order-hint.is-shipped { animation: none !important; }
}
@media (max-width: 720px) {
  .dash-order-body { grid-template-columns: 1fr; }
  .dash-order-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dash-empty {
  text-align: center;
  padding: 36px 16px;
}
.dash-empty strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.dash-empty p { margin: 0 auto 18px; color: var(--muted); max-width: 36ch; }
.dash-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 920px) {
  .dash-grid,
  .dash-stats { grid-template-columns: 1fr; }
  .account-auth {
    min-height: calc(100vh - 120px);
    padding: 24px 0 40px;
    align-items: flex-start;
  }
  .account-auth-inner {
    width: min(420px, 100%);
    gap: 18px;
  }
  .account-auth-card {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }
  .account-auth-brand h1 { font-size: clamp(1.45rem, 6.5vw, 1.85rem); }
  .account-auth-brand > p { font-size: 0.92rem; }
  .dash-hero {
    padding: 18px;
    border-radius: 18px;
  }
  .dash-hero-user {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .dash-hero-actions {
    width: 100%;
    margin-inline-start: 0;
  }
  .dash-hero-actions .btn,
  .dash-hero-actions .btn-ghost {
    flex: 1;
    min-height: 44px;
    justify-content: center;
  }
  .dash-stat strong { font-size: 1.1rem; }
  .dash-panel { padding: 16px; border-radius: 16px; }
}

@media (max-width: 480px) {
  .account-auth .wrap {
    width: min(100% - 24px, 100%);
  }
  .account-form input {
    padding: 13px 12px;
  }
  .account-submit { min-height: 48px; }
}

/* —— Assemblies showcase —— */
.asm-page { padding-bottom: 48px; }
.asm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
}
.asm-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.94) 18%, rgba(8, 8, 8, 0.72) 55%, rgba(8, 8, 8, 0.4)),
    var(--asm-image) center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.9);
}
.asm-hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, var(--bg));
}
.asm-hero-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.asm-hero-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 720px;
}
.asm-hero-badge {
  width: min(168px, 28vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 35%, rgba(225, 6, 0, 0.16), transparent 58%),
    rgba(10, 10, 10, 0.72);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.asm-hero-logo {
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}
.asm-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.asm-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.asm-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 46ch;
}
.asm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.asm-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.12);
  font-size: 13px;
  font-weight: 800;
}
.asm-hero-meta a {
  color: #ffd0cd;
  font-weight: 800;
  font-size: 14px;
}
.asm-shell { display: grid; gap: 18px; }
.asm-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.asm-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.asm-sort-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.asm-sort-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.asm-sort-btn.is-on {
  color: #fff;
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(225, 6, 0, 0.16);
}
.asm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.asm-card {
  --i: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.07), transparent 40%),
    #121212;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  animation: asm-rise 0.55s ease both;
  animation-delay: calc(var(--i) * 55ms);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.asm-card:hover {
  border-color: rgba(225, 6, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
}
.asm-card.is-featured {
  border-color: rgba(225, 6, 0, 0.35);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.14), transparent 42%),
    #141010;
}
.asm-card.is-oos { opacity: 0.72; }
@keyframes asm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.asm-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 6, 0, 0.1), transparent 55%),
    #0c0c0c;
}
.asm-media img,
.asm-media .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.35s ease;
}
.asm-card:hover .asm-media img { transform: scale(1.03); }
.asm-kind {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  background: #e10600;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.asm-flag {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff1f1a, var(--gold-2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.35);
}
.asm-copy {
  display: grid;
  gap: 8px;
  flex: 1;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  padding: 12px 12px 12px;
}
.asm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: #8f8885;
  font-size: 11px;
  font-weight: 700;
}
.asm-meta b {
  color: #ffb4b4;
  font-weight: 800;
}
.asm-copy h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.asm-copy h2 a:hover { color: #ffd0cd; }
.asm-specs {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}
.asm-specs li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.35;
}
.asm-specs li:last-child { border-bottom: 0; }
.asm-specs li span {
  color: #8f8885;
  font-size: 11px;
  font-weight: 700;
  padding-top: 1px;
}
.asm-specs li b {
  color: #ece8e6;
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}
.asm-lead { display: none; }
.asm-panel {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.asm-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.asm-price-row.is-sale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
}
.asm-price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  min-width: 0;
}
.asm-price-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.asm-page .asm-price-row .price,
.asm-page .asm-price-row .price-build,
.asm-page .asm-price-row .price-office,
.apd-page .asm-price-row .price,
.apd-page .asm-price-row .price-build,
.apd-page .asm-price-row .price-office {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold) !important;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.asm-page .asm-price-row .price,
.asm-page .asm-price-row .price-build,
.asm-page .asm-price-row .price-office {
  color: #fff !important;
}
.apd-page .asm-price-row .price,
.apd-page .asm-price-row .price-build {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.asm-price-row .price-old,
.apd-page .asm-price-row .price-old {
  color: #8a8a8a;
  text-decoration: line-through;
  font-size: 13.5px;
  font-weight: 600;
}
.apd-page .asm-price-row .discount-pill,
.asm-page .asm-price-row .discount-pill {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(225, 6, 0, 0.2);
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: #ff8a84;
}
.asm-price-row .price-tier {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.14);
  color: #ffd0cd;
  font-size: 11.5px;
  font-weight: 800;
}
.asm-price-row .price-tier-office {
  border-color: rgba(80, 180, 255, 0.35);
  background: rgba(80, 180, 255, 0.14);
  color: #cfefff;
}
.asm-actions {
  display: grid;
  gap: 8px;
}
.asm-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.asm-actions .btn,
.asm-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding-inline: 10px;
  font-size: 13px;
  width: 100%;
  border-radius: 12px;
}
.asm-btn-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.asm-btn-wa {
  background: #128c7e;
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(18, 140, 126, 0.28);
}
.asm-btn-wa:hover {
  filter: brightness(1.08);
  color: #fff;
}
.asm-btn-wa:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
  box-shadow: none;
}

@media (max-width: 980px) {
  .asm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .asm-hero-inner {
    padding: 36px 0 28px;
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .asm-hero-badge {
    order: -1;
    width: 112px;
    padding: 14px;
    border-radius: 22px;
  }
  .asm-hero-logo { max-height: 64px; }
}
@media (max-width: 640px) {
  .asm-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .asm-card { animation: none; }
}

/* —— Assembly product detail —— */
.apd-page {
  padding: 18px 0 56px;
  overflow-x: clip;
}
.apd-top {
  display: grid;
  gap: 18px;
}
.apd-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.apd-crumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.apd-crumb a { color: #ffb4b4; }
.apd-crumb a:hover { color: #ffd0cd; }

.apd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 22px 28px;
  align-items: start;
}

/* Gallery */
.apd-gallery {
  min-width: 0;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #101010;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}
.apd-gallery .pdp-gallery {
  gap: 12px;
}
.apd-gallery .pdp-stage {
  border-radius: 18px;
  border-color: rgba(80, 10, 10, 0.45);
  background:
    radial-gradient(circle at 50% 38%, rgba(225, 6, 0, 0.14), transparent 55%),
    #0a0a0a;
}
.apd-gallery .pdp-stage-frame {
  aspect-ratio: 1 / 1;
  max-height: none;
  min-height: min(520px, 58vw);
}
.apd-gallery .pdp-stage-frame img,
.apd-gallery .pdp-stage-frame .ph {
  padding: 18px;
  object-fit: contain;
}
.apd-gallery .pdp-thumbs-slider {
  margin-top: 2px;
}
.apd-gallery .pdp-thumbs {
  justify-content: flex-start;
  gap: 8px;
  padding: 2px 0 4px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.apd-gallery .pdp-thumb {
  flex: 0 0 70px;
  width: 70px;
  border-radius: 12px;
}
.apd-gallery .pdp-thumbs-nav {
  width: 34px;
  height: 34px;
}

/* Buy column */
.apd-buy {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 4px 2px;
}
.apd-buy .pdp-admin-quick { margin-top: 2px; }
.apd-buy.is-gpu {
  gap: 16px;
}
.apd-buy.is-gpu .apd-price-block.is-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-top: 2px;
  padding: 18px 20px;
  border: 1px solid rgba(225, 6, 0, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.16), rgba(225, 6, 0, 0.04)),
    #121212;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.apd-total-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.apd-total-copy span {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}
.apd-total-copy small {
  color: #ffb4b4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.apd-buy.is-gpu .apd-price-block.is-total .price-build {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff !important;
  white-space: nowrap;
}
.apd-buy-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.apd-buy-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 14px;
  padding: 6px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.08);
}
.apd-buy-brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.apd-buy-brand-copy strong {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}
.apd-buy-brand-copy p {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #ff8f8f;
  font-size: 12px;
  font-weight: 800;
}
.apd-buy-brand-copy i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.apd-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.apd-eyebrow.soft { color: var(--gold); }
.apd-buy h1,
.apd-title {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 6px;
  font-size: inherit;
  font-weight: 800;
}
.apd-title-main {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.apd-title-sub {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.4;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  overflow-wrap: break-word;
}
.apd-title.is-split .apd-title-main {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(225, 6, 0, 0.28);
  width: fit-content;
  max-width: 100%;
}

.apd-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.apd-stat {
  display: grid;
  gap: 2px;
  padding: 11px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}
.apd-stat.is-ok { border-color: rgba(61, 214, 140, 0.28); }
.apd-stat.is-oos { border-color: rgba(225, 6, 0, 0.35); }
.apd-stat b {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.apd-stat small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.apd-price-block { display: grid; gap: 6px; }
.apd-price .asm-price-row {
  align-items: center;
  gap: 10px 12px;
}
.apd-price .asm-price-row.is-sale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(225, 6, 0, 0.22);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.apd-price .asm-price-main {
  display: inline-flex;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  align-items: center;
  gap: 8px 12px;
}
.apd-price .asm-price-row .price-old {
  font-size: 15px;
  color: #9a9a9a;
}
.apd-price .asm-price-row .discount-pill {
  align-self: center;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}
.apd-price .asm-price-row .price-tier {
  flex: 0 0 auto;
}
.apd-price-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}
.gpu-notice {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.gpu-notice[hidden] { display: none; }
.gpu-notice.is-open {
  pointer-events: auto;
  opacity: 1;
}
.gpu-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.gpu-notice-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(225, 6, 0, 0.28), transparent 58%),
    linear-gradient(180deg, #1a1a1a 0%, #101010 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 70px rgba(0, 0, 0, 0.62);
  text-align: center;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.24s ease;
}
.gpu-notice-dialog::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e10600 30%, #ff5a52 70%, transparent);
}
.gpu-notice.is-open .gpu-notice-dialog {
  transform: translateY(0) scale(1);
}
.gpu-notice-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border-radius: 18px;
  color: #fff;
  background: rgba(225, 6, 0, 0.16);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 0.45);
}
.gpu-notice-x {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.gpu-notice-x:hover {
  border-color: rgba(225, 6, 0, 0.5);
  background: rgba(225, 6, 0, 0.16);
}
.gpu-notice-kicker {
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.12);
  color: #ffb4b4;
  font-size: 12.5px;
  font-weight: 800;
}
.gpu-notice-dialog h2 {
  margin: 2px 0 6px;
  max-width: 16ch;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.45;
}
.gpu-notice-ok {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
}
body.gpu-notice-open { overflow: hidden; }
.apd-gpu {
  display: grid;
  gap: 12px;
}
.apd-gpu-alert {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
  color: #ffd0d0;
  font-size: 14px;
  font-weight: 800;
}
.apd-gpu-head h2 {
  margin: 0;
  font-size: 18px;
}
.apd-gpu-head p,
.apd-gpu-empty {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.apd-gpu-list {
  display: grid;
  gap: 8px;
}
.apd-gpu-opt {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #121212;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.apd-gpu-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.apd-gpu-opt.is-on {
  border-color: rgba(225, 6, 0, 0.75);
  background: rgba(225, 6, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 0.28);
}
.apd-gpu-opt.is-oos {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.apd-gpu-opt.is-oos .apd-gpu-price {
  color: #ffb4b4;
}
.apd-gpu-media,
.apd-gpu-media img,
.apd-gpu-none,
.apd-gpu-media .ph {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}
.apd-gpu-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid var(--line);
}
.apd-gpu-media img {
  object-fit: contain;
}
.apd-gpu-none {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.apd-gpu-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.apd-gpu-copy strong {
  font-size: 14px;
  line-height: 1.35;
}
.apd-gpu-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.apd-gpu-price {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.apd-gpu-math {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.apd-gpu-math li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 13px;
}
.apd-gpu-math li:last-child {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: #fff;
  font-size: 15px;
}
.apd-gpu-math strong {
  color: #e10600;
  font-size: 18px;
}
.cart-offer-math {
  list-style: none;
  margin: 0;
  padding: 0 2px;
  display: grid;
  gap: 6px;
}
.cart-offer-math li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.cart-offer-math b { color: #fff; }
@media (max-width: 720px) {
  .apd-buy.is-gpu .apd-price-block.is-total {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .apd-gpu-opt {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .apd-gpu-media,
  .apd-gpu-media img,
  .apd-gpu-none,
  .apd-gpu-media .ph {
    width: 52px;
    height: 52px;
  }
  .apd-gpu-price {
    grid-column: 2;
  }
}
.apd-cta {
  display: grid;
  gap: 10px;
}
.apd-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.apd-cta-buy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.apd-qty {
  min-height: 54px;
  border-radius: 14px;
}
.apd-add {
  min-height: 54px;
  width: 100%;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(225, 6, 0, 0.28);
}
.apd-cta-alt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.apd-cta-alt.is-solo { grid-template-columns: 1fr; }
.apd-wa,
.apd-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
}
.apd-wa {
  background: #128c7e;
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 140, 126, 0.22);
}
.apd-wa:hover { filter: brightness(1.08); color: #fff; }
button.apd-wa {
  border: 0;
  font: inherit;
  width: 100%;
  cursor: pointer;
}
.apd-wa:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
  box-shadow: none;
}
.apd-more {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ffd0cd;
}
.apd-more:hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.1);
  color: #fff;
}
.apd-more-inline {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

/* Body: list design (restored) + hero mobile rules */
.apd-body {
  display: grid;
  gap: 40px;
  padding-top: 36px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.apd-split {
  display: grid;
  gap: 22px;
  align-items: start;
}
.apd-split.has-both {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.apd-split.has-both .apd-sheet,
.apd-split.has-both .apd-about {
  min-width: 0;
  height: 100%;
}
.apd-split.has-both .apd-about {
  position: static;
  display: flex;
  flex-direction: column;
}
.apd-split.has-both .apd-about-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.apd-split.has-both .apd-about-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.apd-sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.apd-sheet-head h2,
.apd-about h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.apd-sheet-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(225, 6, 0, 0.12);
  color: #ffd0cd;
  font-size: 12.5px;
  font-weight: 800;
}
.apd-sheet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.9);
  overflow: hidden;
}
.apd-sheet-list li {
  --i: 0;
  animation: asm-rise 0.45s ease both;
  animation-delay: calc(var(--i) * 35ms);
}
.apd-sheet-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.apd-sheet-row {
  display: grid;
  grid-template-columns: 44px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}
.apd-sheet-row:hover {
  background: rgba(225, 6, 0, 0.08);
}
.apd-sheet-row.is-chosen-gpu {
  background: rgba(225, 6, 0, 0.1);
  box-shadow: inset -3px 0 0 #e10600;
}
.apd-about-list [data-assembly-gpu-spec] {
  background: rgba(225, 6, 0, 0.1);
}
.apd-sheet-num {
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  font-style: normal;
  text-align: center;
}
.apd-sheet-media {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 6, 0, 0.1), transparent 55%),
    #0c0c0c;
}
.apd-sheet-media img,
.apd-sheet-media .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  box-sizing: border-box;
}
.apd-sheet-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.apd-sheet-copy strong {
  color: #ff8f8f;
  font-size: 11.5px;
  font-weight: 800;
}
.apd-sheet-copy b {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apd-about {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(225, 6, 0, 0.08), transparent 42%),
    rgba(16, 16, 16, 0.9);
  box-sizing: border-box;
}
.apd-about-body {
  margin-top: 8px;
  min-height: 0;
}
.apd-about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.apd-about-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.apd-split.has-both .apd-about-list li:not(.apd-about-intro) {
  flex: 1 1 0;
}
.apd-about-list li:last-child { border-bottom: 0; }
.apd-about-list li.apd-about-intro {
  display: block;
  flex: 0 0 auto;
  grid-template-columns: none;
  padding: 14px 16px;
  color: #ffd0cd;
  font-size: 14px;
  font-weight: 800;
  background: rgba(225, 6, 0, 0.1);
  border-bottom-color: rgba(225, 6, 0, 0.2);
}
.apd-about-list li span {
  color: #ff8f8f;
  font-size: 12.5px;
  font-weight: 800;
}
.apd-about-list li b {
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}
.apd-related .asm-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .apd-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .apd-gallery { order: -1; }
  .apd-gallery .pdp-stage-frame { min-height: 0; }
  .apd-split.has-both { grid-template-columns: 1fr; }
  .apd-about { position: static; }
  .apd-related .asm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .apd-page { padding-top: 12px; }
  .apd-gallery { padding: 10px; border-radius: 18px; }
  .apd-gallery .pdp-thumb { flex: 0 0 62px; width: 62px; }
  .apd-cta-buy,
  .apd-cta-alt { grid-template-columns: 1fr; }
  .apd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apd-stat { padding: 10px 6px; }
  .apd-stat b { font-size: 1.05rem; }
  .apd-title-main { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .apd-sheet-row {
    grid-template-columns: 36px 52px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .apd-about { padding: 16px; }
}
@media (max-width: 640px) {
  .apd-related .asm-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .apd-sheet-list li { animation: none; }
}
/* —— صفحة من نحن /about —— */
.about-page { position: relative; }
.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid rgba(225, 6, 0, 0.18);
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.45;
}
.about-hero-orb-a {
  width: 320px;
  height: 320px;
  inset-block-start: -80px;
  inset-inline-end: -40px;
  background: rgba(225, 6, 0, 0.38);
  animation: about-orb 9s ease-in-out infinite;
}
.about-hero-orb-b {
  width: 240px;
  height: 240px;
  inset-block-end: -60px;
  inset-inline-start: -50px;
  background: rgba(120, 10, 10, 0.5);
  animation: about-orb 11s ease-in-out infinite reverse;
}
.about-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(225, 6, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.about-kicker,
.about-eyebrow {
  margin: 0 0 10px;
  color: #cfcfcf;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.about-eyebrow { color: var(--gold); }
.about-brand {
  margin: 0;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 10vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
}
.about-brand em {
  color: var(--gold);
  font-style: normal;
}
.about-tagline {
  margin: 18px 0 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.about-lead {
  margin: 14px 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.about-hero-actions { margin-top: 28px; }

.about-story { padding-block: 40px 20px; }
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}
.about-story-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  line-height: 1.25;
}
.about-story-copy h2 span { color: var(--gold); }
.about-story-copy p {
  margin: 0 0 12px;
  color: #c8c8c8;
  line-height: 1.9;
  font-size: 15.5px;
}
.about-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(225, 6, 0, 0.18), rgba(20, 20, 20, 0.92) 55%),
    var(--panel);
  box-shadow: var(--panel-edge);
  overflow: hidden;
}
.about-quote-mark {
  font-family: Rajdhani, sans-serif;
  font-size: 72px;
  line-height: 0.6;
  color: rgba(225, 6, 0, 0.55);
  font-weight: 700;
}
.about-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #eee;
}
.about-quote strong {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.about-section-head { margin-bottom: 22px; }
.about-pillars { padding-block: 28px; }
.about-pillars-list {
  display: grid;
  gap: 14px;
}
.about-pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent), var(--panel);
  border: 1px solid rgba(225, 6, 0, 0.12);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.about-pillar:hover {
  border-color: rgba(225, 6, 0, 0.35);
  transform: translateY(-2px);
}
.about-pillar-n {
  font-family: Rajdhani, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 2ch;
}
.about-pillar h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.about-pillar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14.5px;
}

.about-motto {
  position: relative;
  margin: 12px 0 8px;
  padding: clamp(36px, 6vw, 64px) 0;
  border-block: 1px solid rgba(225, 6, 0, 0.16);
  background:
    radial-gradient(600px 220px at 80% 0%, rgba(225, 6, 0, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(225, 6, 0, 0.06), transparent);
}
.about-motto-inner { max-width: 760px; }
.about-motto h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.35;
}
.about-motto p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
  max-width: 58ch;
}

.about-flow { padding-block: 32px; }
.about-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.about-flow-item {
  position: relative;
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(21, 21, 21, 0.9);
  border: 1px solid var(--line);
  min-height: 100%;
}
.about-flow-item::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.7;
}
.about-flow-n {
  display: block;
  margin-bottom: 12px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
}
.about-flow-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.about-flow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.about-trust { padding-block: 8px 24px; }
.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.about-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 14px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid rgba(225, 6, 0, 0.1);
}
.about-trust-item > span {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 16px;
}
.about-trust-item b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.about-trust-item small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.about-contact { padding-bottom: 40px; }

.about-page .about-hero-inner,
.about-page .about-story-grid,
.about-page .about-pillar,
.about-page .about-motto-inner,
.about-page .about-flow-item {
  animation: about-rise 0.7s ease both;
}
.about-page .about-story-grid { animation-delay: 0.08s; }
.about-page .about-pillar:nth-child(1) { animation-delay: 0.12s; }
.about-page .about-pillar:nth-child(2) { animation-delay: 0.18s; }
.about-page .about-pillar:nth-child(3) { animation-delay: 0.24s; }
.about-page .about-motto-inner { animation-delay: 0.1s; }
.about-page .about-flow-item:nth-child(1) { animation-delay: 0.08s; }
.about-page .about-flow-item:nth-child(2) { animation-delay: 0.14s; }
.about-page .about-flow-item:nth-child(3) { animation-delay: 0.2s; }
.about-page .about-flow-item:nth-child(4) { animation-delay: 0.26s; }

@keyframes about-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.08); }
}
@keyframes about-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .about-flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .about-hero { padding-block: 36px 32px; }
  .about-brand { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .about-tagline { font-size: 1.25rem; }
  .about-pillar { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .about-flow-list,
  .about-trust-grid { grid-template-columns: 1fr; }
  .about-quote { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero-orb-a,
  .about-hero-orb-b,
  .about-page .about-hero-inner,
  .about-page .about-story-grid,
  .about-page .about-pillar,
  .about-page .about-motto-inner,
  .about-page .about-flow-item {
    animation: none;
  }
}

/* خريطة المكتب — من نحن */
.about-map { padding-block: 12px 28px; }
.about-map-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.1), rgba(16, 16, 16, 0.96) 50%);
  border: 1px solid rgba(225, 6, 0, 0.18);
  box-shadow: var(--panel-edge);
}
.about-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 8px 6px;
}
.about-map-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.3;
}
.about-map-copy .muted {
  margin: 0;
  line-height: 1.75;
}
.about-map-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
}
.about-map-address i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.18);
}
.about-map-actions { margin-top: 10px; }
.about-map-frame {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.about-map-fallback {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 24px;
  text-align: center;
}
@media (max-width: 860px) {
  .about-map-panel { grid-template-columns: 1fr; }
  .about-map-frame { min-height: 240px; }
}

/* —— صفحة شراء أقساط /installments —— دليل سوبر كي */
.inst-page { position: relative; padding-block: 18px 40px; }
.inst-guide-wrap { padding-block: 8px; }
.inst-guide {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(225, 6, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #171717, #101010);
  border: 1px solid rgba(225, 6, 0, 0.18);
  box-shadow: var(--panel-edge);
}
.inst-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.inst-guide-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-family: Rajdhani, Tajawal, sans-serif;
}
.inst-guide-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.inst-guide-lead {
  margin: 10px 0 0;
  max-width: 52ch;
  color: #a8a8a8;
  font-size: 14.5px;
  line-height: 1.8;
}
.inst-guide-lead b { color: #fff; font-weight: 800; }
.inst-guide-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.inst-guide-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(225, 6, 0, 0.35);
}
.inst-guide-wa {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: #128c7e;
  color: #fff;
  line-height: 0;
  box-shadow: 0 8px 18px rgba(18, 140, 126, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.inst-guide-wa svg {
  display: block;
  width: 20px;
  height: 20px;
}
.inst-guide-wa:hover {
  background: #25d366;
  border-color: rgba(37, 211, 102, 0.55);
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.inst-guide-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  align-items: start;
}

.inst-guide-steps {
  display: grid;
  gap: 14px;
  align-content: start;
}
.inst-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.inst-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  inset-inline-start: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.12), #e10600 8%, #e10600 92%, rgba(225, 6, 0, 0.12));
  border-radius: 999px;
}
.inst-timeline-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  position: relative;
}
.inst-timeline-n {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: Rajdhani, Tajawal, sans-serif;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.95), 0 0 0 6px rgba(225, 6, 0, 0.22);
}
.inst-timeline-card {
  min-height: 92px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.inst-timeline-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.inst-timeline-card p {
  margin: 0;
  color: #9a9a9a;
  font-size: 14.5px;
  line-height: 1.7;
}
.inst-guide-note {
  margin: 2px 0 0;
  margin-inline-start: 56px;
  padding: 15px 18px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid rgba(225, 6, 0, 0.28);
  color: #cfcfcf;
  font-size: 14.5px;
  line-height: 1.75;
}
.inst-guide-note b {
  color: var(--gold);
  margin-inline-end: 4px;
}
.inst-guide-note strong {
  color: #fff;
  font-weight: 800;
}

.inst-guide-video {
  position: sticky;
  top: 88px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 4px;
}
.inst-guide-video h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}
.inst-guide-video-hint {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 28ch;
}
.inst-guide-video-cta {
  margin-top: 8px;
  width: min(100%, 240px);
  justify-content: center;
}

.inst-phone {
  width: min(100%, 380px);
  margin-top: 10px;
  padding: 14px 13px 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, #2a2a2a, #141414);
  border: 2px solid #3a3a3a;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}
.inst-phone.is-player {
  width: min(100%, 400px);
}
.inst-phone-notch {
  width: 110px;
  height: 11px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #0a0a0a;
}
.inst-phone-screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0c0c0c;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.inst-phone-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  vertical-align: middle;
}
.inst-phone-video::-webkit-media-controls { display: none !important; }
.inst-phone-video::-webkit-media-controls-enclosure { display: none !important; }
.inst-phone-bigplay {
  --inst-play-size: 76px;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: var(--inst-play-size);
  height: var(--inst-play-size);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(160deg, #ff2a2a 0%, #e10600 48%, #9f0400 100%);
  box-shadow:
    0 0 0 10px rgba(225, 6, 0, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    filter 0.2s ease;
  animation: inst-play-pulse 2.4s ease-in-out infinite;
}
.inst-phone-bigplay::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: radial-gradient(circle, rgba(225, 6, 0, 0.14), transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.inst-phone-bigplay::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 53%;
  width: 0;
  height: 0;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.inst-phone-bigplay:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: rgba(255, 255, 255, 0.45);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 12px rgba(225, 6, 0, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  animation-play-state: paused;
}
.inst-phone-bigplay:active {
  transform: translate(-50%, -50%) scale(0.97);
}
.inst-phone.is-playing .inst-phone-bigplay {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
  animation: none;
}
@keyframes inst-play-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 10px rgba(225, 6, 0, 0.12),
      0 14px 36px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 16px rgba(225, 6, 0, 0.08),
      0 16px 40px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .inst-phone-bigplay { animation: none; }
}
.inst-phone-controls {
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 10px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  direction: ltr;
  touch-action: none;
}
.inst-phone-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.inst-phone-seek {
  --seek: 0%;
  position: relative;
  width: 100%;
  height: 28px;
  display: grid;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  outline: none;
}
.inst-phone-seek:focus-visible {
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.45);
  border-radius: 999px;
}
.inst-phone-seek-track,
.inst-phone-seek-fill {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}
.inst-phone-seek-track {
  background: rgba(255, 255, 255, 0.22);
}
.inst-phone-seek-fill {
  width: var(--seek);
  background: var(--gold);
}
.inst-phone-seek-thumb {
  position: absolute;
  top: 50%;
  inset-inline-start: var(--seek);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.inst-phone.is-seeking .inst-phone-seek-thumb {
  transform: translate(-50%, -50%) scale(1.12);
}
.inst-phone-time {
  min-width: 7.5ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}
.inst-phone-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120px 80px at 50% 35%, rgba(225, 6, 0, 0.35), transparent 70%),
    linear-gradient(160deg, #1a1212, #0a0a0a 60%);
}
.inst-phone-bubble {
  position: absolute;
  inset-block-start: 18%;
  inset-inline: 10%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #e10600;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.inst-phone-bubble::after {
  content: "";
  position: absolute;
  inset-block-end: -6px;
  inset-inline-start: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.inst-phone-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.45);
  position: relative;
}
.inst-phone-play::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 54%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.inst-phone-bar {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 16px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.inst-phone-bar i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.inst-guide-body,
.inst-timeline-item,
.inst-phone {
  animation: inst-rise 0.65s ease both;
}
.inst-timeline-item:nth-child(1) { animation-delay: 0.05s; }
.inst-timeline-item:nth-child(2) { animation-delay: 0.1s; }
.inst-timeline-item:nth-child(3) { animation-delay: 0.15s; }
.inst-timeline-item:nth-child(4) { animation-delay: 0.2s; }
.inst-timeline-item:nth-child(5) { animation-delay: 0.25s; }
.inst-timeline-item:nth-child(6) { animation-delay: 0.3s; }
.inst-phone { animation-delay: 0.12s; }

@keyframes inst-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .inst-guide-body {
    grid-template-columns: 1fr;
  }
  .inst-guide-video {
    position: static;
    order: -1;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
  }
  .inst-phone { width: min(100%, 320px); }
  .inst-phone.is-player { width: min(100%, 340px); }
  .inst-guide-video-hint { max-width: 36ch; }
}
@media (max-width: 640px) {
  .inst-page { padding-block: 8px 28px; }
  .inst-guide { padding: 16px 12px; border-radius: 16px; }
  .inst-guide-head { margin-bottom: 16px; padding-bottom: 14px; }
  .inst-guide-copy h1 { font-size: 1.45rem; }
  .inst-guide-lead { font-size: 13.5px; }
  .inst-timeline { gap: 12px; }
  .inst-timeline::before {
    inset-inline-start: 18px;
    top: 20px;
    bottom: 20px;
  }
  .inst-timeline-n { width: 38px; height: 38px; font-size: 16px; }
  .inst-timeline-item { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .inst-timeline-card { min-height: 84px; padding: 14px 15px; }
  .inst-timeline-card h3 { font-size: 16px; }
  .inst-timeline-card p { font-size: 13.5px; }
  .inst-guide-note { margin-inline-start: 50px; padding: 13px 15px; font-size: 13.5px; }
  .inst-phone { width: min(100%, 280px); }
  .inst-phone.is-player { width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .inst-guide-body,
  .inst-timeline-item,
  .inst-phone {
    animation: none;
  }
}