/*
Theme Name: Astra Child
Theme URI: https://worldmarx.worldweblogic.com/
Description: Astra Child Theme for Worldmarx
Author: Worldmarx
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/



/* ==========================================
   WORLDMARX DYNAMIC COUNTRIES
   ========================================== */

.wm-countries-grid {
    width: 100%;
    max-width: 1180px;
    margin: 50px auto 80px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    box-sizing: border-box;
}


/* ==========================================
   COUNTRY CARD
   ========================================== */

.wm-country-card {
    width: 100%;
    min-height: 275px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #dfe6f2;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(15, 45, 90, 0.06);

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Hover */

.wm-country-card:hover {
    transform: translateY(-6px);

    border-color: #1f4fbf;

    box-shadow:
        0 18px 40px rgba(15, 45, 90, 0.12);
}


/* ==========================================
   CARD TOP
   ========================================== */

.wm-country-card-top {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 24px;
}


/* ==========================================
   FLAG
   ========================================== */

.wm-country-card-flag {
    width: 58px;
    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eef4ff;

    border-radius: 14px;

    font-size: 32px;

    line-height: 1;
}


/* ==========================================
   COUNTRY TITLE
   ========================================== */

.wm-country-card-title {
    margin: 0 0 6px !important;

    color: #101a33 !important;

    font-size: 21px !important;

    line-height: 1.25 !important;

    font-weight: 700 !important;
}


/* ==========================================
   COUNTRY SUBTITLE
   ========================================== */

.wm-country-card-subtitle {
    margin: 0 !important;

    color: #71809b !important;

    font-size: 14px;

    line-height: 1.5;
}


/* ==========================================
   PRICE
   ========================================== */

.wm-country-card-price {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 0;

    margin-top: auto;

    margin-bottom: 20px;

    border-top: 1px solid #e5eaf2;

    border-bottom: 1px solid #e5eaf2;
}


.wm-country-card-price span {
    color: #71809b;

    font-size: 13px;
}


.wm-country-card-price strong {
    color: #1645a5;

    font-size: 21px;

    font-weight: 700;
}


/* ==========================================
   BUTTON
   ========================================== */

.wm-country-card-button {
    display: flex !important;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 14px 18px;

    box-sizing: border-box;

    border-radius: 9px;

    background: #1645a5 !important;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.wm-country-card-button:hover {
    background: #103887 !important;

    color: #ffffff !important;

    transform: translateY(-2px);
}


/* Arrow */

.wm-country-card-button span {
    font-size: 18px;

    transition: transform 0.25s ease;
}


.wm-country-card-button:hover span {
    transform: translateX(5px);
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

    .wm-countries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .wm-countries-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 35px;

        margin-bottom: 50px;

        padding: 0 15px;
    }


    .wm-country-card {
        min-height: auto;

        padding: 22px;
    }


    .wm-country-card-title {
        font-size: 20px !important;
    }


    .wm-country-card-flag {
        width: 52px;

        height: 52px;

        min-width: 52px;

        font-size: 27px;
    }

}



/* ==========================================
   WORLDMARX DYNAMIC COUNTRY PRICING
   ========================================== */

.wm-country-pricing {
    width: 100%;
    max-width: 760px;

    margin: 35px auto 45px;
    padding: 35px;

    background: #ffffff;

    border: 1px solid #dfe6f2;
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(15, 45, 90, 0.08);

    box-sizing: border-box;
}


/* ==========================================
   PRICING HEADER
   ========================================== */

.wm-price-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 22px;

    margin-bottom: 5px;

    border-bottom: 1px solid #e5eaf2;
}


.wm-price-header h3 {
    margin: 0 !important;

    color: #101a33 !important;

    font-size: 24px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;
}


.wm-price-header p {
    margin: 0 !important;

    color: #1645a5 !important;

    font-size: 15px;

    font-weight: 600;
}


/* ==========================================
   PRICE ROW
   ========================================== */

.wm-price-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px solid #edf0f5;
}


.wm-price-row span {
    color: #71809b;

    font-size: 14px;

    line-height: 1.5;
}


.wm-price-row strong {
    color: #101a33;

    font-size: 15px;

    font-weight: 600;
}


/* ==========================================
   TOTAL
   ========================================== */

.wm-price-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 0;

    margin-top: 2px;

    border-top: 2px solid #1645a5;
}


.wm-price-total span {
    color: #101a33;

    font-size: 16px;

    font-weight: 700;
}


.wm-price-total strong {
    color: #1645a5;

    font-size: 22px;

    font-weight: 700;
}


/* ==========================================
   PRICING NOTE
   ========================================== */

.wm-price-note {
    margin-top: 15px;

    padding: 16px 18px;

    background: #f1f5ff;

    border-radius: 10px;

    color: #71809b;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .wm-country-pricing {

        width: calc(100% - 30px);

        margin: 25px auto 35px;

        padding: 24px 20px;

        border-radius: 14px;
    }


    .wm-price-header {

        display: block;

        padding-bottom: 18px;
    }


    .wm-price-header h3 {

        font-size: 20px !important;

        margin-bottom: 8px !important;
    }


    .wm-price-header p {

        font-size: 14px;
    }


    .wm-price-row {

        padding: 13px 0;
    }


    .wm-price-row span {

        font-size: 13px;
    }


    .wm-price-row strong {

        font-size: 14px;
    }


    .wm-price-total span {

        font-size: 15px;
    }


    .wm-price-total strong {

        font-size: 20px;
    }


    .wm-price-note {

        font-size: 12px;

        padding: 14px;
    }

}


/* ==========================================
   WORLDMarx PRICING CARD FINAL DESIGN
   ========================================== */

.wm-country-pricing {
    max-width: 590px;
    margin: 45px auto 55px;
    padding: 32px 30px 28px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dfe6f2;
    box-shadow: 0 12px 35px rgba(15, 45, 90, 0.07);
}


/* HEADER */

.wm-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5eaf2;
}

.wm-price-header h3 {
    margin: 0 !important;
    font-size: 22px !important;
    color: #101a33 !important;
    font-weight: 700 !important;
}

.wm-price-header p {
    margin: 0 !important;
    color: #1645a5 !important;
    font-size: 14px;
    font-weight: 600;
}


/* PRICE ROWS */

.wm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f5;
}

.wm-price-row span {
    color: #71809b;
    font-size: 13px;
}

.wm-price-row strong {
    color: #101a33;
    font-size: 14px;
    font-weight: 600;
}


/* TOTAL */

.wm-price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 0 5px;

    margin-top: 0;

    border-top: 2px solid #1645a5;
}

.wm-price-total span {
    color: #101a33;
    font-size: 15px;
    font-weight: 700;
}

.wm-price-total strong {
    color: #1645a5;
    font-size: 20px;
    font-weight: 700;
}


/* NOTE */

.wm-price-note {
    margin-top: 18px;
    padding: 14px 16px;

    background: #f1f5ff;
    border-radius: 10px;

    color: #71809b;
    font-size: 11px;
    line-height: 1.6;
}


/* MOBILE */

@media (max-width: 767px) {

    .wm-country-pricing {
        width: calc(100% - 30px);
        max-width: none;
        padding: 24px 20px;
        margin: 30px auto 40px;
    }

    .wm-price-header {
        display: block;
    }

    .wm-price-header h3 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .wm-price-header p {
        font-size: 13px;
    }

    .wm-price-row {
        padding: 13px 0;
    }

    .wm-price-total strong {
        font-size: 19px;
    }
}