﻿/* ==========================================================================
   Hometech - LUXURY JAPANESE SHOWROOM STYLING
   ========================================================================== */

/* 1. Imports & Typography (Japanese showroom typography) */
:root {
  /* Design Colors */
  --color-primary: #1a1c20;
  /* Solid charcoal-black */
  --color-secondary: #3a424a;
  --color-accent: #d67f1c;
  /* Hometech Gold */
  --color-bg-light: #f9f8f6;
  /* Warm Minimal Off-white */
  --color-bg-dark: #1e2530;
  /* Showroom Slate Navy */
  --color-footer-bg: #1f2531;
  /* Deeper Slate Black */
  --color-text-dark: #1a1c20;
  /* High contrast dark text (Enhanced from #2C3540) */
  --color-text-muted: #4a5568;
  /* High contrast muted text (Enhanced from #5A626A) */
  --color-text-light: #f0f4f8;
  /* High contrast light text */
  --color-white: #ffffff;
  --color-bg-navi: #272e38;
  --color-bg-navi-overlay: rgba(30, 37, 48, 0.96);

  /* Geometries */
  --radius-sharp: 14px;
  --radius-soft: 10px;
  --radius-card: 20px;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease-out;
}

/* 2. Resets & Global Styles */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.row > * {
  margin-top: 0px;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: var(--radius-sharp);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Base Headings styling */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 600 !important;
  letter-spacing: 0.05em;
}

p {
  font-weight: 400;
  /* Increased to 400 for high-contrast readability */
  letter-spacing: 0.015em;
  color: var(--color-text-dark);
}

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

a:hover {
  color: var(--color-accent);
}

/* Compact spacing variable */
.section-padding {
  padding: 80px 0;
  /* Reduced from 120px to make layout closer */
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
    /* Reduced from 80px to make layout closer */
  }
}

.text-gold {
  color: var(--color-accent) !important;
  text-shadow: 0 2px 10px rgba(214, 127, 28, 0.22);
}

.text-secondary {
  color: rgb(38 45 54) !important;
}

.bg-white-pure {
  background-color: var(--color-white) !important;
}

.bg-warm {
  background-color: var(--color-bg-light) !important;
}

.bg-luxury {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-light) !important;
}

.bg-luxury h2,
.bg-luxury h3,
.bg-luxury p {
  color: var(--color-text-light) !important;
}

/* Luxury Divider line */
.divider-gold {
  width: 50px;
  height: 1.5px;
  background-color: var(--color-accent);
  margin: 9px auto 25px;
}

.divider-gold.start {
  margin-left: 0;
}

/* 3. Luxury Buttons & CTAs */
.btn-luxury {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 14px 32px;
  border-radius: var(--radius-sharp);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-bg-navi);
  background-color: var(--color-bg-navi);
  color: var(--color-white);
}

.btn-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-luxury:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(197, 160, 89, 0.2);
}

.btn-luxury:hover::before {
  left: 0;
}

.btn-luxury span,
.btn-luxury i {
  position: relative;
  z-index: 2;
}

.btn-luxury-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: rgba(26, 28, 32, 0.45);
}

.btn-luxury-outline:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-luxury-outline::before {
  background-color: var(--color-accent);
}

/* Dark mode section overrides for outline buttons */
.bg-luxury .btn-luxury-outline,
.footer-luxury .btn-luxury-outline,
.showroom-hero-section .btn-luxury-outline,
.showroom-stats-bar .btn-luxury-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.bg-luxury .btn-luxury-outline:hover,
.footer-luxury .btn-luxury-outline:hover,
.showroom-hero-section .btn-luxury-outline:hover,
.showroom-stats-bar .btn-luxury-outline:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* Dark mode version of solid buttons */
.bg-luxury .btn-luxury,
.footer-luxury .btn-luxury {
  border-color: var(--color-accent);
  background-color: transparent;
  color: var(--color-white);
}

.bg-luxury .btn-luxury:hover,
.footer-luxury .btn-luxury:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* 4. Single-Row Sticky Header with Centered Logo */
header.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 25px 0;
  /* Balanced padding for luxury height */
  background-color: rgba(30, 37, 48, 0.4);
  /* Transparent navy */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.sticky-header.scrolled {
  background-color: rgba(30, 37, 48, 0.96);
  /* Mockup Slate Navy background */
  backdrop-filter: blur(15px);
  padding: 15px 0;
  /* Balanced padding for luxury scrolled height */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Flex row containers */
.header-row-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr);
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  /* Luxury even spacing */
}

.nav-left {
  justify-content: flex-end;
  grid-column: 1;
  padding-right: 24px;
}

.nav-right {
  justify-content: flex-start;
  grid-column: 3;
  padding-left: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
  margin-left: auto !important;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 12px 22px 16px;
  /* Sleeker, refined padding to match shorter header height */
  background: linear-gradient(
    135deg,
    rgba(30, 37, 48, 0.8) 0%,
    rgba(18, 22, 30, 0.9) 100%
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(197, 160, 89, 0.45);
  /* Thinner border for high-end feel */
  border-top: none;
  border-radius: 0 0 20px 20px;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  top: -25px;
  /* Flushed to top mathematically based on header padding (20px) */
  transition: var(--transition-smooth);
  z-index: 100;
}

header.sticky-header.scrolled .logo-center {
  top: -15px;
  /* Flushed to top mathematically in scrolled state (10px) */
  padding: 8px 18px 12px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(
    135deg,
    rgba(20, 25, 33, 0.92) 0%,
    rgba(12, 16, 22, 0.98) 100%
  );
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.45),
    0 0 15px rgba(197, 160, 89, 0.2);
}

.logo-center:hover {
  border-color: #e9ad58;
  /* Brighter gold on hover */
  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(197, 160, 89, 0.45);
  transform: translateX(-50%) translateY(2px);
  /* Hanging seal physics: slight downward shift preserving center positioning */
}

/* Menu items */
.nav-link {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13.5px;
  /* Increased from 11px for luxury prominence */
  font-weight: 600;
  /* Bolder font weight for premium legibility */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85) !important;
  position: relative;
  padding: 10px 0 !important;
  margin: 0;
  /* Clear margins, using flex-gap for perfectly even spacing */
  transition: var(--transition-fast);
  display: inline-block;
  white-space: nowrap;
  /* Prevent multi-line wrapping */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav icon buttons (Search, Cart) */
.nav-icon {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  transition: var(--transition-fast);
  display: inline-block;
  margin: 0;
  /* Clear margins in favor of flex-gap */
}

.nav-icon:hover {
  color: var(--color-accent);
}

/* Hotline Link Style */
.nav-hotline {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent) !important;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: inline-block;
}

.nav-hotline:hover {
  color: var(--color-white) !important;
}
.nav-hotline .hotline-text{
  display:none;
}

/* Header Consulting CTA Button */
.btn-header-cta {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary) !important;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 7px 18px;
  border-radius: var(--radius-sharp);
  white-space: nowrap;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-header-cta:hover {
  background-color: transparent;
  color: var(--color-accent) !important;
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
  transform: translateY(-1px);
}

header.sticky-header.scrolled .btn-header-cta {
  padding: 5px 14px;
  font-size: 13.5px;
}

/* Logo image scale */
.logo-img {
  height: 63px;
  /* Enlarged standard logo to match shield size */
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

header.sticky-header.scrolled .logo-img {
  height: 51px;
  /* Enlarged scrolled logo */
}

/* Custom Dropdown hover menu */
.dropdown-custom {
  position: relative;
  display: inline-block;
  margin: 0;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  /* Aligns flush with the gap-spaced link */
  background-color: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 265px;
  /* Slightly wider to prevent text wrapping */
  list-style: none;
  padding: 12px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-custom:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-custom li {
  width: 100%;
}

.dropdown-menu-custom a {
  display: block;
  padding: 12px 24px;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12.5px;
  /* Larger and matches font weight */
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}

.dropdown-menu-custom a:hover {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 30px;
}

.fs-xs {
  font-size: 8px !important;
}

/* 4.1 Search Overlay Bar styling */
.search-overlay-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(30, 37, 48, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--color-accent);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease,
    padding 0.4s ease;
  z-index: 999;
  padding: 0;
}

.search-overlay-bar.open {
  max-height: 220px;
  opacity: 1;
  padding: 25px 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.input-group-search {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2px;
  transition: var(--transition-fast);
  width: 100%;
  border-radius: 20px;
}

.input-group-search:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.search-input-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  margin-left: 20px;
  margin-right: 10px;
}

.search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 10px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-search-submit {
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-primary);
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 20px;
}

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

.btn-search-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search-close:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

.search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 15px;
  font-size: 13px;
}

