/* ================================================================
   MEGA TECH PC Builder — Liquid Glass Cyber-Crystal UI
   Version: 4.0.0 | Ultra-Premium Glassmorphism & High Contrast
   Designed for MEGATECH Gaming Systems (Brand Red: #e3000f)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&family=JetBrains+Mono:wght@500;600;700;800&display=swap');

/* ================================================================
   1) Liquid Glass Design Tokens
================================================================ */
:root {
  /* Canvas & Obsidian Depth */
  --pcb-canvas-bg: #07080d;
  --pcb-canvas-surface: #0e111a;
  
  /* Liquid Glass Surfaces */
  --pcb-glass-base: rgba(18, 22, 36, 0.72);
  --pcb-glass-hover: rgba(26, 32, 52, 0.84);
  --pcb-glass-active: rgba(32, 40, 66, 0.92);
  --pcb-glass-card-filled: rgba(22, 26, 42, 0.88);
  --pcb-glass-inset: rgba(10, 13, 22, 0.65);
  
  /* Specular Rim / Liquid Border Reflections */
  --pcb-glass-border: rgba(255, 255, 255, 0.12);
  --pcb-glass-border-bright: rgba(255, 255, 255, 0.28);
  --pcb-glass-border-glow: rgba(227, 0, 15, 0.55);
  --pcb-glass-border-cyan: rgba(56, 189, 248, 0.45);

  /* Brand Accents */
  --pcb-primary: #e3000f;
  --pcb-primary-bright: #ff2a3b;
  --pcb-primary-glow: rgba(227, 0, 15, 0.38);
  --pcb-primary-soft: rgba(227, 0, 15, 0.15);
  --pcb-cyan: #38bdf8;
  --pcb-cyan-glow: rgba(56, 189, 248, 0.35);

  /* High-Contrast Crystal Typography */
  --pcb-text-white: #ffffff;
  --pcb-text-silver: #e2e8f0;
  --pcb-text-muted: #94a3b8;
  --pcb-text-dim: #64748b;

  /* Shadows & Specular Glows */
  --pcb-shadow-glass: 0 16px 40px -12px rgba(0, 0, 0, 0.75), inset 0 1px 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 2px 0 rgba(0, 0, 0, 0.5);
  --pcb-shadow-glass-hover: 0 24px 50px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(227, 0, 15, 0.22), inset 0 1px 2px 0 rgba(255, 255, 255, 0.4);
  --pcb-shadow-filled: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(227, 0, 15, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  --pcb-shadow-cyan: 0 0 25px rgba(56, 189, 248, 0.25);

  /* Radii */
  --pcb-radius-sm: 8px;
  --pcb-radius-md: 14px;
  --pcb-radius-lg: 20px;
  --pcb-radius-xl: 28px;
  --pcb-radius-full: 9999px;

  /* Fonts */
  --pcb-font-main: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --pcb-font-display: 'Space Grotesk', 'Jost', sans-serif;
  --pcb-font-mono: 'JetBrains Mono', monospace;

  /* Easing */
  --pcb-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   2) Page Canvas & Liquid Ambient Background
================================================================ */
.pc-builder-page-wrapper {
  background-color: var(--pcb-canvas-bg);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(227, 0, 15, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(30, 58, 138, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #07080d 0%, #0a0d16 50%, #06070b 100%);
  min-height: 100vh;
  padding: 40px 20px 100px;
  color: var(--pcb-text-silver);
  position: relative;
  overflow: hidden;
}

/* Subtle holographic glass dust particles overlay */
.pc-builder-page-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ================================================================
   3) Hero Header
================================================================ */
.pcb-hero-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 35px;
  padding: 0 15px;
}

.pcb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--pcb-radius-full);
  background: rgba(227, 0, 15, 0.12);
  border: 1px solid rgba(227, 0, 15, 0.35);
  backdrop-filter: blur(12px);
  color: #ff5c6a;
  font-family: var(--pcb-font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(227, 0, 15, 0.2);
}

