/* SECTION LAYOUT */
section {
    min-height: 100vh;
    /* padding: 80px 0; */
}

/* CATEGORY SCROLL */
.category-scroll-wrapper {
    display: flex;
    justify-content: center;
}
.category-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px;
    max-width: 100%;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.category-scroll::-webkit-scrollbar {
    height: 6px;
}
.category-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* CATEGORY BUTTON */
.category-btn {
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    color: #000;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 3px 8px rgba(13, 110, 253, 0.3);
}

/* PRODUCT SCROLL */
.product-scroll {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch;
}
.product-scroll::-webkit-scrollbar {
    width: 6px;
}
.product-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* CATEGORY HEADER */
/* .category-header {
    font-weight: 600;
    padding: 6px 10px;
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
} */

/* PRODUCT CARD (BASE) */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* LARGE SCREEN CARD SIZE */
@media (min-width: 992px) {
    .product-card {
        padding: 8px !important;
    }
    .product-card img {
        max-height: 120px;
        object-fit: contain;
        padding: 6px !important;
    }
    .product-card .card-body {
        padding: 6px;
    }
    .product-card .card-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    .product-card .card-text {
        font-size: 0.8rem;
    }
}

/* HOVER EFFECTS (DESKTOP ONLY) */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    }

    .category-btn:hover {
        background: #e9ecef;
        color: #000;
    }
    .category-btn.active:hover {
        background: #0d6efd;
        color: #fff;
    }

    .page2-category .card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
    }
    .page2-category .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    }
}
/* ===== BOTTOM BAR ===== */
/* .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    z-index: 1050;
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
} */


/* .powered-text {
    font-size: 0.85rem;
    color: #000000;
}


.cart-btn {
    position: absolute;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.cart-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.cart-btn {
    transition: transform 0.15s ease;
}

.cart-btn:active {
    transform: scale(0.9);
}


.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -40%);
    background: #ff0000;
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
} */

/* @supports (padding: env(safe-area-inset-bottom)) {
    .bottom-bar {
        padding-bottom: env(safe-area-inset-bottom);
    }
} */
/* .default-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 70%;
    padding: 10px 16px;

    background: #fff;
    color: #0d6efd;

    border: 2px solid #0d6efd;
    border-radius: 10px;

    font-weight: 600;
    font-size: 0.95rem;

    transition: all 0.2s ease;
} */

.btn-cart-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* .default-btn:hover {
    background: #0d6efd;
    color: #fff;
}

.default-btn:hover .btn-cart-icon {
    filter: brightness(0) invert(1);
}

.default-btn:active {
    transform: scale(0.97);
} */
