    /* ####################################################
    :: Template Name: Essence - Fashion Ecommerce Template
    :: Author: Colorlib
    :: Author URL: https://colorlib.com
    :: Description: Essence is smart & elegant fashion e-commerce Template. It's suitable for all e-commerce business platform.
    :: Version: 1.0.0
    :: Created: April 27, 2018
    :: Last Updated: May 2, 2018
    #################################################### */

    /* ---------------------------------------
    ##### - PLACE YOUR CUSTOM CSS HERE - #####
    --------------------------------------- */

.product-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.product-slider {
    display: flex;
    width: max-content;
    animation: scrollProducts 18s linear infinite;
}

.product-slider:hover {
    animation-play-state: paused;
}

.product-item {
    flex: 0 0 auto;
    width: 240px;
    margin-right: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    transition: 0.3s;
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.product-info {
    padding: 12px;
    text-align: center;
}

.product-info h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info p {
    margin: 5px 0 0;
    color: #fbb710;   /* amado theme color */
    font-weight: bold;
}

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

@keyframes scrollProducts {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tablet */
@media (max-width: 768px) and (min-width: 481px) {
    .product-item {
        width: 180px;
        margin-right: 15px;
    }

    .product-item img {
        height: 160px;
    }

    .product-info h6 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-info p {
        font-size: 13px;
    }

    /* stop animation and allow swipe */
    .product-slider {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
/* Small mobile */
@media (max-width: 480px) {

    /* stop horizontal slider */
    .product-slider {
        animation: none !important;

        /* convert slider into grid */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;

        width: 100%;
    }

    .product-slider-wrapper {
        overflow: visible;
    }

    .product-item {
        width: 100%;          /* fill grid column */
        margin-right: 0;
    }

    .product-item img {
        height: 130px;
    }

    .product-info {
        padding: 8px;
    }

    .product-info h6 {
        font-size: 12px;

        /* allow max 2 lines */
        white-space: normal;
        line-height: 1.3;
        height: 32px;
        overflow: hidden;
    }

    .product-info p {
        font-size: 12px;
        margin-top: 4px;
    }

    /* hover effect unnecessary on mobile */
    .product-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #222;
    color: #fff;
    padding: 12px 14px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
}

.floating-cart img {
    width: 22px;
}

.cart-badge {
    background: red;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Sidebar */
.cart-sidebar {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: 0.3s;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

#closeCart {
    cursor: pointer;
    font-size: 22px;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9998;
}

.cart-overlay.active {
    display: block;
}

.search-dropdown {
    position: absolute;
    background: #fff;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    z-index: 9999;
    display: none;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.search-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
}