/*
 * Zabarvan CyberPunk - Commerce Flow: Shop, Product Detail, Cart & Checkout
 * Aesthetic: Tactical Gear Procurement, Military Inventory Slots, Cyber-Transaction Terminal
 * Scoped to [data-theme="cyberpunk"] :is(.cp-page-shop, .cp-page-product, .cp-page-cart, .cp-page-checkout).
 */

/* ---------- 1. Commerce Tokens ---------- */
[data-theme="cyberpunk"] :is(.cp-page-shop, .cp-page-product, .cp-page-cart, .cp-page-checkout) {
  --cpc-yellow: #FCEE0A;
  --cpc-yellow-rgb: 252, 238, 10;
  --cpc-cyan: #00F0FF;
  --cpc-magenta: #FF003C;
  --cpc-card: #070B14;
  --cpc-hair: rgba(0, 240, 255, 0.2);
  --cpc-hair-strong: rgba(0, 240, 255, 0.5);
}

/* =====================================================================
   SHOP (/shop and /shop/[category])
   ===================================================================== */

/* Shop Category Filter Rail: Dark Tech Chassis */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-side {
  padding: 16px 20px;
  background-color: var(--cpc-card) !important;
  border: 1px solid var(--cpc-hair) !important;
  border-radius: 0px !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)) !important;
}

