/* ---------------------------------- CHUNG --------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root{
--primary-color-tdm: #24262a;      /* Màu gốc, đậm */
--primary-color-border-tdm: #3a3c40; /* Nhạt hơn một chút để làm viền */
--primary-bg-color-input-tdm: #2d2f33; /* Trung gian, dùng làm nền input */

    --dark-color-tdm: #002d3a;
    --border-color-gray: #f2f2f2;
    --color-shadow: #e3e3e3;
    --color-sub-gray: #6a6a6a;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
button, input, select{
    outline: none;
}
button, select{
    cursor: pointer;
}
li{
    list-style: none;
}
.max-width-tdm{
    max-width: 1370px;
    margin: 0 auto;
}
.bg-dark-tdm{
    background-color: var(--dark-color-tdm);
}
/* ---------------------------------- CHUNG --------------------------------- */
/* ------------------------------- header top ------------------------------- */
.header-top{
    background-color: var(--primary-color-tdm);
    padding: 0px 10px;
}
.header-logo img{
    width: 60px;
    margin: 3px 0px;
}
.main-header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-search form{
    display: flex;
    gap: 10px;
}
.input-control{
    position: relative;
}
.input-control input,
.input-control button,
.header-search select
{
    padding: 7px 10px;
    border: 2px solid var(--primary-color-border-tdm);
    background-color: var(--primary-bg-color-input-tdm);
    color: white;
    border-radius: 30px;
}
.input-control button{
    position: absolute;
    right: 0px;
    top: 0px;
}
.input-control input{
    width: 650px;
}
.input-control input::placeholder{
    color: white;
}
.header-search select option{
    background-color: white;
    color: var(--dark-color-tdm);
}
.header-login{
    text-transform: uppercase;
    font-weight: bold;
}
.header-login a{
    color: var(--border-color-gray);
    font-size: 15px;
}
/* ------------------------------- header top ------------------------------- */
/* ------------------------------ header-bottom ----------------------------- */
/* header-main */
.header-main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
}
.header-bottom{
    background-color: var(--primary-color-tdm);
}
.header-nav-main{
    display: flex;
    align-items: center;
    gap: 10px;
}
.mana-nav-link-menu{
    position: relative;
}
.mana-nav-link-menu .nav-link-menu{
    color: var(--border-color-gray);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sub-menu-main{
    width: max-content !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 2px solid var(--border-color-gray);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}
.mana-nav-link-menu:hover .sub-menu-main{
    opacity: 1;
    visibility: visible;
}
.sub-menu-main a{
  color: var(--primary-color-tdm) !important;
}
.nav-link-sub-menu{
    padding: 10px;
    color: var(--dark-color-tdm);
    transition: 0.2s ease-in;
    display: block;
}
.nav-link-sub-menu:hover{
    transition: 0.2s ease-out;
    background-color: var(--primary-color-tdm);
    color: var(--border-color-gray);
}
.header-cart{
    display: flex;
    align-items: center;
    position: relative;
}
.header-cart-icon{
    position: relative;
}
.header-cart-icon img{
    width: 45px;
}
.header-cart-icon span{
    position: absolute;
    left: 52%;
    top: 60%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 500;
}
.title-header-cart{
    display: flex;
    align-items: center;
    color: var(--border-color-gray);
    font-weight: bold;
}
/* header-cate */
.header-cate{
    position: relative;
}
.title-header-cate{
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--primary-color-tdm);
    color: white;
    display: flex;
    gap: 40px;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
    margin: 5px 0px;
border: 2px solid var(--primary-color-border-tdm);
}
.menu-cate-child{
    position: relative;
}
.menu-cate-1{
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px;
    color: var(--dark-color-tdm);
    transition: 0.1s ease-in;
}
.menu-cate-1:hover{
    color: white;
    background-color: var(--primary-color-tdm);
    transition: 0.1s ease-out;
}
.mega-menu-cate{
    display: block;
    top: 48px;
    position: absolute;
    background-color: white;
    border: 2px solid var(--border-color-gray);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.header-cate:hover .mega-menu-cate{
        opacity: 1;
    visibility: visible;
}
.menu-cate-child{
    position: relative;
}
.cate-child-box {
    width: max-content;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: white;
    padding: 20px;
    border: 2px solid var(--border-color-gray);
    gap: 20px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-cate-child:hover .cate-child-box {
    opacity: 1;
    visibility: visible;
}

.title-cate-child{
    color: var(--dark-color-tdm);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 10px;
    display: block;
}
.title-cate-child:hover{
    color: var(--primary-color-tdm);
}
.child-cate-child a{
    padding: 10px 0px;
    border-top: 1.5px solid var(--border-color-gray);
    color: gray;
    display: block;
}
.child-cate-child a:hover{
    color: var(--primary-color-tdm);
}
.cart-item-box{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    padding: 10px;
    border: 1.5px solid var(--border-color-gray);
    max-width: 500px;
    min-width: 350px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}
.main-cart-item{
    max-height: 300px;
    overflow: auto;
}
.a-cart-item img{
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}
.a-cart-item{
    display: flex;
    align-items: start;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1.5px solid var(--border-color-gray);
    line-height: 20px;
}
.a-cart-item a{
    color: var(--dark-color-tdm);
}
.a-cart-item a:hover{
    color: var(--primary-color-tdm);
}
.a-cart-item p{
    font-size: 14px;
    color: var(--color-sub-gray);
}
.price-a-cart-item{
    color: var(--color-sub-gray);
    font-weight: 500;
    font-size: 15px;
    padding-top: 10px;
    display: block;
}
.delete-header-a-cart-item i{
    font-size: 20px;
}
.delete-header-a-cart-item i:hover{
    color: #E62727;
}
.total-cart-item{
    padding: 10px 0px;
    margin: 10px 0px;
    border-top: 1px solid var(--border-color-gray);
}
.total-cart-item{
    font-weight: bold;
    color: var(--dark-color-tdm);
}
.btn-act-cart-item{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}
.btn-view-cart,
.btn-checkout{
    background-color: var(--primary-color-tdm);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}
.header-cart:hover .cart-item-box{
    opacity: 1;
    visibility: visible;
}
/* ------------------------------ header-bottom ----------------------------- */
/* ---------------- RESPONSIVE ---------------- */
/* Tablet */
@media (max-width: 1199px) {
  .input-control input {
    width: 400px; /* thu gọn search */
  }
  .header-nav-main {
    gap: 5px;
  }
  .header-cart-icon img {
    width: 35px;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .main-header-top {
    flex-direction: row;
    justify-content: space-between;
  }

  /* logo nhỏ lại */
  .header-logo img {
    width: 45px;
  }

  /* ẩn search + login mặc định, sẽ toggle khi mở menu */
  .header-search,
  .header-login,
  .header-nav-main,
  .header-cate {
    display: none;
  }

  /* header-bottom gom lại */
  .header-main {
    justify-content: space-between;
  }

  /* hamburger icon */
  .mobile-menu-toggle {
    display: block;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }

  /* full menu overlay khi mở */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: white;
    z-index: 999;
    padding: 20px;
    transition: 0.3s ease;
    overflow-y: auto;
    box-shadow: 3px 0 8px rgba(0,0,0,0.25);
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu .header-search,
  .mobile-menu .header-login,
  .mobile-menu .header-nav-main,
  .mobile-menu .header-cate {
    display: block;
    margin: 20px 0;
  }
}
/* mobile header */
.mobile-header {
  display: none;
  background: var(--primary-color-tdm);
  padding: 3px 10px;
}
.mobile-search-container{
    display: none;
}
.mobile-search-container button{
  background-color: white !important;
}
.mobile-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-toggle,
.mobile-cart {
  font-size: 22px;
  color: white;
}
.mobile-cart {
  position: relative;
}
.mobile-cart .cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  background: #e62727;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}
.mobile-logo img {
  width: 70px;
  vertical-align: middle;
}
.mobile-logo span {
  font-weight: bold;
  color: white;
  margin-left: 5px;
}
.mobile-search-bar {
  display: flex;
  gap: 5px;
  background: var(--dark-color-tdm);
  padding: 10px;
  border-radius: 25px;
}
.mobile-search-bar select,
.mobile-search-bar input,
.mobile-search-bar button {
  border: none;
  padding: 6px;
  border-radius: 20px;
  font-size: 17px;
}
.mobile-search-bar input {
  flex: 1;
  background: transparent;
  color: white;
}
.mobile-search-bar input::placeholder {
  color: white;
}

/* menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: #fff;
  transition: 0.3s ease;
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}
.mobile-menu.active {
  left: 0;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-header .tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  color: var(--color-sub-gray);
}
.mobile-menu-header .tab.active {
  border-color: var(--primary-color-tdm);
  background-color: var(--border-color-gray);
  color: var(--dark-color-tdm);
}
.mobile-menu-close {
  position: fixed;
  top: 15px;
  right: 15px;
  font-size: 19px;
  color: white;
  cursor: pointer;
  z-index: 1000;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* 👉 Ẩn mặc định */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

/* 👉 Chỉ hiện khi menu mở */
.mobile-menu.active ~ .mobile-menu-close {
  opacity: 1;
  visibility: visible;
}

.tab-content {
  display: none;
  margin-top: 20px;
}
.tab-content.active {
  display: block;
}
.tab-content a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: var(--dark-color-tdm);
  font-weight: 500;
  text-transform: uppercase;
}
.tab-content a:hover {
  color: var(--primary-color-tdm);
}

/* accordion */
.accordion-toggle {
  text-align: left;
  padding: 10px 0;
  background: none;
  border: none;
  font-weight: bold;
  color: var(--dark-color-tdm);
}
.accordion-panel {
  display: none;
  padding-left: 15px;
}
.accordion-panel a {
  padding: 8px 0;
  font-size: 14px;
  display: block;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-link {
  flex: 1;
  padding: 12px 0;
  font-weight: bold;
  color: var(--dark-color-tdm);
}

.accordion-link:hover {
  color: var(--primary-color-tdm);
}

.accordion-toggle {
  background: none;
  border: none;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  color: var(--dark-color-tdm);
}

.accordion-toggle.active i {
  transform: rotate(180deg);
  transition: 0.3s;
}

/* hiển thị mobile */
@media (max-width: 991px) {
  .header-top,
  .header-bottom {
    display: none;
  }
  .mobile-header, .mobile-search-container {
    display: block;
  }
}
.accordion-toggle {
  text-align: left;
  padding: 10px 0;
  background: none;
  border: none;
  font-weight: 500 !important;
  color: var(--dark-color-tdm);
  font-size: 16px;
}
.accordion-panel {
  display: none;
  padding-left: 15px;
}
.accordion-panel a {
  padding: 8px 0;
  display: block;
  color: var(--color-sub-gray);
}
.accordion-panel a:hover {
  color: var(--primary-color-tdm);
}
/* overlay */
.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

/* sidebar cart */
.cart-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.cart-header h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-color-tdm);
}
.close-cart {
  font-size: 20px;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.cart-item img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 5px;
}
.cart-info {
  flex: 1;
  font-size: 14px;
}
.cart-info a {
  font-weight: 500;
  color: var(--dark-color-tdm);
}
.cart-info a:hover {
  color: var(--primary-color-tdm);
}
.cart-info span {
  font-weight: bold;
  display: block;
}
.remove-cart-item {
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}
.remove-cart-item:hover {
  color: #E62727;
}
.cart-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 15px;
}
.btn-cart-view,
.btn-cart-checkout {
  display: block;
  text-align: center;
  padding: 12px;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--primary-color-tdm);
  color: #fff;
}

