

.toolbar-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-nav-swiper {
    padding: 10px 0px 25px !important;
}

.category-slider-wrap {
    padding: 0 40px;
}

.category-slider-wrap .swiper-button-next,
.category-slider-wrap .swiper-button-prev {
    top: 40%;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-top: -16px; /* center vertically */
}

.category-slider-wrap .swiper-button-next {
    right: 0;
}

.category-slider-wrap .swiper-button-prev {
    left: 0;
}

.category-slider-wrap .swiper-button-next:after,
.category-slider-wrap .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
    color: #CC3632;
}

.light-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-nav-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

.category-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.category-nav::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

.category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    min-width: 90px;
    transition: all 0.3s ease-in-out;
    /* Smooth transition */
}

.category-pill:hover {
    color: var(--color-theme, #d13239);
    transform: translateY(-5px);
}

.category-pill.active .category-img-wrap {
    border: 2px solid var(--color-theme, #d13239);
}

.category-pill.active span {
    color: var(--color-theme, #d13239);
}

.category-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.category-pill span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.products-container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}


.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.babicha-product-card {
    /* 5 items per row, 4 gaps of 15px = 60px total gap space */
    width: calc((100% - 60px) / 5);
}

.babicha-product-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    border: none;
    height: 100%;
    position: relative;
}

.babicha-product-card:hover {
    transform: translateY(-4px);
}

.badge-marker {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 5px;
    border-radius: 8px;
}

.product-image-box {
    height: 200px;
    background-color: #fff0db; /* default fallback, you can add dynamic colors */
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.babicha-product-card:hover .product-image-box img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px 5px 10px 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-theme, #d13239);
}


/* Pure PHP/CSS Accordion for Variants & Addons */
.customization-wrap {
    margin-top: 15px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 15px;
}

details.custom-details {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 10px;
}

details.custom-details summary {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #444;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.custom-details summary::-webkit-details-marker {
    display: none;
}

details.custom-details summary::after {
    content: '+';
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 400;
}

details.custom-details[open] summary::after {
    content: '-';
}

.details-content {
    padding: 0 15px 15px 15px;
}

.variant-item,
.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.variant-item:last-child,
.addon-item:last-child {
    border-bottom: none;
}

.variant-name {
    color: #333;
    font-weight: 500;
}

.add-btn:hover {
    background-color: #aa2b28;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-weight: 700;
    color: #333;
}

.btn-add-plus {
    position: absolute;
    bottom: -15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-theme, #d13239);
    cursor: pointer;
    z-index: 2;
}

.btn-add-plus:hover {
    background: var(--color-theme, #d13239);
    color: #fff;
    transform: scale(1.05);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Veg / Non-Veg Marks */
.product-marker {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.product-marker.veg {
    border: 1px solid #0f8a65;
}

.product-marker.veg .dot {
    width: 6px;
    height: 6px;
    background-color: #0f8a65;
    border-radius: 50%;
}

.product-marker.non-veg {
    border: 1px solid #e23744;
}

.product-marker.non-veg .triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #e23744;
}

/* Hover Actions */
.product-actions {
    position: absolute;
    bottom: -15px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
    z-index: 2;
}

.ux-search {
    border:1px solid #c2c2c2;
    padding: 2px 10px;
    transition: all 0.3s ease;
    background: #fff;
    max-width: 300px;
    border-radius: 30px;
}
.shadow-1 {
    box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.07), 0 2px 2px 0 rgba(0, 0, 0, 0.04);
}
.shadow-2 {
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.07), 0 6px 18px -1px rgba(0, 0, 0, 0.04);
}
.search-icon {
    color: #aaa;
}

.ux-pageinfo{
    color:#515151;
    font-weight: 500;
}

.ux-search:focus-within {
    box-shadow: 0 0 0 3px rgba(209, 50, 57, 0.15);
    border-color: var(--color-theme, #d13239) !important;
    background: #fff !important;
}

.ux-search input {
    padding: 8px 5px;
}

#pagination-toolbar-wrapper .btn-navhandler {
    border-radius: 50% !important;
    padding: 0 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #cc3632 !important;
    border-color: #cc3632 !important;
    width: 40px !important;
    height: 40px !important;
    color: #ffffff !important;
}
#pagination-toolbar-wrapper .btn-navhandler i {
    color: #ffffff !important;
}

.dropdownfilterbutton{
    background: #d13239;
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
    border-radius: 30px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    justify-content: space-between;
}

/* Additional Dietary Marks */
.product-marker.egg {
    border: 1px solid #f5a623;
}

.product-marker.egg .dot {
    width: 6px;
    height: 6px;
    background-color: #f5a623;
    border-radius: 50%;
}

.product-marker.other {
    border: 1px solid #aaa;
}