/* ============================================
   VOLTEX Electronics Store - Main Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #0066FF;
  --primary-dark: #0052CC;
  --primary-light: #E6F0FF;
  --secondary: #FF6B35;
  --accent: #00D4AA;
  --dark: #0A0F1C;
  --dark-2: #141B2D;
  --dark-3: #1E2842;
  --gray-100: #F4F6FA;
  --gray-200: #E8ECF4;
  --gray-300: #CBD2E0;
  --gray-400: #8892A6;
  --gray-500: #5A6478;
  --gray-600: #3D4760;
  --white: #FFFFFF;
  --danger: #FF4757;
  --success: #2ED573;
  --warning: #FFA502;
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --shadow-sm: 0 1px 3px rgba(10,15,28,0.06);
  --shadow-md: 0 4px 16px rgba(10,15,28,0.08);
  --shadow-lg: 0 12px 40px rgba(10,15,28,0.12);
  --shadow-xl: 0 20px 60px rgba(10,15,28,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* RTL Support */
[dir="rtl"] body {
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

a:hover { color: var(--primary-dark); }

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

/* --- Loading Screen --- */
#loading-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* --- Navbar --- */
.navbar-voltex {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.6rem 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-voltex.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand-voltex {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--dark) !important;
  letter-spacing: -0.5px;
}

.navbar-brand-voltex span {
  color: var(--primary);
}

.navbar-voltex .nav-link {
  color: var(--gray-500) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-voltex .nav-link:hover,
.navbar-voltex .nav-link.active {
  color: var(--primary) !important;
}

.nav-icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.nav-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

[dir="rtl"] .cart-badge {
  right: auto;
  left: -5px;
}

.lang-switch {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Mega Menu --- */
.mega-menu {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  min-width: 600px;
}

.mega-menu .category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
}

.mega-menu .category-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mega-menu .category-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-size: 1.2rem;
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0D1B3E 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,102,255,0.15);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,102,255,0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons .btn {
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.hero-stat h4 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0;
}

.hero-stat p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin: 0;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper img {
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* --- Hero Carousel --- */
#heroCarousel .carousel-item {
  transition: transform 0.8s ease-in-out;
}

#heroCarousel .carousel-indicators {
  bottom: 20px;
  z-index: 10;
}

#heroCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  margin: 0 5px;
  opacity: 1;
  transition: var(--transition);
}

#heroCarousel .carousel-indicators button.active {
  background: var(--primary);
  border-color: var(--primary);
  width: 32px;
  border-radius: 8px;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: var(--transition);
  margin: 0 1rem;
  bottom: auto;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
  opacity: 1;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  background: var(--primary);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none;
  }
}

/* --- Section Styles --- */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-400);
  font-size: 1rem;
}

/* --- Product Cards --- */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-card-img {
  position: relative;
  padding: 1.25rem;
  background: var(--gray-100);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.5s ease;
}

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

