:root {
    --font-main: 'Inter', sans-serif;
    --font-secondary: 'Anton', sans-serif;
  
    --color-primary: #fc9401;
    --color-secondary: #eee0c5;
    --color-tertiary: #E00951;
    --color-link: #0d4f88;
    --color-danger: #cc0008;
    --color-toc-bg: #f5f5f5;
    --color-highlight: #008009;
    --color-start: #FFDA1A;
    --text-size: 16px;
  }
  body {
    font-family: var(--font-main);
    font-size: var(--text-size);
    font-weight: 400;
    letter-spacing: 0;
    background-color: var(--color-secondary);
  }
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 1.75rem);
    padding-left: var(--bs-gutter-x, 1.75rem);
    margin-right: auto;
    margin-left: auto;
}
  body * {
    outline: none;
    /* background-color: #f5f5f7; */
  }
  
  .font-main {
    font-family: var(--font-main) !important;
  }
  
  .font-secondary {
    font-family: var(--font-secondary) !important;
  }
  
  ::selection {
    color: #fff;
    background-color: var(--color-primary)
  }
  

  .colored,
  .colored-hover:hover,
  .colored-active.active {
    color: var(--color-primary) !important;
  }
  
  .colored1,
  .colored1-hover:hover,
  .colored1-active.active {
    color: var(--color-secondary) !important;
  }
  
  .colored2,
  .colored2-hover:hover,
  .colored2-active.active {
    color: var(--color-link) !important;
  }
  .colored-link{
    color: var(--color-link) !important;
  }
  .colored-start{
    color: var(--color-start) !important;
  }
  .colored-random {
    background-image: linear-gradient(108deg, #0079d0 0, #9e52d8 32%, #da365c 84%, #d04901 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }
  

  .bg-colored,
  .bg-colored-hover:hover,
  .bg-colored-active.active,
  .bg-colored-hover-trigger:hover .bg-colored-hover-target,
  .underline-slide.underline-colored:before,
  .underline-slide.underline-colored:after {
    background-color: var(--color-primary) !important;
  }
  
  .bg-colored1,
  .bg-colored1-hover:hover,
  .bg-colored1-active.active,
  .bg-colored1-hover-trigger:hover .bg-colored1-hover-target {
    background-color: var(--color-secondary) !important;
  }
  
  .bg-colored2,
  .bg-colored2-hover:hover,
  .bg-colored2-active.active {
    background-color: var(--color-link) !important;
  }

  .bg-colored3,
  .bg-colored3-hover:hover,
  .bg-colored3-active.active {
    background-color: var(--color-start) !important;
  }

.b-colored,
.b-colored-hover:hover,
.b-colored-active.active {
  border-color: var(--color-primary) !important;
}

.b-colored1,
.b-colored1-hover:hover,
.b-colored1-active.active {
  border-color: var(--color-link) !important;
}

.b-colored2,
.b-colored2-hover:hover,
.b-colored2-active.active {
  border-color: var(--color-danger) !important;
}

.text-highlight{
    background-image: linear-gradient(108deg, #006bb9 0, #903fcf 32%, #cf0f3c 84%, #b84100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.modern-nav .nav-links .nav-link {
    font-weight: 500;
    font-size: 14px;
    color: inherit;
  }
  
.modern-nav.dropdown-radius .nav-links .dropdown-menu {
border-radius: 14px;
}

.modern-nav .nav-links .dropdown-menu .nav-link {
font-weight: 600;
}



/* Responsive: xuống 2 cột tablet và 1 cột mobile */
@media (max-width: 991px) {
  .suggestion-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .suggestion-list {
    grid-template-columns: 1fr;
  }
}
input:focus, .form-control:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: #ccc !important; /* hoặc màu bạn muốn */
}


.input-group-text {
  padding: .375rem 1.2rem;
  border-radius: 1rem;
}
.sticky-container {
  width: 100%; /* Đảm bảo chiếm full chiều rộng col */
}

.sticky-container.on-cont {
  width: inherit; /* Giữ nguyên chiều rộng khi fixed */
  max-width: 100%;
}

.sticky-container.fixed-active {
  width: var(--sticky-width, 100%);
}

.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  visibility: hidden;
  background-color: var(--color-secondary);
  background-clip: padding-box;
  outline: 0;
  transition: transform .3s ease-in-out;
}
.offcanvas .list-group-item {
  position: relative;
  display: block;
  padding: .5rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: var(--color-secondary);
}

.form-control {
  display: block;
  width: 100%;
  padding: 1rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 1rem 16px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.category-scroll{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:20px;
  overflow:visible;
  padding:0;
}
.category-item{
  min-width:0;
}

/* Card */
.category-card{
  display:block;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  transition:all .35s ease;
}

/* Image */
.category-image{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f5f5f5;
}

.category-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  margin:0;
  border-radius:0;
  transition:transform .5s ease;
}

/* Content */
.category-content{
  position:absolute;

  left:0;
  right:0;
  bottom:0;

  z-index:3;

  padding:18px 16px;

  background:
  linear-gradient(
      to top,
      rgba(0,0,0,.82) 0%,
      rgba(0,0,0,.45) 45%,
      transparent 100%
  );
}

.category-index{
  display:block;
}

/* Title */
.category-title{
  text-transform:uppercase;
  margin:0;

}

.category-card:hover{
  transform:translateY(-4px);

  box-shadow:
  0 12px 30px rgba(0,0,0,.08);
}

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

/* ===== TABLET ===== */
@media(max-width:992px){

  .category-scroll{
      grid-template-columns:repeat(3,1fr);

      gap:14px;
  }

}

/* ===== MOBILE ===== */
@media(max-width:768px){

  .category-scroll{
      grid-template-columns:repeat(2,1fr);

      gap:12px;
  }

  .category-content{
      padding:12px;
  }

  .category-title{
      font-size:12px;
  }

  .category-index{
      font-size:10px;
  }

}


.tab-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
  gap: 16px;
}

.tab-btn {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  border: 0;
  border-bottom: 2px solid transparent;
}
.tab-btn.active {
  border-bottom: 2px solid var(--color-primary);
}

.tab-content {
  margin-top: 0;
}

.tab-panel {
  display: none;
  animation: fadeIn .3s;
}
.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px);}
  to   { opacity: 1; transform: translateY(0);}
}


/**/

.card-products {
  display: flex;
  flex-direction: column;
  height: 100%; /* Đảm bảo full chiều cao nếu bọc trong grid/flex cha */
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
  border-color: transparent;
  transition: box-shadow 0.18s;
}
.card-products > .content-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.card-products > .note {
  flex-shrink: 0;
}
.card-products .note{
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

}
.radius, .radius-hover:hover {
  border-radius: 8px !important;
}
nav.relative {
  position: relative; 
  z-index: 999;
}

.nav-item.active > .nav-link{
  color:var(--color-primary) !important;
}

.sub-menu a.active{
  color:var(--color-primary) !important;
}
#megaMenu{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #000;
  border-top: 1px solid var(--color-primary);
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
  opacity .28s ease,
  transform .28s ease,
  visibility .28s ease;
}

#megaMenu.showing{
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#megaMenu .container-fluid{
  max-width: 1900px;
  padding: 0 30px;
}

