/* =========================================================
   PENTAFLOSS - CONTACT PAGE
   CSS RIÊNG CHO TRANG LIÊN HỆ
   ---------------------------------------------------------
   Font nội dung: Be Vietnam Pro
   Header + Footer: dùng style.css chung
========================================================= */


/* =========================================================
   1. CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #eefaff;
    color: #123c79;

    font-family: "Be Vietnam Pro", sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/*
   Chỉ áp dụng Be Vietnam Pro cho phần Contact.
   Không ảnh hưởng Header / Footer.
*/

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page h4,
.contact-page p,
.contact-page a,
.contact-page span,
.contact-page input,
.contact-page textarea,
.contact-page button {
    font-family: "Be Vietnam Pro", sans-serif;
}


/* =========================================================
   2. HERO
========================================================= */

.contact-hero {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #dff5ff;

    line-height: 0;
    font-size: 0;
}


.contact-hero img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;
}


/* =========================================================
   3. CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;

    padding: 30px 0 55px;

    background:
        linear-gradient(
            180deg,
            #eaf8ff 0%,
            #f7fdff 100%
        );
}


/* =========================================================
   4. CONTAINER
========================================================= */

.contact-container {
    width: 92%;
    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================================
   5. MAIN CONTACT GRID
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.15fr);

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   6. CONTACT PANEL
========================================================= */

.contact-panel {
    padding: 0 10px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(241, 250, 255, 0.98)
        );

    border: 1px solid rgba(163, 218, 246, 0.55);

    border-radius: 26px;

    box-shadow:
        0 10px 30px rgba(52, 143, 201, 0.10);

    overflow: hidden;
}


/* =========================================================
   7. PANEL TITLE
========================================================= */

.panel-title {
    min-height: 52px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin: -1px 0 10px -1px;

    padding: 0 25px;

    border-radius:
        0 30px 30px 0;

    background:
        linear-gradient(
            90deg,
            #0796f5,
            #075ee8
        );

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(8, 111, 224, 0.20);
}


/* Icon title */

.panel-title > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: #ffffff;

    font-size: 19px;

    line-height: 1;
}


/* Title */

.panel-title h2 {
    margin: 0;

    color: #ffffff;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* =========================================================
   8. CONTACT ITEM
========================================================= */

.contact-item {
    min-height: 59px;

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 7px 10px;

    padding: 7px 12px;

    border: 1px solid #cfeaf8;

    border-radius: 25px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f0f9ff
        );

    color: #163d75;

    text-decoration: none;

    box-sizing: border-box;

    box-shadow:
        0 4px 10px rgba(74, 153, 199, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-item:hover {
    transform: translateX(3px);

    border-color: #8bd4fa;

    box-shadow:
        0 7px 17px rgba(58, 148, 204, 0.12);
}


/* =========================================================
   9. CONTACT ICON
========================================================= */

.contact-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 22px;

    font-weight: 800;

    line-height: 1;
}


.contact-icon.facebook {
    background: #1877f2;
}


.contact-icon.tiktok {
    background: #050505;
}


.contact-icon.email {
    background: #ff4d75;
}


.contact-icon.hotline {
    background: #12c978;
}


.contact-icon.address {
    background: #ff6545;
}


/* =========================================================
   10. CONTACT INFORMATION
========================================================= */

.contact-info {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.contact-info strong {
    display: block;

    color: #0d4ca8;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.35;
}


.contact-info small {
    display: block;

    color: #1555b3;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 12px;

    font-weight: 400;

    line-height: 1.4;
}


/* =========================================================
   11. ARROW
========================================================= */

.contact-arrow {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #31c8f4,
            #0d91df
        );

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 26px;

    line-height: 1;
}


/* =========================================================
   12. FORM
========================================================= */

.contact-form {
    padding: 0 8px;
}


/* =========================================================
   13. FORM GROUP
========================================================= */

.form-group {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    margin-bottom: 9px;

    border: 1px solid #bfe4f8;

    border-radius: 22px;

    background: #fafdff;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group:focus-within {
    border-color: #54baf1;

    box-shadow:
        0 0 0 3px rgba(61, 183, 241, 0.10);
}


/* =========================================================
   14. FORM ICON
========================================================= */

.field-icon {
    width: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #27a9ee;

    font-family: Arial, sans-serif;

    font-size: 17px;

    line-height: 1;
}


/* =========================================================
   15. INPUT
========================================================= */

.form-group input {
    width: 100%;

    height: 45px;

    padding: 0 15px 0 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #24518b;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.3;

    box-sizing: border-box;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #91a9c3;

    opacity: 1;
}


/* =========================================================
   16. FORM ROW
========================================================= */

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;
}


