/* Smart Homepage styling for OffBD */

body.home {
    background-color: #f6f8fb !important;
}
body.home .page-wrapper {
    background-color: #f6f8fb !important;
}
body.home .main {
    background-color: #f6f8fb !important;
}

/* Premium White Card Layouts */
.home-card-section {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px 40px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 767px) {
    .home-card-section {
        padding: 20px 20px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
}

/* Modernized Titles */
.home-card-section .title.title-simple {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid #f0f2f5 !important;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: capitalize;
}

.home-card-section .title.title-simple::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #3C63A4;
}

/* Clean Category Section Headers (consistent left align) */
.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 12px;
    margin-bottom: 25px;
    position: relative;
}

.category-section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #3C63A4;
}

.category-section-header .title.title-simple {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.category-section-header .title.title-simple::after {
    display: none !important;
}

/* View All Links */
.view-all-link {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #05b895 !important;
    background: rgba(5, 184, 149, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-all-link:hover {
    background: #05b895;
    color: #ffffff !important;
}

.view-all-link i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Brand / Client Logo Cards */
.brand-logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    padding: 15px;
    height: 100px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.brand-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(60, 99, 164, 0.15);
}

.brand-logo-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.brand-logo-card:hover img {
    filter: grayscale(0%);
}

/* Category Pill Cards */
.category-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(60, 99, 164, 0.15);
}

.category-card .category-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.category-card .category-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    transition: color 0.2s ease;
}

.category-card:hover .category-name {
    color: #3C63A4;
}

/* Gradients for Category Cards */
.category-icon-wrapper.grad-blue { background: linear-gradient(135deg, #3C63A4, #63b3ed); }
.category-icon-wrapper.grad-green { background: linear-gradient(135deg, #05b895, #4fd1c5); }
.category-icon-wrapper.grad-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.category-icon-wrapper.grad-orange { background: linear-gradient(135deg, #f59e0b, #fcd34d); }
.category-icon-wrapper.grad-pink { background: linear-gradient(135deg, #ec4899, #fbcfe8); }
.category-icon-wrapper.grad-teal { background: linear-gradient(135deg, #0d9488, #5eead4); }

/* Premium Homepage Product Cards */
.home-product-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.home-product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(60, 99, 164, 0.2) !important;
}

.home-product-card .product-media {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.home-product-card .product-media img {
    transition: transform 0.5s ease !important;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.home-product-card:hover .product-media img {
    transform: scale(1.06) !important;
}

.home-product-card .product-details {
    padding: 16px 14px !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.home-product-card .product-name {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    height: 38px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-product-card .product-name a {
    color: inherit;
    transition: color 0.2s ease;
}

.home-product-card .product-name a:hover {
    color: #3C63A4 !important;
}

.home-product-card .product-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}

.home-product-card .price,
.home-product-card .new-price {
    font-weight: 700 !important;
    color: #3C63A4 !important;
    font-size: 1.6rem !important;
}

.home-product-card .old-price {
    text-decoration: line-through !important;
    color: #a0aec0 !important;
    font-size: 1.2rem !important;
    margin-left: 5px;
}

/* Product Badges */
.home-product-card .product-label-group {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-product-card .product-label.label-sale {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(229, 62, 62, 0.2);
    border: none;
    letter-spacing: 0.5px;
}

/* Intro and Banner radius and shadow upgrades */
.intro-section .intro-slider, 
.intro-section .banner {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

.element-product-banner .banner-radius {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

.element-product-banner .banner1.banner {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}