#megaMenu .mega-wrapper{
  padding: 35px 0 40px;
}
#megaMenu .top-menu{
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#megaMenu .top-menu > li{
  position: relative;
  list-style: none;
}
#megaMenu .top-menu > li > a{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: all .25s ease;
}

#megaMenu .top-menu > li > a:hover,
#megaMenu .top-menu > li.active > a{
  color: var(--color-primary);
  background: rgba(255,255,255,.03);
}

#megaMenu .mega-grid{
  display: grid;
  grid-template-columns: repeat(7, minmax(180px,1fr));
  gap: 45px;

  padding-top: 35px;
}
#megaMenu .mega-col{
  min-width: 0;
}
#megaMenu .mega-title{
  display: block;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;

  transition: all .25s ease;
}

#megaMenu .mega-title:hover{
  color: #fff;
}
#megaMenu ul{
  margin: 0;
  padding: 0;
}

#megaMenu ul li{
  list-style: none;
}
#megaMenu ul li a{
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;

  transition: all .22s ease;
}

#megaMenu ul li a:hover{
  color: var(--color-primary);
  padding-left: 6px;
}
#megaMenu ul li a.active{
  color: var(--color-primary);
}
#megaMenu .mega-extra{
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 30px;
}
#megaMenu{
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
#megaMenu::-webkit-scrollbar{
  width: 6px;
}

#megaMenu::-webkit-scrollbar-thumb{
  background: var(--color-primary);
}
#megaMenu .mega-col{
  animation: megaFade .35s ease;
}

@keyframes megaFade{
  from{
      opacity: 0;
      transform: translateY(10px);
  }
  to{
      opacity: 1;
      transform: translateY(0);
  }
}

@media(max-width: 1400px){

  #megaMenu .mega-grid{
      grid-template-columns: repeat(5, minmax(180px,1fr));
  }

}

@media(max-width: 1024px){

  #megaMenu{
      display: none !important;
  }

}

nav.border-top{
  border-top:1px solid rgba(255,184,0,.2) !important;
  background:
  linear-gradient(180deg,#090909 0%,#050505 100%);
}

nav .nav-link{
  position:relative;

  color:rgba(255,255,255,.86) !important;

  font-size:13px;
  font-weight:700;
  letter-spacing:1px;

  transition:all .28s ease;
}
nav .nav-link:hover{
  color:var(--color-primary); !important;
}

/* nav .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;

  width:0%;
  height:2px;

  background:var(--color-primary);

  transition:all .3s ease;
}

nav .nav-link:hover::after{
  width:100%;
} */

/* =========================
 SUB MENU
========================= */

.nav-item.has-sub{
  position:relative;
}

.sub-menu{
  position:absolute;
  top:120%;
  left:0;

  min-width:240px;

  padding:10px 0;
  margin:0;

  list-style:none;

  background:#0b0b0b;

  border:1px solid rgba(255,255,255,.06);
  border-top:2px solid var(--color-primary);

  border-radius:0 0 14px 14px;

  box-shadow:
  0 15px 40px rgba(0,0,0,.45);

  opacity:0;
  visibility:hidden;
  transform:translateY(12px);

  transition:all .3s ease;

  z-index:1500;
}

.nav-item.has-sub:hover .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.sub-menu li a{
  display:flex;
  align-items:center;

  padding:11px 20px;

  border-bottom:1px solid rgba(255,255,255,.05);

  color:rgba(255,255,255,.76);

  font-size:13px;
  font-weight:600;

  text-transform:none;

  transition:all .25s ease;
}

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

.sub-menu li a:hover{
  background:rgba(255,184,0,.06);
  color:#fff;

  padding-left:28px;
}

/* =========================
 MOBILE
========================= */

@media(max-width:992px){

  #megaMenu{
      display:none !important;
  }

  nav.border-top{
      overflow-x:auto;
      white-space:nowrap;
  }

  nav.border-top::-webkit-scrollbar{
      display:none;
  }

}

/* * 3. Style khi một MỤC được ACTIVE (Giữ nguyên)
*/
.product-attribute-item.active {
  z-index: 2;
  background-color: #f9f9f9; 
  color:black; 
}

/* 4. Style cho tiêu đề (Giữ nguyên) */
.attribute-title {
  font-size: 12px;
}

  #content p,
  #content h1,
  #content h2,
  #content h3,
  #content h4,
  #content h5 {
    margin-bottom: 15px;
  }
  #content h1{
    font-size: 32px !important;
  }
  #content h2{
    font-size: 26px !important;
  }
  #content h3{
    font-size: 22px !important;
  }
  #content h4{
    font-size: 20px !important;
  }
  #content h5{
    font-size: 18px !important;
  }

  #content img {
    max-width: 100%;
    margin-bottom: 5px;
  }
  
  #content ul,
  #content ol {
    list-style: disc;
    padding-left: 15px;
  }
  .box-table ul{
    list-style: none;

  } 
  .box-table ul li {
    display: block;
    overflow: hidden;
    padding: 20px 10px;
    border-bottom: 1px solid #e5e5e5;
}
.box-table ul li li p span {
  display: block;
  overflow: hidden;
  font-size: 15px;
  line-height: 20px;
  color: #101010;
  font-weight: 400;
}
.box-table ul li p:first-child {
  float: left;
  width: 150px;
  margin-right: 30px;
}
.box-table ul li p:last-child {
  display: block;
  overflow: hidden;
}
.box-table ul li p strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: #101010;
}

  #showmore {
    display: none;
  }
  
  .showmore-wrapper {
    position: relative;
    margin-top: 30px;
    padding-top: 60px;
  }
  
  .showmore-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
    z-index: 1;
    pointer-events: none;
  }
  
  nav#toc {
    list-style: none;
  }
  
  .toc-link.active-toc {
    background-color: var(--color-primary);
    padding-left: 8px;
    border-left: 3px solid var(--color-primary);
  }
  
  #toc-toggle {
    display: flex;
    justify-content: space-between;
  }
  
  #toc-mobile {
    display: none;
    top: 100px;
    z-index: 9999;
    width: 100%;
  }
  
  #toc-list li.active a {
    color: var(--color-highlight);
    font-weight: 600;
    background-color: var(--color-toc-bg);
    border-radius: 4px;
  }
  
  @media (max-width: 991.98px) {
    #toc-mobile {
      display: block;
    }
  
    #toc-list li.active > a {
      color: var(--color-highlight);
      font-weight: bold;
    }
  }
  .rotate-icon {
    transition: transform 0.3s ease;
  }
  .rotate-icon.rotate {
    transform: rotate(180deg);
  }
  
  .form-check-input:checked + .form-check-label {
    font-weight: bold;
  }
  
  .form-check.border {
    transition: border-color 0.2s ease;
  }
  
  .form-check-input:checked ~ img {
    filter: brightness(1.2);
  }

  .slider-full-width {
    position: relative;
    width: 100%;
  }
 /* =========================================
   CAROUSEL LAYOUT & CARD STYLING
   ========================================= */

