/* =========================================================
   ShopTvs - Header & Base Styles
   ========================================================= */

:root {
  --navy: #0a1441;
  --navy-2: #0e1c5c;
  --brand-dark: #14213d;
  --brand-blue: #1148e6;
  --brand-blue-hover: #0d38bd;
  --text-muted: #6c7a92;
  --border-light: #e8ecf3;
}

* { box-sizing: border-box; }

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--brand-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------------------------------
   Fluid typography helper
   (bada screen par bada text, chhota screen par chhota text,
   koi extra media query likhne ki zaroorat nahi)
--------------------------------------------------------- */
.fluid-h1 {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.75rem, 1.1rem + 3vw, 3.25rem);
  color: var(--brand-dark);
}

.fluid-lead {
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 700px;
}


/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--navy);
  color: #cfd8f5;
  font-size: 0.85rem;
}

.topbar-info li a,
.topbar-info li {
  color: #cfd8f5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-info li a:hover {
  color: #ffffff;
}

.topbar-info i {
  font-size: 0.9rem;
  color: #6f8bff;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd8f5;
  font-size: 0.85rem;
  transition: 0.2s ease;
}

.topbar-social a:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   MAIN NAV
   ========================================================= */
.main-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

.main-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  box-shadow: 0 2px 12px rgba(10, 20, 65, 0.1);
}

.main-nav-spacer {
  height: 0;
}

/* ---- Logo ---- */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(46px, 3vw + 32px, 66px);
  width: auto;
  display: block;
}

.brand-logo-sm .brand-logo-img {
  height: 44px;
}

/* ---- Desktop Menu ---- */
.main-menu {
  display: flex;
  gap: clamp(0.75rem, 1vw, 1.75rem);
}

.main-menu li a {
  display: inline-block;
  padding: 10px 4px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand-dark);
  position: relative;
  white-space: nowrap;
  outline: none;
  box-shadow: none;
  border: none;
}

.main-menu li a:focus,
.main-menu li a:focus-visible,
.main-menu li a:active {
  outline: none;
  box-shadow: none;
}

.main-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width 0.25s ease;
}

.main-menu li a:hover,
.main-menu li a.active {
  color: var(--brand-blue);
}

.main-menu li a:hover::after,
.main-menu li a.active::after {
  width: 100%;
}

/* ---- Icon buttons (search / account / cart / hamburger) ---- */
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #f6f8fc;
  color: var(--brand-dark);
  font-size: 1.15rem;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* ---- Search Collapse Panel ---- */
.search-panel {
  background: linear-gradient(180deg, #f6f8fc 0%, #eef2fb 100%);
  border-bottom: 1px solid var(--border-light);
}

.search-panel-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.search-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 8px 24px rgba(10, 20, 65, 0.08);
  transition: 0.2s ease;
}

.search-group:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 26px rgba(17, 72, 230, 0.18);
}

.search-group i.bi-search {
  color: var(--brand-blue);
  font-size: 1.1rem;
  margin-right: 10px;
}

.search-group input.form-control {
  border: none;
  padding: 10px 4px;
  font-size: 1rem;
  background: transparent;
  box-shadow: none;
}

.search-group input.form-control:focus {
  outline: none;
  box-shadow: none;
}

.search-group .btn-search {
  border: none;
  border-radius: 50px;
  padding: 10px 26px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: 0.2s ease;
}

.search-group .btn-search:hover {
  background: var(--brand-blue-hover);
}

.search-close {
  position: absolute;
  top: -14px;
  right: 0;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(10, 20, 65, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.search-close:hover {
  background: var(--brand-blue);
  color: #fff;
}


/* =========================================================
   MOBILE OFFCANVAS MENU
   ========================================================= */
#mobileMenu {
  width: min(320px, 85vw);
}

#mobileMenu .offcanvas-header {
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu li a {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu li a.active,
.mobile-menu li a:hover {
  color: var(--brand-blue);
}

.mobile-menu .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu .submenu-toggle i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.mobile-menu .submenu-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-menu .submenu {
  background: #f6f8fc;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .submenu li a {
  padding: 10px 4px 10px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .submenu li:last-child a {
  border-bottom: none;
}

.mobile-info li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-info i {
  color: var(--brand-blue);
}

.mobile-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f6f8fc;
  border: 1px solid var(--border-light);
  color: var(--brand-dark);
  transition: 0.2s ease;
}

.mobile-social a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #eef2fb 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-slide-row {
  min-height: 460px;
  padding: 48px 0 88px;
}

/* ---- Left content ---- */
.hero-content {
  max-width: 560px;
}

.hero-title {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem);
  color: var(--brand-dark);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--brand-blue);
}

.hero-text {
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-features i {
  font-size: 1.5rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.hero-features strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.hero-features span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero-primary,
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s ease;
  border: 2px solid transparent;
}

.btn-hero-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 72, 230, 0.28);
}

.btn-hero-primary:hover {
  background: var(--brand-blue-hover);
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-hero-outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* ---- Right image ---- */
.hero-image-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(10, 20, 65, 0.18);
}

.hero-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  box-shadow: 0 14px 28px rgba(17, 72, 230, 0.35);
  border: 4px solid #fff;
}

.hero-badge span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-badge strong {
  font-size: 1.3rem;
  font-weight: 800;
}

/* ---- Carousel controls ---- */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: auto;
  opacity: 1;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(10, 20, 65, 0.14);
  transition: 0.2s ease;
}

.hero-arrow:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* ---- Indicators ---- */
.hero-indicators-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  pointer-events: none;
}

