/* ========================================================= */
/* ==================== 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;
}
#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;
}

/* 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%);
}

* { margin: 0; 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; }
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: -2.5rem auto 3rem;
  font-size: 1.1rem;
  color: var(--dtc-text-muted);
}

/* Global Image Responsiveness */
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;
}

/* --- UPDATED LOGO STYLES (BRUTALIST HOVER EFFECT) --- */
.logo a {
  /* Layout & Sizing */
  display: flex;
  align-items: center;
  gap: 15px;
  height: 60px; /* Fixed height for the button look */
  padding: 0 15px;
  box-sizing: border-box;
  margin: 5px; /* Spacing for outline */
  position: relative;
  overflow: hidden;

  /* Typography */
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: #fff; /* White Text */
  font-family: inherit;

  /* Brutalist Base Styles */
  background-color: var(--dtc-dark); /* Dark Background */
  border: 3px solid var(--dtc-secondary); /* Bold Border */

  
}

/* Shine Effect Pseudo-element */
.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;
}

/* Hover State */
.logo a:hover {
  background-color: #000;
  color: #fff;
}

.logo a:hover::before {
  opacity: 1;
  animation: logo-slide 2s infinite;
}

/* Active State */
.logo a:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 var(--dtc-primary);
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* Ensure content is above shine layer */
.logo a > * {
  position: relative;
  z-index: 2;
}

/* Logo Image Animation */
.header-logo-img {
  height: 40px; /* Adjusted to fit the 60px container */
  width: auto;
}



/* Logo Text Container Animation */
.logo a div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  
}


/* Subtext Styling within button */
.logo .sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #ccc; /* Light grey on dark bg */
}

.logo a:active .sub {
  color: var(--dtc-text-muted); /* Darker on white bg */
}

@keyframes logo-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}
/* --- END UPDATED LOGO STYLES --- */

.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-marquee {
  overflow: hidden;
  position: relative;
}

.featured-products-track {
  display: flex;
  gap: 10px;
  animation: featuredProductsScroll 40s linear infinite;
}

.featured-products-track:hover {
  animation-play-state: paused;
}

.featured-products-track .product-card {
  flex: 0 0 260px;
}

@keyframes featuredProductsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* --- HERO SLIDER STYLES --- */
.hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient( to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1) );
}

.hero-slider {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-slider .carousel-cell {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slider .carousel-cell .inner {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  text-align: center;
  z-index: 2;
  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.9);
  margin-bottom: 25px;
}

.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;
}

.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;
}

.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-card {
  flex: 0 0 20vw;
  max-width: 20vw;
}

@media (max-width: 991px) {
  #home-page .as-seen-on-tv .product-card {
    flex: 0 0 45vw;
    max-width: 45vw;
  }
}

@media (max-width: 600px) {
  #home-page .as-seen-on-tv .product-card {
    flex: 0 0 90vw;
    max-width: 90vw;
  }
}

/* === 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;
  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 .slide {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
}
#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; }

@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;
}
#featured-technicians-section .button button:hover { 
  color: #fff; 
  background: var(--dtc-gradient-primary); 
  transform: scale(1.1); 
}
/* === END: FEATURED TECHNICIANS SLIDER STYLES === */

/* === START: MODIFIED FEATURED TECHNICIANS SLIDER STYLES (Text Left, Image Right) === */
#featured-technicians-section .slide .item {
    overflow: hidden;
}

/* Style for the main, active slide */
#featured-technicians-section .slide .item:nth-child(1),
#featured-technicians-section .slide .item:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

/* Override original content styles */
#featured-technicians-section .item .content {
    position: static;
    transform: none;
    width: auto;
    flex: 1 1 55%; /* Text takes a bit more space */
    text-shadow: none;
}

/* New container for the image */
#featured-technicians-section .item .item-image-container {
    display: none; /* Hidden by default */
    flex: 1 1 45%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

#featured-technicians-section .item .item-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Only show image container on the main slide */
#featured-technicians-section .slide .item:nth-child(2) .item-image-container {
    display: block;
    animation: animate 1s ease-in-out 0.8s 1 forwards;
    opacity: 0;
}

/* Keep original animations for text content on main slide */
#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; }


