:root {
  --main-color: #004a83;  
  --text-color: #333;
  --hover-color: #003966;
  --gold-color: #e5dd00; 
}
.gold-color{
  color: var(--gold-color) !important;
}
*{
  font-family: 'Montserrat', sans-serif;
}
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand img {
  scale: 1.6;
  max-height: 50px;
  transition: all 0.3s ease;
}
@media (max-width: 768px){
  .navbar-brand img {
    transform: translateX(10px);
  }
}
.navbar.scrolled .navbar-brand img {
  max-height: 40px;
}
.navbar-nav .nav-link {
  font-weight: bold;
  color: var(--text-color);
  padding: 10px 15px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--main-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.btn-buy-now {
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(232,174,80,0.4);
  transition: all 0.3s ease;
}

.btn-buy-now:hover {
  background-color: var(--hover-color);
  box-shadow: 0 6px 15px rgba(232,174,80,0.6);
  color: #fff;
}
.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
}

/* Dropdown style */
.dropdown-menu {
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(232,174,80,0.08);
  padding-left: 25px;
}

/* Mũi tên xoay */
/* Ẩn mũi tên mặc định */
.navbar-nav .dropdown-toggle::after {
  display: none !important;
}

/* Style icon Font Awesome */
.navbar-nav .dropdown-toggle i {
  margin-left: 6px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Xoay icon khi mở menu */
.show > .dropdown-toggle i {
  transform: rotate(-180deg);
}


/* Hiệu ứng xuất hiện dropdown */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(5px);}
  to {opacity: 1; transform: translateY(0);}
}
/* Hover submenu trên desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar .dropdown-menu {
    display: block; /* override bootstrap hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
}

/* banner */
/* Banner */
/* Khi rê chuột vào banner hiện tay nắm */
#mainCarousel {
    cursor: grab;
}
#mainCarousel:active {
    cursor: grabbing;
}
#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
    display: none !important;
}

#hero-banner .carousel-item img {
  height: 90vh;
  object-fit: cover;
}

#hero-banner .carousel-caption {
  bottom: 30%;
  left: 5%;
  text-align: left;
  max-width: 500px;
}
@media screen and (max-width: 991px){
  #hero-banner .carousel-item img {
    height: 60vh;
  }
}
@media screen and (max-width: 575px){
  #hero-banner .carousel-item img {
  height: 25vh;
}
#about-company img{
  height: 100% !important;
}
#hero-banner .carousel-caption {
  bottom: 2 0%;
}
}
#hero-banner .carousel-caption h1 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

#hero-banner .carousel-caption p {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #f8f9fa;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
#hero-banner .carousel-caption {
    left: 0;
    right: auto;
    max-width: max-content; /* chiều rộng tối đa content */
    padding-left: calc((100% - 1140px) / 2); /* canh giống container */
}

@media (max-width: 1200px) {
    #hero-banner .carousel-caption {
        padding-left: 15px; /* mobile/tablet padding nhỏ hơn */
    }
}

.btn-cta {
  background-color: var(--main-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--hover-color);
  color: #fff;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(232,174,80,0.5);
  border: none;
  margin: 0 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicators .active {
  background-color: var(--main-color);
  transform: scale(1.2);
}

/* Cam kết thương hiệu nâng cấp */
#brand-commitments{
}
#brand-commitments .commit-card {
  cursor: pointer;
background-color: #fff;
  border-radius: 10px;
  padding: 20px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

#brand-commitments .commit-card i {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

#brand-commitments .commit-card p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

#brand-commitments .commit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#brand-commitments .commit-card:hover i {
  color: var(--hover-color);
}

/* about css  */
/* Tiêu đề section */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--main-color);
  position: relative;
  display: inline-block; /* bó sát chữ để dễ căn giữa gạch */
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3.5px;
  background: var(--main-color);
  margin: 8px auto 0;
}
.section-title.line-start::after{
    margin: 5px !important;
}

/* Danh sách giới thiệu */
.about-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-list li {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.about-list li i {
  color: var(--main-color);
  margin-right: 10px;
  font-size: 1.2rem;
}
#about-company img {
  width: 100%;
  height: 400px; /* chiều cao mong muốn */
  object-fit: cover; /* giữ tỷ lệ, crop phần dư */
  border-radius: 10px;
}
/* product css */
/* Tiêu đề + link xem thêm */
#featured-products .link-more {
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
}
#featured-products .link-more:hover { color: var(--hover-color); }

