:root {
    --font-main: 'Inter', sans-serif;
    --font-secondary: 'Inter', serif;
  
    --color-primary: #1d1d1f;
    --color-secondary: #6e6e73;
    --color-tertiary: #008009;
    --color-link: #0071e3;
    --color-danger: #cf0f3c;
    --color-toc-bg: #f5f5f5;
    --color-highlight: #008009;
  
    --text-size: 19px;
  }
  

  body {
    font-family: var(--font-main);
    font-size: var(--text-size);
    font-weight: 400;
    letter-spacing: 0;
  }
  
  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-danger) !important;
  }
  .colored-link{
    color: var(--color-link) !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-link) !important;
  }
  
  .bg-colored2,
  .bg-colored2-hover:hover,
  .bg-colored2-active.active {
    background-color: var(--color-danger) !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;
}

#fs-searchform {
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 15px 0 5px !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 0;
}
#fs-searchform input {
  width: 100%;
  outline: none;
  border: none;
  background-color: white;
  padding: 40px 60px 40px 120px;
  position: relative;
  font-size: 25px;
  font-weight: 500;
  color: #000;
  -webkit-transition: all 0.5s 0.6s;
  -moz-transition: all 0.5s 0.6s;
  transition: all 0.5s 0.6s;
}
.suggestion-list {
  background: #fff;
  border: 1px solid #eee;
  z-index: 99;
  max-height: 480px;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  display: none; /* Mặc định ẩn */
  animation: none;
}
.suggestion-list.show {
  display: block !important;
  animation: slideDown 0.35s cubic-bezier(0.32,0.72,0,1) both;
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-24px) scaleY(0.96);
  }
  to {
      opacity: 1;
      transform: translateY(0) scaleY(1);
  }
}
.suggestion-item {
  padding: 12px 10px 12px 50px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  display: flex; align-items: center; gap: 12px;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f7f7f7; }
.suggestion-thumb { width: 89px; height: 89px; object-fit: cover; border-radius: 6px; }
.suggestion-info { flex: 1; }
.suggestion-title { font-weight: 500; font-size: 16px; }
.suggestion-meta { color: #888; font-size: 13px; }

.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* justify-content: center; */
}
.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    scroll-snap-align: start;
}

.category-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 8px;
}
.category-item.category-item-product {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  scroll-snap-align: start;
}

.category-item.category-item-product img {
  width: auto;
  max-width: auto;
  height: 68px;
  margin-bottom: 8px;
}


.category-item span {
    display: block;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.card-products{
    background-color: #fff;
    border-radius: 18px;
    /* box-shadow: 2px 4px 12px #00000014; */
    padding: 30px;
}
.product-storage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.storage-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1.5px solid #e0e0e0;
  color: #555;
  background: #fafafa;
  line-height: 1.6;
  white-space: nowrap;
}

.storage-pill.active {
  border-color: var(--color1, #0071e3);
  color: var(--color1, #0071e3);
  background: #e8f1fb;
}
.radius, .radius-hover:hover {
  border-radius: 12px !important;
}


  #content p,
  #content h2,
  #content h3,
  #content h4,
  #content h5 {
    margin-bottom: 15px;
  }
  #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-products {
 
    width: 100%;
  }
  
  .carousel-cell {
    width: 20vw;     /* 3.5 cell trên màn lớn (28 * 3.5 = 98vw) */
    max-width: 480px;
    min-width: 220px;
    margin-right: 15px;
  }
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    z-index: 2;
    cursor: pointer;
  }

  .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);
  }
  
  
  .prev-btn { left: 2em; }
  .next-btn { right: 2em; }
  
  .slider-btn:hover svg path {
    fill: #007bff;
  }
@media (max-width: 991px) {
  .carousel-cell {
    width: 42vw;        /* 2.3 cell (42 * 2.3 = 96.6vw) */
    max-width: 360px;
    min-width: 180px;
  }
  .slider-btn {
    display: none;
  }
}