.product-badge-stack {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

[dir="rtl"] .product-badge-stack {
  left: auto;
  right: 1rem;
}

.product-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-tag.sale { background: var(--danger); color: var(--white); }
.product-tag.new { background: var(--accent); color: var(--dark); }
.product-tag.hot { background: var(--secondary); color: var(--white); }

.product-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

[dir="rtl"] .product-actions {
  right: auto;
  left: 1rem;
  transform: translateX(-10px);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.product-action-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name a {
  color: var(--dark);
  text-decoration: none;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.product-rating .stars {
  color: var(--warning);
  font-size: 0.8rem;
}

.product-rating .count {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.product-old-price {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-card-footer {
  padding: 0 1.25rem 1.25rem;
}

.btn-add-cart {
  width: 100%;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-add-cart.added {
  background: var(--success);
  border-color: var(--success);
}

/* --- Category Cards --- */
.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  height: 100%;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.category-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  font-size: 1.8rem;
  transition: var(--transition);
}

.category-card:hover .icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.category-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.category-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0;
}

/* --- Promo Banners --- */
.promo-banner {
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 280px;
  display: flex;
  align-items: center;
}

.promo-banner.primary-bg {
  background: linear-gradient(135deg, var(--primary) 0%, #003DA5 100%);
}

.promo-banner.dark-bg {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
}

.promo-banner.accent-bg {
  background: linear-gradient(135deg, var(--secondary) 0%, #E84E1B 100%);
}

.promo-banner .promo-content {
  position: relative;
  z-index: 2;
}

.promo-banner h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.promo-banner p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* --- Brands Section --- */
.brand-logo {
  padding: 1.5rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  height: 80px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-400);
}

.brand-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* --- Newsletter --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,102,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-section h3 {
  color: var(--white);
  font-size: 2rem;
}

.newsletter-section p {
  color: var(--gray-400);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-3);
  background: var(--dark-2);
  color: var(--white);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: var(--gray-500);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding-top: 4rem;
  color: var(--gray-400);
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--dark-3);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--dark-2);
  color: var(--gray-400);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* --- Buttons --- */
.btn-primary-voltex {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary-voltex:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,102,255,0.3);
}

.btn-outline-voltex {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-voltex:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* --- Shop Page --- */
.shop-sidebar {
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h6 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.filter-list li a,
.filter-list li label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-list li a:hover,
.filter-list li a.active,
.filter-list li label:hover {
  color: var(--primary);
}

.filter-list .count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gray-400);
}

[dir="rtl"] .filter-list .count {
  margin-left: 0;
  margin-right: auto;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

.shop-toolbar .results-count {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.shop-search {
  position: relative;
  max-width: 300px;
  flex: 1;
}

.shop-search input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.9rem;
  transition: var(--transition);
}

[dir="rtl"] .shop-search input {
  padding: 0.6rem 2.5rem 0.6rem 2.5rem;
}

.shop-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  line-height: 1;
  transition: var(--transition);
}
.shop-search-btn:hover { color: var(--primary-dark, #0052cc); }
[dir="rtl"] .shop-search-btn { right: auto; left: 0.5rem; }

.shop-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
  outline: none;
}

.shop-search > i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.85rem;
  pointer-events: none;
}

[dir="rtl"] .shop-search > i {
  left: auto;
  right: 0.85rem;
}

.sort-select {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  background: var(--white);
  cursor: pointer;
}

/* --- Shop: Filter Checkboxes --- */
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.filter-check:hover { color: var(--primary); }
.filter-check input[type="checkbox"],
.filter-check input[type="radio"] {
  accent-color: var(--primary);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.filter-check .count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gray-400);
}
[dir="rtl"] .filter-check .count { margin-left: 0; margin-right: auto; }

.filter-scroll {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-scroll::-webkit-scrollbar { width: 4px; }
.filter-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.filter-toggle i { font-size: 0.7rem; transition: var(--transition); }
.filter-toggle[aria-expanded="false"] i { transform: rotate(-90deg); }
[dir="rtl"] .filter-toggle[aria-expanded="false"] i { transform: rotate(90deg); }

.rating-check .stars-row { display: inline-flex; gap: 2px; font-size: 0.85rem; }

/* --- Shop: Price Slider (noUiSlider overrides) --- */
.noUi-target { background: var(--gray-200); border: none; box-shadow: none; height: 6px; margin: 10px 0; }
.noUi-connect { background: var(--primary); }
.noUi-handle {
  width: 20px !important; height: 20px !important;
  border-radius: 50%; border: 2px solid var(--primary);
  background: var(--white); box-shadow: var(--shadow-sm);
  top: -7px !important; cursor: grab;
}
.noUi-handle::before, .noUi-handle::after { display: none; }
.noUi-horizontal .noUi-handle { right: -10px !important; }

/* --- Shop: Active Filter Chips --- */
.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip i { cursor: pointer; font-size: 0.65rem; opacity: 0.7; transition: var(--transition); }
.chip i:hover { opacity: 1; }
.chip-clear {
  background: transparent;
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
}
.chip-clear:hover { border-color: var(--danger); color: var(--danger); }

/* --- Shop: Skeleton Loader --- */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.skeleton-img { height: 220px; background: var(--gray-100); }
.skeleton-body { padding: 1rem; }
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: var(--gray-100);
  margin-bottom: 0.6rem;
}
.skeleton-pulse {
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Shop: List View --- */
.list-view .col { flex: 0 0 100%; max-width: 100%; }
.product-card-list {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.product-card-list:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card-list-img {
  position: relative;
  width: 220px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card-list:hover .product-card-list-img img { transform: scale(1.05); }
.product-card-list-body {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.product-desc-snippet {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}
.product-card-list-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  justify-content: center;
  min-width: 160px;
  border-left: 1px solid var(--gray-200);
}
[dir="rtl"] .product-card-list-actions { border-left: none; border-right: 1px solid var(--gray-200); }
.btn-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.btn-view-details:hover { border-color: var(--primary); color: var(--primary); }

/* --- Shop: View Toggle --- */
.view-toggle .btn { padding: 0.35rem 0.6rem; font-size: 0.85rem; }
.view-toggle .btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* --- Shop: Responsive list view --- */
@media (max-width: 767.98px) {
  .product-card-list { flex-direction: column; }
  .product-card-list-img { width: 100%; min-height: 200px; }
  .product-card-list-actions {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--gray-200);
    min-width: auto;
  }
  [dir="rtl"] .product-card-list-actions { border-right: none; border-top: 1px solid var(--gray-200); }
}

/* --- Product Details Page --- */
.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

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

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

/* Gallery navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
  opacity: 0;
}

.product-main-image:hover .gallery-nav {
  opacity: 1;
}
@media (hover: none) {
  .gallery-nav { opacity: 0.75; }
}

.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-nav:hover {
  background: var(--primary);
  color: #fff;
}

/* Image counter */
.gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  pointer-events: none;
}

[dir="rtl"] .gallery-counter { right: auto; left: 0.75rem; }
[dir="rtl"] .gallery-prev { left: auto; right: 0.75rem; }
[dir="rtl"] .gallery-next { right: auto; left: 0.75rem; }

/* Thumbnails strip */
.product-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.product-thumbs::-webkit-scrollbar { height: 4px; }
.product-thumbs::-webkit-scrollbar-track { background: transparent; }
.product-thumbs::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.product-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  background: var(--gray-100);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 0,112,243), 0.2);
}