.hero-indicators-wrap .container {
  pointer-events: none;
}

.hero-indicators {
  position: static;
  margin: 0;
  justify-content: flex-start;
  gap: 8px;
  pointer-events: auto;
}

.hero-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7d0e8;
  opacity: 1;
  border: none;
  text-indent: -9999px;
  transition: 0.2s ease;
}

.hero-indicators [data-bs-target].active {
  width: 26px;
  border-radius: 6px;
  background: var(--brand-blue);
}

@media (max-width: 991.98px) {
  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    display: none;
  }

  .hero-slide-row {
    min-height: unset;
    padding: 28px 0 76px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-features,
  .hero-actions {
    justify-content: center;
  }

  .hero-features li {
    justify-content: center;
  }

  .hero-features {
    text-align: left;
  }

  .hero-image-wrap {
    margin-bottom: 32px;
  }
}

@media (max-width: 575.98px) {
  .hero-badge {
    width: 76px;
    height: 76px;
    top: -12px;
    right: -6px;
  }

  .hero-badge strong {
    font-size: 1rem;
  }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  position: relative;
}

.trust-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 34px;
  background: var(--border-light);
}

.trust-item:last-child::after {
  display: none;
}

.trust-item i {
  font-size: 1.6rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

.trust-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .trust-item::after {
    display: none;
  }

  .trust-item {
    justify-content: center;
    text-align: left;
    padding: 0 8px;
  }
}

@media (max-width: 575.98px) {
  .trust-item strong,
  .trust-item span {
    white-space: normal;
  }
}

/* =========================================================
   TOP BRANDS
   ========================================================= */
.brands-section {
  padding: 56px 0 60px;
  background: #ffffff;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
}

.view-all-link {
  position: absolute;
  right: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.view-all-link i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.view-all-link:hover {
  color: var(--brand-blue-hover);
}

.view-all-link:hover i {
  transform: translateX(3px);
}

/* ---- Infinite marquee ---- */
.brand-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 0 20px;
  animation: brand-scroll 28s linear infinite;
}

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

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-card {
  flex-shrink: 0;
  width: 200px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #ffffff;
  transition: 0.25s ease;
}

.brand-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(10, 20, 65, 0.1);
  transform: translateY(-3px);
}

