html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* style.css */

body {
    background-color: #22201f;
    color: white;
    font-family: Arial, sans-serif;
}

.navbar {
    margin: 8px 0px;
    border-bottom: 1px solid #444;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    margin: 10px;
    color: white;
    font-size: 1rem;
    padding: 10px;
}

.navbar-nav .nav-link:hover {
    color: #ffc107;
}

.hero {
    padding: 80px 0;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    display: flex
;
    flex-direction: column;
}

.highlight {
    display: flex;
    margin: 15px 0;
    color: #28a745;
    font-size: 3.2rem;
    flex-direction: column;
}

.highlight strong {
    margin: 15px 0;
}

.btn-outline-warning {

    border-radius: 25px;
    border: 2px solid #ffc107;
    color: #ffc107;
    padding: 12px 25px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-outline-warning:hover {
    background: #ffc107;
    color: black;
}

.stats {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    margin-top: 60px;
    justify-content: space-around;
}

.stats p {
    font-size: 10px;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats p strong {
    margin-bottom: 5px;
    font-size: 2rem;
    font-weight: bold;
}

.video-txt .video-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.video-txt .video-box img {
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
}

.video-txt .tx-video{
    margin-top: 40px;
    line-height: 1.5;
}

swiper-container {
    width: 100%;
    height: 100%;
  }

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.custom-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #8B6F36;
    font-weight: bold;
    font-size: 1.5rem;
}

.line {
    flex-grow: 1;
    height: 2px;
    background-color: #8B6F36;
    border: none;
}

.title-text {
    white-space: nowrap;
}
.col-md-6:first-child .custom-card {
    height: 440px;
}
.custom-card.small-card {
    height: 200px; /* Điều chỉnh chiều cao phù hợp */
}

.custom-card.small-card .custom-card-img {
    height: 100%;
    object-fit: cover;
}

.custom-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.custom-card:hover .custom-card-img {
    transform: scale(1.05);
}

.custom-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 20px;
    color: white;
    text-align: left;
}

.custom-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    display: -webkit-box;
  -webkit-line-clamp: 2;       /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Album Section === */
.album-section {
    background-color: #121212;
    color: white;
    padding: 50px 0;
}

.album-section .container {
    max-width: 1200px;
    margin: auto;
}

/* === Vùng 1: Header === */
.album-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.album-header .title {
    font-size: 26px;
    font-weight: bold;
    color: #00ff99;
    flex: 1;
}

.album-header .description {
    font-size: 16px;
    color: #ccc;
    flex: 2;
}

.album-header .nav-buttons {
    display: flex;
    gap: 10px;
    flex: 0;
}

.album-header .nav-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.album-header .nav-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.album-header .nav-button i {
    color: white;
    font-size: 18px;
}

/* === Vùng 2: Album Slider === */

#customSwiper {
  width: 100%;
  overflow: hidden;
}
#customSwiper .swiper-slide {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
#customSwiper .album-card {
  flex: 1;
  text-align: center;
}
#customSwiper .album-card img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section lớn nhất */
.product-section {
    text-align: center;
    padding: 40px 0;
    background-color: #fff;
}

/* Tiêu đề của section */

/* Card sản phẩm */
.product-section .product-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-section .product-card:hover {
    transform: translateY(-5px);
}

/* Hình ảnh sản phẩm */
.product-section .product-card .card-img-top {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* Nội dung card */
.product-section .product-card .card-body {
    text-align: center;
    padding: 15px;
}

/* Tên sản phẩm */
.product-section .product-card .card-body .product-name {
    font-size: 16px;
    font-weight: bold;
    color: #008000;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    max-width: 100%; /* Đảm bảo không bị tràn */
}

/* Giá sản phẩm */
.product-section .product-card .card-body .product-price {
    font-size: 14px;
    color: #333;
}

/* Button xem thêm */
.product-section .btn-more {
    margin-top: 20px;
    font-weight: bold;
    padding: 10px 100px;
    border-radius: 30px;
}

/* Section lớn nhất */
.beauty-secret {
    text-align: center;
    padding: 40px 0;
    background-color: #fff;
}

/* Tiêu đề của section */
.beauty-secret .section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #8d6e46;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beauty-secret .section-title .line {
    flex-grow: 1;
    height: 2px;
    background-color: #8d6e46;
    margin: 0 10px;
}

