/* ============================================
   LisansJet Shop - Premium Modern Design
   Theme Colors: #2f343b (Dark) + #f39321 (Orange)
   ============================================ */

:root {
  /* Core Colors */
  --shop-dark: #2f343b;
  --shop-dark-rgb: 47, 52, 59;
  --shop-dark-light: #3a4149;
  --shop-orange: #f39321;
  --shop-orange-rgb: 243, 147, 33;
  --shop-blue: #0d6efd; /* Bootstrap blue fallback */

  /* Semantic Colors */
  --text-main: #1a1d23;
  --text-muted: #6c757d;
  --bg-surface: #ffffff;
  --bg-body: #f8f9fa;
  --border-color: #e9ecef;

  /* Spacing & Sizes */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============ Typography ============ */
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: -0.025em;
}

.fw-semi-bold {
  font-weight: 600;
}
.fw-extra-bold {
  font-weight: 800;
}

/* ============ Hero Section ============ */
.product-detail-hero {
  background: linear-gradient(135deg, var(--shop-dark) 0%, #1a1d21 100%);
  color: #fff;
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.product-detail-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(243, 147, 33, 0.1) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.5em 1em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-badges .badge:hover {
  background: rgba(255, 255, 255, 0.2);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

/* ============ Mobile Responsiveness ============ */
@media (max-width: 991.98px) {
  .product-detail-hero {
    padding: 2rem 0;
    text-align: center;
  }

  .product-detail-hero h1 {
    font-size: 2rem;
  }

  .product-detail-hero .lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .product-detail-hero .d-flex.opacity-75 {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Tabs scrollable on mobile */
  .product-tabs-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    gap: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .product-tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .buy-box-card {
    position: static; /* Remove sticky on mobile */
    margin-top: 2rem;
    z-index: 1;
  }

  /* Sticky bottom bar adjustments if needed */
  .fixed-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ============ Premium Info Components ============ */

/* 1. Specs Grid (System Requirements) */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-item {
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--shop-transition);
}

.spec-item:hover {
  background: #fff;
  border-color: var(--shop-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--shop-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.spec-content h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.spec-content p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}

/* 2. Step Timeline (Activation Guide) */
.howto-timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.howto-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  width: 32px;
  height: 32px;
  background: var(--shop-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 4px #fff;
  z-index: 1;
}

.timeline-content {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-left: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--shop-transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--shop-orange-light);
}

.timeline-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--shop-dark);
}

/* 3. File Info Cards */
.file-info-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--shop-transition);
}

.file-info-card:hover {
  border-color: var(--shop-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.file-icon-lg {
  font-size: 2.5rem;
  color: var(--shop-orange);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.file-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.file-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--shop-dark);
}

/* 4. Process Flow (Delivery) */
.delivery-process {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 3rem 0;
}

.delivery-process::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.process-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--shop-transition);
}

.process-step.active .process-icon {
  border-color: var(--shop-orange);
  background: var(--shop-orange);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(243, 147, 33, 0.2);
}

.process-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--shop-dark);
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 150px;
  margin: 0 auto;
}

/* Mobile adjustments for new components */
@media (max-width: 768px) {
  .delivery-process {
    flex-direction: column;
    gap: 2rem;
  }

  .delivery-process::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .process-icon {
    margin: 0;
  }

  .process-desc {
    margin: 0;
    max-width: none;
  }

  .timeline-content {
    padding: 1rem;
  }
}
.product-image-container {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.product-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform 0.5s ease;
}

.product-image-wrapper:hover img {
  transform: scale(1.02);
}

/* ============ Tabs ============ */
.product-tabs {
  margin-top: 3rem;
}

.product-tabs-nav {
  border-bottom: 2px solid var(--border-color);
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-tabs-nav .nav-link {
  border: none;
  background: transparent;
  padding: 0 0 1rem 0;
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
  transition: all 0.2s;
}

.product-tabs-nav .nav-link:hover {
  color: var(--shop-orange);
}

.product-tabs-nav .nav-link.active {
  color: var(--text-main);
}

.product-tabs-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--shop-orange);
  border-radius: 99px;
}

.tab-pane {
  animation: fadeIn 0.4s ease;
}

/* ============ Buy Box ============ */
.buy-box-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 2rem;
  overflow: hidden;
  z-index: 50; /* Ensure it stays above other content */
}

.buy-box-header {
  background: linear-gradient(to right, #f8f9fa, #fff);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.buy-box-body {
  padding: 1.5rem;
}

.price-tag {
  color: var(--shop-dark);
}

.price-tag .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.price-tag .currency {
  font-size: 1.25rem;
  font-weight: 600;
  margin-left: 2px;
  color: var(--text-muted);
  vertical-align: super;
}

.old-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.discount-badge {
  background: #ffeee6; /* light orange */
  color: #d65306;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-primary-custom {
  background: var(--shop-orange);
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(243, 147, 33, 0.3);
}

.btn-primary-custom:hover {
  background: #e0831a;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(243, 147, 33, 0.4);
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f5;
  color: var(--shop-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ============ Animations ============ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeIn 0.6s ease forwards;
}

/* ============ Improved Feature List (Tabs) ============ */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--shop-orange);
  background: #fffbf5; /* very light orange tint */
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(243, 147, 33, 0.1);
  color: var(--shop-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-card-text {
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
}

/* ============ Accordion (FAQ) ============ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: #fff;
  color: var(--text-main);
  font-weight: 600;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--shop-orange);
  background: #fffbf5;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(243, 147, 33, 0.5);
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ Reviews & Ratings ============ */
.review-summary-card {
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
}

.rating-big {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--shop-dark);
}

.progress-thin {
  height: 8px;
  border-radius: 4px;
  background-color: var(--border-color);
}

.review-item {
  transition: var(--shop-transition);
  background: #fff;
  border: 1px solid var(--border-color);
}

.review-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--shop-gray-300);
}