/* Category filter: plain checkbox rows (was tag chips); selected row turns yellow */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-fbody label {
  padding: 4px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0px !important;
  clip-path: none !important;
  color: #A0AEC0 !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-fbody label:hover {
  color: var(--cpc-cyan) !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-fbody label > div:first-child {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  background: #050810 !important;
  border: 1px solid var(--cpc-hair-strong) !important;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-fbody label:has(input:checked) {
  color: var(--cpc-yellow) !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-fbody label:has(input:checked) > div:first-child {
  background: var(--cpc-yellow) !important;
  border-color: var(--cpc-yellow) !important;
  box-shadow: 0 0 8px rgba(var(--cpc-yellow-rgb), 0.5);
}

/* Selects: plain tech frame (the old chamfer clipped the border) */
[data-theme="cyberpunk"] .cp-page-shop select {
  border-radius: 0px !important;
  border: 1px solid var(--cpc-hair-strong) !important;
  background-color: #050810 !important;
  color: var(--cpc-cyan) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  clip-path: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-shop select:hover,
[data-theme="cyberpunk"] .cp-page-shop select:focus {
  border-color: var(--cpc-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
  outline: none;
}

/* Desktop sort: padded control with the chevron inset inside the frame */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-sort select {
  height: 44px !important;
  min-width: 220px;
  padding: 0 40px 0 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-sort select:hover,
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-sort select:focus {
  background-color: #070B14 !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-sort .absolute {
  right: 14px !important;
  color: var(--cpc-cyan);
}

/* Price slider: styled track and thumb (native appearance was hidden) */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-filters input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(0, 240, 255, 0.25);
  outline: none;
  cursor: pointer;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-filters input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--cpc-yellow);
  border: none;
  box-shadow: 0 0 10px rgba(var(--cpc-yellow-rgb), 0.7);
  cursor: pointer;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-filters input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--cpc-yellow);
  border: none;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(var(--cpc-yellow-rgb), 0.7);
  cursor: pointer;
}

/* Sidebar sections */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-filters > div {
  border-color: var(--cpc-hair) !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-filters button span {
  font-family: var(--font-orbitron), sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
}

/* Toolbar: title, clear, result count */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-title {
  font-family: var(--font-orbitron), sans-serif !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.14em !important;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-clear {
  text-decoration: none !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  color: var(--cpc-cyan) !important;
  padding: 6px 12px !important;
  border: 1px solid var(--cpc-hair-strong);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  transition: all 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-clear:hover {
  background: var(--cpc-yellow) !important;
  border-color: var(--cpc-yellow);
  color: #030508 !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-head {
  border-color: var(--cpc-hair) !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-head .text-zinc-500 {
  font-family: var(--font-mono);
  letter-spacing: 0.2em !important;
  color: #718096 !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-count {
  color: var(--cpc-cyan) !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Grid with fewer than 4 products: fixed card width, left-aligned like the rest of the shop */
@media (min-width: 1024px) {
  [data-theme="cyberpunk"] .cp-page-shop .cp-shop-grid[data-count="1"] { grid-template-columns: minmax(0, 280px) !important; }
  [data-theme="cyberpunk"] .cp-page-shop .cp-shop-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 280px)) !important; }
  [data-theme="cyberpunk"] .cp-page-shop .cp-shop-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 280px)) !important; }
}

/* Shop product card: dark chassis, cyan lift on hover */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card {
  background: var(--cpc-card) !important;
  border: 1px solid var(--cpc-hair) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card:hover {
  border-color: var(--cpc-cyan) !important;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card h3 {
  font-family: var(--font-orbitron), sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #EDF2F7 !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card p.text-zinc-500 {
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.14em;
  color: #718096 !important;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card p.text-brand {
  color: var(--cpc-yellow) !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(var(--cpc-yellow-rgb), 0.45);
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card p.line-through {
  color: #5A6478 !important;
}

/* Badges on the image */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card .bg-red-600 {
  background: var(--cpc-magenta) !important;
  font-family: var(--font-mono);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card .bg-white.text-black {
  background: var(--cpc-yellow) !important;
  color: #030508 !important;
  font-family: var(--font-mono);
}

/* Quick actions: dark chamfered pads, yellow on hover */
[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card button {
  background: rgba(3, 5, 8, 0.9) !important;
  color: var(--cpc-cyan) !important;
  border: 1px solid var(--cpc-hair-strong) !important;
  border-radius: 0px !important;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  transition: all 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-shop .cp-shop-card button:hover {
  background: var(--cpc-yellow) !important;
  border-color: var(--cpc-yellow) !important;
  color: #030508 !important;
}

/* =====================================================================
   PRODUCT DETAIL PAGE (/product/[slug])
   Styled through the cp-pdp-* hooks in components/product/*.
   ===================================================================== */

/* Breadcrumb: mono telemetry strip */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-crumb {
  background: rgba(3, 5, 8, 0.85);
  border-bottom: 1px solid var(--cpc-hair) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-crumb a {
  color: #788EA6;
  transition: color 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-crumb a:hover {
  color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-crumb-inner > span:not(.cp-pdp-crumb-current) {
  color: rgba(0, 240, 255, 0.45);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-crumb-current {
  color: var(--cpc-yellow);
  text-shadow: 0 0 10px rgba(var(--cpc-yellow-rgb), 0.35);
}

/* Gallery: chamfered HUD frame */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-main {
  background: #05080F;
  border: 1px solid var(--cpc-hair-strong);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.12);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: rgba(3, 5, 8, 0.85);
  border: 1px solid var(--cpc-cyan);
  color: var(--cpc-cyan);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-arrow:hover {
  background: var(--cpc-cyan);
  color: #030508;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-badge {
  background: var(--cpc-yellow);
  color: #030508;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  box-shadow: 0 0 12px rgba(var(--cpc-yellow-rgb), 0.45);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-thumb {
  background: #05080F;
  border: 1px solid var(--cpc-hair);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-thumb:hover {
  border-color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-thumb[aria-current="true"] {
  border-color: var(--cpc-yellow);
  box-shadow: 0 0 12px rgba(var(--cpc-yellow-rgb), 0.45);
}

/* Eyebrow, title, price */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cpc-cyan);
  border-left: 3px solid var(--cpc-yellow);
  padding-left: 12px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.35);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-title {
  font-family: var(--font-orbitron), sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: #FFFFFF;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-price {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--cpc-yellow);
  text-shadow: 0 0 14px rgba(var(--cpc-yellow-rgb), 0.45);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-price + span {
  font-family: var(--font-mono);
  color: #788EA6;
}

/* Section labels (Select Color / Select Size) */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #EDF2F7;
}

/* Colour swatches: chamfered tiles */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-swatch {
  background: #090E18;
  border: 1px solid var(--cpc-hair-strong);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-swatch > div {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-swatch:hover:not(:disabled) {
  border-color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-swatch[aria-pressed="true"] {
  border-color: var(--cpc-yellow);
  box-shadow: 0 0 14px rgba(var(--cpc-yellow-rgb), 0.5);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-swatch:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Size selector: chamfered mono tiles */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-size {
  background: #090E18;
  border: 1px solid var(--cpc-hair);
  border-radius: 0;
  color: #EDF2F7;
  font-family: var(--font-mono);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: all 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-size:hover:not(:disabled) {
  border-color: var(--cpc-cyan);
  color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-size[aria-pressed="true"] {
  background: var(--cpc-yellow);
  border-color: var(--cpc-yellow);
  color: #030508;
  box-shadow: 0 0 12px rgba(var(--cpc-yellow-rgb), 0.5);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-size:disabled {
  background: #05080F;
  border-color: rgba(0, 240, 255, 0.08);
  color: #485C7E;
}

/* Out-of-stock alert: magenta warning strip */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-alert {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.55);
  color: #FF5C7A;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  box-shadow: 0 0 14px rgba(255, 0, 60, 0.2);
}

/* Quantity stepper and wishlist */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-qty {
  background: #070B14;
  border: 1px solid var(--cpc-hair-strong);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-qty > span {
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--cpc-yellow);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-step {
  color: var(--cpc-cyan);
  background: transparent;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-step:hover {
  background: rgba(0, 240, 255, 0.1);
  color: #FFFFFF;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-wish {
  background: #070B14;
  border: 1px solid var(--cpc-hair-strong);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-wish:hover {
  border-color: var(--cpc-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-add:disabled {
  box-shadow: none;
}

/* Trust tiles: HUD cells with cyan icons */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-trust-item {
  background: #070B14;
  border: 1px solid var(--cpc-hair);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-trust-item:hover {
  border-color: var(--cpc-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-trust-item svg {
  color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-trust-item span {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: #A0AEC0;
}

/* Mobile buy dock: fixed price + add-to-cart bar, hidden on desktop */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock {
  display: none;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #788EA6;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--cpc-yellow);
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(var(--cpc-yellow-rgb), 0.4);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock-btn {
  flex: 1;
  min-width: 0;
  height: 52px;
  background: var(--cpc-yellow);
  color: #030508;
  border: 0;
  border-radius: 0;
  font-family: var(--font-orbitron), sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 0 18px rgba(var(--cpc-yellow-rgb), 0.45);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock-btn:disabled {
  opacity: 0.45;
  box-shadow: none;
}

@media (max-width: 1023px) {
  [data-theme="cyberpunk"] .cp-page-product {
    padding-bottom: 96px;
  }

  [data-theme="cyberpunk"] .cp-page-product .cp-pdp-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 5, 8, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--cpc-hair-strong);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  }
}

/* Phones: square gallery frame so the buy box lands sooner */
@media (max-width: 639px) {
  [data-theme="cyberpunk"] .cp-page-product .cp-pdp-main {
    aspect-ratio: 1 / 1;
  }
}

/* Description: HUD kicker, headings, feature chips, spec panel */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-h2 {
  font-family: var(--font-orbitron), sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-h3 {
  font-family: var(--font-orbitron), sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-chip {
  border-radius: 0;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--cpc-hair);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-chip > span {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: #CBD5E0;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-chip > div {
  border-radius: 0;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--cpc-yellow);
  box-shadow: 0 0 8px rgba(var(--cpc-yellow-rgb), 0.6);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-panel {
  background: #070B14;
  border: 1px solid var(--cpc-hair);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-icon {
  border-radius: 0;
  background: #05080F;
  border: 1px solid var(--cpc-hair);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

/* Specs: label/value rows with cyan labels */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-spec > span:first-child {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--cpc-cyan);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-spec > span:last-child {
  color: #FFFFFF;
}

/* "Specs" in the heading uses transparent text + text-stroke, which the theme does not render,
   so it was invisible. Give it a solid cyan fill instead. */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-specs h2 .text-stroke {
  -webkit-text-stroke: 0;
  color: var(--cpc-cyan);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-specs .lg\:col-span-1 > p {
  color: #A0AEC0;
}

/* Reviews: panels, inputs and mono labels */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews .bg-zinc-900 {
  background: #070B14 !important;
  border: 1px solid var(--cpc-hair) !important;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews input,
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews textarea {
  background: #030508 !important;
  border: 1px solid var(--cpc-hair) !important;
  border-radius: 0 !important;
  color: #EDF2F7;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews input:focus,
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews textarea:focus {
  border-color: var(--cpc-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
  outline: none;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews label {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: #788EA6 !important;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews h2 {
  font-family: var(--font-orbitron), sans-serif;
  letter-spacing: 0.03em;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-reviews h2 .text-brand {
  color: var(--cpc-yellow) !important;
}

/* Related products: chamfered cards */
[data-theme="cyberpunk"] .cp-page-product .cp-pdp-related h2 {
  font-family: var(--font-orbitron), sans-serif;
  letter-spacing: 0.04em;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-related .aspect-square {
  background: #05080F;
  border: 1px solid var(--cpc-hair) !important;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-related a:hover .aspect-square {
  border-color: var(--cpc-cyan) !important;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-related span.bg-white {
  background: var(--cpc-yellow) !important;
  color: #030508 !important;
}

[data-theme="cyberpunk"] .cp-page-product .cp-pdp-related .font-mono {
  color: var(--cpc-yellow);
  text-shadow: 0 0 8px rgba(var(--cpc-yellow-rgb), 0.35);
}

/* Add to Cart CTA */
[data-theme="cyberpunk"] .cp-page-product button[type="submit"],
[data-theme="cyberpunk"] .cp-page-product button.bg-brand {
  width: 100% !important;
  padding: 16px 32px !important;
  background: var(--cpc-yellow) !important;
  color: #030508 !important;
  font-family: var(--font-orbitron) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 0px !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important;
  box-shadow: 0 0 24px rgba(var(--cpc-yellow-rgb), 0.5) !important;
  border: none !important;
  transition: all 0.2s ease;
}

[data-theme="cyberpunk"] .cp-page-product button[type="submit"]:hover:not(:disabled),
[data-theme="cyberpunk"] .cp-page-product button.bg-brand:hover:not(:disabled) {
  background: var(--cpc-cyan) !important;
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.7) !important;
}

/* Cart and checkout rules now live in cyberpunk-checkout.css. */