/* Styles for the thumbnail slides on the right */
#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; /* Hide text on thumbnails */
}

#featured-technicians-section .slide .item:nth-child(n+3) .item-image-container {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px; /* Match original item border-radius */
}
/* === END: MODIFIED FEATURED TECHNICIANS SLIDER STYLES === */

#featured-technicians-section .featured-tech-card {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 1.5rem;
  column-gap: 2rem;
  align-items: center;
  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;
}
#featured-technicians-section .featured-tech-card .content {
  margin-bottom: 50%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  justify-self: flex-start;
  text-align: left;
  max-width: 100%;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

/* 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; }
/* .page-content:not(.active-page) { display: none; } */ /* Not needed for SSR */
#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 {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--dtc-text-muted);
    display: none; /* Hidden on desktop */
}
.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-item-remove:hover { color: var(--dtc-danger); }
.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); }

/* Padding for pages with sticky header */
#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 bar for product pages */
.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; }

/* MODIFIED: Combined search and filter bar for technicians page */
.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; }

/* --- UNIFIED PRODUCT CARD STYLES --- */
.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 { 
  position: absolute; 
  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; 
  border: none; 
  cursor: pointer; 
  opacity: 0; 
  transform: translateY(100%); 
  transition: all 0.3s ease-in-out; 
}
.product-card:hover .quick-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; /* Mobile first */
}
.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, .testimonial-shell a.buy-btn:active, .testimonial-shell a.buy-btn:focus{
  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);
    }
}
/* --- END Testimonial Card Styles --- */

/* Technician 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-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); }

/* Modal Styles */
.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; }

/* --- START: CART & CHECKOUT PAGE STYLES --- */
.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; }
.cart-remove-btn:hover { color: var(--dtc-danger); }
.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); }

/* Padding for pages with sticky header */
#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 bar for product pages */
.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; }

/* MODIFIED: Combined search and filter bar for technicians page */
.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; }

/* --- UNIFIED PRODUCT CARD STYLES --- */
.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 { 
  position: absolute; 
  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; 
  border: none; 
  cursor: pointer; 
  opacity: 0; 
  transform: translateY(100%); 
  transition: all 0.3s ease-in-out; 
}
.product-card:hover .quick-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; /* Mobile first */
}
.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, .testimonial-shell a.buy-btn:active, .testimonial-shell a.buy-btn:focus{
  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);
    }
}
/* --- END Testimonial Card Styles --- */

/* Technician 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-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); }

/* Modal Styles */
.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; }

/* --- START: CART & CHECKOUT PAGE STYLES --- */
.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; }
.cart-remove-btn:hover { color: var(--dtc-danger); }
.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); }

/* Padding for pages with sticky header */
#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 bar for product pages */
.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; }

/* MODIFIED: Combined search and filter bar for technicians page */
.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; }

/* --- UNIFIED PRODUCT CARD STYLES --- */
.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 { 
  position: absolute; 
  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; 
  border: none; 
  cursor: pointer; 
  opacity: 0; 
  transform: translateY(100%); 
  transition: all 0.3s ease-in-out; 
}
.product-card:hover .quick-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; /* Mobile first */
}
.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, .testimonial-shell a.buy-btn:active, .testimonial-shell a.buy-btn:focus{
  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);
    }
}
/* --- END Testimonial Card Styles --- */

/* Technician 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-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); }

/* Modal Styles */
.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; }

/* --- START: CART & CHECKOUT PAGE STYLES --- */
.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; }

/* --- END: CART & CHECKOUT PAGE STYLES --- */


/* --- START: INTEGRATED 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); /* Gradient Button */
  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; }
/* --- END: INTEGRATED TICKETING FORM STYLES --- */