.suggestion-title {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.suggestion-tag {
  color: var(--color-accent);
  transition: var(--transition-fast);
  font-weight: 500;
}

.suggestion-tag:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Responsive Search Bar */
@media (max-width: 991px) {
  .search-overlay-bar.open {
    max-height: 280px;
  }

  .search-form {
    gap: 12px;
  }

  .search-input {
    font-size: 14px;
    padding: 10px 5px;
  }

  .btn-search-submit {
    padding: 10px 20px;
    font-size: 11px;
  }

  .search-suggestions {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .search-overlay-bar.open {
    max-height: 320px;
    padding: 20px 0;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .input-group-search {
    width: 100%;
  }

  .btn-search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
  }

  .search-suggestions {
    margin-top: 15px;
    font-size: 11.5px;
    gap: 8px 10px;
  }
}

@media (max-width: 576px) {
  .search-overlay-bar {
    border-bottom-width: 1px;
    background-color: rgba(24, 30, 40, 0.97);
  }

  .search-overlay-bar.open {
    max-height: 190px;
    padding: 12px 0 14px;
  }

  .search-overlay-bar .container {
    position: relative;
    padding-right: 14px;
    padding-left: 14px;
  }

  .search-form {
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-right: 34px;
  }

  .input-group-search {
    min-width: 0;
    height: 42px;
    padding: 2px;
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
  }

  .input-group-search:focus-within {
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.12);
  }

  .search-input-icon {
    flex: 0 0 auto;
    margin-right: 6px;
    margin-left: 12px;
    font-size: 13px;
  }

  .search-input {
    min-width: 0;
    padding: 8px 4px;
    font-size: 12px;
  }

  .btn-search-submit {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 4px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .btn-search-close {
    top: 3px;
    right: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 17px;
  }

  .search-suggestions {
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 10px !important;
    padding-bottom: 2px;
    overflow-x: auto;
    font-size: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .search-suggestions::-webkit-scrollbar {
    display: none;
  }

  .suggestion-title,
  .suggestion-tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .suggestion-title {
    padding: 6px 2px 6px 0;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .suggestion-tag {
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 999px;
    background-color: rgba(197, 160, 89, 0.05);
    color: rgba(255, 255, 255, 0.75);
  }
}

/* 5. Hero Slideshow Banner (Ken Burns effect) */
.hero-slider-container {
  height: 85vh;
  min-height: 530px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  animation: kenburns 8s linear infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(18, 22, 30, 0.55) 100%),
    linear-gradient(
      to bottom,
      rgba(18, 22, 30, 0.25) 0%,
      rgba(12, 16, 22, 0.82) 100%
    );
  z-index: 10;
}

/* Hero Slider Controls */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(30, 37, 48, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: var(--transition-fast);
}

.hero-slider-prev {
  left: 40px;
}

.hero-slider-next {
  right: 40px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 25;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  background-color: var(--color-accent);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .hero-slider-prev,
  .hero-slider-next {
    width: 38px;
    height: 38px;
    top: 54%;
  }

  .hero-slider-prev {
    left: 15px;
  }

  .hero-slider-next {
    right: 15px;
  }

  .hero-slider-dots {
    bottom: 25px;
  }
}

.hero-content {
  position: absolute;
  top: 55%;
  /* Shifted downward slightly to balance layout after scroll indicator removal */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  width: 90%;
  max-width: 1050px;
  color: var(--color-white);
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1.5px;
  background-color: var(--color-accent);
  opacity: 0.8;
}

.hero-title {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  /* Smaller, refined typography scale for luxury minimalism */
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 25px;
  letter-spacing: -0.015em;
  color: var(--color-white) !important;
  /* Force override of default h1 color rules */
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 4px 30px rgba(0, 0, 0, 0.95);
  /* Strong layered shadows for maximum contrast and popping effect */
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
    /* Clean mobile title scaling */
  }
}

.hero-description {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 16px;
  /* Increased from 14px */
  font-weight: 500;
  /* Medium weight for high contrast legibility */
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.8),
    0 2px 15px rgba(0, 0, 0, 0.95);
  /* Layered shadows for readability */
}

/* Custom Hero CTA Buttons - Luxury Aesthetics */
.btn-hero-primary,
.btn-hero-secondary {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 16px 36px;
  border-radius: var(--radius-sharp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #e19a3f 0%, #d67f1c 100%);
  /* Metallic gold gradient background */
  border: none;
  color: var(--color-primary) !important;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
}

.btn-hero-primary span {
  position: relative;
  z-index: 2;
}

/* Shimmer light reflection effect */
.btn-hero-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.8s;
  z-index: 3;
}

.btn-hero-primary:hover::after {
  left: 150%;
  transition: 0.8s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.55);
  background: linear-gradient(135deg, #e9ad58 0%, #d67f1c 100%);
  /* Brighter gold gradient on hover */
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  /* Higher contrast border */
  color: var(--color-white) !important;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary span {
  position: relative;
  z-index: 2;
}

.btn-hero-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-hero-secondary:hover::before {
  left: 0;
}

.btn-hero-secondary:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.35);
}

/* Scroll indicator */
.hero-scroll-indicator {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator:hover {
  color: var(--color-accent);
}

/* Home event compare banner */
.home-sale-compare-section {
  padding: 48px 0;
  background: var(--color-bg-light);
  overflow: hidden;
}

.home-sale-compare-section .container,
.home-sale-compare-section .row,
.home-sale-compare-section [class*="col-"] {
  position: relative;
}

.home-sale-compare-section [class*="col-"] {
  z-index: 1;
}

.sale-event-copy {
  max-width: 360px;
}

.sale-event-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.sale-event-desc {
  max-width: 340px;
  margin-bottom: 22px !important;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.sale-event-btn {
  padding: 12px 24px;
}

.home-compare-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 325px;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  user-select: none;
  -webkit-user-select: none;
}

ul#pagination-list,
ul#pagination-list li span,
ul#pagination-list li a {
  border-radius: 50px !important;
}

.blog-filter-bar,
button.blog-cat-pill {
  border-radius: 20px;
}

.portfolio-card {
  border-radius: 20px;
}

.sidebar-widget {
  border-radius: 20px;
}

.faq-accordion-item {
  border-radius: 20px;
}

@media (min-width: 992px) {
  .home-sale-compare-section .row {
    /* display: grid; */
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
    align-items: center;
  }

  .home-sale-compare-section .col-lg-4,
  .home-sale-compare-section .col-lg-8 {
    width: 100%;
    max-width: 100%;
    flex: initial;
  }
}
@media (max-width: 991px) {
  .header-row-container {
    display: none !important;
  }
}
.home-compare-slider-container .compare-before,
.home-compare-slider-container .compare-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-compare-slider-container .compare-before img,
.home-compare-slider-container .compare-after img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-compare-slider-container .compare-after {
  width: 50%;
  z-index: 2;
  overflow: hidden;
  border-right: 2px solid var(--color-accent);
}

.home-compare-slider-container .compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--color-accent);
  z-index: 10;
  cursor: ew-resize;
  touch-action: none;
}

.home-compare-slider-container .compare-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.compare-mobile-drag-surface {
  display: none;
}

.mobile-compare-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.mobile-compare-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-compare-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(30, 37, 48, 0.78);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.mobile-compare-badge.badge-before {
  top: 50%;
}

.mobile-compare-badge.badge-after {
  bottom: unset;
  top: 50%;

}

.home-compare-slider-container .slider-badge {
  position: absolute;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: calc(50% - 36px);
  padding: 8px 15px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(30, 37, 48, 0.82);
  color: var(--color-white);
  border-radius: 999px;
  z-index: 20;
  white-space: nowrap;
  pointer-events: none;
}

.home-compare-slider-container .badge-before {
  left: 18px;
  right: auto;
}

.home-compare-slider-container .badge-after {
  right: 18px;
  left: auto;
}

.compare-mobile-only {
  display: none;
}

.compare-desktop-only {
  display: block;
}

@media (max-width: 768px) {
  #hero-section .hero-content {
    width: min(100% - 32px, 560px);
    padding: 0 6px;
  }

  #hero-section .hero-subtitle {
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }

  #hero-section .hero-subtitle::before,
  #hero-section .hero-subtitle::after {
    width: 16px;
  }

  #hero-section .hero-title {
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
  }

  #hero-section .hero-description {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin: 0 auto 20px;
  }

  #hero-section .btn-hero-primary,
  #hero-section .btn-hero-secondary {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  body.index-dark-theme h2.display-5,
  body.index-dark-theme h2.display-6 {
    font-size: 22px !important;
    line-height: 1.25;
    letter-spacing: 0.03em;
  }

  #sale-event-section .display-5,
  #projects-section .display-5 {
    font-size: 24px !important;
  }

  .font-body.fs-6.fw-500 {
    font-size: 10px !important;
    letter-spacing: 0.14em;
  }

  .compare-desktop-only {
    display: none;
  }

  .compare-mobile-only {
    display: block;
  }

  .home-sale-compare-section {
    padding: 40px 0;
  }

  .home-compare-swiper-mobile {
    overflow: hidden;
    border-radius: var(--radius-card);
  }

  .home-compare-swiper-mobile,
  .home-compare-swiper-mobile .swiper-slide,
  .home-compare-swiper-mobile .mobile-compare-card {
    height: 360px;
  }

  .home-compare-swiper-mobile .swiper-pagination {
    bottom: 12px !important;
  }

  .home-compare-swiper-mobile .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }

  .home-compare-swiper-mobile .swiper-pagination-bullet-active {
    background: var(--color-accent);
  }

  .value-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .value-icon {
    font-size: 26px;
    margin-bottom: 0 !important;
  }

  .value-title {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .value-desc {
    font-size: 13px;
    line-height: 1.55;
  }

  #certifications-section .certification-value-card {
    min-height: auto;
  }

  #certifications-section .certification-thumb {
    height: 180px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  #certifications-section .row.g-4,
  .section-padding.bg-white-pure.border-top.border-bottom.border-light .row.g-4 {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
  }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background-color: currentColor;
  margin: 8px auto 0;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--color-accent);
  animation: scroll-dot 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Animations */