.beauty-secret .section-title .title-text {
    font-size: 22px;
    font-weight: bold;
}

/* Card sản phẩm */
.beauty-secret .beauty-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.beauty-secret .beauty-card:hover {
    transform: translateY(-5px);
}

/* Hình ảnh trong card */
.beauty-secret .beauty-card .card-img-top {
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

/* Nội dung card */
.beauty-secret .beauty-card .card-body {
    display: flex
    ;
        text-align: center;
        padding: 15px;
        flex-direction: column;
        align-content: center;
        align-items: flex-start;
}



/* Tiêu đề card */
.beauty-secret .beauty-card .beauty-title {
    font-size: 16px;
    font-weight: bold;
    color: #008000;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    max-width: 100%; /* Đảm bảo không bị tràn */
}

/* Ngày tháng */
.beauty-secret .beauty-card .beauty-date {
    font-size: 12px;
    color: #666;
}

/* Mô tả */
.beauty-secret .beauty-card .beauty-desc {
    font-size: 14px;
    color: #333;
}

/* Button xem thêm */
.beauty-secret .btn-more {
    margin-top: 20px;
    font-weight: bold;
    padding: 10px 100px;
    border-radius: 30px;
}

/* Bố cục chung */
.sponsor {
    text-align: center;
    padding: 70px 0;
    background-color: #fff;
}

/* Tiêu đề chính */
.sponsor .sponsor-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 27px;
    font-weight: bold;
    color: #8b7f5b;
}

/* Đường kẻ ngang hai bên */
.sponsor .sponsor-title .line {
    flex: 1;
    height: 2px;
    background-color: #444444;
    border: none;
}

/* Phần mô tả */
.sponsor .sponsor-subtitle {
    font-size: 14px;
    color: green;
    margin-top: 5px;
}

/* Swiper Slider */
.sponsor .sponsor-slider {
  padding: 20px 0;
}

.sponsor swiper-container {
  width: 100%;
  overflow: hidden;
}

.sponsor swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor swiper-slide img {
  border: 2px solid #000;
  border-radius: 50px;
  padding: 10px 20px;
  height: 50px;
  object-fit: contain;
  background: #fff;
}

.sponsor .swiper-pagination{
  z-index: 0 !important;
}

/* ============ CSS TÙY CHỈNH ============ */
.subscribe-section {
  background: #339657; /* Màu nền xanh lá */
  position: relative;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

/* Hiệu ứng sóng bằng CSS */
.subscribe-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.05) 50%);
  clip-path: ellipse(150% 70% at 50% 30%);
  opacity: 0.2;
}

.subscribe-content {
  position: relative;
  z-index: 1;
}

.subscribe-title {
  margin-top: 30px;
  font-size: 27px;
  font-weight: 200;
  margin-bottom: 30px;
}

.subscribe-subtitle {
  font-size: 11px;
  margin-bottom: 32px;
}

/* Form đăng ký */
.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.subscribe-input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
}

.subscribe-button {
  background: #FFA500;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-button:hover {
  background: #ff9100;
}

/* Responsive cho mobile */
@media (max-width: 576px) {
  .subscribe-form {
      flex-direction: column;
      padding: 10px;
      border-radius: 10px;
  }
  .subscribe-input {
      border-radius: 10px;
      margin-bottom: 10px;
  }
  .subscribe-button {
      border-radius: 10px;
  }
}

/* ============ FOOTER CSS ============ */
.footer {
  background: white;
  padding-top: 60px ;
  padding-bottom: 20px;
  border-top: 4px solid #339657;
}

/* Phần bên trái */
.footer-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer p {
  font-weight: 200;
  font-size: 14px;
  color: #444444;
}

.footer-social a {
  font-size: 20px;
  color: black;
  margin-right: 15px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #339657;
}

/* Footer Menu */
.footer-menu h5 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #339657;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
}

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