/* 1. Cấu hình cho item bao quanh (Cell) */
.carousel-products .carousel-cell {
  width: calc((100% - (4 * 15px)) / 5); /* 5 items, trừ 4 khoảng margin */
  min-width: 220px;
  max-width: 350px;
  margin-right: 15px;
  padding-bottom: 20px; /* Tạo khoảng trống dưới để bóng đổ không bị cắt */
}

/* 2. Cấu hình cho Card sản phẩm (Card) */
.carousel-products .card-products {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  
  /* Style Giao diện */
  background-color: #fff;     /* Nền trắng */
  border: 1px solid #e5e5e5;  /* Viền xám nhạt */
  border-radius: 8px;         /* Bo góc nhẹ cho hiện đại */
  overflow: hidden;           /* Ẩn nội dung tràn ra ngoài bo góc */
  
  /* Hiệu ứng mượt mà (Transition) */
  /* transition: property duration timing-function */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

/* 3. Hiệu ứng Hover (Di chuột vào Card) */
.carousel-products .card-products:hover {
  border-color: transparent;  /* Ẩn viền hoặc đổi màu tùy ý khi hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); /* Đổ bóng mượt, không quá gắt */
  transform: translateY(-5px); /* Nhấc nhẹ card lên 5px */
}

/* =========================================
   RESPONSIVE (TABLET & MOBILE)
   ========================================= */

@media (max-width: 991px) {
  .carousel-products .carousel-cell {
    width: 42vw;        
    max-width: 360px;
    min-width: 180px;
  }
  
  .slider-full-width .slider-btn { 
    display: none;
  }
}

@media (max-width: 600px) {
  .carousel-products .carousel-cell {
    width: 42vw;
    max-width: 360px;
    min-width: 180px;
    margin-right: 10px; /* Giảm margin trên mobile */
  }

  /* Điều chỉnh lại chiều cao card trên mobile */
  .carousel-products .card-products {
    min-height: 370px;
  }
  
  /* Trên mobile không cần hiệu ứng nhấc lên quá cao để tránh lỡ tay chạm nhầm */
  .carousel-products .card-products:hover {
    transform: none; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
}
  
  /* CHỈ áp dụng cho progress-bar bên trong .slider-full-width */
  .slider-full-width .flickity-progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    width: 100%;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
  }
  .slider-full-width .flickity-progress-bar-inner {
    background: var(--color-primary);
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.28s cubic-bezier(.32,.72,0,1);
  }
  .slider-full-width .flickity-progress-bar-inner.sales {
    background: var(--color-tertiary) !important;
  }
  
  /* Các style này đã specific (an toàn) */
  .slider-full-width .slider-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: opacity 0.3s, transform 0.3s;
  }
  .slider-full-width:hover .slider-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
  

.slick-arrow {
  font-size: 30px;
  color: white;
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  left: 0;
  z-index: 5;
  cursor: pointer;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background: var(--color-black);
  border-radius: 100%; 
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  border: none;
  border-radius: 100%;
  padding: 10px;
  z-index: 2;
  cursor: pointer;
}
.prev-btn {
  left: -20px;
}
.next-btn {
  right: -20px;
}

/* .slider-btn:hover svg path {
  fill: #fff;
} */

  


.rounded-circle {
    border-radius: 50%;
    display: inline-block;
}
.border {
    border: 1px solid #ccc;
}

.color-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color);
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.color-circle.active {
  border: 2px solid #007bff;
  box-shadow: 0 0 0 2px white; /* viền trắng giữa border xanh */
}

.thuoctinh-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 15px;
}

.thuoctinh-card.active {
  border: 2px solid #007bff;
}

.thuoctinh-label {
  font-size: 18px;
  font-weight: bold;
}

.thuoctinh-price {
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
}


@media (min-width: 992px) {
  #sticky-image {
    z-index: 3;
  }
}

.sticky-mini-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  z-index: 1000;
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
}
.sticky-mini-header .container {
  min-height: 56px;
}
.product-mini-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}
.mini-price {
  color: #e53935;
  margin-left: 24px;
}
.mini-installment {
  color: #555;
}
.mini-benefit {
  color: #333;
  font-weight: 500;
}
/* .mini-right > * + * {
  margin-left: 18px !important;
} */
@media (max-width: 991px) {
  .sticky-mini-header .container {
      flex-direction: column !important;
      align-items: flex-start !important;
      min-height: unset;
      gap: 0.25rem;
  }
  .mini-right {
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 0px;
  }
  .product-mini-title {
      font-size: 18px;
  }
}

.carousel-cell-video .video-wrapper {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.carousel-cell-video .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
}

.flickity-slider-thumb {
  /* KHÔNG set display:flex; */
  padding: 10px 8px 6px 8px;
  overflow-x: auto;
  margin-top: 30px;
}

.carousel-cell-thumb {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:1em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.carousel-cell-thumb:hover,
.carousel-cell-thumb.active {
    border-color: #eee;   /* xanh nổi bật khi hover hoặc active */
    box-shadow: 0 4px 18px rgba(6,180,250,0.10);
    transform: translateY(-2px) scale(1.025);
}
.carousel-cell-thumb img {
  width: 140px;
  object-fit: contain;
  border-radius: 7px;
  display: block;
  margin: 0 auto;
  background: #fff;
}


.promo-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  /* box-shadow: 0 4px 16px rgba(60, 60, 60, 0.08); */
  padding: 32px 24px 56px 24px;
  min-height: 260px;
  transition: box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.promo-card:hover {
  box-shadow: 0 8px 32px rgba(60, 60, 60, 0.16);
}

.promo-icon {
  font-size: 2.2rem;
  color: #1d1d1f;
}

.promo-title {
  font-weight: 600;
  font-size: 1.15rem;
}

.promo-desc {
  margin-bottom: 0;
}

.promo-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #222;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(40,40,40,0.07);
}