@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

@keyframes scroll-dot {
  0% {
    top: -12px;
  }

  100% {
    top: 40px;
  }
}

/* 6. Section 2 - Giới thiệu thương hiệu (Asymmetrical Layout) */
.brand-intro-image-container {
  position: relative;
  padding-bottom: 20px;
}

.brand-intro-image-container::after {
  content: "";
  position: absolute;
  right: -15px;
  bottom: 5px;
  width: 70%;
  height: 80%;
  border: 1.5px solid var(--color-accent);
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
}

.brand-intro-image {
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.brand-intro-image:hover {
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .brand-intro-image {
    height: 320px;
  }
}

.brand-intro-text {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .brand-intro-text {
    padding-left: 0;
    margin-top: 40px;
  }
}

.brand-intro-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
}

.brand-intro-text p.lead {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
}

/* 7. Section 3 - Giá trị thương hiệu */
.value-card {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  background: #fbfbf9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 30px 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(197, 160, 89, 0.45);
  background-color: var(--color-white);
  box-shadow: 0 20px 45px rgba(197, 160, 89, 0.1);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

#certifications-section .certification-value-card {
  min-height: 300px;
}

#certifications-section .certification-thumb {
  width: 100%;
  height: 245px;
  margin: 0 auto 25px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(214, 127, 28, 0.1);
  border: 1px solid rgba(214, 127, 28, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#certifications-section .certification-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#certifications-section .value-card:hover .certification-thumb {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--color-accent);
}

.value-card:hover .value-icon {
  transform: translateY(-4px) scale(1.15);
  color: var(--color-primary);
}

.value-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.value-desc {
  font-size: 14.5px;
  line-height: 1.65;
}

.value-link {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.value-card:hover .value-link {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.value-link i {
  font-size: 10px;
  transition: transform 0.2s ease-out;
}

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

@media (max-width: 767px) {
  .value-card {
    padding:  20px;
    margin-bottom: 20px;
  }
 
}

/* 8. Section 4 - Danh mục sản phẩm (Asymmetric Grid) */
.category-card {
  position: relative;
  overflow: hidden;
  height: 440px;
  background-color: var(--color-primary);
  margin-bottom: 30px;
  border-radius: var(--radius-sharp);
}

.category-bg {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  opacity: 0.75;
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}

.category-card:hover .category-bg {
  transform: scale(1.05);
  opacity: 0.9;
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px;
  z-index: 5;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: var(--color-white);
}

.category-title {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 26px;
  color: var(--color-white);
  margin-bottom: 10px;
  font-weight: 600;
}

.category-count {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 15px;
}

.category-link {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: var(--transition-fast);
}

.category-link i {
  margin-left: 8px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-link {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

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

/* 9. Section 5 - Bộ sưu tập nổi bật (Carousel Swiper) */
.product-slider {
  padding-bottom: 50px;
}

.featured-collection-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  /* transform: translateY(-6px); */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.product-img-wrapper {
  position: relative;
  padding-top: 125%;
  /* 4:5 Aspect Ratio */
  overflow: hidden;
  background-color: #f0ede9;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 5px 10px;
  font-weight: 600;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  display: block;
}

.product-name {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--color-primary);
  flex-grow: 1;
}

.product-price {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-accent);
}

/* Swiper Pagination/Navigation customization */

@media (max-width: 991px) {
  .featured-slider-wrapper {
    padding: 0 45px;
  }
}

@media (max-width: 575px) {
  .featured-slider-wrapper {
    padding: 0;
  }
}

/* Offset Swiper Buttons positioning */
.featured-slider-wrapper .swiper-button-prev,
.featured-slider-wrapper .swiper-button-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  margin-top: -25px;
  /* Offset pagination height */
  z-index: 10;
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.featured-slider-wrapper .swiper-button-prev::after,
.featured-slider-wrapper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.featured-slider-wrapper .swiper-button-prev {
  left: -25px;
}

.featured-slider-wrapper .swiper-button-next {
  right: -25px;
}

.featured-slider-wrapper .swiper-button-prev:hover,
.featured-slider-wrapper .swiper-button-next:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.bg-image-parallax .swiper-pagination-bullet {
  background-color: var(--color-accent);
}

.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

/* 10. Section 6 & 8 - Inspiration Gallery & Real Projects (Asymmetric Grid) */
.gallery-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin-bottom: 30px;
  border-radius: var(--radius-sharp);
  display: block;
  aspect-ratio: 4 / 3;
  background-color: #f0ede9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 5;
  transition: var(--transition-smooth);
}

.gallery-hover-icon {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 12px;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.gallery-hover-title {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  transform: translateY(15px);
  transition: var(--transition-smooth);
  transition-delay: 0.1s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-hover-icon,
.gallery-item:hover .gallery-hover-title {
  transform: translateY(0);
}

/* 12. Section 9 - Video Reviews (Youtube Embed) */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sharp);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 13. Section 10 - Khách hàng nói gì (Glassmorphic Testimonials) */
.testimonial-swiper {
  padding-bottom: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sharp);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 35px 20px;
  }
}

.testimonial-quote {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 25px;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 16px;
  }
}

.testimonial-author {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: var(--color-accent);
}

.testimonial-role {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* 14. Section 11 - Form liên hệ (Brighter Luxury Gold Card) */
.booking-form-wrapper {
  background-color: var(--color-white);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 50px;
  box-shadow:
    0 30px 60px rgba(26, 28, 32, 0.06),
    0 10px 30px rgba(197, 160, 89, 0.05);
  border-radius: var(--radius-sharp);
  border-top: 4px solid var(--color-accent);
  transition: var(--transition-smooth);
}

.booking-form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow:
    0 40px 80px rgba(26, 28, 32, 0.1),
    0 15px 45px rgba(197, 160, 89, 0.1);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .booking-form-wrapper {
    padding: 35px 20px;
  }
  .booking-form-wrapper h3{
        font-size: 18px;
    margin-bottom: 10px !important;
  }
}

.form-group-custom {
  position: relative;
  margin-bottom: 30px;
}

.form-input-custom {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 28, 32, 0.18);
  padding: 10px 0;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  transition: var(--transition-fast);
  outline: none;
}

.form-label-custom {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 28, 32, 0.6);
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* Focus and active label states */
.form-input-custom:focus ~ .form-label-custom,
.form-input-custom:required:valid ~ .form-label-custom,
.form-input-custom:not(:placeholder-shown) ~ .form-label-custom {
  top: -15px;
  font-size: 10px;
  color: var(--color-accent);
  font-weight: 600;
}

.form-input-custom:focus {
  border-bottom-color: var(--color-accent);
}

.select-wrapper {
  position: relative;
}

/* CSS-only clean down arrow indicator (No FontAwesome dependency) */
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(26, 28, 32, 0.6);
  pointer-events: none;
}

/* Remove native browser select arrow styling to prevent double icons */
select.form-input-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 25px;
  /* Add padding to prevent text overlapping the custom arrow icon */
}

/* Hide native arrow for Internet Explorer */
select.form-input-custom::-ms-expand {
  display: none;
}

