﻿﻿/* ========================================================= */
/* ==================== MAIN.CSS =========================== */
/* ========================================================= */

.hero-images-trigger {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}
#featured-technicians-section .featured-tech-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: center;
}
#featured-technicians-section .tech-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
#featured-technicians-section .tech-image-wrapper .item-image-container {
  width: 256px;
  height: 256px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
#featured-technicians-section .tech-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
  margin-top: 2rem;
}
.home-cta-row.single {
  gap: 0;
  justify-content: center;
  width: 100%;
}
.home-cta-row .dtc-btn-outline {
  min-width: 200px;
  margin: 0 auto;
}
.home-view-products-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.home-view-products-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* 1. Foundational & Global Styles */
:root {
  --dtc-primary: #d69200; /* Gold/Yellow */
  --dtc-secondary: #d69200;
  --dtc-dark: #2d2d2d;     /* Dark Charcoal */
  --dtc-dark-alt: #1a1a1a; /* Near Black */
  --dtc-text-dark: #2d2d2d;
  --dtc-text-light: #ffffff;
  --dtc-text-muted: #6c757d;
  --dtc-bg: #ffffff;
  --dtc-bg-card: #f8f9fa;
  --dtc-border-color: #dee2e6;
  --dtc-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --dtc-success: #28a745;
  --dtc-danger: #dc3545;

  /* --- PROFESSIONAL GRADIENTS --- */
  --dtc-gradient-primary: linear-gradient(135deg, #d69200 0%, #fbb019 100%);
  --dtc-gradient-hover: linear-gradient(135deg, #fbb019 0%, #d69200 100%);
  --dtc-gradient-dark: linear-gradient(135deg, #2d2d2d 0%, #434343 100%);
  --dtc-gradient-dark-hover: linear-gradient(135deg, #434343 0%, #2d2d2d 100%);
  --dtc-gradient-success: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
  --dtc-gradient-danger: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

* { padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dtc-bg);
  color: var(--dtc-text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

a { text-decoration: none; color: var(--dtc-primary); transition: color 0.3s ease; }
a:hover { color: var(--dtc-dark); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 0.75rem; color: var(--dtc-dark); }
h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); } 
h2 { font-size: clamp(1.75rem, 5vw, 2.25rem); text-align: center; margin-bottom: 3rem; position: relative; padding-bottom: 1rem; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--dtc-gradient-primary); border-radius: 2px;}
h3 { font-size: clamp(1.1rem, 3vw, 1.25rem); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; } 
section.page-content { padding: 40px 0; }
#trusted-by-section { margin-top: 10%; }
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: -2.5rem auto 3rem;
  font-size: 1.1rem;
  color: var(--dtc-text-muted);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* --- BUTTON STYLES WITH GRADIENTS --- */
.dtc-btn { 
  display: inline-block; 
  background: var(--dtc-gradient-primary);
  color: #ffffff; 
  padding: 12px 28px; 
  border-radius: 50px; 
  font-weight: 600; 
  transition: all 0.3s ease; 
  box-shadow: 0 4px 15px rgba(214, 146, 0, 0.3);
  border: none;
  cursor: pointer; 
  text-align: center; 
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.dtc-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(214, 146, 0, 0.4);
  background: var(--dtc-gradient-hover);
  color: #ffffff;
}

.dtc-btn-outline { 
  background: transparent; 
  color: var(--dtc-primary); 
  box-shadow: none; 
  border: 2px solid var(--dtc-primary);
}
.dtc-btn-outline:hover { 
  background: var(--dtc-gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(214, 146, 0, 0.3);
}

.dtc-btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.dtc-btn-outline-light:hover {
  background: #ffffff;
  color: var(--dtc-dark);
}

.dtc-btn-secondary {
  background: var(--dtc-gradient-dark);
  border: none;
  color: #ffffff;
}
.dtc-btn-secondary:hover {
  background: var(--dtc-gradient-dark-hover);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(45, 45, 45, 0.4);
}

.dtc-btn-danger {
  background: var(--dtc-gradient-danger);
  border: none;
  color: #ffffff;
}
.dtc-btn-danger:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #dc3545 100%);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* ========================================================= */
/* ============ GLOBAL NAVIGATION =========== */
/* ========================================================= */

.global-header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid var(--dtc-border-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* --- LOGO STYLES (BRUTALIST HOVER EFFECT) --- */
.logo a {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 60px;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 5px;
  position: relative;
  overflow: hidden;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  background-color: var(--dtc-dark);
  border: 3px solid var(--dtc-secondary);
}

.logo a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
  transition: none;
  opacity: 0;
}

.logo a:hover {
  background-color: #000;
  color: #fff;
}

.logo a:hover::before {
  opacity: 1;
  animation: logo-slide 2s infinite;
}

.logo a:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 var(--dtc-primary);
  background-color: #fff;
  color: #000;
  border-color: #000;
}

.logo a > * {
  position: relative;
  z-index: 2;
}

.header-logo-img {
  height: 40px;
  width: auto;
}

.logo a div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo .sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #ccc;
}

.logo a:active .sub {
  color: var(--dtc-text-muted);
}

@keyframes logo-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.header-icons {
  display: flex;
  align-items: center;
}
.header-icons a {
  color: var(--dtc-text-dark);
  margin-left: 20px;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}
.header-icons a:hover {
  color: var(--dtc-secondary);
  transform: translateY(-3px);
}
.icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-block;
  vertical-align: middle;
}
.icon-lg {
  width: 2.25rem;
  height: 2.25rem;
}
.icon-fw {
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.5rem;
}
.icon-button {
  background: transparent;
  border: none;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
}
.icon-button .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.cart-button-wrapper a {
  text-decoration: none;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--dtc-gradient-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav {
  background-color: var(--dtc-dark);
  color: #fff;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav ul li {
  transition: all 0.2s ease-in-out;
}
.nav ul li:hover,
.nav ul li.active {
  background: var(--dtc-gradient-primary);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1);
}
.nav ul li:hover a,
.nav ul li.active a {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.nav ul li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

#home-page .section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: var(--dtc-text-dark);
  padding-bottom: 0;
  margin-top: 10%;
  padding-bottom: 4%;
}
#home-page .section-title::after {
  display: none;
}

#home-page .as-seen-on-tv {
  margin-top: -0.75%;
}

.featured-products-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  margin-bottom: 1.25%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.featured-products-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: max-content;
  animation: featuredProductsScroll 360s linear infinite; /* Doubled from 80s to slow down by 50% */
}

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

.featured-products-track.reverse {
  animation-direction: reverse;
}

.featured-products-marquee-reverse {
  margin-top: 1.5rem;
}

.featured-products-track .product-card {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 260px;
}

#trusted-by-section .featured-products-track .product-card {
  flex: 0 0 auto;
  min-width: 220px;
  max-width: 220px;
  width: 220px;
  transform: scale(0.6);
  transform-origin: center center;
  border-radius: 20px !important;
  border: 1px solid rgba(45, 45, 45, 0.06) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center !important;
  justify-content: flex-start !important;
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
}

#trusted-by-section .featured-products-track .product-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 250, 0.95)) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
  padding: 1.5rem 1.25rem 1rem !important;
}

#trusted-by-section .product-card .product-image-container.trustedby-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 100px;
  max-width: 160px;
  border-radius: 0 !important;
  margin: 0 !important;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(232,237,245,1)) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

#trusted-by-section .product-card .product-image-container.trustedby-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

#trusted-by-section .product-card-details {
  padding: 0 !important;
  flex-grow: 0 !important;
  display: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 0.75rem !important;
  z-index: 2 !important;
}

#trusted-by-section .product-card:hover .product-card-details,
#trusted-by-section .product-card.expanded .product-card-details {
  display: flex !important;
}

#trusted-by-section .product-card.expanded {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 250, 0.95)) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
  padding: 1.5rem 1.25rem 1rem !important;
}

#trusted-by-section .product-card h3 {
  font-size: 0.95rem !important;
  margin: 0 !important;
  color: var(--dtc-dark) !important;
  font-weight: 600 !important;
}

#trusted-by-section .product-card .price {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--dtc-text-muted) !important;
  margin: 0.35rem 0 0 !important;
}

#trusted-by-section .product-card:hover .product-image-container.trustedby-logo {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

@media (max-width: 768px) {
  #trusted-by-section .product-card .product-image-container.trustedby-logo {
    min-width: 46px !important;
    max-width: 70px !important;
  }
  /* Remove spacing between trusted-by containers on mobile/tablet */
  #trusted-by-section .featured-products-track {
    gap: 0 !important;
  }
  #trusted-by-section .featured-products-track .product-card {
    margin: 0 !important;
    min-width: 129px !important;
    max-width: 129px !important;
    width: 129px !important;
  }
}

@media (max-width: 480px) {
  #trusted-by-section .product-card .product-image-container.trustedby-logo {
    min-width: 41px !important;
    max-width: 59px !important;
  }
  /* Remove spacing between trusted-by containers on small phones */
  #trusted-by-section .featured-products-track {
    gap: 0 !important;
  }
  #trusted-by-section .featured-products-track .product-card {
    margin: 0 !important;
    min-width: 129px !important;
    max-width: 129px !important;
    width: 129px !important;
  }
}

#home-page .as-seen-on-tv .featured-products-track .product-card {
  flex: 0 0 260px;
  max-width: 260px;
  min-width: 260px;
}

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

