/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

.ast-container,
.ast-primary-content {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.bg-top-bar {
    background-color: #000;
    text-align: center;
}
/* ===== MENU TOGGLE ICON ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #000;
    display: block;
    transition: all 0.3s ease;
}

/* ===== MOBILE MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 998;
}

/* ===== OFFCANVAS MENU ===== */
.custom-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    padding: 80px 25px;
    z-index: 999;
}

/* Active States */
.custom-header__nav.active {
    transform: translateX(0);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Items */
.custom-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-menu a {
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

/* ===== MOBILE HEADER LAYOUT ===== */
@media (max-width: 991px) {

    .menu-toggle {
        display: flex;
    }

    .custom-header__inner {
        padding: 14px 18px;
    }

    .custom-header__nav {
        display: block;
    }
}

/* Disable desktop offcanvas */
@media (min-width: 992px) {
    .custom-header__nav {
        position: static;
        transform: none;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .menu-overlay {
        display: none;
    }
}





/* ===== FOOTER ===== */
.custom-footer {
    background-color: #FFFEF8;
    color: #fff;
    font-size: 14px;
}

.custom-footer__top {
    padding: 60px 60px;
    background-color: #FFFEF8;
}

.custom-footer__inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col img {
    margin-bottom: 23px;
}
.footer-col h4 {
    margin-bottom: 25px;
    font-size: 17px;
    color: #000000;
    font-weight: 500;
}

.footer-col p {
    color: #000;
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #000000;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #4f4f4f;
}

/* Bottom bar */
.custom-footer__bottom {
    border-top: 1px solid #e4e4e4;
    padding: 15px 60px;
    text-align: center;
    color: #aaa;
    display: flex;
    /* width: 1200px; */
    /* margin: auto; */
   
    justify-content: space-between;
    align-items: center;
}

.social_links ul {
    margin: 0;
    display: flex;
    gap: 25px;
}
.social_links ul li {
    list-style: none;
    /* display: flex; */
}
.custom-footer__bottom p {
    margin: 0px;
    color: #000;
}
.custom-footer__bottom img {
    width: 300px;
}

.footer_above {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px 0px;
}
.footer_above_col {
    text-align: center;
}
.footer_above_col h3 {
    font-size: 14px;
    line-height: 24px;
    margin-top: 20px;
}
.line {
    width: 100%;
    height: 1px;
    background-color: #e2e2e2;
    margin-top: 40px;
    /* padding: 10px 0px; */
}

span.woocommerce-Price-amount.amount {
    color: #666666;
    font-size: 17px;
    font-weight: 500;
}
/* Mobile */
@media (max-width: 768px) {
    .custom-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* ================= FOOTER RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {

    .custom-footer__top {
        padding: 50px 30px;
    }

    .custom-footer__inner {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }

    .custom-footer__bottom {
        padding: 15px 30px;
    }

    .footer_above {
        padding: 25px 30px 0;
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .custom-footer__top {
        padding: 40px 20px;
    }

    .custom-footer__inner {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-col img {
        margin: 0 auto 18px;
        display: block;
    }

    .footer-menu li {
        margin-bottom: 10px;
    }

    /* Above footer icons */
    .footer_above {
        flex-direction: column;
        padding: 25px 20px 0;
    }

    .footer_above_col {
        margin-bottom: 25px;
    }

    /* Bottom bar stack */
    .custom-footer__bottom {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }

    .custom-footer__bottom img {
        width: 220px;
    }

    .social_links ul {
        justify-content: center;
        gap: 20px;
        padding: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-col p,
    .footer-menu a {
        font-size: 14px;
    }

    .custom-footer__bottom img {
        width: 180px;
    }
}




.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-count:empty {
    display: none;
}



/* Title + Size Guide alignment */
.summary .product_title {
    display: inline-block;
    margin-right: 10px;
}

.product-title-wrap {
    display: inline-block;
    vertical-align: middle;
}

.size-guide-link {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
}

/* Popup */
.size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.size-guide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.size-guide-content {
    position: relative;
    max-width: 520px;
    width: 90%;
    background: #fff;
    margin: 6% auto;
    padding: 20px;
    border-radius: 8px;
}

.size-guide-content img {
    width: 100%;
    height: auto;
}

.size-guide-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}
