@font-face {
  font-family: 'TungstenNarrow';
  src: url('./assets/fonts/TungstenNarrow-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {

  --sslabs-blue-primary: #0284c7;
  --sslabs-blue-hover: #0369a1;
  --sslabs-blue-light: #38bdf8;
  --sslabs-cyan: #0097b2;
  --sslabs-blue-glow: rgba(2, 132, 199, 0.35);
  --sslabs-gradient: linear-gradient(135deg, #0284c7 0%, #0097b2 50%, #38bdf8 100%);
  --sslabs-gradient-header: linear-gradient(90deg, #0284c7 0%, #0097b2 60%, #38bdf8 100%);

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-input: #ffffff;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #0284c7;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 12px 30px -4px rgba(2, 132, 199, 0.16);
  --modal-backdrop: rgba(15, 23, 42, 0.6);

  --badge-promo-bg: #fee2e2;
  --badge-promo-text: #dc2626;
  --badge-promo-border: #fecaca;

  --badge-tag-bg: #e0f2fe;
  --badge-tag-text: #0369a1;
  --badge-tag-border: #bae6fd;

  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: #e2e8f0;
}

[data-theme="dark"] {

  --bg-page: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  --bg-surface-subtle: #172033;
  --bg-input: #131c31;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0f172a;

  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --card-shadow-hover: 0 14px 36px rgba(2, 132, 199, 0.28);
  --modal-backdrop: rgba(3, 7, 18, 0.8);

  --badge-promo-bg: rgba(220, 38, 38, 0.18);
  --badge-promo-text: #f87171;
  --badge-promo-border: rgba(248, 113, 113, 0.35);

  --badge-tag-bg: rgba(2, 132, 199, 0.16);
  --badge-tag-text: #38bdf8;
  --badge-tag-border: rgba(56, 189, 248, 0.3);

  --header-bg: rgba(15, 23, 42, 0.92);
  --header-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.icon-svg {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.top-gradient-stripe {
  height: 4px;
  background: var(--sslabs-gradient-header);
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 22px;
  width: auto;
  max-width: 105px;
  object-fit: contain;
  filter: none;
  display: block;
  vertical-align: middle;
}

[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1);
}

.header-brand:hover .brand-logo-img {
  transform: none;
}

.brand-title-group {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-store-title {
  font-family: 'TungstenNarrow', sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sslabs-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  transform: translateY(2px);
  margin: 0;
}

.header-search-wrapper {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input-box {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.55rem 1rem 0.55rem 2.6rem;
  font-size: 0.88rem;
  color: var(--text-main);
  transition: all 0.2s ease;
  outline: none;
}

.search-input-box:focus {
  background: var(--bg-surface);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--sslabs-blue-glow);
}

.search-icon-inside {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  display: none;
  padding: 2px;
  border-radius: 50%;
}
.search-clear-btn:hover {
  color: var(--text-main);
}

.search-backdrop {
  position: fixed;
  top: 56px; 
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.45);
  z-index: 950; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.search-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.search-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: -40px;
  right: -40px;
  min-width: 580px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  max-height: 520px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 1100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: searchDrawerFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchDrawerFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-drawer.open {
  display: flex;
}

.search-drawer-header {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
}

.search-drawer-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
}

.search-drawer-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--sslabs-blue-primary);
}

.search-drawer-list {
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  gap: 0.45rem;
}

.search-product-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.search-product-card:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.search-card-img-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.search-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.search-product-card:hover .search-card-img {
  transform: scale(1.08);
}

.search-card-badge-mini {
  position: absolute;
  top: 3px;
  left: 3px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.search-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-card-header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.search-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: var(--badge-tag-bg);
  color: var(--badge-tag-text);
  border: 1px solid var(--badge-tag-border);
}

.search-card-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.search-card-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.search-card-price-orig {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-family: 'JetBrains Mono', monospace;
}

.search-card-price-current {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--sslabs-blue-primary);
}

.search-card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-search-customize {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-search-customize:hover {
  background: var(--sslabs-blue-hover);
  box-shadow: 0 4px 12px var(--sslabs-blue-glow);
  transform: translateY(-1px);
}

.btn-search-download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-search-download:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.btn-search-info {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-search-info:hover {
  color: var(--text-main);
  border-color: var(--border-focus);
}

.search-empty-state {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.search-empty-state svg {
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.search-empty-state p {
  font-size: 0.88rem;
  color: var(--text-main);
}

.search-empty-state span {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.action-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-icon-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-focus);
  color: var(--sslabs-blue-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.action-icon-btn:active {
  transform: scale(0.96);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 9999px;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-bounce {
  animation: cartHop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartHop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35) rotate(-6deg); }
  100% { transform: scale(1); }
}

.theme-icon-sun {
  display: none;
}
.theme-icon-moon {
  display: block;
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.hero-carousel-section {
  max-width: 1280px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
}

.carousel-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  height: 400px;
}

@media (max-width: 768px) {
  .carousel-viewport {
    height: 480px;
  }
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.5rem 3.5rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.35) 25%, rgba(15, 23, 42, 0.05) 45%, transparent 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  color: #ffffff;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  backdrop-filter: blur(4px);
}

.slide-title {
  font-family: 'TungstenNarrow', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.slide-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--sslabs-blue-glow);
}

.btn-primary:hover {
  background: var(--sslabs-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--sslabs-blue-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(2, 132, 199, 0.8);
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 24px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: var(--sslabs-blue-light);
  width: 42px;
  box-shadow: 0 0 10px var(--sslabs-blue-light);
}

.features-strip {
  max-width: 1280px;
  margin: 1.75rem auto 0;
  padding: 0 1.25rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--badge-tag-bg);
  color: var(--sslabs-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.products-section {
  max-width: 1280px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
  flex: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title-wrap h2 {
  font-family: 'TungstenNarrow', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1;
}

.section-title-wrap p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--bg-surface);
  color: var(--sslabs-blue-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: var(--card-shadow-hover);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 230px;
  background: var(--bg-surface-subtle);
  overflow: hidden;
  padding: 0;
  display: block;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-thumb {
  transform: scale(1.08);
}

.card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  line-height: 1;
}

.badge-pill.tag {
  background: var(--badge-tag-bg);
  color: var(--badge-tag-text);
  border: 1px solid var(--badge-tag-border);
}

.badge-pill.promo {
  background: var(--badge-promo-bg);
  color: var(--badge-promo-text);
  border: 1px solid var(--badge-promo-border);
  animation: pulsePromo 2.4s ease-in-out infinite;
}

@keyframes pulsePromo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

.badge-pill.coming-soon {
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.product-pricing {
  margin-bottom: 1rem;
}

.price-promo-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.price-promo-bottom {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.price-original {
  font-size: 0.82rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.1;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sslabs-blue-primary);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.15;
}

.price-badge-discount {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--badge-promo-bg);
  color: var(--badge-promo-text);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  line-height: 1;
}

.price-coming-soon {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.btn-card-customize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-customize:hover {
  background: var(--sslabs-blue-hover);
  box-shadow: 0 4px 12px var(--sslabs-blue-glow);
}

.btn-card-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-card-download:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-card-details {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-details:hover {
  border-color: var(--border-focus);
  color: var(--sslabs-blue-primary);
  background: var(--bg-surface);
}

.btn-card-disabled {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: not-allowed;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 10;
}

.modal-title-group h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-title-group p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--text-main);
  background: var(--bg-surface);
  border-color: var(--border-strong);
}

.customizer-modal-box {
  max-width: 960px;
}

.customizer-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (max-width: 820px) {
  .customizer-body {
    grid-template-columns: 1fr;
  }
}

.deck-visualizer-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.visualizer-conn-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
}

.conn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.conn-badge.active {
  color: var(--sslabs-blue-primary);
  border-color: var(--border-focus);
  background: var(--badge-tag-bg);
}

.visualizer-svg-container {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.visualizer-summary-chip {
  margin-top: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-align: center;
  max-width: 100%;
}

.customizer-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.control-group-title span.selected-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sslabs-blue-primary);
}

.color-swatches-grid {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.color-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.color-swatch-btn:hover {
  transform: scale(1.18);
}

.color-swatch-btn.active {
  outline-color: var(--sslabs-blue-primary);
  outline-offset: 2px;
  transform: scale(1.15);
}

.color-swatch-btn.color-blocked {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(0.6);
  position: relative;
}

.color-swatch-btn.color-blocked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  height: 2px;
  background: #ef4444;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 2px;
}

.color-custom-input-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--bg-surface);
  color: var(--text-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.color-custom-input-label:hover {
  border-color: var(--sslabs-blue-primary);
  color: var(--sslabs-blue-primary);
  transform: scale(1.1);
}

.color-custom-input-label input[type="color"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.icon-style-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.icon-style-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-style-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.icon-style-card.active {
  border-color: var(--sslabs-blue-primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 2px var(--sslabs-blue-glow);
}

.icon-style-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-style-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

.icon-style-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
}

.icon-style-card.active .icon-style-check {
  display: flex;
}

.icon-style-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.icon-style-thumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.mini-icon-sample {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.icon-style-card.active .mini-icon-sample {
  color: var(--sslabs-blue-primary);
  opacity: 1;
}

.customizer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.customizer-price-wrap {
  display: flex;
  flex-direction: column;
}

.customizer-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.customizer-price-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sslabs-blue-primary);
  font-family: 'JetBrains Mono', monospace;
}

.details-modal-box {
  max-width: 760px;
}

.details-modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.details-hero-img-wrap {
  width: 100%;
  height: 280px;
  background: var(--bg-surface-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.details-hero-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.details-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.details-specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.details-specs-table td {
  padding: 0.65rem 0.5rem;
}

.details-specs-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

.details-specs-table td:last-child {
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: var(--modal-backdrop);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100vh;
  z-index: 2200;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  background: var(--bg-surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.cart-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.cart-item-specs {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.cart-item-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--sslabs-blue-primary);
  font-size: 0.92rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.btn-qty {
  background: none;
  border: none;
  padding: 0.25rem 0.45rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-qty:hover {
  background: var(--bg-surface-subtle);
  color: var(--sslabs-blue-primary);
}

.cart-qty-num {
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 0 0.4rem;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-remove-item:hover {
  color: #dc2626;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--text-muted);
  gap: 1rem;
  padding: 2rem;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  color: var(--text-subtle);
  opacity: 0.6;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.total-row.highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border-subtle);
}

.total-row.highlight .total-val {
  color: var(--sslabs-blue-primary);
  font-family: 'JetBrains Mono', monospace;
}

.btn-checkout {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--sslabs-blue-primary);
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--sslabs-blue-glow);
}

.btn-checkout:hover {
  background: var(--sslabs-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--sslabs-blue-glow);
}

.checkout-modal-box {
  max-width: 580px;
}

.checkout-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-input, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--sslabs-blue-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 70px;
}

.form-helper {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.checkout-items-preview {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 160px;
  overflow-y: auto;
}

.preview-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.preview-item-row strong {
  color: var(--text-main);
}

.order-success-card {
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.success-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .success-check-circle {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.order-ref-badge {
  font-family: 'JetBrains Mono', monospace;
  background: var(--badge-tag-bg);
  color: var(--sslabs-blue-primary);
  border: 1px solid var(--badge-tag-border);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  max-width: 380px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast.info {
  border-left: 4px solid var(--sslabs-blue-primary);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding: 3rem 1.25rem 1.5rem;
  transition: background-color 0.25s ease;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 420px;
}

.footer-col h5 {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--sslabs-blue-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.6rem 0.85rem;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .header-brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 0.5rem;
  }

  .header-search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0.15rem;
  }

  .search-input-box {
    padding: 0.48rem 0.85rem 0.48rem 2.4rem;
    font-size: 0.82rem;
  }

  .search-backdrop {
    top: 98px;
  }

  .search-drawer {
    position: fixed;
    top: 110px;
    left: 10px;
    right: 10px;
    min-width: auto;
    max-height: 65vh;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  }

  .search-product-card {
    padding: 0.65rem 0.75rem;
    gap: 0.75rem;
  }

  .search-card-img-wrap {
    width: 60px;
    height: 60px;
  }

  .search-card-title {
    font-size: 0.86rem;
  }

  .search-card-desc {
    display: none;
  }

  .btn-search-customize, .btn-search-download, .btn-search-info {
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-image-container {
    height: 145px;
  }

  .product-card-body {
    padding: 0.75rem 0.65rem;
  }

  .product-title {
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
  }

  .product-desc {
    display: none; 
  }

  .product-pricing {
    margin-bottom: 0.65rem;
  }

  .price-promo-row {
    gap: 0.12rem;
  }

  .price-promo-bottom {
    gap: 0.35rem;
  }

  .price-current {
    font-size: 1.05rem;
  }

  .price-original {
    font-size: 0.72rem;
  }

  .price-badge-discount {
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }

  .price-coming-soon {
    font-size: 0.95rem;
  }

  .product-actions {
    gap: 0.35rem;
  }

  .btn-card-customize, .btn-card-download {
    padding: 0.5rem 0.35rem;
    font-size: 0.74rem;
    gap: 0.25rem;
  }

  .btn-card-details {
    width: 34px;
    height: 34px;
  }

  .btn-card-details .icon-svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .carousel-viewport {
    height: 420px;
  }

  .carousel-slide {
    min-height: 420px;
    background-position: 85% center;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem 1rem 1.6rem 1.15rem;
  }

  .slide-overlay {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.35) 35%, transparent 60%);
  }

  .slide-content {
    max-width: 310px;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .slide-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.35rem;
    gap: 0.3rem;
  }

  .slide-badge .icon-svg {
    width: 11px;
    height: 11px;
  }

  .slide-title {
    font-size: 1.45rem;
    margin-bottom: 0.3rem;
    line-height: 1;
  }

  .slide-subtitle {
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    max-width: 280px;
    color: #e2e8f0;
  }

  .slide-cta-row {
    gap: 0.45rem;
    display: flex;
    flex-wrap: wrap;
  }

  .slide-cta-row .btn-primary,
  .slide-cta-row .btn-secondary {
    padding: 0.45rem 0.8rem;
    font-size: 0.76rem;
    border-radius: 8px;
    gap: 0.35rem;
  }

  .slide-cta-row .btn-primary .icon-svg,
  .slide-cta-row .btn-secondary .icon-svg {
    width: 13px;
    height: 13px;
  }

  .customizer-modal-body {
    flex-direction: column;
    padding: 1rem;
    gap: 1.25rem;
  }

  .customizer-visualizer-col {
    min-height: auto;
  }

  .icon-style-options-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .carousel-viewport {
    height: 390px;
  }

  .carousel-slide {
    min-height: 390px;
    background-position: 86% center;
    padding: 0.85rem 0.85rem 1.35rem 0.95rem;
  }

  .slide-content {
    max-width: 260px;
  }

  .slide-title {
    font-size: 1.3rem;
  }

  .slide-subtitle {
    font-size: 0.72rem;
    max-width: 240px;
    margin-bottom: 0.65rem;
  }

  .slide-cta-row .btn-primary,
  .slide-cta-row .btn-secondary {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .product-image-container {
    height: 130px;
  }

  .product-title {
    font-size: 0.86rem;
  }

  .price-current {
    font-size: 0.98rem;
  }
}