.footer-menu ul li a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  transition: 0.3s;
}

.footer-menu ul li a:hover {
  color: #339657;
}

/* Footer Contact */
.footer-contact h5 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #339657;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-btn {
  background: #339657;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #287a46;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid black;
    display: flex
;
    margin-top: 50px;
    text-align: center;
    font-size: 13px;
    color: #666;
    justify-content: space-between;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #339657;
}
.footer-about{
  max-width: 310px;
}

/* Thanh tìm kiếm */
.search-navbar {
  background-color: #f8f9fa;
  padding: 10px 0;
}
.search-navbar .form-control {
  max-width: 400px;
}

/* Nav Tabs */
.product-tabs {
  background-color: white;
  padding-top: 10px;
}
.product-tabs .nav-tabs .nav-link {
  font-weight: bold;
  color: #198754;
}
.product-tabs .nav-tabs .nav-link.active {
  background-color: #198754;
  color: white;
}

/* Danh sách sản phẩm */
.product-card {
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
}
.product-card:hover {
  transform: scale(1.05);
}
.product-card .badge {
  font-size: 14px;
}
.product-card .rating {
  color: gold;
}

/* Phân trang */
.pagination-section {
  margin-top: 20px;
  padding-bottom: 20px;
  background-color: white;
}
.pagination .page-item.active .page-link {
  background-color: #198754;
  border-color: #198754;
}

/* Main Container */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Gallery Section */
.gallery-container {
  display: flex;
  margin-bottom: 30px;
}

.gallery-container .thumbnails-column {
  width: 120px;
  padding-right: 15px;
}

.gallery-container .thumbnails-column .thumbnail-item {
  width: 100px;
  height: 80px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-container .thumbnails-column .thumbnail-item.active {
  border-color: #4CAF50;
}

.gallery-container .thumbnails-column .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-container .main-image-container {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 500px;
  height: 400px;
}

.gallery-container .main-image-container .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.gallery-container .main-image-container .main-image.active {
  display: block;
}

/* Product Info Section */
.product-info {
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.product-info .product-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.product-info p {
  margin-bottom: 15px;
}

.product-info .rating {
  margin-bottom: 10px;
}

.product-info .rating .stars {
  color: #FFD700;
  margin-right: 10px;
}

.product-info .rating .reviews {
  color: #666;
  font-size: 14px;
}

.product-info .stock-status {
  font-weight: bold;
  color: #4CAF50;
}

.product-info .price-section {
  margin: 20px 0;
}

.product-info .price-section .product-price {
  font-size: 24px;
  font-weight: bold;
  color: #4CAF50;
  margin-right: 10px;
}

.product-info .price-section .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 18px;
}

/* Sale Countdown */
.product-info .sale-countdown {
  margin-bottom: 20px;
}

.product-info .sale-countdown .sale-label {
  display: block;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.product-info .sale-countdown .countdown-timer {
  display: flex;
  gap: 10px;
}

.product-info .sale-countdown .countdown-timer .time-box {
  width: 40px;
  height: 40px;
  background-color: green;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: bold;
}

/* Quantity Section */
.product-info .quantity-section {
  margin-bottom: 20px;
}

.product-info .quantity-section .quantity-container {
  display: flex;
  align-items: center;
}

.product-info .quantity-section .quantity-container .quantity-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: green;
  border: 1px solid #ddd;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
}

.product-info .quantity-section .quantity-container .quantity-btn.minus {
  border-radius: 4px 0 0 4px;
}

.product-info .quantity-section .quantity-container .quantity-btn.plus {
  border-radius: 0 4px 4px 0;
}

.product-info .quantity-section .quantity-container .quantity-input {
  width: 60px;
  height: 40px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
  padding: 0;
}

/* Hide number input arrows */
.product-info .quantity-section .quantity-container .quantity-input::-webkit-outer-spin-button,
.product-info .quantity-section .quantity-container .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-info .quantity-section .quantity-container .quantity-input[type=number] {
  -moz-appearance: textfield;
}

/* Action Buttons */
.product-info .action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.product-info .action-buttons .buy-now-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  flex-grow: 1;
  transition: background-color 0.3s ease;
}

