/* Top Bar Improved Styles - Desktop */
.top-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 6px 0;
    padding-top: calc(6px + var(--sat, env(safe-area-inset-top, 0px)));
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.top-bar .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.top-bar .row {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top-bar .col-md-6 {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.top-bar .col-md-6:first-child {
    justify-content: flex-start;
}

.top-bar .col-md-6:last-child {
    justify-content: flex-end;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    color: #e0e0e0;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.8rem;
}

.top-bar-left span:hover {
    color: #ffffff;
}

.top-bar-left span i {
    color: #ffffff;
    font-size: 0.8rem;
    margin-right: 0.4rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.top-bar-left span:hover i {
    opacity: 1;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

/* Language Selector Improved - Desktop */
.language-selector-wrapper {
    position: relative;
    display: inline-block;
}

.language-selector-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 75px;
    justify-content: flex-start;
    font-weight: 400;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.language-selector-btn .language-text {
    display: inline-block;
    margin-left: 0;
    font-weight: 500;
}

.language-selector-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-selector-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-selector-btn .flag-icon {
    width: 18px;
    height: 13px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.flag-icon.flag-us {
    background-image: url('https://flagcdn.com/w20/us.png');
}

.flag-icon.flag-es {
    background-image: url('https://flagcdn.com/w20/es.png');
}

.language-selector-btn .arrow-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
    margin-left: auto;
    color: #ffffff;
}

.language-selector-btn.active .arrow-icon {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-weight: 400;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.language-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.language-option .flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Top Bar Links - Desktop */
.top-bar-separator {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin: 0 0.6rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.top-bar a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    padding: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    font-size: 0.8rem;
}

.top-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.top-bar a:hover {
    color: #ffffff;
}

.top-bar a:hover::after {
    width: 100%;
}

.top-bar a i {
    margin-right: 0.35rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.top-bar a:hover i {
    opacity: 1;
}

/* Desktop optimizations - Compact design */
@media (min-width: 992px) {
    .top-bar .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .top-bar .container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1400px) {
    .top-bar .container {
        padding: 0 3rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .top-bar-left {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .top-bar-right {
        gap: 0.75rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .language-selector-btn {
        min-width: 80px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .top-bar-separator {
        display: none;
    }

    .top-bar a {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .top-bar-left {
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }

    .top-bar-right {
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
    }
}

/* Navbar MLB Styles */
:root {
    --mlb-blue: #0d2c54;
    --mlb-red: #d50032;
    --mlb-light-blue: #132448;
    --mlb-gold: #ffd700;
    --mlb-dark: #1a1a1a;
}

.navbar-mlb {
    background: var(--mlb-blue) !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-mlb .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    padding: 15px 20px;
    background: var(--mlb-red);
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.navbar-mlb .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 20px 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.navbar-mlb .nav-link:hover {
    background: var(--mlb-light-blue);
}

.navbar-mlb .nav-link.active {
    background: var(--mlb-red);
}

/* Event 1 featured link */
.nav-link-event1 {
    position: relative;
    color: var(--mlb-gold) !important;
    font-weight: 700 !important;
}
.nav-link-event1:hover,
.nav-link-event1.active {
    background: rgba(201,146,26,.18) !important;
    color: #ffe566 !important;
}
.nav-event1-badge {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: .35rem;
    vertical-align: middle;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .nav-event1-badge { display: none; }
}

.badge-mlb {
    background: var(--mlb-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Shopping Cart Styles */
.cart-wrapper {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 0 5px;
}

.cart-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--mlb-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.cart-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon {
    color: white !important;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    animation: cartFloat 3s ease-in-out infinite;
}

@keyframes cartFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.cart-wrapper:hover .cart-icon {
    color: var(--mlb-gold) !important;
    transform: scale(1.2) rotate(10deg);
    animation: none;
}

.cart-text {
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cart-wrapper:hover .cart-text {
    color: var(--mlb-gold) !important;
    opacity: 1;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--mlb-red) 0%, #ff6b6b 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(213, 0, 50, 0.4);
    animation: cartPulse 2s infinite;
    z-index: 10;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(213, 0, 50, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(213, 0, 50, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(213, 0, 50, 0.4);
    }
}

.cart-badge.empty {
    display: none;
}

/* Cart glow effect */
.cart-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--mlb-gold), transparent, var(--mlb-gold));
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cart-wrapper:hover::before {
    opacity: 0.6;
    animation: cartGlow 2s linear infinite;
}

@keyframes cartGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Shopping Cart Button - MLB Enhanced Design */
.floating-cart-btn {
    position: fixed;
    bottom: calc(30px + var(--sab, env(safe-area-inset-bottom, 0px)));
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--mlb-red) 0%, #b30029 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(213, 0, 50, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Cart UI is enabled */

.floating-cart-btn:hover {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
    box-shadow: 0 12px 40px rgba(213, 0, 50, 0.7);
    background: linear-gradient(135deg, #ff0033 0%, var(--mlb-red) 100%);
    border-color: white;
}

.floating-cart-btn:active {
    transform: scale(1.05) translateY(-2px);
    transition: all 0.1s ease;
}

.floating-cart-icon {
    color: white !important;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cartFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes cartFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(2deg); }
    50% { transform: translateY(-2px) rotate(-1deg); }
    75% { transform: translateY(-5px) rotate(1deg); }
}

.floating-cart-btn:hover .floating-cart-icon {
    animation: none;
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.floating-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 20px;
    min-width: 28px;
    height: 28px;
    text-align: center;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
    animation: cartPulse 2.5s infinite;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
    }
    30% {
        transform: scale(1.25);
        box-shadow: 0 6px 20px rgba(13, 44, 84, 0.8);
    }
    60% {
        transform: scale(1.1);
        box-shadow: 0 5px 18px rgba(13, 44, 84, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
    }
}

.floating-cart-badge.empty {
    display: none;
}

/* Enhanced ripple effect */
.floating-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s, opacity 0.8s;
    opacity: 0;
}

.floating-cart-btn:active::before {
    width: 120px;
    height: 120px;
    opacity: 1;
}

/* MLB themed glow effect */
.floating-cart-btn::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: conic-gradient(from 0deg, var(--mlb-red), var(--mlb-blue), var(--mlb-red), var(--mlb-blue), var(--mlb-red));
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: none;
}

.floating-cart-btn:hover::after {
    opacity: 0.8;
    animation: mlbGlow 4s linear infinite;
}

@keyframes mlbGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Inner glow effect */
.floating-cart-btn .inner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

    .cart-wrapper:hover::before {
        opacity: 0.6;
        animation: cartGlow 2s linear infinite;
    }

    @keyframes cartGlow {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Floating Shopping Cart Button - MLB Enhanced Design */
    .floating-cart-btn {
        position: fixed;
        bottom: calc(30px + var(--sab, env(safe-area-inset-bottom, 0px)));
        right: 30px;
        width: 65px;
        height: 65px;
        background: linear-gradient(135deg, var(--mlb-red) 0%, #b30029 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 25px rgba(213, 0, 50, 0.5);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        border: 2px solid rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .floating-cart-btn:hover {
        transform: scale(1.15) translateY(-8px) rotate(5deg);
        box-shadow: 0 12px 40px rgba(213, 0, 50, 0.7);
        background: linear-gradient(135deg, #ff0033 0%, var(--mlb-red) 100%);
        border-color: white;
    }

    .floating-cart-btn:active {
        transform: scale(1.05) translateY(-2px);
        transition: all 0.1s ease;
    }

    .floating-cart-icon {
        color: white !important;
        font-size: 1.6rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation: cartFloat 4s ease-in-out infinite;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    @keyframes cartFloat {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-4px) rotate(2deg); }
        50% { transform: translateY(-2px) rotate(-1deg); }
        75% { transform: translateY(-5px) rotate(1deg); }
    }

    .floating-cart-btn:hover .floating-cart-icon {
        animation: none;
        transform: scale(1.3) rotate(15deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }

    .floating-cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
        color: white;
        font-size: 0.75rem;
        font-weight: 800;
        padding: 5px 9px;
        border-radius: 20px;
        min-width: 28px;
        height: 28px;
        text-align: center;
        border: 3px solid white;
        box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
        animation: cartPulse 2.5s infinite;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    @keyframes cartPulse {
        0% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
        }
        30% {
            transform: scale(1.25);
            box-shadow: 0 6px 20px rgba(13, 44, 84, 0.8);
        }
        60% {
            transform: scale(1.1);
            box-shadow: 0 5px 18px rgba(13, 44, 84, 0.7);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(13, 44, 84, 0.6);
        }
    }

    .floating-cart-badge.empty {
        display: none;
    }

    /* Enhanced ripple effect */
    .floating-cart-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.6);
        transform: translate(-50%, -50%);
        transition: width 0.8s, height 0.8s, opacity 0.8s;
        opacity: 0;
    }

    .floating-cart-btn:active::before {
        width: 120px;
        height: 120px;
        opacity: 1;
    }

    /* MLB themed glow effect */
    .floating-cart-btn::after {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        background: conic-gradient(from 0deg, var(--mlb-red), var(--mlb-blue), var(--mlb-red), var(--mlb-blue), var(--mlb-red));
        border-radius: 50%;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.4s ease;
        animation: none;
    }

    .floating-cart-btn:hover::after {
        opacity: 0.8;
        animation: mlbGlow 4s linear infinite;
    }

    @keyframes mlbGlow {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Inner glow effect */
    .floating-cart-btn .inner-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 40px;
        height: 40px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .floating-cart-btn:hover .inner-glow {
        opacity: 1;
    }

    /* Cart Sidebar Styles */
    .cart-sidebar {
        position: fixed;
        top: 0;
        right: -400px;
        width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        transition: right 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        display: flex;
        flex-direction: column;
    }

    .cart-sidebar.open {
        right: 0;
    }

    .cart-sidebar-header {
        background: linear-gradient(135deg, var(--mlb-red) 0%, #b30029 100%);
        color: white;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .cart-sidebar-title {
        font-size: 1.3rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cart-close-btn {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .cart-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .cart-sidebar-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
    }

    .cart-empty-state {
        text-align: center;
        padding: 40px 20px;
        color: rgba(255, 255, 255, 0.7);
    }

    .cart-empty-icon {
        font-size: 4rem;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .cart-empty-text {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .cart-empty-subtext {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .cart-items-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .cart-item {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 15px;
        display: flex;
        gap: 15px;
        transition: all 0.3s ease;
    }

    .cart-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(-5px);
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .cart-item-logo {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 8px;
        background: #ffffff;
        padding: 4px;
        flex-shrink: 0;
    }

    .cart-item-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .cart-item-name {
        color: white;
        font-weight: 600;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .cart-item-type {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .cart-item-price {
        color: var(--mlb-gold);
        font-weight: 700;
        font-size: 1rem;
    }

    .cart-item-remove {
        background: rgba(213, 0, 50, 0.2);
        border: 1px solid rgba(213, 0, 50, 0.3);
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .cart-item-remove:hover {
        background: rgba(213, 0, 50, 0.4);
        transform: scale(1.1);
    }

    .cart-item.cart-item--just-added {
        animation: cartItemJustAdded 1.2s ease-out;
    }
    @keyframes cartItemJustAdded {
        0% { box-shadow: 0 0 0 0 rgba(213, 0, 50, 0.5); transform: scale(0.98); opacity: 0.9; }
        30% { box-shadow: 0 0 0 12px rgba(213, 0, 50, 0); transform: scale(1.02); opacity: 1; }
        60% { box-shadow: 0 0 0 0 rgba(213, 0, 50, 0); transform: scale(1); }
        100% { box-shadow: 0 2px 12px rgba(13, 44, 84, 0.2); transform: scale(1); }
    }

    .cart-sidebar-footer {
        background: rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .cart-total-amount {
        color: var(--mlb-gold);
        font-size: 1.3rem;
        font-weight: 700;
    }

    .cart-checkout-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--mlb-red) 0%, #b30029 100%);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 15px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .cart-checkout-btn:hover {
        background: linear-gradient(135deg, #ff0033 0%, var(--mlb-red) 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(213, 0, 50, 0.4);
    }

    .cart-clear-btn {
        width: 100%;
        margin-top: 10px;
        padding: 10px 16px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s ease;
    }
    .cart-clear-btn:hover {
        background: rgba(213, 0, 50, 0.2);
        border-color: rgba(213, 0, 50, 0.5);
        color: white;
    }
    .cart-clear-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
        .cart-sidebar {
            width: 100%;
            right: -100%;
        }

        .cart-sidebar-header {
            padding: 15px;
        }

        .cart-sidebar-title {
            font-size: 1.1rem;
        }

        .cart-item-image,
        .cart-item-logo {
            width: 50px;
            height: 50px;
        }
    }