.brand-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.brand-samsung { color: #1428a0; font-family: Arial, sans-serif; }
.brand-lg { color: #a50034; }
.brand-lg i { font-size: 1.5rem; }
.brand-sony { color: #14213d; font-family: Georgia, serif; letter-spacing: 2px; }
.brand-tcl {
  background: #e4002b;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}
.brand-hisense { color: #0f7a5a; font-style: italic; }
.brand-panasonic { color: #14213d; font-size: 1.15rem !important; }
.brand-philips { color: #0b5ed7; font-size: 1.2rem !important; }
.brand-mi {
  color: #fff;
  background: #ff6900;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.1rem !important;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .section-heading {
    flex-direction: column;
    gap: 10px;
  }

  .view-all-link,
  .btn-view-all {
    position: static;
  }

  .brand-card {
    width: 150px;
    height: 76px;
  }

  .brand-card span {
    font-size: 1.1rem;
  }
}

/* =========================================================
   SHOP BY CATEGORY
   ========================================================= */
.category-section {
  padding: 56px 0 64px;
  background: #f6f8fc;
}

.section-heading-center {
  justify-content: center;
  margin-bottom: 36px;
}

.category-scroller {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}

.category-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: calc((100% - 20px) / 2);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 18px 22px;
  transition: 0.25s ease;
  display: block;
}

@media (min-width: 576px) {
  .category-card {
    width: calc((100% - 40px) / 3);
  }
}

@media (min-width: 992px) {
  .category-card {
    width: calc((100% - 60px) / 4);
  }
}

.category-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 32px rgba(10, 20, 65, 0.12);
  transform: translateY(-4px);
}

.category-tv {
  position: relative;
  margin-bottom: 16px;
}

.cat-img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(10, 20, 65, 0.14);
}

.tv-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ffd60a;
  color: #14213d;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  padding: 3px 6px;
  border-radius: 4px;
}

.category-tv-accessory {
  height: 230px;
  justify-content: center;
  align-items: center;
  display: flex;
  background: #f6f8fc;
  border-radius: 8px;
  width: 100%;
}

.category-tv-accessory i {
  font-size: 2.75rem;
  color: var(--brand-blue);
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.view-more-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-more-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.category-card:hover .view-more-link i {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .category-scroller {
    padding: 0 8px;
  }

  .category-scroller .scroller-arrow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .cat-img,
  .category-tv-accessory {
    height: 180px;
  }
}

/* =========================================================
   BEST SELLING TVS
   ========================================================= */
.products-section {
  padding: 60px 0 64px;
  background: #ffffff;
}

.btn-view-all {
  position: absolute;
  right: 0;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.btn-view-all:hover {
  background: var(--brand-blue-hover);
  color: #fff;
}

.products-scroller {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}

.products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.products-scroll::-webkit-scrollbar {
  display: none;
}

.scroller-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0;
}

.scroller-arrow-prev { left: 0; }
.scroller-arrow-next { right: 0; }

.product-card {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 18px 22px;
  transition: 0.25s ease;
}

@media (min-width: 576px) {
  .product-card {
    width: calc((100% - 20px) / 2);
  }
}

@media (min-width: 992px) {
  .product-card {
    width: calc((100% - 60px) / 4);
  }
}

/* Static grid layout (category products page) — width controlled by
   Bootstrap columns instead of the scroller's calc() width */
.category-products-grid .product-card {
  width: 100%;
}

.category-products-section {
  padding: 40px 0 64px;
  background: #ffffff;
}

.category-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-filter-pills a {
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.category-filter-pills a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.category-filter-pills a.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.category-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.category-empty i {
  font-size: 2.5rem;
  color: var(--border-light);
  display: block;
  margin-bottom: 14px;
}

.product-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 32px rgba(10, 20, 65, 0.12);
  transform: translateY(-4px);
}

.bestseller-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: #16a34a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 4px;
}

.product-tv {
  display: block;
  margin-bottom: 14px;
}

a.product-tv .cat-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.product-tv:hover .cat-img {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(10, 20, 65, 0.2);
}

.product-card h3 a {
  color: inherit;
  transition: color 0.2s ease;
}

.product-card h3 a:hover {
  color: var(--brand-blue);
}

.product-tv .cat-img {
  height: 260px;
}

.product-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand-dark);
  height: 2.7em;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.price-now {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
}

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

.price-off {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}

.product-rating i {
  color: #f59e0b;
  font-size: 0.8rem;
}

.product-rating span {
  color: var(--text-muted);
  margin-left: 4px;
  font-size: 0.78rem;
}

.product-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.btn-view-detail {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.btn-view-detail:hover {
  background: var(--brand-blue-hover);
  color: #fff;
}

.btn-whatsapp-icon {
  flex-shrink: 0;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.btn-whatsapp-icon:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

@media (max-width: 767.98px) {
  .products-scroller {
    padding: 0 8px;
  }

  .scroller-arrow {
    display: none;
  }

  .section-heading {
    flex-direction: column;
    gap: 10px;
  }

  .btn-view-all {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .product-tv .cat-img {
    height: 240px;
  }
}

/* =========================================================
   OFFERS STRIP
   ========================================================= */
.offers-section {
  padding: 12px 0 60px;
  background: #ffffff;
}

.offer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  min-height: 190px;
  border-radius: 16px;
  padding: 26px 20px;
  overflow: hidden;
}

.offer-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.offer-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--brand-dark);
  opacity: 0.75;
  margin: 0;
}

.offer-card-emi {
  background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
}

.offer-card-emi h3 {
  color: #6d28d9;
}

.offer-card-exchange {
  background: linear-gradient(135deg, #e6faf3 0%, #d1f5ea 100%);
}

.offer-card-exchange h3 {
  color: #0f7a5a;
}

.offer-card-bank {
  background: linear-gradient(135deg, #e7ecff 0%, #ede9fe 100%);
}

.offer-card-bank h3 {
  color: #1e3a8a;
}

/* ---- TV visual (EMI / Exchange) ---- */
.offer-visual {
  flex-shrink: 0;
  width: 130px;
}

.offer-tv {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-tv-screen {
  position: relative;
  width: 100%;
  height: 88px;
  border-radius: 6px;
  background: #0b1020;
  border: 4px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(10, 20, 65, 0.18);
}

.offer-tv-screen-photo {
  padding: 0;
}

.offer-tv-screen-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-tv-screen-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

/* Photo without text/icon overlay: show the image as-is */
.offer-tv-screen-plain::after {
  content: none;
}

.offer-emi-percent {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  font-size: 1.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.offer-exchange-icon {
  position: relative;
  z-index: 1;
  color: #4ade80;
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* ---- Credit cards visual (Bank Offers) ---- */
.offer-cards {
  position: relative;
  width: 130px;
  height: 110px;
}

.offer-credit-card {
  position: absolute;
  width: 118px;
  height: 74px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 24px rgba(10, 20, 65, 0.2);
}

.offer-credit-card-back {
  top: 0;
  left: 6px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  transform: rotate(-8deg);
}

.offer-credit-card-front {
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  transform: rotate(6deg);
}

.cc-chip {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.cc-number {
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.cc-brand {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
}

@media (max-width: 767.98px) {
  .offer-card {
    min-height: 170px;
  }

  .offer-visual,
  .offer-cards {
    width: 110px;
  }
}

@media (max-width: 575.98px) {
  .offer-card {
    padding: 20px 16px;
  }

  .offer-text h3 {
    font-size: 1rem;
  }

  .offer-text p {
    font-size: 0.8rem;
  }

  .offer-visual,
  .offer-cards {
    width: 90px;
  }

  .offer-tv-screen {
    height: 68px;
  }

  .offer-emi-percent {
    font-size: 1.3rem;
  }

  .offer-exchange-icon {
    font-size: 1.8rem;
  }
}

/* =========================================================
   SEO INFO BOX
   ========================================================= */
.info-section {
  padding: 8px 0 60px;
  background: #ffffff;
}

.info-box {
  border: 1.5px solid #c7d9fb;
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 60%);
}

.info-box h2 {
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.55rem);
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.info-box p,
.info-box-rich p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto 14px;
}

.info-box p strong,
.info-box-rich strong {
  color: var(--brand-dark);
  font-weight: 700;
}

.info-box-rich ul,
.info-box-rich ol {
  max-width: 900px;
  margin: 0 auto 14px;
  padding-left: 1.4rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.info-box-rich a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.info-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.info-features-plain {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.info-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
  max-width: 260px;
}

.info-feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.info-feature-icon-orange { background: #fff1e0; color: #f97316; }
.info-feature-icon-green { background: #e3f9ec; color: #16a34a; }
.info-feature-icon-blue { background: #e6f0ff; color: var(--brand-blue); }
.info-feature-icon-purple { background: #f3e8ff; color: #9333ea; }

.info-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 3px;
}

.info-feature > div > span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .info-box {
    padding: 26px 20px;
  }

  .info-features {
    justify-content: flex-start;
    gap: 22px;
  }

  .info-feature {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  padding: 8px 0 64px;
  background: #ffffff;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
  padding: 16px 20px;
  background: #ffffff;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #f6f8fc;
  color: var(--brand-blue);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-light);
}

.faq-accordion .accordion-button::after {
  width: 1.1rem;
  height: 1.1rem;
  background-size: 1.1rem;
}

.faq-accordion .accordion-body {
  padding: 4px 20px 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 575.98px) {
  .faq-accordion .accordion-button {
    font-size: 0.88rem;
    padding: 14px 16px;
  }

  .faq-accordion .accordion-body {
    padding: 0 16px 16px;
    font-size: 0.84rem;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: #b9c2e0;
}

.site-footer a {
  color: #b9c2e0;
}

/* ---- Newsletter bar ---- */
.newsletter-bar {
  background: var(--navy-2);
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.newsletter-text i {
  font-size: 1.6rem;
  color: #6f8bff;
  flex-shrink: 0;
}

.newsletter-text strong {
  display: block;
  font-size: 0.95rem;
}

.newsletter-text span {
  display: block;
  font-size: 0.8rem;
  color: #b9c2e0;
}

.newsletter-form {
  display: flex;
  flex: 1 1 360px;
  max-width: 420px;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 11px 18px;
  font-size: 0.85rem;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.btn-subscribe {
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 11px 22px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: 0.2s ease;
}

.btn-subscribe:hover {
  background: var(--brand-blue-hover);
}

.newsletter-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #fff;
}

.newsletter-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.newsletter-social a:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* ---- Main footer ---- */
.footer-main {
  padding: 48px 0 32px;
}

.footer-logo {
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.footer-main .col-lg-3 > p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #9aa5cc;
  max-width: 280px;
}

.footer-main h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.87rem;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 3px;
}


/* ---- Bottom bar ---- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.8rem;
  color: #9aa5cc;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  transition: 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 767.98px) {
  .newsletter-bar .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .newsletter-form {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =========================================================
   PAGE BANNER (About / Contact / inner pages)
   ========================================================= */
.page-banner {
  background: linear-gradient(180deg, #f6f8fc 0%, #eef2fb 100%);
  padding: 44px 0 38px;
  text-align: center;
}

.page-banner h1 {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  margin-bottom: 10px;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--brand-blue);
}

.breadcrumb-nav .sep {
  color: #c2cae0;
}

.breadcrumb-nav .current {
  color: var(--brand-blue);
  font-weight: 600;
}

/* =========================================================
   ABOUT US PAGE
   ========================================================= */
.about-intro {
  padding: 64px 0;
  background: #ffffff;
}

.about-intro-text h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.about-intro-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--brand-dark);
  font-weight: 500;
}

.about-checklist i {
  color: #16a34a;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-intro-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(10, 20, 65, 0.15);
}

/* ---- Stats ---- */
.stats-strip {
  background: var(--navy);
  padding: 44px 0;
}

.stat-box {
  text-align: center;
  color: #fff;
}

.stat-box strong {
  display: block;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 800;
  color: #6f8bff;
}

.stat-box span {
  font-size: 0.85rem;
  color: #b9c2e0;
}

/* ---- Why choose us (reuses .info-feature*) ---- */
.why-choose-section {
  padding: 64px 0;
  background: #f6f8fc;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0a1e8c 100%);
  padding: 54px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: #dbe3ff;
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.cta-banner .hero-actions {
  justify-content: center;
}

.cta-banner .btn-hero-outline {
  border-color: #fff;
  color: #fff;
}

.cta-banner .btn-hero-outline:hover {
  background: #fff;
  color: var(--brand-blue);
}

@media (max-width: 991.98px) {
  .about-intro-img {
    margin-top: 32px;
  }

  .about-intro-img img {
    min-height: 240px;
  }
}

/* =========================================================
   CONTACT US PAGE
   ========================================================= */
.contact-info-section {
  padding: 56px 0 8px;
  background: #ffffff;
}

.contact-info-card {
  height: 100%;
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: 0.25s ease;
}

.contact-info-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 32px rgba(10, 20, 65, 0.1);
  transform: translateY(-4px);
}

.contact-info-card i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0ff;
  color: var(--brand-blue);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-section {
  padding: 56px 0 64px;
  background: #ffffff;
}

.contact-form-card {
  background: #f6f8fc;
  border-radius: 18px;
  padding: 36px;
}

.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.contact-form .form-control {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
}

.contact-form .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(17, 72, 230, 0.1);
}

.contact-form .btn-submit {
  border: none;
  border-radius: 10px;
  padding: 13px 30px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.contact-form .btn-submit:hover {
  background: var(--brand-blue-hover);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-success.show {
  display: flex;
}

.contact-map-card {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.contact-map-card iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.contact-map-card-body {
  padding: 22px 24px;
}

.contact-map-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 14px;
}

.contact-map-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-map-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-map-card-body li i {
  color: var(--brand-blue);
  font-size: 1rem;
  margin-top: 2px;
}

@media (max-width: 767.98px) {
  .contact-form-card {
    padding: 24px 20px;
  }
}

/* =========================================================
   PRODUCT DETAIL PAGE
   ========================================================= */
.product-detail-section {
  padding: 48px 0 60px;
  background: #ffffff;
}

.product-detail-media {
  position: relative;
  min-height: 320px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f6f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.product-detail-media .bestseller-badge {
  top: 16px;
  left: 16px;
}

.product-detail-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #e6f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
}

.product-detail-icon i {
  font-size: 4rem;
  color: var(--brand-blue);
}

.product-detail-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.product-detail-info .product-detail-title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.product-detail-rating {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.product-detail-rating i {
  font-size: 0.95rem;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.product-detail-price .price-now {
  font-size: 2rem;
}

.product-detail-price .price-old {
  font-size: 1.1rem;
}

.product-detail-price .price-off {
  font-size: 0.85rem;
  padding: 3px 10px;
  background: #f0fdf4;
  border-radius: 6px;
}

.product-detail-savings {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-detail-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.product-detail-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.product-detail-highlights i {
  color: #16a34a;
  margin-top: 3px;
  flex-shrink: 0;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.product-detail-actions .btn-hero-primary,
.product-detail-actions .btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-detail-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  margin: 0;
  border-top: 1px solid var(--border-light);
}

.product-detail-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-detail-trust i {
  color: var(--brand-blue);
}

.product-specs-card {
  margin-top: 56px;
  background: #f6f8fc;
  border-radius: 18px;
  padding: 32px 36px;
}

.product-specs-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.product-specs-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.spec-key {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--brand-dark);
  font-weight: 600;
  text-align: right;
}

.btn-inline {
  display: inline-flex;
  width: auto;
  padding: 12px 28px;
  margin-top: 16px;
}

@media (max-width: 767.98px) {
  .product-specs-table {
    grid-template-columns: 1fr;
  }

  .product-specs-card {
    padding: 24px 20px;
  }

  .product-detail-price .price-now {
    font-size: 1.6rem;
  }
}

/* =========================================================
   PRODUCT REVIEWS
   ========================================================= */
.product-reviews-section {
  padding: 0 0 64px;
  background: #ffffff;
}

.reviews-summary {
  display: flex;
  margin-bottom: 32px;
}

.reviews-summary-score {
  background: #f6f8fc;
  border-radius: 14px;
  padding: 22px 32px;
  text-align: center;
}

.reviews-summary-score strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.reviews-summary-score .product-rating {
  justify-content: center;
  margin-bottom: 6px;
}

.reviews-summary-score span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 18px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px 22px;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card-meta {
  flex: 1;
}

.review-card-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.review-card-meta .product-rating {
  margin: 2px 0 0;
}

.review-card-meta .product-rating i {
  font-size: 0.75rem;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.review-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Write a review form ---- */
.review-form-card {
  background: #f6f8fc;
  border-radius: 18px;
  padding: 32px;
  position: sticky;
  top: 20px;
}

.review-form-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.review-form-card > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.star-picker {
  display: inline-flex;
  gap: 6px;
  font-size: 1.5rem;
  color: #f59e0b;
  cursor: pointer;
}

.star-picker i {
  transition: transform 0.15s ease;
}

.star-picker i:hover {
  transform: scale(1.15);
}

@media (max-width: 767.98px) {
  .review-form-card {
    padding: 24px 20px;
    position: static;
  }

  .reviews-summary-score {
    padding: 18px 26px;
  }
}

/* =========================================================
   BLOG
   ========================================================= */
.blog-section {
  padding: 56px 0 64px;
  background: #ffffff;
}

.blog-card {
  display: block;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.25s ease;
}

.blog-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 32px rgba(10, 20, 65, 0.12);
  transform: translateY(-4px);
}

.blog-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta i {
  color: var(--brand-blue);
  margin-right: 3px;
}

.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-more i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(3px);
}

/* ---- Blog post (detail) ---- */
.blog-post-section {
  padding: 48px 0 64px;
  background: #ffffff;
}

.blog-post-wrap {
  max-width: 840px;
  margin: 0 auto 56px;
}

.blog-post-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-post-hero img {
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: cover;
  display: block;
}

.blog-post-hero .blog-category-badge {
  top: 18px;
  left: 18px;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-post-meta i {
  color: var(--brand-blue);
  margin-right: 4px;
}

/* ---- Blog article body (HTML from the admin editor) ---- */
.blog-post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #3d4a63;
  overflow-wrap: break-word;
}

.blog-post-content > *:first-child {
  margin-top: 0;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.3;
  scroll-margin-top: 120px;
}

.blog-post-content h1,
.blog-post-content h2 {
  font-size: 1.6rem;
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.blog-post-content h1::after,
.blog-post-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--brand-blue);
}

.blog-post-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.blog-post-content h4 {
  font-size: 1.1rem;
  margin: 26px 0 10px;
}

.blog-post-content h5,
.blog-post-content h6 {
  font-size: 1rem;
  margin: 22px 0 8px;
}

.blog-post-content p {
  margin: 0 0 16px;
}

.blog-post-content p:empty,
.blog-post-content p > br:only-child {
  display: none;
}

.blog-post-content strong,
.blog-post-content b {
  color: var(--brand-dark);
  font-weight: 700;
}

.blog-post-content a {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-post-content a:hover {
  color: var(--brand-blue-hover);
}

/* Bullet and numbered lists */
.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}

.blog-post-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.blog-post-content ul > li::before,
.blog-post-content ol > li[data-list="bullet"]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(17, 72, 230, 0.12);
}

.blog-post-content ol {
  counter-reset: blog-ol;
}

.blog-post-content ol > li:not([data-list="bullet"]) {
  counter-increment: blog-ol;
}

.blog-post-content ol > li:not([data-list="bullet"])::before {
  content: counter(blog-ol);
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.blog-post-content li > ul,
.blog-post-content li > ol {
  margin: 10px 0 0;
}

.blog-post-content .ql-indent-1 { margin-left: 24px; }
.blog-post-content .ql-indent-2 { margin-left: 48px; }

/* Tables: scroll sideways on small screens instead of breaking the page */
.blog-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 8px 0 24px;
  border: 1px solid var(--border-light) !important;
  border-radius: 12px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.blog-post-content table tbody,
.blog-post-content table thead {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.blog-post-content th,
.blog-post-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.blog-post-content th,
.blog-post-content tr:first-child td {
  background: #f1f5ff;
  color: var(--brand-dark);
  font-weight: 700;
}

.blog-post-content tr:nth-child(even) td {
  background: #fafbfe;
}

.blog-post-content tr:last-child td {
  border-bottom: none;
}

/* Quotes, images, dividers, code */
.blog-post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--brand-blue);
  background: #f6f8fc;
  border-radius: 0 12px 12px 0;
  color: var(--brand-dark);
  font-style: italic;
}

.blog-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0 20px;
}

.blog-post-content hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--border-light);
  opacity: 1;
}

.blog-post-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5ff;
  color: var(--brand-blue);
  font-size: 0.9em;
}

.blog-post-content .ql-align-center { text-align: center; }
.blog-post-content .ql-align-right { text-align: right; }
.blog-post-content .ql-align-justify { text-align: justify; }

.blog-post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 28px;
  background: #f6f8fc;
  border-radius: 16px;
}

.blog-post-cta strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.blog-post-cta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-post-cta .hero-actions {
  flex-wrap: nowrap;
}

@media (max-width: 767.98px) {
  .blog-post-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post-cta .hero-actions {
    width: 100%;
  }

  .blog-post-cta .hero-actions a {
    flex: 1;
  }
}

/* =========================================================
   SITEMAP
   ========================================================= */
.sitemap-section {
  padding: 56px 0 64px;
  background: #ffffff;
}

.sitemap-col h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.sitemap-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-col li {
  margin-bottom: 12px;
}

.sitemap-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
}

.sitemap-col a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.sitemap-col a:hover {
  color: var(--brand-blue);
  padding-left: 3px;
}

/* ======================= LIVE SEARCH ======================= */
.live-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  max-width: 640px;
  margin: 0 auto;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 20, 65, 0.15);
  z-index: 20;
}