/* --- HERO SLIDER STYLES --- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #090909;
}

.hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  background: linear-gradient( to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.06) );
  pointer-events: none;
}

.hero-slider {
  width: 100%;
  min-height: 500px;
  height: auto;
  overflow: hidden;
  position: relative;
  background-color: transparent !important;
}

.hero-slider .carousel-cell {
  width: 100%;
  min-height: 500px;
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slider .carousel-cell .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}
.hero-slider .carousel-cell .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( to bottom, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04) );
  pointer-events: none;
}
.hero-slider .flickity-viewport {
  overflow: hidden;
  background-color: transparent !important;
}
.hero-slider .flickity-slider {
  touch-action: pan-y;
  background-color: transparent !important;
}

.hero-slider .carousel-cell .inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  color: white;
  text-align: center;
  z-index: 5;
  padding: 20px;
}

.hero-slider .carousel-cell .inner .subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-slider .carousel-cell .inner .title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 2.5rem);
  line-height: 1.2em;
  text-transform: none;
  letter-spacing: normal;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-slider .carousel-cell .inner .btn {
  border: 2px solid #fff;
  padding: 14px 18px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
  transition: all .2s ease;
  background-color: transparent;
}

.hero-slider .carousel-cell .inner .btn:hover {
  background: #fff;
  color: #000;
}

.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.05) 100%);
}

.about-hero .inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 1.25rem;
  text-align: center;
  color: #ffffff;
}

.about-hero .title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #ffffff !important;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.about-hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95) !important;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-slider .flickity-prev-next-button {
  width: 80px;
  height: 80px;
  background: transparent;
}

.hero-slider .flickity-prev-next-button:hover {
  background: transparent;
}

.hero-slider .flickity-prev-next-button .arrow {
  fill: white;
}

.hero-slider .flickity-page-dots {
  bottom: 30px;
}

.hero-slider .flickity-page-dots .dot {
  width: 30px;
  height: 4px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 0 solid white;
  border-radius: 0;
  transition: background 0.3s;
}

.hero-slider .flickity-page-dots .dot.is-selected {
  background: var(--dtc-primary);
}

#home-page .as-seen-on-tv .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#home-page .as-seen-on-tv .product-grid .product-card {
  flex: 0 0 20vw;
  max-width: 20vw;
}

@media (max-width: 991px) {
  #home-page .as-seen-on-tv .product-grid .product-card {
    flex: 0 0 45vw;
    max-width: 45vw;
  }
}

@media (max-width: 600px) {
  #home-page .as-seen-on-tv .product-grid .product-card {
    flex: 0 0 90vw;
    max-width: 90vw;
  }
  #featured-technicians-section .featured-tech-card .item-image-container {
    height: 200px;
    width: 200px;
    scale: 0.7;
  }
}

/* === START: FEATURED TECHNICIANS SLIDER STYLES === */
#featured-technicians-section {
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dtc-bg);
}
#featured-technicians-section .slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  box-shadow: 0 30px 50px rgba(0,0,0,0.1);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
}
#featured-technicians-section .slide {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  display: flex;
  align-items: stretch;
}
#featured-technicians-section .slide .item {
  width: 200px;
  height: 250px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.2);
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: all 0.5s;
}
#featured-technicians-section .slide .item:nth-child(1),
#featured-technicians-section .slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 20px;
  width: 100%;
  height: 100%;
}
#featured-technicians-section .slide .item:nth-child(3) { left: 50%; }
#featured-technicians-section .slide .item:nth-child(4) { left: calc(50% + 220px); }
#featured-technicians-section .slide .item:nth-child(5) { left: calc(50% + 440px); }
#featured-technicians-section .slide .item:nth-child(n + 6) { left: calc(50% + 660px); opacity: 0; }

#featured-technicians-section .item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}
#featured-technicians-section .slide .item:nth-child(2) .content { display: block; }
#featured-technicians-section .content .name { font-size: 40px; text-transform: uppercase; font-weight: bold; opacity: 0; animation: animate 1s ease-in-out 1 forwards; }
#featured-technicians-section .content .des { margin-top: 10px; margin-bottom: 20px; opacity: 0; animation: animate 1s ease-in-out 0.3s 1 forwards; }
#featured-technicians-section .slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  background: #ffffff;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
#featured-technicians-section .content button {
  padding: 10px 20px;
  border: 2px solid #eee;
  background: transparent;
  text-transform: uppercase;
  color: #eee;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
#featured-technicians-section .content button:hover { 
  background-color: #ffffff;
  color: #000;
}
#featured-technicians-section .tech-slide-logo { position: absolute; right: -300px; top: 10%; transform: translateY(-50%); width: 250px; height: auto; opacity: 0; animation: animate 1s ease-in-out 0.8s 1 forwards; }

@media (min-width: 769px) {
  #featured-technicians-section .slide .item {
    position: absolute;
  }
  #featured-technicians-section .slide .item .tech-image-wrapper {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    justify-self: end;
    align-self: center;
  }
  #featured-technicians-section .slide .item .tech-image-wrapper .item-image-container {
    width: 256px;
    min-height: 256px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@keyframes animate { from { opacity: 0; transform: translate(0, 100px); filter: blur(33px); } to { opacity: 1; transform: translate(0); filter: blur(0); } }

#featured-technicians-section .button { display: flex; flex-direction: row; gap: 20px; justify-content: center; width: 100%; align-items: center; text-align: center; position: absolute; bottom: 20px; }
#featured-technicians-section .button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--dtc-dark);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
  z-index: 10;
}
#featured-technicians-section .button button:hover { 
  color: #fff; 
  background: var(--dtc-gradient-primary); 
  transform: scale(1.1); 
}

/* === MODIFIED FEATURED TECHNICIANS SLIDER STYLES === */
#featured-technicians-section .slide .item {
  overflow: hidden;
}

#featured-technicians-section .slide .item:nth-child(1),
#featured-technicians-section .slide .item:nth-child(2) {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

#featured-technicians-section .slide .item:not(:only-child):nth-child(1) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#featured-technicians-section .slide .item:nth-child(2) {
  z-index: 2;
}

#featured-technicians-section .item .content {
  position: static;
  transform: none;
  width: auto;
  flex: 1 1 55%;
  text-shadow: none;
}

#featured-technicians-section .item .item-image-container {
  display: none;
  flex: 1 1 45%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20%;
}

#featured-technicians-section .item .item-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#featured-technicians-section .slide .item:nth-child(2) .item-image-container {
  display: block;
  animation: animate 1s ease-in-out 0.8s 1 forwards;
  opacity: 1;
}

#featured-technicians-section .slide .item:nth-child(2) .content .name { opacity: 0; animation: animate 1s ease-in-out 0.2s 1 forwards; }
#featured-technicians-section .slide .item:nth-child(2) .content .des { opacity: 0; animation: animate 1s ease-in-out 0.4s 1 forwards; }
#featured-technicians-section .slide .item:nth-child(2) .content button { opacity: 0; animation: animate 1s ease-in-out 0.6s 1 forwards; }

#featured-technicians-section .slide .item:nth-child(n+3) {
  display: block;
  padding: 0;
}

#featured-technicians-section .slide .item:nth-child(n+3) .content {
  display: none;
}

#featured-technicians-section .slide .item:nth-child(n+3) .item-image-container {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* === FIX: Ensure only one featured technician card shows and prevent overlap === */
#featured-technicians-section .slider-container { overflow: hidden; }
#featured-technicians-section .slide { position: relative; display: block; }
#featured-technicians-section .slide .item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}
#featured-technicians-section .slide .item:not(:nth-child(2)):not(:only-child) {
  display: none !important;
}

#featured-technicians-section .slide .item:nth-child(2),
#featured-technicians-section .slide .item:only-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
  padding: 1.25rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}

#featured-technicians-section .slide .item:nth-child(n+3) {
  display: none !important;
}

@media (min-width: 769px) {
  #featured-technicians-section .slide .item:nth-child(2) { max-width: 100%; }
}

#featured-technicians-section .featured-tech-card {
  width: 100% !important;
  height: 100% !important;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 1.5rem;
  column-gap: 2rem;
  align-items: center !important;
  justify-items: stretch;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dtc-dark-alt);
  border-radius: 20px;
  overflow: hidden;
}
#featured-technicians-section .featured-tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6,6,6,0.75) 0%, rgba(6,6,6,0.55) 45%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
#featured-technicians-section .featured-tech-card .item-image-container {
  display: flex !important;
  justify-self: end;
  position: relative;
  z-index: 1;
  width: 256px;
  height: 256px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  background: #fff;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
#featured-technicians-section .featured-tech-card .content {
  margin-top: 10% !important;
  display: flex !important;
  flex-direction: column;
  justify-content: start !important;
  align-items: flex-start !important;
  height: 100% !important;
  align-self: center !important;
  justify-self: flex-start !important;
  text-align: left;
  max-width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  color: #ffffff;
  gap: 0.75rem;
}

/* === FEATURED TECHNICIANS DESKTOP FIX === */
#featured-technicians-section .slide .item:nth-child(2),
#featured-technicians-section .slide .item:only-child {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10% !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
}
#featured-technicians-section .slide .item .tech-image-wrapper {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}
#featured-technicians-section .slide .item .item-image-container,
#featured-technicians-section .featured-tech-card .item-image-container {
  width: 256px !important;
  height: 256px !important;
  min-width: 256px !important;
  min-height: 256px !important;
  margin: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}
#featured-technicians-section .slide .item .item-image-container img,
#featured-technicians-section .featured-tech-card .item-image-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#featured-technicians-section .featured-tech-card .name {
  margin: 0 !important;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
}

#featured-technicians-section .featured-tech-card .des {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
}

#featured-technicians-section .featured-tech-card button,
#featured-technicians-section .featured-tech-card a button {
  margin-top: 0.5rem;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#featured-technicians-section .featured-tech-card button:hover,
#featured-technicians-section .featured-tech-card a button:hover {
  background: #ffffff;
  color: #000;
}

@media (max-width: 768px) {
  #featured-technicians-section {
    min-height: auto;
  }
  #featured-technicians-section .slider-container {
    height: auto;
    min-height: auto;
    padding: 1rem;
    background-image: none !important;
    background: transparent !important;
  }
  #featured-technicians-section .slide {
    display: block;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  #featured-technicians-section .slide .item:nth-child(2),
  #featured-technicians-section .slide .item:only-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem !important;
  }
  #featured-technicians-section .slide .item:nth-child(2) {
    width: 100% !important;
    height: auto !important;
  }
  #featured-technicians-section .featured-tech-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    padding: 1rem !important;
    gap: 1rem;
  }
  #featured-technicians-section .featured-tech-card .tech-image-wrapper {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
  }
  #featured-technicians-section .featured-tech-card .item-image-container {
    width: 100% !important;
    height: auto !important;
    min-height: 220px !important;
    aspect-ratio: 1 / 1 !important;
    margin-bottom: 0.75rem !important;
  }
  #featured-technicians-section .featured-tech-card .content {
    order: 2 !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 0.75rem !important;
  }
  #featured-technicians-section .featured-tech-card .name {
    font-size: 1.8rem !important;
  }
  #featured-technicians-section .featured-tech-card .des {
    font-size: 1rem !important;
  }
  #featured-technicians-section .featured-tech-card button,
  #featured-technicians-section .featured-tech-card a button {
    width: fit-content;
  }
  #featured-technicians-section .button {
    bottom: 12px !important;
  }
  #featured-technicians-section .slide .item:nth-child(2) .content .name {
    scale: 0.7;
  }
  .content {
    margin-bottom: 35%;
  }
  .des {
    margin-left: 15%;
  }
  #featured-technicians-section .featured-tech-card button, #featured-technicians-section .featured-tech-card a button {
    margin-left: 30%;
  }
  .button {
    margin-bottom: 15%;
  }
}

