.details-gallery {
    position: relative
}

.details-label-group {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.details-label {
    font-size: 14px;
    padding: 6px 10px;
    margin-bottom: 6px;
    line-height: 13px;
    border-radius: 3px;
    text-transform: capitalize;
    text-align: center;
    color: var(--white)
}

.details-label:last-child {
    margin-bottom: 0px
}

.details-label.off {
    background: var(--red)
}

.details-label.new {
    background: var(--green)
}

.details-label.sale {
    background: var(--orange)
}

.details-label.feat {
    background: var(--purple)
}

.details-label.rate {
    background: var(--yellow)
}

.details-preview {
    margin-bottom: 16px
}

.details-preview li img {
    width: 100%;
    border-radius: 8px;
    border: 1px dotted #6c757d;
}
.details-preview li img:hover {
    border: 1px solid var(--primary);
    -webkit-box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 10px 6px 17px 3px rgba(0, 0, 0, 0.1);
}

.details-thumb li {
    margin: 0px 8px;
    cursor: pointer
}

.details-thumb li img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--white)
}

.details-thumb .slick-current img {
    border: 1px solid var(--primary)
}

.product-navigation {
    margin-bottom: 25px;
    padding: 20px 25px;
    border-radius: 8px;
    background: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.product-navigation li a {
    color: var(--text);
    text-transform: capitalize;
    position: relative;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.product-navigation li a:hover {
    color: var(--primary)
}

.product-navigation li a:hover .product-nav-popup {
    visibility: visible;
    opacity: 1
}

.product-nav-popup {
    position: absolute;
    top: 30px;
    left: 50%;
    z-index: 3;
    width: 100px;
    height: auto;
    visibility: hidden;
    opacity: 0;
    padding: 10px;
    border-radius: 8px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    -webkit-box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.product-nav-popup::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: -3px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    -webkit-transform: rotate(45deg) translateX(-50%);
    transform: rotate(45deg) translateX(-50%);
    background: var(--white);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border)
}

.product-nav-popup img {
    width: 100%
}

.product-nav-popup small {
    font-size: 14px;
    line-height: 18px;
    display: inline-block
}

.details-content {
    padding: 22px 22px;
    border-radius: 8px;
    background: var(--white);
    border: 1px dotted #6c757d;
}
.details-content:hover {
    -webkit-box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 10px 6px 17px 3px rgba(0, 0, 0, 0.1);
}

.details-name {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 5px;
}

.details-name a {
    color: var(--heading);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.details-name a:hover {
    color: var(--primary)
}

.details-meta {
    margin-bottom: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.details-meta p {
    font-size: 13px;
    margin-right: 20px;
    white-space: nowrap;
    color: var(--placeholder)
}

.details-meta span,
.details-meta a {
    margin-left: 5px;
    color: var(--placeholder)
}

.details-meta a:hover {
    text-decoration: underline;
    color: var(--primary)
}

.details-rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 15px
}

.details-rating i,
.details-rating a {
    font-size: 15px;
    margin-right: 3px;
    color: var(--gray)
}

.details-rating a {
    margin-left: 8px;
    white-space: nowrap;
    text-transform: capitalize;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.details-rating a:hover {
    color: var(--primary);
    text-decoration: underline
}

.details-rating .active {
    color: var(--yellow)
}

.details-price {
    margin-bottom: 20px
}

.details-price del {
    color: var(--red);
    margin-right: 25px
}

.details-price span {
    color: var(--primary);
    white-space: nowrap
}

.details-price span small {
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize
}

.details-desc {
    margin-bottom: 25px
}

.details-list-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 25px
}

.details-list-group:last-child {
    margin-bottom: 0px
}

.details-list-title {
    font-weight: 500;
    margin-right: 15px;
    color: var(--heading);
    text-transform: capitalize
}

.details-tag-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.details-tag-list li {
    margin-right: 8px
}

.details-tag-list li a {
    font-size: 14px;
    line-height: 12px;
    padding: 8px 10px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    color: var(--text);
    background: var(--chalk);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.details-tag-list li a:hover {
    color: var(--white);
    background: var(--primary)
}

.details-share-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.details-share-list li {
    margin-right: 8px
}

.details-share-list li a {
    width: 35px;
    height: 35px;
    font-size: 16px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    color: var(--text);
    background: var(--chalk);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.details-share-list li a:hover {
    color: var(--white);
    background: var(--primary)
}

.details-add-group {
    margin: 45px 0px 15px
}

.details-add-group .product-add,
.details-add-group .action-input {
    padding: 10px 0px;
    color: var(--white);
    background: var(--primary);
    text-transform: uppercase
}

.details-add-group .action-minus i,
.details-add-group .action-plus i {
    background: var(--chalk)
}

.details-action-group {
    display: -ms-grid;
    display: grid;
    grid-gap: 15px;
    -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: relative
}

.details-action-group a {
    padding: 10px 0px;
    border-radius: 8px;
    color: var(--text);
    background: var(--chalk);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.details-action-group a:hover {
    color: var(--primary)
}

.details-action-group a i {
    font-size: 16px;
    margin-right: 8px
}

.details-action-group a span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase
}

.details-wish.active {
    color: var(--white);
    background: var(--primary)
}

.details-wish.active:hover {
    color: var(--white);
    background: var(--primary)
}

.product-details-frame {
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 30px;
    background: var(--white)
}

.product-details-frame:last-child {
    margin-bottom: 0px
}

.frame-title {
    margin-bottom: 30px;
    text-transform: capitalize
}

.tab-descrip {
    position: relative
}

.tab-descrip ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 25px
}

.tab-descrip ul li {
    margin-bottom: 8px
}

.tab-descrip ul li:last-child {
    margin-bottom: 0px
}

.tab-descrip img {
    width: 100%;
    border-radius: 8px
}

.tab-descrip a {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 80px;
    height: 80px;
    font-size: 22px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
    color: var(--white);
    background: rgba(15, 199, 86, 0.8);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: var(--primary-bshadow);
    box-shadow: var(--primary-bshadow);
    text-shadow: var(--primary-tshadow)
}

.table-bordered {
    margin-bottom: 0px
}

.table-bordered th,
.table-bordered td {
    padding: 12px 25px;
    text-align: left
}

.table-bordered th {
    font-weight: 500
}

.table-bordered td:last-child {
    border-right: 1px solid var(--border)
}

.review-item {
    padding: 45px 45px;
    border-radius: 8px;
    margin-bottom: 30px;
    background: var(--chalk);
    border: 1px solid var(--border)
}

.review-item:last-child {
    margin-bottom: 0px
}

.review-media {
    margin-bottom: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.review-avatar {
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid var(--primary)
}

.review-avatar img {
    width: 65px;
    border-radius: 50%;
    border: 2px solid var(--white)
}

.review-meta {
    text-transform: capitalize
}

.review-meta a {
    color: var(--heading);
    text-transform: capitalize;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.review-meta a:hover {
    color: var(--primary)
}

.review-meta span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: var(--text)
}

.review-meta span b {
    font-weight: 500;
    color: var(--primary)
}

.review-rating {
    margin-bottom: 10px
}

.review-rating li {
    font-size: 16px;
    margin-right: 5px;
    color: var(--yellow);
    display: inline-block
}

.review-desc {
    margin-bottom: 20px
}

.review-reply {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.review-reply input {
    width: 100%;
    padding: 7px 18px;
    border-radius: 6px;
    margin-right: 20px;
    background: var(--white)
}

.review-reply button {
    font-size: 15px;
    padding: 6px 15px;
    border-radius: 6px;
    color: var(--white);
    background: var(--primary);
    text-transform: capitalize;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}

.review-reply button:hover {
    background: var(--heading)
}

.review-reply button i {
    margin-right: 5px
}

.review-reply-list {
    margin-left: 80px;
    margin-top: 35px;
    border-top: 1px solid var(--border)
}

.review-reply-item {
    padding: 30px 0px;
    border-bottom: 1px solid var(--border)
}

.review-reply-item:last-child {
    padding-bottom: 0px;
    border-bottom: none
}

.review-form .btn {
    width: 100%;
    padding: 12px 30px
}


/* =========================================
   BUTTON ACTION GROUP STYLES - PREMIUM DARK GRADIENT
   ========================================= */

/* Cấu hình chung: Giữ nguyên độ mềm mại và kích thước nhỏ gọn */
.btn-buy, .btn-more {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    padding: 12px 15px; /* Kích thước vừa vặn */
    font-size: 14px;
    font-weight: 700; /* Chữ đậm hơn một chút để rõ trên nền tối */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    
    border-radius: 8xp; /* Bo tròn mềm mại */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* 1. Nút MUA NGAY (Gradient Tối Sang Trọng) */
.btn-buy {
    color: var(--white); /* Chữ trắng trên nền tối */
    
    /* [DARK GRADIENT] Dải màu xám đen chuyển sang đen tuyền */
    background-image: linear-gradient(to right, #434343 0%, #000000 51%, #434343 100%);
    background-size: 200% auto; /* Kỹ thuật để làm animation gradient */
    
    /* Bóng đổ màu đen mờ để tạo chiều sâu */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}

.btn-buy:hover {
    background-position: right center; /* Hiệu ứng trôi màu khi hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Bóng đổ đậm hơn khi hover */
    transform: translateY(-3px); /* Nổi lên cao hơn chút */
}

.btn-buy:active {
    transform: translateY(0);
}


/* 2. Nút QUAY LẠI (Viền tối - Dark Outline) */
/* Thiết kế dạng viền để đồng bộ với phong cách tối */
.btn-more {
    color: #333; /* Màu chữ xám đậm */
    background: transparent; /* Nền trong suốt */
    border: 1px solid #333; /* Viền dày màu xám đậm */
    box-shadow: none;
}

.btn-more:hover {
    color: var(--white);
    background: #333; /* Hover vào thì tô đen nền */
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 991px) {
    .btn-buy {
        margin-bottom: 15px !important;
    }
}

/* meta info */
/* =========================================
   META INFO STYLES (STOCK & SOLD)
   ========================================= */

.details-meta {
    margin-bottom: 20px;
}

/* Căn chỉnh các thẻ nằm ngang hàng */
.details-meta p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; /* Khoảng cách giữa 2 thẻ */
}

/* Style chung cho các thẻ (Badge) */
.label-text {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px; /* Bo góc nhẹ */
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Tạo icon giả bằng CSS (Thêm icon hộp và biểu đồ) */
.label-text::before {
    font-family: "Font Awesome 6 Free"; /* Đảm bảo web bạn đã có FontAwesome */
    font-weight: 900;
    margin-right: 6px;
    font-size: 14px;
}

/* 1. Style cho KHO HÀNG (Màu xanh dương - Tin cậy) */
.label-text.feat {
    background: rgba(52, 152, 219, 0.1); /* Nền xanh rất nhạt */
    color: #2980b9; /* Chữ xanh đậm */
    border: 1px solid rgba(52, 152, 219, 0.2);
}
.label-text.feat::before {
    content: "\f466"; /* Icon cái hộp (Box open) */
}

/* 2. Style cho ĐÃ BÁN (Màu cam/đỏ - Hot/Chạy hàng) */
.label-text.order {
    background: rgba(230, 126, 34, 0.1); /* Nền cam rất nhạt */
    color: #d35400; /* Chữ cam đậm */
    border: 1px solid rgba(230, 126, 34, 0.2);
}
.label-text.order::before {
    content: "\f201"; /* Icon biểu đồ (Chart line) */
}

/* Style số lượng (0, 100...) */
.label-text strong {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #333; /* Số màu đen cho rõ ràng */
}

/* Hover nhẹ để tạo hiệu ứng tương tác */
.label-text:hover {
    transform: translateY(-2px);
}

/* =========================================
   NEW DESIGN: LOGO SHOWCASE (REPLACING GALLERY)
   ========================================= */

.product-brand-showcase {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 90px; /* Cách mép trên màn hình khi cuộn */
    z-index: 10;
    
    background: var(--white);
    padding: 40px 20px;
    border-radius: 16px; /* Bo góc mềm mại hơn */
    
    /* Hiệu ứng bóng đổ và viền nhẹ */
    border: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
    
    /* Căn giữa nội dung */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px; /* Chiều cao tối thiểu để cân đối với cột nội dung */
    transition: all 0.3s ease;
}

.product-brand-showcase:hover {
    transform: translateY(-5px); /* Hiệu ứng bay lên nhẹ khi hover */
    box-shadow: 0px 15px 50px 0px rgba(0, 0, 0, 0.04);
}

.brand-box-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
    /* Tạo nền phụ mờ phía sau logo để nổi bật */
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(255,255,255,0) 70%);
}

.site-logo-product {
    max-width: 80%; /* Giới hạn chiều rộng logo */
    max-height: 200px; /* Giới hạn chiều cao */
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px; /* Bo góc mềm mại hơn */

}

.product-brand-showcase:hover .site-logo-product {
    transform: scale(1.05); /* Phóng to logo nhẹ khi hover */
}

.brand-slogan .badge {
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

/* --- RESPONSIVE --- */

@media (max-width: 991px) {
    /* Trên Tablet/Mobile thì tắt sticky và giảm chiều cao */
    .product-brand-showcase {
        position: relative; 
        top: 0;
        min-height: auto;
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .site-logo-product {
        max-width: 60%; /* Logo nhỏ lại chút trên mobile */
    }
}

@media (max-width: 575px) {
    .product-brand-showcase {
        padding: 20px;
    }
    .site-logo-product {
        max-width: 70%;
    }
}

@media (max-width: 991px) {
    .product-navigation {
        margin: 25px 0px
    }
}

@media (max-width: 575px) {
    .details-content {
        padding: 20px
    }

    .details-name {
        font-size: 22px;
        line-height: 30px
    }

    .product-details-frame {
        padding: 20px
    }

    .review-item {
        padding: 20px 15px
    }

    .review-reply {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .review-reply input {
        margin: 0px 0px 15px
    }

    .review-reply-list {
        margin-left: 25px
    }

    .star-rating label {
        margin: 0px 6px
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .review-reply-list {
        margin-left: 30px
    }
}
ul {
    list-style-type: none;
  }