.live-search-results.show {
  display: block;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--border-light);
}

.live-search-item:last-child {
  border-bottom: none;
}

.live-search-item:hover {
  background: #f5f7fc;
}

.live-search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.live-search-item-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.live-search-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.live-search-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ======================= PRODUCT REVIEW FORM ======================= */
.star-picker {
  display: flex;
  gap: 6px;
  font-size: 1.5rem;
  cursor: pointer;
}

.star-picker i {
  color: #d7dcea;
}

.star-picker i.active {
  color: #ffb703;
}

/* ======================= HEADER: WHATSAPP NOW + ALWAYS-OPEN DESKTOP SEARCH ======================= */
.btn-whatsapp-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: #16a34a;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-whatsapp-now:hover {
  background: #128a3e;
  color: #fff;
  transform: translateY(-1px);
}

.btn-whatsapp-now i {
  font-size: 1.1rem;
}

@media (min-width: 992px) {
  .search-box-always-open-lg {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }
}

/* ======================= BLOG DETAIL: SIDEBAR LAYOUT ======================= */
.blog-post-section .blog-post-wrap {
  max-width: none;
  margin: 0;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.blog-sidebar-card {
  background: #f6f8fc;
  border-radius: 16px;
  padding: 26px;
}

.blog-sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.blog-sidebar-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-sidebar-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-sidebar-contact-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.blog-sidebar-contact-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.blog-sidebar-contact-list a:hover {
  color: var(--brand-blue);
}

.blog-sidebar-contact-list i {
  color: var(--brand-blue);
  width: 18px;
}

.blog-sidebar-related {
  background: #fff;
  border: 1px solid var(--border-light);
}

.blog-sidebar-related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  text-decoration: none;
}

