@import url('https://db.onlinewebfonts.com/c/5b5fcc354ed196046001a2db207984fa?family=UTM+Avo');

/* ================================
   🎨 Root Variables & Typography
================================ */
:root {
  --primary: #75421b;
  --secondary: #FAF3EB;
  --light: #fff;
  --dark: #001426;
}

body{ overflow-x:hidden; }

h1, h2, .font-weight-bold { font-weight: 700 !important; }
h3, h4, .font-weight-semi-bold { font-weight: 600 !important; }
h5, h6, .font-weight-medium { font-weight: 500 !important; }

/* ================================
   🔘 Buttons
================================ */
.btn {
  font-weight: 600;
  transition: .5s;
}

.btn-primary { color: var(--light); }

.btn-square, .btn-sm-square, .btn-lg-square {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-align: center;
}

.btn-square { width: 40px; height: 40px; }
.btn-sm-square { width: 30px; height: 30px; }
.btn-lg-square { width: 50px; height: 50px; }

/* ================================
   🧱 Borders
================================ */
.border-inner {
  position: relative;
}

.border-inner * { position: relative; z-index: 1; }

.border-inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--light);
  z-index: 0;
}

/* ================================
   🔝 Back To Top
================================ */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 0;
  display: none;
  border-radius: 0;
  z-index: 99;
}

/* ================================
   🧭 Navbar
================================ */
.navbar-dark .navbar-nav .nav-link {
  padding: 30px 15px;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--light);
  transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 15px;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

/* ================================
   🖼️ Hero Slider
================================ */
.hero-slider,
.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider .slide-content {
  position: relative;
  z-index: 2;
  color: var(--light);
  max-width: 800px;
  text-align: center;
  padding: 0 15px;
}

.hero-slider h1 {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Swiper Controls */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--light);
  transition: .3s;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  color: var(--primary);
}

.hero-slider .swiper-pagination-bullet {
  background: var(--light);
  opacity: .7;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider,
  .hero-slider .swiper,
  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide { height: 60vh; }

  .hero-slider h1 { font-size: 2rem; }
  .hero-slider .slide-content p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero-slider,
  .hero-slider .swiper,
  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide { height: 30vh; }

  .hero-slider h1 { font-size: 1.5rem; }
}

/* ================================
   ▶️ Play Button
================================ */
.btn-play {
  position: relative;
  width: 16px;
  height: 26px;
  padding: 18px 20px 20px 28px;
  border: none;
  outline: none !important;
  border-radius: 50%;
  background: var(--light);
}

.btn-play::before,
.btn-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.btn-play::before {
  animation: pulse-border 1.5s ease-out infinite;
  z-index: 0;
}

.btn-play::after { z-index: 1; transition: all .2s; }

.btn-play span {
  position: relative;
  z-index: 3;
  border-left: 16px solid var(--primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ================================
   🎬 Video Modal
================================ */
#videoModal .modal-dialog {
  max-width: 800px;
  margin: 60px auto 0;
}

#videoModal .modal-body { padding: 0; }

#videoModal .close {
  position: absolute;
  top: -30px;
  right: 0;
  width: 30px;
  height: 30px;
  font-size: 30px;
  color: var(--light);
  background: #000;
  opacity: 1;
  z-index: 999;
}

/* ================================
   🏷️ Section Titles
================================ */
/* ================================
   💼 Service & Contact BG
================================ */
.service::after,
.contact::after {
  content: "";
  position: absolute;
  top: 135px;
  left: 0;
  width: 100%;
  height: calc(100% - 45px);
  background-size: cover;
  z-index: -1;
}

.service::after {
  background: linear-gradient(rgba(43,40,37,.9), rgba(43,40,37,.9)), url(../img/service.jpg) center no-repeat;
}

.contact::after {
  background: linear-gradient(rgba(43,40,37,.5), rgba(43,40,37,.5)), url(../img/bg.jpg) center no-repeat;
}

