

/* ================= ROOT VARIABLES ================= */
:root {
    --primary-color: #2874f0; 
    --accent-color: #ff9f00;  
    --text-main: #212121;
    --text-muted: #878787;
    --success: #388e3c;

    --amazon-orange: #febd69;
    --deal-red: #cc0c39;
    --price-black: #0f1111;
    --mrp-grey: #565959;
    --bg-light: #eaeded;
    --success-green: #008a00;
}


/* ================= PRODUCTS GRID ================= */
/* ================= REVAMPED MODERN UI CSS ================= */
    .explore-products-wrapper {
        background: #ffffff;
        border-radius: 16px;
        padding: 20px 12px !important;
    }

    .text-dark-custom {
        color: #111111;
        font-size: 19px;
        letter-spacing: -0.3px;
    }

    .see-all-link {
        color: #2874f0;
        font-size: 13px;
        transition: color 0.2s;
    }
    .see-all-link:hover {
        color: #1a5bb8;
    }

    /* Target direct class from loop */
    .home-prod-card {
        position: relative;
        border: 1px solid #f3eee3 !important;
        background-color: #ffff !important;
        border-radius: 12px !important;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .home-prod-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(163, 137, 89, 0.12) !important;
        border-color: #ebdcb9 !important;
    }

    /* Fixed Offer Badge Context */
    .home-offer-badge {
        position: absolute !important;
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #ffffff !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid #e2d9c5;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        z-index: 10 !important;
    }

    .home-offer-badge img {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }
    .home-prod-card > a{
    display:block;
}
    .prod-img-area-custom{
    height:160px;
    overflow:hidden;
    background:transparent !important;
}