.blog-sidebar-related-item:first-of-type {
  border-top: none;
  padding-top: 14px;
}

.blog-sidebar-related-img {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--border-light);
}

.blog-sidebar-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-sidebar-related-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.35;
  margin-bottom: 4px;
}

.blog-sidebar-related-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-sidebar-related-item:hover h4 {
  color: var(--brand-blue);
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* ======================= MOBILE: TIGHTER HEADING/FONT SCALE ======================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-title span {
    font-size: inherit;
  }

  .hero-text {
    font-size: 0.85rem;
  }

  .page-banner {
    padding: 30px 0 26px;
  }

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

  .fluid-h1 {
    font-size: 1.4rem;
  }

  .fluid-lead {
    font-size: 0.85rem;
  }

  .section-heading h2,
  .section-heading-center h2 {
    font-size: 1.2rem;
  }

  .product-detail-info .product-detail-title {
    font-size: 1.2rem;
  }

  .about-intro-text h2 {
    font-size: 1.3rem;
  }

  .info-box h2 {
    font-size: 1.15rem;
  }

  .blog-post-content {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .blog-post-content h1,
  .blog-post-content h2 {
    font-size: 1.3rem;
    margin-top: 34px;
  }

  .blog-post-content h3 {
    font-size: 1.1rem;
    margin-top: 26px;
  }

  .blog-post-content th,
  .blog-post-content td {
    padding: 10px 12px;
  }

  .blog-card-body h3,
  .product-card h3 {
    font-size: 0.9rem;
  }

  .why-choose-section .section-heading h2,
  .faq-section .section-heading h2 {
    font-size: 1.15rem;
  }
}

/* ======================= MOBILE: BUTTONS, WHATSAPP ICONS, TABS ======================= */
@media (max-width: 480px) {
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 11px 20px;
    font-size: 0.82rem;
  }

  .category-filter-pills {
    gap: 8px;
    margin-bottom: 22px;
  }

  .category-filter-pills a {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .btn-view-detail {
    padding: 10px 6px;
    font-size: 0.8rem;
  }

  .btn-whatsapp-icon {
    width: 38px;
    font-size: 1rem;
  }

  .contact-form .btn-submit {
    padding: 11px 22px;
    font-size: 0.82rem;
  }

  .search-group .btn-search {
    padding: 9px 16px;
    font-size: 0.82rem;
  }

  .btn-whatsapp-now {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ======================= PRODUCT DETAIL: CLICKABLE RATING -> REVIEWS ======================= */
#reviews {
  scroll-margin-top: 100px;
}

.product-rating-link {
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.product-rating-link:hover {
  opacity: 0.75;
}

.product-rating-link span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   PRODUCT IMAGE GALLERY + ZOOM (product detail page)
   ========================================================= */
.product-gallery {
  position: sticky;
  top: 120px;
}

.product-detail-media.pg-stage {
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.06);
}

.product-detail-media.pg-stage:not(.has-images) {
  background: #f6f8fc;
}

.pg-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pg-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.product-detail-media .pg-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.25s ease;
  will-change: transform;
  user-select: none;
}

.pg-stage .bestseller-badge { z-index: 3; }

.pg-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pg-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
}