.promo-btn:hover {
  background: #444;
}

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object {
  border: 0px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.lg-outer .lg-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb {
  background-color: transparent;
}
.lg-outer .lg-toogle-thumb:hover, .lg-outer.lg-dropdown-active #lg-share {
  color: #111;
}
.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html {
  bottom: 150px;
  color: #111;
}
.lg-outer .lg-thumb-item.active img {
  opacity: 1;
  border: 1px solid #eee;
  padding: 10px;
}
.lg-actions .lg-next, .lg-actions .lg-prev {
  background-color: #111;
  border-radius: 100%;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 22px;
  width: 60px;
  height: 60px;
  padding: 8px 10px 9px;
  position: absolute;
  top: 50%;
  z-index: 1080;
  border: none;
  outline: 0;
}
.lg-progress-bar .lg-progress {
  background-color: var(--color-primary);
  height: 5px;
  width: 0;
}
.lg-backdrop {
  background-color: white;
}
.lg-toolbar {
  background-color: white;
}
.lg-toolbar .lg-icon, #lg-counter, .lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb {
  color: #111;
}
.lg-toolbar .lg-icon {
  float: right;
  font-size: 32px;
  height: 47px;
  line-height: 32px;
  
}
.badge-flash-sale {
  /* position: absolute;
  bottom: 0;
  left: 10px; */
  width: 100%;
  z-index: 9;
  background: linear-gradient(90deg,#ff6a00 0%,#da365c 100%);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 5px 2px;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(255,106,0,0.13);
  animation: flash-bounce 1.1s infinite alternate;
}
.animated-flash {
  animation: flash-bounce 1.1s infinite alternate;
}
@keyframes flash-bounce {
  0%   { filter: brightness(1.1);}
  60%  { filter: brightness(1.4);}
  100% { filter: brightness(1.1);}
}


  input[type="radio"]+label:hover svg{stroke: #a3a3a3 !important;}
  #not-satisfied:checked+label{ color: #EB4242 !important; } 
  #not-satisfied:checked+label svg{ stroke: #EB4242 !important; } 

  #undecided:checked+label{ color: #288CEF !important; } 
  #undecided:checked+label svg{ stroke: #288CEF !important; } 

  #satisfied:checked+label{ color: #34BF34 !important; } 
  #satisfied:checked+label svg{ stroke: #34BF34 !important; fill: #34BF34; } 

  .star-ratings:not(.clicked) li.star.hover svg polygon{ fill: #FBC531;}
  li.star.active svg polygon{ fill: #FBC531;}


  /* Wishbox */
  .wishbox{ border-bottom: 1px solid #E2E2E2; }
  .wishbox .wishbox-title{ color: #262626; letter-spacing: -0.8px; line-height: 46px; font-size: 32px; font-weight: 400; }
  .wishbox .wishbox-button{ display: inline-flex; display: -ms-inline-flexbox; padding: 10px 40px; color: white; font-size: 12px; font-weight: 700; }

  .hotnews-item { min-height: 85px; }
.hotnews-img {
    aspect-ratio: 2.2/1;
    object-fit: cover;
    border-radius: 16px;
    min-height: 58px;
    background: #f4f4f4;
    position: relative;
}
.hotnews-rank {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 1.5rem;
    color: #fff;
    /* background: linear-gradient(90deg, #D4145A 0%, #FBB03B 100%); */
    border-radius: 12px;
    padding: 0 16px 2px 10px;
    box-shadow: 0 2px 8px rgba(212,20,90,0.1);
    line-height: 1.1;
}
.hotnews-cat {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.hotnews-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hotnews-divider {
    opacity: 0.18;
}

/* Thanh tab trượt ngang */
.tab-scroll-x {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Ẩn mặc định trên Firefox */
  position: relative;
  border-bottom: 1px solid transparent;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

/* Hiện thanh scroll khi bị tràn trên mobile */
@media (max-width: 991.98px) {
  .tab-scroll-x {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ddd #fff;
  }
  .tab-scroll-x::-webkit-scrollbar {
    height: 4px;
    background: #f3f3f3;
  }
  .tab-scroll-x::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
  }
}

/* Ẩn scrollbar trên desktop (tùy chọn) */
@media (min-width: 992px) {
  .tab-scroll-x {
    scrollbar-width: none !important;
  }
  .tab-scroll-x::-webkit-scrollbar {
    display: none !important;
  }
}

/* Đảm bảo các nav-item không xuống hàng */
.tab-scroll-x .nav-item {
  display: inline-block;
  float: none;
}

/* Tùy chỉnh thêm: Hiệu ứng khi trượt (optional) */
.tab-scroll-x {
  scroll-behavior: smooth;
}

/* Tab item giữ không xuống hàng */
.tab-scroll-x .nav-item {
  display: inline-block;
  float: none;
}

/* Link bên trong giữ không xuống hàng */
.tab-scroll-x .nav-link {
  display: inline-block;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
  margin-right: 2px;
  font-size: 20px;
  font-weight: 500;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: border-bottom 0.2s, color 0.2s;
}

.tab-scroll-x .nav-link.active {
  border-bottom: 2.5px solid #1d1d1d;
  color: #1d1d1d;
  background: #fff;
}

@media (max-width: 991.98px) {
  .tab-scroll-x {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .tab-scroll-x .nav-link {
    font-size: 17px;
    padding: 8px 14px;
    min-width: 110px;
  }
}

/* Gợi ý mask mờ ở 2 bên để biết kéo ngang */
.tab-scroll-x::after,
.tab-scroll-x::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s;
}
.tab-scroll-x::before {
  left: 0;
  background: linear-gradient(to right, #fff 70%, transparent);
}
.tab-scroll-x::after {
  right: 0;
  background: linear-gradient(to left, #fff 70%, transparent);
}


  /* Footer */
  footer.footer{ padding: 0 0 80px;  position: relative; }
  footer.footer:after{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -2; display: block; content:''; background-size: cover; }
  footer.footer:before{ z-index: -1!important; }

  /* Button on footer */
  footer.footer .footer-button{ display: inline-flex; display: -ms-inline-flexbox; padding: 14px 55px; color: white; font-size: 12px; font-weight: 700; }

  /* Boxes on footer */
  footer.footer .footer-boxes{ margin-top: 60px; font-size: 16px; }
  footer.footer .footer-boxes .footer-box-title{  }
  footer.footer .footer-boxes .footer-box-text{ line-height: 25px; margin-top:10px; }
  footer.footer .footer-boxes .footer-box-link{ color: #222222; display: inline-block; margin-top: 10px; margin-right: 20px; }
  footer.footer .footer-boxes .copyright{ margin-top: 50px; font-size: 13px; }

  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    z-index: 1000;
    border-top: 1px solid #eee;
    padding: 0;
  }
  .mobile-bar-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mobile-bar-list li {
    flex: 1 1 0;
    text-align: center;
}
.mobile-bar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 5px 0;
    font-size: 16px;
    text-decoration: none;
    height: 48px; /* Tuỳ chỉnh chiều cao */
    transition: background 0.2s;
}

/* Thay màu từng nút: */
.mobile-bar-list li:nth-child(1) .mobile-bar-link {
    background: #f5faff; 
    color: #222;   /* Menu */
}
.mobile-bar-list li:nth-child(2) .mobile-bar-link {
    background: var(--color-primary); 
    color: #fff;   /* Hotline */
}
.mobile-bar-list li:nth-child(3) .mobile-bar-link {
  background: var(--color-secondary); 
  color: #fff;   /* Hotline */
}

/* Active hoặc hover tuỳ ý */
.mobile-bar-link:active,
.mobile-bar-link:focus {
    filter: brightness(0.95);
}
@media (max-width: 991.98px) {
  .navbar .logo-white {
    max-height: 40px;
    object-fit: contain;
  }
}

@keyframes shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-3px); }
  40%  { transform: translateX(3px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.qcf-trigger .show {
  animation: shake 1s infinite;
}

.countdown-box {
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.countdown-item {
  background-color: #FFDA1A; /* màu đỏ bắt mắt */
  color: #000;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
}

@media (max-width: 991.98px) {
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
  .cart-count {
    font-size: 12px;
    padding: 2px 5px;
  }
  #mobileSearch {
    overflow-y: auto;
  }
}
.next-level:focus {
  outline: none;
  box-shadow: none;
}

.offcanvas-body {
  position: relative;
  overflow: hidden;
}
#hamburgerToggle:hover svg {
  stroke: var(--color-primary);
}

.menu-sub {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.3s ease;
  z-index: 1;
}
.menu-sub.hide {
  left: 100%;
}
.menu-sub.show {
  left: 0;
}


.list-group-item {
  border: none !important;
}

#loading_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Nền mờ */
  z-index: 9999;
  display: none; /* Mặc định ẩn đi */
  justify-content: center;
  align-items: center;
}

/* Container chứa icon và chữ */
#loading_overlay .loading-container {
  text-align: center;
}

/* Chữ thông báo */
#loading_overlay .loading-text {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-top: 15px;
}

/* Keyframes cho hiệu ứng xoay */
@keyframes rotate {
  100% {
      transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
  }
  50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
  }
  100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
  }
}

/* Kiểu và hiệu ứng cho icon SVG */
.spinner {
  animation: rotate 2s linear infinite;
  width: 50px;
  height: 50px;
}

.spinner .path {
  stroke: #5652bf; /* Màu của icon, bạn có thể thay đổi */
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
.quantity-control {
  border: 1px solid #e0e0e0;
  border-radius: 20px; /* Bo tròn mạnh hơn */
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.quantity-control:hover,
.quantity-control:focus-within {
   box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.quantity-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #333;
  width: 35px;
  height: 35px;
  line-height: 35px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quantity-btn:hover {
  background-color: #f0f0f0;
  color: #000;
}

.quantity-input {
  width: 50px;
  height: 35px;
  text-align: center;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  -moz-appearance: textfield; /* Firefox */
}

.quantity-input:focus {
  outline: none;
}

/* Ẩn mũi tên lên xuống của input type number */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quick-cart {
  position: fixed;
  top: 0;
  overflow: scroll;
  right: 0;
  z-index: 2500;
  width: 100%;
  height: 100vh;
  max-width: 480px;
  background-color: white;
  -webkit-transform: translateX(100%) translateZ(0);
  transform: translateX(100%) translateZ(0);

  -webkit-transition: -webkit-transform 0.35s cubic-bezier(1, 0.45, 0.54, 0.8) 0s;
  transition: transform 0.35s cubic-bezier(1, 0.45, 0.54, 0.8) 0s;
}

.quick-cart.active {
  -webkit-transform: translateX(0%) translateZ(0);
  transform: translateX(0%) translateZ(0);

  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.55, 0, 0.2, 1) 0s;
  transition: transform 0.35s cubic-bezier(0.55, 0, 0.2, 1) 0s;
}
.quick-cart-keeper{ overflow:auto; }

.quick-cart-backdrop{ position: fixed; left:0; top:0; width: 100vw; height: 100vh; z-index: 2400; background-color: rgba(13,13,13,0.2); pointer-events: none; visibility: hidden; opacity: 0; -webkit-transition:all 0.5s 0.3s; transition:all 0.5s 0.3s; }


.quick-cart-backdrop.active{ pointer-events: all; visibility: visible; opacity: 1; -webkit-transition-delay:0s; transition-delay:0s; }



.info-box-container.list-group {
  border: 1px solid #ddd;       
  border-radius: 6px;   
  overflow: hidden;  
}

.info-box-container .list-group-item {
  border: none;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, .125) !important; 
}


.info-box-container .list-group-item:last-child {
  border-bottom: none !important;
}

.info-box-container .list-group-item + .list-group-item {
  border-top: 1px solid #eee; 
}

.info-box-container .info-icon {
  width: 30px;       
  flex-shrink: 0;    
  text-align: center;
  color: #1d1d1f;    
}

.info-box-container .list-group-item-action:hover {
  background-color: #f8f8f8;
}

.info-box-container .fa-chevron-right {
  flex-shrink: 0;
}



.info-content-container.list-group {
  border: 1px solid transparent;       
  border-radius: 6px;   
  overflow: hidden;  
  padding: 0;
}

.info-content-container .list-group-item {
  border: none;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, .125) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


.info-content-container .list-group-item:last-child {
  border-bottom: none !important;
}

.info-content-container .list-group-item + .list-group-item {
  border-top: 1px solid #eee;

}

.info-content-container .info-icon {
  width: 30px;       
  flex-shrink: 0;    
  text-align: center;
  color: #1d1d1f;    
}

.info-content-container .list-group-item-action:hover {
  background-color: transparent;
}

.info-content-container .fa-chevron-right {
  flex-shrink: 0;
}
/* --- Slider Chính --- */

/* --- 1. Cột Thumbs Dọc (Bên trái) --- */
.product-thumb-nav.vertical-thumbs {
  max-height: 500px; /* Đặt chiều cao tối đa */
  overflow-y: auto;  /* Cho phép cuộn */
  padding-right: 10px; 
  
  /* Ẩn thanh cuộn */
  &::-webkit-scrollbar { display: none; }
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-cell-thumb-vertical {
  width: 100%;
  margin-bottom: 10px; 
  cursor: pointer;
}

.carousel-cell-thumb-vertical a {
  display: block;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.carousel-cell-thumb-vertical img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1; /* Ép ảnh thumb vuông vắn */
  object-fit: cover;
}

/* Khi thumbnail được active hoặc hover */
.carousel-cell-thumb-vertical.active a,
.carousel-cell-thumb-vertical:hover a {
  border-color: rgba(0, 0, 0, .125) !important;
}


/* --- 2. Slider Chính (Bên phải) --- */

/* Đặt chiều cao CỐ ĐỊNH, phải khớp với max-height của thumb */
#image-product .flickity-slider-main {
  height: 500px; 
  width: 100%;
  opacity: 0; /* Ẩn ban đầu, JS sẽ cho hiện */
}

/* Ép 'flickity-viewport' (Flickity tự tạo) lấp đầy */
#image-product .flickity-slider-main .flickity-viewport {
  width: 100%;
  height: 100% !important; /* Quan trọng */
}

/* Bắt .carousel-cell (mỗi slide) lấp đầy 100% */
#image-product .flickity-slider-main .carousel-cell {
  width: 100% !important;  /* Quan trọng: 100% để full 1 ảnh */
  height: 100% !important; /* Quan trọng */
  margin: 0;
}

#image-product .flickity-slider-main .carousel-cell img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  
  /* THAY ĐỔI Ở ĐÂY: */
  object-fit: contain; /* Thay vì 'cover' */
  
  object-position: center;
  margin: 0 !important;
}