/* Mobile (1.3 cell) */
@media (max-width: 600px) {
  .carousel-cell {
    width: 76vw;        /* 1.3 cell (76 * 1.3 = 98.8vw) */
    max-width: 92vw;
    min-width: 150px;
    margin-right: 10px;
  }
}
  


.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;
}

#image-product .carousel-cell {
  width: 100%;
  max-width: 100%;
  margin-right: 10px;
}
.flickity-slider-main .carousel-cell {
  width: 100%;
  display: flex;
  justify-content: center;
}


#image-product .flickity-slider-main img {
  display: block;
  width: 75%;
  margin: 0 auto;
}
@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: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.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-actions .lg-next, .lg-actions .lg-prev {
  background-color: rgba(0, 0, 0, .45);
  border-radius: 100%;
  color: #999;
  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-backdrop {
  background-color: rgba(20, 20, 20, 0.6);
}
.badge-flash-sale {
  background: linear-gradient(90deg,#ff6a00 0%,#da365c 100%);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 10px 2px 7px;
  border-radius: 8px;
  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);
}

.table>:not(:first-child) {
  border-top: 2px solid #f5f5f7;
}

.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: 70px;
  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;
}

.modal-header {
border-bottom: 1px solid transparent;

}
/* =================================================================== */
/* TÙY CHỈNH KIỂU DÁNG CHO DROPDOWN CHỌN BIẾN THỂ                   */
/* =================================================================== */

/* --- 1. Tùy chỉnh nút bấm chính của Dropdown --- */
.dropdown .btn.dropdown-toggle {
  /* Màu sắc và nền */
  background-color: #f0f2f5;  /* Màu nền xám nhạt */
  color: #1c1e21;             /* Màu chữ đen */
  border: none;               /* Bỏ đường viền mặc định của Bootstrap */

  /* Hình dáng và kích thước */
  border-radius: 12px;        /* Bo tròn để tạo hình viên thuốc */
  padding: 6px 16px;          /* Điều chỉnh lại khoảng đệm cho gọn hơn */
  font-size: 0.875rem;        /* Cỡ chữ 14px */
  font-weight: 600;           /* Chữ semi-bold */
  
  /* Căn chỉnh mũi tên dropdown */
  display: inline-flex;
  align-items: center;

  /* Hiệu ứng chuyển động */
  transition: background-color 0.2s ease;
}

/* Bỏ mũi tên mặc định của Bootstrap để trông giống nút hơn */
.dropdown .btn.dropdown-toggle::after {
  display: none; 
}

/* Hiệu ứng khi di chuột hoặc khi menu đang mở */
.dropdown .btn.dropdown-toggle:hover,
.dropdown .btn.dropdown-toggle:focus,
.dropdown .btn.dropdown-toggle.show {
  background-color: #e4e6e9; /* Nền xám đậm hơn */
  color: #1c1e21;            /* Giữ nguyên màu chữ */
  border: none;
  box-shadow: none;           /* Bỏ hiệu ứng đổ bóng khi focus */
}


/* --- 2. Tùy chỉnh menu xổ xuống (dropdown-menu) --- */
.dropdown .dropdown-menu {
  border-radius: 12px;        /* Bo tròn góc cho menu */
  border: 1px solid #e4e6e9;  /* Thêm đường viền mỏng, tinh tế */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Hiệu ứng đổ bóng nhẹ */
  padding: 6px;               /* Thêm chút khoảng đệm bên trong menu */
}

/* --- 3. Tùy chỉnh các mục trong menu (dropdown-item) --- */
.dropdown .dropdown-item {
  font-size: 0.875rem;        /* Cỡ chữ 14px */
  font-weight: 500;
  border-radius: 8px;         /* Bo tròn nhẹ cho từng mục */
  padding: 8px 12px;
}

/* Hiệu ứng khi di chuột vào từng mục */
.dropdown .dropdown-item:hover,
.dropdown .dropdown-item:focus {
  background-color: #f0f2f5;
  color: #1c1e21;
}
  /* Footer */
  footer.footer{ padding: 160px 0 220px;  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: 20px; }
  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: 100px; font-size: 12px; }