.pg-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 33, 61, 0.12);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pg-prev { left: 12px; }
.pg-next { right: 12px; }

.pg-stage:hover .pg-nav,
.pg-nav:focus-visible { opacity: 1; }

.pg-nav:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.pg-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.pg-thumb {
  flex: 0 0 78px;
  height: 78px;
  padding: 4px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pg-thumb:hover img,
.pg-thumb.is-active img { opacity: 1; }

.pg-thumb:hover { border-color: #b9c8ef; }

.pg-thumb.is-active {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(17, 72, 230, 0.12);
}

@media (hover: none) {
  .pg-nav { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
}

@media (max-width: 991.98px) {
  .product-gallery { position: static; }
}

@media (max-width: 575.98px) {
  .pg-thumb { flex-basis: 64px; height: 64px; }
}

/* ---------- Lightbox ---------- */
body.pg-lb-open { overflow: hidden; }

.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: rgba(8, 14, 38, 0.96);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pg-lightbox[hidden] { display: none; }
.pg-lightbox.is-visible { opacity: 1; }

.pg-lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.pg-lb-counter {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

.pg-lb-tools { display: flex; gap: 8px; }

.pg-lb-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.pg-lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.pg-lb-btn:disabled { opacity: 0.35; }

.pg-lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.pg-lb-img {
  max-width: calc(100% - 140px);
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  cursor: zoom-in;
  user-select: none;
  transform-origin: center center;
  transition: transform 0.25s ease;
  will-change: transform;
}

.pg-lb-img.is-zoomed { cursor: grab; }
.pg-lb-img.is-dragging { cursor: grabbing; transition: none; }
.pg-lb-img.no-anim { transition: none; }

.pg-lb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  transition: background 0.2s ease;
}

.pg-lb-nav:hover { background: var(--brand-blue); }
.pg-lb-prev { left: 18px; }
.pg-lb-next { right: 18px; }

.pg-lb-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
}

.pg-lb-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px 18px;
  overflow-x: auto;
}

.pg-lb-thumb {
  flex: 0 0 64px;
  height: 64px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.pg-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pg-lb-thumb:hover { opacity: 0.85; }

.pg-lb-thumb.is-active {
  opacity: 1;
  border-color: var(--brand-blue);
}

@media (max-width: 767.98px) {
  .pg-lb-img { max-width: 100%; border-radius: 0; }
  .pg-lb-nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(0, 0, 0, 0.45); }
  .pg-lb-prev { left: 8px; }
  .pg-lb-next { right: 8px; }
  .pg-lb-thumb { flex-basis: 52px; height: 52px; }
  .pg-lb-thumbs { justify-content: flex-start; }
}

/* =========================================================
   SMART TVs MEGA MENU (desktop)
   ========================================================= */
.main-menu li.has-mega {
  position: relative;
}

.main-menu .mega-caret {
  font-size: 0.7rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.main-menu li.has-mega:hover .mega-caret,
.main-menu li.has-mega:focus-within .mega-caret {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1030;
  width: max-content;
  max-width: min(760px, 92vw);
  padding: 22px 26px 18px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(10, 20, 65, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* invisible bridge so the menu stays open while the mouse moves down to it */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.main-menu li.has-mega:hover > .mega-menu,
.main-menu li.has-mega:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 4px);
}

.mega-inner {
  display: flex;
  gap: 40px;
}

.mega-col {
  min-width: 150px;
}

.mega-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-menu .mega-menu li a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-dark);
  white-space: nowrap;
  transition: color 0.15s ease, transform 0.15s ease;
}