/* =========================================================
   17. TEXTAREA
========================================================= */

.message-field {
    align-items: flex-start;

    min-height: 91px;

    padding-top: 5px;
}


.message-field textarea {
    width: 100%;

    min-height: 78px;

    padding: 11px 43px 10px 0;

    border: 0;
    outline: 0;

    resize: none;

    background: transparent;

    color: #24518b;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.5;

    box-sizing: border-box;
}


.message-send-icon {
    position: absolute;

    right: 18px;
    bottom: 13px;

    color: #31baf0;

    font-family: Arial, sans-serif;

    font-size: 30px;

    pointer-events: none;
}


/* =========================================================
   18. SUBMIT BUTTON
========================================================= */

.contact-submit {
    width: 63%;

    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 9px auto 0;

    padding: 12px 22px;

    border: 0;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #078bf1,
            #075be7
        );

    color: #ffffff;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.3;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(7, 105, 229, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 11px 23px rgba(7, 105, 229, 0.28);
}


/* =========================================================
   19. QUICK SUPPORT
========================================================= */

.quick-support {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-top: 16px;
}


.quick-support-item {
    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 10px 16px;

    border: 1px solid #dceef8;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 7px 20px rgba(61, 143, 190, 0.07);
}


.quick-support-item strong {
    color: #123f8a;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   20. QUICK ICON
========================================================= */

.quick-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-family: Arial, sans-serif;

    font-size: 26px;

    font-weight: 800;

    line-height: 1;
}


.quick-icon.pink {
    background: #ffdfeb;
    color: #f23e78;
}


.quick-icon.yellow {
    background: #fff1bd;
    color: #f3bf00;
}


.quick-icon.green {
    background: #d9f8e8;
    color: #08bf70;
}


.quick-icon.purple {
    background: #eee3ff;
    color: #8750dc;
}


/* =========================================================
   21. TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }


    .quick-support {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   22. MOBILE
========================================================= */

