/* Importing Fonts as seen in Figma */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@500&display=swap');

:root {
    --springwala-red: #BE2229;
    --springwala-purple: #7A3185;
}

/* Custom transitions for the mobile menu */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    pointer-events: auto;
}

#mobile-menu.hidden-menu {
    transform: translateX(-100%);
}

#mobile-menu.show-menu {
    transform: translateX(0);
}

/* Scroll lock when menu is open */
.overflow-hidden {
    overflow: hidden;
}

/* Sticky Header Mobile Transitions */
#mobile-sub-header {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 80px;
    opacity: 1;
    overflow: hidden;
}

#mobile-sub-header.hide-sub {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}


/* --- Global Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    /* Just for demo visibility */
}



/* --- Global Settings --- */
.springwala-hero {
    width: 100%;
    background-color: #f8f8f8;
    padding: 20px 0;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    gap: 24px;
    height: 328px;
    /* Desktop Fixed Height */
}

/* --- Common Image Styles --- */
.hero-box img,
.mobile-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    /* Rounded Corners */
    transition: transform 0.3s ease;
}

/* =========================================
   DESKTOP STYLING
   ========================================= */
.hero-box {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.main-banner {
    flex: 2;
    /* 66% Width */
    height: 100%;
}

.hero-right-col {
    flex: 1;
    /* 33% Width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.small-banner {
    height: 155px;
    width: 100%;
}

/* Initially hide Mobile Wrapper on Desktop */
.hero-mobile-wrapper {
    display: none;
}

/* --- Banner Slot System --- */
.banner-slot {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f0f0f0; /* Fallback background */
}

.banner-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Specific Section Ratios */
.promo-slot {
    aspect-ratio: 600 / 220;
}

.features-slot {
    aspect-ratio: 400 / 120;
}

.advertisement-slot {
    aspect-ratio: 600 / 180;
}

.informational-slot {
    aspect-ratio: 1200 / 180;
}

@media (max-width: 768px) {
    .promo-slot {
        aspect-ratio: 1 / 0.4;
    }
    .features-slot {
        aspect-ratio: 1 / 0.3;
    }
    .advertisement-slot {
        aspect-ratio: 1 / 0.35;
    }
    .informational-slot {
        aspect-ratio: 1 / 0.4;
    }
}


/* =========================================
   MOBILE RESPONSIVE (Max-width 768px)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Desktop Wrapper ko chhupa do */
    .hero-desktop-wrapper {
        display: none !important;
    }

    /* 2. Mobile Wrapper ko dikhao */
    .hero-mobile-wrapper {
        display: flex !important;
        /* Visible */
        justify-content: center;
        width: 100%;
        padding: 0 16px;
    }

    /* 3. Mobile Image Styling (Square Frame) */
    .mobile-banner-box {
        width: 100%;
        max-width: 396px;
        /* Figma width limit */
        aspect-ratio: 1 / 1;
        /* Square Shape Force karega */
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}



/* --- Engineered Categories Section --- */
.eng-categories-section {
    width: 100%;
    padding: 40px 0;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.ec-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

/* --- Header Styling --- */
.ec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ec-title {
    font-weight: 600;
    font-size: 24px;
    color: #383737;
    line-height: 1.2;
}

.ec-view-all {
    font-weight: 500;
    font-size: 16px;
    color: #484848;
    text-decoration: none;
    transition: color 0.3s;
}

.ec-view-all:hover {
    color: #C21F24;
    /* Springwala Red */
}

/* --- Content Wrapper (Flex for Desktop) --- */
.ec-content-wrapper {
    display: flex;
    gap: 20px;
}

/* --- Left Poster (Desktop) --- */
.ec-poster {
    flex: 0 0 302px;
    /* Fixed width based on Figma */
    height: 344px;
    /* Based on Figma */
    border-radius: 8px;
    overflow: hidden;
}

.ec-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Right Grid --- */
.ec-grid {
    flex: 1;
    /* Bachi hui jagah lega */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns Desktop */
    grid-template-rows: repeat(2, 1fr);
    /* 2 Rows */
    gap: 15px;
}

/* --- Product Card --- */
.ec-card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: 165px;
    /* Approx half of poster height */
}

.ec-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-img-box {
    width: 100px;
    height: 80px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ec-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #333;
}

/* --- Footer / Pagination --- */
.ec-footer {
    display: flex;
    justify-content: space-between;
    /* Spreads content */
    align-items: center;
    margin-top: 20px;
    padding-left: 322px;
    /* Aligns pagination with grid start on Desktop */
}

.ec-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ec-page-btn {
    background: #fff;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-page-info {
    font-size: 14px;
    color: #666;
}

/* Link Visibility Toggles */
.mobile-link {
    display: none;
}

.desktop-link {
    display: block;
}

/* =========================================
   MOBILE RESPONSIVE (Max-width 768px)
   ========================================= */
@media (max-width: 768px) {

    .ec-container {
        padding: 0 16px;
    }

    .ec-header {
        margin-bottom: 15px;
    }

    .ec-title {
        font-size: 18px;
        /* Chota font for mobile */
        width: 100%;
    }

    /* 1. HIDE Desktop Poster */
    .ec-poster {
        display: none;
    }

    /* 2. Grid Layout Change (2 Columns) */
    .ec-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Cols */
        grid-template-rows: auto;
        width: 100%;
    }

    .ec-card {
        height: auto;
        /* Allow auto height */
        padding: 20px 10px;
    }

    /* 3. Footer Adjustments */
    .ec-footer {
        padding-left: 0;
        /* Remove desktop indent */
        justify-content: space-between;
        margin-top: 25px;
        width: 100%;
    }

    /* 4. Link Toggles */
    .desktop-link {
        display: none;
    }

    .mobile-link {
        display: block;
        font-size: 14px;
    }

    .ec-page-info {
        font-size: 13px;
    }
}

/* --- Featured Offers Section --- */
.featured-offers-section {
    width: 100%;
    padding: 30px 0;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.fo-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* --- Header Styles --- */
.fo-header-wrapper {
    margin-bottom: 20px;
}

.fo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.fo-title {
    font-weight: 600;
    font-size: 20px;
    color: #1E1E1E;
}

.fo-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.fo-arrow {
    background: #fff;
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Grey Divider Line */
.fo-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.15);
}

/* --- Products Grid (The Magic Part) --- */
.fo-grid {
    display: grid;
    /* Desktop: 6 items in a row (based on Figma image) */
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* --- Product Card Styles --- */
.fo-card {
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
}

.fo-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Green Badge */
.fo-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background-color: #2E7D32;
    /* Green */
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

/* Image Area */
.fo-image-box {
    width: 100%;
    height: 140px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
}

.fo-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Wishlist Heart */
.fo-wishlist {
    position: absolute;
    bottom: 0;
    right: 0;
    background: none;
    border: none;
    color: #C21F24;
    /* Red Outline */
    font-size: 18px;
    cursor: pointer;
}

/* Product Details */
.fo-prod-name {
    font-family: 'Roboto', sans-serif;
    /* Using Roboto for body text */
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
    /* Height for 2 lines */
}

/* Pricing */
.fo-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fo-price {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.fo-old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
}

/* Add to Cart Button */
.fo-cart-btn {
    width: 100%;
    background-color: #C21F24;
    /* Springwala Red */
    color: white;
    border: none;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.disabled-btn {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed !important;
}

.fo-cart-btn:hover {
    background-color: #a0181c;
}

/* =========================================
   MOBILE RESPONSIVE (Max-width 768px)
   ========================================= */
@media (max-width: 768px) {

    .fo-container {
        padding: 0 16px;
    }

    /* Adjust Header */
    .fo-header {
        margin-bottom: 5px;
    }

    .fo-title {
        font-size: 18px;
    }

    /* Change Grid to 2 Columns */
    .fo-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row */
        gap: 10px;
    }

    /* Adjust Card spacing for mobile */
    .fo-card {
        padding: 8px;
    }

    .fo-image-box {
        height: 120px;
        /* Slightly smaller image area */
    }

    .fo-prod-name {
        font-size: 12px;
    }

    .fo-price {
        font-size: 14px;
    }

    .fo-cart-btn {
        font-size: 12px;
        padding: 6px 0;
    }
}












/* --- Knowledge Section Styles --- */
.knowledge-section {
    width: 100%;
    padding: 40px 0;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.ks-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

/* --- Header --- */
.ks-header {
    display: flex;
    justify-content: center;
    /* Center Title */
    align-items: center;
    position: relative;
    margin-bottom: 15px;
    height: 40px;
}

.ks-title {
    font-weight: 600;
    font-size: 27px;
    /* Figma Value */
    color: #1E1E1E;
    text-align: center;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 2px solid #1E1E1E;
    /* Small underline for title like image */
    display: inline-block;
}

/* Desktop Link Absolute Right */
.ks-view-all {
    position: absolute;
    right: 0;
    top: 5px;
    font-weight: 500;
    font-size: 16px;
    color: #484848;
    text-decoration: none;
    transition: color 0.3s;
}

.ks-view-all:hover {
    color: #C21F24;
}

/* --- Dividers --- */
.ks-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.14);
    /* Figma Color */
    margin: 20px 0;
}

/* --- Grid System --- */
.ks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns Desktop */
    gap: 20px;
    margin-bottom: 10px;
}