/* Option element fixes for light backgrounds */
select option {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Custom styled submit button inside booking form */
.booking-form-wrapper button[type="submit"] {
  background: linear-gradient(135deg, #e19a3f 0%, #d67f1c 100%) !important;
  border: none !important;
  color: var(--color-primary) !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3) !important;
  transition: var(--transition-smooth);
}

.booking-form-wrapper button[type="submit"]::before {
  display: none !important;
}

.booking-form-wrapper button[type="submit"]:hover {
  background: linear-gradient(135deg, #e9ad58 0%, #d67f1c 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45) !important;
  color: var(--color-primary) !important;
}

/* Submit notification styles */
.submit-message {
  padding: 20px;
  font-size: 13.5px;
  border-left: 2px solid var(--color-accent);
  background-color: rgba(197, 160, 89, 0.05);
  color: var(--color-primary) !important;
  display: none;
}

/* 15. Section 12 - Blog & Tin tức (Swiper Carousel Layout) */
.blog-slider-wrapper {
  position: relative;
}

@media (max-width: 991px) {
  .blog-slider-wrapper {
    padding: 0 45px;
  }
}

@media (max-width: 575px) {
  .blog-slider-wrapper {
    padding: 0;
  }
}

.blog-slider {
  padding-bottom: 50px;
}

.blog-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.blog-card {
  background-color: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-img-wrapper {
  overflow: hidden;
  position: relative;
  padding-top: 66.67%;
  /* 3:2 Ratio */
  margin-bottom: 20px;
  border-radius: var(--radius-sharp);
}

.blog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-date {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: block;
}

.blog-title {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--color-primary);
}

.blog-desc {
  color: var(--color-text-muted);
  font-size: 14.5px;
  margin-bottom: 15px;
  line-height: 1.65;
  flex-grow: 1;
}

.blog-link {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 3px;
  align-self: flex-start;
}

.blog-card:hover .blog-link {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Partner slider */
.partner-section {
  overflow: hidden;
  border-bottom: 1px solid #d67f1c8c;
}

.partner-swiper {
  overflow: visible;
}

.partner-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.partner-swiper .swiper-slide {
  width: 240px;
  flex: 0 0 240px;
}

.partner-card {
  height: 112px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid rgba(214, 127, 28, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(30, 37, 48, 0.06);
}

.partner-card img {
  width: 100%;
  max-width: 180px;
  height: 64px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: var(--transition-fast);
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .partner-swiper .swiper-slide {
    width: 210px;
    flex-basis: 210px;
  }
}

/* Offset Swiper Buttons positioning for Blog Slider */
.blog-slider-wrapper .swiper-button-prev,
.blog-slider-wrapper .swiper-button-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.blog-slider-wrapper .swiper-button-prev::after,
.blog-slider-wrapper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.blog-slider-wrapper .swiper-button-prev {
  left: -25px;
}

.blog-slider-wrapper .swiper-button-next {
  right: -25px;
}

.blog-slider-wrapper .swiper-button-prev:hover,
.blog-slider-wrapper .swiper-button-next:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

/* 16. Section 13 - Footer */
footer.footer-luxury {
  background-color: var(--color-footer-bg);
  color: var(--color-text-light);
  padding: 60px 0 30px;
  border-top: 3px solid var(--color-accent);
}

.footer-logo {
  height: 90px;
  width: auto;
  margin: 0 auto;
  display: flex;
  margin-bottom: 25px;
}

.footer-title {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 25px;
  font-weight: 600 !important;
}

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

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

.footer-links a {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-info {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-contact-info p {
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 12px;
}

.footer-contact-info i {
  color: var(--color-accent);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 25px;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-social-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 15px;
  transition: var(--transition-fast);
}

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

/* Mobile responsive menu overrides */
#mobileMenu {
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  background-color: var(--color-bg-dark);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobileMenu .nav-link {
  margin: 6px 0;
  font-size: 13.5px;
}

/* Tablet / Small Laptop dynamic scaling overrides */
@media (max-width: 1650px) {
  header.sticky-header .container-fluid {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .header-row-container {
    grid-template-columns: minmax(0, 0.96fr) 164px minmax(0, 1.04fr);
  }

  .nav-left {
    padding-right: 18px;
  }

  .nav-right {
    padding-left: 18px;
  }

  .header-actions {
    gap: 12px;
  }

  .nav-hotline {
    font-size: 14.5px;
  }

  .btn-header-cta {
    font-size: 13.5px;
    padding: 7px 14px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1480px) {
  .header-row-container {
    grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr);
  }

  .hotline-text {
    display: none;
    /* Hide hotline text to save horizontal space and keep logo centered */
  }

  .nav-hotline {
    font-size: 15px;
  }
}

@media (min-width: 1401px) and (max-width: 1700px) {
  header.sticky-header .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-row-container {
    grid-template-columns: minmax(0, 1fr) 144px minmax(0, 1fr);
  }

  .nav-left,
  .nav-right {
    gap: clamp(10px, 1vw, 16px);
  }

  .nav-left {
    padding-right: 12px;
  }

  .nav-right {
    padding-left: 12px;
  }

  .nav-link {
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }

  .header-actions {
    gap: 10px;
    margin-left: 4px !important;
  }

  .nav-icon,
  .nav-hotline {
    font-size: 14px;
  }

  .btn-header-cta {
    flex-shrink: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 7px 11px;
  }
}

@media (max-width: 1200px) {
  .nav-left,
  .nav-right {
    gap: 16px;
    /* Compress gap to prevent menu text wrapping */
  }

  .nav-left {
    padding-right: 18px;
  }

  .nav-right {
    padding-left: 18px;
  }

  .header-actions {
    gap: 12px;
    /* Compress spacing between actions */
  }
}

@media (max-width: 1400px) {
  .btn-header-cta {
    display: none;
  }
}

@media (max-width: 1160px) {
  .nav-hotline {
    display: none;
  }
}

@media (max-width: 1100px) {
  header.sticky-header .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .header-row-container {
    grid-template-columns: minmax(0, 1.08fr) 132px minmax(0, 0.92fr);
  }

  .header-actions {
    margin-left: 0 !important;
  }

  .logo-center {
    padding: 8px 14px 11px;
    border-radius: 0 0 16px 16px;
  }

  .logo-img {
    height: 50px;
  }

  .nav-left {
    padding-right: 12px;
  }

  .nav-right {
    padding-left: 12px;
  }
}

/* ==========================================================================
   14. Floating Contact Widgets
   ========================================================================== */
.floating-contact-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Main Toggle Button */
.contact-toggle-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #e9ad58 0%, #d67f1c 100%);
  color: var(--color-bg-dark, #1e2530);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
}

.contact-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
}

.contact-toggle-btn:focus-visible {
  outline: 2px solid var(--color-accent, #d67f1c);
  outline-offset: 3px;
}

.contact-toggle-btn .icon-chat,
.contact-toggle-btn .icon-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s ease;
}

.contact-toggle-btn .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Expanded state icon animation */
.floating-contact-container.active .contact-toggle-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-contact-container.active .contact-toggle-btn .icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.floating-contact-container.active .contact-toggle-btn .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Pulsing background effect */
.contact-toggle-btn .glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #d67f1c;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: contact-pulse 2.5s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-toggle-btn .glow-ring-2 {
  animation-delay: 1.2s;
}

@keyframes contact-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Action items list styling */
.contact-action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
}

/* Active expanded state */
.floating-contact-container.active .contact-action-list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Individual action buttons */
.contact-action-item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-white, #ffffff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
}

.contact-action-item:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-icon-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  /* Safe padding for nested images */
  background: transparent;
}

.contact-icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.contact-action-item:hover .contact-icon-wrapper img {
  transform: scale(1.05);
}

/* Background overrides per brand icon to ensure high quality presentation */
.item-zalo .contact-icon-wrapper {
  padding: 0;
  /* Zalo icon doesn't need internal padding */
}

.item-messenger .contact-icon-wrapper {
  padding: 9px;
}

.item-call {
  background-color: var(--color-accent);
  /* Rich elegant deep green for call brand */
}

.item-call .contact-icon-wrapper {
  padding: 12px;
}

.item-call .contact-icon-wrapper img {
  filter: brightness(0) invert(1);
  /* Phone icon is solid black in download, invert to make it white on green background */
}

/* Tooltip labels on hover */
.contact-tooltip {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: rgba(30, 37, 48, 0.95);
  color: var(--color-white, #ffffff);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.contact-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(30, 37, 48, 0.95);
}

.contact-action-item:hover .contact-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .floating-contact-container {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .contact-toggle-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .contact-action-item {
    width: 44px;
    height: 44px;
  }

  .contact-tooltip {
    display: none;
    /* Hide tooltips on touch screens to prevent sticky hover state issues */
  }
}

/* Accessibility: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .contact-toggle-btn,
  .contact-action-list,
  .contact-action-item,
  .contact-icon-wrapper img,
  .contact-tooltip,
  .contact-toggle-btn .icon-chat,
  .contact-toggle-btn .icon-close {
    transition: none !important;
  }

  .contact-toggle-btn .glow-ring {
    animation: none !important;
  }

  .product-grid-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Hometech - PRODUCT CATEGORY PAGE STYLES
   ========================================================================== */

/* Category Header Banner */
.category-banner {
  position: relative;
  min-height: 360px;
  height: clamp(320px, 36vw, 430px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-top: 0;
}

.category-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(197, 160, 89, 0.16) 0%,
      rgba(197, 160, 89, 0) 32%
    ),
    linear-gradient(
      180deg,
      rgba(18, 22, 30, 0.45) 0%,
      rgba(18, 22, 30, 0.76) 58%,
      rgba(18, 22, 30, 0.92) 100%
    );
  z-index: 1;
}

.category-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(920px, calc(100% - 32px));
  padding: 110px 0 48px;
}

.category-banner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.12;
  margin-bottom: 18px;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.breadcrumbs {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(18, 22, 30, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span.separator {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  color: var(--color-accent);
  opacity: 0.9;
}

.breadcrumbs span.current {
  color: var(--color-accent);
  font-weight: 600;
}

/* Category Layout */
.category-main-content {
  padding: 60px 0;
}

/* Filter Sidebar */
.filter-sidebar {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px;
  position: sticky;
  top: 100px;
  z-index: 10;
}

.filter-sidebar-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  /* Keep inline to prevent height jump */
  gap: 15px;
}

.filter-sidebar-title span {
  white-space: nowrap;
  color: var(--color-primary);
}

#btn-clear-filters {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent) !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background-color: transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#btn-clear-filters i {
  font-size: 10px;
  transition: transform 0.4s ease;
}

#btn-clear-filters.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#btn-clear-filters:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.15);
  transform: translateY(-1px);
}