.product-info .action-buttons .buy-now-btn:hover {
  background-color: #367c39;
}

.product-info .action-buttons .add-cart-btn,
.product-info .action-buttons .wishlist-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: green;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-info .action-buttons .add-cart-btn:hover,
.product-info .action-buttons .wishlist-btn:hover {
  background-color: #e6e6e6;
}

/* Product Features */
.product-info .product-features {
  margin-top: 20px;
}

.product-info .product-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.product-info .product-features .feature-item i {
  margin-right: 10px;
  color: #4CAF50;
}

.product-info .product-features .feature-item span {
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .gallery-container {
      flex-direction: column;
  }
  
  .gallery-container .thumbnails-column {
      width: 100%;
      display: flex;
      padding-right: 0;
      margin-bottom: 15px;
  }
  
  .gallery-container .thumbnails-column .thumbnail-item {
      margin-right: 10px;
      margin-bottom: 0;
  }
  
  .gallery-container .main-image-container {
      max-width: 100%;
  }
}

@media (max-width: 768px) {
  .product-info .action-buttons {
      flex-wrap: wrap;
  }
  
  .product-info .action-buttons .buy-now-btn {
      width: 100%;
      margin-bottom: 10px;
  }
}

/* Phần tổng thể của section */
.product-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  margin: auto;
}

/* Tiêu đề chính */
.product-section h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  border-bottom: 3px solid #0a7c3f;
  display: inline-block;
  padding-bottom: 5px;
}

/* Tabs */
.product-section .nav-tabs {
  border-bottom: 2px solid #ddd;
}

.product-section .nav-tabs .nav-link {
  color: #555;
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.product-section .nav-tabs .nav-link.active {
  background-color: #0a7c3f;
  color: white;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}

/* Nội dung Tab */
.product-section .tab-content {
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
  min-height: 120px;
}

/* Hình ảnh sản phẩm */
.product-section .product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Đoạn mô tả */
.product-section p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Section sản phẩm */
.new-products {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.new-products .title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.new-products .view-more {
  color: #198754;
  font-weight: 500;
}

/* Card sản phẩm */
.new-products .product-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.new-products .product-card:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Ảnh sản phẩm */
.new-products .product-card .card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Nội dung sản phẩm */
.new-products .product-card .card-body {
  padding: 12px;
  text-align: center;
}

/* Badge sản phẩm */
.new-products .product-card .badge {
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 8px;
}

/* Tên sản phẩm */
.new-products .product-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-width: 100%; /* Đảm bảo không bị tràn */
}

.card-title{
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-width: 100%; /* Đảm bảo không bị tràn */
}

/* Giá sản phẩm */
.new-products .product-card .coin {
  font-size: 16px;
}

.new-products .product-card .coin .price {
  color: red;
  font-weight: bold;
}

.new-products .product-card .coin .old-price {
  text-decoration: line-through;
  color: gray;
}

/* Nút mua ngay */
.new-products .product-card .click-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-products .product-card .click-buy .rating {
  font-size: 14px;
}

.new-products .product-card .click-buy .buy {
  padding: 10px;
  background-color: green;
  border-radius: 10px;
}

.new-products .product-card .click-buy .buy a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Thanh tiến trình */
.progress-bar-container {
  background: #eef2f7;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-step {
  flex: 1;
  text-align: center;
}

.progress-step .icon {
  font-size: 20px;
  color: #6c757d;
}

.progress-step.active .icon {
  color: #0d6efd;
}

/* Card chứa nội dung từng bước */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 20px;
}