/* --- Card Styling --- */
.ks-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ks-img-box {
    width: 100%;
    height: 180px;
    /* Fixed Height */
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.ks-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ks-card:hover .ks-img-box img {
    transform: scale(1.05);
}

.ks-post-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.ks-post-desc {
    font-family: 'Roboto', sans-serif;
    /* Body font */
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ks-date {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #000;
    text-align: right;
    /* Right aligned date */
    margin-top: auto;
    /* Pushes date to bottom */
    font-weight: 500;
}

/* --- Footer Area --- */
.ks-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* Desktop Pagination */
.ks-pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
}

.ks-page-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

/* --- Mobile Specific Button (Figma Style) --- */
.ks-mobile-btn {
    display: none;
    /* Hidden on Desktop */
    background: #CFCFCF;
    /* Figma Color */
    border-radius: 5px;
    color: #000;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    width: 152px;
    /* Figma Width */
    text-align: center;
    transition: background 0.3s;
}

.ks-mobile-btn:hover {
    background: #b0b0b0;
}

/* =========================================
   MOBILE RESPONSIVE (Max-width 768px)
   ========================================= */
@media (max-width: 768px) {

    .ks-container {
        padding: 0 16px;
    }

    .ks-header {
        justify-content: center;
        margin-bottom: 10px;
    }

    .ks-title {
        font-size: 22px;
        /* Slightly smaller for mobile */
        border-bottom: none;
        /* Remove underline styling on mobile if simpler look needed */
    }

    /* Hide Desktop Elements */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Grid becomes Stack (1 Column) */
    .ks-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        /* More gap between posts on mobile */
    }

    .ks-img-box {
        height: 200px;
        /* Taller images on mobile */
    }

    /* Button Centering */
    .ks-footer {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
    }
}