/* FOOTER STYLES */
.footer {
  background-color: var(--dtc-dark-alt);
  color: var(--dtc-text-muted);
  padding: 4rem 0 2rem;
  text-align: center;
  margin-top: 20%;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--dtc-text-light); margin-bottom: 1rem; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo-img { height: 60px; width: auto; }
.footer-nav { list-style: none; display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; padding: 0;}
.footer-nav a { color: var(--dtc-text-muted); padding: 8px 15px; border-radius: 20px; border: 1px solid transparent; transition: all 0.3s ease; }
.footer-nav a:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--dtc-text-light); border-color: var(--dtc-secondary); }
.footer-socials { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-socials a { color: var(--dtc-text-muted); font-size: 1.2rem; transition: color 0.3s; }
.footer-socials a .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.footer-socials a:hover { color: var(--dtc-secondary); }
.copyright { font-size: 0.9rem; opacity: 0.7; }

/* 2. Multi-Page Simulation Logic */
.page-content { min-height: 80vh; }
#home-page { padding-top: 0; padding-bottom: 0;}

/* 3. Global Cart Styles */
.cart-popup {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 1002;
  overflow: hidden;
  border: 1px solid #ddd;
}
.cart-popup.visible { display: block; }
.cart-popup-header { 
  padding: 1rem; 
  font-weight: 600; 
  border-bottom: 1px solid var(--dtc-border-color); 
  color: var(--dtc-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dtc-text-muted);
}
.cart-close-btn:hover {
  color: var(--dtc-dark);
}
#cart-items-list { list-style: none; max-height: 300px; overflow-y: auto; padding: 0.5rem; }
.cart-item { display: flex; gap: 1rem; padding: 0.75rem; align-items: center; }
.cart-item-image { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--dtc-border-color); border-radius: 8px; flex-shrink: 0; }
.cart-item-details { flex-grow: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--dtc-text-dark); }
.cart-item-price { font-size: 0.85rem; color: var(--dtc-text-muted); }
.cart-item-remove { background: none; border: none; color: var(--dtc-danger); cursor: pointer; padding: 0; font-weight: 600; }
.cart-popup-footer { padding: 1rem; border-top: 1px solid var(--dtc-border-color); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 1rem; color: var(--dtc-text-dark); }
.cart-buttons { display: flex; gap: 0.75rem; }
.cart-buttons .dtc-btn, .cart-buttons .dtc-btn-outline { width: 100%; padding: 10px; flex: 1; }
#cart-empty-msg { text-align: center; padding: 2rem; color: var(--dtc-text-muted); }

/* Generic Section Styling */
.feature-section { background-color: var(--dtc-bg-card); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; text-align: center; }
.feature-item { padding: 1.5rem; }
.feature-item i { font-size: 3rem; color: var(--dtc-primary); margin-bottom: 1.5rem; display: inline-block; }
.feature-item h3 { color: var(--dtc-dark); margin-bottom: 0.5rem; }
.feature-item p { color: var(--dtc-text-muted); }

#technicians-section, #products-page, #admin-dashboard-page, 
#profile-page, #about-section, #contact-section,
#cart-page, #checkout-page {
  padding-top: 40px; 
}
#product-detail-page-container {
  padding-top: 40px;
}