/* ============ Related Products ============ */
.related-section {
  background: var(--bg-surface);
  position: relative;
  z-index: 10;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 4px;
  background: var(--shop-orange);
  border-radius: 2px;
}

/* ============ Modern Quantity Selector ============ */
.quantity-controller {
  display: inline-flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 50rem; /* Pill shape */
  padding: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  width: auto;
}

.quantity-controller:hover {
  background: #fff;
  border-color: var(--shop-orange);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.quantity-btn:hover {
  background: var(--shop-orange);
  color: #fff;
  transform: scale(1.05);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-input {
  width: 45px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--shop-dark);
  padding: 0;
  margin: 0 5px;
  -moz-appearance: textfield;
}

.quantity-input:focus {
  outline: none;
}

/* ============ Shop Listing Page Styles ============ */

/* Shop Hero Section */
.shop-hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #1a1d21 0%, #2f343b 100%);
  overflow: hidden;
  color: #fff;
  margin-bottom: 2rem;
}

.shop-hero-wrapper {
  position: relative;
  z-index: 2;
}

.shop-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.shop-hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--shop-orange);
  top: -100px;
  right: -50px;
  filter: blur(50px);
}

.shop-hero-shape-2 {
  width: 200px;
  height: 200px;
  background: #0d6efd;
  bottom: -50px;
  left: 10%;
  filter: blur(40px);
}

.shop-hero-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.shop-hero-icon-1 {
  font-size: 8rem;
  top: 10%;
  right: 5%;
  transform: rotate(15deg);
}
.shop-hero-icon-2 {
  font-size: 5rem;
  bottom: 15%;
  left: 5%;
  transform: rotate(-10deg);
}
.shop-hero-icon-3 {
  font-size: 3rem;
  top: 20%;
  left: 40%;
  opacity: 0.03;
}

.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 147, 33, 0.2);
  border: 1px solid rgba(243, 147, 33, 0.3);
  color: var(--shop-orange);
  padding: 8px 16px;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.shop-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.shop-hero-title-highlight {
  color: var(--shop-orange);
}

.shop-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Shop Search */
.shop-hero-search {
  position: relative;
  max-width: 600px;
  margin-bottom: 3rem;
}

.shop-hero-search .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  color: #fff;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.shop-hero-search .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--shop-orange);
  box-shadow: 0 0 0 4px rgba(243, 147, 33, 0.2);
}

.shop-hero-search .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
}

/* Shop Stats */
.shop-hero-stats {
  display: flex;
  gap: 2rem;
}

.shop-hero-stat {
  display: flex;
  flex-direction: column;
}

.shop-hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.shop-hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Sidebar & Filters */
.shop-sidebar .filter-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.filter-card-header {
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-card-body {
  padding: 1.25rem;
}

.filter-checkbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.filter-checkbox:last-child {
  margin-bottom: 0;
}

.filter-checkbox-label {
  color: var(--text-main);
  font-size: 0.95rem;
}

.filter-checkbox-count {
  background: #f1f3f5;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Product Card Grid */
.product-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(243, 147, 33, 0.3);
}

.product-card-image {
  position: relative;
  padding-top: 60%; /* Aspect Ratio */
  background: #f8f9fa;
  overflow: hidden;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--shop-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.product-card-title a:hover {
  color: var(--shop-orange);
}

.product-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.product-card-footer {
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.product-price-stock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--shop-dark);
}

.product-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-btn-primary {
  background: var(--shop-orange);
  color: #fff;
}

.product-btn-primary:hover {
  background: #e08315;
  transform: translateY(-2px);
}

.product-btn-secondary {
  background: #e9ecef;
  color: var(--text-muted);
}

/* Trust Section */
.trust-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
}

.trust-badge {
  text-align: center;
  padding: 1.5rem;
}

.trust-badge-icon {
  font-size: 2.5rem;
  color: var(--shop-orange);
  margin-bottom: 1rem;
}

.trust-badge-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-badge-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============ Envato Market Style ============ */
.envato-header-bg {
  background-color: #262626;
  color: #fff;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.envato-breadcrumb {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.envato-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #666;
}

.envato-breadcrumb a {
  color: #ccc;
  text-decoration: none;
}

.envato-breadcrumb a:hover {
  color: #fff;
}

.envato-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: #fff;
}

.envato-meta {
  font-size: 0.9rem;
  color: #ccc;
}

