/* ============================================
   COUCHES RECORDS - SHARED STYLES
   ============================================ */

/* CSS Variables */
:root {
    --yellow: #FFD600;
    --crimson: #DC2626;
    --crimson-dark: #B91C1C;
}

[data-theme="dark"] {
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #909090;
    --text-muted: #737373;
    --border-color: #333333;
    --card-bg: #1A1A1A;
    --nav-bg: rgba(10, 10, 10, 0.95);
    --overlay-bg: rgba(0, 0, 0, 0.85);
    --accent: #FFD600;
}

[data-theme="light"] {
    --bg-primary: #FAF9F7;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F0F0F0;
    --text-primary: #0A0A0A;
    --text-secondary: #666666;
    --text-muted: #888888;
    --border-color: #E0E0E0;
    --card-bg: #FFFFFF;
    --nav-bg: rgba(250, 249, 247, 0.95);
    --overlay-bg: rgba(0, 0, 0, 0.85);
    --accent: #DC2626;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Outfit', -apple-system, sans-serif; 
    background: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.5;
    transition: background 0.3s, color 0.3s;
}
::selection { background: var(--yellow); color: #0A0A0A; }
a { color: inherit; }

/* Film Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s, border-color 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-logo .records {
    color: var(--yellow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links .mobile-submit,
.nav-links .mobile-submit-divider {
    display: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--yellow);
}

.nav-tickets {
    background: var(--crimson);
    color: white !important;
    padding: 0.5rem 1.75rem;
    border-radius: 50px;
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-tickets:hover {
    background: var(--crimson-dark) !important;
    transform: translateY(-2px);
}

.nav-submit-wrapper {
    position: relative;
}

.nav-submit {
    background: transparent;
    color: var(--yellow) !important;
    padding: 0.5rem 1.75rem;
    border-radius: 50px;
    border: 2px solid var(--yellow);
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-submit:hover {
    background: var(--yellow);
    color: #0A0A0A !important;
}

.submit-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.nav-submit-wrapper:hover .submit-dropdown,
.submit-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submit-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.submit-dropdown a:hover {
    background: var(--bg-secondary);
    color: var(--yellow);
}

.submit-dropdown a:first-child {
    border-bottom: 1px solid var(--border-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s;
}

.theme-toggle span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s;
}

[data-theme="dark"] .theme-toggle .sun { opacity: 0.4; }
[data-theme="dark"] .theme-toggle .moon { background: var(--bg-primary); box-shadow: inset 0 0 0 2px var(--yellow); opacity: 1; }
[data-theme="light"] .theme-toggle .sun { background: var(--bg-primary); box-shadow: inset 0 0 0 2px var(--yellow); opacity: 1; }
[data-theme="light"] .theme-toggle .moon { opacity: 0.4; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hidden on desktop - only shows on mobile */
.nav-left-mobile {
    display: none !important;
}

@media (max-width: 900px) {
    .nav-left-mobile {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.25rem;
    background: var(--crimson);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--crimson-dark);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.cta-btn.secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.cta-btn.yellow {
    background: var(--yellow);
    color: #0A0A0A;
}

.cta-btn.yellow:hover {
    background: #E6C200;
}

/* ============================================
   SECTIONS & TYPOGRAPHY
   ============================================ */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    color: var(--yellow);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* ============================================
   AUDIO PLAYER
   ============================================ */
.audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    border: 1px solid var(--border-color);
    width: 290px;
    transition: all 0.3s ease;
}

.audio-player:hover {
    border-color: var(--yellow);
}

.audio-player.hidden {
    display: none;
}

.audio-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.audio-close:hover {
    background: var(--crimson);
    border-color: var(--crimson);
    color: white;
}

.audio-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.audio-reopen:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.audio-reopen.visible {
    display: flex;
}

.audio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    color: #0A0A0A;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    transform: scale(1.05);
}

.audio-info {
    flex: 1;
    min-width: 0;
}

.audio-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 0.25rem;
}

.audio-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-artist {
    color: var(--text-secondary);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-controls {
    display: flex;
    gap: 0.25rem;
}

.audio-skip-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.audio-skip-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.audio-nola-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}

.audio-nola-btn:hover {
    color: var(--text-secondary);
}

.audio-nola-btn.active {
    color: var(--yellow);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-logo .records {
    color: var(--yellow);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--yellow);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--yellow);
}

/* Footer Heritage Mark */
.footer-heritage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-couches-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.footer-couches-mark {
    height: 16px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.footer-couches-link:hover .footer-couches-mark {
    opacity: 1;
}
.footer-est {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.footer-divider {
    color: var(--text-muted);
}
.footer-heritage p {
    margin: 0;
}

/* ============================================
   EASTER EGG
   ============================================ */
#easterEggOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

#easterEggOverlay.active {
    opacity: 1;
    visibility: visible;
}

.easter-egg-content {
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.5s ease;
}

#easterEggOverlay.active .easter-egg-content {
    transform: scale(1);
}