/* Search and Filters */
.page-search-bar { margin: -1rem auto 3rem; max-width: 700px; margin-bottom: 10%; }
.page-search-bar input { width: 100%; padding: 12px 20px; font-size: 1.1rem; border: 1px solid var(--dtc-border-color); border-radius: 50px; box-shadow: var(--dtc-shadow); font-family: 'Poppins', sans-serif; }
.page-search-bar input::placeholder { color: #aaa; }

.combined-search-filters { display: flex; gap: 1rem; margin: -1rem auto 3rem; background-color: var(--dtc-bg-card); padding: 1rem; border-radius: 12px; box-shadow: var(--dtc-shadow); flex-wrap: wrap; align-items: center; max-width: 900px; margin-bottom: 10%; }
.combined-search-filters input, .combined-search-filters select { padding: 12px; border: 1px solid var(--dtc-border-color); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.combined-search-filters input { flex-grow: 1; min-width: 200px; }
.combined-search-filters select { min-width: 180px; flex-basis: 180px; }

.grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.person-card { background: var(--dtc-bg-card); border-radius: 15px; overflow: hidden; box-shadow: var(--dtc-shadow); transition: all 0.3s ease; display: flex; flex-direction: column; border: 1px solid var(--dtc-border-color); }
.person-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.card-image-container { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background-color: #f0f0f0; }
.card-image-container img { width: 100%; height: 100%; object-fit: cover; }
.verified-badge { 
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  background: var(--dtc-gradient-success); 
  color: white; 
  padding: 5px 10px; 
  border-radius: 20px; 
  font-size: 0.8rem; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
}
.verified-badge .icon {
  width: 1rem;
  height: 1rem;
}
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { margin-top: 0; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.card-tag { 
  background: rgba(240, 165, 0, 0.1); 
  color: #d89200; 
  padding: 4px 12px; 
  border-radius: 20px; 
  font-size: 0.8rem; 
  font-weight: 600; 
}
.card-footer { margin-top: auto; padding: 1rem 1.5rem; border-top: 1px solid var(--dtc-border-color); text-align: center; }

/* --- PRODUCT CARDS --- */
.product-card { background-color: var(--dtc-bg-card); border: 1px solid var(--dtc-border-color); border-radius: 15px; overflow: hidden; text-align: center; transition: box-shadow 0.3s, transform 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.product-image-container { position: relative; overflow: hidden; background-color: #ffffff; }
.product-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 1rem; transition: transform 0.3s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card-details { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.1rem; margin: 0.5rem 0; flex-grow: 1; color: var(--dtc-text-dark); }
.product-card .view-product-link { color: var(--dtc-text-dark); }
.product-card .view-product-link:hover h3 { color: var(--dtc-primary); }
.product-card .price { font-size: 1.25rem; font-weight: 600; color: var(--dtc-primary); margin-bottom: 1rem; }
.product-card .out-of-stock { position: absolute; top: 12px; left: 12px; background: var(--dtc-danger, #c0392b); color: #ffffff; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.quick-view-btn, .brand-view-btn { 
  position: absolute; 
  border: none; 
  cursor: pointer; 
  opacity: 0; 
  transform: translateY(100%); 
  transition: all 0.3s ease-in-out; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  background: var(--dtc-gradient-primary);
  color: #ffffff; 
  padding: 12px 0; 
  text-align: center; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  font-size: 0.9rem; 
}
.product-card:hover .quick-view-btn, .product-card:hover .brand-view-btn { opacity: 1; transform: translateY(0); }

.pagination-container { margin-top: 3rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.pagination-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.page-link { display: inline-block; padding: 10px 15px; background-color: var(--dtc-bg-card); border: 1px solid var(--dtc-border-color); color: var(--dtc-primary); text-decoration: none; border-radius: 5px; transition: all 0.3s ease; cursor: pointer; }
.page-link:hover, .page-link.active { 
  background: var(--dtc-gradient-primary); 
  color: #ffffff; 
  border-color: transparent; 
  box-shadow: 0 4px 10px rgba(214, 146, 0, 0.2);
}
.page-link.disabled { color: var(--dtc-text-muted); pointer-events: none; background-color: #e9ecef; }

/* --- Testimonial Card Styles (WSK) --- */
.testimonial-shell { padding: 40px 0; }
#testimonial-grid-container { display: grid; gap: 30px; grid-template-columns: 1fr; }
.testimonial-shell .wsk-cp-product {
  background:#fff;
  padding:15px;
  border-radius:6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  position:relative;
  margin:20px 0;
}
.testimonial-shell .wsk-cp-img {
  position:absolute;
  top:5px;
  left:50%;
  transform:translate(-50%);
  width: 100%;
  padding: 15px;
  transition: all 0.2s ease-in-out;
}
.testimonial-shell .wsk-cp-img img { width:100%; transition: all 0.2s ease-in-out; border-radius:6px; }
.testimonial-shell .wsk-cp-product:hover .wsk-cp-img { top:-40px; }
.testimonial-shell .wsk-cp-product:hover .wsk-cp-img img { box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); }
.testimonial-shell .wsk-cp-text { padding-top:150%; }
.testimonial-shell .wsk-cp-text .category {
  text-align:center;
  font-size:12px;
  font-weight:bold;
  padding:5px;
  margin-bottom:45px;
  position:relative;
  transition: all 0.2s ease-in-out;
}
.testimonial-shell .wsk-cp-text .category > * { position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); }
.testimonial-shell .wsk-cp-text .category > span {
  padding: 12px 30px;
  border: 1px solid #313131;
  background:var(--dtc-dark);
  color:#fff;
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  border-radius:27px;
  transition: all 0.05s ease-in-out;
}
.testimonial-shell .wsk-cp-product:hover .wsk-cp-text .category > span { border-color: var(--dtc-border-color); box-shadow: none; padding: 11px 28px; }
.testimonial-shell .wsk-cp-product:hover .wsk-cp-text .category { margin-top: 0px; }
.testimonial-shell .wsk-cp-text .title-product { text-align:center; }
.testimonial-shell .wsk-cp-text .title-product h3 {
  font-size:20px;
  font-weight:bold;
  margin:15px auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width:100%;
}
.testimonial-shell .wsk-cp-text .description-prod {
  text-align:center;
  width: 100%;
  height:62px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom:15px;
}
.testimonial-shell .card-footer { padding: 25px 0 5px; border-top: 1px solid #ddd; }
.testimonial-shell .card-footer:after, .testimonial-shell .card-footer:before { content:''; display:table; }
.testimonial-shell .card-footer:after { clear:both; }
.testimonial-shell .card-footer .wcf-left { float:left; }
.testimonial-shell .card-footer .wcf-right { float:right; }
.testimonial-shell .price { font-size:18px; font-weight:bold; }
.testimonial-shell a.buy-btn {
  display:flex;
  align-items: center;
  justify-content: center;
  color: var(--dtc-success);
  text-align:center;
  font-size: 18px;
  width:35px;
  height:35px;
  line-height:35px;
  border-radius:50%;
  border:1px solid var(--dtc-success);
  transition: all 0.2s ease-in-out;
}
.testimonial-shell a.buy-btn:hover { border-color: transparent; background: var(--dtc-gradient-primary); color: #fff; text-decoration:none; }

@media screen and (max-width: 991px) {
  .testimonial-shell .wsk-cp-product { margin:40px auto; }
  .testimonial-shell .wsk-cp-product .wsk-cp-img { top:-40px; }
  .testimonial-shell .wsk-cp-product .wsk-cp-img img { box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); }
  .testimonial-shell .wsk-cp-product .wsk-cp-text .category > span { border-color:#ddd; box-shadow: none; padding: 11px 28px; }
  .testimonial-shell .wsk-cp-product .wsk-cp-text .category { margin-top: 0px; }
  .testimonial-shell a.buy-btn { border-color: #FF9800; background: #FF9800; color: #fff; }
}

@media (min-width: 768px) { #testimonial-grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { #testimonial-grid-container { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { #testimonial-grid-container { grid-template-columns: repeat(5, 1fr); } }

/* Profile Page */
.profile-layout-grid { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; align-items: flex-start; }
.profile-sidebar, .profile-main-content { background: var(--dtc-bg-card); padding: 2rem; border-radius: 15px; box-shadow: var(--dtc-shadow); }
#profile-avatar { width: 100%; height: auto; aspect-ratio: 1/1; border-radius: 15px; object-fit: cover; margin-bottom: 1.5rem; }
.profile-sidebar h3 { font-size: 1.75rem; }
.profile-sidebar .verified-badge { position: static; display: inline-flex; margin-top: 0.5rem; margin-bottom: 1.5rem; }
.profile-contact-info { list-style: none; margin: 1.5rem 0; padding: 0;}
.profile-contact-info li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--dtc-text-muted); }
.profile-contact-info .icon { color: var(--dtc-primary); width: 1rem; height: 1rem; }
.profile-main-content h3 { padding-bottom: 1rem; border-bottom: 2px solid var(--dtc-border-color); margin-bottom: 1.5rem; }
.profile-skills-list { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }

.tech-media-preview { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.tech-media-preview img { width: 80px; height: 80px; border-radius: 15px; object-fit: cover; box-shadow: 0 12px 25px rgba(0,0,0,0.18); border: 2px solid rgba(255,255,255,0.25); }

.tech-slide-logo { width: 100vh; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.1s ease; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.2s ease; }
.gallery-grid img:hover { transform: scale(1.05); }

/* Modals */
.modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; padding: 1rem; }
.modal.show { display: flex; }
.modal-content { background-color: #ffffff; margin: auto; padding: 2.5rem; border-radius: 15px; width: 100%; max-width: 600px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2); max-height: 90vh; overflow-y: auto; color: var(--dtc-text-dark); }
.modal-content-large { max-width: 900px; padding: 1rem; }
.close-btn { color: #aaa; position: absolute; top: 1rem; right: 1.5rem; font-size: 28px; font-weight: bold; cursor: pointer; z-index: 10; }
.close-btn:hover { color: #333; }
.modal h2 { text-align: center; margin-bottom: 2rem; color: var(--dtc-text-dark); font-size: 1.5rem; border: none; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--dtc-border-color); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.checkbox-group { display: flex; align-items: center; gap: 10px; }
.form-group.checkbox-group input { width: auto; }
.modal-footer { margin-top: 2rem; text-align: center; }
.modal-footer a { font-weight: 600; }

#product-gallery-preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding: 10px; border: 1px solid var(--dtc-border-color); border-radius: 8px; min-height: 100px; background-color: #eee; }
.gallery-preview-item { position: relative; width: 100px; height: 100px; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.main-image-badge { position: absolute; top: 5px; left: 5px; background-color: var(--dtc-primary); color: white; padding: 2px 6px; font-size: 0.7rem; border-radius: 3px; font-weight: 600; }
.form-help-text { font-size: 0.85rem; color: var(--dtc-text-muted); margin-top: 5px; }

/* --- CART & CHECKOUT PAGES --- */
.cart-page-layout, .checkout-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: flex-start; }
.cart-page-items, .checkout-form-container { background: var(--dtc-bg-card); padding: 2rem; border-radius: 15px; box-shadow: var(--dtc-shadow); }
.cart-table-header { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--dtc-border-color); font-weight: 600; color: var(--dtc-text-muted); text-transform: uppercase; font-size: 0.9rem; }
.cart-table-header div:not(:first-child) { text-align: center; }
.cart-page-item { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 1rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--dtc-border-color); }
.cart-page-item img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--dtc-border-color); border-radius: 8px; margin-right: 1rem; background: #fff; }
.cart-page-item-details { display: flex; align-items: flex-start; flex-direction: column; }
.cart-page-item-details h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.cart-page-item-details p { color: var(--dtc-text-muted); font-weight: 500; margin-bottom: 0.5rem; }
.cart-remove-btn { background: none; border: none; color: var(--dtc-danger); cursor: pointer; padding: 0; font-weight: 600; }
.quantity-control { display: flex; align-items: center; justify-content: center; }
.quantity-control button { width: 30px; height: 30px; border: 1px solid var(--dtc-border-color); background: var(--dtc-bg); cursor: pointer; transition: all 0.2s; }
.quantity-control button:hover { background: var(--dtc-bg-card); color: var(--dtc-primary); border-color: var(--dtc-primary); }
.quantity-control input { width: 40px; height: 30px; text-align: center; border: 1px solid var(--dtc-border-color); border-left: none; border-right: none; }
.cart-page-item-total { text-align: center; font-weight: 600; font-size: 1.1rem; }
.cart-summary, .checkout-summary { background: var(--dtc-bg-card); padding: 2rem; border-radius: 15px; display: flex; flex-direction: column; gap: 1rem; }
.cart-summary h3, .checkout-summary h3 { margin-top: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--dtc-border-color); }
.summary-row { display: flex; justify-content: space-between; margin: 1rem 0; }
.summary-row.total { font-weight: 700; font-size: 1.2rem; }
.cart-summary-actions { margin-top: auto; display: flex; justify-content: center; }
.cart-summary-actions .dtc-btn-outline { min-width: 200px; text-align: center; }
.checkout-form .form-group { margin-bottom: 1rem; }
.checkout-summary-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.checkout-summary-list li { display: flex; justify-content: space-between; font-size: 0.95rem; }
.checkout-payment-info { font-size: 0.9rem; color: var(--dtc-text-muted); margin: 1.5rem 0; text-align: center; }

/* --- TICKETING FORM STYLES --- */
#contact-section .form-container { background-color: #ffffff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); width: 100%; max-width: 700px; margin: 0 auto; text-align: center; }
#contact-section .form-container h1 { margin-top: 0; color: var(--dtc-text-dark); font-size: 2rem; font-weight: 600; }
#contact-section .form-container p { color: #555555; margin-bottom: 30px; font-size: 1rem; line-height: 1.5; }
#contact-section .form-group { margin-bottom: 20px; text-align: left; }
#contact-section .form-container label { display: block; margin-bottom: 8px; font-weight: 600; color: #555555; font-size: 0.9rem; }
#contact-section input[type="text"], #contact-section input[type="email"], #contact-section input[type="tel"], #contact-section textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
#contact-section input:focus, #contact-section textarea:focus { outline: none; border-color: #F39C12; box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25); }
#contact-section .form-container button { 
  width: 100%; 
  padding: 15px; 
  background: var(--dtc-gradient-primary);
  color: white; 
  border: none; 
  border-radius: 5px; 
  font-size: 1.1rem; 
  font-weight: bold; 
  cursor: pointer; 
  transition: background-color 0.3s, transform 0.1s; 
  box-shadow: 0 4px 15px rgba(214, 146, 0, 0.2);
}
#contact-section .form-container button:hover { background: var(--dtc-gradient-hover); transform: translateY(-2px); }
#contact-section .form-container button:active { transform: scale(0.99); }
#contact-section .form-container button:disabled { background-color: #cccccc; cursor: not-allowed; }
#contact-section #statusMessage { margin-top: 20px; font-weight: 500; padding: 15px; border-radius: 5px; display: none; text-align: center; word-wrap: break-word; }
#contact-section .success { background-color: #d4edda; color: #155724; display: block; }
#contact-section .error { background-color: #f8d7da; color: #721c24; display: block; }

/* --- Paragraph spacing for about: handled by explicit <br><br> in content --- */
.panel-left .arch-desc p,
.about-architectural-theme .arch-panel .arch-desc p {
  margin: 0 !important; /* Reset paragraph margins inside about container */
}

/* --- Related Categories Section --- */
.related-categories-section { padding: 3rem 0; margin-top: 2rem; background-color: var(--dtc-bg-card); border-top: 1px solid var(--dtc-border-color); }
.related-categories-section h2 { margin-bottom: 2rem; }
.category-tags { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem; }
.category-tag { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 50px; background-color: rgba(214, 146, 0, 0.1); color: var(--dtc-primary); font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; }
.category-tag:hover { background: var(--dtc-gradient-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

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

#admin-dashboard-page.active-page { 
  padding: 0; 
  min-height: 111.11vh; /* Adjusts height to fill 100% of the viewport under 90% zoom */
  height: 111.11vh;
  min-height: 111.11dvh; 
  height: 111.11dvh; 
  overflow: hidden; /* Prevents overall body/page scrolling */
  zoom: 0.9; /* Zooms out the admin dashboard layout to 90% as requested */
}

body.admin-active {
  --radius: 18px;
  --gap: 14px;
  --shadow-lg: 25px;
  --blur: 10px;
  --glass-alpha: 0.15;
  --hue: 270;
  --bg: #0D0716;
  --text: #ffffff;
  --muted: #a9a9b1;
  --card: hsla(260, 30%, 10%, var(--glass-alpha));
  --border: hsla(0 0% 100% / 0.1);
  --shadow-a: hsla(0 0% 0% / 0.3);
  --shadow-b: hsla(0 0% 100% / 0.05);
  --accent: hsl(var(--hue) 90% 65%);
  --accent-2: hsl(calc(var(--hue) + 40) 80% 60%);
  font: 15px/1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: linear-gradient(165deg, #0D0716 0%, #170D27 50%, #271E37 100%) no-repeat fixed;
  overflow: hidden; /* Disables outer body scrollbars */
  height: 100dvh;
}

#admin-dashboard-page .app { 
  display: grid; 
  grid-template-columns: 260px 1fr; 
  grid-template-rows: 100%; 
  grid-template-areas: "sidebar main"; 
  height: 100%; 
  max-height: 100dvh;
  gap: var(--gap); 
  padding: var(--gap); 
  box-sizing: border-box;
}

#admin-dashboard-page #admin-sidebar { 
  grid-area: sidebar; 
  padding: var(--gap); 
  display: flex; 
  flex-direction: column; 
  gap: var(--gap); 
  height: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevents sidebar from breaking height constraints */
}

#admin-dashboard-page #admin-sidebar .nav-group { 
  display: flex; 
  flex-direction: column; 
  gap: 0.25rem; 
  flex-grow: 1;
  overflow-y: auto; /* Allows menu links to scroll if vertical space is limited */
  scrollbar-width: none; /* Hides scrollbar on Firefox */
}

#admin-dashboard-page #admin-sidebar .nav-group::-webkit-scrollbar {
  display: none; /* Hides scrollbar on Chrome/Safari */
}

#admin-dashboard-page #admin-sidebar .nav-group h5 { margin: 0.75rem 0 0.25rem; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* COSMIC GALAXY TABS */
#admin-dashboard-page #admin-sidebar .navlink {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #05071b;
  color: #a9c7ff;
  border: 1px solid rgba(77, 109, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#admin-dashboard-page #admin-sidebar .navlink::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#admin-dashboard-page #admin-sidebar .navlink::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px;
  background: #05071b;
  border-radius: 8px;
}

#admin-dashboard-page #admin-sidebar .navlink:hover,
#admin-dashboard-page #admin-sidebar .navlink.active {
  color: #ffffff;
}

#admin-dashboard-page #admin-sidebar .navlink:hover::before,
#admin-dashboard-page #admin-sidebar .navlink.active::before {
  opacity: 1;
  animation: cosmic-rotate 4s linear infinite;
}

#admin-dashboard-page #admin-sidebar .navlink .icon {
  width: 20px;
  height: 20px;
  text-align: center;
  margin-right: 5px;
  filter: drop-shadow(0 0 5px #4d6dff);
  transition: all 0.3s;
}
#admin-dashboard-page #admin-sidebar .navlink:hover .icon {
  color: #fff;
  filter: drop-shadow(0 0 8px #6e8cff);
}

@keyframes cosmic-rotate { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

#admin-dashboard-page .btn { display: inline-flex; align-items: center; gap: 0.5rem; border: none; padding: 0.65rem 1rem; border-radius: 12px; cursor: pointer; font-weight: 600; background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: white; box-shadow: 0 12px 24px hsla(0 0% 0% / 0.25); }
#admin-dashboard-page .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
#admin-dashboard-page .btn.small { padding: 0.45rem 0.75rem; border-radius: 10px; font-weight: 600; }
.admin-active .modal .btn { display: inline-flex; align-items: center; gap: 0.5rem; border: none; padding: 0.65rem 1rem; border-radius: 12px; cursor: pointer; font-weight: 600; background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: white; box-shadow: 0 12px 24px hsla(0 0% 0% / 0.25); }
.search-notification { max-width: 800px; margin: 1.5rem auto; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--border); border-left: 4px solid var(--dtc-primary); border-radius: 12px; color: var(--dtc-text-dark); font-weight: 500; }
.search-notification p { margin: 0; }
.admin-active .modal .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.admin-active .modal .btn.small { padding: 0.45rem 0.75rem; border-radius: 10px; font-weight: 600; }
#product-edit-form .form-section { margin-bottom: 5%; }
#technician-edit-form .form-section { margin-bottom: 5%; }
#brand-edit-form .form-section { margin-bottom: 5%; }
#profile-page .profile-section { margin-bottom: 5%; }
#admin-dashboard-page #content-management-panel .content-editor-section { margin-bottom: 5%; }
#admin-dashboard-page #edit-hero-title-1,
#admin-dashboard-page #edit-hero-subtitle-1,
#admin-dashboard-page #edit-hero-title-2,
#admin-dashboard-page #edit-hero-subtitle-2 { display: block; margin-bottom: 10%; }

#admin-dashboard-page .card { 
  padding: 16px; 
  box-sizing: border-box;
}

#admin-dashboard-page .title { font-size: 1.35rem; font-weight: 800; margin: 0 0 0.35rem; letter-spacing: 0.2px; color: var(--text); }
#admin-dashboard-page .muted { color: var(--muted); }
#admin-dashboard-page .dashboard-panel { display: none; }
#admin-dashboard-page .dashboard-panel.active { display: block; animation: fadeIn 0.4s ease-out forwards; }

#admin-dashboard-page #admin-main { 
  grid-area: main; 
  overflow-y: auto; /* Restricts scrolling to the active content pane only */
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  padding-right: 4px; 
}

#admin-dashboard-page .table { width: 100%; border-collapse: collapse; }
#admin-dashboard-page .table th, #admin-dashboard-page .table td { padding: 0.65rem 0.5rem; border-bottom: 1px dashed var(--border); text-align: left; color: var(--text); }
#admin-dashboard-page .table th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
#admin-dashboard-page .table .actions-cell { display: flex; gap: 0.4rem; }
#admin-dashboard-page .form-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 800px) { #admin-dashboard-page .form-grid { grid-template-columns: repeat(2, 1fr); } }
#admin-dashboard-page .form-grid label, #admin-dashboard-page .modal-content label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--text); }
#admin-dashboard-page .form-grid input, #admin-dashboard-page .form-grid select, #admin-dashboard-page .form-grid textarea, .modal.glass-modal .modal-content input, .modal.glass-modal .modal-content select, .modal.glass-modal .modal-content textarea { width: 100%; padding: 0.7rem 0.8rem; border-radius: 12px; border: 1px solid var(--border); background: hsla(0 0% 100% / 0.1); outline: none; color: var(--text); font-size: inherit; font-family: inherit; }
#admin-dashboard-page .form-grid input:focus, .modal.glass-modal .modal-content input:focus { box-shadow: none; border-color: var(--accent); }
.input-error { border-color: #e74c3c !important; box-shadow: 0 0 0 3px rgba(231,76,60,0.12); }
.validation-error { color: #e74c3c; margin-top: 0.5rem; font-weight: 600; }
.feature-tag-actions button { background: transparent; border: none; color: white; cursor: pointer; }
.feature-tag-edit-input { min-width: 100px; max-width: 180px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.85); background: rgba(255,255,255,0.15); color: white; }
.modal.glass-modal .modal-content .title { color: white; }
#system-management-panel #add-system-form { gap: 1rem; }
#system-management-panel #add-system-form input { flex-grow: 1; }
#system-management-panel #add-system-form button { flex-shrink: 0; }

#system-management-panel #add-system-form #new-system-name {
  color: white;
  border: 2px solid #8707ff;
  border-radius: 10px;
  padding: 10px 25px;
  background: transparent;
  max-width: 190px;
  width: 100%; 
  flex-grow: 0; 
}

#system-management-panel #add-system-form #new-system-name:active,
#system-management-panel #add-system-form #new-system-name:focus {
  box-shadow: 2px 2px 15px #8707ff inset;
  outline: none;
}

