/* ==========================================================
   Footer — YalaNext Brand
   ========================================================== */
.yxl-footer {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.yxl-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Newsletter row */
.yxl-footer-subscribe {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 64px 0;
}
.yxl-footer-nl {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.yxl-footer-nl h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.yxl-footer-nl p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 24px;
    line-height: 1.6;
}
.yxl-footer-nl-form form,
.yxl-footer-nl-form .mc4wp-form-fields {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
}
.yxl-footer-nl-form input[type="email"] {
    flex: 1 !important;
    min-width: 200px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 25px !important;
    padding: 14px 24px !important;
    color: #fff !important;
    font-size: 14px !important;
    outline: none !important;
}
.yxl-footer-nl-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.35) !important;
}
.yxl-footer-nl-form input[type="email"]:focus {
    border-color: rgba(255,255,255,0.4) !important;
}
.yxl-footer-nl-form input[type="submit"],
.yxl-footer-nl-form button[type="submit"] {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 14px 32px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    cursor: pointer !important;
    transition: opacity 0.3s !important;
}
.yxl-footer-nl-form input[type="submit"]:hover,
.yxl-footer-nl-form button[type="submit"]:hover {
    opacity: 0.85 !important;
}
/* MailChimp response text */
.yxl-footer-nl-form .mc4wp-alert,
.yxl-footer-nl-form .mc4wp-response {
    color: rgba(255,255,255,0.6) !important;
    font-size: 13px !important;
    margin-top: 12px !important;
}

/* Main footer grid */
.yxl-footer-main {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.yxl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
@media (max-width: 768px) {
    .yxl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }
    .yxl-footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px) {
    .yxl-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Logo */
.yxl-footer-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.yxl-footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 280px;
}

/* Social icons */
.yxl-footer-social {
    display: flex;
    gap: 12px;
}
.yxl-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    transition: all 0.25s;
    text-decoration: none;
}
.yxl-footer-social a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Footer columns */
.yxl-footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin: 0 0 20px;
}
.yxl-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.yxl-footer-col ul li {
    margin-bottom: 12px;
}
.yxl-footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.25s;
}
.yxl-footer-col ul li a:hover {
    color: #fff;
}

/* Bottom bar */
.yxl-footer-bottom {
    padding: 24px 0;
}
.yxl-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.yxl-footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.yxl-footer-payments {
    display: flex;
    gap: 8px;
    align-items: center;
}
.yxl-footer-payments svg {
    opacity: 0.6;
    transition: opacity 0.2s;
}
.yxl-footer-payments svg:hover {
    opacity: 1;
}

/* Kill parent footer styles */
.yxl-footer .footer-row,
.yxl-footer .subscribe-row,
.yxl-footer .widgets-row,
.yxl-footer .footer-copyright {
    display: none !important;
}

/* ==========================================================
   Mobile Bottom Navigation — YalaNext
   ========================================================== */

/* Hide plugin's bottom menu */
.mobile-bottom-menu {
    display: none !important;
}

/* Force white background on html AND body on mobile — fills the gap area */
@media (max-width: 768px) {
    html, body {
        background-color: #fff !important;
    }
}

/* Also remove any dark theme-color that Safari uses for the toolbar area */

/* Our bottom nav — fixed to bottom */
.yxl-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Hide bottom nav when search or burger menu is open + lock scroll */
body.search-active .yxl-bottom-nav,
body.yxl-menu-open .yxl-bottom-nav {
    display: none !important;
}
body.yxl-menu-open p.woocommerce-store-notice.demo_store {
    display: none !important;
}
body.search-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}
body.search-active .search-holder {
    z-index: 9999 !important;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .yxl-bottom-nav {
        display: block;
    }
    .site-footer {
        padding-bottom: 80px !important;
    }
}

.yxl-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0;
}

/* Each nav item */
.yxl-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
    color: #000;
    opacity: 0.35;
    transition: opacity 0.25s;
    position: relative;
}
.yxl-bnav-item.active {
    opacity: 1;
}
.yxl-bnav-item.active svg {
    stroke-width: 2;
}
.yxl-bnav-item span {
    font-size: 10px;
    margin-top: 3px;
    letter-spacing: 0.03em;
    font-weight: 500;
}
.yxl-bnav-item.active span {
    font-weight: 600;
}

/* Icon wrapper (for badge positioning) */
.yxl-bnav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge */
.yxl-bnav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

/* ==========================================================
   WooCommerce Store Notice — YalaNext Brand
   ========================================================== */
p.woocommerce-store-notice.demo_store {
    background: #000 !important;
    color: #fff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    padding: 14px 20px !important;
    line-height: 1.5 !important;
    z-index: 1009 !important;
}
p.woocommerce-store-notice.demo_store a {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    font-weight: 500 !important;
}
p.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link {
    display: inline-block !important;
    margin-left: 12px !important;
    opacity: 0.6 !important;
}
p.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link:hover {
    opacity: 1 !important;
}

/* Push store notice above bottom nav on mobile */
@media (max-width: 768px) {
    p.woocommerce-store-notice.demo_store {
        bottom: 60px !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