/* active state */
.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-sidebar.active {
  right: 0;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998; /* dưới menu nhưng trên nội dung */
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-search {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  background: var(--dark-color-tdm);
  padding: 5px;
  border-radius: 25px;
}

.mobile-menu-search select,
.mobile-menu-search input,
.mobile-menu-search button {
  border: none;
  padding: 6px;
  border-radius: 20px;
}

.mobile-menu-search input {
  flex: 1;
  background: transparent;
  color: white;
}

.mobile-menu-search input::placeholder {
  color: white;
}

.mobile-menu-search button {
  color: white;
  background: none;
}

/* --------------------------------- SLIDER --------------------------------- */
    .hero-slider {
      position: relative;
      width: 100%;
      height: 90vh;
      overflow: hidden;
    }

    .slider-track {
      display: flex;
      height: 100%;
      transition: transform 0.6s ease;
      touch-action: pan-y;
    }

    .slide {
      flex: 0 0 100%;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      position: relative;
    }

    .slide::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.45);
    }

    .slide-content {
      position: relative;
      text-align: center;
      z-index: 2;
      max-width: 600px;
      padding: 1rem;
    }

    .slide-content h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .slide-content p {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }

    .slide-content a {
      display: inline-block;
      background: #fff;
      color: #000;
      padding: 0.75rem 1.5rem;
      border-radius: 9999px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.3s ease;
    }

    .slide-content a:hover {
      background: #e5e5e5;
    }

    .slider-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 5;
    }

    .slider-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.6);
      cursor: pointer;
      transition: opacity 0.3s;
    }

    .slider-dots button.active {
      background: #fff;
      opacity: 1;
    }

    /* Navigation buttons */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.4);
      color: #fff;
      border: none;
      font-size: 1.8rem;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s ease, background 0.3s ease;
    }

    .hero-slider:hover .nav-btn {
      opacity: 1;
    }

    .nav-btn:hover {
      background: rgba(255,255,255,0.3);
    }

    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }

    @media (max-width: 768px) {
      .hero-slider { height: 70vh; }
      .slide-content h2 { font-size: 1.8rem; }
      .slide-content p { font-size: 1rem; }
      .nav-btn { font-size: 1.5rem; width: 35px; height: 35px; }
    }
