body {
    font-family: "Times New Roman", Times, serif;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1, h2 {
    font-weight: bold;
}

select, input, textarea {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
select  li {
    text-align: left;
}

select {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    appearance: none;
    position: relative;
}

select:hover {
    background: #ffe0b2;
    transform: scale(1);
    cursor: pointer;
}

select:focus {
    outline: none;
    border: 2px solid #ff4e50;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.8);
}

select:focus option {
    background: #ff4e50;
    color: white;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

select option:checked {
    background: #fc913a;
    color: white;
    font-weight: bold;
}

.btn_danh_gia {
    background: #ff4e50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 45px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.btn_danh_gia:hover {
    background: #fc913a;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        color: brown;
        font-size: large;
}

/* Hiệu ứng đánh giá sao */
.star-rating {
     display: flex;
     justify-content: center;
     gap: 20px;
     font-size: 35px;
     cursor: pointer;
     color: cornsilk;
 }

.star {
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.star:hover,
.star.selected {
    color: #ffd700;
}

/* CSS cho phần gợi ý đánh giá */
.suggestion-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin: 5px 0;
}

.suggestion-button {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    padding: 5px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.suggestion-button:hover {
    background: #fc913a;
    transform: scale(1.1);
}
#reviewList {
    max-height: 400px; /* Đặt chiều cao cố định */
    overflow-y: auto; /* Bật thanh cuộn dọc */
    border: 1px solid #ccc; /* Tùy chọn: thêm viền để dễ nhìn */
    padding: 10px;
}

/* 🔹 Thanh cuộn cho danh sách đánh giá (#reviewList) */
#reviewList::-webkit-scrollbar {
    width: 8px; /* Độ rộng thanh cuộn */
}

#reviewList::-webkit-scrollbar-track {
    background: #f0f0f0; /* Màu nền của track */
    border-radius: 10px;
}

#reviewList::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient màu xanh */
    border-radius: 10px;
    transition: background 0.3s ease;
}

#reviewList::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4e0dbf, #1a73e8); /* Màu sáng hơn khi hover */
}

/* 🔹 Thanh cuộn cho slider video (.video-slider) */
.video-slider::-webkit-scrollbar {
    height: 8px; /* Độ cao thanh cuộn ngang */
}

.video-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.video-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Gradient màu cam */
    border-radius: 10px;
    transition: background 0.3s ease;
}

.video-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #ffb347);
}

/* 🔹 Hỗ trợ Firefox */
#reviewList, .video-slider {
    scrollbar-color: #6a11cb #f0f0f0;
    scrollbar-width: thin;
}


.video-slider {
    width: 90vw;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    margin: 20px auto;
    padding: 10px;
    display: flex;
    cursor: grab;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.video-wrapper {
    display: flex;
    gap: 10px;
}

.video-item {
    flex: 0 0 auto;
    width: 450px;
    height: 300px;
    position: relative;
}

.video-item video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
/* Tùy chỉnh thanh cuộn cho trình duyệt WebKit (Chrome, Edge, Safari) */
.video-slider::-webkit-scrollbar {
    height: 8px; /* Độ dày của thanh cuộn */
}

.video-slider::-webkit-scrollbar-track {
    background: #f0f0f0; /* Màu nền của track */
    border-radius: 10px;
}

.video-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Gradient màu */
    border-radius: 10px;
    transition: background 0.3s ease;
}

.video-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #ffb347); /* Màu sáng hơn khi hover */
}

/* Firefox */
.video-slider {
    scrollbar-color: #ff7e5f #f0f0f0;
    scrollbar-width: thin; /* Làm thanh cuộn mỏng hơn */
}


/* Image Slider (similar to video-slider) */
.slider-container {
    width: 90vw;  /* Adjust to fit 90% of the viewport width */
    overflow-x: hidden;
    white-space: nowrap;
    margin: 20px auto;
    padding: 10px;
    display: flex;
    cursor: grab;
    border: 2px solid #ccc;
    border-radius: 10px;
}

