/* ===================================
    CUSTOM FIXES FOR VIBEMALL
    =================================== */

/* 1. CUSTOM COLUMN FOR 5 PRODUCTS PER ROW */

/* 2. WISHLIST HEART - FILLED STATE */
.wishlist-filled {
    color: #ff0000 !important;
}

.wishlist-filled i {
    font-weight: 900 !important;
    color: #ff0000 !important;
}

/* 4. PRODUCT CARD IMPROVEMENTS */
.product__item {
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Shop page action buttons: force perfect circle */
.action-btn.cart-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

.product__item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Ensure proper product thumb display */
.product__thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.product__content {
    background: transparent;
    padding: 0 10px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Match Top Featured small card size for Top Deals / Top Selling / Recommended */

/* Product content spacing */
.product__content h6 {
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}

.product__content .rating {
    margin-bottom: 5px !important;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
}

.product__content .rating ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product__content .rating span {
    font-size: 12px;
    color: #666;
}

.product__content .price {
    margin-bottom: 0 !important;
    font-size: 16px;
    font-weight: 600;
    min-height: 24px;
}

.product__content .price del {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

/* Progress bar spacing - minimal margins */
.product__content .progress {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    height: 6px;
}

.product__content .progress-rate {
    margin-top: 9px;
    margin-bottom: 12px;
    font-size: 12px;
}

/* Button container spacing - small gap to prevent overlap */
.product__add-cart {
    margin-top: 16px !important;
    padding: 0 10px;
    margin-top: auto !important;
}

/* Shop card body alignment */
.product-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-body .mt-3:last-child {
    margin-top: auto !important;
}

/* Remove bottom padding from product content */
.product__content {
    background: transparent;
    padding: 0 10px;
    padding-bottom: 0 !important;
}

/* Ensure no extra spacing in product item */
.product__item {
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* 5. SWIPER NAVIGATION BUTTONS */
.bs-button {
    z-index: 10;
}

/* Prevent section overlap */
.topsell__area,
.topsell__area-1,
.topsell__area-2,
.banner__area,
section {
    position: relative;
    z-index: 1;
    isolation: isolate;
    clear: both;
}

/* Ensure swiper containers have proper stacking */
.swiper-container {
    position: relative;
    z-index: 1;
}

/* Section spacing consistency */
.pt-15 {
    padding-top: 15px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

/* Section titles alignment */
.section__head {
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section__title h5 {
    margin-bottom: 0;
    line-height: 1.2;
}

/* Offer time alignment */
.offer-time {
    display: flex;
    align-items: center;
    gap: 15px;
}

.countdown-inner {
    background: #fcbe00;
    padding: 8px 15px;
    border-radius: 5px;
}

.countdown-inner ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.countdown-inner ul li {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* Banner area fixes */
.banner__item {
    margin-bottom: 20px;
}

.banner__content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/* Product slider fixes */
.product-bs-slider {
    position: relative;
}

.bs-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-button:hover {
    background: #fcbe00;
    border-color: #fcbe00;
    color: #111827;
}

.bs-button-prev {
    left: -20px;
}

.bs-button-next {
    right: -20px;
}

/* 6. RESPONSIVE FIXES */

/* 5 COLUMN GRID FOR PRODUCT SECTIONS */

/* 7. GLOBAL RESPONSIVE UTILITIES */
img {
    max-width: 100%;
    height: auto;
}

/* Product card image frame alignment */
.product__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product__thumb {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
}

.product__thumb .product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__thumb .product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.product__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product__content h6 {
    min-height: 44px;
}

.product__content .rating {
    min-height: 20px;
}

.product__content .price {
    min-height: 22px;
}

.product__add-cart {
    margin-top: auto;
}

.table-responsive,
.table-content {
    overflow-x: auto;
}