/* --- Footer Variables & Basics --- */
.springwala-footer {
    background-color: #FFFFFF;
    color: #2B2B2B;
    padding-top: 40px;
    padding-bottom: 20px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: #C21F24;
    /* Springwala Red Hover */
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.divider-line {
    height: 1px;
    background-color: #525252;
    opacity: 0.3;
    width: 100%;
    margin: 20px 0;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* =========================================
   MOBILE LAYOUT (Default)
   ========================================= */

/* Top Section Layout */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Logo Area */
.footer-logo img {
    max-width: 250px;
    height: auto;
    margin-bottom: 10px;
}

/* Contact Info */
.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Links Wrapper (Mobile Grid) */
.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns for links on mobile */
    gap: 20px;
    width: 100%;
    margin: 30px 0;
    text-align: left;
    padding: 0 10px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-group a {
    font-size: 15px;
    color: #444;
}

/* Newsletter Section */
.newsletter-col {
    width: 100%;
    max-width: 400px;
}

.newsletter-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}

.newsletter-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-family: 'Roboto', sans-serif;
    outline: none;
}

.newsletter-form button {
    background-color: #C21F24;
    /* Red Button */
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icons a {
    font-size: 20px;
    color: #555;
}

/* Bottom Section (Legal + Copyright) */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.copyright {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000;
}

/* =========================================
   DESKTOP LAYOUT (Media Query)
   ========================================= */
@media (min-width: 1024px) {

    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        /* Align top */
        text-align: left;
        padding-bottom: 40px;
    }

    /* Brand Column (Left) */
    .brand-col {
        width: 25%;
        padding-right: 20px;
    }

    .contact-divider {
        width: 60px;
        /* Small line under contact info */
        border-bottom: 1px solid #525252;
        margin-top: 20px;
    }

    /* Links Columns (Middle) */
    .footer-links-wrapper {
        display: flex;
        justify-content: space-between;
        width: 45%;
        margin: 0;
        padding: 0;
        grid-gap: 0;
        /* Override mobile grid gap */
    }

    .link-group a {
        font-size: 16px;
        margin-bottom: 0;
    }

    /* Newsletter Column (Right) */
    .newsletter-col {
        width: 25%;
        text-align: left;
        max-width: none;
    }

    .social-icons {
        justify-content: flex-start;
        /* Align left */
        margin-top: 15px;
    }

    /* Bottom Section */
    .desktop-divider {
        width: 100%;
        height: 1px;
        background-color: #e0e0e0;
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        /* Keep copyright centered */
    }

    .legal-links {
        justify-content: center;
        width: 100%;
        gap: 30px;
        font-size: 14px;
    }
}