.modal.glass-modal .modal-content { background: var(--card); -webkit-backdrop-filter: blur(var(--blur)) saturate(1.2); backdrop-filter: blur(var(--blur)) saturate(1.2); border: 1px solid var(--border); box-shadow: 12px 12px var(--shadow-lg) var(--shadow-a), -8px -8px 20px var(--shadow-b); color: var(--text); }
.tech-media-preview { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.tech-media-preview img { width: 80px; height: 80px; border-radius: 15px; object-fit: cover; box-shadow: 0 12px 25px rgba(0,0,0,0.18); border: 2px solid rgba(255,255,255,0.25); }
.btn.tiny { padding: 0.15rem 0.6rem; font-size: 0.75rem; border-radius: 999px; }
.tech-gallery-preview { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.tech-gallery-preview .gallery-chip { width: 70px; height: 70px; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.2); }
.tech-gallery-preview .gallery-chip img { width: 100%; height: 100%; object-fit: cover; }
.tech-gallery-preview .gallery-chip button { position: absolute; top: 4px; right: 4px; border: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.75rem; cursor: pointer; line-height: 1; }
.tech-gallery-preview .gallery-chip button:hover { background: var(--accent); }
.modal.glass-modal .close-btn { color: var(--text); }
.actions-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

/* ADMIN STATUS BADGES */
.status-badge { padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.status-badge.active { background-color: hsla(145, 63%, 42%, 0.2); color: #57d182; }
.status-badge.pending { background-color: hsla(45, 100%, 60%, 0.2); color: #f0c420; }

/* RESPONSIVE LAYOUTS */
@media (min-width: 1200px) {
  #products-page .product-grid { grid-template-columns: repeat(5, 1fr); }
  .related-products .product-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 991px) {
  .grid-container { grid-template-columns: repeat(2, 1fr); }
  .profile-layout-grid, .cart-page-layout, .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh; 
    min-height: 380px;
  }
  .hero-slider .carousel-cell .inner .title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .hero-slider .carousel-cell .inner .btn {
    padding: 10px 16px;
    font-size: 0.7rem;
  }
  .hero-slider .flickity-prev-next-button {
    transform: scale(0.8);
  }
  .service-grid { grid-template-columns: 1fr; }
  #admin-dashboard-page .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; grid-template-areas: "sidebar" "main"; }
  #admin-dashboard-page #admin-sidebar .brand, #admin-dashboard-page #admin-sidebar div[style*="margin-top:auto"] { display: none; }
  #admin-dashboard-page #admin-sidebar .nav-group { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  #login-btn .login-btn-text { display: none; }
}

@media (max-width: 768px) {
  .grid-container { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.8rem, 10vw, 2.2rem); }
  h2 { font-size: clamp(1.5rem, 8vw, 1.8rem); }
  .product-modal-layout { grid-template-columns: 1fr; }
  #admin-dashboard-page .table:not(.unresponsive) thead { display: none; }
  #admin-dashboard-page .table, 
  #admin-dashboard-page .table tbody, 
  #admin-dashboard-page .table tr, 
  #admin-dashboard-page .table td { display: block; width: 100%; }
  #admin-dashboard-page .table tr { margin-bottom: 1rem; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
  #admin-dashboard-page .table td { display: flex; justify-content: space-between; align-items: center; border: none; padding: 0.75rem 0; border-bottom: 1px dashed var(--border); text-align: right; font-size: 0.9rem; }
  #admin-dashboard-page .table td:last-child { border-bottom: none; }
  #admin-dashboard-page .table td::before { content: attr(data-label); font-weight: 600; color: var(--accent); margin-right: 1rem; text-align: left; flex-grow: 1; }
}

/* MOBILE CART POPUPS */
@media (max-width: 768px) {
  .cart-popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
  }
  .cart-popup.visible { transform: translateX(0); display: flex; }
  .cart-popup-header { flex-shrink: 0; }
  .cart-close-btn { display: block; }
  #cart-items-list { flex-grow: 1; max-height: none; }
  .cart-popup-footer { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .header .container { flex-direction: column; gap: 10px; justify-content: center; }
  .dtc-btn { padding: 10px 20px; font-size: 0.9rem; }
  .profile-sidebar, .profile-main-content, .modal-content, #contact-section .form-container, .cart-page-items, .checkout-form-container { padding: 1.5rem; }
  .combined-search-filters { flex-direction: column; align-items: stretch; }
  #admin-dashboard-page .app { padding: 8px; gap: 8px; }
  #admin-dashboard-page .actions-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  #system-management-panel #add-system-form { flex-direction: column; align-items: stretch; width: 100%; gap: 0.5rem; }
  .modal.glass-modal .modal-content { padding: 1.5rem; }
}

@media (max-width: 320px) {
  .nav ul { flex-direction: column; align-items: center; }
  .nav ul li { width: 100%; text-align: center; }
  .nav ul li a { padding: 10px 15px; }
  .grid-container, .product-grid, .testimonial-grid, .feature-grid, .service-grid, .products-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 1rem; max-height: 95vh; width: 95vw; }
  .footer-nav { flex-direction: column; gap: 0.5rem; }
  .header-actions { justify-content: center; width: 100%; }
  #admin-dashboard-page .table td { font-size: 0.8rem; }
  #admin-dashboard-page .table td::before { font-size: 0.75rem; }
}

/* HERO SLIDER BREAKPOINTS */
@media (max-width: 575px) {
  .hero-slider {
    min-height: 400px;
  }
  .hero-slider .carousel-cell {
    min-height: 400px;
  }
  .hero-slider .carousel-cell .inner .title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  .hero-slider .carousel-cell .inner .subtitle {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }
}

@media (max-width: 420px) {
  .hero-slider { height: auto; min-height: 300px; overflow: visible; }
  .hero-slider .carousel-cell { height: auto; min-height: 300px; }
  .hero-slider .carousel-cell .inner { position: relative; top: auto; transform: none; padding: 28px 16px; max-width: 92%; margin: 0 auto; text-align: center; z-index: 5; }
  .hero-slider .carousel-cell .inner .subtitle { font-size: 1rem; margin-bottom: 12px; }
  .hero-slider .carousel-cell .inner .title { font-size: clamp(1.4rem, 6.5vw, 1.9rem); margin-bottom: 14px; line-height: 1.1; }
  .hero-slider .carousel-cell .inner .btn { padding: 8px 12px; font-size: 0.72rem; letter-spacing: 1px; border-width: 1px; }
  .hero-slider .flickity-prev-next-button { display: none; }
  .hero-slider .flickity-page-dots { bottom: 18px; }
  .hero-slider .flickity-page-dots .dot { width: 18px; height: 3px; }
}

@media (max-width: 390px) {
  .hero-slider { min-height: 260px; }
  .hero-slider .carousel-cell .inner { padding: 20px 12px; z-index: 5; }
  .hero-slider .carousel-cell .inner .title { font-size: clamp(1.2rem, 7vw, 1.6rem); }
  .hero-slider .carousel-cell .inner .subtitle { font-size: 0.95rem; }
  .hero-slider .carousel-cell .inner .btn { padding: 7px 10px; font-size: 0.65rem; letter-spacing: 1px; }
  .hero .overlay { z-index: 1; background: linear-gradient( to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.08) ); }
}