@media (max-width: 768px) {
  #image-product .flickity-slider-main {
    height: 300px;
    width: 100%;
    opacity: 0;
}
}
/* Hiện slider lên sau khi JS đã chạy (tránh FOUC) */
#image-product .flickity-slider-main.flickity-enabled {
  opacity: 1;
  transition: opacity 0.3s;
}
/* Style cho container chứa các thumbnails */
.product-attribute-thumbnails {
  margin-bottom: 20px;
}

/* Style cho mỗi nút thumbnail */
.attribute-thumbnail-btn {
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  background: transparent !important;
  border:none;
}

/* Style cho ảnh bên trong thumbnail */
.attribute-thumbnail-btn img {
  width: 60px; 
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/* Style cho chữ (nếu không có ảnh) */
.attribute-thumbnail-btn .attribute-thumbnail-text {
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #555;
}

/* Style khi thumbnail được CHỌN (giống hình mẫu) */
.attribute-thumbnail-btn.active {
  border-color: #ccc;
  border-width: 1px;
  padding: 0; 
}
.product-option-thumb {
  display: block;
  width: 40px; 
  height: 40px;
  padding: 2px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.product-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px; /* Bo góc nhẹ cho ảnh bên trong */
}


.product-option-thumb:hover {
  border-color: #000; /* Đổi viền sang đen */
}

.form-check-input[type="radio"] {
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%; /* luôn tròn */
  border: 2px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0; /* tránh bị co méo trong flexbox */
  display: inline-block;
}

/* Khi hover */
.form-check-input[type="radio"]:hover {
  border-color: #666;
}

/* Khi được chọn */
.form-check-input[type="radio"]:checked {
  border-color: #007bff;
}

/* Vẽ chấm tròn bên trong khi được chọn */
.form-check-input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6em;
  height: 0.6em;
  background-color: #007bff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Căn giữa cho radio với text trong flex */
label .form-check-input {
  align-self: center;
}

/* Áp dụng cho grid sản phẩm */
@media (max-width: 768px) {
  .product-grid.row > * {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-top: 10px; /* tuỳ chọn, giảm khoảng cách giữa hàng */
  }

  /* Giảm margin-bottom cho sản phẩm */
  .product-grid .mb-30 {
    margin-bottom: 15px !important;
  }
}

@media (max-width: 768px) {
  .flickity-prev-next-button .flickity-button-icon {
    left: 25%;   /* canh lại cho giữa hơn */
    top: 25%;
    width: 50%;  /* nhỏ hơn 60% */
    height: 50%;
  }

  /* Nếu bạn muốn toàn bộ nút nhỏ lại */
  .flickity-prev-next-button {
    width: 30px;
    height: 30px;
  }
}
/* Desktop mặc định giữ nguyên (60x60px) */

/* Tablet & mobile */
@media (max-width: 768px) {
  .lg-actions .lg-next,
  .lg-actions .lg-prev {
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 6px 8px;
    background-color: rgba(17, 17, 17, 0.8); /* trong suốt nhẹ hơn */
  }
}

/* Mobile nhỏ hơn nữa (≤480px) */
@media (max-width: 480px) {
  .lg-actions .lg-next,
  .lg-actions .lg-prev {
    width: 32px;
    height: 32px;
    font-size: 14px;
    padding: 5px 6px;
    background-color: rgba(17, 17, 17, 0.7);
  }
}

/* Ghi đè style mặc định của Bootstrap Accordion */
#extraInfoAccordion .accordion-button {
  font-size: 1.25rem; /* fs-20 (20px) */
  font-weight: 700; /* bold */
  color: #000;
  padding: 1.5rem 0; /* Tăng khoảng cách */
  text-align: left;
}