/* ── Lightbox ── */
body.lightbox-open { overflow: hidden; }

.product-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10000;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-nav {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  margin: 0 1rem;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }

[dir="rtl"] .lightbox-close { right: auto; left: 1rem; }

.product-detail-info {
  padding-left: 2rem;
}

[dir="rtl"] .product-detail-info {
  padding-left: 0;
  padding-right: 2rem;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-detail-rating .stars {
  color: var(--warning);
}

.product-detail-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-detail-price .old-price {
  font-size: 1.2rem;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
}

.specs-table {
  width: 100%;
}

.specs-table tr td {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.specs-table tr td:first-child {
  font-weight: 600;
  color: var(--gray-500);
  width: 40%;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-selector button {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.qty-selector button:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.qty-selector input {
  width: 60px;
  height: 42px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Cart Page --- */
.cart-table {
  width: 100%;
}

.cart-table th {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 0;
  border-bottom: 2px solid var(--gray-200);
}

.cart-table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-100);
}

.cart-product-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-remove-btn {
  color: var(--gray-400);
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.cart-remove-btn:hover {
  color: var(--danger);
}

.cart-summary {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.cart-summary h4 {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 2px solid var(--gray-200);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.15rem;
}

/* --- Checkout Page --- */
.checkout-form .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.checkout-form .form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.9rem;
  transition: var(--transition);
}

.checkout-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* --- Address Cards --- */
.address-card {
  transition: var(--transition);
}
.address-card.border-primary {
  border: 2px solid var(--primary) !important;
}

/* --- Checkout Address Selector --- */
.address-select-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  background: var(--white);
}
.address-select-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.address-select-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.address-new-card {
  border-style: dashed;
  color: var(--gray-400);
}
.address-new-card:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.address-new-card.selected {
  border-style: solid;
  color: var(--primary);
}

.order-confirmation {
  text-align: center;
  padding: 4rem 2rem;
}

.order-confirmation .check-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.page-header .breadcrumb-item.active {
  color: var(--primary);
}

/* --- About Page --- */
.about-feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.about-feature .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* --- Contact Page --- */
.contact-info-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-info-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
}

/* --- FAQ Page --- */
.faq-accordion .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  color: var(--dark);
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-accordion .accordion-body {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Pagination --- */
.pagination .page-link {
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  margin: 0 0.15rem;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* --- Quick View Modal --- */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
}

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 20px;
}

.toast-voltex {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
  margin-bottom: 0.5rem;
  min-width: 300px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

[dir="rtl"] @keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-voltex .toast-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-voltex .toast-msg {
  font-size: 0.85rem;
  font-weight: 500;
}

.toast-error .toast-icon {
  background: var(--danger);
}

/* --- Empty States --- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state .icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.empty-state h4 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 30px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-title { font-size: 2.5rem; }
  .hero-section { padding: 4rem 0 3rem; min-height: auto; }
  .hero-stats { gap: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .mega-menu { min-width: 100%; }
  .product-detail-info { padding-left: 0; padding-top: 2rem; }
  [dir="rtl"] .product-detail-info { padding-right: 0; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stat { min-width: 100px; }
  .section-padding { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
  .newsletter-section { padding: 2.5rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .promo-banner { min-height: 200px; padding: 2rem 1.5rem; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .cart-table { font-size: 0.85rem; }
  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 1.75rem; }
  .hero-buttons .btn { width: 100%; margin-bottom: 0.5rem; }
}

/* --- Utility --- */
.text-primary-voltex { color: var(--primary) !important; }
.bg-primary-voltex { background: var(--primary) !important; }
.bg-gray { background: var(--gray-100); }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* --- Stock Status --- */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.stock-badge.instock { color: var(--success); }
.stock-badge.outofstock { color: var(--danger); }

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.stock-badge.instock .stock-dot { background: var(--success); }
.stock-badge.outofstock .stock-dot { background: var(--danger); }

/* ═══════════════════════════════════════════════
   PRODUCT DETAIL PAGE — EXTENDED STYLES
═══════════════════════════════════════════════ */

/* Gallery badge */
.product-gallery { position: relative; }
.product-gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
[dir="rtl"] .product-gallery-badge { left: auto; right: 1rem; }
.badge-discount {
  background: var(--danger);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
}

/* Product name h1 on detail page */
.product-detail-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--gray-900);
}

/* Category / brand top line */
.product-meta-top {
  font-size: 0.85rem;
}
.product-cat-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.product-cat-link:hover { text-decoration: underline; }
.product-brand-label {
  color: var(--gray-600);
  font-weight: 500;
}

/* SKU line */
.product-sku-line { font-size: 0.82rem; color: var(--gray-500); }

/* Rating value */
.rating-value {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* Discount pill */
.discount-pill {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  vertical-align: middle;
}

/* Short description */
.product-short-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Share buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); }
.share-fb:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-tw:hover  { background: #000; color: #fff; border-color: #000; }
.share-wa:hover  { background: #25d366; color: #fff; border-color: #25d366; }
.share-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Trust badges */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.2;
}
.trust-badge i {
  font-size: 1.35rem;
  color: var(--primary);
}

/* Product tabs */
.product-tabs-section { margin-top: 3rem; }

.product-tabs-nav {
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
}

.product-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.product-tab-btn:hover,
.product-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.product-tab-content {
  padding: 0;
}

/* Description tab */
.product-description {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--gray-700);
  max-width: 800px;
}

