/* =============================================
   ZEKAA Store — Theme v5 — Pixel-Perfect Match
   ============================================= */

/* === ROOT VARIABLES === */
:root {
  --pm-max: min(1440px, calc(100vw - 40px));
  --pm-bg: #080520;
  --pm-bg-elevated: #0f0b30;
  --pm-surface: rgba(100,30,220,0.07);
  --pm-surface-hover: rgba(100,30,220,0.14);
  --pm-glass: rgba(8,5,32,0.93);
  --pm-border: rgba(120,50,240,0.22);
  --pm-border-hover: rgba(160,100,255,0.5);
  --pm-primary: #7c3aed;
  --pm-primary-2: #9333ea;
  --pm-primary-light: #c4b5fd;
  --pm-primary-glow: rgba(124,58,237,0.6);
  --pm-accent: #a78bfa;
  --pm-accent-2: #8b5cf6;
  --pm-accent-glow: rgba(167,139,250,0.5);
  --pm-success: #22c55e;
  --pm-danger: #ef4444;
  --pm-text: #eeeaff;
  --pm-text-secondary: #807caa;
  --pm-text-tertiary: #4e4a6a;
  --pm-gradient: linear-gradient(135deg,#8820ee 0%,#6b18d0 55%,#5412a8 100%);
  --pm-gradient-hot: linear-gradient(135deg,#a78bfa 0%,#7c3aed 50%,#5b21b6 100%);
  --pm-gradient-text: linear-gradient(135deg,#ede9fe 0%,#c4b5fd 45%,#a78bfa 100%);
  --pm-shadow: 0 0 0 1px rgba(100,30,220,0.15),0 8px 32px rgba(0,0,0,0.55);
  --pm-shadow-lg: 0 0 0 1px rgba(100,30,220,0.2),0 20px 60px rgba(0,0,0,0.65);
  --pm-glow-sm: 0 0 20px rgba(100,30,220,0.38);
  --pm-glow-md: 0 0 32px rgba(100,30,220,0.52),0 0 64px rgba(80,20,180,0.18);
  --pm-glow-cyan: 0 0 24px rgba(140,90,255,0.42);
}

/* === FULL-WIDTH LAYOUT === */
.pm-wrap,
.pm-header__top,
.pm-header__sub,
.pm-footer .pm-wrap {
  width: 100%;
  max-width: var(--pm-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 32px);
}

body.pm-app { overflow-x: hidden; }

/* === BODY === */
body.pm-app { background: #080520; }

/* === BACKGROUND === */
.pm-bg__aurora {
  background:
    radial-gradient(ellipse 65% 55% at 5% -15%, rgba(80,20,200,0.32), transparent 55%),
    radial-gradient(ellipse 55% 50% at 98% 0%,   rgba(60,15,160,0.22), transparent 52%),
    radial-gradient(ellipse 50% 45% at 50% 115%, rgba(100,30,220,0.12), transparent 48%);
}

/* === LIGHTNING BOLT — vivid dual-tone purple === */
.pm-bg__bolt {
  right: 9%;
  top: 8%;
  width: min(190px, 14vw);
  height: min(340px, 42vh);
  opacity: 0.75;
  background: linear-gradient(178deg,
    transparent 0%, transparent 25%,
    rgba(230,190,255,0.95) 25%, rgba(200,140,255,1) 33%,
    rgba(160,80,255,0.98) 38%, rgba(130,50,240,0.95) 43%,
    transparent 43%, transparent 50%,
    rgba(190,120,255,0.92) 50%, rgba(150,70,250,0.95) 58%,
    rgba(110,40,220,0.88) 65%, rgba(80,20,180,0.82) 71%,
    transparent 71%
  );
  clip-path: polygon(
    45% 0%, 65% 0%,
    54% 34%,
    78% 30%,
    35% 100%, 22% 100%,
    40% 62%,
    15% 66%
  );
  filter:
    drop-shadow(0 0 6px  rgba(210,160,255,0.9))
    drop-shadow(0 0 14px rgba(170,100,255,0.6))
    drop-shadow(0 0 30px rgba(130,50,240,0.4))
    drop-shadow(0 0 60px rgba(90,20,200,0.22));
}

/* Mirror the bolt for Arabic/RTL so it stays tucked behind the product
   cards instead of cutting through the headline copy, which sits on the
   opposite side once the layout flips. */
[dir="rtl"] .pm-bg__bolt {
  right: auto;
  left: 9%;
  transform: scaleX(-1);
}

/* Keep the global bolt off the homepage — hero renders its own contained bolt */
body:has(.zk-hero) .pm-bg__bolt { display: none; }

/* Orbs */
.pm-bg__orb--1 { background: radial-gradient(circle, rgba(80,20,200,0.24) 0%, transparent 70%); }
.pm-bg__orb--2 { background: radial-gradient(circle, rgba(60,15,160,0.18) 0%, transparent 70%); }
.pm-bg__orb--3 { background: radial-gradient(circle, rgba(100,30,220,0.14) 0%, transparent 70%); }

/* === HEADER === */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,5,32,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120,50,240,0.18);
  transition: background 0.3s, box-shadow 0.3s;
}
.pm-header.is-scrolled {
  background: rgba(8,5,32,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 1px 0 rgba(120,50,240,0.25);
}
.pm-header__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 20px 9px;
}
.pm-header__left { display: flex; align-items: center; gap: 10px; }

/* Brand logo */
.pm-brand {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #f4f0ff 0%, #ddd6fe 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(196,181,253,0.65));
}
.pm-brand img { display: none; }

/* Search */
.pm-header__search {
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.pm-header__search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 48px;
  border-radius: 999px;
  border: 1px solid rgba(120,50,240,0.24);
  background: rgba(15,11,48,0.88);
  color: #eeeaff;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pm-header__search input::placeholder { color: #4e4a6a; }
.pm-header__search input:focus {
  outline: none;
  border-color: rgba(160,100,255,0.55);
  box-shadow: 0 0 0 3px rgba(100,30,220,0.14), 0 0 28px rgba(100,30,220,0.2);
}
.pm-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #4e4a6a;
  pointer-events: none;
}
html[lang="ar"] .pm-search__icon { left: auto; right: 18px; }
html[lang="ar"] .pm-header__search input { padding: 0 48px 0 16px; }

/* Utils — dropdown style (reference mockup) */
.pm-header__utils { display: flex; align-items: center; gap: 10px; }

.pm-util-dd { position: relative; }

.pm-util-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: transparent;
  color: #eeeaff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s;
}

.pm-util-dd__btn:hover { color: #c4b5fd; }

.pm-util-dd__icon {
  width: 18px;
  height: 18px;
  color: #a78bfa;
  flex-shrink: 0;
}

.pm-util-dd__flag {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.pm-util-dd__chev {
  width: 10px;
  height: 10px;
  opacity: 0.65;
  flex-shrink: 0;
}

.pm-util-dd__drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 130px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(120,50,240,0.28);
  background: rgba(10,6,32,0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 80;
}

html[lang="ar"] .pm-util-dd__drop { right: auto; left: 0; }

.pm-util-dd:hover .pm-util-dd__drop,
.pm-util-dd.is-open .pm-util-dd__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pm-util-dd__drop button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #807caa;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

html[lang="ar"] .pm-util-dd__drop button { text-align: right; }

.pm-util-dd__drop button:hover,
.pm-util-dd__drop button.active {
  background: rgba(100,30,220,0.14);
  color: #eeeaff;
}

/* Icon buttons — outline purple */
.pm-header .pm-icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120,50,240,0.35);
  border-radius: 10px;
  background: transparent;
  color: #a78bfa;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.pm-header .pm-icon-btn:hover {
  border-color: rgba(160,100,255,0.6);
  color: #c4b5fd;
  box-shadow: 0 0 16px rgba(100,30,220,0.25);
  background: rgba(100,30,220,0.08);
}

.pm-header .pm-icon-btn svg { width: 18px; height: 18px; }

.pm-icon-btn--user {
  border-radius: 50% !important;
}

.pm-icon-btn--cart { position: relative; }

.pm-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(124,58,237,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Sub-nav */
.pm-header__sub {
  padding: 0 20px 11px;
  border-top: 1px solid rgba(120,50,240,0.08);
}
.pm-subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 9px 0 0;
  flex-wrap: wrap;
}
.pm-subnav > li > a,
.pm-dd > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #807caa;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.pm-subnav > li > a:hover,
.pm-dd > a:hover { color: #eeeaff; background: rgba(100,30,220,0.12); }
.pm-dd { position: relative; }
.pm-dd > a svg { width: 10px; height: 10px; opacity: 0.55; }
.pm-dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 175px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(120,50,240,0.25);
  background: rgba(10,6,32,0.98);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 1px rgba(120,50,240,0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
html[lang="ar"] .pm-dd__menu { left: auto; right: 0; }
.pm-dd:hover .pm-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.pm-dd__menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.8rem;
  color: #807caa;
  transition: background 0.15s, color 0.15s;
}
.pm-dd__menu a:hover { background: rgba(100,30,220,0.14); color: #eeeaff; }

/* Mobile menu */
.pm-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120,50,240,0.25);
  border-radius: 10px;
  background: rgba(15,11,48,0.72);
  cursor: pointer;
  place-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
}
.pm-menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #eeeaff;
  border-radius: 1px;
  margin: 0;
}

