/**
 * HarryShop - Custom CSS
 * Version: 2.0 - Clean & Simple
 */

/* ===== Fireworks Canvas ===== */
#fireworksCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  pointer-events: none;
}

/* ===== Page Loading Screen ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.loader-logo .letter {
  display: inline-block;
  color: #333;
  animation: bounce 0.6s ease infinite;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

.loader-logo .letter.red {
  color: var(--primary-color);
}

.loader-logo .letter.mix {
  color: #ffb400;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top-color: #ce0707;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  margin-top: 20px;
  color: #999;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Page transition effect */
.page-transition {
  opacity: 0;
  transform: translateY(10px);
  animation: pageIn 0.4s ease forwards;
}

@keyframes pageIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Loader Responsive */
@media (max-width: 786px) {
  .loader-logo {
    font-size: 22px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
    margin-bottom: 20px;
  }
}

/* ===== CSS Variables ===== */
:root {
  /* --primary-color: #ce0707; */
  --primary-color: #e74c3c;
  --primary-color-dark: #b93d30;
  --primary-color-rgb: 231,76,60;
  --secondary-color: #ffb400;
  --text-color: #232323;
  --heading-color: #0a0a0a;
  --link-color: #3365c1;
  --link-hover: #f26659;
  --bg-light: #f4f8fa;
  --white: #fff;
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== Container & Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.col {
  padding: 0 10px;
}

/* ===== Header ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- Top Bar --- */
.top-bar {
  background: #000;
  color: #fff;
  padding: 8px 0;
  font-size: 12px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-top {
  display: flex;
  gap: 25px;
}

.services-top a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.services-top a:hover {
  color: #fd5f00;
}

.top-bar-right {
  display: flex;
  gap: 20px;
}

.top-bar-right a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right a:hover {
  color: var(--secondary-color);
}

/* --- Header Main --- */
.header-main {
  padding: 15px 0;
  background: var(--white);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 220px;
  max-height: 55px;
}

/* --- Search Form --- */
.search-form {
  flex: 1;
  max-width: 500px;
}

.search-form form {
  display: flex;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  overflow: hidden;
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-form input::placeholder {
  color: #999;
}

.search-form button {
  border: none;
  padding: 0px 12px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 30px;
  transition: background 0.3s;
}

.search-form button:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* --- Hotline --- */
.hotline {
  border: solid 1px #ddd;
  border-radius: 5px;
  height: 62px;
  display: block;
  float: left;
  margin-left: 15px;
  padding: 5px 25px;
  position: relative;
}

.hotline i {
  padding-right: 0px;
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  border: solid 1px #ddd;
  left: -20px;
  top: 9px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  font-size: 25px;
  color: var(--primary-color);
  background: #fff;
}

.hotline span {
  font-size: 14px;
  color: #666;
  display: block;
  font-weight: bolder;
}

.hotline b {
  font-size: 18px;
  color: var(--primary-color);
  display: block;
  font-style: italic;
}

/* --- Header Bottom --- */
.header-bottom {
  background: var(--primary-color);
}

.header-bottom .container {
  display: flex;
  align-items: stretch;
}

/* --- Category Menu --- */
.category-menu {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.category-menu-title {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}

.category-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  display: none;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-menu:hover .category-list {
  display: block;
}

.category-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-color);
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
  font-size: 13px;
}

.category-list li:last-child a {
  border-bottom: none;
}

.category-list li a:hover {
  background: #f8f8f8;
  color: var(--primary-color);
  padding-left: 25px;
}

.category-list li a i {
  width: 20px;
  color: #666;
  text-align: center;
}

.category-list li a:hover i {
  color: var(--primary-color);
}
.header-bottom-nav .icon,
.div-km .icon {
  display: inline-block;
  background-image: url(../images/sprite.png?v=2.1);
  background-repeat: no-repeat;
  vertical-align: middle;
  width: 260px;
  height: 54px;
  background-position: 0 -110px;
  margin-top: -10px !important;
  float: right;
}
/* --- Main Navigation --- */
.main-nav {
  display: flex;
  margin-left: auto;
}

.main-nav li a {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 14px 22px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s;
}

.main-nav li a:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* --- Mobile Menu Toggle Button --- */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.mobile-menu-toggle:hover {
  background: var(--primary-color);
  color: #fff;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-logo img {
  max-height: 35px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.mobile-menu-close:hover {
  background: var(--primary-color);
  color: #fff;
}

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-menu-nav ul li a:hover {
  background: #f8f8f8;
  color: var(--primary-color);
}

.mobile-menu-nav ul li a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  font-size: 15px;
}

.mobile-menu-divider {
  height: 1px;
  background: #eee;
  margin: 8px 20px;
}

.mobile-menu-label {
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin: 0;
}

.mobile-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.mobile-menu-hotline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.mobile-menu-hotline:hover {
  background: #c62828;
}

/* ===== Slider Section ===== */
.slider-section {
  padding: 20px 0;
}

/* Banner Grid Layout - Like the image */
.banner-grid {
  display: flex;
  gap: 15px;
  height: 420px;
}

/* Banner Slideshow */
.banner-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.banner-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.banner-slide.active {
  display: block;
}

.banner-slide.slide-in {
  animation: bannerSlideIn 0.6s ease;
}

@keyframes bannerSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.banner-slide img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: transform 0.3s;
}

.banner-slideshow:hover .banner-slide.active img {
  transform: scale(1.02);
}

/* Left Banner - Large */
.banner-left {
  flex: 0 0 58%;
  border-radius: 12px;
  overflow: hidden;
}

/* Right Banner Area */
.banner-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Right Top Banner */
.banner-right-top {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* Right Bottom - 2 Small Banners */
.banner-right-bottom {
  flex: 1;
  display: flex;
  gap: 10px;
}

.banner-right-bottom .banner-slideshow {
  flex: 1;
}

/* ===== ROTATING SERVICE ICONS ===== */
.service-section {
  overflow: hidden;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-wrapper {
  display: flex;
  height: 550px;
  align-items: center;
  justify-content: center;
}

.service-wrapper * {
  box-sizing: border-box;
}

.service-container {
  width: var(--service-main-size);
  height: var(--service-main-size);
  margin: 0 auto;
  position: relative;
  --service-icon-size: 54px;
  --service-main-size: 428px;
  --service-proto-size: 48px;
  --service-circle-icon: 86px;
  --service-circle-proto: 58px;
  --service-delay-loop: calc(var(--service-delay2) + var(--service-dur2));
  --service-speed: 100s;
  --service-delay1: 1s;
  --service-dur1: 1s;
  --service-delay2: calc(var(--service-delay1) + var(--service-dur1));
  --service-dur2: 1s;
}

@media (max-width: 719px) {
  .service-container {
    --service-icon-size: 34px;
    --service-main-size: 270px;
    --service-proto-size: 30px;
    --service-circle-icon: 54px;
    --service-circle-proto: 36px;
  }
}

/* Outer dashed circle */
.service-circle-outer {
  top: 0;
  left: 0;
  width: 100%;
  border: 2px dashed var(--primary-color);
  height: 100%;
  opacity: 0.15;
  position: absolute;
  animation:
    serviceExpand var(--service-dur1) ease-out var(--service-delay1) backwards,
    serviceSpinCCW var(--service-speed) linear var(--service-delay-loop)
      infinite;
  border-radius: 50%;
}

/* Inner dashed circle */
.service-circle-inner {
  top: 50%;
  left: 50%;
  width: 50%;
  border: 2px dashed var(--primary-color);
  height: 50%;
  opacity: 0.15;
  position: absolute;
  animation:
    serviceFadeIn var(--service-dur2) ease-out var(--service-delay2) backwards,
    serviceSpinCenterCW var(--service-speed) linear var(--service-delay-loop)
      infinite;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* Service line wrappers (connector lines from center to outer) */
.service-line-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  transform: rotate(var(--initial-rotation));
}

.service-line {
  top: 0%;
  left: 50%;
  width: 50%;
  border: 2px dashed var(--primary-color);
  height: 50%;
  opacity: 0.15;
  position: absolute;
  animation:
    serviceLineIn var(--service-dur2) ease-out var(--service-delay2) backwards,
    serviceLineSpin var(--service-speed) linear var(--service-delay-loop)
      infinite;
  transform: translate(-50%, 0);
  border-radius: 50%;
}

/* Outer icon wrappers */
.service-icon-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  animation: serviceSpinCW var(--service-speed) linear var(--service-delay-loop)
    infinite;
  transform: rotate(var(--initial-rotation));
  transform-origin: center;
}

.service-icon {
  top: 0;
  left: 50%;
  width: var(--service-circle-icon);
  filter: drop-shadow(0px 5px 24px rgba(231, 76, 60, 0.1));
  height: var(--service-circle-icon);
  display: flex;
  position: absolute;
  animation:
    serviceIconIn var(--service-dur1) ease-out var(--service-delay1) backwards,
    serviceSpinCCWIcon var(--service-speed) linear var(--service-delay-loop)
      infinite;
  transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  background-color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-icon img {
  width: 100%;
  height: 100%;
  max-width: var(--service-icon-size);
  object-fit: contain;
}

/* Inner protocol icon wrappers */
.service-proto-wrap {
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  position: absolute;
  animation:
    serviceProtoFadeIn calc(var(--service-dur2) / var(--count-protocols))
      ease-out
      calc(
        var(--service-delay2) + var(--service-dur2) / var(--count-protocols) *
          var(--index)
      )
      backwards,
    serviceProtoSpinCCW var(--service-speed) linear var(--service-delay-loop)
      infinite;
  transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  border-radius: 50%;
}

.service-proto {
  top: 0;
  left: 50%;
  width: var(--service-circle-proto);
  filter: drop-shadow(0px 5px 24px rgba(231, 76, 60, 0.1));
  height: var(--service-circle-proto);
  display: flex;
  position: absolute;
  animation: serviceProtoSpinCW var(--service-speed) linear
    var(--service-delay-loop) infinite;
  transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  background-color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-proto img {
  width: 100%;
  height: 100%;
  max-width: var(--service-proto-size);
  object-fit: contain;
}

/* Center icon */
.service-center {
  top: 50%;
  left: 50%;
  width: var(--service-circle-icon);
  filter: drop-shadow(0px 5px 24px rgba(231, 76, 60, 0.1));
  height: var(--service-circle-icon);
  display: flex;
  position: absolute;
  animation: serviceCenterPulse calc(var(--service-dur1) / 2) ease-out
    var(--service-delay1) backwards;
  transform: translate(-50%, -50%);
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  background-color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-center img {
  width: 100%;
  height: 100%;
  max-width: var(--service-icon-size);
  object-fit: contain;
}

/* Service Keyframes */
@keyframes serviceExpand {
  from {
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
  }
  to {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@keyframes serviceSpinCW {
  from {
    transform: rotate(var(--initial-rotation));
  }
  to {
    transform: rotate(calc(var(--initial-rotation) + 360deg));
  }
}

@keyframes serviceSpinCCWIcon {
  from {
    transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  }
  to {
    transform: translate(-50%, -50%)
      rotate(calc(var(--initial-rotation) - 360deg));
  }
}

@keyframes serviceSpinCCW {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes serviceIconIn {
  from {
    top: 50%;
  }
  to {
    top: 0;
  }
}

@keyframes serviceCenterPulse {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes serviceLineIn {
  from {
    opacity: 0;
    transform: translate(-50%, 50%);
  }
  to {
    opacity: 0.15;
    transform: translate(-50%, 0%);
  }
}

@keyframes serviceLineSpin {
  from {
    transform: translate(-50%, 0%) rotate(0);
  }
  to {
    transform: translate(-50%, 0%) rotate(360deg);
  }
}

@keyframes serviceFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.15;
  }
}

@keyframes serviceSpinCenterCW {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes serviceProtoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes serviceProtoSpinCCW {
  from {
    transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  }
  to {
    transform: translate(-50%, -50%)
      rotate(calc(var(--initial-rotation) - 360deg));
  }
}

@keyframes serviceProtoSpinCW {
  from {
    transform: translate(-50%, -50%) rotate(var(--initial-rotation));
  }
  to {
    transform: translate(-50%, -50%)
      rotate(calc(var(--initial-rotation) + 360deg));
  }
}

/* Service Videos Grid */
.service-videos {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-video-item {
  flex: 0 0 calc(20% - 13px);
  min-width: 180px;
}

.service-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.service-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.service-video-title {
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .service-videos {
    gap: 12px;
  }
  .service-video-item {
    flex: 0 0 calc(50% - 6px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .service-video-item {
    flex: 0 0 100%;
  }
}

/* Old slider styles - keep for compatibility */
.slider-section .row {
  display: flex;
  gap: 15px;
}

.slider-main {
  flex: 2;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slider-main img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.slider-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-side img {
  border-radius: 8px;
  width: 100%;
  flex: 1;
}

/* ===== Contact Bar ===== */
.contact-bar {
  background: #000;
  color: #fff;
  padding: 0;
  margin: 0px 0px 20px 0px;
}

.contact-bar .container {
  padding: 0;
  max-width: 1200px;
}

.contact-bar-inner {
  display: flex;
  align-items: stretch;
}

.contact-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 5px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-btn i {
  font-size: 16px;
}

.contact-marquee {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
}

.contact-marquee marquee {
  font-size: 14px;
  color: #fff;
}

/* ===== Product Section ===== */
.product-section {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: #fff;
  position: relative;
  border-bottom: 2px solid var(--primary-color);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  padding: 14px 25px;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 60px;
  height: 100%;
  background: var(--primary-color);
  transform: skewX(30deg);
  z-index: -1;
}

.section-title i {
  color: #fff;
}

.section-tabs {
  display: flex;
  gap: 8px;
  margin-left: 50px;
}

.section-tabs a {
  padding: 8px 18px;
  border-radius: 20px;
  color: #666;
  font-size: 13px;
  background: #eee;
  transition: all 0.3s;
}

.section-tabs a:hover,
.section-tabs a.active {
  background: var(--primary-color);
  color: #fff;
}

.section-link {
  /* margin-left: auto; */
  margin-left: 8px;

  color: var(--primary-color);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-link:hover {
  text-decoration: underline;
}

/* Booking CTA - Parallelogram button with RGB border */
.booking-cta {
  position: relative;
  padding: 8px 22px !important;
  margin-left: 8px;
  background: transparent;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: skewX(-12deg);
  overflow: hidden;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1;
  border: none !important;
}
.booking-cta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transform: skewX(12deg);
  position: relative;
  z-index: 3;
}

/* RGB spinning border - large square rotates behind */
.booking-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    #ff0000,
    #ff8800,
    #ffff00,
    #00ff00,
    #00ffff,
    #0088ff,
    #8800ff,
    #ff00ff,
    #ff0000
  );
  z-index: -2;
  animation: bookingRgbSpin 2s linear infinite;
}

/* Inner fill to create border effect */
.booking-cta::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color), var(--primary-color-dark));
  background-size: 200% 200%;
  animation: bookingCtaBg 3s ease infinite;
  z-index: -1;
}

.booking-cta:hover {
  transform: skewX(-12deg) translateY(-2px) scale(1.08);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
  filter: brightness(1.1);
  text-decoration: none !important;
  color: #fff !important;
}
.booking-cta:hover::after {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b, var(--primary-color));
  background-size: 200% 200%;
}
.booking-cta:hover::before {
  filter: blur(2px) brightness(1.3);
}

@keyframes bookingRgbSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes bookingCtaBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Reset filter button - isolated styles */
.section-header .section-reset-btn {
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 24px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  margin-left: auto;
  padding: 0;
  outline: none;
  flex-shrink: 0;
  transition:
    background 0.3s,
    color 0.3s;
}

.section-header .section-reset-btn.show {
  display: inline-flex;
}

.section-header .section-reset-btn.show ~ .section-link {
  margin-left: 8px;
}

.section-header .section-reset-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.section-header .section-reset-btn i {
  display: inline-block;
}

@keyframes resetSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.section-header .section-reset-btn.spinning i {
  animation: resetSpin 0.5s ease forwards;
}

/* Mobile Menu Button - Hidden by default */
.section-menu-btn {
  display: none;
  margin-left: 0;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.section-menu-btn:hover {
  background: #b00606;
}

/* Section Dropdown - Hidden by default */
.section-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 100;
  overflow: hidden;
}

.section-dropdown.show {
  display: block;
}

.section-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.section-dropdown a:last-child {
  border-bottom: none;
}

.section-dropdown a:hover,
.section-dropdown a.active {
  background: #f5f5f5;
  color: var(--primary-color);
}

.section-dropdown .dropdown-viewall {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.section-dropdown .dropdown-viewall:hover {
  background: #b00606;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 25px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.call {
  font-size: 18px;
  color: var(--primary-color);
  display: block;
  font-style: italic;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: url(../images/giamgia.png);
  color: #fff;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  height: 49px;
  z-index: 1;
  align-items: center;
  width: 49px;
  display: flex;
}

.product-image {
  display: block;
  padding: 20px;
  text-align: center;
  background: #fafafa;
}

.product-image img {
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
}

.product-title {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 12px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.product-title:hover {
  color: var(--primary-color);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
}

.price-new {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
}

/* ===== Booking Form Section ===== */
.booking-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.booking-left h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-left h2 i {
  color: var(--primary-color);
}

.booking-desc {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.booking-benefits {
  list-style: none;
  padding: 0;
}

.booking-benefits li {
  color: #ddd;
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-benefits li i {
  color: #2ecc71;
  font-size: 16px;
}

.booking-right form {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.booking-right form h3 {
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-right form h3 i {
  color: var(--primary-color);
}

.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-form-group {
  margin-bottom: 14px;
}

.booking-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.booking-form-group input,
.booking-form-group select,
.booking-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  font-family: "Roboto", sans-serif;
}

.booking-form-group input:focus,
.booking-form-group select:focus,
.booking-form-group textarea:focus {
  border-color: var(--primary-color);
}

.booking-form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.booking-submit {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b, var(--primary-color));
  background-size: 200% 200%;
  color: #fff;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #ff6b6b, #ffd700, #ff6b6b) 1;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  transform: skewX(-8deg);
  clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
  animation:
    bookingBtnGlow 2s ease-in-out infinite,
    bookingBtnBg 3s ease infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 15px rgba(231, 76, 60, 0.5),
    0 0 30px rgba(231, 76, 60, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
}
.booking-submit > * {
  transform: skewX(8deg);
}
.booking-submit::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -100%;
  width: 60%;
  height: calc(100% + 4px);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  animation: bookingShine 2.5s ease-in-out infinite;
}
.booking-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 215, 0, 0.6);
  clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
  animation: bookingBorderPulse 1.5s ease-in-out infinite;
}

.booking-submit:hover {
  background: linear-gradient(135deg, #ff6b6b, #ffd700, #ff6b6b);
  background-size: 200% 200%;
  transform: skewX(-8deg) translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 30px rgba(231, 76, 60, 0.6),
    0 0 50px rgba(255, 215, 0, 0.4),
    0 0 80px rgba(231, 76, 60, 0.3);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  border-image: linear-gradient(135deg, #ffd700, #ff6b6b, #ffd700) 1;
}
.booking-submit:active {
  transform: skewX(-8deg) translateY(0) scale(0.98);
}

@keyframes bookingBtnGlow {
  0%,
  100% {
    box-shadow:
      0 4px 15px rgba(231, 76, 60, 0.5),
      0 0 30px rgba(231, 76, 60, 0.3);
  }
  50% {
    box-shadow:
      0 4px 25px rgba(231, 76, 60, 0.8),
      0 0 60px rgba(255, 215, 0, 0.4),
      0 0 100px rgba(231, 76, 60, 0.2);
  }
}
@keyframes bookingBtnBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes bookingShine {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 150%;
  }
}
@keyframes bookingBorderPulse {
  0%,
  100% {
    border-color: rgba(255, 215, 0, 0.3);
  }
  50% {
    border-color: rgba(255, 215, 0, 0.9);
  }
}

@media (max-width: 768px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .booking-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Product Action Buttons ===== */
.product-actions {
  display: flex;
  gap: 8px;
}

.btn-add-cart {
  width: 40px;
  height: 36px;
  border: 2px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-add-cart:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-buy-now {
  flex: 1;
  height: 36px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, var(--primary-color-dark), #a93226);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-add-cart.adding {
  pointer-events: none;
  opacity: 0.7;
}

/* Toast for frontend */
.front-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: frontToastIn 0.4s ease;
  min-width: 280px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.front-toast.error {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.front-toast.hide {
  animation: frontToastOut 0.4s ease forwards;
}

@keyframes frontToastIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes frontToastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* ===== Product Slider ===== */
.product-slider-container {
  position: relative;
  overflow: hidden;
}

.product-slider {
  display: flex;
  transition: transform 0.4s ease;
}

.product-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 25px;
}

.product-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-slider-nav:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.product-slider-nav.prev {
  left: 5px;
}

.product-slider-nav.next {
  right: 5px;
}

.product-slider-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-slider-nav:disabled:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-color: #ddd;
}

/* Wave Fade-in Animation */
@keyframes waveFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.wave-animate {
  opacity: 0;
  animation: waveFadeIn 0.5s ease forwards;
}

.product-card.wave-animate:nth-child(1) {
  animation-delay: 0s;
}
.product-card.wave-animate:nth-child(2) {
  animation-delay: 0.1s;
}
.product-card.wave-animate:nth-child(3) {
  animation-delay: 0.2s;
}
.product-card.wave-animate:nth-child(4) {
  animation-delay: 0.3s;
}
.product-card.wave-animate:nth-child(5) {
  animation-delay: 0.4s;
}

/* Lazy Load Image Placeholder */
.product-image img {
  max-height: 150px;
  object-fit: contain;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.product-image img.lazy {
  opacity: 0;
}

.product-image img.lazy.loaded {
  opacity: 1;
}

.product-image .img-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 5px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== Brand Logos Section ===== */
.brand-section {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brand-slider {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 20px;
  cursor: grab;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.brand-slider::-webkit-scrollbar {
  display: none;
}

.brand-slider:active {
  cursor: grabbing;
}

.brand-item {
  flex: 0 0 auto;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  filter: grayscale(20%);
  opacity: 0.85;
  user-select: none;
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.brand-item img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

/* ===== Social & Support Section ===== */
.social-section {
  background: #fff;
  padding: 25px 0;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.social-col {
  min-height: 250px;
}

.social-title {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Facebook Column */
.facebook-col {
  display: flex;
  align-items: flex-start;
}

.fb-page-wrapper {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.fb-page,
.fb-page iframe {
  width: 100% !important;
}

/* YouTube Column */
.youtube-col {
  padding: 0 15px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Support Column */
.support-col {
  background: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.support-col .social-title {
  color: var(--secondary-color);
}

.support-info p {
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.support-info b {
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .facebook-col {
    grid-column: span 2;
  }

  .youtube-col {
    border-left: none;
    border-right: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
  }

  .facebook-col {
    grid-column: span 1;
  }

  .youtube-col {
    padding: 20px 0;
  }
  .service-wrapper {
    height: 350px;
  }
}

/* ===== Blog Section ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 180px;
  /* object-fit: cover; */
  transition: transform 0.3s;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-info {
  padding: 18px;
}

.blog-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: block;
  line-height: 1.5;
}

.blog-title:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-date {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-readmore {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
}

.blog-readmore:hover {
  color: #b00606;
  gap: 8px;
}

/* Blog section - always show link */
.blog-section .section-link-always {
  display: flex !important;
}

/* ===== Policy Section ===== */
.policy-section {
  padding: 40px 0;
  margin-top: 20px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.policy-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  transition: all 0.3s;
}

.policy-item:hover {
  background: #f8f8f8;
  transform: translateY(-3px);
}

.policy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-icon i {
  font-size: 28px;
  color: var(--primary-color);
}

.policy-text h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.policy-text p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

/* ===== Footer ===== */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 35px;
}

.footer-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--primary-color);
  width: 18px;
  margin-top: 3px;
}

/* Footer certifications */
.footer-certs {
}

.footer-certs-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-cert-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-cert-item:hover {
  transform: scale(1.08);
}

.footer-cert-item img {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(206, 7, 7, 0.4);
}

.scroll-top:hover {
  background: #b00606;
  transform: translateY(-3px);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Fixed Buttons ===== */
/* Common styles for fixed buttons */
.fixed-btn {
  position: fixed;
  bottom: 20px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.fixed-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  animation: none;
}

.fixed-btn-icon {
  width: 40px;
  height: 40px;
  background: #ff687f;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fixed-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fixed-btn-text small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.fixed-btn-text strong {
  font-size: 16px;
}

/* Hotline Button - Left */
.fixed-hotline {
  left: 20px;
  overflow: visible;
}

/* Phone icon with ripple effect */
.fixed-hotline .fixed-btn-icon {
  position: relative;
  overflow: visible;
}

.fixed-hotline .fixed-btn-icon::before,
.fixed-hotline .fixed-btn-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ff6868;
  opacity: 0;
  animation: iconRipple 1.5s infinite;
}

.fixed-hotline .fixed-btn-icon::after {
  animation-delay: 0.75s;
}

@keyframes iconRipple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* Phone icon shake animation */
.fixed-hotline .fixed-btn-icon i {
  animation: shake 1.5s infinite;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  20% {
    transform: rotate(15deg);
  }
  30% {
    transform: rotate(-15deg);
  }
  40% {
    transform: rotate(15deg);
  }
  50%,
  100% {
    transform: rotate(0deg);
  }
}

.fixed-hotline:hover {
  background-color: #ffffff;
  color: #333;
}

/* Warranty Button - Right */
.fixed-warranty {
  right: 20px;
  color: #ff687f;
  cursor: pointer;
}

.fixed-warranty:hover {
  background-color: #ffffff;

  color: var(--primary-color);
}

.fixed-warranty .fixed-btn-text {
  flex-direction: row;
  font-size: 14px;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 4px 25px rgba(238, 90, 36, 0.5);
  }
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

/* Social Buttons - Right Side */
.fixed-social {
  position: fixed;
  right: 30px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
  transition: bottom 0.3s ease;
}

.fixed-social.raised {
  bottom: 150px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.social-btn:hover {
  transform: scale(1.15);
  animation: none;
}

/* Zalo */
.social-btn.zalo {
  background: #fff;
}

.social-btn.zalo img {
  width: 32px;
  height: 32px;
}

/* Messenger */
.social-btn.messenger {
  background: linear-gradient(135deg, #00c6ff, #0078ff, #a855f7);
  color: #fff;
  font-size: 24px;
}

.social-btn.messenger:hover {
  color: #fff;
}

/* Bounce Animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Adjust scroll-top position */
.scroll-top {
  bottom: 90px;
  right: 30px;
}

/* Responsive Fixed Buttons */
@media (max-width: 768px) {
  .fixed-btn {
    padding: 8px 15px;
  }

  .fixed-btn-text small {
    display: none;
  }

  .fixed-btn-text strong {
    font-size: 13px;
  }

  .fixed-hotline .fixed-btn-text {
    flex-direction: row;
  }

  .fixed-btn-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .fixed-warranty {
    right: 15px;
  }
  .fixed-hotline {
    left: 15px;
  }
  .fixed-social {
    right: 15px;
    bottom: 80px;
  }

  .fixed-social.raised {
    bottom: 140px;
  }

  .social-btn {
    width: 45px;
    height: 45px;
  }

  .scroll-top {
    right: 15px;
    bottom: 85px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .fixed-btn-text {
    display: none;
  }

  .fixed-btn {
    padding: 0px;
    border-radius: 50%;
  }

  .fixed-btn-icon {
  }
}

/* ===== Chat Widget ===== */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chat-widget.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-header-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chat-status {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status i {
  font-size: 8px;
  color: #2ecc71;
}

.chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Chat Body */
.chat-body {
  height: 320px;
  background: #f8f9fa;
}

.chat-messages {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Chat Messages */
.chat-message {
  display: flex;
  gap: 10px;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mix {
  color: darkorange;
}
.chat-message.bot .message-avatar {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-message .message-content {
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 85%;
}

.chat-message .message-content p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.chat-message .message-content p:last-child {
  margin-bottom: 0;
}

/* User message */
.chat-message.user {
  flex-direction: row-reverse;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-radius: 16px;
  border-top-right-radius: 4px;
}

.chat-message.user .message-content p {
  color: #fff;
}

/* Chat Footer */
.chat-footer {
  padding: 15px;
  background: #fff;
  border-top: 1px solid #eee;
}

.chat-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.chat-form input:focus {
  border-color: var(--primary-color);
}

.chat-form button {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* Warranty button active state */
.fixed-warranty.active {
  background: linear-gradient(135deg, var(--primary-color-dark), #a93226);
}

/* Chat Widget Responsive */
@media (max-width: 480px) {
  .chat-widget {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 80px;
    max-height: calc(100vh - 160px);
  }

  .chat-body {
    height: 280px;
  }

  .chat-header {
    padding: 12px 15px;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .chat-header-text h4 {
    font-size: 14px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-slide {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .product-slide {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Banner responsive */
  .banner-grid {
    height: 280px;
  }

  .banner-left {
    flex: 0 0 55%;
  }
}

@media (max-width: 768px) {
  .top-bar .services-top {
    display: none;
  }
  .header-main .container {
    gap: 0;
  }
  .top-bar .container {
    justify-content: flex-end;
  }
  .deal {
    display: none;
  }
  .header-main .container {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
  }

  .logo {
    order: 1;
  }

  .hotline {
    order: 2;
  }

  .search-form {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 15px;
  }

  .category-menu {
    display: none;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .main-nav li a {
    padding: 12px 15px;
    font-size: 13px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  /* Product Slider Mobile - 2x2 grid (4 products per slide) */
  .product-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .product-slider-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .product-slider-nav.prev {
    left: 3px;
  }

  .product-slider-nav.next {
    right: 3px;
  }

  /* Mobile: Show only 4 products per slide (2x2 grid) */
  .product-slide .product-card:nth-child(n + 5) {
    display: none;
  }

  /* Section Header Mobile - Show hamburger, hide tabs */
  .section-tabs {
    display: none;
  }

  .section-link {
    display: none;
  }

  .section-link.booking-cta {
    display: flex !important;
  }

  .section-header .section-reset-btn {
    margin-left: auto;
    margin-right: 8px;
  }

  .section-menu-btn {
    display: block;
  }

  /* Banner responsive mobile */
  .banner-grid {
    flex-direction: column;
    height: auto;
  }

  .banner-left {
    flex: none;
    height: 200px;
  }

  .banner-right {
    height: auto;
  }

  .banner-right-top {
    height: 150px;
  }

  .banner-right-bottom {
    height: auto;
  }

  .banner-right-bottom img {
    height: 110px !important;
  }

  .slider-section .row {
    flex-direction: column;
  }

  .slider-side {
    flex-direction: row;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-tabs {
    order: 3;
    width: 100%;
  }

  .section-link {
    order: 2;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hotline {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .header-main .container {
    justify-content: space-between;
  }

  .search-form {
    order: 3;
  }

  .logo img {
    max-height: 45px;
  }

  .section-title {
    font-size: 15px;
  }

  .section-tabs a {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ===== Cart Toast Notification ===== */
.cart-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #27ae60;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.cart-toast.show {
  transform: translateX(0);
}

.cart-toast i {
  font-size: 20px;
}

/* ===== Cart Badge ===== */
.cart-link {
  position: relative;
}

/* ===== Breadcrumb (shared) ===== */
.breadcrumb-section {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #999;
}

.breadcrumb li a {
  color: #666;
  text-decoration: none;
}

.breadcrumb li a:hover {
  color: var(--primary-color);
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: 500;
}

/* ===== Mini Cart Dropdown ===== */
.cart-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

.cart-dropdown-inner {
  overflow: hidden;
  border-radius: 10px;
}

.cart-dropdown-wrapper:hover .cart-dropdown,
.cart-dropdown-wrapper.open .cart-dropdown {
  display: block;
}

/* Bridge gap between trigger and dropdown */
.cart-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.cart-dropdown::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.cart-dropdown-header {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
  font-size: 15px;
  color: #1a1a2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-dropdown-header span {
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.cart-dropdown-body {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 0;
}

.cart-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  transition: background 0.2s;
}

.cart-dropdown-item:hover {
  background: #f9f9f9;
}

.cart-dropdown-item-img {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #eee;
}

.cart-dropdown-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-dropdown-item-info {
  flex: 1;
  min-width: 0;
}

.cart-dropdown-item-name {
  display: block;
  font-size: 13px;
  color: #333 !important;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cart-dropdown-item-name:hover {
  color: var(--primary-color);
}

.cart-dropdown-item-meta {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
}

.cart-dropdown-item-meta .qty {
  color: #999;
  font-weight: 400;
}

.cart-dropdown-item-remove {
  width: 28px;
  height: 28px;
  border: none;
  background: #fff5f5;
  color: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-dropdown-item-remove:hover {
  background: var(--primary-color);
  color: #fff;
}

.cart-dropdown-footer {
  padding: 15px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.cart-dropdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.cart-dropdown-total strong {
  color: var(--primary-color);
  font-size: 17px;
}

.cart-dropdown-actions {
  display: flex;
  gap: 10px;
}

.cart-dropdown-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-view-cart {
  background: #f0f0f0;
  color: #333 !important;
}

.btn-view-cart:hover {
  background: #e0e0e0;
}

.btn-mini-checkout {
  background: var(--primary-color);
  color: #fff;
}

.btn-mini-checkout:hover {
  background: var(--primary-color-dark);
  color: #fff !important;
}

.cart-dropdown-empty {
  text-align: center;
  padding: 30px 15px;
  color: #999;
}

.cart-dropdown-empty i {
  font-size: 40px;
  color: #ddd;
  display: block;
  margin-bottom: 10px;
}

.cart-dropdown-empty p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .cart-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 15px 15px 0 0;
    margin-top: 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
  }

  .cart-dropdown::before {
    display: none;
  }

  .cart-dropdown::after {
    display: none;
  }

  .cart-dropdown-body {
    max-height: 40vh;
  }

  .cart-dropdown-item-img {
    width: 45px;
    height: 45px;
  }

  .cart-dropdown-item {
    padding: 8px 12px;
    gap: 10px;
  }

  .cart-dropdown-item-name {
    font-size: 12px;
  }

  .cart-dropdown-footer {
    padding: 12px;
  }

  .cart-dropdown-actions a {
    padding: 10px 8px;
    font-size: 12px;
  }

  .cart-dropdown-total {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .cart-dropdown-total strong {
    font-size: 15px;
  }
}