/* Card sản phẩm */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* Ảnh vuông, crop đẹp */
.product-media {
  position: relative;
  background: #faf5ec;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* ảnh vuông */
  object-fit: cover;
  display: block;
  height: 280px;
}
@media screen and (max-width: 575px) {
  .product-media img {
    height: 150px;
  }
}

/* Badge */
.badge-hot, .badge-new {
  position: absolute;
  top: 10px; left: 10px;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  color: #fff;
}
.badge-hot { background: #e74c3c; }
.badge-new { background: var(--main-color); }

/* Thông tin */
.product-info {
  padding: 14px 14px 16px;
}
.product-name a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #222;
  line-height: 1.35;
  text-decoration:none;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #004a83;
  font-weight: bold;
}
.product-price .price {
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.05rem;
}
.product-price .price-old {
  color: #999;
  text-decoration: line-through;
  font-size: .95rem;
}

/* Grid khoảng cách đẹp trên mobile */
@media (max-width: 575.98px) {
  .product-price .price{
    flex-direction: column;
  }
  #featured-products .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
  .cart{
    flex-direction: column;
  }
}

/* befenit css */
/* Benefit cards */
.benefit-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
  cursor: pointer;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Icon tròn gradient nhẹ */
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 30%, rgba(232,174,80,0.25), rgba(232,174,80,0.08));
  color: var(--main-color);
  margin-bottom: 14px;
}
.benefit-icon i { font-size: 22px; }

/* Tiêu đề & mô tả */
.benefit-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #222;
}
.benefit-desc {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: .95rem;
}

/* Nhịp hover icon đổi màu nhẹ */
.benefit-card:hover .benefit-icon {
  background: radial-gradient(120% 120% at 30% 30%, rgba(232,174,80,0.35), rgba(232,174,80,0.12));
  color: var(--hover-color);
}

/* Khoảng cách mobile */
@media (max-width: 575.98px) {
  #yen-benefits .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
}


/* gift */
/* Tiêu đề */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--main-color);
}

/* Filter buttons */
.gift-filter .btn-filter {
  background: #fff;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-weight: 500;
  margin: 0 4px;
  border-radius: 20px;
  padding: 6px 16px;
  transition: all 0.3s ease;
  margin-top: 5px;
}
.gift-filter .btn-filter:hover,
.gift-filter .btn-filter.active {
  background: var(--main-color);
  color: #fff;
}

/* Gift card */
.gift-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gift-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* Gift info */
.gift-info {
  padding: 12px;
}
.gift-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}
/* testimonial */
.testimonial-img {
  width: 100%;
  max-width: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--main-color);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.testimonial-content {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-author h4 {
  font-weight: 700;
  margin-bottom: 0;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: #777;
}

/* Dot indicators */
.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--main-color);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.carousel-indicators .active {
  opacity: 1;
}
#testimonialCarousel { cursor: grab; }
#testimonialCarousel:active { cursor: grabbing; }/* Ngăn bị bôi đen khi kéo testimonial */
#testimonialCarousel,
#testimonialCarousel * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.testimonial-img {
  width: 100%;
  max-width: 140px; /* vừa phải, không quá to */
  height: 140px;
  object-fit: cover;
  border-radius: 100px; /* bo nhẹ cho mềm mại */
  border: 3px solid var(--main-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 767.98px) {
  #testimonialCarousel .row {
    text-align: center;
  }

  #testimonialCarousel .testimonial-img {
    margin: 0 auto 15px;
  }

  #testimonialCarousel .testimonial-content {
    text-align: center;
  }

  #testimonialCarousel .testimonial-author h4,
  #testimonialCarousel .testimonial-author p {
    text-align: center;
  }
}

/* post css  */
/* Link xem tất cả */
#news-tips .link-more {
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
}
#news-tips .link-more:hover { color: var(--hover-color); }