.pcb-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pcb-primary-bright);
  box-shadow: 0 0 8px var(--pcb-primary-bright);
  animation: pcbPulse 2s infinite ease-in-out;
}

@keyframes pcbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pcb-hero-title {
  font-family: var(--pcb-font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--pcb-text-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.pcb-hero-title span.highlight {
  background: linear-gradient(135deg, #ff4d5a 0%, #e3000f 60%, #b3000c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(227, 0, 15, 0.45));
}

.pcb-hero-subtitle {
  font-family: var(--pcb-font-main);
  font-size: 1.05rem;
  color: var(--pcb-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================================================================
   4) Main Container Layout
================================================================ */
#pc-builder-container,
#pc-builder-container *,
#pc-builder-container *::before,
#pc-builder-container *::after,
#pc-builder-modal,
#pc-builder-modal * {
  box-sizing: border-box;
}

#pc-builder-container {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr 370px;
  grid-template-areas:
    "progress progress progress"
    "left     center   summary";
  gap: 28px;
  align-items: start;
}

/* ================================================================
   5) Matted Liquid Progress Capsule
================================================================ */
#pcb-progress-container {
  grid-area: progress;
  background: var(--pcb-glass-base);
  border: 1px solid var(--pcb-glass-border);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--pcb-radius-xl);
  padding: 16px 28px;
  box-shadow: var(--pcb-shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s var(--pcb-ease);
  position: relative;
  overflow: hidden;
}

#pcb-progress-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: pcbSheen 6s infinite;
  pointer-events: none;
}

@keyframes pcbSheen {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}

.pcb-progress-text-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pcb-progress-comment {
  font-family: var(--pcb-font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pcb-text-white);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.pcb-progress-percent {
  font-family: var(--pcb-font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff5252;
  background: rgba(227, 0, 15, 0.15);
  border: 1px solid rgba(227, 0, 15, 0.35);
  padding: 3px 14px;
  border-radius: var(--pcb-radius-full);
  letter-spacing: 0.03em;
  box-shadow: 0 0 12px rgba(227, 0, 15, 0.25);
}

.pcb-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pcb-radius-full);
  overflow: hidden;
  position: relative;
}

.pcb-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b3000c, #e3000f 50%, #ff4d5a 100%);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.18) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.18) 75%,
    transparent 75%,
    transparent
  );
  background-size: 26px 26px;
  animation: pcbProgressStripes 1.5s linear infinite;
  border-radius: var(--pcb-radius-full);
  transition: width 0.65s var(--pcb-ease);
  box-shadow: 0 0 16px rgba(227, 0, 15, 0.6);
  position: relative;
}

@keyframes pcbProgressStripes {
  0% { background-position: 0 0; }
  100% { background-position: 26px 0; }
}

.pcb-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(2px);
  border-radius: var(--pcb-radius-full);
}

/* ================================================================
   6) Left Hero Case Showcase (Big Case)
================================================================ */
#pc-builder-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
}

.pc-builder-big-case {
  background: var(--pcb-glass-base);
  border: 1px solid var(--pcb-glass-border);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--pcb-radius-xl);
  padding: 32px 24px;
  box-shadow: var(--pcb-shadow-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--pcb-ease);
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

/* Liquid glass sheen effect */
.pc-builder-big-case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}

.pc-builder-big-case:hover {
  transform: translateY(-5px);
  border-color: var(--pcb-glass-border-bright);
  box-shadow: var(--pcb-shadow-glass-hover);
}

.pc-builder-big-case .pc-builder-category-icon {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 24px;
  transition: all 0.35s var(--pcb-ease);
  filter: brightness(0) invert(1) drop-shadow(0 10px 20px rgba(255, 255, 255, 0.18));
  opacity: 0.92;
}

.pc-builder-big-case:hover .pc-builder-category-icon {
  transform: scale(1.06) rotate(1deg);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 22px rgba(255, 255, 255, 0.55));
}

