/*
Theme Name: Jiawaz Child
Template: jiawaz
Version: 1.6.0
Text Domain: jiawaz-child
*/

/*
 * Keep this file intentionally minimal.
 * Shared UI CSS lives in assets/css/components/.
 * Widget CSS lives in assets/css/widgets/.
 * WooCommerce product-page overrides live in assets/css/woocommerce/product-page.css.
 */

/* =========================================================
   Global Swiper Arrow Design
   Applies to ALL .swiper-button-primary arrows site-wide.
   Neutral grey surface — not blue, not loud.
   ========================================================= */

.swiper-button-primary {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: var(--mrpsn-radius-sm) !important;

    /* Neutral light surface */
    background: var(--mrpsn-bg) !important;
    border: 1px solid var(--mrpsn-line-strong) !important;
    color: var(--mrpsn-text-soft) !important;

    box-shadow: none !important;

    cursor: pointer !important;
    user-select: none !important;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease !important;
}

.swiper-button-primary:hover {
    background: var(--mrpsn-soft) !important;
    border-color: rgba(15, 23, 42, 0.16) !important;
    color: var(--mrpsn-ink) !important;
    box-shadow: none !important;

}

.swiper-button-primary:active {

    box-shadow: none !important;
}

.swiper-button-primary i,
.swiper-button-primary .mrpsn-svg-icon {
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* Disabled state */
.swiper-button-primary.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Focus */
.swiper-button-primary:focus-visible {
    outline: 2px solid var(--mrpsn-blue);
    outline-offset: 2px;
}



/* =========================================================
   MRPSN Site Footer
   ========================================================= */

.mrpsn-site-footer,
.mrpsn-site-footer * {
    box-sizing: border-box;
}

.mrpsn-site-footer {
    --footer-blue: var(--mrpsn-blue, #006fff);
    --footer-text: var(--mrpsn-ink, #172033);
    --footer-muted: var(--mrpsn-muted, #667085);
    --footer-line: var(--mrpsn-line, rgba(15, 23, 42, .08));

    width: 100vw;
    max-width: 100vw;
    margin: 48px calc(50% - 50vw) 0;
    padding: 42px 16px 0;
    direction: rtl;
    color: var(--footer-text);
    font-family: inherit;
    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            #fff 0 68%,
            var(--footer-blue) 68% 100%
        );
}

.mrpsn-site-footer a {
    color: inherit;
    text-decoration: none;
}

.mrpsn-site-footer__inner {
    width: min(1180px, 100%);
    margin: auto;
}

/* Navigation */

.mrpsn-site-footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
}

.mrpsn-site-footer__links a {
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(0, 111, 255, .12);
    border-radius: 999px;
    background: #fff;
    color: #1d2d44;
    font-size: 13px;
    font-weight: 550;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    transition: .2s ease;
}

.mrpsn-site-footer__links a:hover,
.mrpsn-site-footer__links a:focus-visible {
    border-color: var(--footer-blue);
    background: var(--footer-blue);
    color: #fff;
    transform: translateY(-1px);
}

/* Main card */

.mrpsn-site-footer__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 30px;
    padding: 26px;
    border: 1px solid rgba(0, 111, 255, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: none;
}

.mrpsn-site-footer__about {
    min-width: 0;
}

.mrpsn-site-footer__title {
    margin: 0 0 12px;
    color: var(--footer-text);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 750;
    line-height: 1.5;
}

.mrpsn-site-footer__description {
    max-width: 860px;
    margin: 0;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 2;
}

/* eNamad */

.mrpsn-site-footer__trust {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 176px;
    padding: 14px;
    border: 1px solid var(--footer-line);
    border-radius: 18px;
    background: #f8fbff;
}

.mrpsn-site-footer__trust-title {
    font-size: 13px;
    font-weight: 650;
}

.mrpsn-site-footer__enamad {
    display: grid;
    place-items: center;
    width: 125px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    transition: .2s ease;
}

.mrpsn-site-footer__enamad:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.mrpsn-site-footer__enamad img {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
    border: 0;
    object-fit: contain;
}

/* Copyright */

.mrpsn-site-footer__bottom {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 22px 12px 20px;
    color: #fff;
    text-align: center;
}

.mrpsn-site-footer__bottom p {
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.8;
}

/* Focus */

.mrpsn-site-footer a:focus-visible {
    outline: 2px solid var(--footer-blue);
    outline-offset: 3px;
}

/* Elementor reset */

.elementor-location-footer .elementor-element-f7ea84e,
.elementor-location-footer .elementor-element-c2ffa5e,
.elementor-location-footer .elementor-element-c2ffa5e > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-location-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Tablet */

@media (max-width: 1024px) {
    .mrpsn-site-footer {
        padding-inline: 14px;
    }

    .mrpsn-site-footer__content {
        grid-template-columns: minmax(0, 1fr) 165px;
        gap: 24px;
        padding: 24px;
    }

    .mrpsn-site-footer__description {
        font-size: 13.5px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .mrpsn-site-footer {
        margin-top: 32px;
        padding: 28px 12px 0;
        background:
            linear-gradient(
                to bottom,
                #fff 0 76%,
                var(--footer-blue) 76% 100%
            );
    }

    .mrpsn-site-footer__links {
        justify-content: flex-start;
        gap: 7px;
        margin-bottom: 14px;
    }

    .mrpsn-site-footer__links a {
        min-height: 36px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .mrpsn-site-footer__content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        border-radius: 18px;
    }

    .mrpsn-site-footer__description {
        font-size: 13px;
        line-height: 1.95;
    }

    .mrpsn-site-footer__trust {
        min-height: 0;
        padding: 16px;
    }

    .mrpsn-site-footer__bottom {
        min-height: 68px;
        padding-block: 20px;
    }
}

/* Small mobile */

@media (max-width: 420px) {
    .mrpsn-site-footer {
        padding-inline: 10px;
    }

    .mrpsn-site-footer__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mrpsn-site-footer__links a {
        width: 100%;
        padding-inline: 8px;
    }

    .mrpsn-site-footer__content {
        padding: 17px;
        border-radius: 16px;
    }

    .mrpsn-site-footer__enamad,
    .mrpsn-site-footer__enamad img {
        width: 115px;
    }
}

/* Hide desktop mobile sticky-bar wrapper */

@media (min-width: 768px) {
    .elementor-location-footer .elementor-element-c9c3409 {
        display: none !important;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .mrpsn-site-footer *,
    .mrpsn-site-footer *::before,
    .mrpsn-site-footer *::after {
        transition: none !important;
    }
}

/* =========================================================
   MRPSN Brand Strip
   ========================================================= */

.mrpsn-brand-strip,
.mrpsn-brand-strip * {
    box-sizing: border-box;
}

.mrpsn-brand-strip {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 24px;
    direction: rtl;
    background: #fff;
}

.mrpsn-brand-strip__inner {
    width: min(1360px, 100%);
    margin-inline: auto;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #f8faff;
    box-shadow: none;
}

.mrpsn-brand-strip__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    text-align: center;
}

.mrpsn-brand-strip__heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mrpsn-blue, #006fff);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: none;
}

.mrpsn-brand-strip__heading h2::before,
.mrpsn-brand-strip__heading h2::after {
    display: none;
    content: none;
}

.mrpsn-brand-strip__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.mrpsn-brand-strip__item {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 76px;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.mrpsn-brand-strip__item:hover,
.mrpsn-brand-strip__item:focus-visible {
    border-color: rgba(0, 111, 255, .28);
    background: #fff;
    box-shadow: none;
    transform: translateY(-2px);
}

.mrpsn-brand-strip__item:focus-visible {
    outline: 2px solid var(--mrpsn-blue, #006fff);
    outline-offset: 3px;
}

.mrpsn-brand-strip__item img {
    display: block;
    width: 100%;
    max-width: 125px;
    height: 44px;
    object-fit: contain;
    border: 0;
}

/* Elementor full-width reset */

.elementor-widget-html:has(.mrpsn-brand-strip),
.elementor-widget-html:has(.mrpsn-brand-strip) > .elementor-widget-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Tablet */

@media (max-width: 1024px) {
    .mrpsn-brand-strip {
        padding: 18px 14px;
    }

    .mrpsn-brand-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .mrpsn-brand-strip {
        padding: 14px 12px;
    }

    .mrpsn-brand-strip__inner {
        padding: 10px;
        border-radius: 18px;
    }

    .mrpsn-brand-strip__heading {
        margin-bottom: 10px;
    }

    .mrpsn-brand-strip__heading h2 {
        font-size: 12px;
    }

    .mrpsn-brand-strip__grid {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .mrpsn-brand-strip__grid::-webkit-scrollbar {
        display: none;
    }

    .mrpsn-brand-strip__item {
        flex: 0 0 132px;
        min-height: 72px;
        padding: 10px 12px;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .mrpsn-brand-strip__item img {
        max-width: 105px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mrpsn-brand-strip__item {
        transition: none;
    }
}