/* Card bài viết */
.post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Ảnh 16:9 */
.post-thumb {
  position: relative;
  display: block;
  background: #faf5ec;
}
.post-thumb img {
  width: 100%;
  height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Badge chuyên mục */
.post-badge {
  position: absolute;
  left: 12px; bottom: 12px;
  background: var(--main-color);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 16px;
}

/* Nội dung bài */
.post-body { padding: 14px 16px 18px; }
.post-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.post-title a { color: #222; text-decoration: none; }
.post-title a:hover { color: var(--main-color); }
.post-meta { font-size: .9rem; color: #777; margin-bottom: 8px; }
.post-excerpt { color: #555; margin: 0 0 10px; }
.post-more {
  color: var(--main-color);
  font-weight: 600;
  text-decoration: none;
}
.post-more:hover { color: var(--hover-color); }

/* Nút filter */
.news-filter .btn-filter {
  background: #fff;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-weight: 500;
  border-radius: 20px;
  padding: 6px 16px;
  transition: all .25s ease;
}
.news-filter .btn-filter:hover,
.news-filter .btn-filter.active {
  background: var(--main-color);
  color: #fff;
}

/* Khoảng cách mobile */
@media (max-width: 575.98px) {
  #news-tips .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
}

/* footer  */
.footer {
  background: #222;
  color: #ccc;
  font-size: 1rem;
}
#menu-footer-menu li a{
  text-decoration: none !important;
  color: #ccc !important;

}
#menu-footer-menu li a:hover{
  text-decoration: underline !important;
  color: white !important;
}
.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #b18124;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-text {
  line-height: 1.6;
}

.footer-list, .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list i {
  color: var(--main-color);
  margin-right: 6px;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--main-color);
}

.footer-bottom {
  font-size: 0.9rem;
  color: #aaa;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a{
    text-decoration: none;
}
.footer-social .social-link, .pagi-news .page-numbers, .woocommerce-pagination .page-numbers li * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}
.footer-social .social-link:hover, .pagi-news .page-numbers:hover, .woocommerce-pagination .page-numbers li *:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}
.pagi-news .page-numbers.current, .woocommerce-pagination .page-numbers li *.current{
  background: var(--text-color);
}
.footer-map iframe {
  border-radius: 10px;
  overflow: hidden;
}
.woocommerce-pagination .page-numbers{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
}
/* Page About  */
.about-us p {
  line-height: 1.7;
}

.vm-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vm-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.vm-title {
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 15px;
}
.vm-title i {
  margin-right: 8px;
}

.partner-logo {
  max-height: 80px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* contact */
.contact-card, .form-card, .map-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.contact-list li {
  margin-bottom: 10px;
  color: #444;
}
.contact-list i {
  color: var(--main-color);
  margin-right: 8px;
}

.contact-social {
  display: flex;
  gap: 10px;
}
.contact-social a {
  text-decoration: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--main-color);
  transition: 0.3s;
}
.contact-social a:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 10px;
}

.form-card .form-control {
  border-radius: 10px;
}
.btn-cta {
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 18px;
  border: 0;
}
.btn-cta:hover {
  background: var(--hover-color);
}

@media (max-width: 575.98px) {
  .map-wrap iframe {
    min-height: 260px;
  }
}

