/**
 * PCbildbg - Modern PC Hardware E-Commerce Stylesheet
 * Marine / Oceanic High-Tech Fish Palette & WordPress/WooCommerce Style
 * Clean semantic CSS architecture written by senior front-end engineers
 */

:root {
  /* Oceanic / Fish Palette ("Рибна гама") */
  --ocean-abyss: #071321;
  --ocean-dark: #0a1b30;
  --ocean-navy: #0f2744;
  --ocean-depth: #16365c;
  --ocean-border: #1f4570;
  
  /* Vibrant Marine & Cyan/Teal Accents */
  --teal-primary: #00b4d8;
  --teal-hover: #0096c7;
  --teal-light: #e0f7fa;
  --teal-glow: rgba(0, 180, 216, 0.25);
  --marine-aqua: #06d6a0;
  --marine-aqua-hover: #05b88a;
  
  /* Coral & Salmon Accents (Discounts & Flash Deals) */
  --coral-accent: #ff5733;
  --coral-hover: #e04826;
  --coral-light: #ffebe6;
  --coral-glow: rgba(255, 87, 51, 0.2);
  
  /* Neutral / Body & Cards */
  --bg-page: #f4f8fb;
  --bg-surface: #ffffff;
  --bg-surface-alt: #edf4f8;
  --text-main: #14213d;
  --text-muted: #5c6f84;
  --text-light: #8fa2b8;
  --text-inverse: #ffffff;
  --border-light: #e2ebf2;
  --border-strong: #c8d9e6;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(7, 19, 33, 0.05);
  --shadow-md: 0 4px 12px rgba(7, 19, 33, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 19, 33, 0.12);
  --shadow-hover: 0 14px 30px rgba(0, 180, 216, 0.18);
  --shadow-coral: 0 8px 20px rgba(255, 87, 51, 0.25);
  
  /* Layout & Sizing */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP BAR (WordPress / WooCommerce Trust Bar)
   ========================================================================== */
.top-bar {
  background-color: var(--ocean-abyss);
  color: #a8bfd6;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--teal-primary);
  flex-shrink: 0;
}

.top-bar-badge {
  background: linear-gradient(135deg, var(--teal-primary), var(--marine-aqua));
  color: var(--ocean-abyss);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.top-bar-currency {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ==========================================================================
   MAIN HEADER (Microless Style)
   ========================================================================== */
.site-header {
  background-color: var(--ocean-dark);
  color: var(--text-inverse);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(7, 19, 33, 0.35);
  border-bottom: 2px solid var(--teal-primary);
}

.header-main {
  padding: 0.9rem 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal-primary), #0077b6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--teal-glow);
  position: relative;
  overflow: hidden;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0.4;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  position: relative;
  z-index: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-title span {
  color: var(--teal-primary);
  background: linear-gradient(90deg, var(--teal-primary), var(--marine-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: #8da4be;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Header Search Form */
.header-search {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-form:focus-within {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 4px var(--teal-glow);
}

.search-category-select {
  background: #edf4f8;
  color: var(--ocean-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  border-right: 1px solid var(--border-light);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314213d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  background-size: 18px;
  padding-right: 1.8rem;
}

.search-input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--text-main);
  background: transparent;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-submit-btn {
  background: linear-gradient(135deg, var(--teal-primary), #0077b6);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.search-submit-btn:hover {
  background: linear-gradient(135deg, var(--teal-hover), #005f9e);
}

.search-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Header Quick Hotline */
.header-hotline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hotline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--teal-primary);
}

.hotline-details {
  display: flex;
  flex-direction: column;
}

.hotline-label {
  font-size: 0.72rem;
  color: #8da4be;
  text-transform: uppercase;
}

.hotline-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.hotline-number:hover {
  color: var(--teal-primary);
}

/* Header Actions (Wishlist & Cart) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.header-action-btn:hover {
  background: rgba(0, 180, 216, 0.2);
  border-color: var(--teal-primary);
}

.action-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: var(--teal-primary);
}

.action-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--coral-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 87, 51, 0.4);
}

.action-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.action-sub {
  font-size: 0.68rem;
  color: #8da4be;
  text-transform: uppercase;
}

.action-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   NAVIGATION BAR (WordPress Style Categories & Mega Bar)
   ========================================================================== */
.site-nav-bar {
  background-color: var(--ocean-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-dropdown-btn {
  background: linear-gradient(135deg, var(--teal-primary), #0077b6);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.3px;
  transition: background var(--transition-fast);
}

.category-dropdown-btn:hover {
  background: linear-gradient(135deg, var(--teal-hover), #005f9e);
}

.category-dropdown-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu-item a {
  display: block;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1e2f2;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.menu-item a:hover,
.menu-item.active a {
  color: #ffffff;
  background: rgba(0, 180, 216, 0.15);
}

.menu-item.promo-tag a {
  color: #ff9e80;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.menu-item.promo-tag a svg {
  width: 14px;
  height: 14px;
  fill: var(--coral-accent);
}

.menu-item.builder-tag a {
  color: var(--marine-aqua);
}

.nav-fast-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ebdd9;
  font-size: 0.8125rem;
}

.nav-fast-call strong {
  color: #ffffff;
}

/* ==========================================================================
   BUTTONS (High Performance & Modern Aesthetics)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Primary Aquatic Button */
.btn-primary {
  background: linear-gradient(135deg, var(--teal-primary), #0077b6);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--teal-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-hover), #005f9e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Coral Instant 1-Click Buy Button */
.btn-quick-buy {
  background: linear-gradient(135deg, var(--coral-accent), #e04826);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--coral-glow);
}

.btn-quick-buy:hover {
  background: linear-gradient(135deg, #ff6b4a, #cc3b1b);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.btn-quick-buy:active {
  transform: translateY(0);
}

/* Aqua Marine Button */
.btn-aqua {
  background: linear-gradient(135deg, var(--marine-aqua), #05a077);
  color: var(--ocean-abyss);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(6, 214, 160, 0.25);
}

.btn-aqua:hover {
  background: linear-gradient(135deg, #10e4ad, #048c68);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 214, 160, 0.35);
}

/* Outline / Ghost Button */
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  background: rgba(0, 180, 216, 0.05);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: var(--teal-primary);
  background: rgba(0, 180, 216, 0.2);
  color: #ffffff;
}

/* Button Sizing */
.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TRUST BADGES BAR (Google Ads & E-Commerce Compliance)
   ========================================================================== */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 22px;
  height: 22px;
  fill: var(--teal-primary);
}

.trust-content h4 {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.trust-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ==========================================================================
   HERO SECTION (Asymmetric Microless Style with Deal of the Day)
   ========================================================================== */
.hero-section {
  padding: 1.5rem 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.25rem;
}

.hero-main-banner {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean-navy) 60%, #163e69 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ocean-border);
}

.hero-main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: url('../img/products/hero-pc-build.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mask-image: linear-gradient(to right, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.hero-chip {
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid var(--teal-primary);
  color: var(--teal-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-title span {
  color: var(--teal-primary);
  background: linear-gradient(90deg, #00b4d8, #06d6a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: #cbdbe8;
  margin-bottom: 1.75rem;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

/* Deal of the Day Side Widget */
.hero-deal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
}

.deal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-light);
}

.deal-badge {
  background: var(--coral-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.countdown-box {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.countdown-timer {
  background: var(--ocean-dark);
  color: #ffffff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--teal-primary);
}

.deal-image-wrap {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  position: relative;
}

.deal-image-wrap img {
  max-height: 140px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.hero-deal-card:hover .deal-image-wrap img {
  transform: scale(1.05);
}

.deal-discount-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--coral-accent), #e04826);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.deal-info h3 {
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.deal-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ocean-dark);
}

.price-old {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.deal-stock-bar {
  margin-bottom: 0.85rem;
}

.stock-progress {
  height: 6px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.stock-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral-accent), #f97316);
  border-radius: var(--radius-pill);
}

.stock-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CATEGORY QUICK NAV (Cards Grid)
   ========================================================================== */
.categories-section {
  padding: 1.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ocean-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--teal-primary);
  border-radius: 2px;
  margin-left: 0.5rem;
}

.section-view-all {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.section-view-all:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.85rem;
}

.cat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cat-card:hover {
  border-color: var(--teal-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.cat-card:hover .cat-icon-wrap {
  background: var(--teal-light);
}

.cat-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: var(--ocean-dark);
  transition: fill var(--transition-fast);
}

.cat-card:hover .cat-icon-wrap svg {
  fill: var(--teal-primary);
}

.cat-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.cat-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS (Diverse styles with discounts in EUR €)
   ========================================================================== */
.products-section {
  padding: 1.5rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Standard WooCommerce / Microless Card */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.product-card:hover {
  border-color: var(--teal-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Card Badges */
.card-badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 5;
}

.badge-discount {
  background: linear-gradient(135deg, var(--coral-accent), #e04826);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(255, 87, 51, 0.3);
}

.badge-tag {
  background: var(--ocean-dark);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.badge-tag.hot {
  background: #f59e0b;
}

.badge-tag.warranty {
  background: rgba(0, 180, 216, 0.15);
  color: #0077b6;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

/* Card Wishlist & Quick Action */
.card-quick-actions {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 5;
}

.action-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.action-circle-btn:hover {
  color: var(--coral-accent);
  border-color: var(--coral-accent);
  transform: scale(1.1);
}

.action-circle-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Product Media */
.product-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-thumb img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

/* Product Meta */
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
}

.product-brand {
  color: var(--teal-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-weight: 700;
}

.product-rating svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: normal;
}

/* Product Title */
.product-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-name a:hover {
  color: var(--teal-primary);
}

/* Hardware Specs Badges */
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.spec-pill {
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

/* Availability Status */
.product-stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--marine-aqua);
  box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.25);
}

.stock-in {
  color: #059669;
}

.stock-limited {
  color: #d97706;
}

.stock-limited .stock-dot {
  background-color: #f59e0b;
}

/* Pricing Area */
.product-pricing-wrap {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.price-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ocean-dark);
}

.price-main span {
  font-size: 0.95rem;
}

.price-previous {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.savings-label {
  font-size: 0.72rem;
  color: var(--coral-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Card Button Group */
.card-cta-group {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.45rem;
}

/* ==========================================================================
   FEATURED BANNER / PC BUILDER TEASER
   ========================================================================== */
.builder-banner {
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--ocean-abyss) 0%, var(--ocean-dark) 50%, #0d2847 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ocean-border);
  position: relative;
  overflow: hidden;
}

.builder-banner::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.builder-banner-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.builder-banner-tag {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid var(--marine-aqua);
  color: var(--marine-aqua);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.builder-banner-title {
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.builder-banner-desc {
  color: #cbdbe8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.builder-perks {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.builder-perk-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.builder-perk-item svg {
  width: 16px;
  height: 16px;
  fill: var(--marine-aqua);
}

.builder-banner-media {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  max-width: 320px;
}

.builder-banner-media img {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 2px solid rgba(0, 180, 216, 0.3);
}

/* ==========================================================================
   CUSTOMER REVIEWS & TRUST SECTION
   ========================================================================== */
.reviews-section {
  padding: 2rem 0;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.5;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.reviewer-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--ocean-dark);
}

.reviewer-city {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
}

.verified-buyer svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ==========================================================================
   BRANDS STRIP
   ========================================================================== */
.brands-strip {
  padding: 1.75rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-badge-item {
  font-weight: 800;
  font-size: 1.15rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.brand-badge-item:hover {
  color: var(--ocean-dark);
}

/* ==========================================================================
   RICH WORDPRESS / WOOCOMMERCE FOOTER (Google Ads Compliance)
   ========================================================================== */
.site-footer {
  background-color: var(--ocean-abyss);
  color: #cbdbe8;
  border-top: 3px solid var(--teal-primary);
  padding-top: 3rem;
}

/* Newsletter Bar */
.footer-newsletter {
  background: linear-gradient(135deg, var(--ocean-navy), var(--ocean-depth));
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--ocean-border);
}

.newsletter-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.newsletter-text p {
  color: #a8c4db;
  font-size: 0.875rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 450px;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.875rem;
}

.newsletter-input::placeholder {
  color: #8da4be;
}

.newsletter-input:focus {
  border-color: var(--teal-primary);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer Main Columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--teal-primary);
}

.footer-about-text {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #9eb5cc;
}

.footer-company-details {
  font-size: 0.8125rem;
  color: #a8c2d9;
  line-height: 1.6;
}

.footer-company-details strong {
  color: #ffffff;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: #9eb5cc;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--teal-primary);
  transform: translateX(4px);
}

/* Institutional Links (Google Ads requirement: CPC, CPDP, ADR) */
.gov-trust-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-top: 1rem;
}

.gov-trust-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.gov-trust-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
}

.gov-trust-links a {
  color: var(--teal-primary);
  text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0 2rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #7b94ad;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   ORDER MODAL (ONLY Name & Phone Number) - User Request #7
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 33, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  border: 1px solid var(--border-light);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-navy));
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--teal-primary);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header h3 svg {
  width: 20px;
  height: 20px;
  fill: var(--coral-accent);
}

.modal-close-btn {
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 87, 51, 0.8);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.modal-body {
  padding: 1.5rem;
}

/* Selected Product Summary in Modal */
.modal-product-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface-alt);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}

.modal-product-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.modal-product-meta h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.modal-product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal-hover);
}

/* The strict ONLY Name & Phone Form */
.quick-order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-label span.req {
  color: var(--coral-accent);
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-wrap svg {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--text-main);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #059669;
  background: #ecfdf5;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
}

.form-guarantee-note svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (GDPR / Google Ads Compliant)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(7, 19, 33, 0.25);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  z-index: 2500;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-header svg {
  width: 24px;
  height: 24px;
  fill: var(--teal-primary);
}

.cookie-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ocean-dark);
}

.cookie-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cookie-text a {
  color: var(--teal-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--ocean-dark);
  color: #ffffff;
  border-left: 4px solid var(--marine-aqua);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toastIn 0.3s ease-out forwards;
}

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

/* ==========================================================================
   PAGE HEADERS (Catalog, Product, About, Contact, Policies)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean-navy) 100%);
  color: #ffffff;
  padding: 2.25rem 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--teal-primary);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #9eb5cc;
  margin-bottom: 0.65rem;
}

.breadcrumbs a:hover {
  color: var(--teal-primary);
}

.breadcrumbs span.current {
  color: #ffffff;
  font-weight: 600;
}

.page-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

/* ==========================================================================
   CATALOG FILTER & SIDEBAR
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.filter-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.filter-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--ocean-dark);
  margin-bottom: 0.85rem;
}

.filter-list li {
  margin-bottom: 0.45rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
}

.filter-checkbox-label input {
  margin-right: 0.5rem;
  accent-color: var(--teal-primary);
}

.filter-checkbox-label span.count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.catalog-toolbar {
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sort-select {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  background: #ffffff;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE SPECIFICS & INTERACTIVE TABS
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.product-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main-img {
  height: 400px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-main-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.thumb-item {
  width: 75px;
  height: 75px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  cursor: pointer;
  background: #ffffff;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 2px var(--teal-glow);
}

/* Product Tabs Container */
.product-tabs-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 3rem;
}

.product-tabs-nav {
  display: flex;
  background: var(--ocean-dark);
  border-bottom: 3px solid var(--teal-primary);
  overflow-x: auto;
  scrollbar-width: none;
}

.product-tabs-nav::-webkit-scrollbar {
  display: none;
}

.product-tab-btn {
  padding: 1.15rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #9eb5cc;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.product-tab-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.product-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.product-tab-btn.active {
  color: #ffffff;
  background: var(--teal-primary);
}

.product-tab-btn.active svg {
  fill: #ffffff;
}

.product-tab-content {
  padding: 2.5rem 3rem;
}

.product-tab-pane {
  display: none;
  animation: fadeInTab 0.3s ease-in-out;
}

.product-tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.detail-specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.detail-specs-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-alt);
  color: var(--ocean-dark);
  font-weight: 700;
  width: 35%;
}

.detail-specs-table td {
  padding: 0.85rem 1rem;
  color: var(--text-main);
  background: #ffffff;
}

/* Catalog Category Filter Tabs */
.catalog-cat-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.catalog-cat-tab {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.catalog-cat-tab:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
}

.catalog-cat-tab.active {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--teal-glow);
}

/* ==========================================================================
   CHECKOUT PAGE (Simplified ONLY Name & Phone)
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.checkout-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.thank-you-box {
  background: #ffffff;
  max-width: 680px;
  margin: 2rem auto 4rem;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.order-code-badge {
  display: inline-block;
  background: var(--ocean-dark);
  color: var(--teal-primary);
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  margin: 1rem 0 1.5rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   LEGAL PAGES & POLICIES CONTENT
   ========================================================================== */
.policy-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.policy-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ocean-dark);
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
}

.policy-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ocean-navy);
  margin: 1.25rem 0 0.5rem;
}

.policy-card p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.policy-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.policy-card li {
  margin-bottom: 0.35rem;
}

.policy-box-highlight {
  background: var(--bg-surface-alt);
  border-left: 4px solid var(--teal-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}
