/* Shared mobile footer behavior for Default and every configurable layout. */
/* Default keeps its content and columns while following the active theme palette. */
footer.yl-footer {
    background: linear-gradient(110deg, var(--yl-theme-primary, #1f2937), var(--yl-theme-primary-dark, #111827) 70%, var(--yl-theme-primary, #1f2937)) !important;
    color: #fff;
}
footer.yl-footer .text-muted,
footer.yl-footer a.footer-link { color: #ffffffd9 !important; }
footer.yl-footer a.footer-link:hover { color: #fff !important; }
footer.yl-footer .footer-links ul { list-style: none; margin: 0; padding: 0; }
footer.yl-footer .footer-links li { position: relative; margin: 0 0 10px; line-height: 1.7; overflow-wrap: anywhere; }
footer.yl-footer .footer-links ul ul { margin-top: 10px; padding-left: 14px; border-left: 1px solid #ffffff28; }
footer.yl-footer .footer-links li:has(> .footer-submenu) > a { display: inline-block; padding-right: 28px; }
footer.yl-footer .footer-submenu > summary { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; margin-left: 4px; list-style: none; cursor: pointer; }
footer.yl-footer .footer-submenu > summary::-webkit-details-marker { display: none; }
footer.yl-footer .footer-submenu > summary > span { display: block; transform: rotate(90deg); font-size: 20px; }
footer.yl-footer .footer-submenu[open] > summary > span { transform: rotate(-90deg); }
footer.yl-footer .border-top { border-color: #ffffff28 !important; }
footer.yl-footer .btn.btn-outline-dark { color: #fff; border-color: #ffffff60; }
footer.yl-footer .btn.btn-outline-dark:hover { color: var(--yl-theme-primary-dark, #111827); background: #fff; }
footer.yl-footer .yl-tech-line > a,
.yl-footer-design .footer-credits > a { padding: 0; background: transparent; border: 0; box-shadow: none; }
footer.yl-footer .yl-tech-logo,
.yl-footer-design .footer-credit-logo { filter: drop-shadow(0 0 1px #ffffffdd) drop-shadow(0 0 5px #ffffff85); }
/* The company name is a supporting signature, not a second hero heading. */
.yl-footer-design .footer-layout .footer-brand-link > span,
.yl-footer-design .footer-layout .chamber-brand > span {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
}
.yl-footer-design .footer-layout .footer-brand-link > img { align-self: center; }
.yl-footer-design .footer-layout .footer-about { text-align: center; }
.footer-trust-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }
.footer-ssl-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #dce6ef; border-radius: var(--yl-theme-radius, var(--design-radius, 9px)); background: #f8fafc; color: #54708f; font-size: 12px; font-weight: 700; white-space: nowrap; }
.footer-ssl-badge i { color: #16a34a; font-size: 17px; }
.footer-payment-logos { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 100%; padding: 8px 12px; border: 1px solid #dce6ef; border-radius: var(--yl-theme-radius, var(--design-radius, 9px)); background: #fff; }
.footer-trust-row .footer-payment-logos img { display: block; width: auto; height: 18px; max-width: 65px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.yl-footer-design .footer-layout .footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.yl-footer-design .footer-layout .footer-bottom > .footer-copyright { grid-column: 1; grid-row: 1; }
.yl-footer-design .footer-layout .footer-bottom > .footer-trust-row { grid-column: 2; grid-row: 1; }
.yl-footer-design .footer-layout .footer-bottom > .chamber-bottom-social { grid-column: 3; grid-row: 1; margin-left: 0; justify-content: flex-end; }
.yl-footer-design .footer-layout .footer-bottom > .footer-credits { grid-column: 1/-1; grid-row: 2; }
.yl-footer-menu-group .footer-menu-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: default; }
.yl-footer-menu-group .footer-menu-toggle:disabled { opacity: 1; color: inherit; }
.yl-footer-menu-group .footer-menu-toggle-icon { display: none; }
.yl-footer-menu-group .footer-menu-panel[hidden] { display: none !important; }
@media(max-width: 650px) {
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-main { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-main > .footer-brand { order: 0; grid-column: auto; width: 100%; max-width: 100%; margin: 0; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-main > .yl-footer-menu-group { order: 1; width: 100%; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-main > .footer-contact { display: block; order: 2; width: 100%; grid-column: auto; padding: 16px 0 0; border: 0; border-top: 1px solid var(--footer-line, #80808030); text-align: left; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-brand-link { font-size: 18px; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-about { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-contact-line { justify-content: flex-start; margin: 0 0 10px; font-size: 13px; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-top: 20px; padding-block: 16px; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-mobile-social,
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .chamber-bottom-social { order: 0; justify-content: center; width: 100%; margin: 0; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-copyright { order: 1; font-size: 11px; line-height: 1.6; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-bottom > .footer-trust-row { order: 2; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-credits { order: 3; font-size: 11px; gap: 6px; line-height: 1.6; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-credits > span:last-child { flex-basis: 100%; }
    .yl-footer-design .footer-layout.yl-footer-mobile-ready .footer-mobile-social a { width: 40px; height: 40px; }
    .yl-footer-design footer.yl-footer-mobile-ready .yl-footer-menu-group,
    footer.yl-footer.yl-footer-mobile-ready .yl-footer-menu-group { min-width: 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--footer-line, #80808030); padding: 0; text-align: left; }
    .yl-footer-design .yl-footer-mobile-ready .yl-footer-menu-group > h2,
    footer.yl-footer.yl-footer-mobile-ready .yl-footer-menu-group > .yl-foot-title { display: block; margin: 0; font-size: 15px; text-transform: none; letter-spacing: normal; }
    .yl-footer-mobile-ready .yl-footer-menu-group > h2::after { display: none; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-toggle { min-height: 48px; padding: 10px 0; cursor: pointer; text-align: left; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-toggle:focus-visible { outline: 2px solid var(--yl-theme-accent, #c59d3d); outline-offset: 3px; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-toggle-icon { display: block; flex: 0 0 20px; text-align: center; font-size: 22px; font-weight: 400; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-toggle-icon::before { content: '+'; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-toggle[aria-expanded=true] .footer-menu-toggle-icon::before { content: '−'; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-panel { padding-block: 2px 12px; }
    .yl-footer-mobile-ready .yl-footer-menu-group > ul.footer-menu-panel:not([hidden]) { display: block !important; }
    .yl-footer-mobile-ready .yl-footer-menu-group .footer-menu-panel li { margin-bottom: 5px; font-size: 13px; }
    footer.yl-footer.yl-footer-mobile-ready > section { padding-block: 24px !important; }
    footer.yl-footer.yl-footer-mobile-ready section > .container > .row { display: block; margin: 0; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-identity { width: 100%; padding: 0; margin: 0 0 20px; }
    footer.yl-footer.yl-footer-mobile-ready .yl-footer-menu-group { width: 100%; margin: 0; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-contact { width: 100%; margin-top: 20px; padding: 16px 0 0; border-top: 1px solid #80808030; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-contact > div { min-width: 0; overflow-wrap: anywhere; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-contact i { flex: 0 0 20px; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-social { width: 100%; margin-top: 16px; padding: 0; }
    footer.yl-footer.yl-footer-mobile-ready .footer-mobile-social > .fw-semibold { display: none; }
    footer.yl-footer.yl-footer-mobile-ready .yl-footer-social-pay { justify-content: center; }
    footer.yl-footer.yl-footer-mobile-ready > .border-top { padding-block: 16px !important; font-size: 12px; }
    footer.yl-footer.yl-footer-mobile-ready .yl-tech-line { gap: 6px; }
    footer.yl-footer.yl-footer-mobile-ready .yl-tech-line > span:last-child { flex-basis: 100%; }
}
