﻿/* Enhanced Store Details CSS - ACV Brand Colors */
:root {
    --acv-primary: #1e3a8a;      /* ACV Blue */
    --acv-secondary: #3b82f6;    /* ACV Light Blue */
    --acv-accent: #1d4ed8;       /* ACV Dark Blue */
    --acv-gray: #6b7280;         /* ACV Gray */
    --acv-light-gray: #f3f4f6;   /* ACV Light Gray */
    --acv-white: #ffffff;
    --acv-shadow: rgba(30, 58, 138, 0.1);
    --acv-shadow-hover: rgba(30, 58, 138, 0.2);
}


/* Global responsive fixes - CRITICAL */
.shop-detail-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.shop-detail-content * {
    box-sizing: border-box;
}

/* Enhanced Tabs Styling */
.shop-detail-content .nav-tabs {
    border: none !important;
    background: linear-gradient(135deg, var(--acv-light-gray) 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 12px var(--acv-shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 4px;
}

.shop-detail-content .nav-item {
    margin: 0;
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}

.shop-detail-content .nav-link {
    border: none !important;
    background: transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--acv-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    width: auto;
    min-width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    min-height: 36px;
    line-height: 1.2;
}

.shop-detail-content .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.shop-detail-content .nav-link:hover::before {
    left: 100%;
}

.shop-detail-content .nav-link:hover {
    color: var(--acv-primary);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--acv-shadow-hover);
}

.shop-detail-content .nav-link.active {
    background: var(--acv-primary);
    color: var(--acv-white);
    box-shadow: 0 4px 12px var(--acv-shadow-hover);
    transform: translateY(-1px);
}



/* Enhanced Tab Content */
.shop-detail-content .tab-content {
    background: var(--acv-white);
    border: none !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--acv-shadow);
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.shop-detail-content .tab-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.shop-detail-content .tab-pane {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Store Info Section */
.shop-detail-content .d-flex.align-items-center.mb-3 {
    background: linear-gradient(135deg, var(--acv-light-gray) 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px !important;
    transition: all 0.3s ease;
    width: 100%;
}

.shop-detail-content .d-flex.align-items-center.mb-3:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px var(--acv-shadow);
}

.shop-detail-content .d-flex.align-items-center.mb-3 img {
    border: 4px solid var(--acv-white) !important;
    box-shadow: 0 8px 25px var(--acv-shadow) !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shop-detail-content .d-flex.align-items-center.mb-3:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px var(--acv-shadow-hover) !important;
}

.shop-detail-content h3 {
    color: var(--acv-primary);
    font-weight: 700;
    margin-bottom: 12px !important;
    font-size: 1.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Enhanced Badge Styling */
.shop-detail-content .badge {
    background: var(--acv-primary) !important;
    color: var(--acv-white) !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 2px;
}

.shop-detail-content .badge::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 ease;
}

.shop-detail-content .badge:hover::before {
    left: 100%;
}

.shop-detail-content .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--acv-shadow-hover);
}

/* Enhanced Info List */
.shop-detail-content .shop-info-list {
    background: var(--acv-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px var(--acv-shadow);
    width: 100%;
}

.shop-detail-content .shop-info-list .d-flex {
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 8px !important;
    width: 100%;
    align-items: center;
}

.shop-detail-content .shop-info-list .d-flex:hover {
    background: var(--acv-light-gray);
    transform: translateX(8px);
}

.shop-detail-content .shop-info-list svg {
    color: var(--acv-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shop-detail-content .shop-info-list .d-flex:hover svg {
    transform: scale(1.2);
    color: var(--acv-secondary);
}

.shop-detail-content .shop-info-list span {
    color: var(--acv-gray);
    font-weight: 500;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Enhanced About Section */
.shop-detail-content .about-description {
    background: linear-gradient(135deg, var(--acv-light-gray) 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px var(--acv-shadow);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.shop-detail-content .about-description .p-4 {
    padding: 1.5rem !important;
    width: 100%;
    max-width: 100%;
}

.shop-detail-content .about-description .fs-5 {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.shop-detail-content .about-description:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px var(--acv-shadow-hover);
}

/* Enhanced Promotion Section */
.shop-detail-content .promotion-header h3 {
    color: var(--acv-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.shop-detail-content .promotion-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--acv-primary), var(--acv-secondary));
    border-radius: 2px;
}

.shop-detail-content .promotion-description {
    background: linear-gradient(135deg, var(--acv-light-gray) 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px var(--acv-shadow);
    transition: all 0.3s ease;
    width: 100%;
}

.shop-detail-content .promotion-description:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px var(--acv-shadow-hover);
}

.shop-detail-content .rounded-3.shadow-sm {
    background: linear-gradient(135deg, var(--acv-white) 0%, var(--acv-light-gray) 100%);
    box-shadow: 0 4px 20px var(--acv-shadow) !important;
    transition: all 0.3s ease;
    width: 100%;
}

.shop-detail-content .rounded-3.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px var(--acv-shadow-hover) !important;
}

.shop-detail-content .rounded-3.shadow-sm h5 {
    color: var(--acv-primary);
    font-weight: 700;
}

.shop-detail-content .rounded-3.shadow-sm .fw-semibold {
    color: var(--acv-accent);
}

/* Enhanced Back Button */
.shop-detail-content .arrow-icon {
    background: linear-gradient(135deg, var(--acv-primary) 0%, var(--acv-secondary) 100%) !important;
    color: var(--acv-white) !important;
    padding: 16px 32px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--acv-shadow);
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.shop-detail-content .arrow-icon::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 ease;
}

.shop-detail-content .arrow-icon:hover::before {
    left: 100%;
}

.shop-detail-content .arrow-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--acv-shadow-hover);
}

/* New modern back button styles */
.back-button-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #374151;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .back-button-modern:hover {
        background: #082971;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(31, 41, 55, 0.4);
        color: white;
        text-decoration: none;
    }