.pc-builder-big-case .category-name {
  font-family: var(--pcb-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.pc-builder-big-case .plus-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--pcb-text-white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--pcb-ease);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.pc-builder-big-case:hover .plus-icon {
  background: var(--pcb-primary);
  border-color: var(--pcb-primary-bright);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(227, 0, 15, 0.7);
}

/* ================================================================
   7) Center Grid & Component Boxes
================================================================ */
#pc-builder-center {
  grid-area: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#pc-builder-center[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
#pc-builder-center[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
#pc-builder-center[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

/* Category Glass Card */
.pc-builder-category-box {
  background: var(--pcb-glass-base);
  border: 1px solid var(--pcb-glass-border);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--pcb-radius-lg);
  padding: 24px 18px 20px;
  box-shadow: var(--pcb-shadow-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: all 0.28s var(--pcb-ease);
  position: relative;
  min-height: 230px;
  overflow: hidden;
  user-select: none;
}

.box-clickable:active {
  transform: scale(0.97) translateY(1px);
}

.box-clickable.is-active-configuring {
  border-color: var(--pcb-primary-bright) !important;
  box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.45), 0 0 30px rgba(227, 0, 15, 0.55) !important;
  animation: pcbConfiguringGlow 1.6s infinite ease-in-out !important;
}

@keyframes pcbConfiguringGlow {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.4), 0 0 20px rgba(227, 0, 15, 0.35);
    border-color: var(--pcb-primary-bright);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(227, 0, 15, 0.75), 0 0 38px rgba(227, 0, 15, 0.65);
    border-color: #ff5c6a;
  }
}

/* Glass specular highlight top edge */
.pc-builder-category-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.pc-builder-category-box:hover {
  transform: translateY(-4px);
  background: var(--pcb-glass-hover);
  border-color: var(--pcb-glass-border-bright);
  box-shadow: var(--pcb-shadow-glass-hover);
}

.pc-builder-category-box:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--pcb-primary-bright), transparent);
}

/* Category Index Number Badge */
.pc-builder-category-box .category-number {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--pcb-font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ff5252;
  background: rgba(227, 0, 15, 0.16);
  border: 1px solid rgba(227, 0, 15, 0.3);
  padding: 2px 8px;
  border-radius: var(--pcb-radius-full);
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Category Icon */
.pc-builder-category-box .pc-builder-category-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 18px 0 14px;
  transition: all 0.3s var(--pcb-ease);
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.14));
  opacity: 0.88;
}

.pc-builder-category-box:hover .pc-builder-category-icon {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
}

/* Category Name */
.pc-builder-category-box .category-name {
  font-family: var(--pcb-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  word-break: break-word;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Plus Icon */
.pc-builder-category-box .plus-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--pcb-text-white);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s var(--pcb-ease);
  margin-top: auto;
}

.pc-builder-category-box:hover .plus-icon {
  background: var(--pcb-primary);
  border-color: var(--pcb-primary-bright);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 18px rgba(227, 0, 15, 0.7);
}