/* ================================
   🎁 Offer Section
================================ */
.bg-offer {
  background: linear-gradient(rgba(43,40,37,.9), rgba(43,40,37,.9)), url(../img/offer.jpg) center no-repeat;
  background-size: cover;
}

/* ================================
   👥 Team
================================ */
.team-item img {
  transition: .5s;
}

.team-item:hover img {
  transform: scale(1.1);
  filter: blur(5px);
}

.team-item .team-overlay {
  opacity: 0;
  transition: .5s;
}

.team-item:hover .team-overlay { opacity: 1; }

/* ================================
   💬 Testimonials
================================ */
.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 30px;
  height: 45px;
}

.testimonial-carousel .owl-dot {
  width: 10px;
  height: 25px;
  margin: 0 2px;
  background: #ddd;
  transition: .5s;
}

.testimonial-carousel .owl-dot.active {
  height: 45px;
  background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item {
  opacity: .1;
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  opacity: 1;
}

/* ================================
   🌄 Background Images
================================ */
.bg-img {
  background: linear-gradient(rgba(43,40,37,.5), rgba(43,40,37,.5)), url(../images/bg.jpg) center no-repeat;
  background-size: cover;
}
.btn-use-coupon{
  border-radius: 5px;
}
.btn-use-coupon:hover{
  color: white !important;
}
.sepay-pay-footer img{
  width: 20px !important;
}
.bank-info-row{
  display: flex;
  justify-content: space-between;
}
.sepay-box .note svg{
  display: none !important;
}
.qr-image{
  width: 500px !important;
  margin: 0 auto !important;
}
.bank-logo{
  width: 100px !important;
}
.download-qr{
  text-align: center !important;
  margin-bottom: 30px !important;
}
.download-qr svg{
  display: none !important;
}
.qr-content{
  text-align: center !important;
}
@media (max-width: 575px){
  .qr-image{
    width: 100% !important;
  }
  .bank-logo{
  width: 100% !important;
}
}
.thankyou-wrapper .woocommerce-column--shipping-address,
.thankyou-wrapper .woocommerce-column--billing-address{
  width: 100% !important;
}

.paid-notification{
display: flex; align-items: center; gap: 5px
}
.paid-notification h2{
  margin-bottom: 0px !important;
}
.paid-notification svg{
  width: 20px !important;
}

// START HOME
/* ---------------------------------- CHUNG --------------------------------- */
.mobile-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #D2833A;
    color: white;
    font-size: 12px;
    padding: 0px 6px;
    border-radius: 50%;
}
/* --------------------------------- SLIDER --------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  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: flex-start;
  color: white;
  position: relative;

}

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

.slide-content {
  position: absolute;
  text-align: left;
  z-index: 2;
  padding-left: 90px;
  max-width: 600px;
  top: 30%;
}

@media (max-width: 1024px) {
  .slide-content {
    padding-left: 50px;
    top: 35%;
    max-width: 500px;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .slide-content {
    position: relative;
    /* bỏ absolute để căn giữa */
    text-align: center;
    padding: 0 20px;
    top: auto;
    left: 0;
    transform: none;
    max-width: 100%;
    top: 30%;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slide-content a {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Mobile nhỏ (<=480px) */
@media (max-width: 480px) {
  .slide-content h2 {
    font-size: 1.2rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

@media(max-width:575px){
  .categorySwiper .swiper-wrapper{
    display:grid !important;
    grid-template-columns: repeat(2,1fr);
    gap:15px;
  }

  .categorySwiper .swiper-slide{
    width:100% !important;
    height:auto !important;
  }

  .categorySwiper .swiper-button-next,
  .categorySwiper .swiper-button-prev,
  .swiper-pagination{
    display:none !important;
  }
}


/* Ẩn mũi tên mặc định của Swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Icon trái/phải Font Awesome */
.swiper-button-prev::before,
.swiper-button-next::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
}

.swiper-button-prev::before {
  content: "\f104";
  /* fa-angle-left */
}

.swiper-button-next::before {
  content: "\f105";
  /* fa-angle-right */
}

/* Hover: đổi màu sáng hơn */
.nav-btn:hover::before {
  color: #fff;
}

/* Vị trí hai nút */
.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

/* Responsive nhỏ hơn */
@media (max-width: 768px) {
  .nav-btn {
    font-size: 2rem;
  }
}


/* Navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  font-size: 2.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;
}


.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 30vh;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .nav-btn {
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}

/* Đặt pagination ở giữa đáy slider */
.swiper-pagination {
  position: absolute !important;
  bottom: 25px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

/* Dot thường */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #FAE7B5 !important;
  opacity: 0.5;
  border-radius: 999px;
  transition: all 0.3s ease;
}

/* Dot active dài hơn và sáng hơn */
.swiper-pagination-bullet-active {
  width: 30px !important;
  opacity: 1;
  background: #FAE7B5;
  border-radius: 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .swiper-pagination-bullet-active {
    width: 20px;
  }
}


/* --------------------------------- SLIDER --------------------------------- */
/* ---------------------------------- BLOG ---------------------------------- */
.blog-section {
  padding: 0 20px;
  background: #fffffff;
  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;
  padding: 15px;
}
.blog-item img{
  border-radius: 10px;
}
.blog-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

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

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


.blog-title {
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 1rem;
  transition: color 0.3s;
  color: var(--primary-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-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 desktop vs mobile switch */
.blogSwiper-wrapper { display:none; }

@media(max-width:600px){
  .desktop-blog-grid{ display:none; }

  .blogSwiper-wrapper{
    display:block;
    padding-bottom:25px;
  }

  .blogSwiper-wrapper .swiper-slide{
    width:85%;
  }
}
@media(max-width:600px){
  .blogSwiper-wrapper .swiper-slide{
    padding:0 10px; /* tạo khoảng cách trái phải */
  }

  .blogSwiper-wrapper .blog-item{
    border-radius:12px;
    background:#fff;
  }
}


/* ---------------------------------- 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: var(--primary-color-tdm);
}

.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 ---------------------------------- */
/* ----------------------------------- CATEGORY ---------------------------------- */

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color-tdm);;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.category-item {
  position: relative;
  overflow: hidden;
  /* border: 1px solid #ccc; */
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .4s ease;
}


.category-item h3 {
  margin:0;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index:2;
  font-size:16px;
  font-weight:700;
  color: var(--primary-color-tdm);
  text-transform:uppercase;
  text-align:center !important;
  
}

@media (max-width: 575px) {
  .section-title {
    font-size: 22px;
  }

  .category-grid {
    gap: 15px;
  }

  .category-item h3 {
    font-size: 13px;
    padding: 10px;
  }
}

/* ----------------------------------- CATEGORY ---------------------------------- */
/* --------------------------------- PRODUCT -------------------------------- */
.product-grid-section {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--primary-color-tdm);
}

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

.product-item {
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

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

.product-item h4 {
  text-align: start;
  font-size: 1rem;
  color: #222;
  margin-bottom: 6px;
  margin-left: 10px;
  font-weight: 600;
  display: -webkit-box;
    -webkit-line-clamp: 1;   /* 1 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discount {
  background: #a81d1d;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 3px;
}

.product-item .price-box {
  text-align: start;
  font-weight: 500;
  margin-left: 10px;
}

.product-item .discount {
  background: #e61919;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.9rem;
  border-radius: 3px;
}

.product-item .price-old {
  color: #888;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.product-item .price-box .price-current {
  color: var(--th-primary);
  font-size: 1.1rem;
}

.product-categories {
  text-align: center;
}

/* Thanh nút danh mục */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-btn {
  background: none;
  border: 2px solid #75421B;
  color: #75421B;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #75421B;
  color: #fff;
}

/* Active */
.category-btn.active {
  background: #75421B;
  color: #fff;
}

/* Nội dung */
.category-content {
  animation: fadeIn 0.4s ease;
}

.category-content.active {
  display: block;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .product-item img {
    height: 130px;
  }
}
.product-item{ position:relative; }

.product-badge{
  position:absolute;
  top:20px;
  left:-5px;
  background:#75421B;
  color:#fff;
  padding:8px 17px 10px;
  font-size:12px;
  font-weight:600;
  border-radius:10px 30px 30px 10px;
  z-index:5;
  line-height: 1;
  display:inline-block;
  box-shadow:0 2px 6px rgba(0,0,0,0.12);
  letter-spacing:0.3px;
}
.product-badge.best{
  background:#D19C3B !important; /* vàng premium */
}

.product-badge.sale{
  background:#C62828 !important; /* đỏ sale */
}

.product-badge.new{
  background:#75421B !important; /* nâu Dana */
}


/* --------------------------------- PRODUCT -------------------------------- */
/* ---------------------------------- ABOUT --------------------------------- */
.about-section {
  padding: 50px 20px;
  background: #fff;
  color: #222;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .about-section {
    padding: 30px 15px;
  }
}

/* --- PHẦN 1 --- */
.about-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 60px;
  margin: 0 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;
  color: #D2833A;
  margin-bottom: 10px;
}

.about-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color-tdm);
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--primary-color-tdm);
}

