/* Loại bỏ gạch dưới cho tất cả thẻ a */
        a {
            text-decoration: none !important;
        }
        
        /* Hoặc cụ thể hơn cho menu */
        .menu-item a, .x-submenu a {
            text-decoration: none !important;
        }
        
        .customer-text {
            color: black;
        }
        .x-breadcrumb-item a {
            color: #000000 !important;
        }
        .grid-product--title a{
            color: #000000 !important;
        }

        .btn-outline-secondary:hover {
            background-color: #e56d64 !important;
            color: white !important;
            border-color: #e56d64 !important;
        }
        
        /* Gallery Styles - Fixed for Swiper */
        .product-gallery {
            width: 100%;
            margin-bottom: 2rem;
        }

        /* Slider chính - đảm bảo tỷ lệ 1:1 */
        .main-slider {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            border-radius: 10px;
            overflow: hidden;
        }

        .main-slider .swiper-slide {
            position: relative;
            padding-top: 100%; /* Tạo tỷ lệ 1:1 */
            overflow: hidden;
        }

        .main-slider .swiper-slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Lấp đầy khung */
            object-position: center; /* Lấy phần trung tâm hình ảnh */
        }

        /* Slider thumbnails - cũng đảm bảo tỷ lệ 1:1 */
        .thumbs-slider {
            margin-top: 15px;
            max-width: 500px;
            margin: 15px auto 0;
        }

        .thumbs-slider .swiper-slide {
            position: relative;
            width: 80px !important;
            height: 80px; /* Đảm bảo tỷ lệ 1:1 */
            border: 2px solid transparent;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            opacity: 0.7;
            overflow: hidden;
        }

        .thumbs-slider .swiper-slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Lấp đầy khung */
            object-position: center; /* Lấy phần trung tâm hình ảnh */
        }

        .thumbs-slider .swiper-slide:hover,
        .thumbs-slider .swiper-slide.swiper-slide-thumb-active {
            border-color: #e56d64;
            opacity: 1;
        }
        
        /* Navigation controls */
        .swiper-button-next, .swiper-button-prev {
            color: white;
            background: rgba(0,0,0,0.3);
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        
        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 16px;
        }
        
        .swiper-pagination-bullet {
            background: white;
            opacity: 0.5;
        }
        
        .swiper-pagination-bullet-active {
            opacity: 1;
        }
        
        /* Product info */
        .product-info {
            padding: 1rem;
        }
        
        .product-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        
        .product-price {
            font-size: 1.25rem;
            color: #e56d64;
            font-weight: bold;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #888;
            margin-left: 0.5rem;
        }
        
        .discount-badge {
            background: #ff6600;
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }
        
        /* Quantity selector */
        .quantity-selector {
            display: flex;
            align-items: center;
            margin: 1rem 0;
        }
        
        .quantity-selector button {
            background: #f0f0f0;
            border: none;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        
        .quantity-selector input {
            width: 50px;
            text-align: center;
            border: 1px solid #ddd;
            height: 30px;
        }
        
        /* Action buttons */
        .product-actions {
            display: flex;
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .btn-primary {
            background: #e56d64;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            text-align: center;
            text-transform: uppercase;
        }
        
        .btn-secondary {
            background: white;
            color: #e56d64;
            border: 1px solid #e56d64;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            text-align: center;
            text-transform: uppercase;
        }
        
        /* Policy section */
        .policy-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
            background: #f9f9f9;
            padding: 1.5rem;
            border-radius: 8px;
        }
        
        .policy-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .policy-item img {
            width: 40px;
            height: 40px;
        }
        
        /* Description section */
        .product-description {
            margin: 2rem 0;
        }
        
        .product-description h2 {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: #333;
        }
        
        .description-content {
            max-height: 500px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .description-content.expanded {
            max-height: none;
        }
        
        .toggle-description {
            color: #ffffff;
            font-weight: bold;
            cursor: pointer;
            display: inline-block;
            margin-top: 1rem;
            background-color: #e56d64;
            padding: 5px 80px;
            border-radius: 10px;
        }
        
        /* Related products */
        .related-products {
            margin: 2rem 0;
        }
        
        .related-products h2 {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 1rem;
            background-color: #e56d64;
            color: white;
            border-radius: 5px 5px 0px 0px;
            padding: 5px 5px;
            margin-bottom: 3px;
            font-weight: bold;
            text-align: center;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        
        .product-card {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .product-card img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
        }
        
        .product-card-info {
            padding: 1rem;
        }
        
        .product-card-title {
            font-weight: bold;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .product-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .product-detail-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin: auto;
        }

        @media (min-width: 768px) {
            .product-container {
                flex-direction: row;
                align-items: flex-start;
            }
            
            .product-gallery {
                width: 45%;
                position: sticky;
                top: 20px;
            }
            
            .product-info {
                width: 60%;
                padding-left: 2rem;
            }
            .product-detail-container {
                flex-direction: row;
                align-items: flex-start;
            }
            
            .product-description {
                width: 90%;
                margin: 0;
            }
            
            .related-products {
                width: 40%;
                margin: 0;
            }
        }
        
        /* Gallery Styles - Fixed for Swiper */
        .product-gallery {
            width: auto;
            margin-bottom: 2rem;
        }
        
        .main-slider {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            border-radius: 10px;
            overflow: hidden;
        }
        
        /* Product info styles */
        .product-title {
            font-size: 1.75rem;
            font-weight: bold;
            margin-bottom: 1rem;
            line-height: 1.2;
            color: #333;
        }
        
        .price-container {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .product-price {
            font-size: 1.5rem;
            color: #e56d64;
            font-weight: 700;
        }
            
        .original-price {
            text-decoration: line-through;
            color: #888;
            font-size: 1.1rem;
        }
            
        .discount-badge {
            background: #ff1100;
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
        }
            
        .product-description {
            line-height: 1.6;
            color: #555;
            margin-bottom: 1.5rem;
        }
            
            /* Promo section */
        .promo-section {
            background: linear-gradient(135deg, #fff8f3, #fff);
            border: 1px solid #ffe0d9;
            border-radius: 8px;
            padding: 10px 15px;
            margin: 10px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .promo-header {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 8px;
        }

        .promo-badge {
            background: linear-gradient(135deg, #FF0000, #e56d64);
            color: white;
            font-weight: bold;
            padding: 2px 10px;
            border-radius: 15px;
            font-size: 12px;
            display: inline-block;
            box-shadow: 0 1px 5px rgba(229, 109, 100, 0.3);
        }

        .promo-title-group {
            flex-grow: 1;
        }

        .promo-title {
            color: #ff1100;
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 0;
            line-height: 1.2;
        }

        .promo-subtitle {
            color: #666;
            font-size: 12px;
            margin-top: 2px;
        }

        .countdown-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 5px auto;
            padding: 0;
            max-width: 100%;
            gap: 5px;
        }

        .countdown-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .countdown-value {
            background: linear-gradient(to bottom, #EE0000	, #e56d64);
            color: white;
            border-radius: 4px;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }

        .countdown-value span {
            font-size: 18px;
            font-weight: 700;
        }

        .countdown-label {
            color: #555;
            font-size: 10px;
            font-weight: 600;
            margin-top: 2px;
        }

        .countdown-separator {
            font-size: 18px;
            font-weight: bold;
            color: #2d3748;
            align-self: center;
            margin-top: -5px;
        }

        @media (min-width: 768px) {
            .promo-section {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            
            .promo-header {
                margin-bottom: 0;
                width: 60%;
            }
            
            .countdown-container {
                width: 40%;
                margin: 0;
            }
        }
        .product-description {
            margin: 2rem 0;
            padding-right: 2rem;
        }
        
        .product-description h2 {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: #e56d64	;
        }
        
        .description-content {
            max-height: 800px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .description-content.expanded {
            max-height: none;
        }

        .description-content p {
            margin-bottom: 1rem;
            display: block;
        }

        .description-content ul {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
            list-style-type: disc;
        }

        .description-content ul li {
            margin-bottom: 1.5rem;
            position: relative;
            padding-left: 0.5rem;
            display: block;
        }

        .description-content ul li::before {
            content: "•";
            font-size: 1.5rem; /* Giảm kích thước dấu chấm */
            position: absolute;
            left: -1.2rem; /* Điều chỉnh vị trí sang trái */
            top: -0.2rem; 
        }

        .description-content ul li b {
            margin-right: 0.25rem;
            min-width: 5rem; /* Sử dụng min-width thay vì width */
            display: inline-block;
        }

        .description-content br {
            display: block;
            content: "";
            margin-top: 0.5rem;
        }
        
        /* Related products styles - adjust for sidebar layout */
        .related-products {
            margin: 2rem 0;
            border-left: 1px solid #eee;
            padding-left: 2rem;
        }
                
        /* Replace grid with list */
        .products-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .product-list-item {
            display: flex;
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .product-list-item a{
            color: #000000 !important;
        }
        
        .product-list-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .product-list-image {
            width: 80px;
            min-width: 80px;
            height: 80px;
            position: relative;
        }
        
        .product-list-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .discount-tag {
            position: absolute;
            top: 0;
            right: 0;
            background: #ff1100;
            color: white;
            font-size: 0.7rem;
            padding: 0.15rem 0.3rem;
            font-weight: bold;
        }
        
        .product-list-info {
            padding: 0.5rem 0.75rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-grow: 1;
        }
        
        .product-list-title {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .product-list-price {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        .product-list-price .current-price {
            font-weight: bold;
            color: #e56d64;
            font-size: 0.9rem;
        }
        
        .product-list-price .old-price {
            text-decoration: line-through;
            color: #888;
            font-size: 0.8rem;
        }
        
        .product-list-action {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .add-to-cart-btn {
            background: #e56d64;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .add-to-cart-btn:hover {
            background: #d05a51;
        }
        .cart-now-btn {
            background: #e56d64;
            color: white !important; 
            border: none;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        .cart-now-btn a{
            color: white;
        }
        
        .cart-now-btn:hover {
            background: #d05a51;
        }
        
        /* Responsive adjustments */
        @media (max-width: 767px) {
            .product-description, .related-products {
                padding: 0;
                border: none;
            }
            
            .related-products h2 {
                margin-top: 3rem;
            }
        }

        .product-list-content {
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 100%;
        }

        .product-list-actions {
            display: flex;
            gap: 8px;
            margin-top: auto;
        }
        .product-list-actions .cart-now-btn {
            background: #e56d64;
            color: white !important;
            border: none;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
        }

        .product-list-actions .cart-now-btn,
        .product-list-actions .add-to-cart-btn {
            padding: 5px 10px;
            font-size: 0.8rem;
            text-align: center;
            flex: 1;
        }

        @media (max-width: 576px) {
            .product-list-actions {
                flex-direction: column;
            }
        }
        