/*
 Theme Name:	Astra Child
 Theme URI:		https://www.zhaket.com/store/web/nagatheme/
 Description:	Astra Child Theme Developed By NagaTheme
 Author:		NagaTheme
 Author URI:	https://NagaTheme.com
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 text-domain:	astra-child
 Template:		astra
 Version:		3.9.2
*/

/* = Theme customization starts below here = is blocked by functions.php
------------------------------------------------------------------------ */
div{
    font-family:'IRANSansWeb_Medium';
}
/* =========================================================
   Vam Iranian - Header
========================================================= */

.va-header {
    position: relative;
    z-index: 999;

    width: 100%;

    border-bottom: 1px solid #e8ebf0;
    background: rgba(255, 255, 255, 0.97);

    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.035);
}


/* =========================================================
   Container
========================================================= */

.va-header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;

    width: min(1180px, calc(100% - 40px));
    min-height: 78px;

    margin-inline: auto;
}


/* =========================================================
   Brand / Logo
========================================================= */

.va-header-brand {
    display: flex;
    align-items: center;

    min-width: 0;
}

.va-header-logo {
    display: inline-flex;
    align-items: center;

    color: inherit;
    text-decoration: none;
}

.va-logo-image {
    display: block;

    width: auto;
    max-width: 175px;
    max-height: 52px;

    object-fit: contain;
}

.va-site-name {
    color: var(--ast-global-color-2, #1e293b);

    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}


/* =========================================================
   Desktop Navigation
========================================================= */

.va-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}

.va-primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.va-primary-menu > li {
    position: relative;

    margin: 0;
    padding: 0;
}