/* --------------------------------- SLIDER --------------------------------- */
/* ---------------------------------- BLOG ---------------------------------- */
    .blog-section {
      padding: 30px 20px;
      background: #f8f9fa;
      text-align: center;
    }


    .blog-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
      
      margin: 0 auto;
      text-align: left;
    }

    .blog-item {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }

    .blog-item:hover {
      box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .blog-thumb img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .blog-content {
      padding: 20px 25px 30px;
      text-align: center;
    }


    .blog-title {
      font-weight: 600;
      color: #222;
      margin-bottom: 10px;
      line-height: 1.4;
      transition: color 0.3s;
      color: var(--dark-color-tdm);
      display: -webkit-box;

-webkit-line-clamp: 2; /* số dòng tối đa */

-webkit-box-orient: vertical;

overflow: hidden;

text-overflow: ellipsis;
    }
.blog-title a{
  color: #222;
}
    .blog-item:hover .blog-title {
      color: var(--dark-color-tdm);
    }

    .blog-desc {
      color: #555;
      font-size: 0.95rem;
      line-height: 1.6;
      display: -webkit-box;

-webkit-line-clamp: 2; /* số dòng tối đa */

-webkit-box-orient: vertical;

overflow: hidden;

text-overflow: ellipsis;
    }

    .blog-readmore {
      color: var(--dark-color-tdm);
      font-weight: 500;
      text-decoration: none;
      transition: color 0.3s;
    }

    .blog-readmore:hover {
      color: #005dc1;
    }

    @media (max-width: 992px) {
      .blog-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .blog-grid {
        grid-template-columns: 1fr;
      }
      .blog-thumb img {
        height: 200px;
      }
    }
/* ---------------------------------- BLOG ---------------------------------- */
/* ----------------------------------- WHY ---------------------------------- */
    .why-choose-us {
      padding: 50px 20px;
      background: linear-gradient(to bottom, #fff, #f9fafc);
      color: #333;
    }

    .why-choose-us .container {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .section-title {
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 10px;
      letter-spacing: 1px;
      color: #111;
    }

    .section-subtitle {
      color: #666;
      font-size: 1rem;
      margin-bottom: 50px;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      align-items: center;
      gap: 35px;
    }

    .why-item {
      background: #fff;
      border-radius: 16px;
      padding: 40px 30px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      transition: all 0.35s ease;
    }

    .why-item:hover {
      box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

    .icon-wrap {
      width: 70px;
      height: 70px;
      background: #e8f0fe;
      color: var(--dark-color-tdm);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      margin: 0 auto 20px;
      transition: background 0.3s, color 0.3s;
    }

    .why-item:hover .icon-wrap {
      background: var(--dark-color-tdm);
      color: #fff;
    }

    .why-item h4 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #222;
      margin-bottom: 15px;
    }

    .why-item p {
      color: #555;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    @media (max-width: 992px) {
      .why-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .why-grid {
        grid-template-columns: 1fr;
      }
      .why-item {
        padding: 30px 20px;
      }
    }
/* ----------------------------------- WHY ---------------------------------- */
/* --------------------------------- PRODUCT -------------------------------- */
    .product-grid-section {
      padding: 40px 20px;
      background: #fafafa;
      text-align: center;
    }

    .section-title {
      font-size: 1.7rem;
      text-transform: uppercase;
      margin-bottom: 40px;
      color: #222;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .product-item {
      background: #fff;
      border-radius: 12px;
      padding: 15px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-item img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 10px;
      height: 270px;
      object-fit: cover;
    }

    .product-item h4 {
      font-size: 1rem;
      color: #222;
      margin-bottom: 6px;
    }

    .product-item .price {
      color: #e53935;
      font-weight: 600;
    }

    @media (max-width: 1024px) {
      .product-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }
    @media (max-width: 480px) {
          .product-item img {
      height: 180px;
    }
    }
/* --------------------------------- PRODUCT -------------------------------- */
/* ---------------------------------- ABOUT --------------------------------- */
    .about-section {
      padding: 50px 20px;
      background: #fff;
      color: #222;
    }

    /* --- PHẦN 1 --- */
    .about-intro {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      align-items: center;
      gap: 60px;
      margin: 0 auto 80px auto;
    }

    .about-image img {
      width: 100%;
      height: auto;
      border-radius: 16px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .about-content h2 {
      font-size: 1.2rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #666;
      margin-bottom: 10px;
    }

    .about-content h3 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: #111;
    }

    .about-content p {
      font-size: 1.05rem;
      line-height: 1.7;
      margin-bottom: 25px;
      color: #444;
    }

    .about-content .btn {
      display: inline-block;
      background: #222;
      color: #fff;
      padding: 12px 28px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: background 0.3s ease;
    }

    .about-content .btn:hover {
      background: #555;
    }

    /* --- PHẦN 2 --- */
    .about-values {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .value-box {
      background: #f9f9f9;
      text-align: center;
      padding: 40px 25px;
      border-radius: 14px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .value-box:hover {
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .value-box i {
      font-size: 2rem;
      color: var(--primary-color);
      margin-bottom: 15px;
    }

    .value-box h4 {
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: #111;
    }

    .value-box p {
      color: #555;
      font-size: 1rem;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .about-intro { gap: 30px; }
      .about-content h3 { font-size: 1.8rem; }
      .about-content p { font-size: 1rem; }
    }

    @media (max-width: 600px) {
      .about-section .about-intro { grid-template-columns: repeat(1,1fr); }
      .about-content, .about-image { flex: 1 1 100%; text-align: center; }
      .about-content .btn { margin: 0 auto; }
      .about-values{
        grid-template-columns: repeat(1,1fr);
      }
    }
/* ---------------------------------- ABOUT --------------------------------- */
/* ---------------------------------- BRAND --------------------------------- */
.brand-section {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 30px;
  
  margin: 0 auto;
}

.brand-item img {
  width: 140px;
  height: auto;
  transition: all 0.3s ease;
}

.brand-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  cursor: pointer;
}

@media (max-width: 992px) {
  .brand-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .brand-item img {
    width: 100%;
  }
}
/* ---------------------------------- BRAND --------------------------------- */
/* --------------------------------- AGENCY --------------------------------- */
.agency-section {
  background-color: var(--primary-color-tdm);
  color: #fff;
  padding: 30px 10px;
}

.agency-container {
  
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.agency-text p {
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.agency-btn {
  display: inline-block;
  background: var(--border-color-gray);
  color: var(--primary-color-tdm);
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.agency-btn:hover {
  background: #f2f2f2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .agency-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .agency-text h2 {
    font-size: 1.6rem;
  }
  .agency-btn {
    margin-top: 20px;
  }
}
/* ------------------------------- PANIGATION ------------------------------- */
.pagination-section {
  padding: 20px;
  text-align: center;
}

.pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color-border-tdm);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: rgba(0, 150, 150, 0.1);
}

.pagination .active {
  background: var(--primary-color-tdm);
  color: #fff;
  font-weight: 600;
}

.pagination .prev,
.pagination .next {
  padding: 0 15px;
  background: rgba(0, 150, 150, 0.1);
  border-radius: 9999px;
  font-size: 0.95rem;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: var(--primary-color-tdm);
  color: #fff;
}

.pagination .dots {
  color: #999;
  cursor: default;
}

@media (max-width: 600px) {
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 0.9rem;
  }
  .pagination .prev,
  .pagination .next {
    padding: 0 12px;
  }
}
/* ------------------------------- PANIGATION ------------------------------- */
/* --------------------------------- CONTACT -------------------------------- */
.contact-section {
  padding: 30px 20px;
  background: #f9fafa;
}

.contact-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Left column */
.map-container iframe {
  border-radius: 10px;
  margin-bottom: 25px;
}

.info-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 0.95rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box a {
  color: var(--primary-color-tdm);
  text-decoration: none;
  transition: color 0.3s;
}

.info-box a:hover {
  color: #00b4a1;
}

.info-box i {
  color: #00a7a1;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color-tdm);
  transition: 0.3s;
}
.social-links a i{
  color: white;
}
.social-links a:hover {
  background: #0078a6;
  transform: translateY(-2px);
}

/* Right column */
.contact-form {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: #0078a6;
  margin-bottom: 25px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00a7a1;
  box-shadow: 0 0 0 3px rgba(0,167,161,0.15);
}

.btn-submit {
  background: #00a7a1;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background: #0078a6;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-form, .info-box {
    padding: 25px;
  }
}
/* --------------------------------- CONTACT -------------------------------- */
/* ------------------------------- BLOG DETAIL ------------------------------ */
.blog-content-achive *::first-letter {
  text-transform: uppercase;
}
.post-detail {
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    margin: 20px 0px;
}

.post-container {
padding: 20px;
    background: #fff;
margin: 0 auto;
display: grid;
grid-template-columns: 2.2fr 1fr;
gap: 20px;
}

/* Main content */
.post-title {
font-size: 2rem;
font-weight: 700;
color: #0078a6;
margin-bottom: 10px;
}

.post-meta {
font-size: 0.9rem;
color: #777;
margin-bottom: 25px;
}

.post-thumb {
width: 100%;
border-radius: 10px;
margin-bottom: 30px;
}
.post-body{
    text-align: justify;
}
.post-body p {
line-height: 1.8;
color: #333;
margin-bottom: 20px;
}

.post-body h3 {
font-size: 1.3rem;
color: #0078a6;
margin: 30px 0 15px;
}

/* Sidebar */
.post-sidebar {
padding-left: 10px;
  position: sticky;
  top: 20px; /* khoảng cách từ đỉnh khi dính */
  align-self: flex-start;
  height: fit-content;
}

.sidebar-block {
margin-bottom: 40px;
}

.sidebar-block h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 15px;
color: #0078a6;
position: relative;
}

.sidebar-block h3::after {
content: '';
width: 40px;
height: 3px;
background: #00b4a1;
position: absolute;
bottom: -6px;
left: 0;
}

.sidebar-block ul {
list-style: none;
padding: 0;
margin: 0;
}

.sidebar-block ul li {
margin-bottom: 12px;
}

.sidebar-block ul li a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}

.sidebar-block ul li a:hover {
color: #00a7a1;
}

/* Related posts with images */
.related-posts {
display: flex;
flex-direction: column;
gap: 15px;
}

.related-item {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
border-radius: 8px;
overflow: hidden;
transition: background 0.3s ease;
padding: 5px;
}

.related-item:hover {
background: rgba(0, 174, 174, 0.08);
}

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

.related-info h4 {
font-size: 0.95rem;
font-weight: 600;
color: #222;
margin-bottom: 4px;
line-height: 1.3;
}

.related-info span {
font-size: 0.85rem;
color: #777;
}

@media (max-width: 992px) {
.post-container {
    grid-template-columns: 1fr;
}
.post-sidebar {
    padding-left: 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding-top: 30px;
}
}
/* ------------------------------- BLOG DETAIL ------------------------------ */
/* ---------------------------------- CART ---------------------------------- */
    .cart-section {
      padding: 30px 20px;
      background: #fafafa;
      
    }

    .cart-container {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 30px;
      
      margin: 0 auto;
      align-items: start;
    }

    .cart-table {
      width: 100%;
      border-collapse: collapse;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .cart-table th,
    .cart-table td {
      padding: 15px;
      text-align: center;
      border-bottom: 1px solid #eee;
    }

    .cart-table th {
      background: var(--primary-color-tdm);
      color: #fff;
      font-weight: 600;
    }

    .product-name {
      text-align: left;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .product-name img {
      width: 60px;
      height: 60px;
      border-radius: 6px;
      object-fit: cover;
    }

    .qty-box {
      display: inline-flex;
      align-items: center;
      border: 1px solid #ccc;
      border-radius: 6px;
      overflow: hidden;
    }

    .qty-btn {
      width: 30px;
      height: 30px;
      border: none;
      background: #f0f0f0;
      cursor: pointer;
      font-size: 16px;
      transition: 0.3s;
    }

    .qty-btn:hover {
      background: #00b4a1;
      color: #fff;
    }

    .qty {
      width: 40px;
      text-align: center;
      border: none;
      outline: none;
      font-size: 1rem;
    }

    .cart-summary {
      display: flex;
      flex-direction: column;
      gap: 25px;
    }

    .coupon-box, .summary-box {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .coupon-input {
      display: flex;
      margin-top: 10px;
      gap: 10px;
    }

    .coupon-input input {
      flex: 1;
      padding: 8px 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      outline: none;
    }

    .coupon-input button {
      background: var(--primary-color-tdm);
      border: none;
      color: #fff;
      padding: 8px 15px;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.3s;
    }

    .coupon-input button:hover {
      opacity: 0.9;
    }

    .summary-box h3 {
      margin-bottom: 10px;
    }

    .summary-box p {
      display: flex;
      justify-content: space-between;
      margin: 6px 0;
      font-size: 0.95rem;
    }

    .summary-box .total {
      font-size: 1.2rem;
      font-weight: 700;
      color: #e53935;
    }

    .cart-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 15px;
    }

    .update-btn, .checkout-btn {
      text-align: center;
      padding: 12px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: 0.3s;
    }

    .update-btn {
      background: #ddd;
      color: #333;
    }

    .checkout-btn {
      background: var(--primary-color-tdm);
      color: #fff;
    }

    .update-btn:hover {
      background: #ccc;
    }

    .checkout-btn:hover {
      opacity: 0.9;
    }
    /* Bọc bảng để scroll ngang */
    .cart-table-wrapper {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      display: block;
      padding-bottom: 10px;
    }

    .cart-table {
      min-width: 900px;
      width: 100%;
      border-collapse: collapse;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    @media (max-width: 992px) {
      .cart-container {
        grid-template-columns: 1fr;
      }
    }
    /* ================================
   🔹 SCROLLBAR MÀU ĐEN HIỂN THỊ RÕ
   ================================ */
.cart-table-wrapper {
  width: 100%;
  overflow-x: scroll !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  display: block;
  padding-bottom: 10px;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #000 #e0e0e0;
}

/* Chrome, Edge, Safari (kể cả Safari 17+) */
.cart-table-wrapper::-webkit-scrollbar {
  height: 12px;
  background-color: #e0e0e0;
}

.cart-table-wrapper::-webkit-scrollbar-track {
  background-color: #e0e0e0;
}

.cart-table-wrapper::-webkit-scrollbar-thumb {
  background-color: #000;       /* ✅ màu đen */
  border-radius: 8px;
  border: 2px solid #e0e0e0;    /* tạo rãnh sáng */
}

.cart-table-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #222;       /* hover tối hơn một chút */
}

/* ✅ Safari fix – ép scrollbar luôn hiển thị */
.cart-table-wrapper {
  scrollbar-gutter: stable both-edges; /* Giữ không gian cho scrollbar */
}

/* Safari (WebKit legacy) ép hiển thị thanh cuộn */
@supports selector(::-webkit-scrollbar) {
  .cart-table-wrapper {
    -webkit-overflow-scrolling: auto !important;
  }
}

/* ---------------------------------- CART ---------------------------------- */
/* --------------------------------- FOOTER --------------------------------- */
.site-footer {
    color: #fff;
    line-height: 1.7;
    position: relative;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-size: 19px;
}

.footer-subtitle {
    color: #fff;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    align-items: center;
    margin-bottom: 8px;
    gap: 5px;
}


.footer-websites a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-websites a:hover {
    color: #fbbc05;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--dark-color-tdm);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}



.social-links i {
    font-size: 18px;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbc05;
}
.social-links a:hover {
    background: white;
    color: black;
}
.social-links a:hover i {
    color: black;
}
.footer-fb iframe,
.footer-col iframe {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: none;
}

.footer-bottom {
    background: var(--primary-color-tdm);
    text-align: center;
    padding: 10px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #fbbc05;
    text-decoration: underline;
    font-weight: 600;
}

/* Floating Buttons */
.cfb {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.cfb__btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cfb__btn img:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .cfb {
        display: none !important;
    }
}
/* --------------------------------- FOOTER --------------------------------- */
/* ----------------------------- PRODUCT DETAIL ----------------------------- */
    .product-detail {
      padding: 40px 20px;
      background: #fff;
      color: #222;
    }

    .product-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin: 0 auto;
      align-items: start;
    }

    /* GALLERY */
    .product-gallery img {
      width: 100%;
      height: 400px;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
      cursor: pointer;
    }

    .product-gallery img:hover {
      transform: scale(1.02);
    }

    .thumbs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
      gap: 10px;
      margin-top: 15px;
      justify-content: center;
    }

    .thumbs img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 10px;
      opacity: 0.7;
      transition: 0.3s;
    }

    .thumbs img.active,
    .thumbs img:hover {
      opacity: 1;
      border: 2px solid #00b4a1;
    }

    /* INFO */
    .product-info {
      width: 100%;
    }

    .product-title {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    .price {
      color: #e53935;
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .product-detail .category a {
      color: #007b8f;
      text-decoration: none;
    }

    .quantity-box {
      display: inline-flex;
      align-items: center;
      margin: 20px 0;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
    }

    .qty-btn {
      width: 36px;
      height: 36px;
      background: #f0f0f0;
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .qty-btn:hover {
      background: #00b4a1;
      color: #fff;
    }

    .quantity input.qty {
      width: 60px;
      text-align: center;
      border: none;
      outline: none;
      font-size: 1rem;
    }

    .add-to-cart {
      background: linear-gradient(135deg, #0078a6, #00b4a1);
      color: #fff;
      padding: 12px 25px;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .add-to-cart:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    .description {
      margin-top: 30px;
    }

    .description h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: #0078a6;
    }

    /* RELATED PRODUCTS */
    .related-products {
      margin: 60px auto 0;
      text-align: center;
    }

    .related-products h2 {
      font-size: 1.6rem;
      margin-bottom: 30px;
      color: #0078a6;
      text-transform: uppercase;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
    }

    .product-item {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      padding: 10px;
      transition: 0.3s;
    }

    .product-item img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 8px;
    }

    .product-item:hover {
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }

    @media (max-width: 992px) {
      .product-container {
        grid-template-columns: 1fr;
      }
      .related-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .related-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .related-grid { grid-template-columns: repeat(1, 1fr); }
    }
/* ----------------------------- PRODUCT DETAIL ----------------------------- */
/* ---------------------------------- CART ---------------------------------- */
    .active-coupon {
  background: #f0fff4;
  border: 1px solid #6ee7b7;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.remove-coupon {
  background: #ff4d4f;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.remove-coupon:hover {
  background: #d9363e;
}
/* ---------------------------------- CART ---------------------------------- */
  /* ----------------------------- CHECKOUT ----------------------------- */

/* ----------------------------- CHECKOUT ----------------------------- */
/* ---------------------------------- SHOP ---------------------------------- */
/* ---------------- PRODUCT PAGE ---------------- */
.product-page {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: "Segoe UI", sans-serif;
}
.product-page .container {
  display: flex;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

/* SIDEBAR */
.product-page .sidebar {
  width: 25%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px;
  height: fit-content;
}

.widget + .widget {
  margin-top: 40px;
}

.widget-title {
  font-size: 1.2rem;
  color: #0078a6;
  font-weight: 600;
  margin-bottom: 15px;
  border-left: 4px solid #00b4a1;
  padding-left: 10px;
}

.category-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-widget li {
  margin-bottom: 10px;
}
.category-widget a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}
.category-widget a:hover {
  color: #007b8f;
}

/* FEATURED PRODUCTS */
.featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.featured-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.featured-item h4 {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 4px;
}
.featured-item .price {
  color: #e53935;
  font-weight: 600;
  font-size: 0.9rem;
}

/* MAIN CONTENT */
.product-page .content {
  width: 75%;
}

/* GIỮ NGUYÊN CSS PRODUCT GRID NHƯ ANH ĐƯA */
.product-page .product-grid-section {
    padding: 0px;
  background: #fafafa;
  text-align: center;
}

.section-title {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #222;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto;
}

.product-item {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  height: 270px !important;
  object-fit: cover;
}

.product-item h4 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 6px;
}

.product-item .price {
  color: #e53935;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .product-page .container { flex-direction: column; }
  .product-page .sidebar { width: 100%; order: 2; }
  .product-page .content { width: 100%; order: 1; }
  .product-page .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-page .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .product-item img { height: 180px !important; }
  .product-page .sidebar{
    width: 100%;
  }
}
/* ---------------------------------- SHOP ---------------------------------- */