/* Delivery cards */
.delivery-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  height: 100%;
}
.delivery-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ── Gallery zoom hint overlay ── */
.gallery-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
[dir="rtl"] .gallery-zoom-hint { left: auto; right: 0.75rem; }
.product-main-image:hover .gallery-zoom-hint { opacity: 1; }

/* ── View all photos button ── */
.btn-view-all-photos {
  background: none;
  border: 1px solid var(--gray-300);
  border-radius: 2rem;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-view-all-photos:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Lightbox thumbnail strip ── */
.lightbox-thumbs {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  max-width: 90vw;
  overflow-x: auto;
  padding: 0.4rem;
  background: rgba(0,0,0,0.5);
  border-radius: 0.75rem;
  scrollbar-width: none;
  z-index: 10001;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lightbox-thumb {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 0.4rem;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: rgba(255,255,255,0.1);
  transition: border-color 0.15s ease, transform 0.15s ease;
  opacity: 0.6;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-thumb.active,
.lightbox-thumb:hover {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.08);
}

/* Product description HTML rendering */
.product-description h1,
.product-description h2,
.product-description h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1rem; }
.product-description ul,
.product-description ol { padding-left: 1.4rem; margin-bottom: 0.75rem; }
.product-description li { margin-bottom: 0.3rem; }
.product-description p  { margin-bottom: 0.75rem; }
.product-description strong { color: var(--gray-900); }
[dir="rtl"] .product-description ul,
[dir="rtl"] .product-description ol { padding-left: 0; padding-right: 1.4rem; }

/* Responsive */
@media (max-width: 768px) {
  .product-detail-name { font-size: 1.4rem; }
  .product-detail-price { font-size: 1.75rem; }
  .product-tab-btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .trust-badge { font-size: 0.68rem; }
  .lightbox-thumb { width: 44px; height: 44px; }
  .lightbox-thumbs { bottom: 0.5rem; }
}