/* ================================================================
   8) Section Break Dividers (Breakpoints)
================================================================ */
.pc-builder-breakpoint {
  grid-column: 1 / -1;
  margin: 18px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pc-builder-breakpoint::before,
.pc-builder-breakpoint::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.pc-builder-breakpoint h3 {
  font-family: var(--pcb-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff5252;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(22, 26, 42, 0.9);
  border: 1px solid rgba(227, 0, 15, 0.35);
  backdrop-filter: blur(16px);
  padding: 8px 24px;
  border-radius: var(--pcb-radius-full);
  margin: 0 16px;
  box-shadow: 0 0 20px rgba(227, 0, 15, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================================================================
   9) Filled Box State (Component Selected)
================================================================ */
.box-filled {
  background: var(--pcb-glass-card-filled) !important;
  border-color: rgba(227, 0, 15, 0.55) !important;
  box-shadow: var(--pcb-shadow-filled) !important;
  cursor: default !important;
  animation: pcbCardFilled 0.4s var(--pcb-ease);
}

@keyframes pcbCardFilled {
  0% { transform: scale(0.96); opacity: 0.7; }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

/* Assembly shockwave animation triggered upon component selection */
.box-filling-assembly {
  animation: pcbSlotAssemble 0.55s var(--pcb-ease) !important;
}

@keyframes pcbSlotAssemble {
  0% {
    transform: scale(0.91);
    box-shadow: 0 0 0 0 rgba(227, 0, 15, 0.9), 0 0 35px rgba(227, 0, 15, 0.7);
    border-color: var(--pcb-primary-bright) !important;
    filter: brightness(1.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(227, 0, 15, 0), 0 0 30px rgba(227, 0, 15, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--pcb-shadow-filled);
    filter: brightness(1);
  }
}

.product-img-anim-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.product-img-anim-wrap img {
  animation: pcbImgPopIn 0.42s var(--pcb-ease) both;
}

@keyframes pcbImgPopIn {
  0% {
    opacity: 0;
    transform: scale(0.68) translateY(14px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Dissolve animation when removing a component */
.box-removing-dissolve {
  animation: pcbDissolve 0.22s ease forwards !important;
  pointer-events: none;
}

@keyframes pcbDissolve {
  0% { transform: scale(1); opacity: 1; filter: blur(0); }
  100% { transform: scale(0.93); opacity: 0; filter: blur(4px); }
}

/* Checkmark indicator in top right */
.box-filled::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff4d5a, #e3000f);
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(227, 0, 15, 0.6);
  z-index: 3;
}

.box-product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.box-product-info .box-category-name {
  font-family: var(--pcb-font-main);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pcb-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.box-product-info img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 6px 0 10px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.box-product-info .big-product-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 12px 0 18px;
  filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.8));
}

.box-product-info .box-product-name {
  font-family: var(--pcb-font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  line-height: 1.35;
  margin-bottom: 8px;
  max-width: 95%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.box-product-info .product-price {
  font-family: var(--pcb-font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(227, 0, 15, 0.25);
  border: 1px solid rgba(227, 0, 15, 0.45);
  padding: 4px 14px;
  border-radius: var(--pcb-radius-full);
  margin-bottom: 12px;
  box-shadow: 0 0 14px rgba(227, 0, 15, 0.25);
}

/* Remove button */
.box-remove-product {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ff6b6b;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--pcb-ease);
  z-index: 4;
}

.box-remove-product:hover {
  background: #e3000f;
  border-color: #ff4d5a;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(227, 0, 15, 0.8);
}

/* Quantity controls */
.box-quantity-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 13, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: var(--pcb-radius-full);
  margin-top: auto;
}

.box-qty-decrease,
.box-qty-increase {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--pcb-text-white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.box-qty-decrease:hover,
.box-qty-increase:hover {
  background: var(--pcb-primary);
  color: #fff;
}

.box-product-qty {
  width: 34px;
  background: transparent;
  border: none;
  color: var(--pcb-text-white);
  font-family: var(--pcb-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  outline: none;
}

/* Hide spin buttons */
.box-product-qty::-webkit-outer-spin-button,
.box-product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ================================================================
   10) Right Column: Summary Cockpit Panel
================================================================ */
#pc-builder-summary {
  grid-area: summary;
  background: var(--pcb-glass-base);
  border: 1px solid var(--pcb-glass-border);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--pcb-radius-xl);
  padding: 26px;
  box-shadow: var(--pcb-shadow-glass);
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-header h3 {
  font-family: var(--pcb-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pcb-text-white);
  letter-spacing: -0.02em;
  margin: 0;
}

.summary-header .total {
  font-family: var(--pcb-font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff5252;
}

/* Items list */
#pc-builder-summary-items {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

#pc-builder-summary-items::-webkit-scrollbar {
  width: 5px;
}

#pc-builder-summary-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.summary-empty {
  text-align: center;
  padding: 40px 15px;
  color: var(--pcb-text-dim);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.summary-empty-icon {
  font-size: 2rem;
  opacity: 0.6;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(14, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--pcb-radius-md);
  transition: background 0.2s;
}

.summary-item:hover {
  background: rgba(22, 28, 46, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.summary-item-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--pcb-radius-sm);
  padding: 3px;
  flex-shrink: 0;
}

.summary-item-info {
  flex: 1;
  min-width: 0;
}

.summary-item-name {
  font-family: var(--pcb-font-main);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.summary-item-cat {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pcb-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}

.summary-item-price {
  font-family: var(--pcb-font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.summary-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(227, 0, 15, 0.12);
  border: 1px solid rgba(227, 0, 15, 0.35);
  border-radius: var(--pcb-radius-md);
  box-shadow: 0 0 20px rgba(227, 0, 15, 0.15);
}

.summary-total-label {
  font-family: var(--pcb-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-total-amount {
  font-family: var(--pcb-font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  color: #ff5252;
  text-shadow: 0 0 12px rgba(227, 0, 15, 0.5);
  transition: color 0.3s, text-shadow 0.3s;
}

.summary-total-amount.price-pulse,
#pc-builder-total-amount.price-pulse {
  animation: pcbPricePulse 0.45s var(--pcb-ease);
}

@keyframes pcbPricePulse {
  0% { transform: scale(1); }
  45% {
    transform: scale(1.1);
    color: #4ade80 !important;
    text-shadow: 0 0 18px rgba(74, 222, 128, 0.8) !important;
  }
  100% { transform: scale(1); }
}

/* Summary Buttons */
.summary-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.summary-buttons .button {
  font-family: var(--pcb-font-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: var(--pcb-radius-md);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pcb-text-white);
  transition: all 0.22s var(--pcb-ease);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.summary-buttons .button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

#pc-builder-buy-now {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ff2a3b 0%, #e3000f 50%, #b3000c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  padding: 15px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(227, 0, 15, 0.45) !important;
}

#pc-builder-buy-now:hover:not(:disabled) {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 35px rgba(227, 0, 15, 0.65) !important;
}

#pc-builder-buy-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

#pc-builder-remove-all {
  color: #ff6b6b !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
}

#pc-builder-remove-all:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

/* ================================================================
   11) Selection Modal Dialog — Hardware-Accelerated Fluid Entrance
================================================================ */
#pc-builder-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 6, 12, 0.84);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

#pc-builder-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#pc-builder-modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.pc-builder-modal-content {
  background: rgba(15, 19, 32, 0.96);
  border: 1px solid var(--pcb-glass-border-bright);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.92), 0 0 50px rgba(227, 0, 15, 0.25);
  border-radius: var(--pcb-radius-xl);
  width: 100%;
  max-width: 1060px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(0.94) translateY(24px);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#pc-builder-modal.is-open .pc-builder-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

#pc-builder-modal.is-closing .pc-builder-modal-content {
  transform: scale(0.96) translateY(14px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.18s ease;
}

.pc-builder-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.pc-builder-modal-title {
  font-family: var(--pcb-font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pcb-text-white);
  margin: 0;
  letter-spacing: -0.02em;
}

.pc-builder-modal-subtitle {
  font-family: var(--pcb-font-main);
  font-size: 0.88rem;
  color: var(--pcb-text-muted);
  margin: 4px 0 0 0;
}

.pc-builder-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pcb-text-white);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s var(--pcb-ease);
}

.pc-builder-close:hover {
  background: #e3000f;
  color: #fff;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 16px rgba(227, 0, 15, 0.6);
}

.pc-builder-modal-search-wrap {
  padding: 16px 30px;
  background: rgba(10, 13, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#pc-builder-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pcb-radius-full);
  padding: 12px 22px;
  color: var(--pcb-text-white);
  font-family: var(--pcb-font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}

#pc-builder-search:focus {
  border-color: var(--pcb-primary-bright);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.25), 0 0 20px rgba(227, 0, 15, 0.15);
}

#pc-builder-search::placeholder {
  color: var(--pcb-text-dim);
}

/* Products Container with smooth crossfade state */
#pc-builder-products {
  flex: 1;
  overflow-y: auto;
  padding: 24px 30px;
  transition: opacity 0.16s ease, filter 0.16s ease;
}

#pc-builder-products.is-switching {
  opacity: 0.15;
  filter: blur(4px);
}

#pc-builder-products::-webkit-scrollbar {
  width: 6px;
}

#pc-builder-products::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.pc-builder-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}

/* Product Tile in Modal — Cascading Staggered Entrance */
.pc-builder-product {
  background: rgba(20, 25, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pcb-radius-md);
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  animation: pcbProductCascadeIn 0.44s var(--pcb-ease) forwards;
  animation-delay: var(--pcb-item-delay, 0ms);
  transition: transform 0.26s var(--pcb-ease), background 0.24s, border-color 0.24s, box-shadow 0.26s, opacity 0.2s;
  will-change: transform, opacity;
}

@keyframes pcbProductCascadeIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.95);
    filter: blur(4px);
  }
  65% {
    transform: translateY(-2px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Specular holographic light sweep on card hover */
.pc-builder-product::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 1;
}

.pc-builder-product:hover::before {
  transform: translateX(120%);
}

.pc-builder-product:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(28, 36, 62, 0.95);
  border-color: rgba(227, 0, 15, 0.65);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.85), 0 0 26px rgba(227, 0, 15, 0.35);
}

