/* ==========================================================================
   VOLTEX ENERGY - COMPONENTS STYLESHEET (CRISP WHITE HEADER & FOOTER)
   ========================================================================== */

/* HEADER & NAVIGATION (PURE WHITE BACKGROUND FOR MAXIMUM LOGO CONTRAST) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF !important;
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* Dual Logo Header Container */
.dual-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Logo Image Sizing & Contrast Protection */
.logo-img-two-stars {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-img-voltex {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-divider {
  width: 2px;
  height: 38px;
  background: linear-gradient(to bottom, transparent, var(--orange-primary), transparent);
}

.parent-tag-text {
  font-size: 0.78rem;
  color: #334155 !important;
  line-height: 1.3;
  max-width: 190px;
  font-weight: 600;
}

/* Navigation Links (Crisp Dark Navy Text on White Header) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A !important; /* High contrast dark navy */
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange-primary);
  border-radius: var(--radius-full);
}

/* Header Controls & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--orange-primary);
  color: #FFFFFF !important;
}

.mobile-lang-row {
  display: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.75rem;
  color: #0F172A !important;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1B36 0%, #102447 100%);
  color: #FFFFFF;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: #FFFFFF !important;
}

.hero-content p {
  font-size: 1.2rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange-primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* PAGE BANNER HERO (FOR INNER PAGES) */
.page-banner-hero {
  padding: 4rem 0 3rem 0;
  background: linear-gradient(135deg, #0B1B36 0%, #102447 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  color: #FFFFFF;
}

.page-banner-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF !important;
}

.page-banner-hero p {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
}

/* PRODUCT CATEGORIES GRID & CARDS WITH IMAGES */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-card);
}

.category-card-img-wrap {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-bottom: 1px solid #E2E8F0;
  cursor: pointer;
}

.category-card-img-wrap img {
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card-img-wrap img {
  transform: scale(1.06);
}

.category-number-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-orange);
  color: var(--orange-primary);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.photo-count-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  z-index: 2;
  backdrop-filter: blur(6px);
}

[dir="rtl"] .category-number-badge {
  left: auto;
  right: 0.85rem;
}

[dir="rtl"] .photo-count-badge {
  right: auto;
  left: 0.85rem;
}

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

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #0F172A !important;
}

.category-card p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-sub-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.sub-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: #F1F5F9;
  color: #334155;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
  font-weight: 600;
}

.btn-card-action {
  width: 100%;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #F1F5F9;
  color: #0F172A;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  font-weight: 700;
  min-height: 44px;
  transition: var(--transition-fast);
}

.category-card:hover .btn-card-action {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #FFFFFF !important;
}

/* ABOUT US & MISSION/VISION */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text-content p {
  color: #475569;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-tagline-box {
  padding: 1.25rem;
  background: var(--orange-subtle);
  border-left: 4px solid var(--orange-primary);
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-weight: 700;
  color: #0F172A;
}

[dir="rtl"] .about-tagline-box {
  border-left: none;
  border-right: 4px solid var(--orange-primary);
}

.mission-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-card {
  padding: 2rem;
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.mv-card h4 {
  font-size: 1.35rem;
  color: var(--orange-primary);
  margin-bottom: 0.5rem;
}

.mv-card p {
  color: #475569;
}

/* WHY US GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.why-check-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--orange-primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.why-card h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  color: #0F172A !important;
}

/* GLOBAL MANUFACTURERS TICKER / MARQUEE */
.manufacturers-section {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 4rem 0;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

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

.manufacturer-logo-card {
  width: 160px;
  height: 85px;
  padding: 0.85rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.manufacturer-logo-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-fast);
}

.manufacturer-logo-card:hover {
  border-color: var(--orange-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

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

[dir="rtl"] .marquee-track {
  animation: marquee-rtl 35s linear infinite;
}

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

/* CONTACT PAGE & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #0F172A !important;
}

.info-details p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-wrap {
  padding: 2.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  color: #0F172A;
  font-family: inherit;
  font-size: 0.95rem;
  min-height: 44px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px var(--orange-subtle);
}

/* MODAL VIEWER FOR SUBCATEGORIES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 950px;
  max-height: 92vh;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  padding: 2.5rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: #0F172A;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}

.modal-close-btn:hover {
  background: var(--orange-primary);
  color: #FFFFFF !important;
}

.subcategories-modal-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.subcat-modal-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  padding: 1.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.subcat-media-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.subcat-modal-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.subcat-modal-img-wrap img {
  max-width: 98%;
  max-height: 98%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.subcat-modal-img-wrap:hover img {
  transform: scale(1.04);
}

.zoom-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* Thumbnail Gallery Strip */
.subcat-gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.35rem 0.35rem 0.5rem 0.35rem;
  align-items: center;
}

.thumb-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 3px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.thumb-img:hover, .thumb-img.active {
  border-color: var(--orange-primary) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
  transform: translateY(-2px);
}

/* Fullscreen Lightbox Modal */
.lightbox-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: #FFFFFF;
  padding: 1rem;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 12;
}

.lightbox-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange-primary, #F97316);
  border: 2px solid #FFFFFF;
  color: #FFFFFF !important;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3050;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-nav-btn:hover {
  background: #EA580C;
  border-color: #FFFFFF;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.7);
}