/* Bỏ màu nền xanh khi mở */
#extraInfoAccordion .accordion-button:not(.collapsed) {
  color: #000;
  background-color: transparent;
  box-shadow: none; /* Bỏ viền box-shadow */
}

/* Tùy chỉnh icon mũi tên (Bootstrap 5) */
#extraInfoAccordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}
#extraInfoAccordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}


/* Thêm đường kẻ ngang giống IKEA */
#extraInfoAccordion .accordion-item {
  border: none;
  border-bottom: 1px solid #ddd;
}
#extraInfoAccordion .accordion-item:first-of-type {
   border-top: 1px solid #ddd;
}
#extraInfoAccordion .accordion-body {
  padding-left: 0;
  padding-right: 0;
}
#extraInfoAccordion .accordion-button:focus {
  z-index: 3;
  border-color: transparent; /* Bỏ viền */
  outline: 0;
  box-shadow: none !important; /* Bỏ viền xanh */
}

.sale-timer .progress {
  background-color: rgba(25, 135, 84, 0.15); /* nền nhạt */
  border-radius: 10px;
  overflow: hidden;
}

.sale-timer .progress-bar {
  transition: width 1s linear;
}

/* =================================================================
   WINHOUSE SEARCH - OPTIMIZED UNIFIED BLOCK
   ================================================================= */

/* --- 1. BACKDROP (NỀN MỜ) --- */
.search-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease, visibility 0.3s;
}

body.search-active .search-backdrop {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(4px);
}

body.search-active {
  overflow: hidden; /* Khóa cuộn trang */
}

/* --- 2. INPUT GROUP (THANH TÌM KIẾM) --- */
.search-container-wrapper form {
  position: relative;
  z-index: 1001; /* Cao hơn backdrop và dropdown */
}


.search-icon-box,#q,
.clear-search {
    height: 50px !important;
    line-height: 50px; 
    background-color: rgb(34, 34, 34) !important;
    padding: 0 15px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    
    transition: all 0.2s ease-in-out;
}

.search-icon-box {
    border-right: none; 
    border-radius: 0;
    color: #666;
    width: 50px;
}

/* 3. INPUT (GIỮA) */
#q {
    border-left: none;
    border-right: none;
    border-radius: 0 !important; /* Vuông vức để nối 2 đầu */
    box-shadow: none !important;
    width: auto;
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: white;
    
    /* Reset lại display block của input để nhập liệu được */
    display: block !important; 
    padding-left: 0; /* Sát vào icon kính lúp */
}
/* Fix lỗi placeholder bị lệch trên một số trình duyệt */
#q::placeholder {
    line-height: normal; 
    color: white;
}

/* 4. ICON XÓA (PHẢI) */
.clear-search {
    border-left: none; /* Bỏ viền trái để nối với input */
    border-radius: 0; /* Bo tròn đầu phải */
    color: #999;
    width: 50px; /* Độ rộng cố định */
    cursor: pointer;
}
.clear-search:hover {
    color: #333; /* Đậm lên khi di chuột vào */
}

/* 5. TRẠNG THÁI ACTIVE (KHI CLICK VÀO) - ĐỒNG BỘ MÀU VIỀN */
body.search-active .search-icon-box,
body.search-active #q,
body.search-active .clear-search {
    background-color: #ffffff !important;
    border-color: #06428b; /* Viền xanh bao quanh cả khối */
    border-bottom-color: transparent; /* Để nối với dropdown kết quả */
}

/* Xử lý bo góc khi Active (Vuông góc dưới để nối Dropdown) */
body.search-active .search-icon-box {
    border-radius: 8px 0 0 0 !important;
}
body.search-active .clear-search {
    border-radius: 0 8px 0 0 !important;
}
/* Nếu nút Clear ẩn, Input sẽ bo góc phải */
body.search-active #q {
    /* CSS logic này đã được JS xử lý bằng cách hiển thị .clear-search */
}

#search-suggestions{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:#fff;
  border-radius:0 0 12px 12px;
  z-index:1000;

  box-shadow:
  0 25px 60px rgba(0,0,0,.18),
  0 8px 20px rgba(0,0,0,.08);

  display:none;
  opacity:0;
  visibility:hidden;

  transform:
  perspective(1000px)
  rotateX(-12deg)
  translateY(-12px)
  scale(.98);

  transform-origin:top center;

  transition:
  opacity .45s cubic-bezier(.22,1,.36,1),
  transform .45s cubic-bezier(.22,1,.36,1),
  visibility .45s ease;

  will-change:transform,opacity;

  max-height:80vh;
  overflow:hidden;
  backface-visibility:hidden;
}

#search-suggestions.show{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;

  transform:
  perspective(1000px)
  rotateX(0deg)
  translateY(0)
  scale(1);
}