.bg-yen-1 {
  background-image: url('../images/nione-buff/bird-2.webp');
  background-size: 7%; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: right top; /* nằm góc trên bên trái */
}
.bg-yen-2{
  background-image: url('../images/nione-buff/bird-4.webp');
  background-size: 10%; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: left top; /* nằm góc trên bên trái */
}
.bg-yen-3{
  background-image: url('../images/nione-buff/bird-3.webp');
  background-size: 13%; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: right top; /* nằm góc trên bên trái */
}
.bg-yen-4{
  background-image: url('../images/nione-buff/hero-bird.webp');
  background-size: 150px; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: left 55%; /* nằm góc trên bên trái */
}
.bg-yen-5{
  background-image: url('../images/nione-buff/hoa-tiet-home-1.svg');
  background-size: 100%; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: left 20px; /* nằm góc trên bên trái */
}
.bg-yen-6{
  background-image: url('../images/nione-buff/bg-page-title-subpage.png');
  background-size: 200px; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: left 20px; /* nằm góc trên bên trái */
}
.bg-yen-7{
  background-image: url('../images/nione-buff/bg-yen-test.png');
  background-size: 100%; /* giữ nguyên kích thước gốc */
  background-repeat: no-repeat; /* không lặp */
  background-position: left 20px; /* nằm góc trên bên trái */
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none; /* Ẩn mặc định */
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}
/* product details  */
/* ============== PRODUCT DETAIL ============== */
.product-detail { --border:#ececec; }

/* Breadcrumb gọn gàng */
.product-detail .breadcrumb {
  background: transparent;
  margin-bottom: 12px;
}
.product-detail .breadcrumb .breadcrumb-item a {
  color: var(--text-color);
  text-decoration: none;
}
.product-detail .breadcrumb .breadcrumb-item.active { color: #888; }

/* Title + price */
.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #222;
}

.price-current{
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.25rem;
}
.price-regular{
  color: #999;
  text-decoration: line-through;
}
.badge-sale{
  background: rgba(232,174,80,.12);
  color: var(--main-color);
  border: 1px solid rgba(232,174,80,.35);
  font-weight: 700;
}

/* Short desc */
.product-short{ line-height: 1.7; }

/* Link thương hiệu */
.link-brand a{
  color: var(--main-color) !important;
  text-decoration: none;
  font-weight: 600;
}
.link-brand a:hover{ color: var(--hover-color); }

/* Gallery */
#pdGallery .carousel-inner img{
  width: 100%;
  display: block;
  border-radius: 10px;
}
#pdGallery .carousel-control-prev,
#pdGallery .carousel-control-next{
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.15));
}

.pd-thumbs{
  gap: .5rem !important;
  user-select: none;
}
.pd-thumbs .thumb{
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.pd-thumbs .thumb img{
  width: 70px; height: 70px; object-fit: cover; display:block; border-radius: 6px;
}
.pd-thumbs .thumb.is-active{
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(232,174,80,.18);
}
@media (max-width: 575.98px){
  .pd-thumbs .thumb img{ width:60px; height:60px; }
}

/* Qty + Add to cart (tận dụng phong cách nút có sẵn) */
.qty-group .btn{
  min-width: 42px;
  border-color: #ddd;
  background: #fff;
}
.qty-group .btn:hover{ border-color: var(--main-color); }
.qty-input{
  border-color: #ddd;
}
.qty-input:focus{ border-color: var(--main-color); box-shadow: 0 0 0 .2rem rgba(232,174,80,.15); }
/* Qty Control Custom */
.qty-control-cus .btn {
    border-radius: 0;
    min-width: 36px;
    font-weight: bold;
}

.qty-control-cus .qty-minus-cus {
    border-radius: 6px 0 0 6px;
}

.qty-control-cus .qty-plus-cus {
    border-radius: 0 6px 6px 0;
}

.qty-input-cus {
    border: 1px solid #ddd;
}

.qty-input-cus:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.2rem rgba(232,174,80,0.15);
}

/* Alias để nút “Thêm vào giỏ hàng” đồng bộ với .btn-cta */
.btn-brand{
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border: 0;
  border-radius: 30px;
  padding: 10px 24px;
  box-shadow: 0 4px 12px rgba(80, 100, 232, 0.35);
  transition: all .3s ease;
}
.btn-brand:hover{ background: var(--hover-color); color:#fff; box-shadow: 0 6px 16px rgba(147, 120, 255, 0.45); }

/* Viền outline theo brand (dùng cho nút nhỏ trong related) */
.btn-outline-brand{
  background: #fff;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-weight: 600;
  border-radius: 24px;
}
.btn-outline-brand:hover{ background: var(--main-color); color:#fff; }

/* Tabs mô tả & đánh giá – giữ tone vàng thương hiệu */
#pdTabs .nav-link{
  font-weight: 700;
  color: var(--text-color);
  border: none;
  border-bottom: 2px solid transparent;
}
#pdTabs .nav-link:hover{ color: var(--main-color); }
#pdTabs .nav-link.active{
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}
#pdTabsContent{
  border: 1px solid #eee;
  border-top: none !important;
  border-radius: 0 0 .5rem .5rem;
}

/* Stars đơn giản bằng màu thương hiệu */
.review-stars, .text-warning{ color: var(--main-color) !important; }

/* Sidebar info box */
.product-detail .info-box{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 16px;
}

/* Related products: tận dụng .product-card sẵn có
   Chỉ tinh chỉnh nhỏ cho phù hợp section này */