/* Phần giỏ hàng */
.cart-item {
  display: flex;
  
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.cart-item .img-thumbnail {
  border-radius: 8px;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.cart-item .product-info {
  flex: 1;
}

.cart-item .product-info h6 {
  margin: 0;
  font-size: 16px;
}

.cart-item .product-info p {
  font-size: 14px;
  color: #666;
}

.cart-item .product-price {
  font-size: 16px;
  font-weight: bold;
}

/* Nút số lượng */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-control .btn-outline-secondary {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tổng tiền */
.total-price {
  font-size: 20px;
  font-weight: bold;
  color: green;
  text-align: right;
}

/* Nút hành động */
.action-button {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  background-color: #28a745;
  color: white;
  border: none;
}

.action-button:hover {
  background-color: #218838;
}

.progress-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f7fd;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  max-width: 700px;
  margin: auto;
}

/* Mỗi bước trong tiến trình */
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

/* Biểu tượng */
.step-icon {
  width: 40px;
  height: 40px;
  background-color: green !important;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
}

.step-icon i {
  color: white;
}

/* Dòng kẻ giữa các bước */
.progress-line {
  flex: 1;
  height: 2px;
  background: #d3d3d3;
}

/* Khi bước đang active */
.progress-step.active .step-icon {
  background-color: green;
}

.progress-step p {
  margin-top: 5px;
  font-size: 14px;
  color: black;
}

.collapse {
  visibility: visible;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: auto;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h4 {
  margin-bottom: 15px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-info ul li i {
  margin-right: 10px;
  color: #28a745;
}

.contact-info form {
  display: flex;
  flex-direction: column;
}

.contact-info form input,
.contact-info form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-info form button {
  background-color: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
  }
  .contact-map {
      padding-left: 0;
      margin-top: 20px;
  }
}
.search-navbar {
  background-color: #f8f9fa;
  padding: 15px 0;
}
.search-navbar .form-control {
  border-radius: 20px;
}
.search-navbar .btn {
  border-radius: 20px;
}

/* CSS cho phần tabs */
.news-tabs .nav-tabs .nav-link {
  color: #198754;
  font-weight: bold;
}
.news-tabs .nav-tabs .nav-link.active {
  background-color: #198754;
  color: white;
}

/* CSS cho thẻ tin tức */
.news-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.news-card img {
  height: 200px;
  object-fit: cover;
}
.news-card .card-body {
  padding: 15px;
}
.news-card .btn {
  border-radius: 20px;
}

/* CSS cho phân trang */
.pagination-section .pagination .page-link {
  color: black;
  border-radius: 20px;
  margin: 0 5px;
}
.pagination-section .pagination .page-item.active .page-link {
  background-color: #198754;
  border-color: #198754;
}

.news-detail {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.news-detail .news-content-cv {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-detail .news-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.news-detail .news-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.news-detail .news-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.news-detail .news-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.news-detail .related-news {
  margin-top: 40px;
}

.news-detail .related-news h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.news-detail .related-news .news-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.news-detail .related-news img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.news-detail .related-news .news-title {
  font-size: 16px;
  color: #007bff;
}

.news-detail .related-news .news-title:hover {
  text-decoration: underline;
}

.product-tabs .product-card img{
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
}

.album-section swiper-button-prev,
.album-section swiper-button-next {
  color: white; /* Màu mũi tên */
  background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
  padding: 10px; /* Kích thước nút */
  border-radius: 50%; /* Bo tròn */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.album-section swiper-button-prev:hover,
.album-section swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Tối hơn khi hover */
}

/* Điều chỉnh vị trí */
.album-section swiper-button-prev {
  left: 10px; /* Cách mép trái */
}

.album-section swiper-button-next {
  right: 10px; /* Cách mép phải */
}


@media (max-width: 576px) { 
  .album-header{
    flex-direction: column !important;
  }
  .cart-item {
    flex-direction: column;
  }
  .highlight{
    font-size: 2.2rem;
  }
 }

/* Container */
.tab-nav {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding-bottom: 0.5rem;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-nav {
  scrollbar-width: none; /* Firefox */
}

/* Button chung */
.tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 9999px; /* full */
  background-color: #f3f4f6; /* xám nhẹ */
  color: #4b5563; /* text-gray-600 */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover */
.tab-btn:hover {
  background-color: #e5e7eb; /* xám sáng hơn */
  color: #1f2937; /* text-gray-800 */
}

/* Active */
.tab-btn.active {
  background-color: #1e3a8a; /* xanh đậm */
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.4);
}


@media (max-width: 576px) {
  /* CSS dành riêng cho màn hình mobile */
  selector {
    property: value;
  }
}