.pc-builder-product-img-wrapper {
  width: 116px;
  height: 116px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.pc-builder-product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.32s var(--pcb-ease);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

.pc-builder-product:hover .pc-builder-product-img-wrapper img {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 10px 20px rgba(227, 0, 15, 0.28));
}

.pc-builder-product .product-title {
  font-family: var(--pcb-font-main);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pcb-text-white);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  position: relative;
  z-index: 2;
}

.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.pc-builder-product .product-price {
  font-family: var(--pcb-font-mono);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ff5252;
  background: rgba(227, 0, 15, 0.16);
  border: 1px solid rgba(227, 0, 15, 0.35);
  padding: 3px 10px;
  border-radius: var(--pcb-radius-full);
  margin: 0;
}

.pc-builder-select-btn {
  font-family: var(--pcb-font-main);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--pcb-radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pcb-text-white);
  transition: all 0.22s var(--pcb-ease);
}

.pc-builder-product:hover .pc-builder-select-btn {
  background: var(--pcb-primary);
  border-color: var(--pcb-primary-bright);
  color: #fff;
  box-shadow: 0 0 14px rgba(227, 0, 15, 0.6);
  transform: scale(1.05);
}

/* Selection feedback states */
.pc-builder-product.is-selecting {
  border-color: #22c55e !important;
  background: rgba(22, 101, 52, 0.38) !important;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.75) !important;
  transform: scale(1.04) !important;
  z-index: 10;
}