.main-menu .mega-menu li a::after {
  display: none;
}

.main-menu .mega-menu li a:hover {
  color: var(--brand-blue);
  transform: translateX(3px);
}

.main-menu .mega-menu a.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.main-menu .mega-menu a.mega-all::after {
  display: none;
}

/* Mobile menu: + / - toggles (Screen Types, Screen Sizes, Brands) */
.mobile-menu .submenu-toggle .submenu-minus,
.mobile-menu .submenu-toggle[aria-expanded="true"] .submenu-plus {
  display: none;
}

.mobile-menu .submenu-toggle[aria-expanded="true"] .submenu-minus {
  display: inline-block;
}

.mobile-menu .submenu-toggle[aria-expanded="true"] i {
  transform: none;
}

.mobile-menu .submenu-toggle[aria-expanded="true"] {
  color: var(--brand-blue);
}

/* =========================================================
   PRODUCT LISTING: TOOLBAR, CHIPS, FILTERS, SORT
   ========================================================= */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.shop-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--brand-dark);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.shop-tool-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.shop-tool-btn strong {
  font-weight: 700;
}

.shop-tool-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  line-height: 20px;
  text-align: center;
}

.shop-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.shop-sort-menu {
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(10, 20, 65, 0.14);
}

.shop-sort-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.shop-sort-menu .dropdown-item.active,
.shop-sort-menu .dropdown-item:active {
  background: var(--brand-blue);
  color: #fff;
}