.va-primary-menu > li > a {
    display: flex;
    align-items: center;

    min-height: 78px;

    padding: 0 12px;

    color: var(--ast-global-color-2, #1e293b);

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;

    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.va-primary-menu > li > a:hover,
.va-primary-menu > li.current-menu-item > a,
.va-primary-menu > li.current-menu-parent > a,
.va-primary-menu > li.current-menu-ancestor > a {
    color: var(--ast-global-color-0, #046bd2);
}


/* =========================================================
   Desktop Dropdown
========================================================= */

.va-primary-menu .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 1000;

    min-width: 235px;

    margin: 0;
    padding: 8px;

    list-style: none;

    border: 1px solid #e8ebf0;
    border-radius: 14px;

    background: #fff;

    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.va-primary-menu li:hover > .sub-menu,
.va-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.va-primary-menu .sub-menu li {
    position: relative;

    margin: 0;
}

.va-primary-menu .sub-menu a {
    display: block;

    padding: 11px 13px;

    border-radius: 9px;

    color: #475569;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.va-primary-menu .sub-menu a:hover,
.va-primary-menu .sub-menu .current-menu-item > a {
    background: #f5f7fa;

    color: var(--ast-global-color-0, #046bd2);
}


/* level 3 */

.va-primary-menu .sub-menu .sub-menu {
    top: 0;
    right: 100%;
}


/* =========================================================
   Header Actions
========================================================= */

.va-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    min-width: 0;
}


/* =========================================================
   Phone
========================================================= */

.va-header-phone {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 7px 11px;

    border: 1px solid rgba(4, 107, 210, 0.14);
    border-radius: 12px;

    background: rgba(4, 107, 210, 0.05);

    color: inherit;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.va-header-phone:hover {
    transform: translateY(-1px);

    border-color: var(--ast-global-color-0, #046bd2);

    background: rgba(4, 107, 210, 0.09);
}

.va-header-phone-icon {
    display: grid;

    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    place-items: center;

    border-radius: 10px;

    background: var(--ast-global-color-0, #046bd2);

    color: #fff;
}

.va-header-phone-icon svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: currentColor;
}

.va-header-phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;

    min-width: 0;

    font-family: inherit;
}

.va-header-phone-text small {
    display: block;

    color: #718096;

    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.va-header-phone-text strong {
    display: block;

    direction: ltr;

    color: var(--ast-global-color-2, #1e293b);

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;

    white-space: nowrap;
}


/* =========================================================
   Mobile Toggle
========================================================= */

.va-mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    padding: 9px;

    border: 1px solid #e8ebf0;
    border-radius: 11px;

    background: #fff;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.va-mobile-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 20px;

    background: var(--ast-global-color-2, #1e293b);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =========================================================
   Mobile Drawer
========================================================= */

.va-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10002;

    width: min(370px, 88vw);
    height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;

    background: #fff;

    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);

    transform: translateX(105%);

    transition: transform 0.28s ease;

    -webkit-overflow-scrolling: touch;
}

.va-mobile-menu.is-open {
    transform: translateX(0);
}

.va-mobile-menu-inner {
    padding: 20px;
}


/* =========================================================
   Mobile Menu Header
========================================================= */

.va-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
    padding-bottom: 15px;

    border-bottom: 1px solid #e8ebf0;

    color: var(--ast-global-color-2, #1e293b);

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
}

.va-mobile-close {
    display: grid;

    width: 38px;
    height: 38px;

    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: #f5f7fa;

    color: #334155;

    font-family: inherit;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


/* =========================================================
   Mobile Navigation
========================================================= */

.va-mobile-primary-menu,
.va-mobile-primary-menu ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.va-mobile-primary-menu > li {
    margin: 0;

    border-bottom: 1px solid #eef0f3;
}

.va-mobile-primary-menu a {
    display: block;

    padding: 13px 4px;

    color: #334155;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;

    text-decoration: none;
}

.va-mobile-primary-menu a:hover,
.va-mobile-primary-menu .current-menu-item > a,
.va-mobile-primary-menu .current-menu-parent > a,
.va-mobile-primary-menu .current-menu-ancestor > a {
    color: var(--ast-global-color-0, #046bd2);
}

.va-mobile-primary-menu .sub-menu {
    padding: 0 16px 9px 0;
}

.va-mobile-primary-menu .sub-menu li {
    border: 0;
}

.va-mobile-primary-menu .sub-menu a {
    padding: 9px 0;

    color: #64748b;

    font-size: 13px;
    font-weight: 500;
}


/* third level */

.va-mobile-primary-menu .sub-menu .sub-menu {
    padding-right: 14px;
}


/* =========================================================
   Mobile Contact
========================================================= */

.va-mobile-contact {
    margin-top: 25px;
    padding: 18px;

    border: 1px solid #e8ebf0;
    border-radius: 15px;

    background: #f5f7fa;
}

.va-mobile-contact > span {
    display: block;

    margin-bottom: 9px;

    color: #64748b;

    font-family: inherit;
    font-size: 12px;
}

.va-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    direction: ltr;

    color: var(--ast-global-color-0, #046bd2);

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;

    text-decoration: none;
}

.va-mobile-contact svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: currentColor;
}


/* =========================================================
   Overlay
========================================================= */

.va-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;

    background: rgba(15, 23, 42, 0.5);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.va-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.va-menu-open {
    overflow: hidden;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {

    .va-header-container {
        grid-template-columns: auto 1fr auto;

        min-height: 70px;

        gap: 15px;
    }

    .va-desktop-nav {
        display: none;
    }

    .va-header-actions {
        grid-column: 3;

        gap: 8px;
    }

    .va-mobile-toggle {
        display: block;
    }

    .va-logo-image {
        max-width: 150px;
        max-height: 46px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 600px) {

    .va-header-container {
        width: calc(100% - 20px);

        grid-template-columns: minmax(80px, auto) 1fr auto;

        min-height: 66px;

        gap: 7px;
    }


    /* Logo */

    .va-header-brand {
        overflow: hidden;
    }

    .va-logo-image {
        max-width: 110px;
        max-height: 40px;
    }

    .va-site-name {
        font-size: 15px;
    }


    /* Actions */

    .va-header-actions {
        gap: 6px;
    }


    /* Phone stays visible */

    .va-header-phone {
        gap: 7px;

        padding: 5px 8px;

        border-radius: 10px;
    }

    .va-header-phone-icon {
        width: 31px;
        height: 31px;

        flex-basis: 31px;

        border-radius: 9px;
    }

    .va-header-phone-icon svg {
        width: 14px;
        height: 14px;
    }

    .va-header-phone-text {
        display: flex;
    }

    /*
     * Only the helper label is hidden.
     * The phone number remains visible.
     */
    .va-header-phone-text small {
        display: none;
    }

    .va-header-phone-text strong {
        display: block;

        font-size: 12px;
        line-height: 1;

        white-space: nowrap;
    }


    /* Hamburger */

    .va-mobile-toggle {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        padding: 8px;
    }

}


/* =========================================================
   Very Small Phones
========================================================= */

@media (max-width: 360px) {

    .va-header-container {
        width: calc(100% - 14px);

        gap: 5px;
    }

    .va-logo-image {
        max-width: 86px;
        max-height: 36px;
    }

    .va-site-name {
        font-size: 13px;
    }

    .va-header-phone {
        gap: 5px;

        padding: 5px 6px;
    }

    /*
     * On very small screens we remove only the icon
     * to preserve the actual phone number.
     */
    .va-header-phone-icon {
        display: none;
    }

    .va-header-phone-text strong {
        font-size: 11px;
    }

    .va-mobile-toggle {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

}


/* =========================================================
   Accessibility
========================================================= */

.va-header a:focus-visible,
.va-header button:focus-visible {
    outline: 2px solid var(--ast-global-color-0, #046bd2);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .va-header *,
    .va-header *::before,
    .va-header *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}

/* =========================================================
   Vam Iranian Footer
========================================================= */

.va-footer {
    position: relative;

    width: 100%;

    background: #0f172a;

    color: #cbd5e1;
}

.va-footer-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   Main
========================================================= */

.va-footer-main {
    padding: 72px 0 58px;
}

.va-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1fr;

    gap: 55px;
}


/* =========================================================
   Brand
========================================================= */

.va-footer-brand {
    max-width: 360px;
}

.va-footer-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;

    color: #fff;

    text-decoration: none;
}

.va-footer-logo-image {
    display: block;

    width: auto;
    max-width: 170px;
    max-height: 55px;

    object-fit: contain;
}

.va-footer-site-name {
    color: #fff;

    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
}

.va-footer-brand > p {
    margin: 0 0 24px;

    color: #94a3b8;

    font-family: inherit;
    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   Phone
========================================================= */

.va-footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 12px;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;

    background: rgba(255, 255, 255, .05);

    color: #fff;

    text-decoration: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.va-footer-phone:hover {
    transform: translateY(-2px);

    border-color: var(--ast-global-color-0, #046bd2);

    background: rgba(255, 255, 255, .08);

    color: #fff;
}

.va-footer-phone-icon {
    display: grid;

    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    place-items: center;

    border-radius: 10px;

    background: var(--ast-global-color-0, #046bd2);

    color: #fff;
}

.va-footer-phone-icon svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
}

.va-footer-phone > span:last-child {
    display: flex;
    flex-direction: column;
}

.va-footer-phone small {
    color: #94a3b8;

    font-family: inherit;
    font-size: 10px;
}

.va-footer-phone strong {
    direction: ltr;

    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   Columns
========================================================= */

.va-footer-column h2 {
    position: relative;

    margin: 0 0 23px;
    padding-bottom: 12px;

    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
}

.va-footer-column h2::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    border-radius: 20px;

    background: var(--ast-global-color-0, #046bd2);
}

.va-footer-column ul,
.va-footer-menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.va-footer-column li {
    margin: 0 0 10px;
}

.va-footer-column li:last-child {
    margin-bottom: 0;
}

.va-footer-column a {
    color: #94a3b8;

    font-family: inherit;
    font-size: 13px;

    text-decoration: none;

    transition:
        color .2s ease,
        padding .2s ease;
}

.va-footer-column li a:hover {
    padding-right: 4px;

    color: #fff;
}


/* =========================================================
   Contact
========================================================= */

.va-footer-contact p {
    margin: 0 0 20px;

    color: #94a3b8;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.9;
}

.va-footer-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    direction: ltr;

    padding: 11px 16px;

    border-radius: 10px;

    background: var(--ast-global-color-0, #046bd2);

    color: #fff !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.va-footer-contact-button:hover {
    transform: translateY(-2px);

    background: var(--ast-global-color-1, #045cb4);
}

.va-footer-contact-button svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
}


/* =========================================================
   Bottom
========================================================= */

.va-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);

    background: rgba(0, 0, 0, .12);
}

.va-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    min-height: 70px;
}

.va-footer-bottom p {
    margin: 0;

    color: #64748b;

    font-family: inherit;
    font-size: 11px;
}

.va-footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
}

.va-footer-legal a {
    color: #64748b;

    font-family: inherit;
    font-size: 11px;

    text-decoration: none;

    transition: color .2s ease;
}

.va-footer-legal a:hover {
    color: #cbd5e1;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1000px) {

    .va-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;

        gap: 40px;
    }

    .va-footer-contact {
        grid-column: span 3;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 700px) {

    .va-footer-container {
        width: calc(100% - 28px);
    }

    .va-footer-main {
        padding: 52px 0 40px;
    }

    .va-footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 38px 24px;
    }

    .va-footer-brand {
        grid-column: span 2;

        max-width: none;
    }

    .va-footer-contact {
        grid-column: span 2;
    }

    .va-footer-bottom-inner {
        flex-direction: column;

        justify-content: center;

        min-height: auto;

        padding: 20px 0;

        text-align: center;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 430px) {

    .va-footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .va-footer-brand,
    .va-footer-contact {
        grid-column: auto;
    }

    .va-footer-phone {
        width: 100%;

        justify-content: center;
    }

    .va-footer-contact-button {
        width: 100%;

        justify-content: center;
    }

    .va-footer-legal {
        flex-wrap: wrap;

        justify-content: center;
    }

}


/* =========================================================
   Accessibility
========================================================= */

.va-footer a:focus-visible {
    outline: 2px solid var(--ast-global-color-0, #046bd2);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .va-footer *,
    .va-footer *::before,
    .va-footer *::after {
        transition: none !important;
    }

}