.page-index-san-pham-noi-bat {
    background-color: var(--background-color, #B71C1C);
    color: var(--text-main, #FFF5E1);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-index-san-pham-noi-bat__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-san-pham-noi-bat__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    background-color: #7A0E0E; /* Deep Red for hero background */
    text-align: center;
    padding-bottom: 40px;
}

.page-index-san-pham-noi-bat__hero-image {
    margin-bottom: 20px;
}

.page-index-san-pham-noi-bat__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-san-pham-noi-bat__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-san-pham-noi-bat__page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFCC66; /* Glow color for main title */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-index-san-pham-noi-bat__page-description {
    font-size: 1.1rem;
    color: #FFF5E1;
    margin-bottom: 30px;
}

/* CTA Button Styles */
.page-index-san-pham-noi-bat__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E; /* Deep Red for text on gold button */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #F2B544; /* Border color */
}

.page-index-san-pham-noi-bat__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-index-san-pham-noi-bat__btn-secondary {
    background: #FFF5E1;
    color: #C91F17;
    border: 2px solid #C91F17;
    margin-left: 15px;
}

.page-index-san-pham-noi-bat__btn-secondary:hover {
    background: #C91F17;
    color: #FFF5E1;
}

/* General Section Styles */
.page-index-san-pham-noi-bat__introduction-section,
.page-index-san-pham-noi-bat__product-category-section,
.page-index-san-pham-noi-bat__support-section {
    padding: 60px 0;
    text-align: center;
}

.page-index-san-pham-noi-bat__dark-bg {
    background-color: #D32F2F;
    color: #FFF5E1;
}

.page-index-san-pham-noi-bat__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F4D34D; /* Gold color for section titles */
    margin-bottom: 40px;
    font-weight: 700;
}

.page-index-san-pham-noi-bat__text-block {
    font-size: 1rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Grid */
.page-index-san-pham-noi-bat__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-san-pham-noi-bat__product-card {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #F2B544;
}

.page-index-san-pham-noi-bat__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-san-pham-noi-bat__product-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.1);
}

.page-index-san-pham-noi-bat__product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-index-san-pham-noi-bat__product-title {
    font-size: 1.6rem;
    color: #FFD86A;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-san-pham-noi-bat__product-description {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Promotion Section */
.page-index-san-pham-noi-bat__promotion-section {
    padding: 80px 0;
    text-align: center;
}

.page-index-san-pham-noi-bat__promotion-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.page-index-san-pham-noi-bat__promotion-image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    display: block;
}

.page-index-san-pham-noi-bat__promotion-text {
    flex: 1;
    text-align: left;
}

/* Support Section */
.page-index-san-pham-noi-bat__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Conclusion Section */
.page-index-san-pham-noi-bat__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-san-pham-noi-bat__promotion-content {
        flex-direction: column;
        max-width: 600px;
    }

    .page-index-san-pham-noi-bat__promotion-image {
        max-width: 100%;
    }

    .page-index-san-pham-noi-bat__promotion-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-index-san-pham-noi-bat__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-index-san-pham-noi-bat__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-san-pham-noi-bat__page-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-index-san-pham-noi-bat__page-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* General Sections */
    .page-index-san-pham-noi-bat__introduction-section,
    .page-index-san-pham-noi-bat__product-category-section,
    .page-index-san-pham-noi-bat__promotion-section,
    .page-index-san-pham-noi-bat__support-section,
    .page-index-san-pham-noi-bat__conclusion-section {
        padding: 40px 0;
    }
    .page-index-san-pham-noi-bat__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-index-san-pham-noi-bat__text-block {
        font-size: 0.95rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Product Grid */
    .page-index-san-pham-noi-bat__product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-san-pham-noi-bat__product-card {
        padding: 20px;
    }
    .page-index-san-pham-noi-bat__product-image-wrapper {
        height: 180px;
    }
    .page-index-san-pham-noi-bat__product-title {
        font-size: 1.4rem;
    }
    .page-index-san-pham-noi-bat__product-description {
        font-size: 0.9rem;
    }

    /* Promotion Section */
    .page-index-san-pham-noi-bat__promotion-content {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-san-pham-noi-bat__promotion-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-san-pham-noi-bat__promotion-text {
        text-align: center;
    }

    /* Buttons */
    .page-index-san-pham-noi-bat__cta-button,
    .page-index-san-pham-noi-bat__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        margin-left: 0 !important;
    }
    .page-index-san-pham-noi-bat__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Universal image and container rules for mobile */
    .page-index-san-pham-noi-bat img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-san-pham-noi-bat__section,
    .page-index-san-pham-noi-bat__card,
    .page-index-san-pham-noi-bat__container,
    .page-index-san-pham-noi-bat__product-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}