/* Add padding to footer on mobile to prevent navbar overlap */
@media (max-width: 899px) {
    .footer-bottom {
        padding-bottom: 80px;
    }
}


/* Mobile Navigation Bar */
.mobile-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px -4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
    border-top: 1px solid #EEEEEE;
}

/* Hide on Desktop */
@media (min-width: 900px) {
    .mobile-navbar {
        display: none !important;
    }
}

.mobile-navbar .nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.mobile-navbar .nav-item img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.mobile-navbar .nav-item.active {
    transform: translateY(-4px);
}

.mobile-navbar .nav-item.active img {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(21%) sepia(91%) saturate(2971%) hue-rotate(346deg) brightness(89%) contrast(98%);
}

.mobile-navbar .active-indicator {
    position: absolute;
    bottom: 6px;
    width: 6px;
    height: 6px;
    background-color: #BE2229;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-navbar .nav-item.active .active-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Wishlist Active State (for product cards) */
.fo-wishlist.active, 
.product-wishlist-btn.active {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.fo-wishlist.active img, 
.product-wishlist-btn.active img {
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.3));
}

.wishlist-icon {
    transition: all 0.2s ease;
}
/* =========================================
   PRODUCT PAGE RESPONSIVENESS
   ========================================= */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr; /* Stack on Tablets/Mobiles */
    }

    .md\:flex-col {
        flex-direction: column !important;
    }

    .md\:w-\[915px\], .md\:w-\[435px\], .md\:w-\[461px\], .md\:w-\[340px\] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .md\:gap-5 {
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .batch-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .action-buttons button {
        width: 100% !important;
        height: 48px !important;
        font-size: 16px !important;
    }

    /* Mobile Sticky Order Summary */
    .mobile-sticky-summary {
        position: fixed;
        bottom: 65px; /* Above mobile navbar */
        left: 0;
        width: 100%;
        background: white;
        padding: 12px 16px;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
        z-index: 90;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #eee;
    }
}

/* Fix for horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
/* Dropdown menu animation for desktop nav */
.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}






/* =========================================
   FOOTER SOCIAL ICONS – Premium Hover Contrast
   ========================================= */

/* Base: Enlarge the target social icon bounding circles */
footer a[href="javascript:void(0);"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background-color: #f3f4f6 !important;
    border-radius: 9999px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Base: Make the internal icons larger and cleaner */
footer a[href="javascript:void(0);"] i,
footer a[href="javascript:void(0);"] svg {
    font-size: 18px !important;
    color: #4b5563 !important;
    transition: color 0.2s ease !important;
}

/* Hover state action transformations */
footer a[href="javascript:void(0);"]:hover {
    background-color: #BE2229 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(190, 34, 41, 0.3) !important;
    color: #ffffff !important;
}

/* CRITICAL CONTRAST LOCK: Force the inner icons to turn pure white on hover */
footer a[href="javascript:void(0);"]:hover i,
footer a[href="javascript:void(0);"]:hover svg,
footer a[href="javascript:void(0);"]:hover path {
    color: #ffffff !important;
    fill: #ffffff !important;
}


