﻿.product-page, .product-page * {
    box-sizing: border-box;
}

.product-page {
    color: #000;
    background-color: #fff;
    max-width: 83.33vw;
    margin: 0 auto;
    padding: 0;
    height: auto;
    position: relative;
    overflow: visible;
}

    .product-page::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background-repeat: repeat-y;
        background-size: 100% auto;
        background-position: center top;
        opacity: 0.5;
        z-index: -1;
    }

    .product-page > .section,
    .product-page > .contact-section,
    .product-page > .contact-direct,
    .product-page > .catalog-download {
        padding-left: 1.39vw;
        padding-right: 1.39vw;
    }

.header-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

    .header-section .header-bg {
        width: 100%;
        height: auto;
        display: block;
    }

    .header-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

.header-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3vw 1.39vw;
    text-align: center;
    color: #fff;
}

    .header-content h1 {
        font-size: 2.5vw;
        margin-bottom: 1.39vw;
    }

    .header-content p {
        font-size: 1.11vw;
        max-width: 55.56vw;
    }

.section {
    padding: clamp(24px, 4vw, 64px) clamp(20px, 5vw, 80px);
    text-align: center;
    border-bottom: 0.07vw solid #ccc;
}

    .section h2 {
        font-size: 1.94vw;
        margin-bottom: 1.39vw;
    }

    .section p {
        font-size: 0.97vw;
        line-height: 1.6;
        max-width: 55.56vw;
        margin: 0 auto 0.69vw auto;
        text-align: justify;
    }

    .section .feature-title {
        font-weight: 700 !important;
    }

    .section ul {
        text-align: left;
        max-width: 55.56vw;
        margin: 0 auto 0.69vw auto;
        padding-left: 0;
        list-style-position: inside;
    }

    .section li {
        font-size: 0.97vw;
        line-height: 1.6;
        text-align: left;
        padding-left: 0;
    }

    .section > * {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

.contact-section {
    padding: 2.78vw 1.39vw;
    text-align: center;
}

    .contact-section h2 {
        font-size: 1.94vw;
        margin-bottom: 0.69vw;
    }

.contact-button {
    display: inline-block;
    padding: 0.69vw 1.39vw;
    background-color: #000;
    color: #fff;
    font-family: "Montserrat", sans-serif !important;
    text-decoration: none;
    border-radius: 1.39vw;
    font-weight: bold;
    margin-bottom: 1.39vw;
}

    .contact-button:hover {
        background-color: #333;
    }

.quote {
    text-align: center !important;
    font-style: italic;
}

.contact-section h3 {
    font-size: 1.67vw;
    margin-bottom: 1.39vw;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.39vw;
}

.contact-item {
    flex: 1 1 20.83vw;
    text-align: left;
}

    .contact-item label {
        display: block;
        font-weight: bold;
        margin-bottom: 0.35vw;
        font-size: 0.97vw;
    }

    .contact-item input {
        width: 100%;
        padding: 0.69vw;
        border: 0.07vw solid #ccc;
        border-radius: 1.39vw;
        margin-bottom: 0.35vw;
        font-size: 0.97vw;
        font-family: "Montserrat", sans-serif !important;
    }

    .contact-item small {
        display: block;
        font-size: 0.83vw;
        font-family: "Montserrat", sans-serif !important;
        color: #000;
    }

        .contact-item small a {
            color: #f00;
            font-weight: bold;
            text-decoration: none;
        }

            .contact-item small a:hover {
                text-decoration: underline;
            }

.contact-section {
    position: relative;
}

.contact-button {
    position: relative;
    margin-bottom: 2.78vw;
}

.contact-quote {
    padding: 0 1.39vw;
    text-align: center;
    border-bottom: 0.07vw solid #ccc;
}

    .contact-quote h2 {
        margin-bottom: 1.39vw;
    }

.contact-direct {
    padding: 2.78vw 1.39vw;
    text-align: center;
}

.catalog-download {
    margin-top: 2.78vw;
    text-align: center;
}

.catalog-link {
    font-weight: 700;
    color: #000;
    font-size: 1.11vw;
    cursor: pointer;
}

    .catalog-link:hover {
        color: #555;
    }

@media (max-width: 360px) {
    .header-content {
        padding: 12px 10px;
    }

        .header-content h1 {
            font-size: 18px;
            margin-bottom: 6px;
            line-height: 1.25;
        }

        .header-content p {
            font-size: 11px;
            line-height: 1.45;
            max-width: 100%;
            text-align: justify;
        }

    .section li {
        font-size: 11px;
        line-height: 1.45;
    }

    .section .feature-title {
        font-weight: 700 !important;
    }

    .section p {
        font-size: 11px;
        line-height: 1.45;
    }

    .contact-item label {
        font-size: 11px;
    }

    .contact-item input {
        font-size: 11px;
    }

    .contact-item small {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .header-section h1 {
        font-size: 24px;
    }

    .header-section p {
        font-size: 12px;
        text-align: justify;
    }

    .section h2 {
        font-size: 20px;
    }

    .section p {
        font-size: 12px;
        text-align: justify;
    }

    .section ul {
        padding-left: 0;
        list-style-position: inside;
        margin-left: auto;
        margin-right: auto;
    }

    .section li {
        font-size: 12px;
        text-align: left;
    }

    .section .feature-title {
        font-weight: 700 !important;
    }

    .contact-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .contact-item {
        flex: 1 1 100%;
    }

        .contact-item label {
            font-size: 12px;
        }

        .contact-item input {
            padding: 6px;
            font-size: 12px;
        }

        .contact-item small {
            font-size: 10px;
        }

    .contact-button::after {
        width: calc(100% - 20px);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .contact-info {
        gap: 12px;
        row-gap: 12px;
    }

    .contact-item {
        padding-bottom: 0;
        flex: 0 0 auto;
        width: 100%;
    }

        .contact-item label {
            margin-bottom: 4px;
            font-size: 14px;
        }

        .contact-item input {
            padding: 8px 10px;
            border-radius: 8px; 
            margin-bottom: 4px;
        }

        .contact-item small {
            font-size: 12px;
            line-height: 1.4;
        }
}

@media (max-width: 768px) {
    .product-page > .section,
    .product-page > .contact-section,
    .product-page > .contact-direct,
    .product-page > .catalog-download {
        padding-left: 0;
        padding-right: 0;
    }

    .header-content h1 {
        font-size: 28px;
    }

    .header-content p {
        font-size: 14px;
        text-align: justify;
    }

    .section {
        padding: 30px 10px;
    }

        .section h2 {
            font-size: 24px;
        }

        .section p {
            font-size: 13px;
            text-align: justify;
        }

        .section ul {
            padding-left: 0;
            margin-left: auto;
            margin-right: auto;
            list-style-position: inside;
        }

        .section li {
            font-size: 13px;
            text-align: left;
            padding-left: 0;
        }

        .section .feature-title {
            font-weight: 700 !important;
        }

    .contact-section {
        padding: 30px 10px;
    }

        .contact-section h2 {
            font-size: 24px;
        }

        .contact-section h3 {
            font-size: 20px;
        }

    .contact-info {
        flex-direction: column;
        row-gap: 1em;
    }

    .contact-item {
        padding-bottom: 4px;
    }

    .contact-item label {
        font-size: 13px;
    }

    .contact-item input {
        padding: 8px;
        font-size: 13px;
    }

    .contact-item small {
        font-size: 11px;
    }

    .contact-button::after {
        width: calc(100% - 20px); /* Điều chỉnh cho mobile */
    }

    .catalog-link {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .contact-button::after {
        max-width: 62.22vw;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .section p,
    .section li {
        font-size: 15px;
        line-height: 1.6;
    }

    .section ul {
        padding-left: 0;
        list-style-position: inside;
        margin-left: auto;
        margin-right: auto;
    }

    .section .feature-title {
        font-weight: 700 !important;
    }

    .contact-item label {
        font-size: 15px;
    }

    .contact-item input {
        font-size: 15px;
    }

    .contact-item small {
        font-size: 13px;
    }
}

@media (min-width: 1441px) {
    #main-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: var(--header-height);
        position: relative;
        align-items: center;
    }

    .left-section {
        left: -6.18vw !important;
    }

    .history-section {
        display: flex;
        flex-direction: column;
        gap: 1.39vw;
        width: 83.33vw;
        margin: 0 auto 0;
        margin-top: 0;
        padding: 1.39vw;
        background-color: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .history-content {
        display: flex;
        flex-direction: column;
        gap: 1.39vw;
        width: 100%;
    }

    .product-page {
        max-width: 83.33vw;
        padding: 0;
    }

    .header-content {
        padding: 4vw 3.47vw;
    }

        .header-content h1 {
            font-size: 3.33vw;
        }

        .header-content p {
            font-size: 1.25vw;
            max-width: 69.44vw;
        }

    .section {
        padding: 4.86vw 3.47vw;
    }

        .section h2 {
            font-size: 2.5vw;
        }

        .section p {
            font-size: 1.11vw;
            max-width: 69.44vw;
        }

        .section ul {
            max-width: 69.44vw;
        }

        .section li {
            font-size: 1.11vw;
        }

        .section .feature-title {
            font-weight: 700 !important;
        }

    .contact-section {
        padding: 4.86vw 3.47vw;
    }

        .contact-section h2 {
            font-size: 2.5vw;
        }

        .contact-section h3 {
            font-size: 2.22vw;
        }

    .contact-button {
        padding: 0.97vw 1.94vw;
        font-size: 1.25vw;
    }

    .contact-item {
        flex: 1 1 27.78vw;
    }

        .contact-item label {
            font-size: 1.11vw;
        }

        .contact-item input {
            padding: 0.97vw;
            font-size: 1.11vw;
        }

        .contact-item small {
            font-size: 0.97vw;
        }
}