/* TESTIMONIAL CAROUSEL */
.testimonial-carousel { margin-top: 35px; }
.testimonial-item { position: relative; border: 1px solid var(--dtc-border-color); border-radius: 10px; margin: 0 10px; }
.testimonial-item .testimonial-quote { position: absolute; width: 70px; height: 70px; top: 0; right: 25px; transform: translateY(-50%); border-radius: 70px; color: var(--dtc-text-light); background: var(--dtc-secondary); display: flex; align-items: center; justify-content: center; }
.testimonial-item .testimonial-quote .icon { width: 32px; height: 32px; color: var(--dtc-text-light); }
.testimonial-item .testimonial-inner { display: flex; align-items: center; background: var(--dtc-bg-card); padding: 1.5rem; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.testimonial-item .testimonial-inner img { width: 80px; height: 80px; border-radius: 80px; border: 4px solid var(--dtc-bg); object-fit: cover; }
.testimonial-item .border-top { padding: 1.5rem; border-top: 1px solid var(--dtc-border-color) !important; }
.testimonial-carousel .owl-dots { display: flex; justify-content: center; margin-top: 20px; }
.testimonial-carousel .owl-dots .owl-dot { width: 20px; height: 20px; border-radius: 20px; margin: 0 5px; background: var(--dtc-primary); opacity: 0.5; transition: 0.5s; }
.testimonial-carousel .owl-dots .owl-dot.active { background: var(--dtc-secondary); opacity: 1; }

/* SERVICES SECTION */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; margin-bottom: 10%; }
.service-card { background: var(--dtc-bg-card); border-radius: 15px; padding: 2rem; text-align: center; box-shadow: var(--dtc-shadow); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.service-card .service-icon { font-size: 2.5rem; color: var(--dtc-primary); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; line-height: 80px; border-radius: 50%; background: rgba(240, 165, 0, 0.1); }
.service-card .service-icon .icon { width: 2.4rem; height: 2.4rem; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--dtc-text-muted); }