.easter-egg-icons {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.spinning-couch {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shooting-star {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.easter-egg-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.easter-egg-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.easter-egg-code {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    background: var(--crimson);
    padding: 0.5rem 2rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.easter-egg-discount {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.easter-egg-close {
    background: var(--yellow);
    color: #0A0A0A;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.easter-egg-close:hover {
    background: #E6C200;
    transform: scale(1.05);
}

/* ============================================
   MOBILE RESPONSIVE - NAVIGATION
   ============================================ */
@media (max-width: 900px) {
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .theme-toggle {
        padding: 0.25rem;
    }
    
    .theme-toggle span {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    /* Center: logo - stacked on mobile, miniature of hero lockup */
    .nav-logo {
        text-align: center;
        font-size: 0.95rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 0.9;
        letter-spacing: -0.03em;
    }
    
    .nav-logo .records {
        font-size: inherit;
        letter-spacing: inherit;
    }
    
    /* Right: tickets only */
    .nav-right {
        justify-content: flex-end;
    }
    
    /* Hide theme toggle from nav-right on mobile (it's in nav-left-mobile) */
    .nav-right .theme-toggle {
        display: none;
    }
    
    .nav-tickets {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
        font-weight: 800;
    }
    
    /* Hide submit wrapper on mobile */
    .nav-submit-wrapper {
        display: none;
    }
    
    /* Dropdown menu */
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        display: none;
        grid-column: 1 / -1;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .mobile-submit-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: var(--border-color);
        margin: 0.5rem 0;
    }
    
    .nav-links .mobile-submit {
        display: block;
    }
    
    .nav-links .mobile-submit a {
        font-size: 0.85rem;
        color: var(--text-muted);
    }
}

@media (max-width: 600px) {
    .audio-player {
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none;
        width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 0.875rem 1.25rem;
        gap: 0.75rem;
    }
    
    .audio-play-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    
    .audio-skip-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .audio-controls {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .audio-nola-btn {
        position: static;
        font-size: 1.2rem;
        padding: 0 0.25rem;
        flex-shrink: 0;
    }
    
    .audio-close {
        top: -10px;
        right: 12px;
    }
    
    .audio-reopen {
        left: 10px;
        bottom: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   ARTIST MODAL - PHOTO MODE (Full-bleed)
   ============================================ */

/* Photo background layer - hidden by default */
.modal-photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.modal-photo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay for text readability */
.modal-photo-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 30%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.85) 100%
    );
}

/* When photo mode is active */
.modal-content.photo-mode .modal-photo-bg {
    opacity: 1;
}

.modal-content.photo-mode .modal-media {
    background: transparent;
}

.modal-content.photo-mode .modal-video,
.modal-content.photo-mode .modal-photos {
    opacity: 0;
    pointer-events: none;
}

.modal-content.photo-mode .modal-body {
    background: transparent;
    position: relative;
    z-index: 1;
}

.modal-content.photo-mode .modal-date {
    color: rgba(255,255,255,0.7);
}

.modal-content.photo-mode .tab-btn {
    border-color: rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.3);
}

.modal-content.photo-mode .tab-btn:hover {
    border-color: var(--text-primary);
    background: rgba(0,0,0,0.5);
}

.modal-content.photo-mode .tab-btn.active {
    background: var(--yellow);
    border-color: var(--yellow);
}

/* Carousel nav in photo mode - positioned over full-bleed image */
.modal-content.photo-mode .carousel-nav {
    position: absolute;
    z-index: 10;
    display: flex;
}

.modal-content.photo-mode .carousel-nav.hidden {
    display: none;
}

.modal-content.photo-mode .photo-counter {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: block;
}

.modal-content.photo-mode .photo-counter.hidden {
    display: none;
}

/* Modal Expand Button (link to full event page) */
.modal-expand {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1;
}

.modal-expand:hover {
    background: var(--yellow);
    color: #0A0A0A;
}

/* Modal View Details Button */
.modal-view-details {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.modal-view-details a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--yellow);
    color: #0A0A0A;
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 14px;
    border-radius: 40px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.modal-view-details a:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Shopify embed centering in modals */
#shopifyProductComponent,
.shopify-buy-container {
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

#shopifyProductComponent iframe,
.shopify-buy-container iframe {
    margin: 0 auto !important;
    display: block !important;
}

#shopifyProductComponent [data-shopify-buy-ui],
.shopify-buy-container [data-shopify-buy-ui] {
    display: flex !important;
    justify-content: center !important;
}

/* ============================================
   FLYER CAROUSEL
   Shared across modals and event detail page.
   Single flyer: no dots, no arrows, identical to before.
   Multiple flyers: swipe/arrows + dot indicators.
   ============================================ */
.flyer-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    transition: height 0.3s ease;
}

.flyer-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
    align-items: flex-start;
}

.flyer-carousel-track.dragging {
    transition: none;
}

.flyer-carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.flyer-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Arrows — only visible on multi-flyer carousels */
.flyer-carousel-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
}

.flyer-carousel:hover .flyer-carousel-arrow {
    opacity: 1;
}

.flyer-carousel-arrow.prev { left: 8px; }
.flyer-carousel-arrow.next { right: 8px; }

.flyer-carousel.multi .flyer-carousel-arrow {
    display: flex;
}

/* Dots */
.flyer-carousel-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}

.flyer-carousel.multi .flyer-carousel-dots {
    display: flex;
}

.flyer-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
    border: none;
    padding: 0;
}

.flyer-carousel-dot.active {
    opacity: 1;
    background: var(--yellow);
}

/* Mobile: arrows always visible (no hover) */
@media (max-width: 768px) {
    .flyer-carousel.multi .flyer-carousel-arrow {
        opacity: 0.7;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
