/**
 * =====================================================================
 * SocialBoost Shop V3 - Premium Brand Design CSS
 * =====================================================================
 * Brand Colors: Indigo #5d87ff, Orange #F97316, Navy #0A2540
 */

:root {
    /* Brand Primary Colors */
    --brand-primary: #5d87ff;
    --brand-primary-dark: #4a6fd8;
    --brand-primary-light: #7fa0ff;
    --brand-secondary: #764ba2;
    --brand-orange: #F97316;
    --brand-orange-light: #FB923C;
    --brand-navy: #0A2540;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5d87ff 0%, #764ba2 100%);
    --gradient-orange: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%);
    --gradient-hero: linear-gradient(135deg, rgba(93, 135, 255, 0.9) 0%, rgba(118, 75, 162, 0.85) 100%);

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Neutral Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-brand: 0 10px 40px rgba(93, 135, 255, 0.3);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

/* ===== SHOP HERO ===== */
.shop-hero-v3 {
    margin-bottom: 24px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.shop-banner-v3 {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.shop-info-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.shop-avatar-wrapper-v3 {
    position: relative;
    flex-shrink: 0;
}

.shop-avatar-v3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    background: white;
}

.online-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--success);
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.shop-info-content {
    flex: 1;
    min-width: 300px;
    color: white;
}

.shop-name-row-v3 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.shop-name-v3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.star-seller-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-gold);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.verified-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* Shop Type Badges */
.shop-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-type-mall {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.shop-type-trusted {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.shop-type-premium {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    animation: shimmer 2s infinite;
}

.shop-type-new {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.shop-meta-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-divider {
    opacity: 0.5;
}

.shop-stats-v3 {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item-v3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.stat-item-v3 .stat-value {
    font-weight: 700;
    font-size: 16px;
}

.stat-item-v3 .stat-label {
    opacity: 0.8;
}

.stat-item-v3 i {
    color: var(--brand-orange);
}

/* Shop Actions */
.shop-actions-v3 {
    display: flex;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}

.btn-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--brand-primary);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-message:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--brand-navy);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-follow.following {
    background: var(--gradient-primary);
}

.btn-share {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-share:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ===== SHOP TABS ===== */
.shop-tabs-v3 {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow-x: auto;
}

.shop-tab-v3 {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.shop-tab-v3:hover {
    color: var(--brand-primary);
    background: rgba(93, 135, 255, 0.08);
}

.shop-tab-v3.active {
    background: var(--gradient-primary);
    color: white;
}

.shop-tab-v3 .tab-count {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

.shop-tab-v3:not(.active) .tab-count {
    background: var(--bg-light);
}

/* ===== MAIN LAYOUT ===== */
.shop-main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .shop-main-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar-v3 {
        display: none;
    }
}

/* ===== SIDEBAR ===== */
.shop-sidebar-v3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-title i {
    color: var(--brand-primary);
}

/* Categories */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.category-item:hover {
    background: rgba(93, 135, 255, 0.08);
    color: var(--brand-primary);
}

.category-item.active {
    background: var(--gradient-primary);
    color: white;
}

.category-item.active .cat-count {
    background: rgba(255, 255, 255, 0.2);
}

.cat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.cat-hash {
    font-weight: 700;
    font-size: 16px;
    color: var(--brand-primary);
}

.category-item.active .cat-hash {
    color: white;
}

.category-item.active .cat-icon {
    background: rgba(255, 255, 255, 0.2);
}

.cat-name {
    flex: 1;
    font-weight: 500;
}

.cat-count {
    font-size: 12px;
    padding: 2px 8px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
}

.category-sale {
    border: 2px dashed var(--brand-orange);
}

.category-sale:hover {
    background: rgba(249, 115, 22, 0.08);
    color: var(--brand-orange);
}

.sale-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: var(--gradient-orange);
    color: white;
    border-radius: var(--radius-sm);
    animation: pulse 2s infinite;
}

/* Mini Stats */
.shop-mini-info .mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.mini-stat {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(93, 135, 255, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: var(--radius-md);
}

.mini-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-label {
    font-size: 12px;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-cta-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cta-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(93, 135, 255, 0.05);
}

/* Trust Section */
.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.trust-list li:last-child {
    border-bottom: none;
}

.trust-list .text-success {
    color: var(--success) !important;
}

/* ===== PRODUCTS AREA ===== */
.shop-products-area {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.products-header-v3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.products-title-v3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.products-title-v3 i {
    color: var(--brand-primary);
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    background: white;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Products Grid */
.products-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .products-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .products-grid-v3 {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card-v3 {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image-v3 {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card-v3:hover .product-image-v3 img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-orange);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Flash Sale Badge V3 - Shop Product Card */
.flash-sale-badge-v3 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: flash-pulse-v3 1.5s infinite;
    z-index: 2;
}

.flash-sale-badge-v3 i {
    animation: bolt-flash-v3 0.8s infinite;
}

@keyframes flash-pulse-v3 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    }
}

@keyframes bolt-flash-v3 {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Price Range Style */
.price-range {
    font-size: 14px !important;
}

/* Flash Sale Badge - Premium Style */
.flash-sale-badge {
    position: absolute;
    top: 48px;
    left: 12px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: flash-pulse 1.5s infinite;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flash-sale-badge i {
    font-size: 10px;
    animation: bolt-flash 0.8s infinite;
}

@keyframes flash-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    }
}

@keyframes bolt-flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    color: var(--text-muted);
}

.product-card-v3:hover .wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.wishlist-btn:hover {
    background: var(--danger);
    color: white;
}

.quick-actions {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s;
}

.product-card-v3:hover .quick-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-view,
.quick-cart {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.quick-view:hover,
.quick-cart:hover {
    background: var(--brand-primary);
    color: white;
}

.product-content-v3 {
    padding: 16px;
}

.product-title-v3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-v3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.product-title-v3 a:hover {
    color: var(--brand-primary);
}

.product-price-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.product-price-v3 .price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
}

.product-price-v3 .price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Discount Badge - Inline version in price section */
.product-price-v3 .discount-badge {
    position: static;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: none;
}

.product-meta-v3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-rating-v3 {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-rating-v3 i {
    color: var(--warning);
}

.product-sold-v3 i {
    color: var(--brand-orange);
}

/* Empty Products */
.empty-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-products i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-products h4 {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* ===== ERROR CARD ===== */
.shop-error-card {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--danger);
}

.shop-error-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.shop-error-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-brand-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
    color: white;
}

/* ===== MESSAGE MODAL ===== */
.message-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.message-modal.show {
    opacity: 1;
    visibility: visible;
}

.message-modal-content {
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s;
    box-shadow: var(--shadow-xl);
}

.message-modal.show .message-modal-content {
    transform: translateY(0);
}

.message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--gradient-primary);
    color: white;
}

.message-modal-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
}

.close-modal:hover {
    opacity: 1;
}

.message-modal-body {
    padding: 24px;
}

.message-modal-body textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    resize: none;
    transition: border-color 0.2s;
}

