/* New Styling - Modern Shop Category Carousel */
/* Quality Options - Enhanced Styling */
.featured-product-options {
    margin-bottom: -4px;
}

.featured-product-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.featured-product-select:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

/* Ensure select dropdown is clickable and accessible */
.featured-product-select {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Mobile-specific select dropdown styling */
@media (max-width: 768px) {
    .featured-product-select {
        min-height: 32px !important;
        max-height: 36px !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
        border-width: 2px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(45, 170, 91, 0.2) !important;
        padding-right: 36px !important;
        background-size: 16px !important;
        line-height: 1.2 !important;
        /* Ensure mobile clickability */
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 15 !important;
    }

    .featured-product-select:active {
        background-color: #f8f9fa !important;
        transform: scale(0.98) !important;
        border-color: #1f8a4a !important;
    }

    .featured-product-select:hover {
        border-color: #2daa5b !important;
        box-shadow: 0 2px 8px rgba(45, 170, 91, 0.15) !important;
    }

    /* Mobile dropdown list styling */
    .featured-product-select:focus {
        font-size: 11px !important;
        border-color: #2daa5b !important;
        box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1) !important;
    }

    .featured-product-content {
        gap: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Force select dropdown to be clickable and visible */
.featured-product-select,
.featured-products-section .featured-product-select,
.featured-products-container .featured-product-select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    background-color: #ffffff !important;
    color: #2c3e50 !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
    height: auto !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px !important;
    padding-right: 32px !important;
    /* Ensure clickability */
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(45, 170, 91, 0.2) !important;
    transition: all 0.2s ease !important;
}

/* Remove any browser default arrows */
.featured-product-select::-ms-expand {
    display: none !important;
}

.featured-product-select::-webkit-select-placeholder {
    color: transparent !important;
}

/* Ensure dropdown is clickable and interactive */
.featured-product-select:hover {
    border-color: #2daa5b !important;
    box-shadow: 0 2px 8px rgba(45, 170, 91, 0.15) !important;
    cursor: pointer !important;
}

.featured-product-select:active {
    transform: scale(0.98) !important;
    border-color: #1f8a4a !important;
}

.featured-product-select:focus {
    outline: none !important;
    border-color: #2daa5b !important;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1) !important;
}

/* Ensure clean arrow display */
.featured-product-select option {
    background-color: #ffffff !important;
    color: #2c3e50 !important;
    padding: 8px 12px !important;
}

/* Additional clickability fixes */
.featured-product-select,
.featured-products-section .featured-product-select,
.featured-products-container .featured-product-select {
    /* Override any conflicting styles */
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 15 !important;
    /* Ensure no other elements block clicks */
    isolation: isolate !important;
    /* Prevent any transform issues */
    transform: none !important;
    /* Ensure proper stacking */
    will-change: auto !important;
}

/* Mobile-specific dropdown option styling */
@media (max-width: 768px) {
    .featured-product-select option {
        font-size: 11px !important;
        padding: 6px 10px !important;
        line-height: 1.2 !important;
        min-height: 28px !important;
        max-height: 32px !important;
    }

    /* Reduce dropdown size on mobile */
    .featured-product-select {
        font-size: 11px !important;
        padding: 6px 10px !important;
        min-height: 32px !important;
        max-height: 36px !important;
    }

    /* Ensure dropdown options are properly sized on mobile */
    .featured-product-select:focus option {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
}

/* Smaller mobile devices */
@media (max-width: 576px) {
    .featured-product-select {
        font-size: 10px !important;
        padding: 5px 8px !important;
        min-height: 30px !important;
        max-height: 34px !important;
        /* Ensure clickability */
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 15 !important;
    }

    .featured-product-select option {
        font-size: 10px !important;
        padding: 5px 8px !important;
        min-height: 26px !important;
        max-height: 30px !important;
    }
    .featured-product-content {
        gap: 0 !important;
    }
    .featured-product-options {
        margin-top: 0 !important;
    }
}

/* Very small mobile devices */
@media (max-width: 480px) {
    .featured-product-select {
        font-size: 9px !important;
        padding: 4px 6px !important;
        min-height: 28px !important;
        max-height: 32px !important;
        /* Ensure clickability */
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 15 !important;
        margin-top:15px;
    }

    .featured-product-select option {
        font-size: 9px !important;
        padding: 4px 6px !important;
        min-height: 24px !important;
        max-height: 28px !important;
    }
    .featured-product-content {
        gap: 0 !important;
    }
    .featured-product-options {
        margin-top: 0 !important;
    }
}

/* Quantity Controls and Add Button in One Row */
.featured-product-actions {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 5px 0;
    margin-top: 0;
}

.featured-product-quantity {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    width: 100%;
    flex: 1;
}

.featured-product-quantity.show {
    display: flex;
}

.featured-product-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background:#2daa5b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(45, 170, 91, 0.2);
}

.featured-product-qty-btn:hover {
    background: linear-gradient(135deg, #1f8a4a, #2daa5b);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(45, 170, 91, 0.3);
}

.featured-product-qty-btn:active {
    transform: scale(0.95);
}

.featured-product-qty-input {
    width: 60px;
    height: 32px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.featured-product-qty-input:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

.featured-product-button {
    display: block;
    padding: 8px 12px;
    background: transparent;
    color: #3BB54A;
    text-decoration: none;
    border: 2px solid #3BB54A;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: calc(100% - 20px);
    min-height: 40px;
    box-sizing: border-box;
    margin: 0 10px 5px 10px;
    overflow: visible;
}

.featured-product-button:hover {
    background: #3BB54A;
    color: #ffffff;
    border-color: #3BB54A;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 181, 74, 0.3);
}

.featured-product-button.added {
    background: #2daa5b;
    color: #ffffff;
    border-color: #2daa5b;
}

/* Category Card Styling - Matching Image Design */
.category-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    flex: 0 0 240px;
    min-height: 300px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #e9ecef;
    /* Square-ish proportions as shown in image */
    aspect-ratio: 4/5;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #2daa5b;
}

.category-card-image {
    position: relative;
    height: 65%;
    overflow: hidden;
    background: #f8f6f2;
    flex-shrink: 0;
    border-radius: 8px 8px 0 0;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    border-radius: 8px 8px 0 0;
}

.category-card:hover .category-card-image img {
    transform: scale(1.02);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.category-card:hover .category-card-overlay {
    opacity: 1;
}

.category-card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
    min-height: 35%;
}

.category-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: center;
    font-family: 'IBM Plex Sans', sans-serif;
}

.category-card-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.category-card-button {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #3BB54A, #2d8a3a);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    align-self: center;
    margin-top: 12px;
}

.category-card-button:hover {
    background: transparent;
    color: #3BB54A;
    border-color: #3BB54A;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Featured Products Section */
.featured-products-section {
    padding: 60px 0 37px 0;
    background: #f8f6f2;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Mobile Full Width - Override Bootstrap container constraints */
@media (max-width: 768px) {
    .featured-products-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .featured-products-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px !important;
        margin: 0 !important;
    }
    
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 5px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .featured-product-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .featured-products-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .featured-products-container {
        padding: 0 8px !important;
    }
    
    .featured-products-grid {
        gap: 8px !important;
        padding: 0 3px !important;
    }
}

@media (max-width: 480px) {
    .featured-products-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .featured-products-container {
        padding: 0 5px !important;
    }
    
    .featured-products-grid {
        gap: 6px !important;
        padding: 0 2px !important;
    }
}

.featured-products-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.featured-products-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.featured-products-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.featured-products-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

.featured-products-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    justify-items: center;
    position: relative;
    z-index: 1;
}

/* Zoom-specific fixes for Featured Products */
@media screen and (min-resolution: 1.1dppx) {
    .featured-products-section {
        padding: 50px 0 30px 0;
    }

    .featured-products-header {
        margin-bottom: 40px;
    }

    .featured-products-title {
        font-size: 2.3rem;
    }

    .featured-products-subtitle {
        font-size: 1rem;
    }
}

@media screen and (min-resolution: 1.2dppx) {
    .featured-products-section {
        padding: 45px 0 25px 0;
    }

    .featured-products-header {
        margin-bottom: 35px;
    }

    .featured-products-title {
        font-size: 2.1rem;
    }

    .featured-products-subtitle {
        font-size: 0.95rem;
    }
}

/* Browser zoom level specific fixes */
@media screen and (min-width: 1200px) {
    .featured-products-section {
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

/* Prevent layout shifts during zoom */
.featured-products-section * {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Ensure proper stacking context */
.featured-products-section {
    isolation: isolate;
}

/* Additional zoom stability */
@media (min-width: 1400px) {
    .featured-products-container {
        max-width: 1400px;
    }
}

@media (min-width: 1600px) {
    .featured-products-container {
        max-width: 1500px;
    }
}

/* Zoom level specific adjustments */
@media screen and (min-resolution: 1.3dppx) {
    .featured-products-section {
        padding: 40px 0 20px 0;
    }

    .featured-products-title {
        font-size: 1.9rem;
    }

    .featured-products-subtitle {
        font-size: 0.9rem;
    }
}

@media screen and (min-resolution: 1.4dppx) {
    .featured-products-section {
        padding: 35px 0 15px 0;
    }

    .featured-products-title {
        font-size: 1.7rem;
    }

    .featured-products-subtitle {
        font-size: 0.85rem;
    }
}

/* High DPI and zoom level combinations */
@media screen and (min-resolution: 1.5dppx) {
    .featured-products-section {
        padding: 30px 0 10px 0;
    }

    .featured-products-title {
        font-size: 1.5rem;
    }

    .featured-products-subtitle {
        font-size: 0.8rem;
    }
}

/* Ensure Featured Products section stays in proper position */
.featured-products-section {
    clear: both;
    float: none;
    display: block;
}

/* Prevent any unwanted positioning during zoom */
.featured-products-section,
.featured-products-header,
.featured-products-container,
.featured-products-grid {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Force proper layout during zoom operations */
.featured-products-section {
    contain: layout style paint;
}

/* Additional zoom stability and positioning fixes */
.featured-products-section {
    /* Ensure the section stays in the document flow */
    display: block;
    clear: both;
    float: none;

    /* Prevent any unwanted positioning */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    /* Ensure proper stacking and layout */
    z-index: 1;
    overflow: visible;

    /* Prevent layout shifts */
    transform: none !important;
    transform-origin: top left;

    /* Ensure proper margins and positioning */
    margin: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure Featured Products section doesn't interfere with other elements */
.featured-products-section::before,
.featured-products-section::after {
    content: '';
    display: table;
    clear: both;
}

/* Prevent Featured Products from being affected by parent positioning */
.featured-products-section {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
}

/* Ensure proper spacing around the section */
.featured-products-section + * {
    margin-top: 0;
    clear: both;
}

/* Additional zoom level specific positioning */
@media (zoom: 0.8), (min-resolution: 0.8dppx) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

@media (zoom: 0.9), (min-resolution: 0.9dppx) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

@media (zoom: 1.0), (min-resolution: 1.0dppx) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

@media (zoom: 1.1), (min-resolution: 1.1dppx) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

@media (zoom: 1.2), (min-resolution: 1.2dppx) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}
/* Ensure Featured Products section maintains viewport positioning during zoom */
.featured-products-section {
    /* Use viewport units for consistent positioning */
    min-height: 100vh;
    min-height: calc(100vh - 200px); /* Adjust based on header height */

    /* Ensure proper viewport positioning */
    position: relative;
    top: 0;
    left: 0;

    /* Prevent any unwanted viewport shifts */
    transform: translateZ(0);
    will-change: auto;

    /* Ensure proper stacking context */
    z-index: 1;
}
/* Additional viewport stability during zoom */
@media (min-height: 600px) {
    .featured-products-section {
        min-height: calc(100vh - 250px);
    }
}
@media (min-height: 800px) {
    .featured-products-section {
        min-height: calc(100vh - 300px);
    }
}

/* Prevent Featured Products from being cut off during zoom */
.featured-products-section {
    /* Ensure content is always visible */
    overflow: visible;

    /* Prevent any clipping */
    clip: auto;
    clip-path: none;

    /* Ensure proper rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    /* Force hardware acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* Ensure proper layer creation */
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

/* Ensure Featured Products section is not affected by parent positioning */
.featured-products-section {
    /* Break out of any parent positioning context */
    position: relative !important;

    /* Ensure proper document flow */
    display: block;
    clear: both;

    /* Prevent inheritance of unwanted properties */
    float: none;
    margin: 0;
    padding: 60px 0 37px 0;

    /* Ensure proper stacking */
    z-index: 1;

    /* Prevent any unwanted transformations */
    transform: none !important;
    transform-origin: top left;

    /* Ensure proper width and positioning */
    width: 100%;
    left: 0;
    right: auto;
    top: auto;
    bottom: auto;
}

/* Additional container stability */
.featured-products-container {
    /* Ensure container maintains position */
    position: relative;
    z-index: 1;

    /* Prevent any unwanted positioning */
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    /* Ensure proper width */
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure Featured Products grid maintains layout */
.featured-products-grid {
    /* Maintain grid layout during zoom */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    justify-items: center;

    /* Prevent layout shifts */
    position: relative;
    z-index: 1;

    /* Ensure proper positioning */
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

/* Final zoom stability fixes */
.featured-products-section {
    /* Ensure the section is always visible and properly positioned */
    visibility: visible !important;
    opacity: 1 !important;

    /* Prevent any unwanted hiding or clipping */
    display: block !important;

    /* Ensure proper viewport positioning */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;

    /* Prevent any unwanted margins or positioning */
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    /* Ensure proper padding for zoom levels */
    padding: 60px 0 37px 0 !important;

    /* Prevent any transformations that could cause positioning issues */
    transform: none !important;
    transform-origin: top left !important;

    /* Ensure proper stacking and visibility */
    z-index: 1 !important;
    overflow: visible !important;

    /* Force proper rendering */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;

    /* Ensure proper layer creation */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;

    /* Prevent any unwanted inheritance */
    all: unset;
    all: initial;

    /* Re-apply essential properties */
    display: block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #f8f6f2 !important;
    padding: 60px 0 37px 0 !important;
    margin: 0 !important;
    z-index: 1 !important;
    overflow: visible !important;
}

/* Additional zoom level specific positioning fixes */
@media (zoom: 0.8) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 70px 0 45px 0 !important;
    }
}

@media (zoom: 0.9) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 65px 0 40px 0 !important;
    }
}

@media (zoom: 1.0) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 60px 0 37px 0 !important;
    }
}

@media (zoom: 1.1) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 55px 0 35px 0 !important;
    }
}