/* === HERO — full bleed, mockup 2x2 grid === */
.zk-hero {
  position: relative;
  width: 100%;
  min-height: min(640px, 88vh);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zk-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(32px, 5vw, 56px);
}

.zk-hero__city {
  position: absolute;
  inset: 0;
  background: url('/assets/img/cityscape.svg') center bottom / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.92) 50%, #000 68%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.92) 50%, #000 68%, #000 100%);
}

.zk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 85%, rgba(168,85,247,0.18), transparent 58%),
    radial-gradient(ellipse 55% 50% at 85% 75%, rgba(126,34,206,0.12), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

.zk-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(200px, 22vw);
  height: min(420px, 58vh);
  top: 8%;
  opacity: 0.82;
  background: linear-gradient(178deg,
    transparent 0%, transparent 25%,
    rgba(230,190,255,0.95) 25%, rgba(200,140,255,1) 33%,
    rgba(160,80,255,0.98) 38%, rgba(130,50,240,0.95) 43%,
    transparent 43%, transparent 50%,
    rgba(190,120,255,0.92) 50%, rgba(150,70,250,0.95) 58%,
    rgba(110,40,220,0.88) 65%, rgba(80,20,180,0.82) 71%,
    transparent 71%
  );
  clip-path: polygon(45% 0%,65% 0%,54% 34%,78% 30%,35% 100%,22% 100%,40% 62%,15% 66%);
  filter:
    drop-shadow(0 0 8px rgba(210,160,255,0.9))
    drop-shadow(0 0 20px rgba(170,100,255,0.55))
    drop-shadow(0 0 40px rgba(130,50,240,0.35));
}

[dir="ltr"] .zk-hero::after { right: 6%; left: auto; }
[dir="rtl"] .zk-hero::after { left: 4%; right: auto; transform: scaleX(-1); }

.zk-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 52%);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  width: 100%;
}

.zk-h1__accent {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zk-hero__trust-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid rgba(168,85,247,0.2);
  background: rgba(5,3,12,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.zk-trust--hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  width: 100%;
}

.zk-trust--hero .zk-trust__item {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-inline-end: 1px solid rgba(168,85,247,0.12);
}

.zk-trust--hero .zk-trust__item:last-child { border-inline-end: none; }
.zk-trust--hero .zk-trust__icon {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 4px;
}

.zk-hero__copy {
  width: 100%;
  max-width: none;
}

[dir="rtl"] .zk-hero__copy,
[dir="ltr"] .zk-hero__copy {
  margin-inline: 0;
  justify-self: stretch;
}

/* Badge */
.zk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(160,100,255,0.42);
  background: rgba(100,30,220,0.14);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(100,30,220,0.18);
}
.zk-badge svg { width: 12px; height: 12px; color: #a78bfa; }

/* Headline */
.zk-h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 60px rgba(160,100,255,0.22);
}
html[lang="ar"] .zk-h1 {
  text-transform: none;
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.15;
}
.zk-lead {
  margin: 16px 0 0;
  max-width: 460px;
  font-size: 0.9375rem;
  color: #807caa;
  line-height: 1.65;
}
.zk-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* === FEATURED — split layout (1 main + 3 side) === */
.zk-featured--split {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
  align-items: stretch;
  width: 100%;
  max-width: 540px;
}

[dir="rtl"] .zk-featured--split { justify-self: start; }
[dir="ltr"] .zk-featured--split { justify-self: end; }