.message-modal-body textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.message-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.btn-cancel {
    padding: 12px 24px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.btn-send {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send:hover {
    box-shadow: var(--shadow-brand);
}

/* ===== RESPONSIVE ===== */

/* Tablet & Scroll Fix */
@media (max-width: 1024px) {
    .shop-hero-v3 {
        margin-bottom: 24px;
        /* CRITICAL FIX: Ensure hero stays below sticky header during scroll */
        position: relative;
        z-index: 0;
    }

    .shop-banner-v3 {
        height: 260px;
    }

    .shop-info-overlay {
        padding: 24px;
    }

    .shop-avatar-v3 {
        width: 100px;
        height: 100px;
    }

    .shop-name-v3 {
        font-size: 1.7rem;
    }

    .shop-main-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar-v3 {
        display: none;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    /* Hero Section - Compact & Safe */
    .shop-hero-v3 {
        border-radius: var(--radius-lg);
        margin-bottom: 16px;
        overflow: hidden;
        /* Prevent overflow issues */
        box-shadow: var(--shadow-md);
        /* Ensure z-index is lower than header (usually 100-1000) */
        z-index: 0;
    }

    .shop-banner-v3 {
        height: auto;
        min-height: auto;
        padding-top: 30px;
        /* Space for top items */
        padding-bottom: 20px;
    }

    /* Info Overlay */
    .shop-info-overlay {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 16px;
        width: 100%;
    }

    /* Avatar */
    .shop-avatar-wrapper-v3 {
        margin-top: -10px;
    }

    .shop-avatar-v3 {
        width: 80px;
        height: 80px;
        border-width: 3px;
        box-shadow: var(--shadow-md);
    }

    /* Typography */
    .shop-name-v3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 4px;
        word-wrap: break-word;
    }

    .shop-name-row-v3 {
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    /* Stats & Meta */
    .shop-meta-v3 {
        justify-content: center;
        font-size: 13px;
        margin-bottom: 12px;
        gap: 12px;
    }

    .shop-stats-v3 {
        justify-content: center;
        gap: 16px;
        margin-bottom: 12px;
    }

    .stat-item-v3 i {
        font-size: 14px;
    }

    /* Action Buttons - Optimized touch targets */
    .shop-actions-v3 {
        justify-content: center;
        margin-left: 0;
        width: 100%;
        gap: 10px;
        margin-top: 0;
    }

    .btn-message,
    .btn-follow {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
        height: 40px;
    }

    .btn-share {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    /* Tabs - Smooth Scroll */
    .shop-tabs-v3 {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px 4px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 16px;
    }

    .shop-tabs-v3::-webkit-scrollbar {
        display: none;
    }

    .shop-tab-v3 {
        min-width: fit-content;
        padding: 10px 16px;
        font-size: 13px;
        flex: 0 0 auto;
    }

    .shop-tab-v3 span:first-of-type {
        display: inline;
        /* Keep text visible */
    }

    /* Content Area */
    .shop-products-area,
    .shop-tab-content {
        padding: 16px;
    }

    .products-header-v3 {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .products-title-v3 {
        justify-content: center;
    }

    .sort-select {
        text-align: center;
        text-align-last: center;
    }
}

/* Small Screen Optimization */
@media (max-width: 400px) {
    .shop-name-v3 {
        font-size: 1.2rem;
    }

    .shop-stats-v3 {
        gap: 10px;
    }

    .btn-message,
    .btn-follow {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Shop Listing */
.shop-listing-header {
    text-align: center;
    padding: 40px 20px;
}

.shop-listing-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.shop-listing-coming {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    color: var(--text-muted);
}

.shop-listing-coming i {
    font-size: 4rem;
    margin-bottom: 16px;
    color: var(--brand-primary);
    opacity: 0.5;
}

/* ===== TAB CONTENT SECTIONS ===== */
.shop-tab-content {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    min-height: 300px;
}

.content-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.content-card h3 i {
    color: var(--brand-primary);
}

.about-content,
.policy-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.empty-content {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== CATEGORY HASH ICON ===== */
.cat-hash {
    font-weight: 800;
    font-size: 16px;
    color: var(--brand-primary);
    font-family: monospace;
}

/* ===== SHOP REVIEWS TIMELINE ===== */
.shop-reviews-container {
    min-height: 200px;
}

.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.reviews-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-reviews {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-reviews i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Timeline Layout */
.review-timeline {
    position: relative;
    padding-left: 30px;
}

.review-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary));
    border-radius: 2px;
}

.review-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.review-timeline-item:last-child {
    padding-bottom: 0;
}

.review-timeline-dot {
    position: absolute;
    left: -24px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--brand-primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(93, 135, 255, 0.3);
}

.review-timeline-content {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.3s;
}

.review-timeline-content:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-primary);
}

.review-info {
    flex: 1;
}

.review-author {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-rating {
    color: #F59E0B;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-product {
    margin-bottom: 10px;
}

.review-product a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.review-product a:hover {
    color: var(--brand-primary-dark);
    text-decoration: underline;
}

.review-product.product-unavailable a {
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

.variant-tag {
    background: rgba(93, 135, 255, 0.1);
    color: var(--brand-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.unavailable-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.review-comment {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.review-comment em {
    color: var(--text-muted);
}

/* Reviews Pagination */
.shop-reviews-pagination {
    margin-top: 24px;
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-right: 12px;
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.pg-btn:hover:not(:disabled) {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pg-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.pg-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pg-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .review-timeline {
        padding-left: 20px;
    }

    .review-timeline::before {
        left: 5px;
    }

    .review-timeline-dot {
        left: -18px;
        width: 10px;
        height: 10px;
    }

    .review-header {
        flex-wrap: wrap;
    }

    .review-rating {
        width: 100%;
        margin-top: 8px;
    }
}

/* ===== EMPTY FILTER STATE ===== */
.empty-filter-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-filter-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
    display: block;
}

.empty-filter-state p {
    margin: 0;
    font-size: 15px;
}

/* ===== PAGINATION PREMIUM STYLE ===== */
.pagination-v3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.page-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(93, 135, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-btn.active {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(93, 135, 255, 0.4);
}

.page-btn i {
    font-size: 12px;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .pagination-v3 {
        gap: 4px;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* ========== REVIEWS SECTION - REDESIGNED ========== */
.reviews-section {
    padding: 0;
}

.reviews-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-navy) 100%);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 18px;
}

.reviews-section h3 i {
    color: var(--warning);
    font-size: 20px;
}

.reviews-count {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

.empty-reviews {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.empty-reviews i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
    color: var(--brand-primary);
}

.empty-reviews p {
    font-size: 16px;
    margin: 0;
}

/* Reviews List Container */
.reviews-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

/* Individual Review Card */
.review-item {
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
    position: relative;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item:hover {
    background: var(--bg-light);
}

/* Review Header Layout */
.review-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

/* Avatar with gradient */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #a855f7 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Meta section */
.review-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

/* Star Rating */
.review-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.review-rating i {
    font-size: 13px;
    color: #fbbf24;
}

.review-rating .fa-star:not(.fas) {
    color: #d1d5db;
}

/* Verified Purchase Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: white;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 8px;
}

.verified-badge i {
    color: white;
    font-size: 10px;
}

/* Review Date */
.review-date {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-date::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

/* Review Content */
.review-content {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 14px;
    padding-left: 64px;
}

/* Review Images Gallery */
.review-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-left: 64px;
}

.review-images img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.review-images img:hover {
    transform: scale(1.08);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* Product Link Card */
.review-product-link {
    padding: 14px 16px;
    margin-top: 12px;
    margin-left: 64px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-product-link a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.review-product-link a i.fa-shopping-bag {
    color: var(--brand-primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.review-product-link a:hover {
    color: var(--brand-primary);
}

.review-product-link a.disabled {
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0.7;
}

.review-product-link .unavailable {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

.review-product-link .product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.review-product-link .product-title {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.2s;
}

.review-product-link a:hover .product-title {
    color: var(--brand-primary);
}

.review-product-link .variant-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 4px 10px;
    background: white;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    border: 1px solid var(--border-color);
}

.review-product-link .variant-name::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 9px;
    color: var(--success);
}

/* Pagination */
.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.reviews-pagination .page-info {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.reviews-pagination .page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.reviews-pagination .page-btn:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .reviews-section h3 {
        padding: 16px 18px;
        font-size: 16px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .reviews-section h3 i {
        font-size: 18px;
    }

    .reviews-count {
        font-size: 12px;
        padding: 3px 10px;
    }

    .review-item {
        padding: 18px 16px;
    }

    .review-header {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .review-avatar {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .review-author {
        font-size: 14px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .verified-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-left: 0;
    }

    .review-date {
        grid-column: 1 / -1;
        font-size: 12px;
        margin-top: 4px;
        padding-left: 54px;
    }

    .review-date::before {
        display: none;
    }

    .review-content {
        padding-left: 0;
        font-size: 13px;
        line-height: 1.7;
    }

    .review-images {
        padding-left: 0;
        gap: 8px;
    }

    .review-images img {
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .review-product-link {
        margin-left: 0;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .review-product-link a {
        font-size: 12px;
        gap: 10px;
    }

    .review-product-link a i.fa-shopping-bag {
        font-size: 14px;
    }

    .review-product-link .product-title {
        font-size: 13px;
    }

    .review-product-link .variant-name {
        font-size: 11px;
        padding: 3px 8px;
    }

    .reviews-pagination {
        padding: 16px;
        gap: 10px;
    }

    .reviews-pagination .page-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .reviews-pagination .page-info {
        font-size: 13px;
    }

    .empty-reviews {
        padding: 50px 16px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .empty-reviews i {
        font-size: 3rem;
    }

    .empty-reviews p {
        font-size: 14px;
    }
}

/* ========================================
   SHOP LISTING PAGE STYLES
   ======================================== */

.shop-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.shop-list-header {
    text-align: center;
    margin-bottom: 30px;
}

.shop-list-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.shop-list-header h1 i {
    color: var(--brand-primary);
}

.shop-list-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Search Bar */
.shop-search-bar {
    max-width: 600px;
    margin: 0 auto 24px;
}

.shop-search-bar .search-form {
    width: 100%;
}

.shop-search-bar .search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
    transition: all 0.3s;
}

.shop-search-bar .search-input-wrapper:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.1);
}

.shop-search-bar .search-input-wrapper i {
    color: var(--text-muted);
    font-size: 16px;
}

.shop-search-bar .search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 15px;
    background: transparent;
}

.shop-search-bar .btn-search {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-search-bar .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.search-error {
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-info {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.search-result-info .clear-search {
    color: var(--danger);
    text-decoration: none;
    font-weight: 500;
}

/* Stats */
.shop-list-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
}

.shop-list-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-list-stats i {
    color: var(--brand-primary);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Shop Card */
.shop-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.shop-card-banner {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.shop-card-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
}

.shop-card-avatar {
    width: 70px;
    height: 70px;
    margin: -35px auto 0;
    position: relative;
    z-index: 2;
}

.shop-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.shop-card-body {
    padding: 12px 16px 20px;
    text-align: center;
}

.shop-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 24px;
}

.shop-card-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.badge-official {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
    color: white;
}

.badge-mall {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
}

.badge-premium {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
}

.badge-trusted {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
}

.shop-card-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.shop-card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-card-stats i {
    font-size: 11px;
}

.shop-card-stats .fa-star {
    color: #F59E0B;
}

/* Empty State */
.shop-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.shop-empty-state i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.shop-empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Pagination */
.shop-list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.shop-list-pagination .page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 14px;
}

.shop-list-pagination .page-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.shop-list-pagination .page-btn.page-first,
.shop-list-pagination .page-btn.page-last {
    width: 36px;
    height: 36px;
    font-size: 12px;
}

/* Page Numbers Container */
.shop-list-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
}

.shop-list-pagination .page-num {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0 10px;
}

.shop-list-pagination .page-num:hover:not(.active) {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-light);
}

.shop-list-pagination .page-num.active {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-color: transparent;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.shop-list-pagination .page-ellipsis {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 4px;
    user-select: none;
}

.shop-list-pagination .page-info {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .shop-list-container {
        padding: 16px 12px;
    }

    .shop-list-header {
        margin-bottom: 20px;
    }

    .shop-list-header h1 {
        font-size: 1.35rem;
        gap: 8px;
    }

    .shop-list-header h1 i {
        font-size: 1.1rem;
    }

    .shop-list-header p {
        font-size: 0.9rem;
    }

    /* Compact Search Bar - Stay horizontal */
    .shop-search-bar {
        margin-bottom: 16px;
    }

    .shop-search-bar .search-input-wrapper {
        padding: 4px 4px 4px 16px;
    }

    .shop-search-bar .search-input-wrapper input {
        font-size: 14px;
        padding: 8px 10px;
    }

    .shop-search-bar .btn-search {
        padding: 10px 18px;
        font-size: 14px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .shop-card-banner {
        height: 80px;
    }

    .shop-card-avatar {
        width: 60px;
        height: 60px;
        margin-top: -30px;
    }

    .shop-card-body {
        padding: 10px 14px 16px;
    }

    .shop-card-name {
        font-size: 0.95rem;
    }

    .shop-card-stats {
        gap: 12px;
        font-size: 11px;
    }
}

/* Responsive - Mobile Small */
@media (max-width: 480px) {
    .shop-list-container {
        padding: 12px 10px;
    }

    .shop-list-header {
        margin-bottom: 16px;
    }

    .shop-list-header h1 {
        font-size: 1.2rem;
    }

    .shop-list-header p {
        font-size: 0.85rem;
        margin-top: 4px;
    }

    /* Even more compact search */
    .shop-search-bar {
        margin-bottom: 12px;
    }

    .shop-search-bar .search-input-wrapper {
        padding: 4px;
        border-width: 1.5px;
    }

    .shop-search-bar .search-input-wrapper i {
        display: none;
    }

    .shop-search-bar .search-input-wrapper input {
        font-size: 13px;
        padding: 8px 12px;
    }

    .shop-search-bar .search-input-wrapper input::placeholder {
        font-size: 12px;
    }

    .shop-search-bar .btn-search {
        padding: 10px 16px;
        font-size: 13px;
    }

    .search-error,
    .search-result-info {
        font-size: 12px;
        margin-top: 8px;
    }

    /* Stats bar compact */
    .shop-list-stats {
        padding: 10px 12px;
        font-size: 12px;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    /* Shop Grid - Single column, keep vertical card layout */
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Compact vertical shop card on mobile */
    .shop-card-banner {
        height: 90px;
    }

    .shop-card-avatar {
        width: 56px;
        height: 56px;
        margin-top: -28px;
    }

    .shop-card-body {
        padding: 8px 12px 14px;
    }

    .shop-card-name {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .shop-card-badges .badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .shop-card-stats {
        gap: 10px;
        font-size: 11px;
    }

    /* Pagination compact */
    .shop-list-pagination {
        margin-top: 24px;
        padding-top: 16px;
        gap: 6px;
    }

    .shop-list-pagination .page-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .shop-list-pagination .page-btn.page-first,
    .shop-list-pagination .page-btn.page-last {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .shop-list-pagination .page-numbers {
        gap: 4px;
        padding: 0 4px;
    }

    .shop-list-pagination .page-num {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
    }

    .shop-list-pagination .page-ellipsis {
        font-size: 12px;
        padding: 0 2px;
    }

    .shop-list-pagination .page-info {
        font-size: 12px;
    }

    /* Empty state compact */
    .shop-empty-state {
        padding: 50px 20px;
    }

    .shop-empty-state i {
        font-size: 3rem;
    }

    .shop-empty-state h3 {
        font-size: 1rem;
    }
}