/* Section Styling */
.modern-home-tabs {
    background-color: #fcfcfc;
}

/* Tab Styling - Desktop */
.custom-modern-tabs {
    background: #eee;
    padding: 5px;
    border-radius: 50px;
    display: inline-flex;
}
.custom-modern-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 25px;
    color: #555;
    font-weight: 600;
    transition: 0.4s;
    border: none;
}
.custom-modern-tabs .nav-link.active {
    background: #0d2e51 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(13, 46, 81, 0.2);
}

/* Tab Styling - Mobile Scrollable */
.custom-modern-tabs-mobile {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.custom-modern-tabs-mobile::-webkit-scrollbar { display: none; }
.custom-modern-tabs-mobile .nav-link {
    white-space: nowrap;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 8px 20px;
    color: #444;
    font-size: 14px;
}
.custom-modern-tabs-mobile .nav-link.active {
    background: #0d2e51;
    color: #fff;
    border-color: #0d2e51;
}

/* Product Card - Modern Look */
.modern-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease-in-out;
}
.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* Image Box */
.card-img-box {
    background: #f9f9f9;
    padding: 15px;
    position: relative;
}
.card-img-box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Discount Badge */
.modern-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 8px;
    z-index: 5;
}

/* Stock Badge */
.stock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Text Info */
.product-title a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: 0.3s;
}
.product-title a:hover { color: #0d2e51; }

.new-price { font-size: 18px; font-weight: 800; color: #0d2e51; }
.old-price { font-size: 13px; color: #999; margin-left: 5px; }

/* Modern Button */
.buy-now-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0d2e51;
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 0 0 16px 16px; /* কার্ডের কোণার সাথে মিল রেখে */
    transition: 0.3s;
}
.buy-now-btn:hover {
    background: #cf0000;
    color: #fff;
}

/* Explore More Button */
.explore-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #0d2e51;
    color: #0d2e51;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}
.explore-btn:hover {
    background: #0d2e51;
    color: #fff;
}

@media (max-width: 576px) {
    .new-price { font-size: 15px; }
    .product-title a { font-size: 13px; }
    .buy-now-btn { font-size: 13px; padding: 10px; }
}
