@charset "UTF-8";
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* TechZone Theme Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--primary-font, "Inter", sans-serif);
  color: var(--text, #1a1a2e);
  background: var(--white, #fff);
  font-size: 14px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* TOP BAR */
.topbar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 12px;
  padding: 6px 0;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-right a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.topbar-right a:hover {
  color: var(--accent, #00AAFF);
}

/* HEADER */
.header {
  background: var(--white, #fff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue, #0066CC);
  white-space: nowrap;
}

.logo img {
  max-width: 130px;
  max-height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--blue, #0066CC);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.search-bar {
  flex: 1;
  display: flex;
  max-width: 600px;
  border: 2px solid var(--blue, #0066CC);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.search-bar select {
  border: none;
  border-right: 1px solid var(--border, #e2e8f0);
  padding: 0 12px;
  font-size: 13px;
  background: #f8f9fa;
  color: var(--text, #1a1a2e);
  outline: none;
  cursor: pointer;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.search-bar button {
  background: var(--blue, #0066CC);
  color: white;
  border: none;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-bar button:hover {
  background: var(--blue-dark, #0052a3);
}

.spinner-icon {
  display: none;
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue, #0066CC);
}

.ps-panel--search-result {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted, #666);
  gap: 3px;
  transition: color 0.2s;
  position: relative;
}

.header-actions a i {
  font-size: 18px;
  color: var(--text, #1a1a2e);
}

.header-actions a:hover, .header-actions a:hover i {
  color: var(--blue, #0066CC);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red, #e53e3e);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAV */
nav.nav {
  display: block;
  background: var(--blue, #0066CC);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.nav-categories {
  background: #005ab5;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  min-width: 180px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: white;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  transition: background 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
}

.hotline {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

/* MAIN SECTION (sidebar + hero) */
.main-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  gap: 20px;
}

/* SIDEBAR */
.sidebar {
  width: 200px;
  min-width: 200px;
  background: var(--white, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  overflow: hidden;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  color: var(--text, #1a1a2e);
  transition: background 0.15s;
}

.sidebar ul li a:hover {
  background: var(--blue-light, #e8f0fb);
  color: var(--blue, #0066CC);
}

.sidebar ul li a .cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar ul li a i:first-child, .sidebar ul li a .cat-left svg.icon {
  color: var(--blue, #0066CC);
  width: 16px;
  height: 16px;
}

.sidebar ul li a .cat-left svg.icon {
  fill: none;
}

.sidebar ul li a i.fa-chevron-right {
  color: #aaa;
  font-size: 10px;
}

.sidebar-help {
  background: var(--blue-light, #e8f0fb);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sidebar-help i {
  color: var(--blue, #0066CC);
  font-size: 22px;
  margin-top: 2px;
}

.sidebar-help p {
  font-size: 11px;
  color: var(--text-muted, #666);
  margin-top: 2px;
}

.sidebar-help strong {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.sidebar-help a {
  display: inline-block;
  margin-top: 6px;
  background: var(--blue, #0066CC);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* HERO SLIDER */
.hero-slider {
  flex: 1;
  background: linear-gradient(135deg, #0a0e2e 0%, #0d1a4a 50%, #0a2060 100%);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero-slide {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 340px;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-content {
  padding: 40px 50px;
  z-index: 2;
  position: relative;
  flex: 1;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent, #00AAFF);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 170, 255, 0.3);
}

.hero-title {
  color: white;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-title span {
  color: var(--accent, #00AAFF);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 14px 0 24px;
  max-width: 280px;
  line-height: 1.6;
}

.btn-primary {
  background: var(--blue, #0066CC);
  color: white;
  padding: 11px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-dark, #0052a3);
  transform: translateY(-1px);
}

.hero-image-area {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-image-side img {
  max-height: 280px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hero-glow {
  position: absolute;
  right: 80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-tech-graphics {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-right: 40px;
}

.monitor-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.monitor {
  width: 180px;
  height: 110px;
  background: #0a0e1a;
  border: 3px solid rgba(0, 150, 255, 0.5);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 100, 255, 0.35);
  overflow: hidden;
}

.monitor-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.monitor-text {
  color: var(--accent, #00AAFF);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}

.monitor-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  margin-top: 4px;
}

.monitor-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue, #0066CC), var(--accent, #00AAFF));
  margin: 8px auto;
  border-radius: 1px;
}

.monitor-stand {
  width: 50px;
  height: 20px;
  background: #333;
  border-radius: 0 0 4px 4px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.dot.active {
  background: var(--blue, #0066CC);
  width: 22px;
  border-radius: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 14px;
  transition: background 0.2s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.left {
  left: 14px;
}

.slider-arrow.right {
  right: 14px;
}

/* TRUST BAR */
.trust-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.trust-bar-inner {
  border: 1px solid var(--border, #e2e8f0);
  background: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 0 0 6px 6px;
  border-top: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-right: 1px solid var(--border, #e2e8f0);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  font-size: 28px;
  color: var(--blue, #0066CC);
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.trust-text span {
  font-size: 11px;
  color: var(--text-muted, #666);
}

/* SECTIONS */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px 10px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--blue, #0066CC);
  border-radius: 2px;
}

.view-all {
  color: var(--blue, #0066CC);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all:hover {
  text-decoration: underline;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.cat-card {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  background: white;
}

.cat-card:hover {
  border-color: var(--blue, #0066CC);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.12);
  transform: translateY(-2px);
}

.cat-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  background: var(--blue-light, #e8f0fb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--blue, #0066CC);
}

.cat-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text, #1a1a2e);
}

/* PROMO BANNERS */
.promo-banners {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-card {
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card.blue {
  background: linear-gradient(135deg, #0a1628 0%, #0d2d6e 100%);
}

.promo-card.purple {
  background: linear-gradient(135deg, #1a0a3e 0%, #3d0d7a 100%);
}

.promo-card.navy {
  background: linear-gradient(135deg, #0a1020 0%, #0d2040 100%);
}

.promo-card h3 {
  color: white;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  z-index: 1;
  position: relative;
}

.promo-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  z-index: 1;
  position: relative;
  margin-top: 4px;
}

.promo-card a {
  background: var(--blue, #0066CC);
  color: white;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 1;
  position: relative;
  align-self: flex-start;
  transition: background 0.2s;
}

.promo-card a:hover {
  background: var(--blue-dark, #0052a3);
}

.promo-bg-icon {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 90px;
  opacity: 0.08;
  color: white;
}

/* BRANDS MARQUEE */
.brands-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.brands-label {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brands-marquee-wrap {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  overflow: hidden;
  padding: 16px 0;
  background: white;
  position: relative;
}

.brands-marquee-wrap::before, .brands-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.brands-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  width: -moz-max-content;
  width: max-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 30px;
  border-right: 1px solid var(--border, #e2e8f0);
  transition: color 0.2s;
}

.brand-item:hover {
  color: var(--blue, #0066CC);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* PRODUCT CARD */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red, #e53e3e);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.badge-new {
  background: var(--green, #38a169) !important;
}

.badge-hot {
  background: var(--orange, #ff6b00) !important;
}

.product-img-wrap {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.action-btn {
  position: relative;
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted, #666);
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.action-btn:hover, .action-btn.active {
  background: var(--blue, #0066CC);
  color: white;
  border-color: var(--blue, #0066CC);
}

.action-btn.btn-loading {
  color: transparent !important;
  pointer-events: none;
}

.action-btn.btn-loading i {
  opacity: 0;
}

.action-btn.btn-loading::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: var(--blue, #0066CC);
  animation: spin 0.6s linear infinite;
}

.action-btn.btn-loading.active::after {
  color: white;
}

.product-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stars {
  color: #f6ad55;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars span {
  color: var(--text-muted, #666);
  font-size: 10px;
  margin-left: 2px;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text, #1a1a2e);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .product-name {
  color: var(--blue, #0066CC);
}

/* FILTER TABS */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted, #666);
  border: 1px solid var(--border, #e2e8f0);
  border-right: none;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.filter-tab:first-child {
  border-radius: 5px 0 0 5px;
}

.filter-tab:last-child {
  border-radius: 0 5px 5px 0;
  border-right: 1px solid var(--border, #e2e8f0);
}

.filter-tab.active {
  background: var(--blue, #0066CC);
  color: white;
  border-color: var(--blue, #0066CC);
}

.filter-tab:hover:not(.active) {
  background: var(--blue-light, #e8f0fb);
  color: var(--blue, #0066CC);
}

/* PRODUCT VARIATIONS */
.product-variations {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 2px 0;
}

.variation-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.variation-label {
  font-size: 10px;
  color: var(--text-muted, #666);
  font-weight: 600;
  min-width: 36px;
  text-transform: uppercase;
}

.color-options {
  display: flex;
  gap: 4px;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}

.color-dot:hover, .color-dot.active {
  border-color: var(--blue, #0066CC);
}

.size-options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.size-opt {
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted, #666);
  transition: all 0.15s;
}

.size-opt:hover, .size-opt.active {
  border-color: var(--blue, #0066CC);
  color: var(--blue, #0066CC);
  background: var(--blue-light, #e8f0fb);
}

.storage-options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.storage-opt {
  font-size: 10px;
  padding: 2px 7px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted, #666);
  transition: all 0.15s;
}

.storage-opt:hover, .storage-opt.active {
  border-color: var(--blue, #0066CC);
  color: var(--blue, #0066CC);
  background: var(--blue-light, #e8f0fb);
}

/* STOCK BAR */
.stock-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

.stock-bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.stock-fill {
  height: 100%;
  background: var(--green, #38a169);
  border-radius: 2px;
}

.stock-text {
  font-size: 10px;
  color: var(--text-muted, #666);
  white-space: nowrap;
}

/* SECTION DIVIDER */
.section-divider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-divider hr {
  border: none;
  border-top: 1px solid var(--border, #e2e8f0);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-new {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue, #0066CC);
}

.price-old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-muted, #666);
}

.price-save {
  font-size: 10px;
  background: #fff0f0;
  color: var(--red, #e53e3e);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.product-btn-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.add-cart-btn {
  flex: 1;
  background: white;
  color: var(--blue, #0066CC);
  border: 1.5px solid var(--blue, #0066CC);
  padding: 8px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.add-cart-btn:hover {
  background: var(--blue, #0066CC);
  color: white;
}

.add-cart-btn.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.add-cart-btn.btn-loading > * {
  opacity: 0;
}

.add-cart-btn.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue, #0066CC);
  border-right-color: transparent;
  border-radius: 50%;
  left: calc(50% - 8px);
  top: calc(50% - 8px);
  animation: spin 0.6s linear infinite;
}

.buy-now-btn {
  flex: 1;
  background: var(--blue, #0066CC);
  color: white;
  border: 1.5px solid var(--blue, #0066CC);
  padding: 8px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.buy-now-btn:hover {
  background: var(--blue-dark, #0052a3);
  border-color: var(--blue-dark, #0052a3);
}

/* BEST SELLING CAROUSEL */
.bestsell-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-track .product-card {
  min-width: calc(25% - 12px);
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 14px;
  color: var(--text, #1a1a2e);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--blue, #0066CC);
  color: white;
  border-color: var(--blue, #0066CC);
}

.carousel-btn.prev {
  left: -16px;
}

.carousel-btn.next {
  right: -16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border, #e2e8f0);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--blue, #0066CC);
  width: 22px;
  border-radius: 4px;
}

/* WHY CHOOSE — testimonial + stats */
.why-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.testimonial {
  background: var(--blue, #0066CC);
  padding: 28px;
  border-radius: 10px;
  color: white;
}

.quote-icon {
  font-size: 36px;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 12px;
  opacity: 0.75;
}

.testimonial-stars {
  color: #f6ad55;
  font-size: 14px;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: white;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue, #0066CC);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted, #666);
  margin-top: 4px;
  font-weight: 500;
}

/* MID BANNER */
.mid-banner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

.mid-banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.mid-banner-main {
  border-radius: 12px;
  padding: 36px 40px;
  background: linear-gradient(120deg, #0a0e2e 0%, #003580 60%, #0066cc 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.mid-banner-main::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.mid-banner-main h2 {
  color: white;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  z-index: 1;
  position: relative;
}

.mid-banner-main h2 span {
  color: var(--accent, #00AAFF);
}

.mid-banner-main p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 10px 0 20px;
  z-index: 1;
  position: relative;
  max-width: 320px;
  line-height: 1.6;
}

.mid-banner-main a {
  background: white;
  color: var(--blue, #0066CC);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  z-index: 1;
  position: relative;
  align-self: flex-start;
  transition: all 0.2s;
}

.mid-banner-main a:hover {
  background: var(--accent, #00AAFF);
  color: white;
}

.mid-banner-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mid-banner-sm {
  border-radius: 10px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
}

.mid-banner-sm.orange {
  background: linear-gradient(120deg, #7c1a00, #cc3a00 80%, #ff6600);
}

.mid-banner-sm.purple {
  background: linear-gradient(120deg, #1a0a3e, #4a0d8a 80%, #7b2fff);
}

.mid-banner-sm h3 {
  color: white;
  font-size: 15px;
  font-weight: 800;
  z-index: 1;
  position: relative;
}

.mid-banner-sm p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  z-index: 1;
  position: relative;
  margin: 3px 0 10px;
}

.mid-banner-sm a {
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  align-self: flex-start;
}

.mid-banner-sm a:hover {
  border-color: white;
}

.bg-icon {
  position: absolute;
  right: -5px;
  bottom: -10px;
  font-size: 70px;
  opacity: 0.08;
  color: white;
  z-index: 0;
}

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(135deg, #0a1628, #0d2d6e);
  margin: 0;
  padding: 28px 0;
}

.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nl-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}

.nl-text h3 {
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.nl-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 2px;
}

.nl-form {
  display: flex;
  flex: 1;
  max-width: 480px;
  margin-left: auto;
  border-radius: 5px;
  overflow: hidden;
}

.nl-form input {
  flex: 1;
  border: none;
  padding: 11px 16px;
  font-size: 13px;
  outline: none;
}

.nl-form button {
  background: var(--blue, #0066CC);
  color: white;
  border: none;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.nl-form button:hover {
  background: var(--accent, #00AAFF);
}

/* FOOTER */
.footer {
  background: #0d1117;
  color: #aaa;
  padding: 40px 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.footer-logo img {
  max-width: 130px;
  max-height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer p {
  font-size: 12px;
  line-height: 1.7;
  color: #888;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #888;
  font-size: 12px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer ul li a:hover {
  color: var(--accent, #00AAFF);
}

.footer ul li a i {
  font-size: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 13px;
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--blue, #0066CC);
  border-color: var(--blue, #0066CC);
  color: white;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.footer-bottom-inner {
  border-top: 1px solid #222;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner p {
  font-size: 11px;
  color: #555;
}

.footer-payments {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pay-icon {
  background: white;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  color: #333;
}

.pay-icon.visa {
  background: #1a1aff;
  color: white;
}

.pay-icon.mc {
  background: #eb001b;
  color: white;
}

.pay-icon.pp {
  background: #003087;
  color: white;
}

.pay-icon.bkash {
  background: #e4002b;
  color: white;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-bubble {
  background: white;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  width: 280px;
  display: none;
}

.wa-bubble.open {
  display: block;
  animation: fadeUp 0.25s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wa-bubble-header {
  background: #075e54;
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 10px 14px;
  margin: -14px -16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.wa-name {
  font-size: 13px;
  font-weight: 700;
}

.wa-status {
  font-size: 11px;
  opacity: 0.75;
}

.wa-msg {
  background: #dcf8c6;
  border-radius: 0 10px 10px 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #1a1a1a;
  position: relative;
  margin-bottom: 12px;
}

.wa-msg::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  border: 7px solid transparent;
  border-right-color: #dcf8c6;
  border-top: 0;
}

.wa-input-row {
  display: flex;
  gap: 8px;
}

.wa-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}

.wa-send {
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.wa-send:hover {
  background: #1da851;
}

.wa-main-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.wa-main-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.wa-main-btn i {
  font-size: 28px;
  color: white;
}

.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53e3e;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE-ONLY BANNER OVERRIDES */
a.mid-banner-main[style*=background-image],
a.mid-banner-sm[style*=background-image],
a.promo-card[style*=background-image] {
  display: block !important;
  padding: 0 !important;
}

a.mid-banner-main[style*=background-image] {
  min-height: 200px;
}

a.mid-banner-sm[style*=background-image] {
  min-height: 92px;
}

/* CART NOTIFICATION */
.cart-notif {
  position: fixed;
  bottom: 90px;
  right: 28px;
  background: #1a1a2e;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

.cart-notif.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-notif i {
  color: #38a169;
  margin-right: 6px;
}

/* ── BREADCRUMB (products page) ── */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.breadcrumb-inner a {
  color: var(--blue);
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

.breadcrumb-inner i {
  font-size: 9px;
}

/* ── PRODUCTS PAGE LAYOUT ── */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.page-wrap.products-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ── FILTER SIDEBAR ── */
.filter-sidebar {
  width: 230px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.filter-box-head {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.filter-box-head i {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.filter-box-head.open i {
  transform: rotate(180deg);
}

.filter-box-body {
  padding: 14px 16px;
}

.filter-box-body.hidden {
  display: none;
}

.price-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.price-inputs input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}

.price-inputs input:focus {
  border-color: var(--blue);
}

.price-inputs span {
  color: var(--text-muted);
  font-size: 12px;
}

input[type=range] {
  width: 100%;
  accent-color: var(--blue);
}

.apply-price {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.apply-price:hover {
  background: var(--blue-dark);
}

.filter-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  cursor: pointer;
}

.filter-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.filter-check input[type=checkbox] {
  accent-color: var(--blue);
  width: 14px;
  height: 14px;
}

.filter-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 10px;
}

.show-more-btn {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
}

.hidden-extra {
  display: none;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 12px;
}

.star-row:hover {
  color: var(--blue);
}

.star-row i {
  color: #f6ad55;
  font-size: 12px;
}

.color-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}

.cf-dot:hover, .cf-dot.active {
  border-color: var(--blue);
  transform: scale(1.1);
}

/* ── CATEGORY MAIN ── */
.cat-main {
  flex: 1;
  min-width: 0;
}

.cat-hero {
  background: linear-gradient(120deg, #0a0e2e 0%, #003580 60%, #0066cc 100%);
  border-radius: 10px;
  padding: 28px 36px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.cat-hero::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.cat-hero-text h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.cat-hero-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-top: 6px;
}

.cat-hero-stats {
  display: flex;
  gap: 24px;
  z-index: 1;
  position: relative;
}

.cat-stat {
  text-align: center;
}

.cat-stat strong {
  display: block;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.cat-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.sub-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sub-cat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.sub-cat:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.sub-cat.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── TOOLBAR ── */
.toolbar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.toolbar-left strong {
  color: var(--text);
}

.sort-select {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.sort-select:focus {
  border-color: var(--blue);
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.vt-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.15s;
  background: #fff;
}

.vt-btn.active, .vt-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.active-filter-tag {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.active-filter-tag i {
  cursor: pointer;
  font-size: 9px;
}

.clear-all {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}

.clear-all:hover {
  text-decoration: underline;
}

/* ── PRODUCT GRID ── */
.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.products-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  color: #fff;
}

.badge-sale {
  background: var(--red);
}

.badge-new {
  background: var(--green);
}

.badge-hot {
  background: var(--orange);
}

.p-img {
  height: 160px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.p-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-quick {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.p-card:hover .p-quick {
  opacity: 1;
}

.q-btn {
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.15s;
}

.q-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.p-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.p-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.p-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-name:hover {
  color: var(--blue);
}

.p-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.p-stars i {
  color: #f6ad55;
  font-size: 10px;
}

.p-stars span {
  color: var(--text-muted);
  font-size: 10px;
}

.p-spec {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.p-price-new {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
}

.p-price-old {
  font-size: 11px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.p-save {
  font-size: 10px;
  background: #fff0f0;
  color: var(--red);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.p-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.p-stock-bar {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.p-stock-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

.p-stock-text {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.p-btns {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.p-btn-cart {
  flex: 1;
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 7px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
  font-family: inherit;
}

.p-btn-cart:hover {
  background: var(--blue);
  color: #fff;
}

.p-btn-buy {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
  padding: 7px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
  font-family: inherit;
}

.p-btn-buy:hover {
  background: var(--blue-dark);
}

/* List view */
.p-card-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: box-shadow 0.2s;
  position: relative;
}

.p-card-list:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.p-card-list .p-img {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 160px;
}

.p-card-list .p-body {
  padding: 16px 20px;
  flex-direction: row;
  flex-wrap: wrap;
}

.p-card-list .p-body-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.p-card-list .p-body-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 160px;
}

/* ── COMPARE BAR ── */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: #fff;
  z-index: 300;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.compare-bar.show {
  transform: translateY(0);
}

.compare-slots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.compare-slot {
  width: 80px;
  height: 60px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.compare-slot.filled {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(0, 170, 255, 0.1);
  font-size: 10px;
  color: #fff;
  text-align: center;
  padding: 4px;
}

.compare-btns {
  display: flex;
  gap: 10px;
}

.btn-compare-now {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-clear-compare {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding-bottom: 10px;
}

.pg-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--text-muted);
  transition: all 0.15s;
}

.pg-btn:hover, .pg-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.pg-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pg-dots {
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .filter-sidebar {
    display: none;
  }
  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-wrap.products-layout {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .products-grid-4 {
    grid-template-columns: 1fr;
  }
  .products-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* ── PRODUCT LIST LOADING OVERLAY ── */
.bb-product-items-wrapper {
  position: relative;
}

.bb-product-items-wrapper.loading {
  min-height: 300px;
}

.bb-product-items-wrapper.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-product-items-wrapper.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 11;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ── PRODUCT DETAIL PAGE ── */
/* Product section grid */
.product-section {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-img {
  background: #f8f9fa;
  border-radius: 10px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.img-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.img-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  color: #fff;
}

.badge-award {
  background: #8b5cf6;
}

.img-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 2;
}

.img-zoom:hover {
  background: var(--blue);
  color: #fff;
}

.img-share {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.share-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-muted);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.15s;
}

.share-btn:hover {
  background: var(--blue);
  color: #fff;
}

.thumb-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb {
  width: 68px;
  height: 68px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  flex-shrink: 0;
  overflow: hidden;
}

.thumb:hover, .thumb.active {
  border-color: var(--blue);
  transform: scale(1.04);
}

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

.gal-arrow {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  transition: all 0.15s;
}

.gal-arrow:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.gal-dots {
  display: flex;
  gap: 5px;
}

.gal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}

.gal-dot.active {
  background: var(--blue);
  width: 18px;
  border-radius: 4px;
}

/* Product info column */
.product-section .product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-brand-tag {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.p-sku {
  font-size: 11px;
  color: var(--text-muted);
}

.p-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.p-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -8px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stars-big {
  display: flex;
  gap: 3px;
}

.stars-big i {
  color: #f6ad55;
  font-size: 15px;
}

.rating-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.rating-count {
  color: var(--text-muted);
  font-size: 12px;
}

.rating-count a {
  color: var(--blue);
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}

/* Price */
.price-block {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-current {
  font-size: 30px;
  font-weight: 900;
  color: var(--blue);
}

.price-original {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-badge {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
}

.price-saving {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.price-emi {
  font-size: 12px;
  color: var(--text-muted);
}

.price-emi span {
  color: var(--blue);
  font-weight: 700;
}

/* Swatches / variations */
.variation-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.var-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.var-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  min-width: 68px;
}

.color-opts {
  display: flex;
  gap: 6px;
}

.c-opt {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
}

.c-opt:hover, .c-opt.active {
  border-color: var(--blue);
  transform: scale(1.1);
}

.c-opt.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.c-opt .c-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.c-opt:hover .c-tooltip {
  opacity: 1;
}

.pill-opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-muted);
}

.pill:hover, .pill.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.pill.disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Stock */
.stock-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.stock-dot.low {
  background: var(--orange);
  animation: pulse 0.8s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.stock-text {
  font-size: 13px;
  font-weight: 600;
}

.stock-bar-full {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* Qty + Buttons */
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 44px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.qty-num {
  width: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: none;
  outline: none;
  font-family: inherit;
  background: transparent;
}

.btn-add-cart {
  flex: 1;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-add-cart:hover {
  background: var(--blue);
  color: #fff;
}

.btn-buy-now {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-buy-now:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-wishlist {
  width: 44px;
  height: 44px;
  background: #fff0f0;
  color: var(--red);
  border: 2px solid #fecaca;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-wishlist:hover, .btn-wishlist.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-compare {
  width: 44px;
  height: 44px;
  background: var(--bg);
  color: var(--text-muted);
  border: 2px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-compare:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-color: var(--blue);
}

/* Delivery info */
.delivery-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
}

.d-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.d-icon.blue {
  background: var(--blue-light);
  color: var(--blue);
}

.d-icon.green {
  background: #e6ffee;
  color: var(--green);
}

.d-icon.orange {
  background: #fff5e8;
  color: var(--orange);
}

.d-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 1px;
}

.d-text span {
  color: var(--text-muted);
}

/* Payment row (product-detail override of footer .pay-icon) */
.product-section .product-info .payment-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-section .product-info .pay-icon {
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}

/* ── TABS ── */
.tabs-section {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
}

.tab-btn {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.tab-btn:hover:not(.active) {
  color: var(--text);
}

.tab-content {
  display: none;
  padding: 28px;
}

.tab-content.active {
  display: block;
}

.tab-content .ck-content {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.tab-content .ck-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.tab-content .ck-content p {
  margin-bottom: 12px;
}

/* Specs table (override Botble default) */
.tab-content .specs-table {
  width: 100%;
  border-collapse: collapse;
}

.tab-content .specs-table tr:nth-child(even) td {
  background: #f8f9fa;
}

.tab-content .specs-table td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.tab-content .specs-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 200px;
}

.tab-content .specs-table td:last-child {
  color: var(--text);
}

/* ── RELATED PRODUCTS ── */
.related-section {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.view-all-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.r-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.r-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.r-img {
  height: 120px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.r-body {
  padding: 10px;
  flex: 1;
}

.r-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.r-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.r-stars i {
  font-size: 9px;
  color: #f6ad55;
}

.r-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}

.r-add {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 0 8px 8px;
  margin-top: 2px;
  font-family: inherit;
  transition: background 0.2s;
}

.r-add:hover {
  background: var(--blue-dark);
}

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--border);
  z-index: 300;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.3s;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.sticky-bar.show {
  transform: translateY(0);
}

.sticky-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-img {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.sticky-name {
  font-size: 14px;
  font-weight: 700;
}

.sticky-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}

.sticky-btns {
  display: flex;
  gap: 10px;
}

.sticky-cart {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}

.sticky-cart:hover {
  background: var(--blue);
  color: #fff;
}

.sticky-buy {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}

.sticky-buy:hover {
  background: var(--blue-dark);
}

/* Countdown */
.countdown-wrap {
  background: linear-gradient(90deg, #0a0e2e, #0066cc);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.countdown-timer {
  display: flex;
  gap: 8px;
}

.cd-unit {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 5px 10px;
  text-align: center;
  min-width: 44px;
}

.cd-num {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.cd-lbl {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 700;
  align-self: center;
  margin-top: -4px;
}

/* Q&A */
.qa-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.qa-q {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.qa-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qa-q .qa-icon {
  background: var(--blue-light);
  color: var(--blue);
}

.qa-a .qa-icon {
  background: #e6ffee;
  color: var(--green);
}

.qa-text {
  font-size: 13px;
  line-height: 1.6;
}

.qa-text strong {
  color: var(--text);
}

.qa-text span {
  color: var(--text-muted);
}

/* ── PRODUCT DETAIL RESPONSIVE ── */
@media (max-width: 900px) {
  .product-section {
    grid-template-columns: 1fr;
  }
  .main-img {
    height: 280px;
  }
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .product-section {
    padding: 16px;
  }
  .price-current {
    font-size: 24px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qty-row .btn-add-cart, .qty-row .btn-buy-now {
    font-size: 12px;
    padding: 10px 12px;
  }
  .tab-btn {
    padding: 12px 14px;
    font-size: 12px;
  }
}
/* ══ WISHLIST PAGE ══ */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title i {
  color: var(--red);
}

.page-title span {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 20px;
}

.wish-actions {
  display: flex;
  gap: 10px;
}

.wish-btn {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  font-family: inherit;
}

.wish-btn.primary {
  background: var(--blue);
  color: #fff;
  border: none;
}

.wish-btn.primary:hover {
  background: var(--blue-dark);
}

.wish-btn.outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.wish-btn.outline:hover {
  background: var(--blue-light);
}

.wish-btn.ghost {
  background: none;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.wish-btn.ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.wish-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.wish-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.wish-sel {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: #fff;
}

.share-wish {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
}

.wish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.w-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.w-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.w-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-muted);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: all 0.15s;
}

.w-remove:hover {
  background: var(--red);
  color: #fff;
}

.w-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  color: #fff;
}

.badge-sale {
  background: var(--red);
}

.badge-new {
  background: var(--green);
}

.badge-hot {
  background: var(--orange);
}

.w-img {
  height: 160px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 62px;
  transition: transform 0.3s;
  overflow: hidden;
}

.w-card:hover .w-img {
  transform: scale(1.04);
}

.w-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.w-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.w-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.w-name:hover {
  color: var(--blue);
}

.w-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.w-stars i {
  font-size: 10px;
  color: #f6ad55;
}

.w-stars span {
  font-size: 10px;
  color: var(--text-muted);
}

.w-price {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.w-price-new {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
}

.w-price-old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.w-save {
  font-size: 10px;
  background: #fff0f0;
  color: var(--red);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.w-stock {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.w-stock.in {
  color: var(--green);
}

.w-stock.low {
  color: var(--orange);
}

.w-stock.out {
  color: var(--red);
}

.w-date {
  font-size: 10px;
  color: var(--text-muted);
}

.w-btns {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.w-btn-cart {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s;
  font-family: inherit;
}

.w-btn-cart:hover {
  background: var(--blue-dark);
}

.w-btn-cart.out {
  background: #ccc;
  cursor: not-allowed;
}

.w-btn-move {
  flex: 1;
  background: #fff;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.w-btn-move:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.empty-wish {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 60px 30px;
  text-align: center;
  display: none;
}

.empty-wish i {
  font-size: 64px;
  color: var(--border);
  margin-bottom: 16px;
}

.empty-wish h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-wish p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--text, #1a1a2e);
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: var(--green);
}

@media (max-width: 1100px) {
  .wish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .wish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .w-img {
    height: 140px;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wish-actions {
    width: 100%;
  }
  .wish-btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .page {
    padding: 16px;
  }
  .wish-grid {
    grid-template-columns: 1fr;
  }
  .w-img {
    height: 180px;
  }
  .wish-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .share-wish {
    margin-left: 0;
  }
}