.product-detail .related .product-card { cursor: default; }
.product-detail .related .product-card .card-img-top{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Khoảng cách đẹp */
.product-detail .section-title { margin-bottom: 10px; }
.product-detail .tab-content p, 
.product-detail .tab-content li { color:#444; }

/* Responsive nhẹ */
@media (max-width: 991.98px){
  .product-title{ font-size: 1.25rem; }
  .price-current{ font-size:1.125rem; }
}

.footer-map iframe{
  width: 100% !important;
  height: 250px !important;
}
a.foot-cus  {
  text-decoration: none;
color: #ccc;
}
/* start custom woo */
/* alert */
.woocommerce-message:focus{
  outline: none !important;
}
/* cart */
/* ========== CART PAGE ========== */
.cart-page {
  font-family: 'Montserrat', sans-serif;
}
.cart-page table, .cart-page td, .cart-page th{
  border: 1.5px solid rgba(0,0,0,0.05);
}
.cart-page table {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.cart-page thead th {
  background: #faf5ec;
  color: var(--text-color);
  font-weight: 700;
  /* border-bottom: 2px solid rgba(0,0,0,0.05); */
}

.cart-page tbody tr {
  transition: background-color 0.25s ease;
}

.cart-page tbody tr:hover {
  background-color: rgba(232,174,80,0.04);
}

.cart-page .btn-outline-danger {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-page td,
.cart-page th {
  vertical-align: middle;
}

.cart-page img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.cart-page h6 a {
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.cart-page h6 a:hover {
  color: var(--main-color);
}

.cart-page .product-price,
.cart-page td:last-child {
  font-weight: 700;
  color: var(--main-color);
}

.cart-page .form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: center;
}

.cart-page .form-control:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 0.2rem rgba(232,174,80,0.15);
}

/* Coupon + buttons */
.cart-page .input-group input {
  border-radius: 30px 0 0 30px;
  border: 1px solid var(--main-color);
}

.cart-page .input-group .btn {
  border-radius: 0 30px 30px 0;
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-color:var(--main-color);
}

.cart-page .input-group .btn:hover {
  background: var(--hover-color);
}

.cart-page .btn-outline-secondary {
  border-radius: 24px;
  font-weight: 600;
  color: var(--main-color);
  border-color: var(--main-color);
}

.cart-page .btn-outline-secondary:hover {
  background: var(--main-color);
  color: #fff;
}

.cart-page .btn-primary {
  border-radius: 24px;
  font-weight: 600;
  background: var(--main-color);
  border: none;
}

.cart-page .btn-primary:hover {
  background: var(--hover-color);
}

/* Totals box */
.cart-collaterals {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.cart-collaterals h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--main-color);
}
/* tổng cộng */
/* ===== CART TOTALS BOX ===== */
.cart-totals-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 24px 20px;
  max-width: 400px;
  margin-left: auto;
}
.cart_totals {
  width: 100% !important;
}
.cart_totals table.shop_table{
  border-radius: 10px;
}
.cart_totals table.shop_table td, .cart_totals table.shop_table th{
  padding: 10px;
}
.cart-totals-box h2,
.cart-totals-box .cart_totals h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--main-color);
  text-transform: uppercase;
}

.cart-totals-box table {
  width: 100%;
  border: none;
  margin-bottom: 20px;
}

.cart-totals-box table th,
.cart-totals-box table td {
  padding: 10px 0;
  border: none;
  color: var(--text-color);
}

.cart-totals-box table tr.order-total th,
.cart-totals-box table tr.order-total td {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--main-color);
}

.cart-totals-box .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(232,174,80,0.35);
  transition: all 0.3s ease;
}

.cart-totals-box .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--hover-color);
  box-shadow: 0 6px 16px rgba(232,174,80,0.45);
}

/* Responsive: giữ khoảng cách đẹp */
@media (max-width: 767.98px) {
  .cart-totals-box {
    max-width: 100%;
    margin-top: 20px;
  }
}
.woocommerce-remove-coupon{
  color: red !important;
}
/* checkout */
    .checkout-page h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}
