/* =========================================================
   BBGWORLD – CUSTOM STYLE.CSS
   Extends core-style.css only
========================================================= */

/* GLOBAL */
body {
    font-family: "Poppins", sans-serif;
}

/* HEADER */
.header_area .nav-brand img {
    max-height: 45px;
}

/* SEARCH BAR */
.search-area input {
    border-radius: 20px;
}

/* CART COUNT 
.cart-area span,
.cart-button span {
    /* background-color: #000; 
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}*/

/* BREADCRUMB */
.breadcumb-apple {
    background-image: url("../img/bg-img/breadcumb.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* SHOP SIDEBAR */
.shop_sidebar_area ul {
    padding-left: 0;
}

.shop_sidebar_area ul li {
    list-style: none;
    margin-bottom: 10px;
}

.shop_sidebar_area ul li a {
    color: #000;
    font-weight: 500;
}

.shop_sidebar_area ul li a:hover {
    color: #000;
}



/* PRODUCT CARDS */
.product-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-description h6 {
    font-weight: 600;
}

.product-price {
    font-weight: 500;
}

/* BUTTON */
.btn.essence-btn {
    border-radius: 30px;
    font-weight: 500;
    padding: 10px 22px;
}

/* CART */
.cart-list {
    max-height: 400px;
    overflow-y: auto;
}

.single-cart-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}


/* SUBSCRIBE */
.subscribtion_form input {
    border-radius: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-item {
        margin-bottom: 30px;
    }

    .footer_menu {
        text-align: center;
    }
}

/* FOOTER OVERRIDES ONLY */
.footer_area {
    background-color: #111;
    padding: 80px 0 30px;
}

.footer_area a {
    color: #bbb;
}

.footer_area a:hover {
    color: #fbb710;
}

.footer_heading h6 {
    color: #fff;
}

.footer_area p {
    color: #777;
}

.footer_social_area a {
    color: #bbb;
}

.footer_social_area a:hover {
    color: #fbb710;
}

.filter-btn.active {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

/* =========================
   Leaflet Map (Contact Page)
========================= */
#map {
    width: 100%;
    height: 600px;
}


@media (max-width: 767px) {
    #map {
        height: 400px;
    }
}

/* ===== OVERLAY ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 1000;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== CART PANEL ===== */
.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: transform 0.35s ease, right 0.35s ease;
    transform: translateX(100%);
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.2);
}

/* ACTIVE STATE */
.cart-panel.open {
    right: 0;
    transform: translateX(0);
}

/* CLOSE BUTTON */
.cart-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.25s ease;
}

.cart-badge.show {
    transform: scale(1);
}

.cart-badge.bump {
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.remove-item {
    display: block;
    margin-top: 6px;
    color: red;
    cursor: pointer;
    font-size: 13px;
    background: none;
    border: none;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: blue;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-btn:hover {
    background: #222;
}

.search-results {
    position: absolute;
    background: white;
    width: 250px;
    border: 1px solid #ddd;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
}

.search-item {
    padding: 10px;
    cursor: pointer;
    background-color: white;
}

.search-item:hover {
    background: rgb(0, 221, 255);
}