/* =========================================================
   YusefWeb 2.6.5 — Integrated footer and mobile checkout fixes
========================================================= */

/* When the old Code Snippets footer is still active, keep the theme footer. */
html body.ywf-footer-active #ywf-site-footer {
    display: none !important;
}

html body.ywf-footer-active footer.yw-brand-footer {
    display: block !important;
}

/* Integrated theme footer */
.yw-brand-footer.yw-brand-footer--integrated {
    position: relative !important;
    z-index: 20 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    direction: rtl !important;
    color: #f8fbff !important;
    background:
        radial-gradient(circle at 88% 5%, rgba(35, 116, 255, .22), transparent 29%),
        radial-gradient(circle at 8% 95%, rgba(255, 101, 0, .10), transparent 25%),
        linear-gradient(125deg, #061a3a 0%, #0a2f6e 100%) !important;
    font-family: var(--yw-font, Vazirmatn, Tahoma, Arial, sans-serif) !important;
}

.yw-brand-footer--integrated *,
.yw-brand-footer--integrated *::before,
.yw-brand-footer--integrated *::after {
    box-sizing: border-box !important;
}

.yw-brand-footer--integrated a {
    text-decoration: none !important;
}

.yw-brand-footer--integrated .yw-footer-grid-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image:
        linear-gradient(rgba(255,255,255,.48) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.48) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.yw-brand-footer--integrated .yw-footer-glow {
    position: absolute !important;
    display: block !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.yw-brand-footer--integrated .yw-footer-glow--one {
    top: -300px !important;
    right: -180px !important;
    width: 650px !important;
    height: 650px !important;
    background: radial-gradient(circle, rgba(23,111,242,.26), transparent 67%) !important;
}

.yw-brand-footer--integrated .yw-footer-glow--two {
    bottom: -300px !important;
    left: -160px !important;
    width: 560px !important;
    height: 560px !important;
    background: radial-gradient(circle, rgba(255,101,0,.12), transparent 66%) !important;
}

.yw-brand-footer--integrated .yw-footer-main {
    position: relative !important;
    z-index: 2 !important;
    width: min(1400px, calc(100% - 38px)) !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 66px 0 18px !important;
}

.yw-brand-footer--integrated .yw-footer-grid {
    display: grid !important;
    grid-template-columns:
        minmax(270px, 1.35fr)
        minmax(155px, .75fr)
        minmax(170px, .82fr)
        minmax(225px, 1fr)
        minmax(205px, .88fr) !important;
    gap: 34px !important;
    align-items: start !important;
    padding: 0 0 46px !important;
}

.yw-brand-footer--integrated .yw-footer-brand,
.yw-brand-footer--integrated .yw-footer-column,
.yw-brand-footer--integrated .yw-footer-trust {
    min-width: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.yw-brand-footer--integrated .yw-brand-light {
    display: inline-flex !important;
    align-items: center !important;
    gap: 13px !important;
    color: #fff !important;
}

.yw-brand-footer--integrated .yw-brand-icon {
    display: grid !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    padding: 6px !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.07) !important;
    box-shadow: 0 13px 30px rgba(0,0,0,.18) !important;
}

.yw-brand-footer--integrated .yw-brand-icon img,
.yw-brand-footer--integrated .yw-brand-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.yw-brand-footer--integrated .yw-brand-copy {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    line-height: 1.3 !important;
}

.yw-brand-footer--integrated .yw-brand-copy strong {
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1.45 !important;
    font-weight: 950 !important;
}

.yw-brand-footer--integrated .yw-brand-copy small {
    margin-top: 4px !important;
    color: rgba(222,235,255,.68) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
}

.yw-brand-footer--integrated .yw-footer-brand > p {
    max-width: 430px !important;
    margin: 19px 0 0 !important;
    color: #aebed5 !important;
    font-size: 16px !important;
    line-height: 2.15 !important;
}

.yw-brand-footer--integrated .yw-footer-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 18px !important;
}

.yw-brand-footer--integrated .yw-footer-chips span {
    display: inline-flex !important;
    min-height: 34px !important;
    padding: 0 11px !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 999px !important;
    color: #e9f2ff !important;
    background: rgba(255,255,255,.05) !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.yw-brand-footer--integrated .yw-footer-chips span::before {
    content: "✓" !important;
    color: #36d391 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

.yw-brand-footer--integrated h3 {
    position: relative !important;
    margin: 5px 0 25px !important;
    padding-bottom: 13px !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 950 !important;
}

.yw-brand-footer--integrated h3::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 40px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ff6500 0 55%, #2d83ff 55% 100%) !important;
}

.yw-brand-footer--integrated .yw-footer-links,
.yw-brand-footer--integrated .yw-footer-links ul {
    display: grid !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.yw-brand-footer--integrated .yw-footer-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.yw-brand-footer--integrated .yw-footer-links a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #aebed5 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 650 !important;
    transition: color .2s ease, transform .2s ease !important;
}

.yw-brand-footer--integrated .yw-footer-links a::before {
    content: "" !important;
    flex: 0 0 5px !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.24) !important;
}

.yw-brand-footer--integrated .yw-footer-links a:hover {
    color: #fff !important;
    transform: translateX(-4px) !important;
}

.yw-brand-footer--integrated .yw-footer-links a:hover::before {
    background: #ff6500 !important;
}

.yw-brand-footer--integrated .yw-contact-list {
    display: grid !important;
    gap: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.yw-brand-footer--integrated .yw-contact-list li {
    display: grid !important;
    grid-template-columns: 39px minmax(0,1fr) !important;
    gap: 11px !important;
    margin: 0 !important;
    align-items: center !important;
}

.yw-brand-footer--integrated .yw-contact-icon {
    display: grid !important;
    width: 39px !important;
    height: 39px !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 12px !important;
    color: #c4d8f8 !important;
    background: rgba(255,255,255,.07) !important;
}

.yw-brand-footer--integrated .yw-contact-copy {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.yw-brand-footer--integrated .yw-contact-copy small {
    color: #8197b5 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.yw-brand-footer--integrated .yw-contact-value {
    display: block !important;
    width: 100% !important;
    margin-top: 3px !important;
    color: #f1f6ff !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.yw-brand-footer--integrated .yw-contact-value bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}

.yw-brand-footer--integrated .yw-socials {
    display: flex !important;
    gap: 9px !important;
    margin-top: 17px !important;
}

.yw-brand-footer--integrated .yw-socials a {
    display: grid !important;
    width: 39px !important;
    height: 39px !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: rgba(255,255,255,.06) !important;
}

.yw-brand-footer--integrated .yw-socials a:hover {
    color: #fff !important;
    border-color: transparent !important;
    background: #176ff2 !important;
    transform: translateY(-3px) !important;
}

.yw-brand-footer--integrated .yw-footer-trust {
    padding: 13px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 21px !important;
    background: rgba(255,255,255,.065) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,.16) !important;
}

.yw-brand-footer--integrated .yw-footer-trust__head {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 11px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.yw-brand-footer--integrated .yw-footer-trust__head i {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #22ca7d !important;
    box-shadow: 0 0 0 6px rgba(34,202,125,.12) !important;
}

.yw-brand-footer--integrated .yw-footer-trust__badge {
    display: block !important;
    color: #fff !important;
    text-align: center !important;
}

.yw-brand-footer--integrated .yw-footer-trust__image {
    display: grid !important;
    width: 100% !important;
    min-height: 116px !important;
    padding: 8px !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
}

.yw-brand-footer--integrated .yw-footer-trust__image img {
    display: block !important;
    width: 100% !important;
    max-width: 150px !important;
    height: 100px !important;
    object-fit: contain !important;
}

.yw-brand-footer--integrated .yw-footer-trust__badge strong {
    display: block !important;
    margin-top: 11px !important;
    color: #f6f9ff !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 900 !important;
}

.yw-brand-footer--integrated .yw-footer-trust__badge small {
    display: block !important;
    margin-top: 4px !important;
    color: #91a7c4 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.yw-brand-footer--integrated .yw-footer-bottom {
    position: relative !important;
    display: flex !important;
    min-height: 70px !important;
    padding: 18px 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    color: #93a8c5 !important;
    font-size: 16px !important;
}

.yw-brand-footer--integrated .yw-footer-bottom p {
    margin: 0 !important;
    color: #93a8c5 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.yw-brand-footer--integrated .yw-footer-legal {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.yw-brand-footer--integrated .yw-footer-legal a {
    color: #93a8c5 !important;
    font-size: 16px !important;
}

.yw-brand-footer--integrated .yw-footer-legal a:hover {
    color: #fff !important;
}

/* Hide the legacy separate trust strip: the badge now lives in the footer grid. */
.yw-brand-footer--integrated + .yw-enamad-strip,
body .yw-enamad-strip {
    display: none !important;
}

/* Mobile checkout/cart fixed controls: keep support tools above the bar. */
@media (max-width: 768px) {
    body.woocommerce-checkout .ywb-mobile-payment,
    body.woocommerce-cart .ywc-mobile-checkout {
        right: 8px !important;
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        left: 8px !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        min-height: 70px !important;
        padding: 8px 9px !important;
        align-items: center !important;
        gap: 8px !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        z-index: 9988 !important;
    }

    body.woocommerce-checkout .ywb-mobile-payment > div,
    body.woocommerce-cart .ywc-mobile-checkout > div {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.woocommerce-checkout .ywb-mobile-payment small,
    body.woocommerce-checkout .ywb-mobile-payment strong,
    body.woocommerce-cart .ywc-mobile-checkout small,
    body.woocommerce-cart .ywc-mobile-checkout strong {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.woocommerce-checkout .ywb-mobile-place-order,
    body.woocommerce-checkout .ywb-mobile-payment button,
    body.woocommerce-cart .ywc-mobile-checkout a {
        width: auto !important;
        min-width: 124px !important;
        max-width: 150px !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 0 13px !important;
        border-radius: 13px !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    body.woocommerce-checkout .yw-contact-hub,
    body.woocommerce-cart .yw-contact-hub {
        right: 10px !important;
        bottom: calc(91px + env(safe-area-inset-bottom)) !important;
        z-index: 9997 !important;
    }

    body.woocommerce-checkout .yw-contact-hub--left,
    body.woocommerce-cart .yw-contact-hub--left {
        right: auto !important;
        left: 10px !important;
    }

    body.woocommerce-checkout .yw-back-to-top,
    body.woocommerce-cart .yw-back-to-top,
    body.woocommerce-checkout .yw-floating-whatsapp,
    body.woocommerce-cart .yw-floating-whatsapp {
        bottom: calc(91px + env(safe-area-inset-bottom)) !important;
    }

    body.woocommerce-checkout,
    body.woocommerce-cart {
        padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 1100px) {
    .yw-brand-footer--integrated .yw-footer-grid {
        grid-template-columns: 1.25fr .8fr .85fr 1fr !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) 190px !important;
        gap: 14px !important;
        align-items: center !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust__head {
        grid-column: 1 !important;
        margin: 0 !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust__badge {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
    }
}

@media (max-width: 820px) {
    .yw-brand-footer--integrated .yw-footer-main {
        width: min(100% - 24px, 1400px) !important;
        padding-top: 50px !important;
    }

    .yw-brand-footer--integrated .yw-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 34px 24px !important;
    }

    .yw-brand-footer--integrated .yw-footer-brand {
        grid-column: 1 / -1 !important;
    }

    .yw-brand-footer--integrated .yw-footer-contact-col {
        grid-column: 1 !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust {
        grid-column: 2 !important;
        display: block !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust__badge {
        display: block !important;
    }
}

@media (max-width: 560px) {
    .yw-brand-footer--integrated .yw-footer-main {
        width: calc(100% - 20px) !important;
        padding-top: 42px !important;
    }

    .yw-brand-footer--integrated .yw-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 31px !important;
        padding-bottom: 30px !important;
    }

    .yw-brand-footer--integrated .yw-footer-brand,
    .yw-brand-footer--integrated .yw-footer-contact-col,
    .yw-brand-footer--integrated .yw-footer-trust {
        grid-column: auto !important;
    }

    .yw-brand-footer--integrated .yw-brand-copy strong {
        font-size: 22px !important;
    }

    .yw-brand-footer--integrated .yw-footer-brand > p {
        font-size: 12px !important;
    }

    .yw-brand-footer--integrated .yw-footer-trust__image {
        min-height: 104px !important;
    }

    .yw-brand-footer--integrated .yw-footer-bottom {
        min-height: 0 !important;
        padding: 17px 0 22px !important;
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .yw-brand-footer--integrated .yw-footer-legal {
        gap: 13px !important;
    }
}

@media (max-width: 380px) {
    body.woocommerce-checkout .ywb-mobile-place-order,
    body.woocommerce-checkout .ywb-mobile-payment button,
    body.woocommerce-cart .ywc-mobile-checkout a {
        min-width: 112px !important;
        max-width: 125px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }
}

/* =========================================================
   YusefWeb 2.6.5 — Native footer lock and fixed commerce bar
========================================================= */

/* The temporary Code Snippets footer must never be rendered beside the theme footer. */
html body #ywf-site-footer,
html body .ywf-footer#ywf-site-footer {
    display: none !important;
}

html body footer.yw-brand-footer.yw-brand-footer--integrated {
    display: block !important;
    color-scheme: dark !important;
}

/* Isolate the native footer from Elementor/global typography rules. */
html body footer.yw-brand-footer--integrated,
html body footer.yw-brand-footer--integrated :where(div,section,nav,ul,li,p,a,span,strong,b,small) {
    font-family: var(--yw-font, Vazirmatn, Tahoma, Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-main {
    width: min(1320px, calc(100% - 40px)) !important;
    padding-top: 58px !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-grid {
    grid-template-columns:
        minmax(275px, 1.35fr)
        minmax(145px, .72fr)
        minmax(165px, .82fr)
        minmax(220px, 1fr)
        minmax(185px, .82fr) !important;
    gap: 28px !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-brand-name {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1.45 !important;
    font-weight: 950 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-heading {
    position: relative !important;
    display: block !important;
    margin: 4px 0 22px !important;
    padding: 0 0 13px !important;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 950 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-heading::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 40px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ff6500 0 55%, #2d83ff 55% 100%) !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-brand > p {
    color: #c2d0e4 !important;
    font-size: 16px !important;
    line-height: 2.05 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-links a {
    color: #b7c7dd !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    font-weight: 700 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-links a:hover {
    color: #ffffff !important;
}

html body footer.yw-brand-footer--integrated .yw-contact-copy small {
    color: #8fa4c1 !important;
    font-size: 16px !important;
}

html body footer.yw-brand-footer--integrated .yw-contact-value {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 850 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-trust__head,
html body footer.yw-brand-footer--integrated .yw-footer-trust__badge strong {
    color: #ffffff !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-trust__badge small,
html body footer.yw-brand-footer--integrated .yw-footer-bottom,
html body footer.yw-brand-footer--integrated .yw-footer-bottom p,
html body footer.yw-brand-footer--integrated .yw-footer-legal a {
    color: #9fb2cc !important;
}

@media (max-width: 1100px) {
    html body footer.yw-brand-footer--integrated .yw-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 26px !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-brand,
    html body footer.yw-brand-footer--integrated .yw-footer-trust {
        grid-column: 1 / -1 !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-trust {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 200px !important;
        gap: 16px !important;
        align-items: center !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-trust__badge {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
    }
}

@media (max-width: 620px) {
    html body footer.yw-brand-footer--integrated .yw-footer-main {
        width: calc(100% - 22px) !important;
        padding-top: 40px !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-brand,
    html body footer.yw-brand-footer--integrated .yw-footer-trust {
        grid-column: auto !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-trust {
        display: block !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-brand-name {
        font-size: 21px !important;
    }

    html body footer.yw-brand-footer--integrated .yw-footer-heading {
        margin-bottom: 18px !important;
        font-size: 14px !important;
    }
}

/* Floating controls must stay above checkout/cart bottom bars, never inside them. */
@media (max-width: 768px) {
    body.yw-has-fixed-commerce-bar .yw-contact-hub {
        right: 12px !important;
        left: auto !important;
        bottom: calc(96px + env(safe-area-inset-bottom)) !important;
        z-index: 9998 !important;
    }

    body.yw-has-fixed-commerce-bar .yw-contact-hub--left {
        right: auto !important;
        left: 12px !important;
    }

    body.yw-has-fixed-commerce-bar .yw-back-to-top,
    body.yw-has-fixed-commerce-bar .yw-floating-whatsapp {
        bottom: calc(96px + env(safe-area-inset-bottom)) !important;
        z-index: 9997 !important;
    }

    body.yw-has-fixed-commerce-bar .yw-back-to-top {
        left: 12px !important;
        right: auto !important;
    }

    body.yw-has-fixed-commerce-bar .ywb-mobile-payment,
    body.yw-has-fixed-commerce-bar .ywc-mobile-checkout {
        z-index: 9980 !important;
        grid-template-columns: minmax(0, 1fr) minmax(118px, 42%) !important;
        min-height: 72px !important;
        padding: 9px !important;
    }

    body.yw-has-fixed-commerce-bar .ywb-mobile-payment button,
    body.yw-has-fixed-commerce-bar .ywb-mobile-place-order,
    body.yw-has-fixed-commerce-bar .ywc-mobile-checkout a {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 50px !important;
        padding-inline: 10px !important;
    }

    body.yw-has-fixed-commerce-bar {
        padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 380px) {
    body.yw-has-fixed-commerce-bar .ywb-mobile-payment,
    body.yw-has-fixed-commerce-bar .ywc-mobile-checkout {
        grid-template-columns: minmax(0, 1fr) 112px !important;
    }

    body.yw-has-fixed-commerce-bar .yw-contact-hub,
    body.yw-has-fixed-commerce-bar .yw-back-to-top,
    body.yw-has-fixed-commerce-bar .yw-floating-whatsapp {
        bottom: calc(94px + env(safe-area-inset-bottom)) !important;
    }
}


/* =========================================================
   2.6.6 — Text-only footer brand (logo intentionally hidden)
========================================================= */
html body footer.yw-brand-footer--integrated .yw-footer-brand-text-only {
    display: block !important;
    width: fit-content !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-brand-text-only .yw-brand-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    white-space: normal !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-brand-text-only .yw-brand-copy strong {
    color: #fff !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
    font-weight: 950 !important;
}

html body footer.yw-brand-footer--integrated .yw-footer-brand-text-only .yw-brand-copy small {
    margin: 0 !important;
    color: #aebed5 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 750 !important;
}

@media (max-width: 620px) {
    html body footer.yw-brand-footer--integrated .yw-footer-brand-text-only .yw-brand-copy strong {
        font-size: 22px !important;
    }
}

/* Order-pay / invoice mobile bar amount and floating controls — v2.6.8 */
@media (max-width:768px){
  body.woocommerce-order-pay .ywb-mobile-payment,
  body.woocommerce-order-pay .ywb-mobile-checkout,
  body.woocommerce-checkout .ywb-mobile-payment{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(150px,42%)!important;
    align-items:center!important;
    gap:9px!important;
    right:8px!important;
    left:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    min-height:74px!important;
    padding:9px!important;
    overflow:visible!important;
    border-radius:19px!important;
    background:rgba(7,29,64,.97)!important;
    box-shadow:0 18px 45px rgba(4,20,50,.38)!important;
    z-index:9980!important;
  }
  body.woocommerce-order-pay .ywb-mobile-payment>div,
  body.woocommerce-order-pay .ywb-mobile-checkout>div,
  body.woocommerce-checkout .ywb-mobile-payment>div{min-width:0!important;overflow:visible!important}
  body.woocommerce-order-pay .ywb-mobile-total,
  body.woocommerce-order-pay .ywb-mobile-total *,
  body.woocommerce-order-pay .ywb-mobile-payment strong,
  body.woocommerce-checkout .ywb-mobile-total,
  body.woocommerce-checkout .ywb-mobile-total *{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    min-width:0!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    white-space:nowrap!important;
    font-size:13px!important;
    font-weight:950!important;
  }
  body.woocommerce-order-pay .ywb-mobile-payment small,
  body.woocommerce-checkout .ywb-mobile-payment small{display:block!important;color:rgba(255,255,255,.62)!important;font-size:12px!important}
  body.woocommerce-order-pay .ywb-mobile-payment button,
  body.woocommerce-order-pay .ywb-mobile-checkout a,
  body.woocommerce-checkout .ywb-mobile-payment button{
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:0 10px!important;
    border-radius:14px!important;
    white-space:normal!important;
    line-height:1.55!important;
  }
  body.woocommerce-order-pay.yw-has-fixed-commerce-bar .yw-contact-hub,
  body.woocommerce-order-pay.yw-has-fixed-commerce-bar .yw-floating-whatsapp,
  body.woocommerce-order-pay.yw-has-fixed-commerce-bar .yw-back-to-top,
  body.woocommerce-checkout.yw-has-fixed-commerce-bar .yw-contact-hub,
  body.woocommerce-checkout.yw-has-fixed-commerce-bar .yw-floating-whatsapp,
  body.woocommerce-checkout.yw-has-fixed-commerce-bar .yw-back-to-top{
    bottom:calc(104px + env(safe-area-inset-bottom))!important;
  }
  body.woocommerce-order-pay.yw-has-fixed-commerce-bar .yw-contact-hub,
  body.woocommerce-checkout.yw-has-fixed-commerce-bar .yw-contact-hub{right:12px!important;left:auto!important}
  body.woocommerce-order-pay.yw-has-fixed-commerce-bar .yw-back-to-top,
  body.woocommerce-checkout.yw-has-fixed-commerce-bar .yw-back-to-top{left:12px!important;right:auto!important}
}
@media(max-width:380px){
  body.woocommerce-order-pay .ywb-mobile-payment,
  body.woocommerce-checkout .ywb-mobile-payment{grid-template-columns:minmax(0,1fr) 135px!important}
}


/* Readable typography floor — v2.7.0 */
body:not(.wp-admin){font-size:16px;line-height:1.85}
body:not(.wp-admin) :where(input,textarea,select,button,option,label,td,th,caption,figcaption){font-size:16px}
@media(max-width:900px){body:not(.wp-admin){font-size:12px}body:not(.wp-admin) :where(input,textarea,select,button,option,label,td,th,caption,figcaption){font-size:12px}}

/* 2.7.8 — Remove legal links and center footer copyright */
.yw-brand-footer--integrated .yw-footer-legal{display:none!important}.yw-brand-footer--integrated .yw-footer-bottom--single{justify-content:center!important;text-align:center!important}.yw-brand-footer--integrated .yw-footer-bottom--single p{width:100%!important;text-align:center!important}
