﻿.header .header-search-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    font-size: 1.2rem;
    width: 51.7rem;
    height: 4.4rem;
    border: 1px solid #e9e9e9;
    overflow: hidden;
    border-radius: 20px;
}

    .header .header-search-btn .header-input,
    .header .header-search-btn .search-btn {
        height: 100%;
        padding: 0 2rem;
        color: #232532;
        font-weight: 500;
        border: none;
        outline: none;
        width: 100%;
    }

        .header .header-search-btn .header-input::placeholder,
        .header .header-search-btn .search-btn::placeholder {
            color: #797979;
        }

    .header .header-search-btn .search-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0px;
        width: 100%;
        color: #797979;
    }

    .header .header-search-btn .shop-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0px;
        height: 100%;
        border-radius: 0;
        background: #D11C76;
        padding: 1rem 2.2rem;
    }

        .header .header-search-btn .shop-btn::after {
            display: none;
        }

        .header .header-search-btn .shop-btn:hover {
            color: #232532;
        }

    .header .header-search-btn .divider {
        width: 1px;
        background: #eee;
        height: 2.5rem;
    }

    .header .header-search-btn #allcat {
        flex: 1 1 0%;
    }

.product-code-top {
    background-color: #d11c76;
    font-size: 14px;
    position: absolute;
    left: 5%;
    top: 5%;
    border-radius: 5px;
    padding: 1px 5px;
    font-weight: bold;
    color: white;
}

.item-Status {
    font-weight: bold;
    font-size: 14px;
    color: firebrick;
}
/*......................................................................................*/

.variant-li {
    display: inline-block;
    margin: 5px;
    border: 1px solid #ffa1d0 !important;
    background: #f8fbff;
    padding: 1px;
}

.modal-variant-li {
    display: inline-block;
    margin: 5px;
    border: 1px solid #ffa1d0 !important;
    background: #f8fbff;
    padding: 1px;
}

.active-variant-li {
    border: 2px solid var(--pink-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    background: var(--pink-dark);
    font-weight: 600;
    color: white;
    padding: 2px;
}
.active-variant-li a {
    color: white;
}

.variant-title {
    color: #D11C76;
}



#btnAddToCart:disabled, #checkOutBtn:disabled, #btnCheckout:disabled {
    background-color: #cccccc;
}

.error {
    color: red !important;
}


.cart-noti {
    position: absolute;
    top: -10px;
    background-color: #D11C76;
    color: #fff;
    border-radius: 50px;
    height: 20px;
    text-align: center;
    width: 20px;
    left:22px;
}

.btn-act {
    border: 1px solid #ffa1d0;
    padding: 5px;
    background-color: #D11C76;
    color:#fff;
    border-radius: 5px;
}


.policy-details{
    font-size:1.5rem;
}


.dress-bg {
    background: url("../images/banner/dress.webp") no-repeat center/cover;
    height: 44rem;
    border-radius: 0.5rem;
    padding: 6.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
}

.shoe-bg {
    background: url("../images/banner/shoe.webp") no-repeat center/cover;
    height: 44rem;
    border-radius: 0.5rem;
    padding: 6.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
}
.bag-bg {
    background: url("../images/banner/bag.webp") no-repeat center/cover;
    height: 44rem;
    border-radius: 0.5rem;
    padding: 6.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.fixed-header.visible {
    transform: translateY(0);
}


/* Main dropdown container */
.category-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #e5e5e5;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 250px;
    z-index: 1000;
    display: none;
    overflow: visible;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.category-list-item {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.category-list-item > a.parent-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    transition: background-color 0.2s;
    position: relative;
    z-index: 1;
}

.dropdown-list-item {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.dropdown-img img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.25s ease;
    font-size: 18px;
    line-height: 1;
}

.category-list-item:hover .dropdown-arrow {
    transform: rotate(90deg);
}

.category-list-item:hover > a > .dropdown-item,
.category-list-item:hover > a > .dropdown-item .dropdown-text {
    color: white;
}

/* Submenu styles */
.submenu-container {
    position: absolute;
    top: -10px;
    left: 100%;
    display: none;
    min-width: 250px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 10px 0;
    z-index: 1001;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

.submenu-right {
    left: 100%;
}

.submenu-left {
    right: 100%;
    left: auto;
}

.category-list-item:hover > .submenu-container,
.sub-category-list-item:hover > .submenu-container {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* Submenu list */
.sub-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}

.sub-category-list-item {
    position: relative;
    padding: 0.8rem 0;
    white-space: nowrap;
}

.sub-category-list-item > a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 15px;
    transition: background-color 0.2s;
}

.sub-category-list-item:hover {
    background-color: #D11C76;
}

.sub-category-list-item:hover > a .dropdown-text {
    color: white;
}

/* Prevent parent menu from closing when hovering over submenu */
.category-list-item:hover::after,
.sub-category-list-item:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.chat-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

    .chat-floating a {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 26px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        text-decoration: none;
    }

.whatsapp-btn {
    background: #25D366;
}

.messenger-btn {
    background: #0084FF;
}



.shop-btn-whatsapp {
    padding: 1.2rem 3.4rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: 3rem;
    display: inline-block;
    background: #25D366;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

    .shop-btn-whatsapp::after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #232532;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
        top: 0;
        z-index: -3;
    }

    .shop-btn-whatsapp:hover {
        color: #FFFFFF;
        background-color: #25D366;
    }

        .shop-btn-whatsapp:hover::after {
            right: auto;
            left: 0;
            width: 100%;
        }




.shop-btn-messenger {
    padding: 1.2rem 3.4rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: 3rem;
    display: inline-block;
    background: #00C6FF;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

    .shop-btn-messenger::after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #232532;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
        top: 0;
        z-index: -3;
    }

    .shop-btn-messenger:hover {
        color: #FFFFFF;
        background-color: #00C6FF;
    }

        .shop-btn-messenger:hover::after {
            right: auto;
            left: 0;
            width: 100%;
        }


.shop-btn-order-now {
    padding: 1.2rem 3.4rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: 3rem;
    display: inline-block;
    background: #dee024;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

    .shop-btn-order-now::after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #232532;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
        top: 0;
        z-index: -3;
    }

    .shop-btn-order-now:hover {
        color: #FFFFFF;
        background-color: #dee024;
    }

        .shop-btn-order-now:hover::after {
            right: auto;
            left: 0;
            width: 100%;
        }


.shop-btn-add {
    padding: 1.2rem 3.4rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: 3rem;
    display: inline-block;
    background: #D11C76;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

    .shop-btn-add::after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #232532;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
        top: 0;
        z-index: -3;
    }

    .shop-btn-add:hover {
        color: #FFFFFF;
        background-color: #D11C76;
    }

        .shop-btn-add:hover::after {
            right: auto;
            left: 0;
            width: 100%;
        }