.envato-sidebar-card {
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.envato-price-box {
  margin-bottom: 1.5rem;
}

.envato-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.envato-license-type {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.live-preview-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #fff;
  color: var(--shop-primary);
  border: 1px solid var(--shop-primary);
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.live-preview-btn:hover {
  background: var(--shop-primary);
  color: #fff;
  text-decoration: none;
}

.item-sales-count {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
}

.item-sales-label {
  font-size: 0.85rem;
  color: #888;
}

.sidebar-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.sidebar-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-meta-list li:last-child {
  border-bottom: none;
}

.sidebar-meta-label {
  color: #666;
  font-weight: 500;
}

.sidebar-meta-value {
  color: #333;
  font-weight: 600;
  text-align: right;
}

/* Gallery & Video */
.media-gallery-container {
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-gallery-main {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 5px;
}

.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  object-fit: cover;
  border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--shop-primary);
}

/* Changelog */
.changelog-item {
  padding: 1.5rem;
  border-left: 3px solid var(--border-color);
  background: #fdfdfd;
  margin-bottom: 1.5rem;
  position: relative;
}

.changelog-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--shop-orange);
}

.changelog-version {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--shop-dark);
  margin-bottom: 0.5rem;
}

.changelog-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.changelog-list ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.changelog-list li {
  margin-bottom: 0.5rem;
}

.badge-new {
  background-color: #82b541;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-left: 5px;
}

.badge-fix {
  background-color: #d15656;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-left: 5px;
}

/* Auto Install Badge */
.auto-install-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow:
    0 4px 6px rgba(50, 50, 93, 0.11),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ============ Glassmorphism Core ============ */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  border-radius: var(--radius-md);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(209, 213, 219, 0.3);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(243, 147, 33, 0.3); /* Orange hint on hover */
}

/* Dark mode specific glass adjustments if body has dark class (optional future proofing) */
body.dark-mode .glass-panel {
  background: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Glass Tabs */
.glass-tabs .nav-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.glass-tabs .nav-link:hover {
  color: var(--shop-orange);
  background: rgba(243, 147, 33, 0.05);
}

.glass-tabs .nav-link.active {
  color: var(--shop-dark);
  border-bottom-color: var(--shop-orange);
  background: linear-gradient(to top, rgba(243, 147, 33, 0.05), transparent);
}

/* Premium Component Padding Overrides */
.p-premium {
  padding: 2.5rem !important; /* p-5 equivalent */
}

@media (max-width: 768px) {
  .p-premium {
    padding: 1.5rem !important;
  }
}

/* Variant Selection Styling */
.custom-license-radio {
  transition: all 0.2s ease;
  border: 2px solid var(--border-color) !important;
}

.custom-license-radio:hover {
  border-color: var(--shop-orange) !important;
  background-color: rgba(243, 147, 33, 0.02) !important;
}

.custom-license-radio .form-check-input:checked ~ .form-check-label {
  color: var(--shop-orange);
}

/* Checkbox specific to hide default dot and use border highlight */
.custom-license-radio:has(.form-check-input:checked) {
  border-color: var(--shop-orange) !important;
  background-color: rgba(243, 147, 33, 0.05) !important;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.15);
}

/* Glassmorphism Overrides for Specific Components */
.shop-sidebar .filter-card.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-card.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Button Shine Animation */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

/* Digital Product Meta Badges */
.product-meta .badge {
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.product-meta .badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.shop-hero-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Mobile Bottom Nav Fix - Ensure Shop Search is accessible */
@media (max-width: 991px) {
  .shop-hero-search {
    margin-bottom: 1rem;
  }
}

/* Glass Accordion Styles */
.glass-accordion-button:not(.collapsed) {
  color: var(--shop-orange);
  background-color: rgba(243, 147, 33, 0.05);
  box-shadow: none;
}
.glass-accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.1);
}
.glass-accordion-button::after {
  background-size: 1rem;
  opacity: 0.5;
}
.glass-accordion-body {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   v2.0 REDESIGN - ULTRA PREMIUM (User Request)
   ============================================ */

/* New Hero Section */
.hero-v2 {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(circle at center, #2f343b 0%, #111 100%);
  color: white;
  overflow: hidden;
  margin-bottom: 3rem;
  border-radius: 0 0 2rem 2rem;
}

.hero-v2-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(243, 147, 33, 0.15) 0%, transparent 60%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-v2-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #f39321);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 10;
}

.hero-v2-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 10;
}

/* Category Pills (Horizontal Scroll) */
.category-pills-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  margin-bottom: 3rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-pills-container::-webkit-scrollbar {
  display: none;
}

.category-pill {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.category-pill:hover,
.category-pill.active {
  background: #f39321;
  color: white;
  border-color: #f39321;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(243, 147, 33, 0.3);
}

.category-pill i {
  font-size: 1.1em;
}

/* Glass Filters Sidebar */
.glass-filter-sidebar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  position: sticky;
  top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.filter-group-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #64748b;
  transition: color 0.2s;
}

.custom-checkbox-item:hover {
  color: #f39321;
}
.custom-checkbox-item input:checked + span {
  color: #f39321;
  font-weight: 600;
}

/* Product Card v2 - Clean & Modern */
.product-card-v2 {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-color: rgba(243, 147, 33, 0.3);
}

.card-v2-img-container {
  position: relative;
  padding-top: 65%; /* 16:9 Aspect Ratio */
  background: #f8fafc;
  overflow: hidden;
}

.card-v2-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.5s ease;
}

.product-card-v2:hover .card-v2-img {
  transform: translate(-50%, -50%) scale(1.1);
}