#btn-clear-filters:hover i {
  transform: rotate(-180deg);
}

.btn-filter-close,
.btn-filter-toggle,
.filter-drawer-overlay {
  display: none;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Checkbox Styling to match Luxury Theme */
.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text-dark);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-right: 12px;
  transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--color-accent);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-count {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-left: auto;
}

/* Toolbar and Sort */
.category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-count-info {
  font-size: 14px;
  color: var(--color-text-muted);
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-label {
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  white-space: nowrap;
}

.sort-select {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
  padding: 8px 30px 8px 15px;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  border-radius: 0;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233A424A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

.sort-select:focus {
  border-color: var(--color-accent);
}

/* Products Grid */
.products-list-row {
  margin-top: -30px !important;
  transition: opacity 0.3s ease;
}

.products-list-row.loading {
  opacity: 0.5;
}

.products-list-row > * {
  margin-top: 30px !important;
  margin-bottom: 0px !important;
}

.product-grid-item {
  opacity: 0;
  transform: translateY(18px);
  animation: productGridReveal 0.52s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: min(calc(var(--product-order, 0) * 55ms), 440ms);
}

@keyframes productGridReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card details for category page */
.product-card {
  background-color: var(--color-white);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(197, 160, 89, 0.15);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  /* uniform height for product images */
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-list-row .product-img-wrapper {
  padding-top: 0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.products-list-row .product-img {
  position: static;
}

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

.product-action-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(
    to top,
    rgba(18, 22, 30, 0.8) 0%,
    transparent 100%
  );
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  z-index: 5;
}

.product-card:hover .product-action-overlay {
  bottom: 0;
  opacity: 1;
}

.btn-card-action {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-white);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 6px;
}

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

.btn-card-cta {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 10px;
  display: flex;
  align-items: center;
  height: 42px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 6px;
}

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

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  z-index: 2;
  border-radius: 20px;
}

.product-badge.best {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-body {
  padding: 20px;
  text-align: center;
  display: block !important;
  /* disable flex layout to prevent huge vertical gaps */
}

.product-brand {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  transition: var(--transition-fast);
  flex-grow: 0 !important;
  /* disable flex grow stretching */
}

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

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

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

.product-price {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 8px;
  /* close and uniform vertical spacing */
}

/* Pagination */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination-item a,
.pagination-item span {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.pagination-item a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pagination-item.active span {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.pagination-item.disabled span {
  color: var(--color-text-muted);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Quick View Modal styling override */
.modal-content.quickview-content {
  border-radius: 0;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  overflow: hidden;
}

.modal-header.quickview-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 30px;
}

.modal-header .btn-close {
  background-color: transparent;
  opacity: 0.8;
  filter: brightness(0.2);
  transition: var(--transition-fast);
}

.modal-header .btn-close:hover {
  transform: rotate(90deg);
}

.modal-body.quickview-body {
  padding: 30px;
}

.qv-image-column {
  background-color: #ffffff;
  /* White background to blend seamlessly with modal */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  aspect-ratio: 1 / 1;
  /* Square aspect ratio to match products and stretch height */
  width: 100%;
  overflow: hidden;
  padding: 15px;
  /* Breathe room */
  transition: var(--transition-smooth);
}

.qv-image-column img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* fully show product without cropping */
}

.qv-details-column {
  padding-left: 20px;
}

.qv-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 8px;
}

.qv-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.qv-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.qv-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.qv-specs-table {
  width: 100%;
  margin-bottom: 25px;
}

.qv-specs-table td {
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.qv-specs-table td.spec-label {
  font-weight: 600;
  color: var(--color-primary);
  width: 40%;
}

.qv-specs-table td.spec-value {
  color: var(--color-text-dark);
}

/* Mobile responsive fixes */
@media (max-width: 991px) {
  .category-banner {
    min-height: 300px;
    height: 36vh;
    align-items: flex-end;
  }

  .category-banner .banner-content {
    width: min(100% - 28px, 640px);
    padding: 92px 0 28px;
  }

  .category-banner h1 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
  }

  .breadcrumbs {
    padding: 9px 12px;
    gap: 6px 8px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  body.filter-drawer-open {
    overflow: hidden;
  }

  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px);
    margin-bottom: 0;
    padding: 22px 20px 28px;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1060;
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.28);
    -webkit-overflow-scrolling: touch;
  }

  .filter-sidebar.is-open {
    transform: translateX(0);
  }

  .filter-sidebar-title {
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }

  .filter-sidebar-title span {
    flex: 1 1 auto;
  }

  .btn-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background-color: transparent;
    color: var(--color-accent);
    font-size: 16px;
    transition: var(--transition-fast);
  }

  .btn-filter-close:hover,
  .btn-filter-close:focus {
    background-color: var(--color-accent);
    color: var(--color-primary);
  }

  .filter-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 1050;
  }

  .filter-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .category-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(197, 160, 89, 0.55);
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-fast);
  }

  .btn-filter-toggle:hover,
  .btn-filter-toggle:focus {
    background-color: transparent;
    color: var(--color-accent);
  }

  .product-count-info {
    text-align: center;
    line-height: 1.5;
  }

  .sort-container {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  .sort-select {
    flex: 1;
    min-width: 0;
    height: 42px;
  }

  .products-list-row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 18px;
    margin-top: -18px !important;
  }

  .products-list-row > * {
    margin-top: 18px !important;
  }

  .products-list-row [data-aos^="fade"][data-aos^="fade"] {
    opacity: 1;
    transform: none;
  }

  .products-list-row .product-img-wrapper {
    aspect-ratio: 1 / 0.92;
  }

  .products-list-row .product-card-body {
    padding: 12px 10px 14px;
  }

  .products-list-row .product-brand {
    font-size: 10px;
    line-height: 1.35;
    margin-bottom: 5px;
  }

  .products-list-row .product-name {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 8px !important;
  }

  .products-list-row .product-price {
    font-size: 13px;
    line-height: 1.35;
  }

  .products-list-row .product-action-overlay {
    display: none;
  }

  .qv-details-column {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 575px) {
  .category-banner {
    min-height: 270px;
    height: auto;
  }
  .category-main-content {
    padding: 0px 0 50px;
  }
  .category-banner .banner-content {
    padding-top: 86px;
    padding-bottom: 22px;
  }

  .category-banner h1 {
    font-size: 20px;
    line-height: 1.16;
  }

  .breadcrumbs {
    justify-content: center;
    padding: 8px 10px;
    font-size: 10px;
  }

  .breadcrumbs span.current {
    flex-basis: 100%;
  }

  .products-list-row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 14px;
  }

  .products-list-row .product-img-wrapper {
    aspect-ratio: 1 / 0.86;
  }

  .products-list-row .product-card-body {
    padding: 10px 8px 12px;
  }

  .products-list-row .product-name {
    font-size: 12px;
  }

  .products-list-row .product-price {
    font-size: 12px;
  }
}

/* ==========================================================================
   Hometech - PRODUCT DETAIL PAGE STYLES
   ========================================================================== */
.product-detail-section {
  padding: 60px 0;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
}

.main-image-viewport {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  position: relative;
  cursor: zoom-in;
}

.main-image-viewport img {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.main-image-viewport:hover img {
  transform: scale(1.03);
}

.zoom-hint-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  z-index: 2;
  transition: var(--transition-fast);
}

.main-image-viewport:hover .zoom-hint-badge {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
}

.thumb-item {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

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

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.1);
}

.thumb-item.active {
  border-width: 2px;
}

/* Product Info */
.product-detail-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 10px;
}

.product-detail-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.product-detail-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.product-short-specs {
  margin-bottom: 30px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  font-size: 14.5px;
}

.spec-label {
  font-weight: 600;
  color: var(--color-primary);
}

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

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  height: 48px;
  width: 120px;
}