.lightbox-prev-btn {
  left: 2.5rem;
}

.lightbox-next-btn {
  right: 2.5rem;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
  .lightbox-prev-btn {
    left: 0.75rem;
  }
  .lightbox-next-btn {
    right: 0.75rem;
  }
}

.lightbox-close-btn:hover {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.subcat-modal-card h4 {
  font-size: 1.25rem;
  color: #0F172A !important;
  margin-bottom: 0.35rem;
}

.subcat-specs {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--orange-subtle);
  color: var(--orange-primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-orange);
}

.subcat-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.subcat-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #475569;
}

.subcat-features-list li::before {
  content: '✓';
  color: var(--orange-primary);
  font-weight: bold;
}

/* FOOTER (PURE WHITE & LIGHT SLATE FOR 100% CRISP CONTRAST) */
.site-footer {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-top: 2px solid #E2E8F0;
  padding: 4rem 0 2rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #475569 !important;
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #0F172A !important;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a, .footer-links span {
  color: #334155 !important;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  color: #64748B !important;
  font-size: 0.88rem;
  font-weight: 500;
}

/* DIRECT PAGE PRODUCT SHOWCASE GRID */
.subcat-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.page-product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border-color: var(--border-orange);
}

.page-product-img-wrap {
  width: 100%;
  height: 280px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  border-bottom: 1px solid #E2E8F0;
  cursor: zoom-in;
}

.page-product-img-wrap img {
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.category-tag-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 2;
  letter-spacing: 0.5px;
}

[dir="rtl"] .category-tag-badge {
  left: auto;
  right: 0.85rem;
}

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

.page-product-body h3 {
  font-size: 1.4rem;
  color: #0F172A !important;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}

/* Sub-subcategories / Series Pills */
.sub-subcats-wrap, .brands-wrap {
  margin-top: 0.85rem;
}

.sub-subcat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sub-subcat-pills, .brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sub-subcat-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
}

.brand-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: var(--orange-subtle);
  color: var(--orange-primary);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
}

.page-product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
}

/* SVG ICON HELPER & CARD LINKS */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.card-subcats-links-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
}

.subcats-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.subcat-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  color: #334155 !important;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.subcat-list-link:hover {
  background: var(--orange-subtle);
  border-color: var(--border-orange);
  color: var(--orange-primary) !important;
  transform: translateX(3px);
}

/* STANDALONE PRODUCT DETAIL PAGE LAYOUT */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.detail-gallery-col {
  position: sticky;
  top: 100px;
}

.detail-main-img-box {
  width: 100%;
  height: 360px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.detail-main-img-box img {
  max-width: 98%;
  max-height: 98%;
  object-fit: contain;
}

/* MOBILE RESPONSIVE MEDIA QUERIES */

/* Tablet & Mobile (under 992px) */
@media (max-width: 992px) {
  .header-actions .lang-switcher {
    display: none !important;
  }

  .mobile-lang-row {
    display: block !important;
    width: 100%;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 1.25rem;
  }

  .header-container {
    height: 80px;
  }

  .hero-grid, .about-grid, .contact-grid, .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .subcat-modal-card {
    grid-template-columns: 1fr;
  }

  .subcat-modal-img-wrap {
    height: 180px;
  }

  .dual-logo-wrapper {
    gap: 0.75rem;
  }

  .logo-img-two-stars {
    height: 38px;
  }

  .logo-img-voltex {
    height: 36px;
  }

  .parent-tag-text {
    display: none;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: calc(100vh - 80px);
    background: #FFFFFF !important;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    border-right: 1px solid #E2E8F0;
    z-index: 999;
  }

  [dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    border-right: none;
    border-left: 1px solid #E2E8F0;
  }

  .nav-menu.active {
    left: 0;
  }

  [dir="rtl"] .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Responsive Product Detail Layout */
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .detail-gallery-col {
    position: static !important;
    width: 100%;
  }

  .detail-main-img-box {
    height: 280px !important;
    padding: 0.75rem !important;
  }

  .detail-info-col h1 {
    font-size: 1.85rem !important;
  }
}

/* Mobile Phones (under 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 2.5rem 0;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .page-banner-hero {
    padding: 2.5rem 0 2rem 0;
  }

  .page-banner-hero h1 {
    font-size: 1.9rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card-img-wrap {
    height: 180px;
  }

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

  .modal-container {
    padding: 1.5rem 1rem;
    max-height: 95vh;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Small Mobile Product Detail Overrides */
  .detail-main-img-box {
    height: 220px !important;
    padding: 0.5rem !important;
  }

  .detail-info-col h1 {
    font-size: 1.5rem !important;
  }

  .subcat-gallery-thumbs .thumb-img {
    width: 46px;
    height: 46px;
  }

  #detailBreadcrumbs {
    font-size: 0.82rem;
  }
}