/* --- 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); /* Gradient on Hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ========================================================= */
/* ============ START: 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: 100vh;
    height: 100vh;
}

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;
}

#admin-dashboard-page .app { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: 1fr; grid-template-areas: "sidebar main"; height: 100vh; gap: var(--gap); padding: var(--gap); }
#admin-dashboard-page #admin-sidebar { grid-area: sidebar; padding: var(--gap); display: flex; flex-direction: column; gap: var(--gap); }
#admin-dashboard-page #admin-main { grid-area: main; overflow: auto; padding-right: 4px; }
#admin-dashboard-page .glass { 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); border-radius: var(--radius); box-shadow: 12px 12px var(--shadow-lg) var(--shadow-a), -8px -8px 20px var(--shadow-b); }
#admin-dashboard-page .brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.2px; color: var(--text); }
#admin-dashboard-page .brand .logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(160deg, var(--accent), var(--accent-2)); color: white; box-shadow: 0 6px 18px hsla(0 0% 0% / 0.28); }
#admin-dashboard-page .nav-group { display: flex; flex-direction: column; gap: 0.25rem; }
#admin-dashboard-page .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 (Replaces standard .navlink) --- */
#admin-dashboard-page #admin-sidebar .navlink {
  position: relative;
  isolation: isolate; /* Creates a new stacking context for z-index */
  overflow: hidden;
  background-color: #05071b; /* Deep space blue */
  color: #a9c7ff; /* Star blue text */
  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);
}

/* The Rotating "Cosmic Ring" Border (Hidden by default) */
#admin-dashboard-page #admin-sidebar .navlink::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 250%; /* Large enough to cover the button while rotating */
  height: 250%;
  
  transform: translate(-50%, -50%);
  opacity: 0; /* Hidden until hover */
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* The Inner Background (Masks the center of the gradient) */
#admin-dashboard-page #admin-sidebar .navlink::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px; /* Defines the thickness of the border */
  background: #05071b; /* Matches button bg */
  border-radius: 8px;
}

/* Hover & Active States */
#admin-dashboard-page #admin-sidebar .navlink:hover,
#admin-dashboard-page #admin-sidebar .navlink.active {
  color: #ffffff;
}

/* Trigger the rotation animation on hover/active */
#admin-dashboard-page #admin-sidebar .navlink:hover::before,
#admin-dashboard-page #admin-sidebar .navlink.active::before {
  opacity: 1;
  animation: cosmic-rotate 4s linear infinite;
}

/* Icon Styling to match the theme */
#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);
  }
}

/* --- END COSMIC TABS --- */

#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-dashboard-page .card { padding: 16px; }
#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 .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); }
#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; }

/* --- Admin System Management Input Style (Purple Glow) --- */
#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;
  /* Override default admin input width behavior to respect the max-width */
  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; }
/* ========================================================= */
/* --- START: 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; }
/* --- END: ADMIN STATUS BADGES --- */

/* ========================================================= */
/* ============== END: ADMIN DASHBOARD STYLES ============== */
/* ========================================================= */

/* --- START: FULLY RESPONSIVE STYLES --- */

@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; }
  .hero-slider { height: 60vh; }
  .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; }
  
  /* --- START: Mobile Auth Button Text Hide --- */
  #login-btn .login-btn-text {
    display: none;
  }
  /* --- END: Mobile Auth Button Text Hide --- */
}

@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;
  }
}

/* --- START: MOBILE CART POPUP STYLES --- */
@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; /* Make sure it's on top of other content */
    }
    .cart-popup.visible {
        transform: translateX(0);
        display: flex;
    }
    .cart-popup-header {
        flex-shrink: 0; /* Prevent header from shrinking */
    }
    .cart-close-btn {
        display: block; /* Show close button on mobile */
    }
    #cart-items-list {
        flex-grow: 1; /* Allow list to take available space and scroll */
        max-height: none; /* Remove fixed max-height */
    }
    .cart-popup-footer {
        flex-shrink: 0; /* Prevent footer from shrinking */
    }
}
/* --- END: MOBILE CART POPUP STYLES --- */


@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 specific styles for small screens */
  #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; }
  .hero-slider { height: 70vh; }
  .hero-slider .carousel-cell .inner .title { font-size: 1.5rem; }
  .hero-slider .carousel-cell .inner .subtitle { font-size: 1rem; }
  .hero-slider .carousel-cell .inner .btn { padding: 8px 12px; font-size: 0.6rem; }
  .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;
  }
}

/* --- Added Testimonial Carousel Styles --- */
.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; }