.checkout-page .form-row{padding: 7px 0px;}
.checkout-page .form-row input.input-text,
.checkout-page .form-row select,
.checkout-page .form-row textarea {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.checkout-page .form-row input:focus,
.checkout-page .form-row select:focus,
.checkout-page .form-row textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.15rem rgba(232,174,80,0.15);
}
.checkout-page .form-row label{
    margin: 5px 0px;
}
.checkout-page #place_order {
    background: var(--main-color);
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(232,174,80,0.35);
    transition: all 0.3s ease;
    margin-top: 10px;
    color: white;
}
.checkout-page #place_order:hover {
    background: var(--hover-color);
}
#woocommerce-checkout-form-coupon .form-row.form-row-last button{
    background-color: var(--main-color);
    padding: 5px 15px;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    margin-bottom: 20px;
}
.shop_table.woocommerce-checkout-review-order-table{
    width: 100%;
}
/* account */
.woocommerce-column__title,
.woocommerce-order-details__title,
.woocommerce-Address-title.title h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content fieldset > legend
{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--main-color);
  margin: 10px 0px;
}
.woocommerce-MyAccount-content .button.wc-forward,
.woocommerce-address-fields button,
.woocommerce-button.button.view,
.woocommerce-form-login__submit
{
    background-color: var(--main-color) !important;
    font-weight: bold !important;
    color: white !important;
    border-radius: 50px !important;
}
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul
{
  border:none !important;
}
.woocommerce nav.woocommerce-pagination ul{
  display: flex !important;
  gap: 10px;
}
/* custom checkout */
.myaccount-page .woocommerce form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.myaccount-page .woocommerce form .form-row input.input-text,
.myaccount-page .woocommerce form .form-row select,
.myaccount-page .woocommerce form .form-row textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.myaccount-page .woocommerce form .form-row input:focus,
.myaccount-page .woocommerce form .form-row select:focus,
.myaccount-page .woocommerce form .form-row textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.15rem rgba(232,174,80,0.15);
}

.myaccount-page .woocommerce-Button.button {
    background: var(--main-color);
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}
.myaccount-page .woocommerce-Button.button:hover {
    background: var(--hover-color);
}

.myaccount-page nav.woocommerce-MyAccount-navigation {
    background: #faf5ec;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
.myaccount-page nav.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.myaccount-page nav.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
}
.myaccount-page nav.woocommerce-MyAccount-navigation li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.myaccount-page nav.woocommerce-MyAccount-navigation li.is-active a,
.myaccount-page nav.woocommerce-MyAccount-navigation li a:hover {
    background: var(--main-color);
    color: #fff;
}
/* thank you */
.thankyou-page .thankyou-wrapper {
    font-size: 0.95rem;
}
.thankyou-page .woocommerce-order {
    margin-top: 20px;
}
.thankyou-page .woocommerce-order-overview {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.thankyou-page .woocommerce-order-overview li {
    background: #faf5ec;
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    min-width: 150px;
}
.thankyou-page .woocommerce-order-overview li strong {
    display: block;
    font-weight: 700;
    margin-top: 5px;
    color: var(--main-color);
}
.thankyou-page .woocommerce-table--order-details {
    border: 1px solid #eee;
    border-radius: 8px;
}
.thankyou-page .woocommerce-table--order-details th {
    background: #faf5ec;
}
.thankyou-page .woocommerce-table--order-details td,
.thankyou-page .woocommerce-table--order-details th {
    padding: 10px 12px;
}
/* end custom woo */
/* testimonial-fix */
/* ===== TESTIMONIAL CUSTOM ===== */
#testi-cus-section {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.testi-cus-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testi-cus-header {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.testi-cus-slider {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.testi-cus-content {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 380px;
}

.testi-cus-image {
  flex: 0 0 380px;
  height: 380px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.testi-cus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-cus-text {
  flex: 1;
  text-align: center;
}

.testi-cus-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 20px;
}

.testi-cus-message {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
  text-align: justify;
}

.testi-cus-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testi-cus-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.95rem;
}
.testi-cus-stat-number {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}
.testi-cus-like,
.testi-cus-dislike {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}
.testi-cus-like { background-color: var(--main-color); }
.testi-cus-dislike { background-color: #aaa; }

/* nav buttons */
.testi-cus-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: var(--main-color);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}
.testi-cus-nav-btn:hover {
  background: var(--hover-color);
  transform: translateY(-50%) scale(1.1);
}
.testi-cus-prev { left: -20px; }
.testi-cus-next { right: -20px; }