/* Quick View Modal Product Layout */
#product-view-modal .modal-content { max-width: 620px; }
.product-modal-layout { display: grid; grid-template-columns: minmax(220px, 260px) minmax(320px, 1fr); gap: 1.5rem; align-items: start; }
.product-modal-details { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.product-modal-details h2 { margin-top: 0; font-size: 1.8rem; }
.product-modal-details .price { font-size: 1.8rem; font-weight: 800; color: var(--dtc-primary); margin: 0.5rem 0; }
.product-modal-carousel { width: 100%; max-width: 260px; }
.product-modal-carousel .gallery-top { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: #f9f9f9; }
.product-modal-carousel .gallery-thumbs { margin-top: 1rem; }
.product-modal-carousel .gallery-thumbs .swiper-slide { width: auto; height: 60px; padding: 0.25rem; box-sizing: border-box; }
.product-modal-carousel .gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.product-modal-carousel .swiper-slide { display: flex; justify-content: center; align-items: center; background-size: contain; background-position: center; background-repeat: no-repeat; }
.product-modal-carousel .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
#product-view-modal .modal-content .dtc-btn { min-width: 180px; }

@media (max-width: 900px) {
  .product-modal-layout { grid-template-columns: 1fr; }
  #product-view-modal .modal-content { max-width: 100%; padding: 1.5rem; }
  .product-modal-carousel .gallery-top { aspect-ratio: 1 / 1; }
}

.related-products { margin-top: 10%; text-align: center; }
.related-products .product-grid { margin-top: 2rem; text-align: left; }

/* INFINITE PRODUCT CAROUSEL */
#featured-products-section.loop-images { display: flex; align-items: center; justify-content: center; flex-direction: column; background: var(--dtc-bg); position: relative; min-height: 500px; overflow-x: hidden; }
#featured-products-carousel-container { width: 100%; height: 34rem; position: relative; perspective: 1000px; transform-style: preserve-3d; }
#featured-products-section .carousel-track { --item-width: 20vw; --left-offset: calc(var(--item-width) * -1 * var(--total)); min-width: calc(var(--item-width) * var(--total)); height: 100%; position: absolute; top: 0; left: 0; display: flex; align-items: center; transform-style: preserve-3d; }
#featured-products-section .carousel-item { position: absolute; width: var(--item-width); height: calc(var(--item-width) * 1.35); left: 100%; display: flex; justify-content: center; align-items: center; animation: scroll-left var(--time) linear infinite; animation-delay: calc(var(--time) / var(--total) * (var(--i) - 1) - var(--time)); will-change: left; padding: 1rem; margin: 0 5px; }
#featured-products-section .carousel-item .product-card { width: 100%; height: 100%; min-height: calc(var(--item-width) * 1.35); justify-content: flex-start; transform: none; transition: box-shadow 0.3s; -webkit-mask-image: none; mask-image: none; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
#featured-products-section .product-image-container { min-height: 55%; display: flex; align-items: center; justify-content: center; padding: 1rem; }
#featured-products-section .product-image-container img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
#featured-products-section .product-card { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
#featured-products-section .product-card img { transform: scale(1.05); }
#featured-products-section .product-card .quick-view-btn, #featured-products-section .product-card .brand-view-btn { opacity: 0; transform: translateY(100%); }
#featured-products-section .product-card:hover .quick-view-btn, #featured-products-section .product-card:hover .brand-view-btn { opacity: 1; transform: translateY(0); }
#featured-products-section .carousel-track:hover .carousel-item { animation-play-state: paused; }
#featured-products-section .carousel-item:hover .product-card { transform: none; z-index: 2; -webkit-mask-image: none; mask-image: none; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }

@keyframes scroll-left { to { left: var(--left-offset); } }

@media (min-width: 1024px) { #featured-products-section .carousel-track { --item-width: 20vw; } }
@media (max-width: 1200px) { #featured-products-section .carousel-track { --item-width: 280px; } }
@media (max-width: 768px) {
  #featured-products-carousel-container, #featured-products-section .carousel-track { height: 25rem; }
  #featured-products-section .carousel-track { --item-width: 240px; }
  #featured-technicians-section .slide .item:nth-child(1) { display: flex; justify-content: center; align-items: center; flex-direction: column-reverse; }
  .service-grid { display: flex; justify-content: center; align-items: center; flex-direction: column; }
  #featured-technicians-section .item .content { top: 0; text-align: center; left: 10%; }
  #featured-technicians-section .content .name { font-size: 1.2rem; }
  #featured-technicians-section .featured-tech-card .item-image-container { height: 150px; width: 150px; }
  .hero-slider .carousel-cell .inner .subtitle { font-size: 1rem; }
  .hero-slider .carousel-cell .inner .title { font-size: 1.6rem; }
  .hero-slider .flickity-prev-next-button { scale: 0.6; }
}
@media (max-width: 480px) {
  #featured-products-carousel-container, #featured-products-section .carousel-track { height: 20rem; }
  #featured-products-section .carousel-track { --item-width: 200px; }
}

/* PRODUCT DETAIL PAGE STYLES */
#product-detail-page-container { font-family: "Raleway", sans-serif; background-color: #eee; padding: 2rem 1rem; }
#product-detail-page-container h3 { font-size: 0.7em; letter-spacing: 1.2px; color: var(--product-color-secondary); }
#product-detail-page-container .product img { filter: drop-shadow(1px 1px 3px var(--product-color-secondary)); }
#product-detail-page-container .product { display: grid; grid-template-columns: 0.9fr 1fr; margin: auto; padding: 2.5em 0; max-width: 800px; min-width: 600px; background-color: white; border-radius: 5px; }
#product-detail-page-container .product__photo { position: relative; }
#product-detail-page-container .photo-container { position: absolute; left: -2.5em; display: grid; grid-template-rows: 1fr; width: 100%; height: 100%; border-radius: 6px; box-shadow: 4px 4px 25px -2px rgba(0, 0, 0, 0.3); }
#product-detail-page-container .photo-main { border-radius: 6px; background-color: #f0f0f0; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
#product-detail-page-container .photo-main img { position: relative; max-width: 90%; max-height: calc(100% - 90px); object-fit: contain; filter: saturate(110%) contrast(110%) drop-shadow(1px 10px 10px rgba(0, 0, 0, 0.2)); }
#product-detail-page-container .photo-album { width: 100%; padding: 0.7em 1em; background-color: #fff; }
#product-detail-page-container .photo-album ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-around; gap: 5px; }
#product-detail-page-container .photo-album li { width: 55px; height: 55px; padding: 7px; border: 1px solid var(--product-color-secondary); border-radius: 3px; display: flex; align-items: center; justify-content: center; }
#product-detail-page-container .photo-album li img { object-fit: contain; max-height: 100%; filter: none; }
#product-detail-page-container .product__info { padding: 0.8em 2em; }
#product-detail-page-container .product__info .title h1 { margin-bottom: 0.1em; color: var(--product-color-primary); font-size: 1.5em; font-weight: 900; }
#product-detail-page-container .product__info .title span { font-size: 0.7em; color: var(--product-color-secondary); }
#product-detail-page-container .product__info .price { margin: 1.5em 0; color: var(--product-color-highlight); font-size: 1.2em; }
#product-detail-page-container .product__info .price span { padding-left: 0.15em; font-size: 2.9em; }
#product-detail-page-container .product__info .variant { overflow: auto; }
#product-detail-page-container .product__info .variant h3 { margin-bottom: 1.1em; }
#product-detail-page-container .product__info .variant ul { list-style: none; padding: 0; margin: 0; }
#product-detail-page-container .product__info .variant li { float: left; width: 35px; height: 35px; padding: 3px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; }
#product-detail-page-container .product__info .variant li:first-child, #product-detail-page-container .product__info .variant li:hover { border: 1px solid var(--product-color-secondary); }
#product-detail-page-container .product__info .variant li:not(:first-child) { margin-left: 0.1em; }
#product-detail-page-container .product__info .description { clear: left; margin: 2em 0; }
#product-detail-page-container .product__info .description h3 { margin-bottom: 1em; }
#product-detail-page-container .product__info .description ul { font-size: 0.8em; list-style: disc; margin-left: 1em; }
#product-detail-page-container .product__info .description li { text-indent: -0.6em; margin-bottom: 0.5em; }
#product-detail-page-container .buy--btn { padding: 1.5em 3.1em; border: none; border-radius: 7px; font-size: 0.8em; font-weight: 700; letter-spacing: 1.3px; color: #fff; background: linear-gradient(135deg, #ff3f40 0%, #ff6b6b 100%); box-shadow: 0 4px 15px rgba(255, 63, 64, 0.3); cursor: pointer; transition: transform 0.2s ease; }
#product-detail-page-container .buy--btn:active { transform: scale(0.97); }

@media (max-width: 768px) {
  #product-detail-page-container .product { grid-template-columns: 1fr; min-width: 100%; width: 100%; padding: 1em; }
  #product-detail-page-container .photo-container { position: static; box-shadow: none; left: 0; }
  #product-detail-page-container .photo-main img { left: 0; top: 0; max-width: 100%; }
}

/* CHATBOT */
.chatbot-bubble { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: var(--dtc-gradient-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1010; transition: transform 0.3s ease; }
.chatbot-bubble:hover { transform: scale(1.1); }
.chatbot-window { position: fixed; bottom: 90px; right: 20px; width: 350px; height: 500px; background-color: white; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.2); display: flex; flex-direction: column; overflow: hidden; z-index: 1011; transform: scale(0); transform-origin: bottom right; transition: transform 0.3s ease; }
.chatbot-window.open { transform: scale(1); }
.chatbot-header { background: var(--dtc-gradient-dark); color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
.chatbot-header h3 { margin: 0; color: white; }
.chatbot-close-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.chatbot-messages { flex-grow: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.message { padding: 0.75rem; border-radius: 10px; max-width: 80%; line-height: 1.4; }
.message.bot { background-color: #f1f1f1; align-self: flex-start; }
.message.user { background: var(--dtc-gradient-primary); color: white; align-self: flex-end; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.chatbot-input-area { display: flex; border-top: 1px solid var(--dtc-border-color); padding: 0.5rem; }
#chatbot-input { flex-grow: 1; border: none; padding: 0.75rem; outline: none; }
#chatbot-send { background: var(--dtc-gradient-primary); color: white; border: none; padding: 0 1rem; border-radius: 5px; cursor: pointer; }

@media (max-width: 640px) {
  .chatbot-bubble { bottom: 14px; right: 14px; width: 52px; height: 52px; }
  .chatbot-window { bottom: 78px; right: 14px; left: 14px; width: auto; max-width: calc(100% - 28px); height: 62vh; min-height: 360px; border-radius: 18px; }
  .chatbot-header { padding: 0.85rem 1rem; }
  .chatbot-header h3 { font-size: 1rem; }
  .chatbot-messages { padding: 0.85rem; }
  .chatbot-input-area { flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
  #chatbot-input { width: 100%; min-height: 44px; }
  #chatbot-send { width: 100%; padding: 0.85rem 1rem; }
}

.shiny-text {
  color: rgba(45, 45, 45, 0.8);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 5s linear infinite;
}
@keyframes shine { 0% { background-position: 100%; } 100% { background-position: -100%; } }

/* HIGHLIGHTING AND TOGGLES */
.post-highlight { background-color: rgba(255, 255, 0, 0.5); padding: 2px 4px; border-radius: 3px; font-weight: bold; }
.ai-summary-list { list-style: disc; margin-left: 20px; padding-left: 0; margin-top: 10px; }
.ai-summary-list li { margin-bottom: 5px; }
.last-number-price-highlight { background-color: var(--dtc-danger); color: var(--dtc-text-light); padding: 2px 4px; border-radius: 3px; font-weight: bold; }

.toggle-switch { position: relative; display: inline-block; width: 56px; height: 30px; vertical-align: middle; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 999px; }
.toggle-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background-color: #fff; transition: .4s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background-color: var(--dtc-primary); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(26px); }
.toggle-switch input:focus + .toggle-slider { box-shadow: 0 0 1px var(--dtc-primary); }

/* FACEBOOK FEED */
.facebook-posts-section { background-color: var(--dtc-bg-card); }
.facebook-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.facebook-post-card {
  --fb-image-height: 180px;
  display: flex;
  flex-direction: column;
  background-color: var(--dtc-bg-card);
  border: 1px solid var(--dtc-border-color);
  border-radius: 15px;
  box-shadow: var(--dtc-shadow);
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  color: var(--dtc-text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 15px;
  z-index: 1;
  min-height: calc(var(--fb-image-height) * 1.8);
}
.facebook-post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.fb-card-image-container { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 100%; padding: 15px; transition: all 0.2s ease-in-out; z-index: 999; height: var(--fb-image-height); display: flex; align-items: center; justify-content: center; }
.fb-card-image-container img { margin-top: 40%; width: 100%; transition: all 0.2s ease-in-out; border-radius: 6px; }
.facebook-post-card:hover .fb-card-image-container { top: 40px; }
.facebook-post-card:hover .fb-card-image-container img { box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); }
.fb-card-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 1.25rem; padding-top: calc(150% + 0.25rem); background: #ffffff; border-radius: 12px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.04); }
.fb-card-content p { flex-grow: 1; margin-bottom: 1rem; color: var(--dtc-text-dark); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.fb-card-content .dtc-btn { margin-top: 1rem; }
.fb-card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; width: 100%; }
.fb-view-facebook-btn { background-color: transparent; color: var(--dtc-primary); border: 1px solid rgba(214, 146, 0, 0.4); transform: scale(0.8); transform-origin: center; }
.fb-view-facebook-btn:hover { background: var(--dtc-gradient-primary); color: #ffffff; border-color: transparent; }
.fb-card-date { font-size: 0.85rem; color: var(--dtc-text-muted); margin-top: auto; }

@media screen and (max-width: 991px) {
  .facebook-post-card { margin: 40px auto; --fb-image-height: 140px; }
  .facebook-post-card .fb-card-image-container { top: 40px; }
  .facebook-post-card .fb-card-image-container img { box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); }
}

@media (min-width: 1200px) {
  .facebook-posts-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; }
  .facebook-posts-grid .facebook-post-card { flex: 0 0 20vw; width: 20vw; max-width: 20vw; box-sizing: border-box; }
}

.facebook-feed-section { background-color: var(--dtc-bg-card); }
.facebook-feed-container { display: flex; flex-direction: column; gap: 2.5rem; max-width: 800px; margin: 0 auto; }
.facebook-post-card-full { background-color: #ffffff; border-radius: 15px; box-shadow: var(--dtc-shadow); overflow: hidden; display: flex; flex-direction: column; }
.fb-card-full-image-container { width: 100%; max-height: 500px; overflow: hidden; }
.fb-card-full-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.facebook-post-card-full:hover .fb-card-full-image-container img { transform: scale(1.05); }
.fb-card-full-content { padding: 1.5rem 2rem; }
.fb-card-full-message { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; white-space: pre-wrap; }
.fb-card-full-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--dtc-border-color); padding-top: 1rem; margin-top: 1rem; }
.fb-card-full-date { font-size: 0.9rem; color: var(--dtc-text-muted); font-weight: 500; }

/* HAMBURGER MENU */
.hamburger-btn { display: none; background: none; border: none; cursor: pointer; padding: 10px; margin-left: 10px; z-index: 1051; }
.hamburger-btn span { display: block; width: 25px; height: 3px; background-color: var(--dtc-dark); margin: 5px 0; transition: all 0.3s ease-in-out; }
.mobile-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--dtc-dark); z-index: 1050; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; padding-top: 60px; opacity: 0; pointer-events: none; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.mobile-nav .close-btn { position: absolute; top: 20px; right: 20px; font-size: 2.5rem; color: white; background: none; border: none; cursor: pointer; }
.mobile-nav ul { list-style: none; padding: 0; margin-left: 10%; text-align: center; }
.mobile-nav ul li a { color: white; text-decoration: none; font-size: 1.5rem; padding: 1rem; display: block; font-weight: 600; transition: color 0.3s; }
.mobile-nav ul li a:hover { color: var(--dtc-primary); }
.mobile-nav ul li.active a { color: var(--dtc-secondary); }
.mobile-submenu-toggle {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  color: #222222;
  font-size: 1.3rem;
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 18px;
  margin: 0.75rem auto 0 auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.mobile-submenu-toggle:hover {
  background: #f8f8f8;
}
.mobile-submenu-toggle .submenu-arrow {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease;
  color: #d69200;
  font-weight: 700;
}
.mobile-nav-products.open .submenu-arrow {
  transform: rotate(45deg);
}
.mobile-products-submenu {
  list-style: none;
  margin: 0 auto 1rem auto;
  padding: 0.5rem 0;
  background: #ffffff;
  border-radius: 18px;
  width: 70%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}
.mobile-products-submenu li a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: #000000 !important;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(34,34,34,0.08);
}
.mobile-products-submenu li:last-child a {
  border-bottom: none;
}
.mobile-products-submenu li a:hover,
.mobile-products-submenu li a:focus,
.mobile-products-submenu li a:active {
  background: #f5f5f5;
  color: #d69200 !important;
}
.mobile-products-submenu::-webkit-scrollbar {
  width: 8px;
}
.mobile-products-submenu::-webkit-scrollbar-track {
  background: #ffffff;
}
.mobile-products-submenu::-webkit-scrollbar-thumb {
  background: rgba(214,146,0,0.85);
  border-radius: 999px;
}
body.mobile-nav-open { overflow: hidden; }

/* Products dropdown styles */
.nav-with-dropdown { position: relative; }
.nav-with-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.products-dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 8px 0;
  z-index: 1060;
}
.products-dropdown li { list-style: none; }
.products-dropdown a { display: block; padding: 8px 16px; color: #d69200 !important; text-decoration: none; font-weight: 500; }
.products-dropdown a:hover { background: rgba(0,0,0,0.04); color: #ffffff !important; }
.products-dropdown::-webkit-scrollbar {
  width: 8px;
}
.products-dropdown::-webkit-scrollbar-track {
  background: #ffffff;
}
.products-dropdown::-webkit-scrollbar-thumb {
  background: rgba(202, 202, 200, 0.85);
  border-radius: 999px;
}
.nav-with-dropdown:hover > .products-dropdown { display: block !important; }
.nav-with-dropdown:focus-within > .products-dropdown { display: block !important; }

/* On small screens, disable the hover-to-open behavior and rely on the
   `dropdown-open` class (toggled by JS) so the menu only appears when
   explicitly opened. */
@media (max-width: 768px) {
  .nav-with-dropdown:hover > .products-dropdown { display: none; }
  .nav-with-dropdown:focus-within > .products-dropdown { display: block; }
  .products-dropdown { position: static; box-shadow: none; background: transparent; padding: 0; }
  .products-dropdown a { padding: 10px 16px; color: #fff; }
}

@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: block; }
}

/* ========================================================= */
/* ============ ARCHITECTURAL THEMING (ABOUT US) =========== */
/* ========================================================= */

.about-architectural-theme {
  background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 100%) !important;
  padding: 80px 0 !important;
  color: var(--dtc-text-dark) !important;
  min-height: auto !important;
}

.about-architectural-theme h1,
.about-architectural-theme h2,
.about-architectural-theme h3,
.about-architectural-theme h4 {
  color: var(--dtc-dark) !important;
}

.about-architectural-theme h2::after {
  display: none !important;
}

.architectural-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
  grid-auto-flow: row;
}

.arch-panel {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid var(--dtc-border-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: var(--dtc-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left !important;
}

.panel-left .arch-desc {
  color: var(--dtc-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.panel-left .arch-desc p {
  margin: 0 !important; /* Reset paragraph margins inside about container */
}

.panel-left .panel-image-container {
  margin-top: auto;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -40px;
  height: 220px;
  overflow: hidden;
}

.panel-left .panel-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--dtc-border-color);
}

.project-img-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-label {
  background-color: rgba(248, 249, 250, 0.95);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dtc-dark);
  text-align: left;
}

@media (min-width: 768px) {
  .about-architectural-theme .architectural-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: stretch;
    align-items: start;
    grid-auto-flow: row;
  }

  .about-architectural-theme .arch-panel {
    padding: 40px;
  }

  .about-architectural-theme .arch-panel.panel-left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
    background: linear-gradient(180deg, #eef2f6 0%, #ffffff 100%);
    border-color: rgba(214, 146, 0, 0.15);
    box-shadow: var(--dtc-shadow);
    border: 1px solid rgba(214, 146, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  /* Force explicit columns so About (left) shows first, Expertise (right) second */
  .about-architectural-theme .architectural-grid .arch-panel.panel-left {
    grid-column: 1;
    order: 1;
  }

  .about-architectural-theme .architectural-grid .arch-panel.panel-middle {
    grid-column: 2;
    order: 2;
  }

  .about-architectural-theme .arch-panel.panel-left:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(214, 146, 0, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  }

  .about-architectural-theme .arch-panel.panel-left .arch-title {
    margin-bottom: 1rem;
  }

  .about-architectural-theme .arch-panel.panel-left .arch-desc {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    grid-column: 1;
    grid-row: auto;
  }

  .about-architectural-theme .panel-left .panel-image-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 100%;
    padding-top: 10%;
    margin: -40px 0 -40px -40px;
    grid-column: 2;
    grid-row: 1 / 3;
    background: transparent;
    box-sizing: border-box;
  }

  .about-architectural-theme .panel-left .panel-image-container img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    border-radius: 0;
    padding: 0;
  }

  .about-architectural-theme .arch-panel.panel-middle {
    background: linear-gradient(180deg, #eef2f6 0%, #ffffff 100%);
    transform: none;
    z-index: auto;
    box-shadow: var(--dtc-shadow);
    border-color: rgba(214, 146, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .about-architectural-theme .arch-panel.panel-middle:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  .about-architectural-theme .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .panel-left .panel-image-container {
    height: 250px;
  }
}

/* ========================================================= */
/* === MOBILE TOUCH SCROLL FOR FEATURED PRODUCTS & BRANDS === */
/* ========================================================= */

@media (max-width: 768px) {
  /* Enable horizontal scrolling on mobile for brand section */
  #featured-brands-section .featured-products-marquee,
  #featured-products-section .featured-products-marquee,
  #trusted-by-section .featured-products-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #featured-brands-section .featured-products-marquee:not(.show-scrollbar)::-webkit-scrollbar,
  #featured-products-section .featured-products-marquee:not(.show-scrollbar)::-webkit-scrollbar,
  #trusted-by-section .featured-products-marquee:not(.show-scrollbar)::-webkit-scrollbar {
    display: none;
  }

  #featured-brands-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar,
  #featured-products-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar,
  #trusted-by-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  #featured-brands-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-track,
  #featured-products-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-track,
  #trusted-by-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
  }

  #featured-brands-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-thumb,
  #featured-products-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-thumb,
  #trusted-by-section .featured-products-marquee.show-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(45,45,45,0.35);
    border-radius: 999px;
  }

  /* Pause animation when user is scrolling */
  #featured-brands-section .featured-products-track.scrolling,
  #featured-products-section .featured-products-track.scrolling,
  #trusted-by-section .featured-products-track.scrolling {
    animation-play-state: paused !important;
  }
}