@media (max-width: 650px) {

    .contact-container {
        width: 92%;
    }


    .contact-section {
        padding: 18px 0 40px;
    }


    .panel-title {
        min-height: 48px;

        padding: 0 18px;
    }


    .panel-title h2 {
        font-size: 15px;
    }


    .contact-item {
        margin: 6px 5px;

        padding: 6px 9px;
    }


    .contact-info strong {
        font-size: 12px;
    }


    .contact-info small {
        font-size: 10px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-submit {
        width: 85%;

        font-size: 15px;
    }


    .quick-support {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .quick-support-item {
        min-height: 65px;

        gap: 7px;

        padding: 8px;
    }


    .quick-support-item strong {
        font-size: 10px;
    }


    .quick-icon {
        width: 37px;
        height: 37px;

        flex-basis: 37px;

        font-size: 21px;
    }

}
/* =====================================================
   FOOTER PENTAFLOSS
========================================= */

.site-footer {
    width: 100%;
    background: #ddf8f6;
    color: #111;
}


/* =========================================
   KHỐI FOOTER CHÍNH
========================================= */

.footer-inner {
    width: 90%;
    max-width: 1180px;

    min-height: 215px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        1fr
        1.1fr
        1.25fr;

    align-items: center;

    column-gap: 35px;
}


/* =========================================
   MASCOT
========================================= */

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand img {
    width: 145px;
    height: 145px;

    object-fit: contain;

    display: block;
}


/* =========================================
   MENU
========================================= */

.footer-menu {
    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 20px;
}

.footer-menu a {
    width: fit-content;

    color: #111;

    text-decoration: none;

    font-family:  "Be Vietnam Pro", sans-serif;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;

    transition: .2s;
}

.footer-menu a:hover {
    color: #0757b8;
}


/* =========================================
   NÚT MUA NGAY
========================================= */

.footer-menu .buy-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 125px;

    padding: 9px 15px;

    border-radius: 25px;

    background: #0757b8;

    color: white;

    font-size: 14px;

    font-weight: 800;

    box-shadow: none;
}

.footer-menu .buy-button:hover {
    background: #0b3478;

    color: white;

    transform: translateY(-2px);
}


/* =========================================
   SOCIAL
========================================= */

.footer-social {
    align-self: center;
}

.footer-social h3 {
    margin: 0 0 16px;

    color: #111;

    font-family:  "Be Vietnam Pro", sans-serif;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* =========================================
   ICON SOCIAL
========================================= */

.social-icons {
    display: flex;

    align-items: center;

    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0757b8;

    transition: .2s;
}

.social-icons a:hover {
    background: #0b3478;

    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;

    fill: white;

    stroke: white;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================
   COPYRIGHT
========================================= */

.footer-bottom {
    width: 90%;
    max-width: 1180px;

    margin: 0 auto;

    border-top: 1px solid rgba(11, 52, 120, .14);

    padding: 20px 0 24px;
}

.footer-bottom p {
    margin: 0;

    color: #173d76;

    font-family: "Be Vietnam Pro", sans-serif;

    font-size: 12px;

    font-weight: 500;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .footer-inner {
        grid-template-columns:
            1fr 1fr 1fr;

        row-gap: 30px;

        padding: 30px 0;
    }

    .footer-brand {
        grid-row: span 2;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .footer-inner {
        width: 88%;

        grid-template-columns: 1fr 1fr;

        gap: 25px 20px;

        padding: 30px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;

        justify-content: center;
    }

    .footer-brand img {
        width: 120px;
        height: 120px;
    }

    .footer-menu a {
        font-size: 14px;
    }

    .footer-social {
        grid-column: 1 / -1;
    }

    .footer-social h3 {
        font-size: 13px;
    }

    .footer-bottom {
        width: 88%;
    }

}
/* =========================================================
   19. RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .article-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .featured-news-card {
        grid-template-columns: 180px 1fr;
    }


    .news-section-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .news-section-heading > p {
        max-width: 600px;
    }


    .news-cta-box {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* =========================================================
   20. RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 650px) {

    .news-container {
        width: 92%;
    }


    .news-intro {
        padding-top: 42px;
    }


    .news-intro h1 {
        font-size: 28px;

        line-height: 1.35;
    }


    .news-intro p {
        font-size: 14px;

        line-height: 1.7;
    }


    .news-section-heading h2 {
        font-size: 24px;
    }


    .article-grid {
        grid-template-columns: 1fr;
    }


    .featured-news-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 20px;
    }


    .featured-news-icon {
        min-height: 150px;

        font-size: 60px;
    }


    .featured-news-content h3 {
        font-size: 20px;

        line-height: 1.45;
    }


    .article-card-body h3 {
        min-height: auto;
    }


    .article-card-body p {
        min-height: auto;
    }


    .news-cta-box {
        padding: 28px 24px;
    }


    .news-cta-box h2 {
        font-size: 21px;
    }


    .news-cta-button {
        width: 100%;
    }

}
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    color: #0b3478;
    cursor: pointer;
}

.cart-icon {
    font-size: 23px;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e53935;
    color: white;

    font-size: 11px;
    font-weight: 700;

    border-radius: 50%;
}