﻿/* wwwroot/css/custom.css */
.language-selector {
    margin-left: 10px;
    display: inline-block;
}

    .language-selector select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: white;
        cursor: pointer;
        min-width: 120px;
    }

.language-icon {
    margin-right: 5px;
}

    .language-icon img {
        width: 20px;
        height: 15px;
        vertical-align: middle;
    }

@media (max-width: 991px) {
    .language-selector {
        margin: 10px 0;
        display: block;
        width: 100%;
    }

        .language-selector select {
            width: 100%;
        }
}


/* Banner Carousel Styles */
.banner-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.banner-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-item {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 5px;
}

    .banner-item .banner-img {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

        .banner-item .banner-img img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        .banner-item .banner-img:hover img {
            transform: scale(1.02);
        }

    .banner-item .banner-text {
        position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);
        max-width: 60%;
    }

        .banner-item .banner-text h4 {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            line-height: 1.3;
            margin-bottom: 15px;
        }

            .banner-item .banner-text h4 br {
                display: block;
            }

        .banner-item .banner-text .btn {
            background: #3bb77e;
            color: #fff;
            padding: 8px 20px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
            display: inline-block;
        }

            .banner-item .banner-text .btn:hover {
                background: #2d9d6b;
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(59, 183, 126, 0.3);
            }

/* Nút điều hướng */
.banner-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
}

    .banner-carousel-btn:hover {
        background: #3bb77e;
        color: #fff;
        box-shadow: 0 5px 20px rgba(59, 183, 126, 0.4);
    }

.banner-carousel-prev {
    left: 15px;
}

.banner-carousel-next {
    right: 15px;
}

/* Dấu chấm chỉ số */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 5px;
}

    .banner-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ddd;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

        .banner-dots .dot.active {
            background: #3bb77e;
            width: 30px;
            border-radius: 6px;
        }

        .banner-dots .dot:hover {
            background: #3bb77e;
        }

/* Responsive */
@media (max-width: 991px) {
    .banner-item .banner-text {
        left: 20px;
        max-width: 70%;
    }

        .banner-item .banner-text h4 {
            font-size: 18px;
        }

        .banner-item .banner-text .btn {
            font-size: 12px;
            padding: 6px 16px;
        }

    .banner-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .banner-carousel-prev {
        left: 10px;
    }

    .banner-carousel-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .banner-item .banner-text {
        left: 15px;
        max-width: 80%;
    }

        .banner-item .banner-text h4 {
            font-size: 14px;
            margin-bottom: 10px;
        }

        .banner-item .banner-text .btn {
            font-size: 11px;
            padding: 4px 12px;
        }

    .banner-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .banner-carousel-prev {
        left: 5px;
    }

    .banner-carousel-next {
        right: 5px;
    }

    .banner-dots .dot {
        width: 10px;
        height: 10px;
    }

        .banner-dots .dot.active {
            width: 20px;
        }
}

/* Product Description Content Styles */
.product-content {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
}

    .product-content h1 {
        color: #d32f2f;
        margin-bottom: 20px;
        font-size: 28px;
    }

    .product-content h2 {
        color: #d32f2f;
        margin-top: 30px;
        font-size: 22px;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
    }

    .product-content h3 {
        color: #d32f2f;
        font-size: 18px;
    }

    .product-content p {
        margin-bottom: 15px;
    }

    .product-content ul {
        padding-left: 20px;
        margin-bottom: 15px;
    }

        .product-content ul li {
            margin-bottom: 8px;
            list-style: none;
        }

    .product-content blockquote {
        background: #fff8e1;
        border-left: 5px solid #ff9800;
        padding: 15px 20px;
        margin: 25px 0;
        font-size: 18px;
        border-radius: 4px;
    }

    .product-content hr {
        margin: 30px 0;
        border: 0;
        border-top: 1px solid #eee;
    }

    .product-content strong {
        color: #d32f2f;
    }