.back-button-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(55, 65, 81, 0.3);
}

.back-button-modern .back-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.back-button-modern:hover .back-icon {
    transform: translateX(-3px);
}
/* Fixed position back button */
.back-button-fixed {
    position: fixed;
    top: 150px;
    left: 20px;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: transparent;
    border-radius: 50px;
    padding: 0;
    box-shadow: none;
}



.back-button-fixed .back-button-modern {
    background: #374151;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Floating back button */
.back-button-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: #374151;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button-floating:hover {
    background: #1f2937;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.5);
}

.back-button-floating .back-icon {
    width: 24px;
    height: 24px;
}

/* RESPONSIVE DESIGN - OPTIMIZED */
@media (max-width: 1200px) {
    .shop-detail-content .tab-pane {
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 22px;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 22px;
    }
}

@media (max-width: 991.98px) {
    .shop-detail-content {
        padding: 0 15px;
    }
    
    .shop-detail-content .nav-tabs {
        padding: 5px;
        border-radius: 12px;
        margin-bottom: 18px;
        max-width: 100%;
        gap: 4px;
    }
    
    .shop-detail-content .nav-link {
        padding: 10px 14px;
        font-size: 0.95rem;
        min-height: 34px;
        min-width: 110px;
    }
    
    .shop-detail-content .tab-pane {
        padding: 24px 15px;
    }
    
    .shop-detail-content .tab-pane .p-4 {
        padding: 1.25rem !important;
    }
    
    .shop-detail-content .about-description .p-4 {
        padding: 1.25rem !important;
    }
    
    .shop-detail-content .about-description .fs-5 {
        font-size: 1.05rem !important;
        line-height: 1.55 !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 20px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 img {
        margin-right: 18px !important;
        margin-bottom: 0;
        width: 75px !important;
        height: 75px !important;
    }
    
    .shop-detail-content h3 {
        font-size: 1.7rem;
        margin-bottom: 10px !important;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 20px;
    }
    
    .shop-detail-content .shop-info-list .d-flex {
        padding: 12px 14px;
        margin-bottom: 8px !important;
    }
    
    .shop-detail-content .shop-info-list span {
        font-size: 1.05rem;
    }
    
    .shop-detail-content .arrow-icon {
        padding: 14px 28px !important;
        font-size: 1.05rem !important;
    }
}

@media (max-width: 768px) {
    .shop-detail-content {
        padding: 0 12px;
    }
    
    .shop-detail-content .nav-tabs {
        padding: 4px;
        border-radius: 10px;
        max-width: 100%;
        gap: 3px;
    }
    
    .shop-detail-content .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 32px;
        min-width: 90px;
    }
    
    .shop-detail-content .tab-pane {
        padding: 20px 12px;
    }
    
    .shop-detail-content .tab-pane .p-4 {
        padding: 1rem !important;
    }
    
    .shop-detail-content .about-description .p-4 {
        padding: 1rem !important;
    }
    
    .shop-detail-content .about-description .fs-5 {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 18px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 img {
        margin-right: 0 !important;
        margin-bottom: 14px;
        width: 85px !important;
        height: 85px !important;
    }
    
    .shop-detail-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 18px;
    }
    
    .shop-detail-content .shop-info-list .d-flex {
        padding: 10px 12px;
        flex-direction: row;
        align-items: center;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:first-child {
        flex-shrink: 0;
        margin-right: 12px;
        width: 22px;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:last-child {
        flex: 1;
        word-break: break-word;
    }
    
    .shop-detail-content .arrow-icon {
        padding: 12px 26px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .shop-detail-content {
        padding: 0 8px;
    }
    
    .shop-detail-content .nav-tabs {
        padding: 3px;
        border-radius: 8px;
        margin-bottom: 14px;
        max-width: 100%;
        gap: 2px;
    }
    
    .shop-detail-content .nav-link {
        padding: 6px 10px;
        font-size: 0.85rem;
        border-radius: 6px;
        min-height: 28px;
        min-width: 75px;
    }
    
    .shop-detail-content .tab-pane {
        padding: 16px 8px;
    }
    
    .shop-detail-content .tab-pane .p-4 {
        padding: 0.75rem !important;
    }
    
    .shop-detail-content .about-description .p-4 {
        padding: 0.75rem !important;
    }
    
    .shop-detail-content .about-description .fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 14px;
        margin-bottom: 14px !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 img {
        width: 75px !important;
        height: 75px !important;
        margin-bottom: 12px;
    }
    
    .shop-detail-content h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .shop-detail-content .badge {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        margin-bottom: 4px;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 14px;
        border-radius: 12px;
    }
    
    .shop-detail-content .shop-info-list .d-flex {
        padding: 8px 10px;
        margin-bottom: 6px !important;
        border-radius: 8px;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:first-child {
        width: 20px;
        margin-right: 10px;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:last-child {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .shop-detail-content .shop-info-list svg {
        width: 18px;
        height: 18px;
    }
    
    .shop-detail-content .arrow-icon {
        padding: 10px 22px !important;
        font-size: 0.95rem !important;
        border-radius: 20px !important;
    }
    
    /* Fix for promotion section on mobile */
    .shop-detail-content .promotion-header h3 {
        font-size: 1.3rem;
        padding-bottom: 8px;
    }
    
    .shop-detail-content .promotion-description {
        padding: 0.75rem !important;
    }
    
    .shop-detail-content .about-description {
        padding: 0.75rem !important;
    }
    
    .shop-detail-content .rounded-3.shadow-sm {
        padding: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .shop-detail-content {
        padding: 0 5px;
    }
    
    .shop-detail-content .nav-tabs {
        padding: 2px;
        border-radius: 6px;
        max-width: 100%;
        gap: 1px;
    }
    
    .shop-detail-content .nav-link {
        padding: 5px 8px;
        font-size: 0.8rem;
        border-radius: 4px;
        min-height: 24px;
        min-width: 65px;
    }
    
    .shop-detail-content .tab-pane {
        padding: 12px 5px;
    }
    
    .shop-detail-content .tab-pane .p-4 {
        padding: 0.5rem !important;
    }
    
    .shop-detail-content .about-description .p-4 {
        padding: 0.5rem !important;
    }
    
    .shop-detail-content .about-description .fs-5 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 12px;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .shop-detail-content h3 {
        font-size: 1.3rem;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 12px;
    }
    
    .shop-detail-content .shop-info-list .d-flex {
        padding: 6px 8px;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:last-child {
        font-size: 0.9rem;
    }
    
    .shop-detail-content .arrow-icon {
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 360px) {
    .shop-detail-content {
        padding: 0 3px;
    }
    
    .shop-detail-content .nav-tabs {
        padding: 1px;
        border-radius: 4px;
        max-width: 100%;
        gap: 1px;
    }
    
    .shop-detail-content .nav-link {
        padding: 4px 6px;
        font-size: 0.75rem;
        border-radius: 3px;
        min-height: 22px;
        min-width: 55px;
    }
    
    .shop-detail-content .tab-pane {
        padding: 10px 3px;
    }
    
    .shop-detail-content .tab-pane .p-4 {
        padding: 0.375rem !important;
    }
    
    .shop-detail-content .about-description .p-4 {
        padding: 0.375rem !important;
    }
    
    .shop-detail-content .about-description .fs-5 {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 {
        padding: 10px;
    }
    
    .shop-detail-content .d-flex.align-items-center.mb-3 img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .shop-detail-content h3 {
        font-size: 1.2rem;
    }
    
    .shop-detail-content .shop-info-list {
        padding: 10px;
    }
    
    .shop-detail-content .shop-info-list .d-flex {
        padding: 5px 6px;
    }
    
    .shop-detail-content .shop-info-list .d-flex span:last-child {
        font-size: 0.85rem;
    }
    
    .shop-detail-content .arrow-icon {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
    }
}

/* Loading Animation for Tab Content */
.shop-detail-content .tab-pane.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-detail-content .tab-pane.fade.show {
    opacity: 1;
}

/* Smooth transitions for all interactive elements */
.shop-detail-content * {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.shop-detail-content .nav-link:focus {
    outline: 2px solid var(--acv-secondary);
    outline-offset: 2px;
}

.shop-detail-content .arrow-icon:focus {
    outline: 2px solid var(--acv-white);
    outline-offset: 2px;
}

/* Recommended Stores Section */
.recommended-stores-section {
    background: var(--acv-white);
    padding: 16px 0 40px 0;
    margin-top: 4px;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--acv-shadow);
}

.recommended-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.recommended-title {
    color: var(--acv-primary);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.recommended-description {
    color: var(--acv-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.recommended-stores-swiper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.recommendedSwiper {
    width: 100%;
    height: 100%;
}

.recommended-store-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--acv-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
    background: var(--acv-white);
    text-decoration: none;
    display: block;
}

.recommended-store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--acv-shadow-hover);
}

.store-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.store-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-store-card:hover .store-image {
    transform: scale(1.05);
}

.store-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1976d2;
    padding: 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 -4px 20px rgba(25, 118, 210, 0.3);
}

.recommended-store-card:hover .store-name-overlay {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 -6px 25px rgba(25, 118, 210, 0.4);
}

.store-name {
    color: var(--acv-white);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Swiper customization for recommended stores */
.recommendedSwiper .swiper-slide {
    width: auto;
    height: 340px;
}

.recommendedSwiper .swiper-wrapper {
    align-items: stretch;
}

/* Alternative layout style - Bottom name section */
.recommended-store-card-alt {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--acv-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
    background: var(--acv-white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.recommended-store-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--acv-shadow-hover);
}

.store-image-container-alt {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.store-image-alt {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-store-card-alt:hover .store-image-alt {
    transform: scale(1.05);
}

.store-name-section {
    background: #1976d2;
    color: white;
    padding: 16px 20px;
    text-align: center;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 10px rgba(25, 118, 210, 0.2);
}

.recommended-store-card-alt:hover .store-name-section {
    background: #1565c0;
    box-shadow: 0 -4px 15px rgba(25, 118, 210, 0.3);
}

.store-name-alt {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* New layout style - Overlay with rounded top corners */
.recommended-store-card-overlay {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--acv-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
    background: var(--acv-white);
    text-decoration: none;
    display: block;
}

.recommended-store-card-overlay:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--acv-shadow-hover);
}

.store-image-container-overlay {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.store-image-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-store-card-overlay:hover .store-image-overlay {
    transform: scale(1.05);
}

.store-name-overlay-new {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e3a8a;
    color: white;
    padding: 20px;
    text-align: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 -4px 20px rgba(30, 58, 138, 0.4);
}

.recommended-store-card-overlay:hover .store-name-overlay-new {
    background: #1e40af;
    box-shadow: 0 -6px 25px rgba(30, 58, 138, 0.5);
}

.store-name-overlay-text {
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* New compact layout style - Name below image */
.recommended-store-card-compact {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 340px;
    background: var(--acv-white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.recommended-store-card-compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 118, 210, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.recommended-store-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.recommended-store-card-compact:hover::after {
    opacity: 1;
}

.store-image-container-compact {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: -4px;
}

.store-image-compact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-store-card-compact:hover .store-image-compact {
    transform: scale(1.05);
}

.store-name-bar-compact {
    background: #374151;
    color: white;
    padding: 10px 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.store-name-bar-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.recommended-store-card-compact:hover .store-name-bar-compact {
    background: #1f2937;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.recommended-store-card-compact:hover .store-name-bar-compact::before {
    left: 100%;
}

.store-name-compact {
    font-weight: 800;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.recommended-store-card-compact:hover .store-name-compact {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    transform: scale(1.02);
}

/* Responsive for back button */
@media (min-width:992px) and (max-width: 1200px) {
    .back-button-fixed {
        top: 200px;
        left: 15px;
        padding: 0;
    }
}
    @media (max-width: 768px) {
        .back-button-fixed {
            top: 150px;
            left: 15px;
            padding: 0;
        }

            .back-button-fixed .back-button-modern {
                padding: 6px 12px;
                font-size: 0.85rem;
            }

        .back-button-modern .back-icon {
            width: 16px;
            height: 16px;
        }
    }

    @media (max-width: 480px) {
        .back-button-fixed {
            top: 150px;
            left: 10px;
            padding: 0;
        }

            .back-button-fixed .back-button-modern {
                padding: 5px 10px;
                font-size: 0.8rem;
            }

        .back-button-modern .back-icon {
            width: 14px;
            height: 14px;
        }
    }

    /* Responsive for recommended stores */
    @media (max-width: 1200px) {
        .recommended-stores-section {
            padding: 12px 0 32px 0;
            margin-top: 2px;
        }

        .recommended-title {
            font-size: 2rem;
        }

        .recommended-description {
            font-size: 1rem;
        }

        .recommendedSwiper .swiper-slide {
            height: 320px;
        }

        .recommended-store-card-compact {
            height: 320px;
        }

        .store-image-container-compact {
            height: 320px;
        }

        .recommended-store-card {
            height: 260px;
        }
    }

    @media (max-width: 991.98px) {
        .recommended-stores-section {
            padding: 8px 0 28px 0;
            margin-top: 1px;
        }

        .recommended-header {
            padding: 0 15px;
            text-align: center;
        }

        .recommended-title {
            font-size: 1.8rem;
            margin-bottom: 12px;
        }

        .recommended-description {
            font-size: 0.95rem;
            text-align: center;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .recommended-stores-swiper {
            padding: 0 15px;
        }

        .recommendedSwiper .swiper-slide {
            height: 280px;
        }

        .recommended-store-card-compact {
            height: 280px;
        }

        .store-image-container-compact {
            height: 280px;
        }

        .store-name-bar-compact {
            padding: 6px 12px;
            margin-top: auto;
        }

        .store-name-compact {
            font-size: 0.8rem;
        }
    }

    @media (max-width: 768px) {
        .recommended-stores-section {
            padding: 6px 0 24px 0;
            margin-top: 0px;
        }

        .recommended-header {
            padding: 0 12px;
        }

        .recommended-title {
            font-size: 1.6rem;
            margin-bottom: 10px;
        }

        .recommended-description {
            font-size: 0.9rem;
        }

        .recommended-stores-swiper {
            padding: 0 12px;
        }

        .recommendedSwiper .swiper-slide {
            height: 300px;
        }

        .recommended-store-card-compact {
            height: 300px;
        }

        .store-image-container-compact {
            height: 300px;
        }

        .store-name-bar-compact {
            padding: 5px 10px;
            margin-top: auto;
        }

        .store-name-compact {
            font-size: 0.75rem;
        }
    }

    @media (max-width: 576px) {
        .recommended-stores-section {
            padding: 4px 0 20px 0;
            margin-top: 0px;
        }

        .recommended-header {
            padding: 0 10px;
        }

        .recommended-title {
            font-size: 1.4rem;
            margin-bottom: 8px;
        }

        .recommended-description {
            font-size: 0.85rem;
        }

        .recommended-stores-swiper {
            padding: 0 10px;
        }

        .recommendedSwiper .swiper-slide {
            height: 300px;
        }

        .recommended-store-card-compact {
            height: 300px;
        }

        .store-image-container-compact {
            height: 300px;
        }

        .store-name-bar-compact {
            padding: 5px 10px;
            margin-top: auto;
        }

        .store-name-overlay {
            padding: 8px 10px;
        }

        .store-name {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 480px) {
        .recommended-stores-section {
            padding: 16px 0;
        }

        .recommended-header {
            padding: 0 8px;
        }

        .recommended-title {
            font-size: 1.3rem;
            margin-bottom: 6px;
        }

        .recommended-description {
            font-size: 0.8rem;
        }

        .recommended-stores-swiper {
            padding: 0 8px;
        }

        .recommendedSwiper .swiper-slide {
            height: 280px;
        }

        .recommended-store-card-compact {
            height: 280px;
        }

        .store-image-container-compact {
            height: 280px;
        }

        .store-name-bar-compact {
            padding: 4px 8px;
            margin-top: auto;
        }

        .store-name-overlay {
            padding: 6px 8px;
        }

        .store-name {
            font-size: 0.85rem;
        }
    }