/* --- NEW: Service Section Styles --- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.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: inline-block; width: 80px; height: 80px; line-height: 80px; border-radius: 50%; background: rgba(240, 165, 0, 0.1); }
.service-card .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.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); }
.related-products {
    margin-top: 4rem;
    text-align: center;
}
.related-products .product-grid {
    margin-top: 2rem;
    text-align: left;
}


/* --- START: Infinite Carousel for Featured Products --- */
#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; }
#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 { opacity: 0; transform: translateY(100%); }
#featured-products-section .product-card:hover .quick-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); } }

/* Desktop requirement: each card = 1/5 viewport width */
@media (min-width: 1024px) {
  #featured-products-section .carousel-track { --item-width: 20vw; }
}

/* Responsive adjustments for smaller breakpoints */
@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: 0%; 
  }
  
  #featured-technicians-section .content .name {
      font-size: 1.2rem;
  }
  #featured-technicians-section .featured-tech-card .item-image-container {
      height: 200px;
      width: 200px;
      margin-top: 100%;
      margin-bottom: 20%;
  }
  .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; }
}

/* -- START: PRODUCT DETAIL PAGE NEW STYLES -- */
:root {
  --product-color-primary: #4c4c4c;
  --product-color-secondary: #a6a6a6;
  --product-color-highlight: #ff3f40;
}

#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 6px 0 0;
	background-color: #f0f0f0;
	display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#product-detail-page-container .photo-main .controls {
    display: flex;
    justify-content: space-between;
    padding: 0.8em;
    color: #333;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

#product-detail-page-container .photo-main .controls .icon-button {
    cursor: pointer;
    color: #333;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#product-detail-page-container .photo-main .controls .icon-button:hover {
    background-color: #ffffff;
}

#product-detail-page-container .photo-main img {
    position: static;
    max-width: 90%;
    max-height: 90%;
    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 {
	padding: 0.7em 1em;
	border-radius: 0 0 6px 6px;
	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%); /* Highlight Color Gradient */
	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%;
    }
}
/* -- END PRODUCT DETAIL PAGE NEW STYLES -- */

/* --- CHATBOT STYLES --- */
.chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--dtc-gradient-primary); /* Gradient on Chatbot Bubble */
    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); /* Gradient on Header */
    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); /* Gradient on User Message */
    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); /* Gradient on Send Button */
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 5px;
    cursor: pointer;
}

/* --- NEW: SHINY TEXT STYLES FOR CHATBOT --- */
.shiny-text {
  color: rgba(45, 45, 45, 0.8); /* Use a semi-transparent dark color for the base text */
  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%;
  }
}


/* --- NEW: FACEBOOK POST HIGHLIGHTING --- */
.post-highlight {
    background-color: rgba(255, 255, 0, 0.5); /* Yellow highlight */
    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;
}

/* --- NEW: LAST NUMBER (PRICE) HIGHLIGHT --- */
/* FIX: Ensure the definition is global and uses explicit colors */
.last-number-price-highlight {
    background-color: var(--dtc-danger); /* Red background color */
    color: var(--dtc-text-light); /* White text color */
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}


/* ... (all your existing CSS code) */

/* === END: MODIFIED FEATURED TECHNICIANS SLIDER STYLES === */


/* --- NEW: FACEBOOK POSTS SECTION --- */
.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); /* Gradient */
  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;
  }
}

/* ... (all your existing CSS) */

/* === END: MODIFIED FEATURED TECHNICIANS SLIDER STYLES === */


/* --- NEW: FULL FACEBOOK FEED SECTION --- */
.facebook-feed-section {
  background-color: var(--dtc-bg-card);
}
.facebook-feed-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 800px; /* Constrain width for readability */
  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; /* Limit image height */
  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; /* Preserves line breaks from Facebook */
}
.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;
}
/* --- END: FULL FACEBOOK FEED SECTION --- */


/* FOOTER STYLES */
/* ... (the rest of your CSS) */

/* --- START: HAMBURGER MENU & MOBILE NAVIGATION STYLES --- */

.hamburger-btn {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    z-index: 1051; /* Higher than mobile nav */
}

.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: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 60px;
}

.mobile-nav.open {
    transform: translateX(0);
}

.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: 0;
    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);
}

/* Body class to prevent scrolling when mobile nav is open */
body.mobile-nav-open {
    overflow: hidden;
}


/* Media Query to switch to mobile view */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
}