.shop-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 14px;
  border-radius: 50px;
  background: #eef3ff;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.shop-chip:hover {
  background: var(--brand-blue);
  color: #fff;
}

.shop-chip i {
  font-size: 1rem;
}

.shop-chip-clear {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-chip-clear:hover {
  color: #dc2626;
}

/* Filter panel (sidebar on desktop, slide-in panel on mobile) */
.shop-filter-form {
  width: 100%;
}

.filter-group {
  border-bottom: 1px solid var(--border-light);
}

.filter-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 2px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-dark);
  user-select: none;
}

.filter-group > summary::-webkit-details-marker {
  display: none;
}

.filter-group .filter-minus,
.filter-group[open] .filter-plus {
  display: none;
}

.filter-group[open] .filter-minus {
  display: inline-block;
}

.filter-group-count {
  display: inline-block;
  min-width: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.7rem;
  line-height: 20px;
  text-align: center;
}

.filter-options {
  padding: 0 2px 14px;
}

.filter-group-flat {
  padding: 12px 2px;
}

.filter-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.filter-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.filter-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #c5cfdf;
  border-radius: 6px;
  background: #fff;
  color: transparent;
  font-size: 0.8rem;
  transition: 0.15s ease;
}

.filter-option:hover .filter-check {
  border-color: var(--brand-blue);
}

.filter-option input:checked + .filter-check {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.filter-option input:focus-visible + .filter-check {
  box-shadow: 0 0 0 3px rgba(17, 72, 230, 0.25);
}

.filter-label {
  flex: 1;
}

.filter-count {
  min-width: 28px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #f1f4f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.filter-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-price input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #c5cfdf;
  border-radius: 10px;
  font-size: 0.9rem;
}

.filter-price input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(17, 72, 230, 0.15);
}

.filter-price span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.filter-price-go {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
}

.filter-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px 0 16px;
  background: #fff;
}

.filter-clear,
.filter-apply {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.filter-clear {
  border: 1.5px solid var(--border-light);
  color: var(--brand-dark);
}

.filter-apply {
  border: 0;
  background: var(--brand-blue);
  color: #fff;
}

@media (min-width: 992px) {
  .shop-filters {
    position: sticky;
    top: 120px;
    padding: 6px 20px 10px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: #fff;
  }

  .shop-filters .filter-group:last-of-type {
    border-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  #shopFilters {
    --bs-offcanvas-width: min(360px, 90vw);
  }

  #shopFilters .offcanvas-header {
    border-bottom: 1px solid var(--border-light);
  }

  #shopFilters .offcanvas-title {
    font-weight: 700;
    font-size: 1.1rem;
  }

  #shopFilters .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  #shopFilters .shop-filter-form {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
}

/* Mobile sort sheet (slides up from the bottom) */
.shop-sort-sheet.offcanvas-bottom {
  height: auto;
  max-height: 80vh;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.shop-sort-sheet .offcanvas-header {
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.shop-sort-sheet .offcanvas-title {
  font-weight: 700;
}

.shop-sort-sheet .btn-close {
  position: absolute;
  right: 18px;
}

.shop-sort-sheet .offcanvas-body {
  padding: 8px 20px 24px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--brand-dark);
  font-size: 0.98rem;
  border-bottom: 1px solid #f1f4f9;
}

.sort-option:last-child {
  border-bottom: 0;
}

.sort-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c5cfdf;
  flex-shrink: 0;
}

.sort-option.active {
  font-weight: 600;
}

.sort-option.active .sort-radio {
  border: 6px solid var(--brand-blue);
}

/* Product card badges */
.product-tv {
  position: relative;
}

.saving-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #0b3a6f;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(10, 20, 65, 0.2);
}

.sold-out-badge {
  background: #dc2626;
}

.product-card.is-sold-out .cat-img {
  opacity: 0.6;
  filter: grayscale(0.4);
}

/* Mobile header: "All Products" button between logo and menu toggle */
.btn-all-products {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 50px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(17, 72, 230, 0.25);
  transition: background 0.2s ease;
}

.btn-all-products:hover,
.btn-all-products:focus {
  background: var(--brand-blue-hover);
  color: #fff;
}

@media (max-width: 359.98px) {
  .btn-all-products {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .btn-all-products i {
    display: none;
  }
}