/* Cấu trúc cây danh mục bên col-3 */
.search-sidebar-cats {
  max-height: 70vh;
  overflow-y: auto;
  border-right: 1px solid #f0f0f0;
}

.search-cat-parent {
  font-weight: 700;
  color: #111;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #f6f6f6;
}

.search-cat-children {
  background: #f9f9f9;
  padding-left: 10px;
}

.search-cat-child-item {
  display: block;
  padding: 8px 15px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.search-cat-child-item:hover {
  color: #06428b;
  padding-left: 18px;
}

/* Cấu trúc Lưới sản phẩm cuộn ngang bên col-9 (Dựa trên mẫu bạn gửi) */
.search-products-wrapper {
  max-height: 70vh;
  overflow-y: auto;
}

.search-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 0.5px;
}
/* --- ĐỊNH DẠNG VIỀN TRÒN CHO KHUNG CHỨA ICON --- */
#search-accordion-group .accordion-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #dddddd;
  border-radius: 50%;
  background: #ffffff;
  padding: 0 !important;
  margin-right: 10px;
  transition: all 0.2s ease;
}

/* Ẩn/hiện icon mặc định lúc đóng */
#search-accordion-group .acc-bar .ti-minus { display: none; }
#search-accordion-group .acc-bar .ti-plus { display: block; }


/* --- 🛠️ PHẦN MA THUẬT LÀM KHỐI CON CO GIÃN THUẦN CSS --- */

/* Mặc định ẩn khối danh mục con bằng cách ép chiều cao = 0 và ẩn nội dung tràn */
.css-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1); /* Hiệu ứng trượt lên/xuống cực mượt */
}

/* KHI CLICK (CHECKBOX ĐƯỢC TÍCH CHỌN) -> ĐIỀU KHIỂN CÁC THÀNH PHẦN KẾ TIẾP */


/* Hiệu ứng di chuột nhẹ cho các danh mục con bên trong */
.search-cat-child-item {
  transition: all 0.2s;
}
.search-cat-child-item:hover {
  background-color: #ffffff !important;
  color: #06428b !important;
  padding-left: 18px !important;
}

/* Mobile search bar */
#mobileSearchBar {
  padding-bottom: 8px;
}

/* Suggestion box mobile */
#search-suggestions-mobile {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  display: none;
  max-height: 75vh;
  overflow-y: auto;
  z-index: 1000;
}

#search-suggestions-mobile.show {
  display: block;
}

/* Ẩn cột danh mục trên mobile suggestions */
#search-suggestions-mobile .search-sidebar-cats {
  display: none !important;
}

/* Col sản phẩm chiếm full width khi ẩn danh mục */
#search-suggestions-mobile .search-products-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  max-height: 60vh;
}

/* Product scroll mobile — dạng list thay vì grid */
#search-suggestions-mobile .product-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#search-suggestions-mobile .product-item {
  width: 100%;
}

#search-suggestions-mobile .product-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
}

#search-suggestions-mobile .product-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

#search-suggestions-mobile .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#search-suggestions-mobile .product-content {
  flex: 1;
  min-width: 0;
}

#search-suggestions-mobile .product-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#search-suggestions-mobile .product-price {
  font-size: 13px;
}

#search-suggestions-mobile .product-rating {
  display: none; /* Ẩn rating cho gọn trên mobile */
}

#search-suggestions-mobile .product-cart {
  display: none; /* Ẩn nút cart trong list mobile */
}

/* Style cho nút Thumbnail khi Active */
.attribute-thumbnail-btn.active {
  border-color: #cd171c !important; /* Màu đỏ chủ đạo */
  position: relative;
}
.attribute-thumbnail-btn.active::after {
  content: '\f00c'; /* FontAwesome Check icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: -5px;
  right: -5px;
  background: #cd171c;
  color: #fff;
  font-size: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Style cho nút List khi Active */
.list-group-item.product-attribute-item.active {
  background-color: #f8f9fa;
  border-color: #cd171c;
  color: #000;
  z-index: 1;
}
/* Style cho nút ảnh thuộc tính */
.attribute-thumbnail-btn {
  border: 1px solid #ddd;
  padding: 2px;
  border-radius: 4px;
  background: #fff;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

/* Hiệu ứng khi hover hoặc đang được chọn (Active) */
.attribute-thumbnail-btn:hover,
.attribute-thumbnail-btn.active {
  border-color: #d0011b; /* Màu đỏ hoặc màu chủ đạo của web */
}

.attribute-thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zalo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

.zalo-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
  z-index: 9999;
  text-align: center;
}

.zalo-popup h5 {
  margin-bottom: 10px;
  font-weight: 700;
}

.zalo-popup p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}


.store-benefits{
    position:relative;

    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);

    background:
    radial-gradient(circle at center, rgba(255,184,0,.06), transparent 60%),
    #050505;

    overflow:hidden;
}

/* Wrap */
.store-benefits-wrap{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    position:relative;
}

/* Item */
.store-benefit-item{
    position:relative;

    display:flex;
    align-items:center;
    gap:18px;

    padding:26px 34px;

    transition:all .35s ease;
}

/* Border Divider */
.store-benefit-item:not(:last-child):after{
    content:'';

    position:absolute;

    right:0;
    top:50%;

    width:1px;
    height:42px;

    background:rgba(255,255,255,.12);

    transform:translateY(-50%);
}

/* Icon */
.store-benefit-icon{
    width:52px;
    min-width:52px;
    height:52px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);
}

.store-benefit-icon i{
    font-size:22px;

    text-shadow:
    0 0 12px rgba(255,184,0,.55),
    0 0 30px rgba(255,184,0,.2);

    transition:all .35s ease;
}

/* Content */
.store-benefit-content{
    display:flex;
    flex-direction:column;
}

/* Title */
.store-benefit-title{
    font-size:15px;
    line-height:1.2;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

    color:#fff;

    margin-bottom:4px;
}

/* Desc */
.store-benefit-desc{
    font-size:13px;
    line-height:1.5;

    color:rgba(255,255,255,.6);
}

/* Hover */
.store-benefit-item:hover{
    background:rgba(255,255,255,.02);
}

.store-benefit-item:hover .store-benefit-icon i{
    transform:scale(1.08);

    text-shadow:
    0 0 18px rgba(255,184,0,.9),
    0 0 50px rgba(255,184,0,.45);
}

/* Mobile */
@media(max-width:992px){

    .store-benefits-wrap{
        grid-template-columns:1fr 1fr;
    }

    .store-benefit-item{
        padding:20px;
    }

    .store-benefit-item:nth-child(2):after{
        display:none;
    }

}

@media(max-width:768px){

    .store-benefits-wrap{
        grid-template-columns:1fr;
    }

    .store-benefit-item{
        padding:18px 0;
    }

    .store-benefit-item:after{
        display:none!important;
    }

    .store-benefit-item:not(:last-child){
        border-bottom:1px solid rgba(255,255,255,.06);
    }

}

.section-eyebrow{
    display:block;
    font-size:13px;
    letter-spacing:3px;
    margin-bottom:18px;
    font-weight:700;
}