@media (zoom: 1.2) {
    .featured-products-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 50px 0 30px 0 !important;
    }
}

/* Ensure Featured Products section is always properly positioned */
.featured-products-section {
    /* Force proper positioning during all zoom levels */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;

    /* Prevent any unwanted transformations */
    transform: none !important;
    transform-origin: top left !important;

    /* Ensure proper stacking */
    z-index: 1 !important;

    /* Prevent any unwanted margins */
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    /* Ensure proper display */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Prevent any clipping */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Additional stability for zoom levels */
@media screen and (min-resolution: 1.6dppx) {
    .featured-products-section {
        padding: 25px 0 8px 0;
    }

    .featured-products-title {
        font-size: 1.3rem;
    }

    .featured-products-subtitle {
        font-size: 0.75rem;
    }
}

/* Browser zoom level specific fixes - using zoom media queries */
@media (zoom: 0.8) {
    .featured-products-section {
        padding: 70px 0 45px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .featured-products-title {
        font-size: 2.8rem;
    }

    .featured-products-subtitle {
        font-size: 1.2rem;
    }
}

@media (zoom: 0.9) {
    .featured-products-section {
        padding: 65px 0 40px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .featured-products-title {
        font-size: 2.6rem;
    }

    .featured-products-subtitle {
        font-size: 1.15rem;
    }
}

@media (zoom: 1.0) {
    .featured-products-section {
        padding: 60px 0 37px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .featured-products-title {
        font-size: 1.9rem;
    }

    .featured-products-subtitle {
        font-size: 1.1rem;
    }
}

@media (zoom: 1.1) {
    .featured-products-section {
        padding: 55px 0 35px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .featured-products-title {
        font-size: 2.3rem;
    }

    .featured-products-subtitle {
        font-size: 1.05rem;
    }
}

@media (zoom: 1.2) {
    .featured-products-section {
        padding: 50px 0 30px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .featured-products-title {
        font-size: 2.1rem;
    }

    .featured-products-subtitle {
        font-size: 1rem;
    }
}

/* CSS zoom property support for older browsers */
@media screen and (-webkit-min-device-pixel-ratio: 0.8) {
    .featured-products-section {
        padding: 70px 0 45px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0.9) {
    .featured-products-section {
        padding: 65px 0 40px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.0) {
    .featured-products-section {
        padding: 60px 0 37px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.1) {
    .featured-products-section {
        padding: 55px 0 35px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.2) {
    .featured-products-section {
        padding: 50px 0 30px 0;
        margin-top: 0;
        position: relative;
        top: 0;
    }
}

@media screen and (min-resolution: 1.7dppx) {
    .featured-products-section {
        padding: 20px 0 5px 0;
    }

    .featured-products-title {
        font-size: 1.1rem;
    }

    .featured-products-subtitle {
        font-size: 0.7rem;
    }
}

@media screen and (min-resolution: 1.8dppx) {
    .featured-products-section {
        padding: 15px 0 3px 0;
    }

    .featured-products-title {
        font-size: 1rem;
    }

    .featured-products-subtitle {
        font-size: 0.65rem;
    }
}

@media screen and (min-resolution: 1.9dppx) {
    .featured-products-section {
        padding: 10px 0 2px 0;
    }

    .featured-products-title {
        font-size: 0.9rem;
    }

    .featured-products-subtitle {
        font-size: 0.6rem;
    }
}

@media screen and (min-resolution: 2dppx) {
    .featured-products-section {
        padding: 8px 0 1px 0;
    }

    .featured-products-title {
        font-size: 0.8rem;
    }

    .featured-products-subtitle {
        font-size: 0.55rem;
    }
}

/* Featured Product Card */
.featured-product-card {
    background: #ffffff;
    border-radius: 7px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

/* Featured Product Link */
.featured-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    cursor: pointer;
}

.featured-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(45, 170, 91, 0.15);
    border-color: #2daa5b;
}

.featured-product-image-container {
    position: relative;
    height: 140px;
    overflow: visible;
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    padding: 12px;
}

.featured-product-card:hover .featured-product-image {
    transform: scale(1.08);
}

.featured-product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #2daa5b, #1f8a4a);
    color: #ffffff;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(45, 170, 91, 0.3);
}

.featured-product-content {
    padding: 8px;
    flex-grow: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-product-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.2;
    font-family: 'IBM Plex Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.featured-product-current-price {
    font-size: 1rem;
    font-weight: 800;
    color: #2daa5b;
    text-shadow: 0 1px 2px rgba(45, 170, 91, 0.1);
}

.featured-product-original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Carousel Navigation */
.category-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #6c757d;
}

.category-carousel-nav:hover {
    background: #3BB54A;
    border-color: #3BB54A;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.category-carousel-nav.prev {
    left: 0;
}

.category-carousel-nav.next {
    right: 0;
}

.category-carousel-nav i {
    font-size: 14px;
    transition: color 0.3s ease;
}

.category-carousel-nav:hover i {
    color: #ffffff;
}

/* Carousel Dots */
.category-carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.category-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-carousel-dot.active {
    background: #3BB54A;
    transform: scale(1.2);
}

/* Loading State */
.category-carousel-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.category-carousel-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3BB54A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation Classes */
.category-card-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card-slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-card {
        flex: 0 0 220px;
        min-height: 275px;
        max-width: 220px;
    }

    .category-card-image {
        height: 65%;
    }

    .category-carousel-container {
        padding: 0 50px;
    }

    /* Desktop: Always show 6 products per row */
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        width: 100%;
        max-width: 180px !important;
        height: 300px !important;
    }
}
@media (max-width: 768px) {
    .shop-category-title,
    .featured-products-title {
        font-size: 2rem;
    }

    .category-carousel-container {
        padding: 0 40px;
    }

    .category-carousel-nav {
        width: 35px;
        height: 35px;
    }

    .category-card {
        flex: 0 0 100% !important;
        min-height: 250px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        z-index: 0 !important;
    }

    /* Show only the current/active card */
    .category-card.active,
    .category-card[data-active="true"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
        z-index: 10 !important;
    }

    /* Force single product display in category carousel */
    .category-carousel-container {
        padding: 0 40px !important;
        overflow: hidden !important;
    }

    .shop-category-carousel {
        gap: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Ensure proper image sizing on mobile */
    .category-card-image {
        height: 120px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .category-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Adjust content for mobile */
    .category-card-content {
        padding: 16px !important;
        min-height: 80px !important;
    }

    .category-card-title {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .category-card-count {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }

    .category-card-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 200px !important;
    }

    .category-card-image {
        height: 65%;
    }

    .category-card-content {
        padding: 12px;
    }

    .category-card-title {
        font-size: 1rem;
    }

    /* Mobile: Show 2 products per row for better UX */
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px;
    }

    .featured-product-card {
        width: 100%;
        max-width: none;
        height: 320px !important;
        margin: 0;
    }

    .featured-product-image-container {
        height: 160px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .featured-product-image {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 8px !important;
    }

    .featured-product-content {
        padding: 8px;
        gap: 8px;
        padding-bottom: 12px;
    }

    .featured-product-name {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .featured-product-price {
        gap: 6px;
    }

    .featured-product-current-price {
        font-size: 0.9rem;
    }

    .featured-product-original-price {
        font-size: 0.75rem;
    }

    .featured-product-options {
        margin-top: 6px;
    }

    .featured-product-select {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .featured-product-actions {
        padding: 4px;
        gap: 8px;
    }

    .featured-product-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .shop-category-section,
    .featured-products-section {
        padding: 40px 0;
    }

    .shop-category-title,
    .featured-products-title {
        font-size: 1.75rem;
    }

    .category-carousel-container {
        padding: 0 30px;
    }

    .category-carousel-nav {
        width: 30px;
        height: 30px;
    }

    .category-card {
        flex: 0 0 180px;
        min-height: 225px;
        max-width: 180px;
        margin: 0;
    }

    .category-card-image {
        height: 65%;
    }

    .category-card-content {
        padding: 10px;
    }

    .category-card-title {
        font-size: 0.9rem;
    }

    .category-card-count {
        font-size: 0.8rem;
    }

    .category-card-button {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    /* Mobile: Show 2 products per row for better UX */
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px;
    }

    .featured-product-card {
        width: 100%;
        max-width: none;
        height: 300px !important;
        margin: 0;
    }

    .featured-product-image-container {
        height: 140px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .featured-product-image {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 6px !important;
    }

    .featured-product-content {
        padding: 6px;
        gap: 6px;
        padding-bottom: 0;
    }

    .featured-product-name {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }

    .featured-product-price {
        gap: 4px;
    }

    .featured-product-current-price {
        font-size: 0.85rem;
    }

    .featured-product-original-price {
        font-size: 0.7rem;
    }

    .featured-product-options {
        margin-top: 4px;
    }

    .featured-product-select {
        padding: 4px 6px;
        font-size: 0.7rem;
    }

    .featured-product-actions {
        padding: 6px;
        gap: 6px;
    }

    .featured-product-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .featured-product-quantity {
        gap: 4px;
    }

    .featured-product-qty-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .featured-product-qty-input {
        width: 30px;
        height: 24px;
        font-size: 0.7rem;
        padding: 2px 4px;
    }
}

@media (max-width: 480px) {
    /* Mobile: Show 2 products per row for better UX */
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0 6px;
    }

    .featured-product-card {
        height: 280px !important;
    }

    .featured-product-image-container {
        height: 130px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .featured-product-image {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 5px !important;
    }

    .featured-product-content {
        padding: 5px;
        gap: 5px;
        flex: 1 1 auto;
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .featured-product-name {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .featured-product-current-price {
        font-size: 0.8rem;
    }

    .featured-product-original-price {
        font-size: 0.65rem;
    }

    .featured-product-select {
        padding: 3px 5px;
        font-size: 0.65rem;
    }

    .featured-product-button {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .featured-product-qty-btn {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .featured-product-qty-input {
        width: 28px;
        height: 22px;
        font-size: 0.65rem;
        padding: 1px 3px;
    }
}

@media (max-width: 375px) {
    /* Mobile: Show 2 products per row for better UX */
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
        padding: 0 5px;
    }

    .featured-product-card {
        height: 260px !important;
    }

    .featured-product-image-container {
        height: 90px;
    }

    .featured-product-content {
        flex: 1 1 auto;
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .featured-product-name {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }

    .featured-product-current-price {
        font-size: 0.75rem;
    }

    .featured-product-original-price {
        font-size: 0.6rem;
    }

    .featured-product-select {
        padding: 2px 4px;
        font-size: 0.6rem;
    }

    .featured-product-button {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* Additional mobile optimizations for Featured Products */
@media (max-width: 320px) {
    /* Mobile: Show 2 products per row for better UX */
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
        padding: 0 4px;
    }

    .featured-product-card {
        height: 240px !important;
    }

    .featured-product-image-container {
        height: 80px;
    }

    .featured-product-image {
        padding: 4px;
    }

    .featured-product-content {
        padding: 3px;
        gap: 3px;
        padding-bottom: 5px;
    }

    .featured-product-name {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }

    .featured-product-current-price {
        font-size: 0.7rem;
    }

    .featured-product-original-price {
        font-size: 0.55rem;
    }

    .featured-product-select {
        padding: 1px 3px;
        font-size: 0.55rem;
    }

    .featured-product-button {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .featured-product-qty-btn {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    .featured-product-qty-input {
        width: 25px;
        height: 20px;
        font-size: 0.6rem;
        padding: 1px 2px;
    }
}

/* Desktop/Laptop: Always show 6 products per row for better desktop experience */
@media (min-width: 769px) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
        padding: 0 !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
        width: 100% !important;
    }
}

/* Force mobile layout for small screens - highest priority */
@media (max-width: 768px) {
    .featured-products-section .featured-products-grid,
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .featured-products-section .featured-product-card,
    .featured-product-card {
        height: 320px !important;
        max-width: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .featured-products-section .featured-product-image-container,
    .featured-product-image-container {
        height: 120px !important;
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .featured-products-section .featured-product-content,
    .featured-product-content {
        padding: 8px !important;
        gap: 8px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .featured-products-section .featured-product-name,
    .featured-product-name {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    .featured-products-section .featured-product-current-price,
    .featured-product-current-price {
        font-size: 0.9rem !important;
    }

    .featured-products-section .featured-product-original-price,
    .featured-product-original-price {
        font-size: 0.75rem !important;
    }

    .featured-products-section .featured-product-button,
    .featured-product-button {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

/* Mobile-first responsive design for Featured Products */
/* Mobile: Show 2 products per row for better UX */
@media (max-width: 768px) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card {
        height: 320px !important;
        max-width: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .featured-product-image-container,
    .featured-products-section .featured-product-image-container {
        height: 120px !important;
        width: 100% !important;
    }

    .featured-product-content,
    .featured-products-section .featured-product-content {
        padding: 8px !important;
        gap: 8px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .featured-product-name,
    .featured-products-section .featured-product-name {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    .featured-product-current-price,
    .featured-products-section .featured-product-current-price {
        font-size: 0.9rem !important;
    }

    .featured-product-original-price,
    .featured-products-section .featured-product-original-price {
        font-size: 0.75rem !important;
    }

    .featured-product-button,
    .featured-products-section .featured-product-button {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px !important;
    }

    .featured-product-card {
        height: 300px !important;
    }

    .featured-product-image-container {
        height: 110px !important;
    }

    .featured-product-content {
        padding: 6px !important;
        gap: 6px !important;
    }

    .featured-product-name {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }

    .featured-product-current-price {
        font-size: 0.85rem !important;
    }

    .featured-product-original-price {
        font-size: 0.7rem !important;
    }

    .featured-product-button {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0 6px !important;
    }

    .featured-product-card {
        height: 280px !important;
    }

    .featured-product-image-container {
        height: 100px !important;
    }

    .featured-product-content {
        padding: 5px !important;
        gap: 5px !important;
        flex: 1 1 auto;
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .featured-product-name {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
    }

    .featured-product-current-price {
        font-size: 0.8rem !important;
    }

    .featured-product-original-price {
        font-size: 0.65rem !important;
    }

    .featured-product-button {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 375px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
        padding: 0 5px !important;
    }

    .featured-product-card {
        height: 260px !important;
    }

    .featured-product-image-container {
        height: 90px !important;
    }

    .featured-product-content {
        flex: 1 1 auto;
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .featured-product-name {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }

    .featured-product-current-price {
        font-size: 0.75rem !important;
    }

    .featured-product-original-price {
        font-size: 0.6rem !important;
    }

    .featured-product-button {
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 320px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
        padding: 0 4px !important;
    }

    .featured-product-card {
        height: 240px !important;
    }

    .featured-product-image-container {
        height: 80px !important;
    }

    .featured-product-content {
        padding: 3px !important;
        gap: 3px !important;
        padding-bottom: 5px !important;
    }

    .featured-product-name {
        font-size: 0.6rem !important;
        margin-bottom: 1px !important;
    }

    .featured-product-current-price {
        font-size: 0.7rem !important;
    }

    .featured-product-original-price {
        font-size: 0.55rem !important;
    }

    .featured-product-button {
        padding: 3px 6px !important;
        font-size: 0.6rem !important;
    }
    .featured-product-card {
        height: 395px;
    }
}

/* Ensure equal height for all cards */
.category-card {
    height: auto;
    min-height: 300px;
}
.category-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.category-card-button {
    margin-top: auto;
}

/* Fix for image aspect ratio */
.category-card-image img {
    object-fit: cover;
    object-position: center;
}

/* Smooth transitions */
.category-card,
.category-card-image,
.category-card-content,
.category-card-button {
    transition: all 0.3s ease;
}

/* Hover effects */
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.category-card:hover .category-card-image img {
    transform: scale(1.02);
}

.category-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(59, 181, 74, 0.3);
}

/* Section ordering - Featured Products first, then Categories */
.featured-products-section {
    padding: 21px 0 0 0;
    background: #f8f6f2;
}

.shop-category-section {
    padding: 35px 0 60px 0;
    background: #f8f6f2;
    position: relative;
    overflow: hidden;
}

/* Mobile Full Width - Override Bootstrap container constraints for Shop Category */
@media (max-width: 768px) {
    .shop-category-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .category-carousel-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px !important;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .shop-category-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .category-carousel-container {
        padding: 0 8px !important;
    }
}

@media (max-width: 480px) {
    .shop-category-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .category-carousel-container {
        padding: 0 5px !important;
    }
}

.shop-category-header {
    text-align: center;
    margin-bottom: 50px;
}
@media (max-width: 768px){
   .shop-category-header {
    text-align: center;
    margin-bottom: 5px;
    }
}

.shop-category-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.shop-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.shop-category-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

/* Category Carousel Container */
.category-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.shop-category-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    justify-content: center;
    align-items: stretch;
}

/* Why Rythubidda Section - Updated Design */
.why-rythubidda-section {
    padding: 60px 0;
    background: #f8f6f2;
    margin-bottom: -10px;
    margin-top: -16px;
}

.why-rythubidda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Full Width - Override Bootstrap container constraints for Why Rythubidda */
@media (max-width: 768px) {
    .why-rythubidda-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .why-rythubidda-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }
    
    .why-rythubidda-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }
}

/* General Mobile Full Width - Override ALL Bootstrap containers on mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure main content uses full width */
    .main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .home-main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure no unwanted scrollbars or bars appear */
    html, body {
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Hide all scrollbars on mobile */
    *::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }
    
    *::-webkit-scrollbar-track {
        display: none !important;
    }
    
    *::-webkit-scrollbar-thumb {
        display: none !important;
    }
    
    /* Ensure content uses full mobile width without unwanted spacing */
    .featured-products-section,
    .shop-category-section,
    .why-rythubidda-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure all content containers use full width */
    .featured-products-container,
    .category-carousel-container,
    .why-rythubidda-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 576px) {
    .why-rythubidda-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .why-rythubidda-container {
        padding: 0 12px !important;
    }
    
    .why-rythubidda-grid {
        gap: 15px !important;
        padding: 0 8px !important;
    }
}

@media (max-width: 480px) {
    .why-rythubidda-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .why-rythubidda-container {
        padding: 0 10px !important;
    }
    
    .why-rythubidda-grid {
        gap: 12px !important;
        padding: 0 6px !important;
    }
}

.why-rythubidda-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}


.why-rythubidda-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.why-rythubidda-icon-container {
    width: 80px;
    height: 80px;
    background: rgba(45, 170, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.why-rythubidda-icon {
    width: 40px;
    height: 40px;
    color: #2daa5b;
    fill: currentColor;
}

.why-rythubidda-item:hover .why-rythubidda-icon-container {
    background: rgba(45, 170, 91, 0.2);
    transform: scale(1.05);
}

.why-rythubidda-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.why-rythubidda-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-rythubidda-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-rythubidda-icon-container {
        width: 60px;
        height: 60px;
    }

    /* Mobile: Force single product display in category carousel */
    .category-carousel-container {
        padding: 0 40px !important;
        overflow: hidden !important;
    }

    .shop-category-carousel {
        gap: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .category-card {
        flex: 0 0 100% !important;
        min-width: 280px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        z-index: 0 !important;
    }

    /* Show only the current/active card */
    .category-card.active,
    .category-card[data-active="true"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
        z-index: 10 !important;
    }

    /* Ensure proper image sizing on mobile */
    .category-card-image {
        height: 120px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .category-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Adjust content for mobile */
    .category-card-content {
        padding: 16px !important;
        min-height: 80px !important;
    }

    .category-card-title {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .category-card-count {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }

    .category-card-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 200px !important;
    }
}

@media (max-width: 480px) {
    .why-rythubidda-icon {
        width: 30px;
        height: 30px;
    }

    .why-rythubidda-title {
        font-size: 1.1rem;
    }

    .why-rythubidda-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .why-rythubidda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-rythubidda-item {
        padding: 15px;
    }
}

/* Products Grid Layout - Matching Featured Products */
.products-section {
    padding: 20px 0 37px 0;
    background: #f8f6f2;
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.products-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.products-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

.products-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    justify-items: center;
}

/* Product Card - Matching Featured Product Card */
.product-card {
    background: #ffffff;
    border-radius: 7px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 290px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(45, 170, 91, 0.15);
    border-color: #2daa5b;
}

.product-image-container {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    padding: 12px;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    gap: 0;
    padding-bottom: 2px;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.2;
    font-family: 'IBM Plex Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.product-current-price {
    font-size: 1rem;
    font-weight: 800;
    color: #2daa5b;
    text-shadow: 0 1px 2px rgba(45, 170, 91, 0.1);
}

.product-original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.product-options {
    margin-bottom: 4px;
    position: relative;
    z-index: 5;
    padding: 0 10px;
}

.product-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.product-select:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
    padding: 0 10px 10px 10px;
}

.product-quantity {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 6px 8px;
    border: 1px solid #e9ecef;
    flex: 1;
}

.product-quantity.show {
    display: flex;
}

.product-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #2daa5b;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(45, 170, 91, 0.2);
}

.product-qty-btn:hover {
    background: linear-gradient(135deg, #1f8a4a, #2daa5b);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(45, 170, 91, 0.3);
}

.product-qty-input {
    width: 50px;
    height: 28px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-qty-input:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

.product-button {
    display: block;
    padding: 6px 10px;
    background: transparent;
    color: #3BB54A;
    text-decoration: none;
    border: 2px solid #3BB54A;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
    overflow: visible;
}

.product-button:hover {
    background: #3BB54A;
    color: #ffffff;
    border-color: #3BB54A;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 181, 74, 0.3);
}

/* Responsive Design for Products */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .product-card {
        width: 100%;
        max-width: 180px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .products-header {
        text-align: center;
        margin-bottom: 30px;
        margin-top: 20px; /* Fix for category title positioning */
    }
    
    .products-title {
        font-size: 2rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
        position: relative;
        margin-top: 0; /* Ensure proper top margin */
    }
    
    .products-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #3BB54A, #2d8a3a);
        border-radius: 2px;
    }
    
    .products-subtitle {
        font-size: 1rem;
        color: #6c757d;
        font-weight: 400;
    }
    
    .products-container {
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .product-card {
        width: 100%;
        max-width: 160px;
        height: 360px; /* Increased height for better image display */
    }
    
    .product-image-container {
        height: 160px; /* Increased height for mobile */
        overflow: visible; /* Ensure images are not cut off */
    }
    
    .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 8px; /* Reduced padding for mobile */
    }
}

@media (max-width: 576px) {
    .products-header {
        margin-bottom: 25px;
        margin-top: 15px;
    }
    
    .products-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .products-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .products-subtitle {
        font-size: 0.9rem;
    }
    
    .products-container {
        padding: 0 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        width: 100%;
        max-width: 140px;
        height: 320px; /* Adjusted height for small mobile */
    }
    
    .product-image-container {
        height: 140px; /* Adjusted for small mobile */
    }
    
    .product-image {
        padding: 6px; /* Minimal padding for small mobile */
    }
}

/* Additional mobile breakpoint for very small devices */
@media (max-width: 480px) {
    .products-header {
        margin-bottom: 20px;
        margin-top: 10px;
    }
    
    .products-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .products-title::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .products-container {
        padding: 0 8px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-card {
        max-width: 130px;
        height: 300px;
    }
    
    .product-image-container {
        height: 130px;
    }
    
    .product-image {
        padding: 5px;
    }
}

/* Small Auto-Disappearing Popup Styles */
.small-cart-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #3BB54A;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
    min-width: 200px;
}

/* Add popup styling (green background) */
.small-cart-popup.small-cart-popup-add {
    background: #3BB54A !important;
}

/* Remove popup styling (red background) */
.small-cart-popup.small-cart-popup-remove {
    background: #dc3545 !important;
}

.small-popup-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.small-popup-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.small-popup-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.small-cart-popup.hide {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* ===== MODERN PRODUCT PAGE STYLING ===== */

/* Product Detail Page - Modern Layout */
.product-detail {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid rgba(45, 170, 91, 0.1);
}

/* Modern Product Gallery Layout */
.modern-product-gallery {
    position: relative;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
}

.modern-product-main-image {
    position: relative;
    width: 100%;
    height: 500px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modern-product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent;
}

.modern-product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}

.modern-product-main-image:hover img {
    transform: scale(1.05);
}

/* Navigation Arrows */
.modern-product-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3BB54A;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-product-nav-btn:hover {
    background: #3BB54A;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 181, 74, 0.3);
}

.modern-product-nav-prev {
    left: 20px;
}

.modern-product-nav-next {
    right: 20px;
}

/* Image Counter */
.modern-product-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Thumbnail Gallery */
.modern-product-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
}

.modern-product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-product-thumbnail.active {
    border-color: #3BB54A;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.3);
}
.modern-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.modern-product-thumbnail:hover {
    transform: scale(1.05);
}
.modern-product-thumbnail.placeholder {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 24px;
}

/* Modern Product Details */
.modern-product-details {
    padding: 30px;
    background: transparent;
    border-radius: 16px;
    height: fit-content;
}

.modern-product-title {
    position: relative;
    display: flex;
    align-items: center;
    background: #f0f8f0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
    min-height: 80px;
}

.modern-product-title-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3BB54A;
}

.modern-product-icon {
    width: 40px;
    height: 40px;
    background: #3BB54A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin: 10px 0 10px 15px;
    flex-shrink: 0;
}

.modern-product-title-content {
    display: flex;
    flex-direction: column;
    padding: 10px 15px 10px 12px;
    gap: 2px;
}

.modern-product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3BB54A;
    margin: 0;
    line-height: 1.2;
}

.modern-product-subtitle {
    font-size: 0.8rem;
    color: #8b7355;
    font-weight: 500;
    margin: 0;
}

.modern-product-title-icon {
    margin-left: auto;
    margin-right: 15px;
    color: #3BB54A;
    font-size: 20px;
}



/* Modern Rating Display */
.modern-product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.modern-product-stars {
    display: flex;
    gap: 4px;
}

.modern-product-star {
    color: #FFD700;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
    margin-right: 2px;
}

.modern-product-star.empty {
    color: #e9ecef;
    font-size: 24px;
    margin-right: 2px;
}

.modern-product-rating-text {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

/* Modern Price Display */
.modern-product-price-section {
    background: transparent;
    border-radius: 12px;
    padding: 20px;
}

.modern-product-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.modern-product-current-price {
    font-size: 2rem;
    font-weight: 800;
    color: #3BB54A;
    text-shadow: 0 2px 4px rgba(59, 181, 74, 0.2);
}

.modern-product-original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
}



/* Modern Actions Row */
.modern-product-actions-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    .modern-product-actions-row {
        margin-bottom: 5px !important;
    }
}

.modern-product-quantity-section {
    flex: 1;
}

.modern-product-quantity-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: block;
}

.modern-product-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .modern-product-select {
        width: 100%;
        padding: 12px 4px;
        border: 2px solid #e9ecef;
        border-radius: 4px;
        font-size: 12px;
        background: #ffffff;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
}

.modern-product-select:focus {
    outline: none;
    border-color: #3BB54A;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
}

/* Modern Add to Cart Button */
.modern-product-add-cart {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    flex: 1;
    width: auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 181, 74, 0.3);
}

/* Product Page Quantity Controls */
.modern-product-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    width: 100%;
    flex: 1;
}

.modern-product-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: linear-gradient(135deg, #3bb54a, #388103);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 181, 74, 0.3);
}

.modern-product-qty-btn:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

.modern-product-qty-btn:active {
    transform: scale(0.95);
}

.modern-product-qty-input {
    width: 60px;
    height: 32px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modern-product-qty-input:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

.modern-product-add-cart:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}



/* Responsive Design */
@media (max-width: 992px) {
    .modern-product-main-image {
        height: 400px;
    }

    .modern-product-title h1 {
        font-size: 2rem;
    }

    .modern-product-current-price {
        font-size: 1.6rem;
    }


}

@media (max-width: 768px) {
    .modern-product-main-image {
        height: 350px;
    }

    .modern-product-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .modern-product-nav-prev {
        left: 10px;
    }

    .modern-product-nav-next {
        right: 10px;
    }

    .modern-product-thumbnails {
        gap: 10px;
    }

    .modern-product-thumbnail {
        width: 60px;
        height: 60px;
    }

    .modern-product-title h1 {
        font-size: 1.8rem;
    }

    .modern-product-current-price {
        font-size: 1.4rem;
    }


}

@media (max-width: 576px) {
    .modern-product-main-image {
        height: 300px;
    }

    .modern-product-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .modern-product-thumbnail {
        width: 50px;
        height: 50px;
    }

    .modern-product-title h1 {
        font-size: 1.5rem;
    }

    .modern-product-current-price {
        font-size: 1.2rem;
    }

    .modern-product-details {
        padding: 20px;
    }
}

/* Enhanced Product Gallery */
.large-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.large-slider .slick-slide {
    padding: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.large-slider img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.large-slider img:hover {
    transform: scale(1.05);
}

/* Modern Thumbnail Gallery */
.thumbnail-slider {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.thumbnail-slider .slick-slide {
    padding: 0 5px;
}

.thumbImg {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbImg:hover,
.thumbnail-slider .slick-current .thumbImg {
    border-color: #2daa5b;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 170, 91, 0.3);
}

/* Enhanced Product Info Section */
.detail-info {
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.title-detail {
    font-size: 1.9rem !important;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #3BB54A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Rating Display */
.star-container {
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
    line-height: 2rem;
    margin: 10px 0;
}

.star-container .background-stars {
    color: #e9ecef;
    white-space: nowrap;
}

.star-container .foreground-stars {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #FFD700;
    width: 0;
}

/* Enhanced Price Display */
.product-price-cover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(45, 170, 91, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.text-brand {
    font-size: 2rem;
    font-weight: 800;
    color: #2daa5b;
    text-shadow: 0 2px 4px rgba(45, 170, 91, 0.2);
}

/* Modern Quantity Selector */
.detail-qty {
    margin: 0px 0;
}


.qty-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(45, 170, 91, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.qty-btn-minus,
.qty-btn-plus {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #2daa5b, #1f8a4a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 170, 91, 0.3);
}

.qty-btn-minus:hover,
.qty-btn-plus:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(45, 170, 91, 0.4);
}

.input-qty {
    width: 80px;
    height: 40px;
    border: 2px solid rgba(45, 170, 91, 0.2);
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-qty:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1);
}

/* Enhanced Add to Cart Button */
.cartBtn {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 24px rgba(59, 181, 74, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.cartBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cartBtn:hover::before {
    left: 100%;
}

.cartBtn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 32px rgba(59, 181, 74, 0.4) !important;
    background: linear-gradient(135deg, #2d8a3a, #1f6b2a) !important;
}

/* Modern Product Options Selector */
.form-select {
    border: 2px solid rgba(45, 170, 91, 0.2) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.form-select:focus {
    border-color: #2daa5b !important;
    box-shadow: 0 0 0 3px rgba(45, 170, 91, 0.1) !important;
    outline: none !important;
}

/* Enhanced Description Sections */
.short-desc,
.detail-extralink {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(45, 170, 91, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

/* Modern Video Section */
.video-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 10px;
    margin: 30px 0;
    border: 1px solid rgba(45, 170, 91, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.embed-responsive-16by9 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.embed-responsive-item {
    border-radius: 12px;
}

/* Enhanced Review Section */
.review-slider-position {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(45, 170, 91, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.product-cart-wrap {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(45, 170, 91, 0.1) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.product-cart-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(45, 170, 91, 0.15) !important;
    border-color: #2daa5b !important;
}

/* Modern Star Rating */
.star-rating {
    font-size: 1.5rem;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}

.star-rating span {
    font-size: 1.5rem;
    color: #e9ecef;
    transition: color 0.3s ease;
}

.star-rating span.active-star {
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}



/* Modern Modal Styling */
.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

.modal-header {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    padding: 20px 30px !important;
}

.modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.btn-close {
    filter: invert(1) !important;
    opacity: 0.8 !important;
}

/* Enhanced Navigation Arrows */
.custom-arrow,
.custom-video-arrow,
.custom-arrow-review,
.custom-arrow-related {
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    border: 2px solid rgba(45, 170, 91, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.custom-arrow:hover,
.custom-video-arrow:hover,
.custom-arrow-review:hover,
.custom-arrow-related:hover {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    border-color: #3BB54A !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Related Products Slider Navigation */
.custom-arrow-related {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    border: 2px solid rgba(45, 170, 91, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.custom-prev-related {
    left: -10px;
    transform:translateY(-50%) rotate(180deg);
}

.custom-next-related {
    right: -10px;
    transform: translateY(-50%) rotate(180deg);
}
.custom-arrow-related:hover {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    border-color: #3BB54A !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
/* Fix for right arrow hover behavior - no position changes */
.custom-next-related:hover {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    border-color: #3BB54A !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
/* Fix for custom-video-next button - prevent revolving animation */
.custom-video-next {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.custom-video-next:hover {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    border-color: #3BB54A !important;
    transform: rotate(180deg) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Fix for custom-next-review button - prevent revolving animation */
.custom-next-review {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.custom-next-review:hover {
    background: linear-gradient(135deg, #3BB54A, #2d8a3a) !important;
    border-color: #3BB54A !important;
    transform: rotate(180deg) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .product-detail {
        margin: 10px;
        border-radius: 12px;
    }

    .detail-info {
        padding: 20px;
        border-radius: 12px;
    }

    .title-detail {
        font-size: 1.8rem !important;
    }

    .large-slider .slick-slide {
        min-height: 300px;
        padding: 15px;
    }

    .qty-container {
        padding: 10px;
    }

    .cartBtn {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .product-detail {
        margin: 5px;
        border-radius: 8px;
    }

    .detail-info {
        padding: 15px;
        border-radius: 8px;
    }

    .title-detail {
        font-size: 1.5rem !important;
    }

    .large-slider .slick-slide {
        min-height: 250px;
        padding: 10px;
    }

    .qty-container {
        padding: 8px;
    }

    .cartBtn {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }
}

/* Loading Animation */
.loader-img {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loader-img img {
    width: 60px;
    height: 60px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid #2daa5b;
    outline-offset: 2px;
}

/* Remove custom scrollbar - Use default browser scrollbar */
::-webkit-scrollbar {
    width: auto;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ensure no unwanted scrollbars appear on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    /* Hide webkit scrollbars on mobile */
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }
    
    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
        display: none !important;
    }
    
    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
        display: none !important;
    }
    
    /* Ensure main content uses full width without scrollbars */
    .main, .home-main {
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    .main::-webkit-scrollbar,
    .home-main::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }
}

/* Fix footer green color issue */
footer.main,
.footer-bg,
.footer-mid,
.footer-bottom {
    background-color: #593b26 !important;
}

/* Override any green colors in footer */
footer * {
    background-color: transparent !important;
}

footer .main,
footer .footer-bg,
footer .footer-mid {
    background-color: #593b26 !important;
}

/* Related Products Section Styles */
.related-products-section {
    padding: 60px 0 37px 0;
    background: #f8f6f2;
}

.related-products-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-products-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.related-products-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.related-products-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

.related-products-container {
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 0px 40px 0px 40px ;
    overflow: visible;
}

.related-products-slider-position {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

.custom-arrow-related {
    background: #ffffff;
    border: 2px solid #388103;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
    z-index: 10;
    position: relative;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
}

.custom-arrow-related:hover {
    background: #ffffff;
    transform: none;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
    /* No position changes on hover */
}

.custom-arrow-related img {
    width: 16px;
    height: 16px;
    filter: invert(1);
    transition: none;
}

.custom-prev-related img {
    transform: rotate(180deg);
}

.custom-next-related img {
    transform: rotate(0deg);
}

/* Fix arrow directions */
.custom-prev-related {
    transform: rotate(180deg);
}

.custom-next-related {
    transform: rotate(180deg);
}

.custom-arrow-related:hover img {
    filter: invert(1);
}

/* Remove any additional hover effects */
.custom-arrow-related:active {
    transform: none;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
}

.custom-arrow-related:focus {
    transform: none;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
    outline: none;
}

.related-products-slider {
    flex: 1;
    max-width: calc(100% - 70px);
    overflow: hidden;
    position: relative;
}

.related-products-slider .slick-slide {
    padding: 0 10px;
}

.related-products-slider .slick-track {
    display: flex;
    gap: 10px;
}

.related-products-slider .slick-list {
    overflow: hidden;
}

/* Remove the strict 5-product limit to allow carousel navigation */

/* Related Product Card */
.related-product-card {
    background: #ffffff;
    border-radius: 7px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: none;
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

/* Related Product Link */
.related-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    cursor: pointer;
}

.related-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-product-card:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

.related-product-image-container {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
}

.related-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: none;
    padding: 12px;
}

.related-product-card:hover .related-product-image {
    transform: none;
}

.related-product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #2daa5b, #1f8a4a);
    color: #ffffff;
    padding: 0px 4px;
    border-radius: 8px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(45, 170, 91, 0.3);
}

.related-product-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ffffff;
    gap: 12px;
    padding-bottom: 20px;
}

.related-product-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.2;
    font-family: 'IBM Plex Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.related-product-current-price {
    font-size: 1rem;
    font-weight: 800;
    color: #2daa5b;
    text-shadow: 0 1px 2px rgba(45, 170, 91, 0.1);
}

.related-product-original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.related-product-options {
    margin-bottom: 6px;
    position: relative;
    z-index: 10;
}

.related-product-select {
    width: 89%;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.7rem;
    background: #fff;
    color: #495057;
    transition: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.related-product-select:focus {
    outline: none;
    border-color: #2daa5b;
    box-shadow: 0 0 0 2px rgba(45, 170, 91, 0.1);
}

.related-product-select option {
    background: #fff;
    color: #495057;
    padding: 8px 10px;
}

.related-product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 0 10px 20px 10px;
    width: 100%;
    justify-content: center;
}

.related-product-quantity {
    display: none;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 8px 12px;
    width: 100%;
    justify-content: space-between;
}

.related-product-quantity.show {
    display: flex;
}

.related-product-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 181, 74, 0.3);
    flex-shrink: 0;
}

.related-product-qty-btn:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

.related-product-qty-btn:active {
    transform: scale(0.95);
}

.related-product-qty-input {
    width: 40px;
    height: 32px;
    border: 1px solid #e9ecef;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    outline: none;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.related-product-qty-input:focus {
    outline: none;
}

.related-product-button {
    background: #ffffff !important;
    color: #3BB54A !important;
    cursor: pointer;
    border: 2px solid #3BB54A !important;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    transition: none;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    flex: 1;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    margin: 0 8px 8px 8px;
    overflow: visible;
}

.related-product-button:hover {
    background: #3BB54A !important;
    color: #ffffff !important;
    transform: none;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
}

.related-product-button.added {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

/* Responsive Design for Related Products */
@media (max-width: 1200px) {
    .related-products-container {
        max-width: 100%;
        padding: 0px 30px 0px 30px;
    }

    .related-product-card {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        height: 320px;
    }

    .related-products-slider .slick-slide {
        width: calc((100% - 20px) / 4) !important;
        padding: 0 8px;
    }

    .related-products-slider {
        max-width: calc(100% - 60px);
    }

    /* Allow carousel navigation for tablet */

    .custom-prev-related {
        left: 0px;
    }

    .custom-next-related {
        right: 0px;
    }
}

@media (max-width: 768px) {
    .related-products-container {
        max-width: 100%;
        padding: 0px 25px 0px 25px;
    }

    .related-product-card {
        width: 140px;
        min-width: 140px;
        max-width: 140px;
        height: 320px;
    }

    .related-products-slider .slick-slide {
        width: calc((100% - 15px) / 3) !important;
        padding: 0 6px;
    }

    .related-products-slider {
        max-width: calc(100% - 50px);
    }

    /* Allow carousel navigation for mobile */

    .related-products-title {
        font-size: 2rem;
    }

    .related-product-content {
        padding: 12px;
    }

    .related-product-name {
        font-size: 0.9rem;
    }

    .custom-prev-related {
        left: 0px;
    }

    .custom-next-related {
        right: 0px;
    }
}

@media (max-width: 576px) {
    .related-products-section {
        padding: 30px 0;
    }

    .related-products-container {
        padding: 0px 20px 0px 20px;
    }

    .related-product-card {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        height: 320px;
    }

    .related-products-slider .slick-slide {
        width: calc((100% - 10px) / 2) !important;
        padding: 0 5px;
    }

    .related-products-slider {
        max-width: calc(100% - 40px);
    }

    /* Allow carousel navigation for small mobile */

    .related-products-title {
        font-size: 1.8rem;
    }

    .related-product-content {
        padding: 10px;
    }

    .related-product-name {
        font-size: 0.8rem;
    }

    .related-product-current-price {
        font-size: 0.9rem;
    }

    .custom-prev-related {
        left: 0px;
    }

    .custom-next-related {
        right: 0px;
    }
}

/* Cart Page Enhanced Styling */
.cart-page-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 20px 0;
    overflow-x: hidden;
}

.cart-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.cart-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-page-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
}

.cart-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3bb54a, #2daa5b);
    border-radius: 2px;
}

.cart-page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

/* Empty Cart Styling */
.empty-cart-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.empty-cart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.empty-cart-container:hover .empty-cart-icon {
    opacity: 1;
    transform: scale(1.05);
}

.empty-cart-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.empty-cart-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}
.return-to-shop-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3bb54a, #2daa5b);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
}
.return-to-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.4);
    color: #ffffff;
    text-decoration: none;
}
/* Cart Items Container */
.cart-items-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

@media (max-width: 768px)
{
.cart-items-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 0px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
}
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.cart-table tbody tr {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.cart-table tbody tr:last-child {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

.cart-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.cart-table tbody tr:last-child:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.cart-table td {
    padding: 20px 15px;
    border: none;
    vertical-align: middle;
}

.cart-table td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.cart-table td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Product Image Styling */
.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cart-product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Product Details Styling */
.cart-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.cart-product-name:hover {
    color: #3bb54a;
}

.cart-product-details {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.cart-product-price {
    font-weight: 600;
    color: #3bb54a;
}

/* Quantity Selector Styling */
.cart-quantity-select {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.cart-quantity-select:focus {
    outline: none;
    border-color: #3bb54a;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
}

.cart-quantity-select:hover {
    border-color: #3bb54a;
}

/* Subtotal Styling */
.cart-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Remove Button Styling */
.cart-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-remove-btn:hover {
    background: #dc3545;
    color: #ffffff;
    transform: scale(1.1);
}

/* Clear Cart Button */
.cart-clear-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-clear-btn:hover {
    background: #f8f9fa;
    color: #dc3545;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Order Summary Styling */
.cart-summary-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.cart-summary-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.cart-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cart-summary-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Summary Table Styling */
.cart-summary-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}

.cart-summary-table tbody tr {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.cart-summary-table tbody tr:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.cart-summary-label {
    color: #6c757d;
    font-weight: 500;
    padding: 8px 0;
    text-align: left;
    vertical-align: top;
}

.cart-summary-value {
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    padding: 8px 0;
    vertical-align: top;
}

.cart-summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3bb54a;
}

.cart-free-shipping-note {
    font-size: 0.85rem;
    color: #dc3545;
    text-align: center;
    margin-top: 8px;
    padding: 6px 8px;
    background: #fff5f5;
    border-radius: 6px;
    border: 1px solid #fed7d7;
    display: block;
    width: 100%;
}

/* Checkout Button Styling */
.cart-checkout-btn {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    flex: 1;
    width: auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 181, 74, 0.3);
}

.cart-checkout-btn:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

/* Modal Styling */
.cart-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cart-modal-header {
    border-bottom: 1px solid #f8f9fa;
    padding: 25px 30px;
}

.cart-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.cart-modal-body {
    padding: 30px;
    text-align: center;
}

.cart-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.cart-modal-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cart-modal-btn-primary {
    background: linear-gradient(135deg, #3bb54a, #2daa5b);
    color: #ffffff;
}

.cart-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
}

.cart-modal-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.cart-modal-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

/* Loading Animation */
.cart-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.cart-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3bb54a;
    border-radius: 50%;
    animation: cart-spin 1s linear infinite;
}

@keyframes cart-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .cart-page-title {
        font-size: 2rem;
    }

    .cart-items-container,
    .cart-summary-container {
        padding: 20px;
    }

    .cart-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .cart-page-section {
        padding: 20px 0;
    }

    .cart-page-title {
        font-size: 1.8rem;
    }

    .empty-cart-container {
        padding: 40px 20px;
    }

    .empty-cart-icon {
        width: 80px;
        height: 80px;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-product-image {
        width: 60px;
        height: 60px;
    }

    .cart-quantity-select {
        width: 60px;
        margin-right: 50%;
        font-size: 0.85rem;
    }

    .cart-summary-container {
        position: static;
        margin-top: 20px;
        max-height: none;
        overflow-y: visible;
    }

    .cart-items-container {
        max-height: none;
        overflow-y: visible;
    }

    .cart-summary-table {
        font-size: 0.9rem;
    }

    .cart-free-shipping-note {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
}

@media (max-width: 576px) {
    .cart-page-container {
        padding: 0 15px;
    }

    .cart-page-title {
        font-size: 1.6rem;
    }

    .cart-items-container,
    .cart-summary-container {
        padding: 15px;
        border-radius: 15px;
    }

    .cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        padding: 0px;
    }

    .cart-table td {
        display: block;
        text-align: center;
        padding: 8px 0;
    }

    .cart-product-image {
        width: 80px;
        height: 80px;
        margin: 0 auto 10px;
    }

    .cart-modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cart-modal-btn {
        width: 100%;
    }
}

/* Enhanced Cart Animations */
.cart-item-enter {
    animation: cartItemSlideIn 0.5s ease-out;
}

@keyframes cartItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-exit {
    animation: cartItemSlideOut 0.3s ease-in;
}

@keyframes cartItemSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Cart Page Enhancements */
.cart-page-breadcrumb {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-breadcrumb-item {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cart-breadcrumb-item:hover {
    color: #3bb54a;
    text-decoration: none;
}

.cart-breadcrumb-active {
    color: #2c3e50;
    font-weight: 600;
}

/* Cart Summary Enhancements */
.cart-summary-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #3bb54a;
}

.cart-summary-highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cart-summary-highlight-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Enhanced Form Controls */
.cart-form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.cart-form-control:focus {
    outline: none;
    border-color: #3bb54a;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
}

/* Custom Scrollbar for Cart Items */
.cart-items-container::-webkit-scrollbar {
    width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cart-items-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Custom Scrollbar for Order Summary */
.cart-summary-container::-webkit-scrollbar {
    width: 6px;
}

.cart-summary-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-summary-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cart-summary-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Cart Success States */
.cart-success-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3bb54a;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-success-icon {
    width: 16px;
    height: 16px;
    background: #3bb54a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
}

/* Cart Error States */
.cart-error-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-error-icon {
    width: 16px;
    height: 16px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
}

/* Additional Cart Enhancements */
.cart-item-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-save-for-later {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.cart-save-for-later-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cart-save-for-later-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.cart-save-btn {
    background: #6c757d;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-save-btn:hover {
    background: #495057;
    transform: translateY(-1px);
}

/* Cart Progress Indicator */
.cart-progress-container {
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cart-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cart-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cart-progress-step.active .cart-progress-icon {
    background: #3bb54a;
    color: #ffffff;
}

.cart-progress-step.completed .cart-progress-icon {
    background: #28a745;
    color: #ffffff;
}

.cart-progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.cart-progress-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.cart-progress-step.active .cart-progress-label {
    color: #3bb54a;
    font-weight: 600;
}

.cart-progress-step.completed .cart-progress-label {
    color: #28a745;
    font-weight: 600;
}
.cart-progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}
.cart-progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, #3bb54a, #2daa5b);
    transition: width 0.3s ease;
}
/* Cart Recommendations */
.cart-recommendations {
    margin-top: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.cart-recommendations-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.cart-recommendations-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 25px;
}

.cart-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cart-recommendation-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.cart-recommendation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.cart-recommendation-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.cart-recommendation-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cart-recommendation-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3bb54a;
    margin-bottom: 10px;
}

.cart-recommendation-btn {
    background: #3bb54a;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-recommendation-btn:hover {
    background: #2daa5b;
    transform: translateY(-1px);
}

/* ===== CHECKOUT PAGE ENHANCED STYLING ===== */

/* Checkout Page Container */
.checkout-page-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 20px 0;
    overflow-x: hidden;
}

.checkout-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Checkout Header */
.checkout-page-header {
    text-align: center;
    margin-bottom: 20px;
}
@media(max-width: 768px){
.checkout-page-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top:40px;
}
}

.checkout-page-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
}

.checkout-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3bb54a, #388103);
    border-radius: 2px;
}

.checkout-page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 15px;
}

/* Checkout Progress Steps */
.checkout-progress-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.checkout-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.checkout-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.checkout-progress-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.checkout-progress-step.active .checkout-progress-icon {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
}

.checkout-progress-step.completed .checkout-progress-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.checkout-progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    transition: all 0.3s ease;
}

.checkout-progress-step.active .checkout-progress-label {
    color: #3bb54a;
    font-weight: 700;
}

.checkout-progress-step.completed .checkout-progress-label {
    color: #28a745;
    font-weight: 700;
}

.checkout-progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
    border-radius: 2px;
}

.checkout-progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, #3bb54a, #388103);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Checkout Form Sections */
.checkout-form-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.checkout-form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.checkout-form-header {
    margin-bottom: 0px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.checkout-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form-title i {
    color: #3bb54a;
    font-size: 1.3rem;
}

.checkout-form-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

/* Enhanced Form Controls */
.checkout-form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    width: 100%;
    color: #2c3e50;
}

.checkout-form-control:focus {
    outline: none;
    border-color: #3bb54a;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
    transform: translateY(-1px);
}

.checkout-form-control:hover {
    border-color: #3bb54a;
}

.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

/* Address Selection */
.checkout-address-option {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.checkout-address-option:hover {
    border-color: #3bb54a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.15);
}

.checkout-address-option.selected {
    border-color: #3bb54a;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.2);
}

.checkout-address-option.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    background: #3bb54a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.checkout-address-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.checkout-address-details {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkout-address-phone {
    color: #3bb54a;
    font-weight: 500;
    margin-top: 8px;
}

/* Enhanced Buttons */
.checkout-btn {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    flex: 1;
    width: auto;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

.checkout-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-btn-secondary {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
    flex: 1;
    width: 100%;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 181, 74, 0.3);
}

.checkout-btn-secondary:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.3);
}

/* Order Summary Enhanced */
.checkout-order-summary {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.checkout-order-header {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.checkout-order-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.checkout-order-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.checkout-order-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}

.checkout-order-table tr {
    border-bottom: 1px solid #f8f9fa;
}

.checkout-order-table tr:last-child {
    border-bottom: none;
}

.checkout-order-label {
    color: #6c757d;
    font-weight: 500;
    padding: 12px 0;
    text-align: left;
    vertical-align: top;
}

.checkout-order-value {
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    padding: 12px 0;
    vertical-align: top;
}

.checkout-order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3bb54a;
}

/* Payment Options */
.checkout-payment-options {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.checkout-payment-options .col-md-12 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin: 0;
}

.checkout-payment-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-payment-option:hover {
    border-color: #3bb54a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 181, 74, 0.15);
}

.checkout-payment-option.selected {
    border-color: #3bb54a;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
}

.checkout-payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3bb54a;
}

.checkout-payment-details {
    flex: 1;
}

.checkout-payment-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.checkout-payment-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Items List */
.checkout-items-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.checkout-items-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.checkout-items-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.checkout-items-table {
    width: 100%;
    border-collapse: collapse;
}

.checkout-items-table tr {
    border-bottom: 1px solid #f8f9fa;
}

.checkout-items-table tr:last-child {
    border-bottom: none;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.checkout-item-details {
    padding: 15px 0;
    vertical-align: top;
}

.checkout-item-details h5 {
    margin: 0;
    line-height: 1.2;
}

.checkout-item-details p {
    margin: 0;
    line-height: 1.2;
}

.checkout-item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
    white-space: nowrap;
    display: inline;
}

.checkout-item-quantity {
    font-size: 0.9rem;
    color: #3bb54a;
    font-weight: 500;
    white-space: nowrap;
    display: inline;
}

.checkout-item-variant {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
    display: inline;
}

.checkout-item-price {
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
}

/* Custom scrollbar for checkout items container */
.checkout-items-container::-webkit-scrollbar {
    width: 6px;
}

.checkout-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.checkout-items-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.checkout-items-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Modal Enhancements */
.checkout-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.checkout-modal-header {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
    border: none;
    padding: 25px 30px;
}

.checkout-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.checkout-modal-body {
    padding: 30px;
}

.checkout-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.checkout-modal-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.checkout-modal-btn-primary {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: #ffffff;
}

.checkout-modal-btn-primary:hover {
    background: linear-gradient(135deg, #388103, #2c5a02);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
}

.checkout-modal-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.checkout-modal-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

/* Loading Animation */
.checkout-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.checkout-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3bb54a;
    border-radius: 50%;
    animation: checkout-spin 1s linear infinite;
}

@keyframes checkout-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Responsive Design */
@media (max-width: 992px) {
    .checkout-page-title {
        font-size: 2rem;
    }

    .checkout-form-section,
    .checkout-order-summary {
        padding: 25px;
    }

    .checkout-progress-steps {
        flex-direction: column;
        gap: 20px;
    }

    .checkout-progress-line {
        display: none;
    }
}
@media (max-width: 767px) {
    .modern-product-price-section {
        background: transparent;
        border-radius: 12px;
        padding: 10px;
    }
    .modern-product-price-row {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 5px;
    }
}
@media (max-width: 768px) {
    .checkout-page-section {
        padding: 20px 0;
    }

    .checkout-page-title {
        font-size: 1.8rem;
    }

    .checkout-form-section,
    .checkout-order-summary,
    .checkout-items-container {
        padding: 20px;
        margin-bottom: 20px;
    }

    .checkout-form-title {
        font-size: 1.3rem;
    }

    .checkout-payment-options {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-payment-options .col-md-12 {
        width: 100%;
        flex: 0 0 100%;
    }

    .checkout-btn {
        width: 100%;
        padding: 15px 20px;
    }

    .checkout-modal-actions {
        flex-direction: column;
    }

    .checkout-modal-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .checkout-page-container {
        padding: 0 15px;
    }

    .checkout-page-title {
        font-size: 1.6rem;
    }

    .checkout-form-section,
    .checkout-order-summary,
    .checkout-items-container {
        padding: 15px;
        border-radius: 15px;
    }

    .checkout-form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .checkout-address-option {
        padding: 15px;
    }

    .checkout-item-image {
        width: 50px;
        height: 50px;
    }

    .checkout-item-name {
        font-size: 0.9rem;
    }

    .checkout-item-quantity {
        font-size: 0.8rem;
    }

    .checkout-item-variant {
        font-size: 0.8rem;
    }

    .checkout-btn-secondary {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Login and Signup Form Styling */
/* Enhanced Login Styling */
.login-section {
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 25px 0;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 16px 16px 0 0;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    color: #2c3e50;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.login-subtitle {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 0;
}

.login-form-group {
    margin-bottom: 10px;
    position: relative;
}

.login-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.login-input:focus {
    outline: none;
    border-color: #3BB54A;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
    transform: translateY(-1px);
}

.login-input.textFocused {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.login-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.login-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-error::before {
    content: '⚠';
    font-size: 12px;
    display: none;
}

.login-error.has-error::before {
    display: inline;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.forgot-link {
    color: #3BB54A;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #2d8a3a;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3BB54A, #2d8a3a);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.2);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    color:#fff;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2d8a3a, #1f6b2a);
    box-shadow: 0 6px 16px rgba(59, 181, 74, 0.3);
    transform: translateY(-2px);
    color: #FFF;
}

.login-btn:hover::before {
    left: 100%;
    color:#fff;
}

.login-btn:active {
    transform: translateY(0);
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.login-divider span {
    background: #ffffff;
    padding: 0 20px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    position: relative;
     z-index: 2;
}

.register-link {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
}

.register-link a {
    color: #3BB54A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: #2d8a3a;
    text-decoration: underline;
}

.userExists {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    border: 1px solid #feb2b2;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #c53030;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.1);
}

/* Enhanced Signup Styling */
.signup-section {
    background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.signup-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 16px 16px 0 0;
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
}

.signup-title {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.signup-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3BB54A, #2d8a3a);
    border-radius: 2px;
}

.signup-subtitle {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 0;
}

.signup-form-group {
    margin-bottom: 24px;
    position: relative;
}

.signup-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.signup-input:focus {
    outline: none;
    border-color: #3BB54A;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
    transform: translateY(-1px);
}

.signup-input.textFocused {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.signup-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.signup-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.signup-error::before {
    content: '⚠';
    font-size: 12px;
    display: none;
}

.signup-error.has-error::before {
    display: inline;
}

.signup-success {
    color: #28a745;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.signup-success::before {
    content: '✓';
    font-size: 12px;
    display: none;
}

.signup-success.has-success::before {
    display: inline;
}

.signup-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3BB54A, #2d8a3a);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.2);
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #2d8a3a, #1f6b2a);
    box-shadow: 0 6px 16px rgba(59, 181, 74, 0.3);
    transform: translateY(-2px);
}

.signup-btn:hover::before {
    left: 100%;
}

.signup-btn:active {
    transform: translateY(0);
}

.signup-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.signup-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.signup-divider span {
    background: #ffffff;
    padding: 0 20px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.login-link {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
}

.login-link a {
    color: #3BB54A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #2d8a3a;
    text-decoration: underline;
}

/* Form Row Styling */
.signup-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.signup-form-row.full-width {
    grid-template-columns: 1fr;
}

/* Loading state for buttons */
.login-btn.loading,
.signup-btn.loading {
    background: #6c757d;
    cursor: not-allowed;
}

.login-btn.loading::after,
.signup-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-section,
    .signup-section {
        padding: 20px 0;
    }

    .login-card,
    .signup-card {
        padding: 30px 20px;
        margin: 30px 0px;
    }

    .login-title,
    .signup-title {
        font-size: 28px;
    }

    .login-input,
    .signup-input {
        padding: 14px 16px;
        font-size: 16px;
    }

    .login-btn,
    .signup-btn {
        padding: 14px 20px;
        font-size: 16px;
    }

    .signup-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .login-container,
    .signup-container {
        padding: 0 15px;
    }

    .login-card,
    .signup-card {
        padding: 25px 15px;
    }

    .login-title,
    .signup-title {
        font-size: 24px;
    }

    .login-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Animation for form elements */
.login-card,
.signup-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-input,
.signup-input {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced focus states */
.login-input:focus,
.signup-input:focus {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Password-related pages styling */
/* Captcha Background */
#captchaBackground {
    height: 55px;
    background-color: #20a8ab;
    background-image: url(https://www.transparenttextures.com/patterns/light-toast.png);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(32, 168, 171, 0.2);
}

/* Captcha Text */
#captcha {
    margin-top: 9px;
    font-size: 30px;
    letter-spacing: 3px;
    color: #fff;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Center alignment */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Submit button */
#submit {
    margin-bottom: 1em;
}

/* Text box for captcha */
#textBox {
    width: 100%;
    padding: 2px 10px;
    font-size: 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#textBox:focus {
    background: #fff !important;
    border-color: #3BB54A;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
    outline: none;
}

/* Error text styling */
.redText {
    color: #dc3545;
    font-weight: 500;
}

/* Success text styling */
.greenText {
    color: #28a745;
    font-weight: 500;
}
/* Refresh button */
#refresh {
    border: none;
    background: transparent;
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

#refresh:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
/* Button background styling */
.btn-bg {
    background: #ffffff !important;
    color: #000000 !important;
    cursor: pointer;
    border: 3px solid #388103 !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 129, 3, 0.2);
}
.btn-bg:hover {
    background: #388103 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 129, 3, 0.3);
}
/* Forgot password specific styling */
.forgot-pass {
    margin-top: 16%;
}

.captcha-width {
    width: 100%;
}

/* Header color */
.header-color {
    color: #bc7b59;
}

/* Media queries for password pages */
@media screen and (min-width: 1530px) and (max-width: 1650px) {
    .forgot-pass {
        margin-top: 16%;
    }
    .captcha-width {
        width: 100%;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1500px) {
    .forgot-pass {
        margin-top: 17%;
    }
    .captcha-width {
        width: 100%;
    }
}

@media screen and (min-width: 1530px) and (max-width: 1650px) {
    .forgot-pass {
        margin-top: 20%;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1500px) {
    .forgot-pass {
        margin-top: 17%;
    }
}

/* Enhanced button styling for password pages */
.btn-bg:hover {
    background: #3bb54a !important;
    color: #fff !important;
    cursor: pointer;
    border: 3px solid #3bb54a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 181, 74, 0.3);
}

/* Success message styling for password pages */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #155724;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success-message i {
    font-size: 16px;
    color: #28a745;
}

/* Email sent message styling */
.email-sent-message {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 1px solid #bbdefb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #0d47a1;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-sent-message i {
    font-size: 16px;
    color: #2196f3;
}

/* Resend OTP button styling */
.resend-otp-btn {
   /* background: linear-gradient(135deg, #28a745, #20c997); */
    border: none !important;
    background: none !important;
    color: green;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
   /* transition: all 0.3s ease; */
    text-decoration: underline;
    /*display: inline-block; */
}

/*.resend-otp-btn:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: #16A249;
    text-decoration: none;
}
*/

/* Responsive design for password pages */
@media (max-width: 768px) {
    #captchaBackground {
        height: 50px;
        padding: 0px 10px;
    }

    #captcha {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .btn-bg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .forgot-pass {
        margin-top: 10%;
    }
}

@media (max-width: 576px) {
    #captchaBackground {
        height: 45px;
        padding: 0px 8px;
    }

    #captcha {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .btn-bg {
        padding: 8px 16px;
        font-size: 12px;
    }

    .forgot-pass {
        margin-top: 8%;
    }
}

/* Profile Section - Modern Enhanced Styling */
.profile-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 92vh;
    padding: 15px 0;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.profile-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 10px 0;
}
@media (max-width: 768px){
.profile-header {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 25px;
    padding: 10px 0;
}
}

.profile-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
}

.profile-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3bb54a, #388103);
    border-radius: 2px;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 15px;
}

.profile-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

.profile-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 181, 74, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3bb54a, #388103);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 181, 74, 0.2);
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.profile-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card-title i {
    color: #3bb54a;
    font-size: 1.2rem;
}

.profile-edit-btn {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.profile-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
    color: white;
    text-decoration: none;
}

.profile-edit-btn i {
    font-size: 0.8rem;
}

.profile-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.profile-detail-item:last-child {
    border-bottom: none;
}

.profile-detail-item:hover {
    background: rgba(59, 181, 74, 0.05);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.profile-detail-label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
    font-size: 0.95rem;
}

.profile-detail-separator {
    color: #3bb54a;
    margin: 0 15px;
    font-weight: bold;
}

.profile-detail-value {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
    font-size: 0.95rem;
}

.profile-address-item {
    display: block;
    padding: 6px 0;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 15px;
}

.profile-address-item::before {
    content: '' !important;
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.8rem;
}

/* Location icon only for main address line (not name, city, state, etc.) */
.profile-address-item:not(.name):not(.city):not(.state):not(.postcode):not(.phone):not(.address2)::before {
    content: '📍' !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    font-size: 0.8rem !important;
}

/* Ensure city line only shows building icon, not location icon - with maximum specificity */
.profile-address-item.city::before {
    content: '🏢' !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    font-size: 0.8rem !important;

}



.profile-address-item.name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 5px;
}

.profile-address-item.name::before {
    content: '👤';
}

.profile-address-item.phone::before {
    content: '📞';
}



.profile-address-item.state::before {
    content: '🏛️';
}

.profile-address-item.postcode::before {
    content: '📮';
}

.profile-empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.profile-empty-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.profile-empty-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

/* Profile Modal Enhancements */
.profile-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.profile-modal-header {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 20px 25px;
    border: none;
}

.profile-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.profile-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.profile-modal-body {
    padding: 25px;
}

.profile-form-group {
    margin-bottom: 20px;
}

.profile-form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.profile-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.profile-form-input:focus {
    outline: none;
    border-color: #3bb54a;
    box-shadow: 0 0 0 3px rgba(59, 181, 74, 0.1);
}

.profile-form-input.textFocused {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.profile-form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-form-error::before {
    content: '';
    font-size: 0.8rem;
}

.profile-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.profile-modal-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.profile-modal-btn-secondary {
    background: #6c757d;
    color: white;
}

.profile-modal-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.profile-modal-btn-primary {
    background: linear-gradient(135deg, #3bb54a, #388103);
    color: white;
}

.profile-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 181, 74, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profile-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .profile-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .profile-section {
        padding: 15px 0;
    }

    .profile-title {
        font-size: 2rem;
    }

    .profile-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-card {
        padding: 15px;
    }

    .profile-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .profile-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .profile-detail-label {
        min-width: auto;
    }

    .profile-modal-body {
        padding: 15px;
    }

    .profile-modal-footer {
        padding: 10px 15px;
        flex-direction: column;
    }

    .profile-modal-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .profile-container {
        padding: 0 8px;
    }

    .profile-title {
        font-size: 1.8rem;
    }

    .profile-card {
        padding: 12px;
        border-radius: 15px;
    }

    .profile-card-title {
        font-size: 1.2rem;
    }

    .profile-edit-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .profile-detail-label,
    .profile-detail-value {
        font-size: 0.9rem;
    }

    .profile-address-item {
        font-size: 0.9rem;
        padding-left: 12px;
    }
}

/* Animation Enhancements */
.profile-card {
    animation: profileCardSlideIn 0.6s ease-out;
}

@keyframes profileCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card:nth-child(1) {
    animation-delay: 0.1s;
}

.profile-card:nth-child(2) {
    animation-delay: 0.2s;
}

.profile-card:nth-child(3) {
    animation-delay: 0.3s;
}

.profile-detail-item {
    animation: profileDetailFadeIn 0.4s ease-out;
}

@keyframes profileDetailFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading State */
.profile-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.profile-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3bb54a;
    border-radius: 50%;
    animation: profileSpin 1s linear infinite;
}

@keyframes profileSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error States */
.profile-success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: profileMessageSlideIn 0.5s ease-out;
}

.profile-error-message {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: profileMessageSlideIn 0.5s ease-out;
}

@keyframes profileMessageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== ENHANCED MY ORDERS PAGE STYLES ===== */

/* Enhanced Order Page Container */
.my-orders-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.my-orders-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Enhanced Header Section */
.my-orders-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.my-orders-title {
    color: #bc7b59 !important;
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #bc7b59 0%, #d4a574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.my-orders-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
    border-radius: 2px;
}

/* Enhanced Filter Section */
.my-orders-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.my-orders-select {
    border: 2px solid #3bb54a !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    color: #bc7b59 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.15);
    min-width: 200px;
}

.my-orders-select:focus {
    outline: none !important;
    border-color: #2daa5b !important;
    box-shadow: 0 0 0 4px rgba(59, 181, 74, 0.1) !important;
    transform: translateY(-2px);
}

.my-orders-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 181, 74, 0.2);
}

/* Enhanced Card Container */
.my-orders-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-orders-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Enhanced Table Styles */
.my-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.my-orders-table thead {
    background: linear-gradient(135deg, #388103 0%, #3bb54a 100%);
}

.my-orders-table thead th {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 1.2rem 1rem !important;
    text-align: center;
    border: none;
    position: relative;
}

.my-orders-table thead th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.my-orders-table tbody tr {
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f0f0f0;
}

.my-orders-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.my-orders-table tbody tr:last-child {
    border-bottom: none;
}

.my-orders-table tbody td {
    padding: 1.2rem 1rem !important;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    vertical-align: middle;
    border: none;
}

/* Enhanced Order ID Column */
.my-orders-table tbody td:first-child {
    font-weight: 700;
    color: #bc7b59;
    cursor: pointer;
    transition: all 0.3s ease;
}

.my-orders-table tbody td:first-child:hover {
    color: #3bb54a;
    transform: scale(1.05);
}

/* Enhanced Status Column */
.my-orders-table tbody td:nth-child(3) {
    font-weight: 600;
}

.my-orders-table tbody td:nth-child(3) span {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status-specific colors */
.my-orders-table tbody td:nth-child(3) span:contains("PROCESSING") {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #ffffff;
}

.my-orders-table tbody td:nth-child(3) span:contains("DELIVERED") {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

.my-orders-table tbody td:nth-child(3) span:contains("CANCELLED") {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
}

.my-orders-table tbody td:nth-child(3) span:contains("FAILED") {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
}

/* Enhanced Action Links */
.my-orders-table .action-link {
    color: #3bb54a;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(59, 181, 74, 0.1) 0%, rgba(45, 170, 91, 0.1) 100%);
}

.my-orders-table .action-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
    border-color: #3bb54a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.3);
    text-decoration: none;
}

.my-orders-table .action-link.disabled {
    color: #6c757d;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.my-orders-table .action-link.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Enhanced Empty State */
.my-orders-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.my-orders-empty-icon {
    font-size: 4rem;
    color: #bc7b59;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.my-orders-empty-text {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 500;
}

/* Enhanced Modal Styles */
.my-orders-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.my-orders-modal .modal-header {
    background: linear-gradient(135deg, #388103 0%, #3bb54a 100%);
    color: #ffffff;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.my-orders-modal .modal-title {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.3rem;
}

.my-orders-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.my-orders-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.my-orders-modal .modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Enhanced Progress Bar */
.my-orders-progress {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.my-orders-progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.my-orders-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.my-orders-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.my-orders-progress-step.active:not(:last-child)::after {
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
}

.my-orders-progress-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    z-index: 2;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-orders-progress-step.active .my-orders-progress-dot {
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 181, 74, 0.3);
}

.my-orders-progress-step.completed .my-orders-progress-dot {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.my-orders-progress-label {
    margin-top: 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
}

.my-orders-progress-step.active .my-orders-progress-label {
    color: #3bb54a;
}

.my-orders-progress-step.completed .my-orders-progress-label {
    color: #28a745;
}

/* Enhanced Review Modal */
.my-orders-review-modal .modal-content {
    border-radius: 20px;
    max-width: 900px;
}

.my-orders-review-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.my-orders-review-table thead {
    background: linear-gradient(135deg, #388103 0%, #3bb54a 100%);
}

.my-orders-review-table thead th {
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.my-orders-review-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.my-orders-review-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.my-orders-review-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
}

/* Enhanced Star Rating */
.my-orders-star-rating {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.my-orders-star-rating i {
    font-size: 1.5rem;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.my-orders-star-rating i:hover {
    transform: scale(1.2);
    color: #ffed4e;
}

.my-orders-star-rating i.fas {
    color: #ffd700;
}

.my-orders-star-rating i.far {
    color: #e9ecef;
}

/* Enhanced Form Controls */
.my-orders-form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.my-orders-form-control:focus {
    outline: none;
    border-color: #3bb54a;
    box-shadow: 0 0 0 4px rgba(59, 181, 74, 0.1);
    transform: translateY(-2px);
}

.my-orders-form-control:hover {
    border-color: #3bb54a;
}

/* Enhanced Buttons */
.my-orders-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.my-orders-btn-primary {
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
    color: #ffffff;
    border-color: #3bb54a;
}

.my-orders-btn-primary:hover {
    background: linear-gradient(135deg, #2daa5b 0%, #1f8a4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 181, 74, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.my-orders-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
    border-color: #6c757d;
}

.my-orders-btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
    color: #ffffff;
    text-decoration: none;
}

/* Enhanced Loading State */
.my-orders-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.my-orders-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3bb54a;
    border-radius: 50%;
    animation: my-orders-spin 1s linear infinite;
}

@keyframes my-orders-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .my-orders-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .my-orders-title {
        font-size: 2rem;
    }

    .my-orders-filter {
        flex-direction: column;
        gap: 1rem;
    }

    .my-orders-select {
        min-width: 100%;
    }

    .my-orders-card {
        padding: 1.5rem;
    }

    .my-orders-table thead {
        display: none;
    }

    .my-orders-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 1rem;
        background: #ffffff;
    }

    .my-orders-table tbody td {
        display: block;
        text-align: left;
        padding: 0.5rem 0;
        border: none;
    }

    .my-orders-table tbody td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #bc7b59;
        margin-right: 0.5rem;
    }

    .my-orders-progress-container {
        flex-direction: column;
        gap: 1rem;
    }

    .my-orders-progress-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .my-orders-container {
        padding: 0 0.5rem;
    }

    .my-orders-title {
        font-size: 1.8rem;
    }

    .my-orders-card {
        padding: 1rem;
    }

    .my-orders-modal .modal-body {
        padding: 1rem;
    }

    .my-orders-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Enhanced Animation Effects */
.my-orders-fade-in {
    animation: my-orders-fadeIn 0.6s ease-out;
}

@keyframes my-orders-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.my-orders-slide-in {
    animation: my-orders-slideIn 0.4s ease-out;
}

@keyframes my-orders-slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Hover Effects */
.my-orders-hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-orders-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Enhanced Focus States */
.my-orders-focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 181, 74, 0.2);
}

/* Enhanced Success/Error States */
.my-orders-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.my-orders-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Enhanced Print Styles */
@media print {
    .my-orders-section {
        background: #ffffff;
    }

    .my-orders-card {
        box-shadow: none;
        border: 1px solid #000000;
    }

    .my-orders-table {
        box-shadow: none;
        border: 1px solid #000000;
    }

    .my-orders-btn {
        display: none;
    }
}

/* Enhanced Status Badge Styles */
.my-orders-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.my-orders-status-processing {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.my-orders-status-delivered {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.my-orders-status-cancelled {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.my-orders-status-failed {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.my-orders-status-shipped {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Enhanced Table Row Hover Effects */
.my-orders-table tbody tr {
    position: relative;
    overflow: hidden;
}

.my-orders-table tbody tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 181, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.my-orders-table tbody tr:hover::before {
    left: 100%;
}

/* Enhanced Loading Animation */
.my-orders-loading-pulse {
    animation: my-orders-pulse 1.5s ease-in-out infinite;
}

@keyframes my-orders-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Enhanced Success/Error Messages */
.my-orders-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.my-orders-message.show {
    transform: translateX(0);
}
.my-orders-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.my-orders-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Enhanced Scrollbar */
.my-orders-table::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.my-orders-table::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3bb54a 0%, #2daa5b 100%);
    border-radius: 4px;
}

.my-orders-table::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2daa5b 0%, #1f8a4a 100%);
}

/* Enhanced Focus States for Accessibility */
.my-orders-focus-visible:focus-visible {
    outline: 2px solid #3bb54a;
    outline-offset: 2px;
}
/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .my-orders-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .my-orders-card {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .my-orders-table tbody tr {
        background: #2d2d2d;
        color: #ffffff;
    }

    .my-orders-table tbody tr:hover {
        background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 100%);
    }
}

/* Rice Related Products Slider - Ensure Horizontal Layout */
.rice-related-products-slider {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.rice-related-products-slider::-webkit-scrollbar {
    display: none !important;
}

.rice-related-products-slider .related-product-card {
    min-width: 180px !important;
    max-width: 180px !important;
    flex-shrink: 0 !important;
    margin: 0 2px !important;
}

/* Ensure Slick Carousel works properly for rice products */
.rice-related-products-slider.slick-slider {
    display: flex !important;
}

.rice-related-products-slider .slick-track {
    display: flex !important;
    gap: 15px !important;
}

.rice-related-products-slider .slick-slide {
    width: 180px !important;
    margin: 0 2px !important;
}

/* Responsive adjustments for rice related products */
@media (max-width: 1200px) {
    .rice-related-products-slider .related-product-card {
        min-width: 160px !important;
        max-width: 160px !important;
    }
}

@media (max-width: 768px) {
    .rice-related-products-slider .related-product-card {
        min-width: 140px !important;
        max-width: 140px !important;
    }
}

@media (max-width: 576px) {
    .rice-related-products-slider .related-product-card {
        min-width: 120px !important;
        max-width: 120px !important;
    }
}

/* Zoom level specific adjustments */
@media screen and (min-resolution: 1.3dppx) {
    .featured-products-section {
        padding: 40px 0 20px 0;
    }

    .featured-products-title {
        font-size: 1.9rem;
    }

    .featured-products-subtitle {
        font-size: 0.9rem;
    }
}

/* Force 6 products per row at all zoom levels */
@media (zoom: 0.8) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media (zoom: 0.9) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media (zoom: 1.0) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media (zoom: 1.1) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media (zoom: 1.2) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

/* Override responsive breakpoints at high zoom levels */
@media screen and (min-resolution: 1.1dppx) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media screen and (min-resolution: 1.2dppx) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media screen and (min-resolution: 1.3dppx) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media screen and (min-resolution: 1.4dppx) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media screen and (min-resolution: 1.5dppx) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

/* Ensure grid layout is preserved at all viewport sizes when zoomed */

/* FINAL MOBILE OVERRIDE - Highest priority for mobile devices */
@media (max-width: 768px) {
    /* Force 2 products per row on mobile regardless of any other rules */
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 1 !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 320px !important;
        max-width: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 1 !important;
    }
}

/* Override any zoom-based rules for mobile devices */
@media (max-width: 768px) and (any-hover: none) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 320px !important;
        max-width: none !important;
    }
}

/* Force mobile layout for touch devices */
@media (max-width: 768px) and (pointer: coarse) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 320px !important;
        max-width: none !important;
    }
}

@media (max-width: 576px) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0 6px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 280px !important;
    }
}

@media (max-width: 375px) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
        padding: 0 5px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 260px !important;
    }
}

@media (max-width: 320px) {
    .featured-products-grid,
    .featured-products-section .featured-products-grid,
    .featured-products-container .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
        padding: 0 4px !important;
    }

    .featured-product-card,
    .featured-products-section .featured-product-card,
    .featured-products-container .featured-product-card {
        height: 240px !important;
    }
}
@media (min-width: 1200px) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

/* Override the 1200px breakpoint that was causing 4 columns */
@media (max-width: 1200px) {
    .category-card {
        flex: 0 0 220px;
        min-height: 275px;
        max-width: 220px;
    }

    .category-card-image {
        height: 65%;
    }

    .category-carousel-container {
        padding: 0 50px;
    }

    /* Force 6 products per row even at smaller viewports when zoomed */
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        width: 100%;
        max-width: 180px !important;
        height: 300px !important;
    }
}

/* Additional stability rules for featured products grid */
.featured-products-grid {
    /* Force grid layout */
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;

    /* Prevent layout shifts */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;

    /* Ensure proper sizing */
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;

    /* Prevent overflow issues */
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;

    /* Grid stability */
    grid-auto-rows: minmax(300px, auto) !important;
    grid-auto-flow: row !important;
    align-items: start !important;
    justify-items: center !important;
}

/* Ensure product cards maintain consistent dimensions */
.featured-product-card {
    /* Fixed dimensions */
    width: 100% !important;
    max-width: 180px !important;
    height: 300px !important;
    min-height: 300px !important;

    /* Remove extra spacing */
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    /* Prevent size changes */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;

    /* Ensure proper display */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;

    /* Prevent positioning issues */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
}

/* Override any conflicting responsive rules */
@media (max-width: 1400px) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 1600px) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

/* Force 6 columns at all screen sizes */
@media (max-width: 2000px) {
    .featured-products-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .featured-product-card {
        height: 300px !important;
        max-width: 180px !important;
    }
}

/* Ensure container doesn't interfere with grid */
.featured-products-container {
    /* Prevent container from affecting grid */
    max-width: none !important;
    width: 100% !important;
    padding: 0 20px !important;

    /* Ensure proper positioning */
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;

    /* Prevent overflow */
    overflow: visible !important;
}

/* ===== PREVENT HORIZONTAL SCROLLING ON MOBILE ===== */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* Ensure main container doesn't overflow */
    .main, .home-main {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure featured products section fits within viewport */
    .featured-products-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .featured-products-container {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .featured-products-grid {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .featured-product-card {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Ensure all content within cards fits */
    .featured-product-image-container {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .featured-product-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    .featured-product-content {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-product-options {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-product-select {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-product-actions {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure shop category section doesn't overflow */
    .shop-category-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding: 20px 0px
    }

    .category-carousel-container {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Ensure why rythubidda section fits */
    .why-rythubidda-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px 0px
    }

    .why-rythubidda-container {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Force all elements to respect viewport width */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Ensure images don't cause overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Ensure text doesn't overflow */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
}

/* Additional mobile breakpoints with horizontal scroll prevention */
@media (max-width: 576px) {
    .featured-products-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .category-carousel-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .why-rythubidda-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .featured-products-container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .category-carousel-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .why-rythubidda-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 375px) {
    .featured-products-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .category-carousel-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .why-rythubidda-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 320px) {
    .featured-products-container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .category-carousel-container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .why-rythubidda-container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}
/* ===== REMOVE TOP SPACE ABOVE "FEATURED PRODUCT" STATEMENT ON MOBILE ===== */
@media (max-width: 768px) {
    /* Remove top padding from featured products section on mobile */
    .featured-products-section {
        padding-top: 0 !important;
        padding-bottom: 37px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Ensure header has minimal top margin on mobile */
    .featured-products-header {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        padding-top: 0 !important;
    }

    /* Remove any top margin from the title on mobile */
    .featured-products-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
@media (max-width: 576px) {
    /* Further reduce spacing on smaller mobile devices */
    .featured-products-section {
        padding-top: 0 !important;
        padding-bottom: 25px !important;
    }

    .featured-products-header {
        margin-bottom: 25px !important;
    }
}
@media (max-width: 480px) {
    /* Minimal spacing for very small mobile devices */
    .featured-products-section {
        padding-top: 0 !important;
        padding-bottom: 20px !important;
    }

    .featured-products-header {
        margin-bottom: 20px !important;
    }
}
/* ULTIMATE MOBILE OVERRIDE - Remove top space with maximum specificity */
@media (max-width: 768px) {
    html body .featured-products-section,
    body .featured-products-section,
    .featured-products-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    html body .featured-products-section .featured-products-header,
    body .featured-products-section .featured-products-header,
    .featured-products-section .featured-products-header {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }

    html body .featured-products-section .featured-products-title,
    body .featured-products-section .featured-products-title,
    .featured-products-section .featured-products-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .featured-product-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        padding-bottom: 0 !important;
    }
    .featured-product-content > div:first-child {
        flex: 1 1 auto;
        min-height: 0;
    }
    .featured-product-options {
        margin-bottom: 0 !important;
    }
}
@media (max-width: 375px) {
    .featured-product-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        padding-bottom: 0 !important;
    }
    .featured-product-content > div:first-child {
        flex: 1 1 auto;
        min-height: 0;
    }
    .featured-product-options {
        margin-bottom: 0 !important;
    }
}