.zk-featured--split .zk-fcard--main {
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  padding: 12px;
  min-height: 348px;
}

.zk-featured--split .zk-fcard__side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  justify-content: flex-start;
}

@keyframes heroFloatMain {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroFloatSide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes heroGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 16px color-mix(in srgb, var(--brand, #a855f7) 20%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.06);
  }
  50% {
    box-shadow:
      0 0 28px color-mix(in srgb, var(--brand, #a855f7) 34%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
}

.zk-fcard--float.zk-fcard--main {
  animation: heroFloatMain 6s ease-in-out infinite, heroGlowPulse 5s ease-in-out infinite;
}

.zk-fcard--float.zk-fcard--side {
  animation: heroFloatSide 6.5s ease-in-out infinite, heroGlowPulse 5.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) + 0.4s);
}

.zk-fcard--float:hover {
  animation-play-state: paused, paused;
  transform: translateY(-6px) scale(1.015) !important;
  border-color: color-mix(in srgb, var(--brand, #8b5cf6) 75%, #fff);
  box-shadow:
    0 0 36px color-mix(in srgb, var(--brand, #8b5cf6) 42%, transparent),
    0 16px 40px rgba(0,0,0,0.5);
  z-index: 10;
}

.zk-featured--split .zk-fcard--main .zk-fcard__media {
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
}

.zk-featured--split .zk-fcard--main .zk-fcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: none;
  max-width: none;
}

.zk-featured--split .zk-fcard__side:has(.zk-fcard--side:nth-child(3)) {
  justify-content: space-between;
}

.zk-featured--split .zk-fcard--side {
  flex: 1 1 0;
  min-height: 82px;
  max-height: 108px;
  padding: 10px 12px;
}

.zk-featured--split .zk-fcard__thumb {
  width: 52px;
  height: 52px;
  border-radius: 11px;
}

.zk-featured--split .zk-fcard--side b {
  font-size: 0.78rem;
}

.zk-featured--split .zk-fcard--side em {
  font-size: 0.74rem;
}

[dir="rtl"] .zk-featured--split .zk-fcard--main .zk-fcard__info {
  text-align: center;
}

[dir="rtl"] .zk-featured--split .zk-fcard--side .zk-fcard__info {
  text-align: right;
}

.zk-featured--split .zk-fcard {
  border-radius: 18px;
}

.zk-fcard--main em,
.zk-fcard--side em {
  color: var(--brand, #a855f7);
  text-shadow: 0 0 10px color-mix(in srgb, var(--brand, #a855f7) 30%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .zk-fcard--float.zk-fcard--main,
  .zk-fcard--float.zk-fcard--side {
    animation: none;
  }
}

/* 2x2 grid (unused fallback) */
.zk-featured.zk-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  perspective: none;
}

.zk-fcard--grid {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 16px 14px 14px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  transform: none !important;
  animation: none !important;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--brand, #a855f7) 45%, rgba(168,85,247,0.25));
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--brand, #a855f7) 16%, transparent), transparent 62%),
    rgba(12,8,24,0.88);
  box-shadow: 0 0 22px color-mix(in srgb, var(--brand, #a855f7) 22%, transparent);
}

.zk-fcard--grid:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 0 32px color-mix(in srgb, var(--brand, #a855f7) 38%, transparent), 0 16px 40px rgba(0,0,0,0.45);
}

.zk-fcard__media--contain {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0 !important;
  max-height: none !important;
  margin-bottom: 10px !important;
}

.zk-fcard__media--contain img {
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 100px !important;
  object-fit: contain !important;
}

.zk-fcard--grid .zk-fcard__info {
  width: 100%;
  margin-top: auto;
}

.zk-fcard--grid b {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zk-fcard--grid .sub {
  display: block;
  font-size: 0.6875rem;
  color: #9b8ec4;
  margin-bottom: 6px;
}

.zk-fcard--grid em {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand, #a855f7);
}

/* Legacy featured — superseded by .zk-featured--split */
.zk-featured:not(.zk-grid-2x2):not(.zk-featured--split) {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 16px;
  width: 100%;
}

.zk-hero__inline-features {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

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

.zk-hero__feat-icon {
  width: 32px;
  height: 32px;
  background: rgba(100,30,220,0.1);
  border: 1px solid rgba(120,50,240,0.3);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #a78bfa;
}

.zk-hero__feat-icon svg { width: 14px; height: 14px; }

.zk-hero__feat b {
  display: block;
  font-size: 0.75rem;
  color: #fff;
  line-height: 1.2;
}

.zk-hero__feat span {
  display: block;
  font-size: 0.7rem;
  color: #807caa;
}

@media (max-width: 768px) {
  .zk-hero__inline-features { flex-direction: column; gap: 12px; margin-bottom: 32px; }
}

[dir="rtl"] .zk-featured,
[dir="ltr"] .zk-featured {
  justify-self: stretch;
}

/* Base card */
.zk-fcard {
  display: flex;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand, #8b5cf6) 55%, rgba(255,255,255,0.1));
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, color-mix(in srgb, var(--brand, #8b5cf6) 14%, transparent), transparent 60%),
    rgba(10,7,32,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 20px color-mix(in srgb, var(--brand, #8b5cf6) 18%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.35, 1), box-shadow 0.4s, border-color 0.4s;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
}

.zk-fcard--main,
.zk-fcard--side {
  transform: none;
}

.zk-fcard--float.zk-fcard--main,
.zk-fcard--float.zk-fcard--side {
  transform-style: flat;
}

.zk-fcard:not(.zk-fcard--grid):not(.zk-fcard--float):hover {
  transform: translateY(-8px) !important;
  border-color: color-mix(in srgb, var(--brand, #8b5cf6) 80%, #fff);
  box-shadow:
    0 0 40px color-mix(in srgb, var(--brand, #8b5cf6) 40%, transparent),
    0 20px 50px rgba(0,0,0,0.6);
  z-index: 10;
}

/* Main card layout */
.zk-fcard--main {
  flex-direction: column;
  padding: 16px;
  min-height: 0;
}

.zk-fcard__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.zk-fcard__media {
  width: 100%;
  flex: 1 1 auto;
  min-height: 190px;
  max-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  margin-bottom: 10px;
}
.zk-fcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.zk-fcard__ph {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand, #8b5cf6);
  opacity: 0.7;
}

.zk-fcard__info { min-width: 0; }
.zk-fcard--main .zk-fcard__info { text-align: center; }

.zk-fcard b {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  color: #eeeaff;
  line-height: 1.35;
}
.zk-fcard--main b { font-size: 0.9375rem; }
.zk-fcard em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #c4b5fd;
  display: block;
}

/* Side cards — horizontal */
.zk-fcard--side {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  flex: 1 1 0;
  min-height: 72px;
}

[dir="rtl"] .zk-featured--split .zk-fcard--side {
  flex-direction: row-reverse;
}

[dir="rtl"] .zk-fcard--side {
  flex-direction: row-reverse;
}
.zk-fcard--side .zk-fcard__info { flex: 1; }
.zk-fcard--side b {
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.zk-fcard--side em { font-size: 0.72rem; }

.zk-fcard__thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  border: 1px solid color-mix(in srgb, var(--brand, #8b5cf6) 35%, transparent);
  display: grid;
  place-items: center;
}
.zk-fcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.zk-fcard__thumb span {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand, #8b5cf6);
}

/* === TRUST BAR — full bleed === */
.zk-trust-band {
  width: 100%;
  border-top: 1px solid rgba(120,50,240,0.15);
  border-bottom: 1px solid rgba(120,50,240,0.15);
  background: rgba(8,5,32,0.95);
  margin: 0;
}

.zk-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  width: 100%;
}
.zk-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(12px, 2vw, 24px);
  background: transparent;
  border-inline-end: 1px solid rgba(120,50,240,0.12);
}
.zk-trust__item:last-child { border-inline-end: none; }
.zk-trust__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(120,50,240,0.3);
  background: rgba(100,30,220,0.1);
  color: #a78bfa;
  box-shadow: 0 0 14px rgba(100,30,220,0.15);
}
.zk-trust__icon svg { width: 18px; height: 18px; }
.zk-trust__item b {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #eeeaff;
}
.zk-trust__item small {
  display: block;
  font-size: 0.78rem;
  color: #807caa;
  line-height: 1.45;
}

/* === POPULAR PRODUCTS SECTION === */
.zk-popular__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.zk-popular__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eeeaff;
  line-height: 1.2;
}
html[lang="ar"] .zk-popular__head h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.0625rem;
}
.zk-popular__head .pm-link {
  color: #c4b5fd !important;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.zk-popular__grid,
.products-grid.zk-popular__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .zk-popular__grid,
  .products-grid.zk-popular__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* === Product card — image full width === */
.pm-product__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.pm-product__logo-box,
.pm-product__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #000;
  border: none;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-product__logo-box img,
.pm-product__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pm-product__logo-letter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand, #a855f7);
}

/* === Showcase product card === */
.pm-product--showcase {
  text-align: center;
  padding: 0;
  overflow: hidden;
  background: rgba(8,5,18,0.92);
  border: 1px solid rgba(168,85,247,0.28);
  box-shadow: 0 0 15px rgba(168,85,247,0.15);
  border-radius: 14px;
  transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s;
}
.pm-product--showcase:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 24px rgba(168,85,247,0.28), 0 10px 28px rgba(0,0,0,0.45);
}
.pm-product--showcase .pm-product__body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-product--showcase .pm-product__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #eeeaff;
  line-height: 1.3;
  margin-bottom: 2px;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pm-product--showcase .pm-product__sub {
  display: block;
  font-size: 0.6875rem;
  color: #807caa;
  margin-bottom: 6px;
}
.pm-product--showcase .pm-product__price {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #eeeaff;
}
.pm-product--showcase .pm-product__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(168,85,247,0.15);
  font-size: 0.6875rem;
  color: #5c5478;
}
.pm-product--shop {
  text-align: center;
  padding: 0;
  overflow: hidden;
  background: rgba(8,5,18,0.92);
  border: 1px solid rgba(168,85,247,0.28);
  border-radius: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s;
}
.pm-product--shop:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(168,85,247,0.25);
}
.pm-product--shop .pm-product__body { padding: 10px 12px 12px; }
.pm-product--shop .pm-product__cat {
  display: block;
  font-size: 0.65rem;
  color: #4e4a6a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.pm-product--shop .pm-product__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #eeeaff;
  line-height: 1.35;
  margin-bottom: 4px;
}
.pm-product--shop .pm-product__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.pm-product--shop .pm-product__price {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #eeeaff;
}
.pm-product--shop .pm-product__meta-inline {
  font-size: 0.6875rem;
  color: #4e4a6a;
}
.pm-product--showcase .pm-star,
.pm-product--shop .pm-star { color: #fbbf24; }

/* === GENERAL PRODUCT CARDS === */
.pm-product {
  border-radius: 16px;
  background: rgba(10,7,32,0.8);
  border-color: rgba(120,50,240,0.25);
}
.pm-product:hover {
  border-color: rgba(160,100,255,0.5);
  box-shadow: 0 0 24px rgba(100,30,220,0.2), 0 10px 30px rgba(0,0,0,0.45);
}

/* === GENERAL UI === */
.pm-section { padding: 28px 0 12px; width: 100%; }
.pm-link { color: #c4b5fd !important; font-weight: 600 !important; }
.pm-link:hover { color: #fff !important; text-shadow: 0 0 14px rgba(196,181,253,0.55) !important; }
.pm-star { color: #fbbf24 !important; }
.pm-cat { background: rgba(10,7,32,0.75); border-color: rgba(120,50,240,0.22); }
.pm-cat:hover { border-color: rgba(120,50,240,0.45); background: rgba(100,30,220,0.1); }

/* === BUTTONS === */
.pm-btn {
  background: linear-gradient(135deg, #8820ee 0%, #6b18d0 55%, #5412a8 100%);
  border-color: rgba(160,100,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 24px rgba(100,30,220,0.48);
}
.pm-btn:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 30px rgba(100,30,220,0.65), 0 8px 36px rgba(80,20,180,0.28);
}
.pm-btn--ghost {
  background: rgba(100,30,220,0.08) !important;
  border: 1px solid rgba(120,50,240,0.38) !important;
  color: #c4b5fd !important;
}
.pm-btn--ghost:hover {
  background: rgba(100,30,220,0.18) !important;
  border-color: rgba(160,100,255,0.58) !important;
  color: #fff !important;
}

/* Hero action buttons — compact pill, matches reference sizing */
.zk-hero__actions .pm-btn {
  padding: 12px 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 18px rgba(100,30,220,0.4);
}
html[lang="ar"] .zk-hero__actions .pm-btn { text-transform: none; letter-spacing: 0; }
.zk-hero__actions .pm-btn--ghost {
  padding: 12px 20px;
}

/* === FOOTER === */
.pm-footer {
  border-top-color: rgba(120,50,240,0.14);
  background: linear-gradient(180deg, #0f0b30 0%, #080520 100%);
}
.pm-footer__tags span {
  border-color: rgba(120,50,240,0.2);
  background: rgba(100,30,220,0.08);
  color: #a78bfa;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .zk-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .zk-featured--split {
    grid-template-columns: 1fr;
    max-width: min(400px, 100%);
    margin-inline: auto;
    direction: ltr;
  }
  .zk-featured--split .zk-fcard--main,
  .zk-featured--split .zk-fcard__side {
    grid-column: 1;
    grid-row: auto;
  }
  .zk-featured--split .zk-fcard--main {
    min-height: 300px;
  }
  .zk-featured--split .zk-fcard--side {
    flex: 0 0 auto;
    max-height: none;
  }
  .zk-featured.zk-grid-2x2 {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
  .zk-trust--hero { grid-template-columns: 1fr; }
  .zk-trust--hero .zk-trust__item {
    border-inline-end: none;
    border-bottom: 1px solid rgba(168,85,247,0.12);
  }
  .pm-header__top { grid-template-columns: auto 1fr auto; }
  .pm-header__search { display: none; }
  .pm-header__sub { display: none; }
  .pm-header.is-open .pm-header__sub { display: block; padding-bottom: 16px; }
  .pm-header.is-open .pm-subnav { flex-direction: column; align-items: stretch; }
  .pm-menu-btn { display: flex; }
  .zk-hero__grid { grid-template-columns: 1fr; }
  [dir="rtl"] .zk-hero__grid { grid-template-columns: 1fr; }
  .zk-featured {
    max-width: 100%;
    justify-self: stretch !important;
  }
  .zk-hero__copy {
    justify-self: stretch !important;
    margin-inline: 0 !important;
    max-width: none;
  }
  .zk-trust { grid-template-columns: repeat(2, 1fr); }
  .zk-popular__grid,
  .products-grid.zk-popular__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .zk-hero { min-height: auto; }
  .zk-hero__inner { padding-block: 24px 20px; }
  .zk-hero::after { opacity: 0.45; width: min(100px, 28vw); height: min(220px, 35vh); }
  .zk-featured--split {
    max-width: 100%;
    gap: 10px;
  }
  .zk-featured--split .zk-fcard--main {
    min-height: 280px;
  }
  .zk-featured.zk-grid-2x2 {
    max-width: 100%;
    gap: 10px;
  }
  .zk-fcard__media--contain img { max-height: 72px !important; }
  .pm-bg__bolt { opacity: 0.35; width: min(120px, 22vw); }
  .zk-h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .zk-lead { font-size: 0.875rem; max-width: none; }
  .zk-hero__actions { flex-direction: column; width: 100%; }
  .zk-hero__actions .pm-btn { width: 100%; justify-content: center; text-align: center; }
  .zk-trust { grid-template-columns: 1fr; }
  .zk-trust__item { border-inline-end: none; border-bottom: 1px solid rgba(168,85,247,0.12); }
  .zk-trust__item:last-child { border-bottom: none; }
  .zk-popular__grid,
  .products-grid.zk-popular__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .shop-hero { flex-direction: column; align-items: flex-start; }
  .shop-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .shop-tabs a { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .pm-wrap { padding-inline: 14px; }
  .zk-featured { max-width: 100%; }
  .zk-fcard { transform: none !important; }
  .zk-trust { grid-template-columns: 1fr; }
  .zk-popular__grid,
  .products-grid.zk-popular__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 400px;
    margin-inline: auto;
  }
  .pm-product--showcase .pm-product__title { font-size: 0.875rem; }
  .pm-product--showcase .pm-product__price { font-size: 1rem; }
  .pm-product--showcase .pm-product__meta { font-size: 0.75rem; }
  .pm-header__utils { gap: 6px; }
  .pm-util-dd__btn span:not(.pm-util-dd__flag) { display: none; }
}

/* === SHOP / CART / CHECKOUT PAGES === */
.shop-page, .cart-page, .checkout-page {
  padding: 28px 0 56px;
}

.shop-hero, .checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.shop-hero h1, .checkout-head h1, .checkout-title-gradient {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #eeeaff;
}

.shop-hero p, .checkout-head p, .checkout-typewriter {
  margin: 8px 0 0;
  color: #807caa;
  font-size: 0.9375rem;
  max-width: 560px;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.shop-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.shop-search-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 40px;
  border-radius: 999px;
  border: 1px solid rgba(120,50,240,0.24);
  background: rgba(15,11,48,0.88);
  color: #eeeaff;
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-tabs a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(15,11,48,0.6);
  color: #807caa;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s;
}

.shop-tabs a.active,
.shop-tabs a:hover {
  background: rgba(100,30,220,0.18);
  border-color: rgba(160,100,255,0.45);
  color: #eeeaff;
}

.zks-card, .pm-card {
  background: rgba(10,7,32,0.82) !important;
  border: 1px solid rgba(120,50,240,0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35) !important;
}

.checkout-hero {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(120,50,240,0.2);
  background: rgba(10,7,32,0.75);
}

.checkout-total-pill {
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(120,50,240,0.28);
  background: rgba(100,30,220,0.1);
  text-align: center;
  min-width: 140px;
}

.checkout-total-pill small {
  display: block;
  font-size: 0.72rem;
  color: #807caa;
  margin-bottom: 4px;
}

.checkout-total-pill strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: #eeeaff;
}

.payment-method-grid {
  display: grid;
  gap: 10px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(8,5,32,0.6);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.payment-card:hover {
  border-color: rgba(160,100,255,0.4);
  background: rgba(100,30,220,0.08);
}

.payment-card.active {
  border-color: rgba(160,100,255,0.55);
  background: rgba(100,30,220,0.14);
  box-shadow: 0 0 20px rgba(100,30,220,0.2);
}

.payment-card input { display: none; }

.payment-thumb-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.payment-thumb { max-width: 36px; max-height: 36px; object-fit: contain; }

.payment-copy strong {
  display: block;
  font-size: 0.875rem;
  color: #eeeaff;
}

.payment-copy small {
  font-size: 0.75rem;
  color: #807caa;
}

.payment-details {
  display: none;
  padding: 12px 16px;
  margin: -4px 0 8px;
  border-radius: 12px;
  background: rgba(100,30,220,0.06);
  border: 1px solid rgba(120,50,240,0.15);
  font-size: 0.8125rem;
  color: #807caa;
}

.payment-details.show { display: block; }

.checkout-item, .checkout-total, .payment-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(120,50,240,0.12);
  font-size: 0.875rem;
}

.checkout-item span { color: #807caa; }
.checkout-item strong, .payment-breakdown strong { color: #c4b5fd; }

.settings-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #eeeaff;
}

.form-control, .zks-input-glow {
  background: rgba(8,5,32,0.8) !important;
  border: 1px solid rgba(120,50,240,0.25) !important;
  color: #eeeaff !important;
  border-radius: 10px !important;
}

.form-control:focus, .zks-input-glow:focus {
  border-color: rgba(160,100,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(100,30,220,0.12) !important;
}

.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: #eeeaff;
  --bs-table-border-color: rgba(120,50,240,0.12);
}

.checkout-msg.is-ok {
  color: #22c55e;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(34,197,94,0.1);
}

.checkout-msg.is-err {
  color: #f87171;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239,68,68,0.1);
}

/* === CHECKOUT V3 — mockup-style === */
.checkout-v3 { padding-bottom: 64px; }

.checkout-v3__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.checkout-v3__head-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.35);
  color: #fde047;
}

.checkout-v3__head-icon svg { width: 20px; height: 20px; }

.checkout-v3__head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #eeeaff;
}

.checkout-v3__ref {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: #807caa;
}

.checkout-v3__ref code {
  color: #c4b5fd;
  background: rgba(100,30,220,0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.checkout-v3__notice {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(100,30,220,0.08);
  border: 1px solid rgba(120,50,240,0.2);
  font-size: 0.875rem;
  color: #807caa;
}

.checkout-v3__notice a { color: #c4b5fd; }

.checkout-v3__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: start;
}

.checkout-v3__panel {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(10,7,32,0.88);
  margin-bottom: 16px;
}

.checkout-v3__panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #eeeaff;
}

.checkout-v3__panel-icon svg { width: 18px; height: 18px; color: #a78bfa; }

.checkout-pay-list { display: grid; gap: 10px; }

.checkout-pay-option {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(8,5,32,0.65);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.checkout-pay-option input { display: none; }

.checkout-pay-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(160,100,255,0.45);
  position: relative;
  flex-shrink: 0;
}

.checkout-pay-option.is-active .checkout-pay-option__radio {
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168,85,247,0.45);
}

.checkout-pay-option.is-active .checkout-pay-option__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #a855f7;
}

.checkout-pay-option__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(120,50,240,0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-pay-option__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.checkout-pay-option__icon--wallet { font-size: 1.25rem; }

.checkout-pay-option__body { min-width: 0; }

.checkout-pay-option__body strong {
  display: block;
  font-size: 0.875rem;
  color: #eeeaff;
  margin-bottom: 2px;
}

.checkout-pay-option__body small {
  display: block;
  font-size: 0.75rem;
  color: #807caa;
  line-height: 1.4;
}

.checkout-pay-option__badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(100,30,220,0.16);
  border: 1px solid rgba(160,100,255,0.35);
  white-space: nowrap;
}

.checkout-pay-option__meta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #807caa;
  white-space: nowrap;
}

.checkout-pay-option__meta.is-positive { color: #4ade80; }
.checkout-pay-option__meta.is-muted { font-size: 0.72rem; font-weight: 600; }

.checkout-pay-option:hover:not(.is-locked) {
  border-color: rgba(160,100,255,0.42);
  background: rgba(100,30,220,0.08);
}

.checkout-pay-option.is-active {
  border-color: rgba(168,85,247,0.65);
  background: rgba(100,30,220,0.14);
  box-shadow: 0 0 24px rgba(100,30,220,0.22);
}

.checkout-pay-option.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-pay-details {
  display: none;
  margin: -4px 0 4px;
  padding: 12px 16px 12px 46px;
  border-radius: 12px;
  background: rgba(100,30,220,0.06);
  border: 1px solid rgba(120,50,240,0.14);
  font-size: 0.8125rem;
  color: #9b8ec4;
  line-height: 1.55;
}

.checkout-pay-details.is-open { display: block; }

.checkout-v3__discount-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.checkout-v3__discount-icon { font-size: 1.1rem; }

.checkout-v3__discount-head label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #eeeaff;
}

.checkout-v3__discount-row {
  display: flex;
  gap: 10px;
}

.checkout-v3__discount-row .form-control {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 12px !important;
}

.checkout-v3__apply-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(74,222,128,0.45);
  background: rgba(34,197,94,0.08);
  color: #4ade80;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-v3__apply-btn:hover {
  background: rgba(34,197,94,0.16);
  border-color: rgba(74,222,128,0.65);
  color: #86efac;
}

.checkout-v3__coupon-msg {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: #807caa;
}

.checkout-v3__coupon-msg.is-ok { color: #4ade80; }
.checkout-v3__coupon-msg.is-err { color: #f87171; }

.checkout-v3__sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.checkout-v3__summary {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(10,7,32,0.92);
}

.checkout-v3__summary h2 {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #eeeaff;
}

.checkout-v3__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(120,50,240,0.12);
  font-size: 0.8125rem;
}

.checkout-v3__line span {
  color: #807caa;
  line-height: 1.45;
}

.checkout-v3__line strong { color: #c4b5fd; white-space: nowrap; }

.checkout-v3__breakdown {
  margin-top: 8px;
  padding-top: 4px;
}

.checkout-v3__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #807caa;
}

.checkout-v3__row strong { color: #c4b5fd; }

.checkout-v3__row strong.is-discount { color: #4ade80; }

.checkout-v3__row--total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(120,50,240,0.2);
  font-size: 1rem;
  font-weight: 700;
  color: #eeeaff;
}

.checkout-v3__total {
  font-size: 1.375rem !important;
  font-weight: 800 !important;
  color: #fde047 !important;
}

.checkout-v3__pay-btn {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6d28d9 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 28px rgba(124,58,237,0.45), 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-v3__pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(124,58,237,0.55), 0 12px 28px rgba(0,0,0,0.4);
  color: #fff;
}

.checkout-v3__pay-btn:disabled { opacity: 0.7; }

.checkout-v3__pay-lock svg { width: 16px; height: 16px; }

.checkout-v3__secure {
  margin: 14px 0 0;
  font-size: 0.72rem;
  color: #6b6794;
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.checkout-v3__secure .pm-icon--xs { width: 12px; height: 12px; }

.pm-icon--xs { width: 12px; height: 12px; }

.checkout-v3__secure a { color: #a78bfa; }

.checkout-v3__support {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(120,50,240,0.18);
  background: rgba(8,5,32,0.75);
  text-align: center;
}

.checkout-v3__support-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(100,30,220,0.12);
  color: #a78bfa;
}

.checkout-v3__support-icon svg { width: 18px; height: 18px; }

.checkout-v3__support p {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: #807caa;
  line-height: 1.55;
}

.checkout-v3__support a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #4ade80;
  text-decoration: none;
}

.checkout-v3__support a:hover { color: #86efac; }

.checkout-v3__extra .form-label {
  font-size: 0.8125rem;
  color: #9b8ec4;
}

@media (max-width: 991px) {
  .checkout-v3__grid {
    grid-template-columns: 1fr;
  }
  .checkout-v3__sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .checkout-pay-option {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .checkout-pay-option__radio { grid-row: 1 / 3; }
  .checkout-pay-option__icon { display: none; }
  .checkout-pay-option__badge,
  .checkout-pay-option__meta {
    grid-column: 2;
    justify-self: start;
  }
  .checkout-v3__discount-row { flex-direction: column; }
  .checkout-v3__apply-btn { width: 100%; }
}

.checkout-v3__head .zks-copy-wrap {
  margin-top: 10px;
  max-width: 320px;
}

.checkout-v3__head .zks-copy__label {
  text-transform: none;
  font-size: 0.72rem;
}

/* === COPY TO CLIPBOARD === */
.zks-copy-wrap {
  margin-bottom: 12px;
}

.zks-copy-wrap:last-child {
  margin-bottom: 0;
}

.zks-copy__label {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9b8ec4;
  text-transform: uppercase;
}

.zks-copy {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(120,50,240,0.28);
  background: rgba(8,5,32,0.92);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.zks-copy__value {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #f3e8ff !important;
  background: transparent !important;
  border: none;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
  text-align: start;
  unicode-bidi: plaintext;
}

.zks-copy__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border: none;
  border-inline-start: 1px solid rgba(120,50,240,0.22);
  background: rgba(100,30,220,0.14);
  color: #c4b5fd;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.zks-copy__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.zks-copy:hover {
  border-color: rgba(168,85,247,0.45);
}

.zks-copy__btn:hover {
  background: rgba(124,58,237,0.28);
  color: #eeeaff;
}

.zks-copy.is-copied,
.zks-copy__btn.copied {
  border-color: rgba(74,222,128,0.45);
}

.zks-copy.is-copied {
  box-shadow: 0 0 18px rgba(34,197,94,0.12);
}

.zks-copy.is-copied .zks-copy__btn,
.zks-copy__btn.copied {
  background: rgba(34,197,94,0.18);
  color: #86efac;
}

.delivered-copy-list {
  display: grid;
  gap: 10px;
}

.delivered-copy-list .zks-copy-wrap {
  margin-bottom: 0;
}

.crypto-wait-panel {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(120,50,240,0.22);
  background: rgba(8,5,32,0.65);
  overflow: hidden;
}

.crypto-wait-visual {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.crypto-wait-visual span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a855f7;
  animation: cryptoWaitPulse 1.2s ease-in-out infinite;
}

.crypto-wait-visual span:nth-child(2) { animation-delay: 0.15s; }
.crypto-wait-visual span:nth-child(3) { animation-delay: 0.3s; }

@keyframes cryptoWaitPulse {
  0%, 100% { transform: translateY(0) scale(0.85); opacity: 0.45; }
  50% { transform: translateY(-6px) scale(1); opacity: 1; }
}

@media (max-width: 576px) {
  .zks-copy__btn-text { display: none; }
  .zks-copy__btn { padding: 0 14px; }
}

.zks-badge-hot {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(100,30,220,0.14);
  border: 1px solid rgba(120,50,240,0.3);
}

/* Product page */
.product-page-v2 { padding: 28px 0 56px; }
.product-display-image {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(120,50,240,0.2);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
}
.product-display-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.product-buy-panel, .product-display-panel {
  background: rgba(10,7,32,0.82);
  border: 1px solid rgba(120,50,240,0.22);
  border-radius: 16px;
  padding: 20px;
}

.product-public-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(250,204,21,0.22), rgba(234,179,8,0.14));
  border: 1px solid rgba(250,204,21,0.55);
  color: #fef08a;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 0 18px rgba(250,204,21,0.12);
}

.product-suspended-tag {
  display: inline-block;
  margin-inline-end: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239,68,68,0.18);
  border: 1px solid rgba(248,113,113,0.45);
  color: #fecaca;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.product-suspended-alert {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(248,113,113,0.35);
}

.product-suspended-alert strong {
  display: block;
  color: #fecaca;
  margin-bottom: 8px;
  font-size: 1rem;
}

.product-suspended-alert p {
  margin: 0;
  color: #fca5a5;
  line-height: 1.6;
}

.product-suspended-box {
  text-align: center;
  padding: 24px 16px;
}

.product-suspended-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(248,113,113,0.35);
  color: #fecaca;
}

.product-suspended-box h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #eeeaff;
}

.product-suspended-box p {
  margin: 0;
  color: #9b8ec4;
  line-height: 1.55;
  font-size: 0.9rem;
}

.product-buy-panel--disabled {
  opacity: 0.95;
}

/* === MOBILE CHECKOUT / CART === */
@media (max-width: 768px) {
  .shop-page, .cart-page, .checkout-page { padding: 20px 0 40px; }
  .checkout-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .checkout-total-pill { width: 100%; text-align: center; }
  .cart-page .row { --bs-gutter-x: 0.75rem; }
  .product-shell-v2 { grid-template-columns: 1fr !important; gap: 16px; }
  .product-buy-panel { position: static; }
  .product-display-image { aspect-ratio: 16 / 9; max-height: none; }
}

/* === PRODUCT VARIATION HUB (parent + children) === */
.product-page--hub { padding-bottom: 32px; }

.product-hub {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.product-hub__content { min-width: 0; }
[dir="rtl"] .product-hub__content { text-align: right; }

.product-hub__image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.42);
  background: rgba(8, 5, 32, 0.9);
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.14), 0 18px 50px rgba(0, 0, 0, 0.42);
}

.product-hub__image img,
.product-hub__image .prod-img-empty {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-hub__image .prod-img-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #807caa;
}

.product-hub__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-hub__tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.product-hub__tag--cat {
  color: #c4b5fd;
  background: rgba(100, 30, 220, 0.18);
  border: 1px solid rgba(160, 100, 255, 0.38);
}

.product-hub__tag--badge {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.product-hub__tag--genre {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.35);
  text-transform: capitalize;
}

.product-hub__variants {
  display: grid;
  gap: 10px;
}

.product-hub__item {
  border-radius: 16px;
  border: 1px solid rgba(120, 50, 240, 0.22);
  background: rgba(10, 7, 32, 0.9);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-hub__item.is-selected {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 22px rgba(100, 30, 220, 0.18);
}

.product-hub__item.is-oos { opacity: 0.68; }

.product-hub__row {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.product-hub__row-start {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.product-hub__row-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.product-hub__row-price {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.product-hub__stock {
  display: inline-block;
  font-size: 0.75rem;
  font-style: normal;
  color: #60a5fa;
  font-weight: 600;
}

.product-hub__stock--ok { color: #86efac; }

.product-hub__row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.product-hub__add {
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid rgba(160, 100, 255, 0.5);
  background: rgba(88, 28, 200, 0.35);
  color: #f3e8ff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.product-hub__add:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.5);
  border-color: rgba(196, 181, 253, 0.65);
  transform: translateY(-1px);
}

.product-hub__add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-hub__gift {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
  font-size: 1rem;
  cursor: pointer;
}

.product-hub__gift.is-on,
.product-hub__gift:hover {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.16);
}

/* Required fields (hub + product panel) */
.product-required-fields {
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(120, 50, 240, 0.16);
  background: rgba(6, 4, 22, 0.65);
}

.product-required-fields--panel {
  margin: 16px 0;
  border: 1px solid rgba(120, 50, 240, 0.28);
  border-radius: 14px;
  background: rgba(8, 5, 28, 0.88);
}

.product-required-fields__head {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
}

.product-required-fields__field {
  margin-bottom: 10px;
}

.product-required-fields__field:last-child { margin-bottom: 0; }

.product-required-fields__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c4b5fd;
}

.product-required-fields .form-control {
  border-radius: 10px;
  border: 1px solid rgba(120, 50, 240, 0.3);
  background: rgba(4, 2, 18, 0.85);
  color: #eeeaff;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.product-required-fields .form-control:focus {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: rgba(4, 2, 18, 0.95);
  color: #fff;
}

.product-required-fields .form-control.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Fields modal (add to cart) */
.zks-fields-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.zks-fields-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zks-fields-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 10, 0.78);
  backdrop-filter: blur(4px);
}

.zks-fields-modal__card {
  position: relative;
  width: min(100%, 440px);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(120, 50, 240, 0.35);
  background: linear-gradient(160deg, rgba(14, 10, 40, 0.98), rgba(8, 5, 24, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(100, 30, 220, 0.12);
}

.zks-fields-modal__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #c4b5fd;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.zks-fields-modal__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.zks-fields-modal__lead {
  margin: 0 0 18px;
  color: #9b8ec4;
  font-size: 0.875rem;
  line-height: 1.55;
}

.zks-fields-modal__form {
  display: grid;
  gap: 12px;
}

.zks-fields-modal__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c4b5fd;
}

.zks-fields-modal__field .form-control {
  border-radius: 10px;
  border: 1px solid rgba(120, 50, 240, 0.32);
  background: rgba(4, 2, 18, 0.9);
  color: #eeeaff;
  padding: 11px 12px;
}

.zks-fields-modal__field .form-control:focus {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  color: #fff;
}

.zks-fields-modal__field .form-control.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
}

.zks-fields-modal__err {
  margin: 12px 0 0;
  color: #f87171;
  font-size: 0.8125rem;
}

.zks-fields-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.product-hub__title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
}

.product-hub__msg {
  margin-top: 12px;
  font-size: 0.8125rem;
  min-height: 1.2em;
}

.product-hub__lead {
  margin: 0 0 20px;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-hub__info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.1);
  color: #bfdbfe;
  font-size: 0.875rem;
  line-height: 1.55;
}

.product-hub__info-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-hub__amount-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a78bfa;
}

.product-hub__msg.is-ok { color: #4ade80; }
.product-hub__msg.is-err { color: #f87171; }

/* Compare / sale price */
.zks-price-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.zks-price-tag__now {
  color: #fde047;
  font-weight: 800;
  line-height: 1.2;
}

.zks-price-tag--lg .zks-price-tag__now { font-size: 1.2rem; }
.zks-price-tag--md .zks-price-tag__now { font-size: 1.05rem; }
.zks-price-tag--sm .zks-price-tag__now { font-size: 0.95rem; }

.zks-price-tag__was {
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: line-through;
}

.zks-price-tag__pct {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6, #db2777);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
}

.product-price-wrap .zks-price-tag { display: flex; }

/* Product page extras */
.product-extra {
  padding: 40px 0 48px;
  border-top: 1px solid rgba(120, 50, 240, 0.14);
}

.product-extra--related {
  background: rgba(6, 4, 24, 0.55);
}

.product-extra__title {
  margin: 0 0 22px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #eeeaff;
}

.product-extra__empty {
  margin: 0;
  color: #9b8ec4;
  font-size: 0.9375rem;
}

.product-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-review-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(120, 50, 240, 0.2);
  background: rgba(10, 7, 32, 0.82);
}

.product-review-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.product-review-card__head strong {
  color: #eeeaff;
  font-size: 0.9375rem;
}

.product-review-card__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(120, 50, 240, 0.3);
}

.product-review-card__product {
  font-size: 0.75rem;
  color: #a78bfa;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-review-card p {
  margin: 0;
  color: #9b8ec4;
  font-size: 0.875rem;
  line-height: 1.6;
}

.pm-product__price .zks-price-tag {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (max-width: 991px) {
  .product-hub {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-hub__media {
    width: 100%;
  }
  .product-hub__image {
    overflow: visible;
  }
  .product-hub__image img,
  .product-hub__image .prod-img-empty {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.25);
  }
  .product-display-image {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    display: block;
  }
  .product-display-image img,
  .product-display-image .prod-img-empty {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .product-hub__row {
    padding: 14px;
    gap: 12px;
  }
  .product-hub__add {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }
}

.zks-yt-intro {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