.brand-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:100%;
  min-height:180px;
  padding:25px;
  background:white;
  border:1px solid rgba(255,255,255,.06);
  text-align:center;
  text-decoration:none;
  transition:all .35s cubic-bezier(.22,1,.36,1);
}

.brand-card:hover{
  transform:translateY(-6px);
  border-color:var(--color-primary);
  background:#161616;
}

.brand-image{
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

.brand-image img{
  max-width:100%;
  max-height:80px;
  object-fit:contain;
}

.brand-content h3{

  font-size:14px;
  font-weight:700;
  line-height:1.5;
  text-transform:uppercase;
  transition:all .3s ease;
}

.brand-card:hover h3{
  color:var(--color-primary);
}

.product-scroll{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

/* Card */
.product-card{
  position:relative;
  display:block;
  height:100%;
  border-radius:18px;
  overflow:hidden;
  background:#f6f0e4;
  border:1px solid rgba(0,0,0,.08);
  transition:all .35s ease;
}

/* Hover */
.product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* Image */
.product-image{
  position:relative;
  overflow:hidden;
  padding:0;
  margin-bottom: 20px;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .45s ease;
}

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

/* Cart */
.product-cart{
  position:absolute;
  right:14px;
  bottom:14px;
  width:42px;
  height:42px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0d4f88;
  color:white;
  font-size:15px;
  transition:all .3s ease;
}

.product-cart:hover{
  transform:translateY(-2px);
  background:var(--color-primary);
  color:black;
}
/* Content */
.product-content{
  padding:0 18px 18px;
}

/* Title */
.product-title{
  font-size:15px;
  line-height:1.5;
  font-weight:800;
  text-transform:uppercase;
  color:#111;
  margin-bottom:10px;
  min-height:44px;
}

/* Rating */
.product-rating{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.product-rating .stars{
  display:flex;
  gap:2px;
  font-size:11px;
}

.product-rating span{
  font-size:12px;
  color:#777;
}
/* Price */
.product-price{
  display:flex;
  align-items:center;
  gap:10px;

  flex-wrap:wrap;
}

.current-price{
  font-size:18px;
  font-weight:800;
  color:#0d4f88;
}

.old-price{
  font-size:13px;
  color:#999;
}

/* Link */
.section-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
  transition:all .3s ease;
}

.section-link:hover{
  gap:14px;
  color:var(--color-primary);
}
.btn-primary {
  color: #fff;
  background-color: #0d4f88;
  border-color: #0d4f88;
}
.text-muted {
  --bs-text-opacity: 1;
  color: #000 !important;
}

.breadcrumb-scroll {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 0 8px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE, Edge */
  white-space: nowrap;
}
.breadcrumb-scroll::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari */
}
.breadcrumb-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .breadcrumb-scroll {
      overflow-x: visible !important;
      white-space: normal;
      gap: 8px;
  }
}
/* ==========================
TABLET
========================== */

@media(max-width:992px){

  .product-scroll{
      grid-template-columns:repeat(3,1fr);
  }

}

/* ==========================
MOBILE
========================== */

@media(max-width:768px){

  .product-scroll{
      grid-template-columns:repeat(2,1fr);

      gap:12px;
  }


  .product-content{
      padding:0 14px 14px;
  }

  .product-title{
      font-size:12px;

      min-height:auto;
  }

  .current-price{
      font-size:15px;
  }

  .old-price{
      font-size:11px;
  }

  .product-cart{
      width:36px;
      height:36px;

      font-size:13px;
  }

}


.icon {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #ffffff;
}

.icon .cart-products-count-btn {
  position: absolute;
  top: -8px;
  right: -10px; 
  background-color: #ff3333; 
  color: #ffffff;
  top: -16px;
  height: 16px;
  width: 16px;
  font-size: 11px;
  font-weight: 700; 
  
  min-width: 18px;
  border-radius: 50%; 
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
  line-height: 1;
}
.icon:hover {
  color: #ffc107; /* Đổi túi thành màu vàng khi rê chuột vào */
  transition: color 0.3s ease;
}

/* ========================================
FOOTER
======================================== */

.footer-dark{
  position:relative;
  padding:55px 0 0;
  border-top:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

/* Layout */
.footer-main{
  display:grid;
  grid-template-columns:
  1.2fr
  1.5fr
  1fr;
  gap:40px;

  align-items:center;
}

/* ========================================
LEFT
======================================== */

.footer-brand{
  display:flex;
  align-items:center;
  gap:40px;
}

.footer-logo{
  width:240px;
  object-fit:contain;
}
.footer-contact-link{
  display:block;
  color:#fff;
  font-size:20px;
  line-height:1.4;
  margin-bottom:10px;
  transition:all .3s ease;
}

.footer-contact-link:hover{
  color:var(--color-primary);
}

.footer-support-text{
  font-size:13px;
  color:rgba(255,255,255,.55);
  margin-top:25px;
  line-height:1.7;
}

.footer-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px 30px;
}

.footer-stat-item{
  display:flex;
  align-items:center;
  gap:16px;
}

.footer-stat-item i{
  font-size:24px;
  text-shadow:
  0 0 12px rgba(255,184,0,.45),
  0 0 28px rgba(255,184,0,.2);
}

.footer-stat-item strong{
  display:block;
  font-size:24px;
  line-height:1.1;
  color:#fff;
  margin-bottom:5px;
}

.footer-stat-item span{
  display:block;
  font-size:13px;
  color:rgba(255,255,255,.62);
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* ========================================
NEWSLETTER
======================================== */

.footer-newsletter{
  padding-left:35px;
  border-left:1px solid rgba(255,255,255,.08);
}

.footer-newsletter h3{
  color:#fff;
  font-size:28px;
  font-family:var(--font-secondary);
  font-style:italic;
  margin-bottom:12px;
}

.footer-newsletter p{
  color:rgba(255,255,255,.65);
  font-size:14px;
  line-height:1.7;
  margin-bottom:22px;
}

/* Form */
.footer-subscribe-form{
  display:flex;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.footer-subscribe-form input{
  flex:1;
  height:54px;
  background:transparent;
  border:0;
  padding:0 18px;
  color:#fff;
  font-size:14px;
}

.footer-subscribe-form input::placeholder{
  color:rgba(255,255,255,.4);
}

.footer-subscribe-form button{
  min-width:160px;
  background:var(--color-primary);
  color:black;
  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;
  transition:all .3s ease;
}
.footer-subscribe-form button:hover{
  background:var(--color-link);
  color:white;
}


@media(max-width:1200px){
  .footer-main{
      grid-template-columns:1fr;
      gap:50px;
  }
  .footer-newsletter{
      border-left:0;
      padding-left:0;
  }

}

@media(max-width:768px){

  .footer-dark{
      padding:45px 0;
  }
  .footer-brand{
      flex-direction:column;
      align-items:flex-start;
      gap:25px;
  }
  .footer-logo{
      width:180px;
  }
  .footer-contact-link{
      font-size:16px;
  }
  .footer-stats{
      grid-template-columns:1fr;
  }
  .footer-newsletter h3{
      font-size:22px;
  }
  .footer-subscribe-form{
      flex-direction:column;
  }
  .footer-subscribe-form button{
      width:100%;

      height:50px;
  }

}