.prod-img-area-custom img{
    display:block;
    width:100% !important;
    height:160px !important;
    object-fit:contain !important;
    object-position:center;
}

    

    /* Typography & Content Layout */
    .prod-title-el {
        font-size: 12px;
        font-weight: 550;
        color: #2c2e2e;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 36px;
    }

    .rating-pill-custom {
        background: #388e3c;
        color: white;
        font-size: 10px;
        padding: 1px 5px;
        border-radius: 4px;
        font-weight: 700;
    }

    /* Pricing Section */
    .new-price-custom {
        font-size: 15px;
        color: #0f1111;
    }

    .old-price-custom {
        font-size: 12px;
        color: #757575;
    }

    /* BV and CB Badges styling */
    .prod-badges-row {
        display: flex;
        gap: 6px;
        margin-top: auto; /* Push badges to the bottom securely */
    }

    .badge-bv-custom, .badge-cb-custom {
        flex: 1;
        text-align: center;
        font-size: 10px;
        padding: 5px 2px;
        border-radius: 6px;
        font-weight: 700;
    }

    .badge-bv-custom {
        background: #fff9e6;
        color: #b8860b;
        border: 1px solid #f5ebd0;
    }

    .badge-cb-custom {
        background: #f0f7ff;
        color: #1565c0;
        border: 1px solid #dbe9f7;
    }

    /* View More Card Symmetry */
    .view-more-card-custom {
        background: linear-gradient(145deg, #ffffff, #fbfaf7);
        border: 1px solid #f3eee3 !important;
        border-radius: 12px !important;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 20px 10px;
    }

    .view-more-card-custom:hover {
        background: #ffffff;
        border-color: #2874f0 !important;
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(40, 116, 240, 0.1) !important;
    }

    .circle-icon-custom {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #f8f9fa;
        color: #2874f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        margin-bottom: 12px;
        transition: all 0.3s;
    }

    .view-more-card-custom:hover .circle-icon-custom {
        background: #2874f0;
        color: #fff;
    }

    /* Responsive Mobile Utility */
    @media (max-width: 576px) {
        .prod-img-area-custom {
            height: 130px;
            padding: 8px;
        }
        .prod-title-el {
            font-size: 12px;
            min-height: 34px;
        }
        .new-price-custom {
            font-size: 14px;
        }
    }


/* ================= ARROW BUTTON ================= */

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1e1e2f;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.arrow-btn i {
    color: #fff;
    font-size: 20px;
}

.product-card:hover .arrow-btn {
    transform: translateX(6px);
    background: #1e1e2f;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}


/* ================= VIEW MORE BUTTON ================= */

.view-more-text {
    font-size: 1rem;
    color: #1e1e2f;
}


/* ================= SKELETON LOADER ================= */

.skeleton {
    background: #f0eeee;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );

    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
 /* Professional Shimmer Configuration */
    .shimmer-wrapper .skeleton {
        background: #f6f7f8;
        background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
        background-repeat: no-repeat;
        background-size: 800px 100%;
        display: inline-block;
        position: relative;
        animation: shimmer 1.5s infinite linear;
        border-radius: 6px;
    }

    @keyframes shimmer {
        0% { background-position: -468px 0; }
        100% { background-position: 468px 0; }
    }

    .shimmer-wrapper .skeleton-card {
        background: #ffffff;
        border: 1px solid #eaeaea;
        border-radius: 12px;
        padding: 16px;
        height: 100%;
        min-height: 280px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .shimmer-wrapper .skeleton-img { 
        height: 160px; 
        width: 100%; 
        margin-bottom: 15px; 
    }
    
    .shimmer-wrapper .skeleton-line { 
        height: 12px; 
        width: 100%; 
        margin-bottom: 10px; 
    }
    
    .shimmer-wrapper .skeleton-line.short { 
        width: 50%; 
    }

 /* Light Gray Shimmer Animation */
.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    height: 320px;
}

.skeleton-img { height: 150px; width: 100%; margin-bottom: 10px; }
.skeleton-line { height: 12px; width: 100%; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }

/* ================= SECTION TITLE ================= */

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 10px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: red;
    margin: 10px auto 0;
    border-radius: 2px;
}



/* ================= CONTACT US ================= */

.Contact_us {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.Contact_us_button {
    margin-top: 20px;
    padding: 10px 30px;
    border: none;
    background-color: #02376c;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 30px;
}

.Contact_us_button:hover {
    background-color: #031e39;
    transition: 0.3s ease;
}


/* ================= MINI TAGS ================= */

.td-tag-box {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.td-mini-tag {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}




/* ==================== Search ============== */


.search-form .input-group {

    background: #f0f5ff; /* Subtle tint like Flipkart */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dbdbdb;
    transition: all 0.2s ease;
}

/* Jab search box par click ho */
.search-form .input-group:focus-within {
    background: #fff;
    border-color: #2874f0;
    box-shadow: 0 2px 10px rgba(40, 116, 240, 0.1);
}

.search-input {
    background: transparent !important;
    border: none !important;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #212121;
}

.search-input::placeholder {
    color: #878787;
    font-weight: 400;
}

.search-btn {
    background: transparent !important;
    border: none !important;
    transition: transform 0.2s;
}

.search-btn i {
    font-size: 1.1rem;
    color: #2874f0 !important; /* Brand Blue */
}

.search-btn:hover i {
    transform: scale(1.1);
}

/* Mobile responsive fixes */
@media (max-width: 576px) {
    .search-input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .search-form .input-group {
        border-radius: 4px; /* Mobile par thoda sharp corner */
    }
}



/* view more card */

/* Card Container */
.view-more-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    min-height: 250px; /* Ensures a good square/portrait feel */
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.view-more-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    border-color: #2874f0 !important;
    box-shadow: 0 12px 24px rgba(40, 116, 240, 0.15) !important;
}

/* Icon Animation */
.icon-circle {
    width: 65px;
    height: 65px;
    background: #f8f9fa;
    color: #2874f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.4s ease;
    margin-bottom: 15px;
}

.view-more-card:hover .icon-circle {
    background: #2874f0;
    color: #fff;
    box-shadow: 0 0 0 8px rgba(40, 116, 240, 0.1); /* Pulse effect */
}

/* Typography Improvements */
.view-more-body h6 {
    font-size: 1.1rem;
    color: #212529;
    transition: color 0.3s ease;
}

.view-more-body p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Interactive Link */
.view-all-btn-link {
    font-size: 0.8rem;
    font-weight: 800;
    color: #2874f0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    background: rgba(40, 116, 240, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.view-more-card:hover .view-all-btn-link {
    background: #fb641b;
    color: #fff;
    padding-right: 20px;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.view-more-card:hover .icon-circle i {
    animation: float 2s ease-in-out infinite;
}



@media (max-width: 576px) {

    .img-container {
        height: 140px;
    }

    .product-title-new {
        font-size: 0.85rem;
    }

    .new-price {
        font-size: 1rem;
    }

    .view-more-text {
        font-size: 0.8rem;
        color: #1e1e2f;
    }

    .view-more-card {
        min-height: 250px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}




/* =========================================
   5. BADGES, PRICE & CONTENT ALIGNMENT
   ========================================= */
   
.deal-badge {
    position: absolute;
    top: 10px;
    left: 0;

    background: var(--deal-red);
    color: white;

    padding: 2px 10px;
    font-size: 11px;
    font-weight: bold;

    border-radius: 0 15px 15px 0;
    z-index: 5;
}