.about-content .btn {
  display: inline-block;
  background: var(--primary-color-tdm);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  border: 2px solid white; 
}

.about-content .btn:hover {
  background: #fff;
  color: var(--primary-color-tdm);
  border: 2px solid var(--primary-color-tdm); 
}

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

.value-box {
  background: #FFF;
  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: #75421b;
  margin-bottom: 15px;
}

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

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

.title_whychoose {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: #FAE7B5;
  margin: 40px auto;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
}

/* Gạch dưới */
.title_whychoose::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FAE7B5;
  border-radius: 2px;
}


@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-bottom: 30px;
}

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

/* ---------------------------------- BRAND --------------------------------- */
/* --------------------------------- AGENCY --------------------------------- */
.agency-section {
  color: #fff;
  margin: 30px 0;
}

.agency-container {
  border-radius: 5px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background-color: var(--primary-color-tdm);
  padding: 30px 45px;
}

.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;
  }
}
.btn-xemthem{
  border: 1px solid var(--primary-color-tdm);
  border-radius:10px;
  color:white;
}
.btn-xemthem:hover{
  background: #fff !important;
  color:var(--primary-color-tdm);
}
/* ------------------------------- 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 ------------------------------ */
.post-detail {
  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;
}

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

@media (max-width: 992px) {
  .cart-container {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------- CART ---------------------------------- */
/* ===== Banner trên header (phiên bản nâu sang trọng, không dính) ===== */
.top-banner {
  background: linear-gradient(180deg, #b77400, #9c5900);
  color: #fff;
  padding: 5px 15px;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.top-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  /* 👈 thêm khoảng cách giữa text và nút */
  max-width: 1200px;
  margin: 0 auto;
}

.top-banner p {
  margin: 0;
  font-weight: 500;
}

.top-banner strong {
  color: #fff;
  font-weight: 700;
}

.top-banner .highlight {
  color: #ffeb3b;
  font-weight: 700;
}

.banner-btn {
  background: #fff;
  color: #7a3d00;
  border-radius: 30px;
  padding: 3px 20px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
}

.banner-btn:hover {
  background: #ffeb3b;
  color: #3a1a00;
}

/* Mobile responsive */
@media(max-width: 575px) {
  .top-banner {
    font-size: 14px;
    padding: 10px;
  }

  .top-banner .container {
    flex-direction: column;
    gap: 10px;
    /* 👈 thêm gap riêng cho mobile */
  }

  .banner-btn {
    padding: 6px 16px;
  }
}
// END HOME