.card-v2-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.badge-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #333;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.badge-glass.discount {
  color: #ef4444;
}
.badge-glass.instant {
  color: #10b981;
}

.card-v2-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-v2-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-v2-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.product-card-v2:hover .card-v2-title {
  color: #f39321;
}

.card-v2-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-pill {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-v2-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-v2-wrapper {
  display: flex;
  flex-direction: column;
}

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

.price-v2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.btn-v2-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.product-card-v2:hover .btn-v2-icon {
  background: #f39321;
  color: white;
  transform: rotate(-10deg);
}

/* Platform Icons in Title */
.platform-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-right: 6px;
  font-size: 14px;
}
.bg-win-soft {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.bg-mac-soft {
  background: rgba(30, 41, 59, 0.1);
  color: #1e293b;
}
.bg-android-soft {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

/* =======================================================
   v3.0 REDESIGN - DIGITAL MARKETPLACE COMPONENTS
   ======================================================= */

/* 1. Marketplace Hero */
.marketplace-hero {
  position: relative;
  padding: 6rem 0 8rem; /* Extra bottom padding for overlap */
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
  color: white;
}

.hero-bg-animated {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(243, 147, 33, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
  animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.text-gradient-orange {
  background: linear-gradient(to right, #ffffff, #f39321);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ls-tighter {
  letter-spacing: -2px;
}

/* 2. Trust Features Strip */
.icon-square {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.icon-square:hover {
  transform: rotate(-5deg) scale(1.05);
}

/* Color Utilities */
.bg-blue-soft {
  background-color: rgba(59, 130, 246, 0.1);
}
.text-blue {
  color: #3b82f6;
}

.bg-green-soft {
  background-color: rgba(16, 185, 129, 0.1);
}
.text-green {
  color: #10b981;
}

.bg-purple-soft {
  background-color: rgba(147, 51, 234, 0.1);
}
.text-purple {
  color: #9333ea;
}

.bg-orange-soft {
  background-color: rgba(243, 147, 33, 0.1);
}
.text-orange {
  color: #f39321;
}

/* 3. Spotlight Section */
.bg-gradient-dark {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-scale:hover {
  transform: translateY(-5px);
}

.transition-all {
  transition: all 0.3s ease;
}

/* 4. Sidebar Platform Filter */
.d-grid.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.platform-selector {
  cursor: pointer;
}

.platform-card {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s;
  height: 100%;
}

.platform-selector input:checked + .platform-card {
  background: #fff;
  border-color: #f39321;
  box-shadow: 0 4px 6px -1px rgba(243, 147, 33, 0.2);
}

.platform-card:hover {
  background: #fff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Fix overlaps */
.bg-white.border-bottom.shadow-sm.position-relative.z-3 {
  /* Ensure the trust strip has enough z-index and proper border-radius */
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* =======================================================
   v3.1 PRODUCT DETAIL - MARKETPLACE REDESIGN
   ======================================================= */

/* Hero Redesign (Matches Index) */
.product-hero-v3 {
  position: relative;
  padding: 2rem 0 4rem;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb-v3 a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-v3 a:hover {
  color: #f39321;
}
.breadcrumb-v3 .active {
  color: white;
}
.breadcrumb-v3 .separator {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Sticky Buy Box (Floating) */
.sticky-buy-box-v3 {
  position: sticky;
  top: 100px;
  z-index: 99;
  transition: all 0.3s ease;
}

.buy-card-v3 {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.buy-card-header {
  background: linear-gradient(to right, #f8fafc, #fff);
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.price-v3-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

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

.stock-status-v3 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.stock-status-v3.ok {
  background: #dcfce7;
  color: #166534;
}
.stock-status-v3.low {
  background: #ffedd5;
  color: #9a3412;
}

/* Visual Tabs */
.tabs-v3-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-v3-link {
  padding: 1rem 0;
  font-weight: 600;
  color: #64748b;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-v3-link:hover,
.tab-v3-link.active {
  color: #f39321;
  border-bottom-color: #f39321;
}

/* Feature Grid */
.feature-box-v3 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.feature-box-v3:hover {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: #f39321;
}
.feature-icon-v3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tech Specs Table */
.specs-table-v3 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}
.specs-table-v3 td {
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.specs-table-v3 td:first-child {
  border-left: 1px solid #f1f5f9;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  font-weight: 600;
  color: #475569;
  width: 30%;
}
.specs-table-v3 td:last-child {
  border-right: 1px solid #f1f5f9;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  color: #1e293b;
}

/* =======================================================
   v3.2 CART & CHECKOUT - MARKETPLACE REDESIGN
   ======================================================= */

/* Minimal Page Header */
.page-header-minimal {
  padding: 3rem 0;
  text-align: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  color: white;
  margin-bottom: -3rem; /* Overlap effect */
  padding-bottom: 5rem;
}

.page-header-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

/* Steps Progress Bar */
.steps-progress-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.steps-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
}
.steps-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  transform: translateY(-50%);
}
.steps-progress .step-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  transition: all 0.3s;
}
.steps-progress .step-item.active {
  background: #f39321;
  border-color: #f39321;
  color: white;
  box-shadow: 0 0 0 4px rgba(243, 147, 33, 0.2);
}
.steps-progress .step-item.completed {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

/* Cart Item Row Refined */
.cart-item-v3 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}
.cart-item-v3:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #e2e8f0;
  transform: translateY(-2px);
}
.cart-img-v3 {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid #f1f5f9;
}

/* Quantity Control v3 */
.qty-control-v3 {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.25rem;
}
.qty-btn-v3 {
  width: 28px;
  height: 28px;
  border-radius: 0.25rem;
  border: none;
  background: white;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}
.qty-btn-v3:hover {
  background: #f39321;
  color: white;
}
.qty-input-v3 {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  color: #1e293b;
}

/* Summary Card v3 */
.summary-card-v3 {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 100px;
}
.summary-header-v3 {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  border-radius: 1.5rem 1.5rem 0 0;
}
.summary-body-v3 {
  padding: 1.5rem;
}

.checkout-btn-v3 {
  width: 100%;
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  color: white;
  padding: 1rem;
  border-radius: 1rem;
  font-weight: 700;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(243, 147, 33, 0.3);
  text-decoration: none;
}
.checkout-btn-v3:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(243, 147, 33, 0.4);
  color: white;
}

/* Secure Input Fields */
.form-floating-v3 > .form-control {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.25rem;
  height: auto;
  font-size: 1rem;
}
.form-floating-v3 > .form-control:focus {
  border-color: #f39321;
  box-shadow: 0 0 0 4px rgba(243, 147, 33, 0.1);
}
.form-floating-v3 > label {
  padding: 1rem 1.25rem;
}

/* =======================================================
   v3.3 HERO TICKER (Scrolling Featured Products)
   ======================================================= */

.hero-ticker-container {
  overflow: hidden;
  width: 100%;
  margin-top: 4rem;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

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

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-card {
  background: rgba(255, 255, 255, 0.08); /* Glass effect */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.ticker-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(243, 147, 33, 0.3);
  color: white;
}

.ticker-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.ticker-content h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.ticker-price {
  font-size: 0.85rem;
  color: #f39321; /* Orange */
  font-weight: 700;
}

.ticker-price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

/* =======================================================
   v3.4 PREMIUM PAGINATION & SEARCH STYLES
   ======================================================= */

/* PAGINATION REDESIGN */
.pagination {
  display: flex;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination .page-item .page-link:hover {
  background: #334155;
  color: #fff;
  border-color: #475569;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-color: #f97316;
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.pagination .page-item.disabled .page-link {
  background: #0f172a;
  color: #475569;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Arrow icons styling */
.pagination .page-link svg,
.pagination .page-link i {
  width: 16px;
  height: 16px;
}

/* INLINE SEARCH BAR (Inside Product Grid Header) */
.inline-search-bar {
  position: relative;
  max-width: 300px;
}

.inline-search-bar input {
  width: 100%;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.inline-search-bar input::placeholder {
  color: #64748b;
}

.inline-search-bar input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  background: #0f172a;
}

.inline-search-bar .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

/* PRODUCTS GRID HEADER (Title + Search + Sort) */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.products-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

.products-header-title .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.products-header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sort Dropdown Premium */
.sort-dropdown-premium {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  min-width: 160px;
  cursor: pointer;
  transition: all 0.2s;
}

.sort-dropdown-premium:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.sort-dropdown-premium option {
  background: #1e293b;
  color: #fff;
}

/* =======================================================
   v3.5 ORANGE THEME CONSISTENCY UPDATE
   ======================================================= */

/* Override pagination to match orange theme */
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%) !important;
  border-color: #f39321 !important;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.4) !important;
}

.pagination .page-item .page-link:hover {
  border-color: #f39321 !important;
}

/* Sort dropdown focus */
.sort-dropdown-premium:focus {
  border-color: #f39321 !important;
  box-shadow: 0 0 0 3px rgba(243, 147, 33, 0.15) !important;
}

/* Inline search focus */
.inline-search-bar input:focus {
  border-color: #f39321 !important;
  box-shadow: 0 0 0 3px rgba(243, 147, 33, 0.15) !important;
}

/* Products header icon */
.products-header-title .icon {
  background: linear-gradient(135deg, #f39321, #ea580c) !important;
}

/* Primary button overrides */
.btn-primary {
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%) !important;
  border-color: #f39321 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
  border-color: #ea580c !important;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.4) !important;
}

/* Category pills active */
.category-pill.active {
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%) !important;
  border-color: #f39321 !important;
  color: white !important;
}

/* Platform card selected */
.platform-selector input:checked + .platform-card {
  border-color: #f39321 !important;
  background: rgba(243, 147, 33, 0.1) !important;
}

/* Filter checkbox checked */
.custom-checkbox-item input:checked + div {
  border-color: #f39321 !important;
  background: rgba(243, 147, 33, 0.1) !important;
}

/* Product card hover */
.product-card-v2:hover {
  border-color: rgba(243, 147, 33, 0.3) !important;
}

/* Price color */
.price-v2,
.ticker-price {
  color: #f39321 !important;
}

/* Badge discounts */
.badge-glass.discount {
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%) !important;
}

/* Trust cards icon backgrounds - orange tones */
.bg-blue-50,
.bg-green-50,
.bg-orange-50,
.bg-purple-50 {
  background: rgba(243, 147, 33, 0.15) !important;
}

/* Icon colors in trust cards */
.products-header .icon i,
.text-primary {
  color: #f39321 !important;
}

/* =======================================================
   v3.6 CATEGORY MARQUEE & MOBILE RESPONSIVENESS
   ======================================================= */

/* CATEGORY MARQUEE SYSTEM - SEAMLESS INFINITE */
.category-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade edges for premium look */
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.category-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Row 1: Right to Left */
.marquee-left {
  animation: marqueeScrollLeft 40s linear infinite;
}

/* Row 2: Left to Right */
.marquee-right {
  animation: marqueeScrollRight 45s linear infinite;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause animation on hover - stable, no layout shift */
.category-marquee-container:hover .category-marquee-track {
  animation-play-state: paused;
}

/* Category Pill v2 - Improved */
.category-pill-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  /* No transform on hover to prevent layout shift */
  flex-shrink: 0;
}

.category-pill-v2:hover {
  background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
  color: #fff;
  border-color: rgba(243, 147, 33, 0.4);
  box-shadow: 0 0 20px rgba(243, 147, 33, 0.15);
}

.category-pill-v2.active {
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  color: #fff;
  border-color: #f39321;
  box-shadow: 0 4px 16px rgba(243, 147, 33, 0.4);
}

.category-pill-v2 i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* =======================================================
   MOBILE RESPONSIVE - NATIVE APP FEEL
   ======================================================= */

@media (max-width: 991.98px) {
  /* Hero Section */
  .premium-hero {
    min-height: auto;
    padding: 2rem 0 4rem;
  }

  .premium-hero h1 {
    font-size: 2rem !important;
    letter-spacing: -1px !important;
  }

  .premium-hero .lead {
    font-size: 1rem !important;
  }

  /* Hide 3D swiper on tablet/mobile */
  .swiper-3d-showcase {
    display: none;
  }

  /* Stats row compact */
  .premium-hero .d-flex.gap-5 {
    gap: 1.5rem !important;
  }

  .premium-hero .h3 {
    font-size: 1.25rem !important;
  }

  /* Trust cards */
  .container[style*="margin-top: -3rem"] .col-md-3 {
    padding: 0.5rem;
  }

  .container[style*="margin-top: -3rem"] .p-4 {
    padding: 1rem !important;
  }

  .container[style*="margin-top: -3rem"] h6 {
    font-size: 0.8rem;
  }

  .container[style*="margin-top: -3rem"] small {
    font-size: 0.7rem;
  }

  .container[style*="margin-top: -3rem"] .fa-2x {
    font-size: 1.25rem !important;
  }

  /* Spotlight section */
  .display-5 {
    font-size: 1.5rem !important;
  }

  /* Products Header */
  .products-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }

  .products-header-title {
    font-size: 1rem;
  }

  .products-header-controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .inline-search-bar {
    flex: 1;
    max-width: none;
    min-width: 150px;
  }

  .sort-dropdown-premium {
    min-width: 120px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Sidebar hidden on mobile */
  .glass-filter-sidebar {
    display: none;
  }

  /* Products Grid - Full width single column on small */
  .row-cols-xl-3 {
    --bs-gutter-x: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  /* Extra small - Phone */
  .premium-hero {
    padding: 1.5rem 0 3rem;
  }

  .premium-hero h1 {
    font-size: 1.75rem !important;
  }

  .floating-badge {
    font-size: 0.7rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  /* Stats 3 cols */
  .premium-hero .d-flex.gap-5 {
    gap: 0.75rem !important;
    flex-wrap: wrap;
  }

  .premium-hero .d-flex.gap-5 > div {
    text-align: center;
  }

  .premium-hero .h3 {
    font-size: 1.1rem !important;
  }

  .premium-hero .small {
    font-size: 0.7rem !important;
  }

  /* Category pills smaller */
  .category-pill-v2 {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  /* Spotlight compact */
  .bg-gradient-dark.p-4 {
    padding: 1rem !important;
  }

  .display-5 {
    font-size: 1.25rem !important;
  }

  /* Products header stacked */
  .products-header {
    padding: 0.75rem;
  }

  .products-header-title {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .products-header-title .icon {
    width: 32px;
    height: 32px;
  }

  .products-header-controls {
    gap: 0.5rem;
  }

  .inline-search-bar input {
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8rem;
  }

  /* Product cards */
  .product-card-v2 {
    border-radius: 16px;
  }

  .card-v2-title {
    font-size: 0.9rem !important;
  }

  .price-v2 {
    font-size: 1.1rem !important;
  }

  /* Pagination compact */
  .pagination .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  /* Trust cards 2x2 grid tight */
  .container[style*="margin-top: -3rem"] {
    margin-top: -2rem !important;
  }

  .container[style*="margin-top: -3rem"] .rounded-4 {
    border-radius: 12px !important;
  }
}

/* TOUCH FRIENDLY INTERACTIONS */
@media (hover: none) {
  /* Remove hover effects on touch devices */
  .category-pill-v2:hover,
  .product-card-v2:hover {
    transform: none;
  }

  /* Make tap targets bigger */
  .category-pill-v2,
  .pagination .page-link {
    padding: 0.875rem 1.5rem;
  }
}

/* SAFE AREA PADDING (for notch devices) */
@supports (padding-top: env(safe-area-inset-top)) {
  .premium-hero {
    padding-top: calc(2rem + env(safe-area-inset-top));
  }
}

/* =======================================================
   v3.7 PRODUCT CARD V3 - PREMIUM LIGHT MODE REDESIGN
   ======================================================= */

.product-card-v3 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.product-card-v3:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 147, 33, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(243, 147, 33, 0.1);
}

/* Image Section */
.product-card-v3-image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #f8fafc;
}

.product-card-v3-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-v3:hover .product-card-v3-image img {
  transform: scale(1.08);
}

.product-card-v3-image .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-card-v3-image .placeholder-img i {
  font-size: 3rem;
  color: #94a3b8;
}

/* Gradient Overlay - Full Height, Bottom Fade Only */
.product-card-v3-image .image-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 75%,
    rgba(255, 255, 255, 0.4) 85%,
    rgba(255, 255, 255, 0.8) 93%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

/* Discount Badge */
.card-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.badge-discount {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.4);
}

/* Platform Badge - Light Mode */
.card-platform-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-size: 1rem;
  border: 1px solid #e5e7eb;
}

/* Quick View Button - Light Mode */
.quick-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.product-card-v3:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: #f39321;
  border-color: #f39321;
  color: white;
}

/* Content Section */
.product-card-v3-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Meta Row (Category + Rating) */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-category {
  color: #f39321;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-rating i {
  font-size: 0.7rem;
}

/* Title */
.product-card-v3-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-v3-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card-v3-title a:hover {
  color: #f39321;
}

/* Features Row */
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #fef3e7;
  border: 1px solid #fcd9b6;
  border-radius: 50px;
  color: #ea580c;
  font-size: 0.7rem;
  font-weight: 600;
}

.feature-chip i {
  font-size: 0.65rem;
  color: #f39321;
}

/* Footer */
.card-footer-v3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-block {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: line-through;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f39321;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.3);
}

.cta-button:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(243, 147, 33, 0.4);
  color: white;
}

.cta-button i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.cta-button:hover i {
  transform: translateX(3px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 575.98px) {
  .product-card-v3-image {
    min-height: 220px;
  }

  .product-card-v3-content {
    padding: 1rem;
  }

  .product-card-v3-title {
    font-size: 0.9rem;
  }

  .current-price {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .card-features {
    gap: 4px;
  }

  .feature-chip {
    padding: 3px 8px;
    font-size: 0.65rem;
  }
}

/* ==========================================
   CATEGORY TREE SIDEBAR - Ultra Compact
   ========================================== */

.category-tree {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 4px;
  color: #475569;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 500;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  background: transparent;
  white-space: nowrap !important;
  overflow: hidden;
  line-height: 1.3;
}

.category-tree-item:hover {
  background: rgba(243, 147, 33, 0.06);
  color: #f39321;
}

.category-tree-item.active {
  background: rgba(243, 147, 33, 0.1);
  color: #ea580c;
  font-weight: 600;
}

.category-tree-item i {
  width: 14px;
  text-align: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.category-tree-item:hover i,
.category-tree-item.active i {
  opacity: 1;
  color: #f39321;
}

.category-tree-item > span,
.category-tree-item a > span:first-of-type {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.category-count {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: auto;
}

.category-tree-item.active .category-count {
  color: #ea580c;
}

/* Parent Category with Children */
.category-tree-parent {
  margin-bottom: 0;
}

.category-tree-item.parent-item {
  position: relative;
  padding-left: 4px;
}

.category-tree-item.parent-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none !important;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.category-toggle {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 3px;
  flex-shrink: 0;
  padding: 0;
}

.category-toggle:hover {
  background: rgba(243, 147, 33, 0.1);
  color: #f39321;
}

.category-toggle i {
  font-size: 0.5rem;
  transition: transform 0.2s ease;
}

.category-tree-parent.expanded .category-toggle i {
  transform: rotate(90deg);
}

/* Children Categories */
.category-tree-children {
  display: none;
  padding-left: 6px;
  margin-top: 0;
  margin-left: 14px;
  border-left: 1px solid rgba(243, 147, 33, 0.15);
}

.category-tree-parent.expanded .category-tree-children {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-tree-item.child-item {
  padding: 5px 6px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.category-tree-item.child-item:hover {
  color: #f39321;
  background: rgba(243, 147, 33, 0.05);
}

.category-tree-item.child-item.active {
  color: #ea580c;
  font-weight: 600;
  background: rgba(243, 147, 33, 0.08);
}

/* ==========================================
   MOBILE CATEGORY TREE - Compact
   ========================================== */

.mobile-category-tree {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-category-tree-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  background: #f8fafc;
}

.mobile-category-tree-item:hover {
  background: #f1f5f9;
}

.mobile-category-tree-item.active {
  background: rgba(243, 147, 33, 0.1);
  color: #ea580c;
  font-weight: 600;
}

.mobile-category-tree-item i {
  width: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #f39321;
  flex-shrink: 0;
}

.mobile-category-tree-item span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-category-count {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  flex-shrink: 0;
}

.mobile-category-tree-item.active .mobile-category-count {
  color: #ea580c;
}

/* Mobile Parent Category */
.mobile-category-parent {
  margin-bottom: 2px;
}

.mobile-category-tree-item.parent {
  position: relative;
}

.mobile-category-tree-item.parent a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.mobile-category-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 0;
}

.mobile-category-toggle:hover {
  background: rgba(243, 147, 33, 0.1);
  color: #f39321;
}

.mobile-category-toggle i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.mobile-category-parent.expanded .mobile-category-toggle i {
  transform: rotate(180deg);
}

/* Mobile Children Categories */
.mobile-category-children {
  display: none;
  padding-left: 10px;
  margin-top: 2px;
  margin-left: 18px;
  border-left: 1px solid rgba(243, 147, 33, 0.2);
}

.mobile-category-parent.expanded .mobile-category-children {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-category-tree-item.child {
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-weight: 400;
  background: #fff;
}

.mobile-category-tree-item.child:hover {
  background: rgba(243, 147, 33, 0.05);
}

.mobile-category-tree-item.child.active {
  background: rgba(243, 147, 33, 0.08);
  color: #ea580c;
  font-weight: 600;
}

/* =======================================================
   QX PRODUCT CARD V2 - Modern Category Page Cards
   ======================================================= */

.qx-card-v2 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qx-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 147, 33, 0.3);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(243, 147, 33, 0.1);
}

/* Image Container */
.qx-card-v2__image {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.qx-card-v2__image--has-image {
  background: #ffffff;
}

.qx-card-v2__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.qx-card-v2:hover .qx-card-v2__image img {
  transform: scale(1.05);
}

/* Placeholder Icon */
.qx-card-v2__image > i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.qx-card-v2:hover .qx-card-v2__image > i {
  transform: scale(1.1);
}

/* Badges Container */
.qx-card-v2__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.qx-card-v2 .qx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.qx-card-v2 .qx-badge--discount {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.qx-card-v2 .qx-badge--instant {
  background: rgba(255, 255, 255, 0.95);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 4px 8px;
  font-size: 0.62rem;
  line-height: 1;
  border-radius: 999px;
}

.qx-card-v2 .qx-badge--instant i {
  color: #f59e0b;
  font-size: 0.56rem;
}

/* Stok Yok Badge */
.qx-card-v2 .qx-badge--out-of-stock {
  background: rgba(239, 68, 68, 0.95);
  color: white;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.qx-card-v2 .qx-badge--out-of-stock i {
  font-size: 0.65rem;
}

/* Wishlist Button */
.qx-card-v2__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qx-card-v2__wishlist i {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.qx-card-v2__wishlist:hover {
  background: #fff;
  transform: scale(1.1);
}

.qx-card-v2__wishlist:hover i {
  color: #ef4444;
}

.qx-card-v2__wishlist.active i {
  color: #ef4444;
  font-weight: 900;
}

/* Content Section */
.qx-card-v2__content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Category */
.qx-card-v2__category {
  display: inline-block;
  color: #f39321;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Title */
.qx-card-v2__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1e293b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.qx-card-v2__title:hover {
  color: #f39321;
}

/* Rating */
.qx-card-v2__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.qx-stars {
  display: flex;
  gap: 2px;
}

.qx-stars i {
  font-size: 0.7rem;
  color: #fbbf24;
}

.qx-stars i.far {
  color: #d1d5db;
}

.qx-rating-text {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Footer */
.qx-card-v2__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

/* Price */
.qx-card-v2__price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 42px;
}

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

.qx-price-current {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f39321;
}

/* Cart Button */
.qx-card-v2__cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f39321 0%, #ea580c 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(243, 147, 33, 0.3);
  flex-shrink: 0;
}

.qx-card-v2__cart-btn i {
  color: white;
  font-size: 0.9rem;
}

.qx-card-v2__cart-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(243, 147, 33, 0.4);
}

/* Disabled Cart Button (Stok Yok) */
.qx-card-v2__cart-btn--disabled {
  background: #9ca3af !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.qx-card-v2__cart-btn--disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Dark Mode Support */
[data-theme="dark"] .qx-card-v2 {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .qx-card-v2:hover {
  border-color: rgba(243, 147, 33, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .qx-card-v2__title {
  color: #f1f5f9;
}

[data-theme="dark"] .qx-card-v2__category {
  color: #fbbf24;
}

[data-theme="dark"] .qx-card-v2__footer {
  border-top-color: #334155;
}

[data-theme="dark"] .qx-badge--instant {
  background: rgba(30, 41, 59, 0.95);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

[data-theme="dark"] .qx-card-v2__wishlist {
  background: rgba(30, 41, 59, 0.95);
  border-color: #475569;
}

/* Mobile Responsive */
@media (max-width: 575.98px) {
  .qx-card-v2__image {
    height: 140px;
  }

  .qx-card-v2__image > i {
    font-size: 2.5rem;
  }

  .qx-card-v2__content {
    padding: 0.875rem;
  }

  .qx-card-v2__title {
    font-size: 0.85rem;
  }

  .qx-price-current {
    font-size: 1rem;
  }

  .qx-card-v2__cart-btn {
    width: 38px;
    height: 38px;
  }

  .qx-card-v2 .qx-badge {
    padding: 3px 7px;
    font-size: 0.6rem;
  }

  .qx-card-v2 .qx-badge--instant {
    padding: 2px 6px;
    font-size: 0.5rem;
    border-radius: 999px;
    line-height: 1;
  }

  .qx-card-v2 .qx-badge--instant i {
    font-size: 0.45rem;
  }

  .qx-card-v2__wishlist {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .qx-card-v2__wishlist i {
    font-size: 0.78rem;
  }

  .qx-card-v2__price {
    min-height: 40px;
  }
}