.btn-qty {
  background: transparent;
  border: none;
  width: 35px;
  height: 100%;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-qty:hover {
  color: var(--color-accent);
}

.input-qty {
  border: none;
  background: transparent;
  width: 50px;
  height: 100%;
  text-align: center;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  appearance: textfield;
}

.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product buy controls */
.btn-add-cart {
  height: 48px;
  padding: 0 32px;
}

/* Vouchers */
.vouchers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voucher-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 15px 20px;
  position: relative;
  overflow: hidden;
}

.voucher-card::before,
.voucher-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background-color: var(--color-bg-light);
  /* blends with page bg */
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.voucher-card::before {
  left: -8px;
}

.voucher-card::after {
  right: -8px;
}

.voucher-info {
  display: flex;
  flex-direction: column;
  padding-right: 15px;
}

.voucher-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
}

.voucher-subtitle {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.btn-copy-code {
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent) !important;
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 5px 12px;
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  z-index: 3;
}

.btn-copy-code:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
}

.btn-copy-code.copied {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-color: var(--color-primary);
}

/* Tabs navigation */
.nav-tabs-custom {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  gap: 30px;
}

.nav-tabs-custom::-webkit-scrollbar {
  height: 0px;
}

.tab-item {
  padding: 15px 0;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-item:hover,
.tab-item.active {
  color: var(--color-primary);
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.tab-item.active::after {
  width: 100%;
}

.tab-pane-custom {
  display: none;
}

.tab-pane-custom.active {
  display: block;
}

.rich-text-content {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.install-steps {
  list-style: none;
  padding: 0;
}

.install-steps li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.install-steps li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Specs table */
.specs-table-detail {
  width: 100%;
  border-collapse: collapse;
}

.specs-table-detail td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.specs-table-detail td.label {
  font-weight: 600;
  color: var(--color-primary);
  width: 250px;
}

/* Ratings */
.rating-score-box {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 30px 24px;
  text-align: center;
  border-radius: var(--radius-sharp, 0px);
}

.score-summary-header {
  margin-bottom: 15px;
}

.score-number {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.score-stars {
  font-size: 15px;
  margin-top: 10px;
}

.score-total {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.rating-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
}

.rating-breakdown {
  text-align: left;
}

.breakdown-row {
  font-size: 13px;
  color: var(--color-text-muted);
}

.breakdown-label {
  min-width: 45px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.progress-bar-container {
  height: 6px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.breakdown-count {
  min-width: 35px;
  text-align: right;
  font-weight: 500;
}

/* Reviews list */
.review-item {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.reviewer-name {
  font-size: 14.5px;
  color: var(--color-primary);
}

.review-stars {
  font-size: 12px;
}

.review-date {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.review-comment {
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* Custom form elements */
.form-control-luxury {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: var(--color-text-dark);
  padding: 12px 18px;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  border-radius: 0;
  transition: var(--transition-fast);
}

.form-control-luxury::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-control-luxury:focus {
  border-color: var(--color-accent);
}

.form-control-luxury.dark {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.form-control-luxury.dark::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-control-luxury.dark:focus {
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.02);
}

.star-rating-select {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.star-select {
  transition: var(--transition-fast);
}

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

/* Related Products Slider */
.related-products-section {
  padding: 60px 0;
}

.related-products-swiper-container {
  position: relative;
}

.related-products-swiper {
  padding: 10px 0 40px;
}

.related-prev,
.related-next {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.related-prev {
  left: -20px;
}

.related-next {
  right: -20px;
}

.related-prev:hover,
.related-next:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 6px 15px rgba(197, 160, 89, 0.2);
}

/* Showroom booking form block details */
.booking-form-luxury {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
}

.hotline-box-detail {
  display: inline-block;
}

.icon-phone-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-smooth);
}

.hotline-box-detail a:hover .icon-phone-box {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .main-image-viewport {
    padding: 10px;
  }

  .thumb-item {
    width: 65px;
    height: 65px;
  }

  .specs-table-detail td.label {
    width: 130px;
  }

  .related-prev,
  .related-next {
    display: none !important;
    /* hide navigation arrows on touch mobile */
  }

  .booking-form-luxury {
    padding: 20px;
  }
}

/* ==========================================================================
   Hometech - CART DRAWER STYLES
   ========================================================================== */
/* Header Badge Count */
.cart-badge-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  transition: var(--transition-fast);
}

.nav-icon:hover .cart-badge-count {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Cart Overlay */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 22, 30, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer container */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  /* Hidden state */
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 2001;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer.active {
  right: 0;
}

/* Header */
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h4 {
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--color-primary);
}

.btn-close-cart {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-cart:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

/* Body list */
.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Cart item row */
.cart-item-row {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  position: relative;
  align-items: center;
}

.cart-item-row:first-child {
  padding-top: 0;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-brand {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2px 0 6px;
  line-height: 1.4;
}

.cart-item-name a:hover {
  color: var(--color-accent);
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Mini Quantity Selector inside Cart Drawer */
.cart-item-qty-control {
  display: flex;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
}

.cart-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 28px;
  width: 80px;
}

.btn-cart-qty {
  background: transparent;
  border: none;
  width: 24px;
  height: 100%;
  cursor: pointer;
  font-size: 8px;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-cart-qty:hover {
  color: var(--color-accent);
}

.input-cart-qty {
  border: none;
  background: transparent;
  width: 32px;
  height: 100%;
  text-align: center;
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  outline: none;
}

.btn-cart-remove {
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  font-size: 14px;
  margin-left: auto;
}

.btn-cart-remove:hover {
  color: #e05e5e;
}

/* Footer & checkout */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--color-bg-light);
}

.cart-subtotal {
  font-size: 14px;
}

.subtotal-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

.subtotal-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.cart-checkout-box {
  margin-top: 15px;
}

.cart-checkout-box h5 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 6px;
}

/* Empty cart state */
.empty-cart-message {
  text-align: center;
  padding: 40px 10px;
  color: var(--color-text-muted);
}

.empty-cart-message i {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--color-accent);
}

/* 12. Checkout Page Styles */
.checkout-section {
  background-color: var(--color-bg-light);
}

.checkout-card {
  background-color: var(--color-white);
  padding: 35px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  margin-bottom: 30px;
  border-radius: var(--radius-sharp);
}

.checkout-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(26, 28, 32, 0.08);
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 28, 32, 0.05);
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(26, 28, 32, 0.05);
  background-color: var(--color-white);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.checkout-item-details {
  flex-grow: 1;
  padding: 0 15px;
}

.checkout-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 2px;
}

.checkout-item-qty {
  font-size: 12px;
  color: var(--color-text-muted);
}

.checkout-item-price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
  flex-shrink: 0;
}

.payment-methods {
  margin-top: 15px;
}

.payment-method-item {
  padding: 20px;
  border: 1px solid rgba(26, 28, 32, 0.15);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--radius-sharp);
}

.payment-method-item:hover {
  border-color: var(--color-accent);
}

.payment-method-item.active {
  border-color: var(--color-accent);
  background-color: rgba(197, 160, 89, 0.03);
}

.payment-method-details {
  display: none;
  padding: 20px;
  background-color: var(--color-bg-light);
  border: 1px solid rgba(26, 28, 32, 0.08);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: -12px;
  margin-bottom: 12px;
  border-radius: var(--radius-sharp);
}

.payment-method-details.show {
  display: block;
}

.success-icon-wrapper {
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.max-w-600 {
  max-width: 600px;
}

/* Swiper Custom Arrow Fix for Related Products */
.related-products-swiper-container .swiper-button-prev::after,
.related-products-swiper-container .swiper-button-next::after {
  display: none !important;
}

.related-products-swiper-container .swiper-button-prev,
.related-products-swiper-container .swiper-button-next {
  color: var(--color-primary) !important;
  background-color: var(--color-white) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition: var(--transition-fast) !important;
}

.related-products-swiper-container .swiper-button-prev:hover,
.related-products-swiper-container .swiper-button-next:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-primary) !important;
  transform: translateY(-55%) scale(1.1) !important;
  box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3) !important;
}

/* ==========================================================================
   20. Index Dark Theme (Background #1f2531)
   ========================================================================== */
body.index-dark-theme {
  background-color: #1f2531;
  color: var(--color-text-light);
}

/* Background overrides for alternating sections */
body.index-dark-theme .bg-white-pure {
  background-color: #1f2531 !important;
}

body.index-dark-theme .bg-warm {
  background-color: #161b25 !important;
}