.pc-builder-product.is-selecting .pc-builder-select-btn {
  background: #22c55e !important;
  border-color: #4ade80 !important;
  color: #000 !important;
  font-weight: 800;
}

.pc-builder-product.is-dimmed {
  opacity: 0.32 !important;
  transform: scale(0.96) !important;
  filter: grayscale(40%);
}

.pc-builder-product.is-filtered-out {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

/* Empty state */
.pc-builder-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pc-builder-empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.pc-builder-empty-state h4 {
  font-family: var(--pcb-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pcb-text-white);
}

.pc-builder-empty-state p {
  font-family: var(--pcb-font-main);
  color: var(--pcb-text-dim);
  font-size: 0.95rem;
  max-width: 420px;
}

/* ================================================================
   12) Scanner Indicator & Shimmer Skeletons
================================================================ */
.pc-builder-scanner-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  margin-bottom: 22px;
  border-radius: var(--pcb-radius-full);
  background: rgba(227, 0, 15, 0.08);
  border: 1px solid rgba(227, 0, 15, 0.25);
  box-shadow: 0 0 20px rgba(227, 0, 15, 0.12);
  animation: pcbScannerPulse 2s infinite ease-in-out;
}

@keyframes pcbScannerPulse {
  0%, 100% { border-color: rgba(227, 0, 15, 0.25); }
  50% { border-color: rgba(227, 0, 15, 0.65); box-shadow: 0 0 28px rgba(227, 0, 15, 0.28); }
}