/* dots */
.testi-cus-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.testi-cus-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}
.testi-cus-dot.active {
  background: var(--main-color);
  transform: scale(1.2);
}

/* responsive */
@media (max-width: 768px) {
  .testi-cus-content {
    flex-direction: column;
    text-align: center;
  }
  .testi-cus-image {
    flex: none;
    width: 100%;
    max-width: 280px;
    height: 280px;
  }
}
@media (max-width: 768px) {
  .testi-cus-content {
    flex-direction: column;
    text-align: center;
  }
  .testi-cus-image {
    flex: none;
    width: 100%;
    max-width: 280px;
    height: 280px;
  }

  /* Giữ nút trên mobile nhưng thu nhỏ và đặt sát viền */
  .testi-cus-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    top: 105%; /* đưa nút xuống gần đáy */
    transform: translateY(-50%);
    background: var(--main-color);
    opacity: 0.9;
  }
  .testi-cus-prev { left: 10px; }
  .testi-cus-next { right: 10px; }
}
/* testimonial fix end */
.line-height-cus{
  line-height: 1.7;
}

/* Tư ván sản phẩm */
    .product-advice-section {
  background-color: #ffffff; /* gần giống tone ảnh bạn gửi */
}

.product-advice-title {
  font-weight: 700;
  color: #5c3d1e;
}

.product-advice-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-advice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.product-advice-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.product-advice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-advice-text a{
  text-align: center;
  font-weight: 600;
  color: #5c3d1e;
  padding: 15px;
  flex: none;
  text-decoration: none;
  display: block
}
/* product detail  */
.qty-group {
    display: inline-block;
}

.qty-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.qty-wrapper input.qty {
    width: 60px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: transparent; /* để overlay trắng hiển thị */
    position: relative;
    z-index: 2;
}

.qty-overlay {
    position: absolute;
    inset: 0; /* phủ toàn bộ input */
    background-color: white;
    pointer-events: none; /* cho phép click xuyên qua */
    z-index: 1;
}

.qty-btn {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 0 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    height: 36px;
    z-index: 3;
}

.qty-btn:hover {
    background: #e2e2e2;
}

.qty-btn.qty-minus {
    border-right: none;
}

.qty-btn.qty-plus {
    border-left: none;
}

.img-certi img{
  height: 600px;
}

/* Giá sản phẩm */
.price, 
.product-price .price {
  font-size: 1.4rem;    /* chữ lớn */
  font-weight: 700;
  color: var(--main-color);       /* màu nổi (có thể đổi thành var(--bs-primary)) */
  margin-bottom: 1rem;
  display: block;
}
.single_add_to_cart_button{
  background-color: var(--main-color) !important;
}
.price del {
  color: #888;
  font-size: 1rem;
  margin-left: 0.5rem;
}
.price ins {
  color: #dc3545; /* đỏ cho giá sale */
  text-decoration: none;
}

/* Form add to cart */
form.cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Quantity box */
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  overflow: hidden;
  width: fit-content;
}
.quantity input.qty {
  width: 70px;
  text-align: center;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem;
  font-weight: 600;
}
.quantity button {
  background: #f8f9fa;
  border: none;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.quantity button:hover {
  background: #e9ecef;
}

/* Nút Add to Cart */
.single_add_to_cart_button {
  padding: 0.75rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background-color: var(--bs-primary, #0d6efd);
  border: none;
  color: #fff;
  transition: all 0.25s ease;
}
.single_add_to_cart_button:hover {
  background-color: #0b5ed7;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.quantity{
  margin-bottom: 20px;
}
.qty-btn{
  height: max-content;
}
.variations select{
  padding: 10px 15px;
  cursor: pointer ;
  border: 1.5px solid gray;
  border-radius: 5px;
}

.product-name a {
    display: block;        /* hoặc inline-block */
    white-space: nowrap;   /* không xuống dòng */
    overflow: hidden;      /* ẩn phần dư */
    text-overflow: ellipsis; /* thêm dấu ... */
    width: 100%;           /* hoặc set max-width tùy ý */
}
.product-name {
    max-width: 250px; /* bạn chỉnh theo layout */
}

.post-title a,
.post-meta {
display: -webkit-box;
-webkit-line-clamp: 2; /* số dòng tối đa */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}