/* Borders adjustment on dark sections */
body.index-dark-theme .border-top,
body.index-dark-theme .border-bottom,
body.index-dark-theme .border-light {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Text overrides for headers and body */
body.index-dark-theme h1,
body.index-dark-theme h2,
body.index-dark-theme h3,
body.index-dark-theme h4,
body.index-dark-theme h5,
body.index-dark-theme h6,
body.index-dark-theme .font-serif,
body.index-dark-theme .display-5,
body.index-dark-theme .display-6 {
  color: var(--color-white) !important;
}

body.index-dark-theme p,
body.index-dark-theme .text-secondary,
body.index-dark-theme .lead {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Value Cards styling in dark theme */
body.index-dark-theme .value-card {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .value-card:hover {
  background-color: #242b39;
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 20px 45px rgba(197, 160, 89, 0.1);
}

body.index-dark-theme .value-title {
  color: var(--color-white) !important;
}

body.index-dark-theme .value-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.index-dark-theme .value-card:hover .value-icon {
  color: var(--color-accent) !important;
}

body.index-dark-theme .value-link {
  color: var(--color-accent) !important;
}

/* Category Cards styling adjustments */
body.index-dark-theme .category-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Product Cards styling in dark theme */
body.index-dark-theme .product-card {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .product-card:hover {
  background-color: #242b39;
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.index-dark-theme .product-brand {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.index-dark-theme .product-name {
  color: var(--color-white) !important;
}

body.index-dark-theme .product-name a {
  color: var(--color-white) !important;
  text-decoration: none;
}

body.index-dark-theme .product-name a:hover {
  color: var(--color-accent) !important;
}

body.index-dark-theme .product-price {
  color: var(--color-white) !important;
}

body.index-dark-theme .product-img-wrapper {
  background-color: #1a202c;
}

/* Blog Cards styling adjustments */
body.index-dark-theme .blog-title {
  color: var(--color-white) !important;
}

body.index-dark-theme .blog-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.index-dark-theme .blog-link {
  color: var(--color-white) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.index-dark-theme .blog-link:hover {
  color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}

/* Booking Form styling in dark theme */
body.index-dark-theme .booking-form-wrapper {
  background-color: #161b25;
  border-color: rgba(197, 160, 89, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

body.index-dark-theme .booking-form-wrapper:hover {
  border-color: var(--color-accent);
}

body.index-dark-theme .form-input-custom {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

body.index-dark-theme .form-input-custom:focus {
  border-bottom-color: var(--color-accent);
}

body.index-dark-theme .form-label-custom {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .form-input-custom:focus ~ .form-label-custom,
body.index-dark-theme .form-input-custom:required:valid ~ .form-label-custom,
body.index-dark-theme
  .form-input-custom:not(:placeholder-shown)
  ~ .form-label-custom {
  color: var(--color-accent);
}

/* Select dropdown fix inside booking form */
body.index-dark-theme select.form-input-custom option {
  background-color: #161b25;
  color: var(--color-white);
}

/* Testimonial custom styling for index-dark-theme */
body.index-dark-theme .testimonial-card .testimonial-quote {
  color: var(--color-white);
}

body.index-dark-theme .testimonial-card .testimonial-author {
  color: var(--color-accent);
}

/* Gallery overlay icon and hover colors */
body.index-dark-theme .gallery-hover-overlay {
  background-color: rgba(22, 27, 37, 0.85);
}

body.index-dark-theme .gallery-item {
  background-color: #161b25;
}

/* Video Wrapper border */
body.index-dark-theme .video-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Swiper Pagination Bullets */
body.index-dark-theme .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
}

body.index-dark-theme .swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

/* Buttons contrast fix in dark theme */
body.index-dark-theme .btn-luxury-outline {
  color: var(--color-white) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background-color: transparent !important;
}

body.index-dark-theme .btn-luxury-outline:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-accent) !important;
}

body.index-dark-theme .btn-luxury {
  border-color: var(--color-accent) !important;
  background-color: transparent !important;
  color: var(--color-white) !important;
}

body.index-dark-theme .btn-luxury:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-accent) !important;
}

/* Floating Cart Button Styles */
.floating-cart-btn {
  position: fixed;
  bottom: 105px;
  /* placed above Zalo/hotline toggle button at bottom: 30px + height 60px */
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary, #1a1c20);
  color: var(--color-white, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 1999;
  transition: var(--transition-smooth, all 0.3s ease);
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-cart-btn:hover {
  background: linear-gradient(135deg, #e9ad58 0%, #d67f1c 100%) !important;
  color: #1a1c20 !important;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
  border-color: var(--color-accent);
}

.floating-cart-btn .cart-badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--color-accent, #d67f1c);
  color: #1a1c20;
  font-size: 10px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1f2531;
  transition: var(--transition-fast);
}

/* Push the cart button up when the contact widget is active */
.floating-contact-container.active ~ .floating-cart-btn {
  bottom: 295px;
}

/* Responsive adjustment for mobile screen sizes */
@media (max-width: 768px) {
  .floating-cart-btn {
    bottom: 84px;
    right: 21px;
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .floating-contact-container.active ~ .floating-cart-btn {
    bottom: 252px;
  }
}

/* ==========================================================================
   21. Index Dark Theme Cart Drawer Styles
   ========================================================================== */
body.index-dark-theme .cart-drawer {
  background-color: #161b25;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .cart-drawer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .cart-drawer-header h4 {
  color: var(--color-white) !important;
}

body.index-dark-theme .btn-close-cart {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .btn-close-cart:hover {
  color: var(--color-accent);
}

body.index-dark-theme .cart-drawer-footer {
  background-color: #11141c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .subtotal-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.index-dark-theme .subtotal-price {
  color: var(--color-accent) !important;
}

body.index-dark-theme .cart-item-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .cart-item-img {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: #1f2531;
}

body.index-dark-theme .cart-item-name a {
  color: var(--color-white) !important;
}

body.index-dark-theme .cart-item-name a:hover {
  color: var(--color-accent) !important;
}

body.index-dark-theme .cart-item-price {
  color: var(--color-accent) !important;
}

body.index-dark-theme .cart-qty-selector {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: #1f2531;
}

body.index-dark-theme .btn-cart-qty {
  color: rgba(255, 255, 255, 0.6);
}

body.index-dark-theme .btn-cart-qty:hover {
  color: var(--color-accent);
}

body.index-dark-theme .input-cart-qty {
  color: var(--color-white);
}

body.index-dark-theme .btn-cart-remove {
  color: rgba(255, 255, 255, 0.3);
}

body.index-dark-theme .btn-cart-remove:hover {
  color: #e05e5e;
}

body.index-dark-theme .text-gold {
  color: var(--color-accent) !important;
}

/* ==========================================================================
   21.1 Product Category Page Dark Theme Overrides
   ========================================================================== */
body.index-dark-theme .filter-sidebar {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .filter-sidebar-title {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .filter-sidebar-title span {
  color: var(--color-white);
}

body.index-dark-theme .custom-checkbox {
  color: rgba(255, 255, 255, 0.7);
}

body.index-dark-theme .checkmark {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: transparent;
}

body.index-dark-theme .custom-checkbox input:checked ~ .checkmark {
  background-color: #1a1c20;
  border-color: var(--color-accent);
}

body.index-dark-theme .filter-count {
  color: rgba(255, 255, 255, 0.4);
}

body.index-dark-theme .category-toolbar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .btn-filter-close {
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--color-accent);
}

body.index-dark-theme .btn-filter-close:hover,
body.index-dark-theme .btn-filter-close:focus {
  background-color: var(--color-accent);
  color: #161b25;
}

body.index-dark-theme .btn-filter-toggle {
  border-color: rgba(197, 160, 89, 0.55);
}

body.index-dark-theme .btn-filter-toggle:hover,
body.index-dark-theme .btn-filter-toggle:focus {
  color: var(--color-accent);
}

body.index-dark-theme .product-count-info {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .product-count-info .text-dark {
  color: var(--color-white) !important;
}

body.index-dark-theme .sort-label {
  color: rgba(255, 255, 255, 0.7);
}

body.index-dark-theme .sort-select {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: #161b25;
  color: var(--color-white);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23C5A059' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

body.index-dark-theme .pagination-item a,
body.index-dark-theme .pagination-item span {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

body.index-dark-theme .pagination-item a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

body.index-dark-theme .pagination-item.active span {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #1a1c20;
}

body.index-dark-theme .pagination-item.disabled span {
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   21.2 Product Detail Page Dark Theme Overrides
   ========================================================================== */
body.index-dark-theme .product-detail-title {
  color: var(--color-white) !important;
}

body.index-dark-theme .product-detail-price {
  color: var(--color-accent) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .spec-row {
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

body.index-dark-theme .spec-label {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.index-dark-theme .spec-value {
  color: var(--color-white) !important;
}

body.index-dark-theme .quantity-selector {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: #161b25;
}

body.index-dark-theme .btn-qty {
  color: rgba(255, 255, 255, 0.6);
}

body.index-dark-theme .btn-qty:hover {
  color: var(--color-accent);
}

body.index-dark-theme .input-qty {
  color: var(--color-white);
}

body.index-dark-theme .voucher-card {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .voucher-card::before,
body.index-dark-theme .voucher-card::after {
  background-color: #1f2531 !important;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .voucher-title {
  color: var(--color-white);
}

body.index-dark-theme .voucher-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .btn-copy-code {
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--color-accent);
}

body.index-dark-theme .btn-copy-code:hover {
  background-color: var(--color-accent);
  color: #1a1c20 !important;
}

body.index-dark-theme .nav-tabs-custom {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.index-dark-theme .tab-item {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.index-dark-theme .tab-item:hover,
body.index-dark-theme .tab-item.active {
  color: var(--color-white) !important;
}

body.index-dark-theme .rich-text-content {
  color: rgba(255, 255, 255, 0.7);
}

body.index-dark-theme .specs-table-detail td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8) !important;
}

body.index-dark-theme .specs-table-detail td.label {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.index-dark-theme .rating-score-box {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .score-number {
  color: var(--color-white);
}

body.index-dark-theme .score-total {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .rating-divider {
  background-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .breakdown-row {
  color: rgba(255, 255, 255, 0.5);
}

body.index-dark-theme .progress-bar-container {
  background-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .review-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .reviewer-avatar {
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--color-accent);
}

body.index-dark-theme .reviewer-name {
  color: var(--color-white);
}

body.index-dark-theme .review-date {
  color: rgba(255, 255, 255, 0.4);
}

body.index-dark-theme .review-comment {
  color: rgba(255, 255, 255, 0.7);
}

body.index-dark-theme .star-rating-select .star-select {
  color: rgba(255, 255, 255, 0.15);
}

body.index-dark-theme .star-rating-select .star-select.active {
  color: var(--color-accent);
}

body.index-dark-theme .form-control-luxury {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

body.index-dark-theme .form-control-luxury::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

body.index-dark-theme .form-control-luxury:focus {
  border-color: var(--color-accent);
  background-color: #1f2531;
}

body.index-dark-theme .main-image-viewport {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .thumb-item {
  background-color: #161b25;
  border-color: rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .thumb-item:hover,
body.index-dark-theme .thumb-item.active {
  border-color: var(--color-accent);
}

/* ==========================================================================
   22. Contact Page Styles
   ========================================================================== */
.contact-info-wrapper {
  padding-right: 20px;
}

.contact-details-list {
  margin-top: 30px;
}

.contact-detail-item {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius-sharp, 0px);
  transition: var(--transition-smooth, all 0.3s ease);
  margin-bottom: 20px;
}

.contact-detail-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-detail-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 18px;
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.contact-detail-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

.text-secondary-light {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 13.5px;
  line-height: 1.6;
}

.btn-map-nav {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: var(--transition-fast, all 0.2s ease);
}

.btn-map-nav:hover {
  color: var(--color-white) !important;
  transform: translateX(3px);
}

/* Contact page map section styling */
body.index-dark-theme #map-section {
  background-color: #1f2531 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.index-dark-theme #map-section .map-section-title {
  color: var(--color-white) !important;
}

/* Map tab buttons styling */
#map-section .map-tab-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#map-section .map-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-family: GaggenauRegular, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--radius-sharp, 0px);
}

#map-section .map-tab-btn:hover {
  border-color: rgba(197, 160, 89, 0.5);
  color: var(--color-accent);
}

#map-section .map-tab-btn.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

#map-section .map-container-wrapper {
  width: 100%;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#map-section .map-container iframe {
  display: block;
  width: 100%;
}

/* Fix dark theme success message color */
body.index-dark-theme .submit-message {
  color: var(--color-white) !important;
  background-color: rgba(197, 160, 89, 0.08);
  border-left-color: var(--color-accent);
}

body.index-dark-theme .booking-success-msg {
  background-color: rgba(197, 160, 89, 0.08);
  border-left: 2px solid var(--color-accent);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

body.index-dark-theme .booking-success-msg i {
  font-size: 28px;
}

body.index-dark-theme .booking-success-msg .success-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent) !important;
  margin: 0 0 5px 0;
  letter-spacing: 0.05em;
}

body.index-dark-theme .booking-success-msg .success-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Quick View Modal styling for dark theme (synchronized & optimized) */
body.index-dark-theme .modal-dialog {
  max-width: 900px;
}

body.index-dark-theme .modal-content.quickview-content {
  background-color: #161b25;
  color: var(--color-text-light);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-sharp, 0px);
}

body.index-dark-theme .modal-header.quickview-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 40px;
}

body.index-dark-theme .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

body.index-dark-theme .modal-header .btn-close:hover {
  opacity: 1;
}

body.index-dark-theme .modal-body.quickview-body {
  padding: 40px;
}

body.index-dark-theme .qv-image-column {
  background-color: #141822;
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 1.1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  transition: var(--transition-smooth);
}

body.index-dark-theme .qv-details-column {
  padding-left: 30px;
}

body.index-dark-theme .qv-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}

body.index-dark-theme .qv-name {
  color: var(--color-white) !important;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 16px;
}

body.index-dark-theme .qv-price {
  color: var(--color-accent) !important;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .qv-description {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}

body.index-dark-theme .qv-specs-table {
  margin-top: 15px;
  margin-bottom: 30px;
}

body.index-dark-theme .qv-specs-table td {
  padding: 12px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

body.index-dark-theme .qv-specs-table td.spec-label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
}

body.index-dark-theme .qv-specs-table td.spec-value {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Quick View Thumbnail gallery styles */
.qv-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0;
  justify-content: center;
}

.qv-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.qv-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sharp, 0px);
}

.qv-thumb-item {
  width: 65px;
  height: 65px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer;
  transition: var(--transition-fast, all 0.2s ease);
  padding: 6px;
  background-color: #141822 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.qv-thumb-item:hover img {
  transform: scale(1.08);
}

.qv-thumb-item:hover {
  border-color: rgba(197, 160, 89, 0.5) !important;
}

.qv-thumb-item.active {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.25);
}

/* Quick View buttons visual hierarchy and no-wrap logic */
body.index-dark-theme .quickview-content .btn-luxury {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-primary) !important;
}

body.index-dark-theme .quickview-content .btn-luxury:hover {
  background-color: var(--color-white) !important;
  border-color: var(--color-white) !important;
  color: var(--color-primary) !important;
}

body.index-dark-theme .quickview-content .btn-luxury-outline {
  background-color: transparent !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  color: var(--color-white) !important;
}

body.index-dark-theme .quickview-content .btn-luxury-outline:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-primary) !important;
}

body.index-dark-theme .quickview-content .btn {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  padding: 14px 20px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-sharp, 0px) !important;
  transition: var(--transition-smooth) !important;
}

@media (max-width: 991px) {
  body.index-dark-theme .qv-details-column {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .hero-slider-container {
    height: 80vh;
    min-height: 430px;
  }
}

/* Customer feedback adjustments */
.product-card,
.value-card,
.category-card,
.blog-card,
.testimonial-card,
.gallery-item,
.brand-intro-image,
.brand-intro-image-container,
.product-detail-gallery,
.product-detail-info,
.main-image-viewport,
.thumb-item,
.rating-score-box,
.review-item,
.form-wrapper,
.voucher-card,
.product-short-specs,
.product-tabs-wrapper,
.related-products-swiper-container,
.checkout-summary-box,
.quickview-content {
  border-radius: var(--radius-card) !important;
}

.product-img-wrapper,
.blog-img-wrapper,
.gallery-item img,
.main-image-viewport img,
.thumb-item img,
.product-story-image img {
  border-radius: var(--radius-soft);
}

.product-img-wrapper {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.product-variant-panel {
  border: 1px solid rgba(214, 127, 28, 0.18);
  border-radius: var(--radius-card);
  padding: 20px;
  background: rgb(22, 27, 37);
}

.variant-group + .variant-group {
  margin-top: 18px;
}

.variant-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.variant-heading strong {
  color: var(--color-accent);
  font-weight: 600;
  text-align: right;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-option {
  border: 1px solid rgba(30, 37, 48, 0.14);
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.variant-option.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(214, 127, 28, 0.12);
}

.color-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(30, 37, 48, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.product-story-layout {
}

.product-story-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-width: 500px;
  object-fit: cover;
}

.product-story-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.product-story-points li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .product-story-layout {
    grid-template-columns: 1fr;
  }

  .product-tabs-wrapper.mt-5.pt-4 {
    margin-top: 32px !important;
    padding-top: 18px !important;
    overflow: hidden;
  }

  .product-tabs-wrapper .nav-tabs-custom {
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 10px;
    margin: 0 -2px;
    white-space: nowrap;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .product-tabs-wrapper .nav-tabs-custom::-webkit-scrollbar {
    display: none;
  }

  .product-tabs-wrapper .tab-item {
    flex: 0 0 auto;
    padding: 10px 14px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
  }

  .product-tabs-wrapper .tab-item::after {
    display: none;
  }

  .product-tabs-wrapper .tab-item.active {
    border-color: rgba(214, 127, 28, 0.55);
    background: rgba(214, 127, 28, 0.14);
  }
}