.pcb-scan-radar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pcb-primary-bright);
  box-shadow: 0 0 10px var(--pcb-primary-bright);
  position: relative;
}

.pcb-scan-radar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--pcb-primary-bright);
  animation: pcbRadarWave 1.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pcbRadarWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.pcb-scan-text {
  font-family: var(--pcb-font-main);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ff7b86;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#pc-builder-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pcf-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pcf-loader-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--pcb-primary-bright);
  border-radius: 50%;
  animation: pcbSpin 0.75s linear infinite;
  box-shadow: 0 0 24px rgba(227, 0, 15, 0.55);
}

@keyframes pcbSpin {
  to { transform: rotate(360deg); }
}

.pcf-loader-text {
  font-family: var(--pcb-font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pcb-text-white);
  letter-spacing: 0.05em;
}

/* Skeletons */
.pc-builder-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}

.pc-builder-skeleton-card {
  background: rgba(22, 28, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--pcb-radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: pcbSkelEntrance 0.35s var(--pcb-ease) both;
}

@keyframes pcbSkelEntrance {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.pcf-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: pcbShimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes pcbShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.pcf-skeleton-img { width: 95px; height: 95px; border-radius: 10px; }
.pcf-skeleton-title { width: 85%; height: 16px; }
.pcf-skeleton-price { width: 55%; height: 22px; border-radius: 12px; }x; }

/* ================================================================
   13) Toast Notification System
================================================================ */
#pcf-toast-container {
  position: fixed;
  top: 30px;
  right: 25px;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.pcf-toast {
  background: rgba(18, 22, 36, 0.95);
  border: 1px solid var(--pcb-glass-border-bright);
  backdrop-filter: blur(24px);
  padding: 14px 20px;
  border-radius: var(--pcb-radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  pointer-events: all;
  cursor: pointer;
  animation: pcbToastIn 0.3s var(--pcb-ease);
  transition: all 0.25s;
}

@keyframes pcbToastIn {
  from { transform: translateX(100%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.pcf-toast--out {
  transform: translateX(100%) scale(0.9);
  opacity: 0;
}

.pcf-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.pcf-toast--success .pcf-toast-icon { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.pcf-toast--error .pcf-toast-icon { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.pcf-toast--warning .pcf-toast-icon { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.pcf-toast--info .pcf-toast-icon { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

.pcf-toast-msg {
  font-family: var(--pcb-font-main);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pcb-text-white);
  line-height: 1.4;
}

/* ================================================================
   14) Responsive Breakpoints
================================================================ */
@media (max-width: 1200px) {
  #pc-builder-container {
    grid-template-columns: 280px 1fr;
    grid-template-areas:
      "progress progress"
      "left     center"
      "summary  summary";
  }
  #pc-builder-summary {
    position: static;
  }
}

@media (max-width: 900px) {
  #pc-builder-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "progress"
      "left"
      "center"
      "summary";
  }
  #pc-builder-center {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pc-builder-big-case {
    min-height: 360px;
  }
  .pcb-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  #pc-builder-center {
    grid-template-columns: 1fr !important;
  }
  .pc-builder-page-wrapper {
    padding: 20px 12px 60px;
  }
  .summary-buttons {
    grid-template-columns: 1fr;
  }
}