/* Wrapper for images */
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Individual image items */
.slider-item {
    flex: 0 0 auto;
    width: 250px;
    height: 250px;
    position: relative;
}

/* Image styling */
.slider-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.8s ease, box-shadow 0.5s ease;
}

/* Hover effect for images */
.slider-item img:hover {
    cursor: pointer;
    transform: scale(1.15); /* Slightly zoom the image */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.slider-container::-webkit-scrollbar {
    height: 8px; /* Thickness of scrollbar */
}

.slider-container::-webkit-scrollbar-track {
    background: #f0f0f0; /* Background color of scrollbar track */
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Gradient thumb */
    border-radius: 10px;
    transition: background 0.3s ease;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #ffb347); /* Lighter color on hover */
}

/* Custom scrollbar for Firefox */
.slider-container {
    scrollbar-color: #ff7e5f #f0f0f0;
    scrollbar-width: thin; /* Thinner scrollbar */
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 25px;
    cursor: pointer;
    background-color: white;
    color: black;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #aaa;
}
.custom-file-upload:hover {
    background-color: #c0c0c0;
}


.swiper-container {
    width: 80%;
    margin: 20px auto;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px; /* Điều chỉnh chiều rộng slide bằng chiều rộng ảnh */
    height: 300px; /* Điều chỉnh chiều cao slide bằng chiều cao ảnh */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.swiper-slide img {
    display: block;
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center; /* Tập trung vào phần giữa của ảnh */
    border: 3px solid white;
}

.container1 {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px;
    text-align: center;
}

.title1 {
    font-size: 28px;
    font-weight: bold;
    color: #FF6600;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content1 {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.content1 span {
    color: #FF6600;
    font-weight: bold;
}

.contact1 {
    font-size: 20px;
    font-weight: bold;
    color: #FF6600;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #FF6600;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact1:hover {
    background-color: #e65c00;
    cursor: pointer;
}

.footer1 {
    color: white;
    margin-top: 30px;
    text-align: center;
}

.icon1 {
    font-size: 26px;
    color: #FF6600;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.icon1:hover {
    transform: scale(1.2);
}


.contact1 {
    display: inline-block;
    background-color: #ff6600a8;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.contact1:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 102, 0, 0.4);
}

.contact1:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.2);
}

.select2-container--default .select2-selection--single {
    background-color: #f7f7f7 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f50b0b !important;
    line-height: 33px !important;
    font-size: large !important;
    font-weight: bold !important;
}


.select2-container .select2-selection--single {
    height: 48px !important;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

/* Tăng chiều cao dropdown mũi tên */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    top: 0px !important;
    right: 10px;
}

/* Tăng chiều cao của danh sách bên dưới (dropdown) */
.select2-results__option {
    padding: 12px 16px;
    font-size: 16px;
}


.flash-sale {
    background: linear-gradient(178deg, #f5d7aa, #f7bb07);
    color: white;
    padding: 30px 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.flash-sale h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.flash-sale p {
    font-size: 1.1rem;
    margin: 0;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 20px 15px;
    background-color: #fff8e1;
}

.product {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.product img {
    max-width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.product h3 {
    color: black;
    font-size: 14px;
    margin: 5px 0 5px;
}

.product .price {
    color: #e53935;
    font-weight: bold;
}

.product .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
    margin-left: 5px;
}

@media (max-width: 500px) {
    .flash-sale h1 {
        font-size: 1.6rem;
    }
}




#countdown-container {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
}

#countdown-container h2 {
    color: #e74c3c;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 6px;
}

#countdown-container .subheading {
    font-size: 18px;
    color: #ff3100;
    font-weight: 500;
    margin-bottom: 25px;
}

#countdown {
    font-size: 38px;
    font-weight: bold;
    color: #e72913;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

#countdown-container .note {
    font-size: 16px;
    color: red;
}
