/* ==========================================================================
   Merchandise Page Styles
   ========================================================================== */

:root {
    --merch-bg: var(--me-bg-dark);
    --merch-surface: var(--me-bg-card);
    --merch-border: var(--me-border);
    --merch-text: var(--me-text-white);
    --merch-text-muted: var(--me-text-gray);
    --merch-text-dim: var(--me-text-dim);
    --merch-accent: var(--me-primary);
    --merch-accent-purple: var(--me-secondary);
    --merch-gradient: var(--me-gradient);
}

/* Global resets */
.me-merchandise-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--merch-bg);
    color: var(--merch-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Prevent theme/global styles from blowing up small inline SVG icons */
.merch-card svg,
.merch-proof-item svg,
.merch-hero-badge svg,
.merch-card-social svg {
    max-width: 24px;
    max-height: 24px;
    flex-shrink: 0;
}

.me-merchandise-page *,
.me-merchandise-page *::before,
.me-merchandise-page *::after {
    box-sizing: border-box;
}

.me-gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 25%, #06b6d4 50%, #8b5cf6 75%, #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: merch-shimmer 4s ease-in-out infinite;
}

@keyframes merch-shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Container
   ========================================================================== */

.merch-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.merch-hero {
    position: relative;
    z-index: 2;
    padding: 160px 24px 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.merch-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    color: var(--merch-accent-purple);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.merch-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.merch-hero-subtitle {
    font-size: 18px;
    color: var(--merch-text-muted);
    margin: 0 0 8px;
    font-weight: 400;
}

.merch-hero-desc {
    font-size: 16px;
    color: var(--merch-text-dim);
    margin: 0;
}

/* ==========================================================================
   Social Proof Stats
   ========================================================================== */

.merch-social-proof {
    position: relative;
    z-index: 2;
    padding: 0 0 20px;
}

.merch-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--merch-surface);
    border: 1px solid var(--merch-border);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.merch-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    position: relative;
}

.merch-proof-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--merch-border);
}

.merch-proof-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 4px;
}

.merch-proof-icon-customers {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.merch-proof-icon-items {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.merch-proof-icon-reviews {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.merch-proof-icon-products {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.merch-proof-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--merch-text);
    line-height: 1;
    letter-spacing: -0.5px;
}

.merch-proof-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--merch-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

/* ==========================================================================
   Product Sections (Classic, Latest, Limited)
   ========================================================================== */

.merch-section {
    position: relative;
    z-index: 2;
    padding: 40px 0 60px;
}

.merch-section:first-of-type {
    padding-top: 20px;
}

.merch-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--merch-border);
}

.merch-section-icon {
    font-size: 36px;
    line-height: 1;
}

.merch-section-text {
    flex: 1;
}

.merch-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.merch-section-subtitle {
    font-size: 15px;
    color: var(--merch-text-muted);
    margin: 0;
}

/* Section-specific accent colors */
.merch-section-classic .merch-section-title { color: #94a3b8; }
.merch-section-latest .merch-section-title { color: #8b5cf6; }
.merch-section-limited .merch-section-title { color: #ef4444; }

.merch-section-latest .merch-section-header { border-color: rgba(139, 92, 246, 0.3); }
.merch-section-limited .merch-section-header { border-color: rgba(239, 68, 68, 0.3); }

/* Empty State */
.merch-section-empty {
    padding: 80px 0;
}

.merch-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--merch-surface);
    border: 1px solid var(--merch-border);
    border-radius: 20px;
}

.merch-empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.merch-empty-state h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.merch-empty-state p {
    color: var(--merch-text-muted);
    font-size: 16px;
    margin: 0 0 24px;
}

.merch-grid-section {
    position: relative;
    z-index: 2;
    padding: 20px 0 60px;
}

/* Horizontal scroll container */
.merch-grid-wrapper {
    position: relative;
}

.merch-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    margin-bottom: -8px;
}

/* Custom scrollbar styling */
.merch-grid::-webkit-scrollbar {
    height: 8px;
}

.merch-grid::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 4px;
}

.merch-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
}

.merch-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* Firefox scrollbar */
.merch-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.4) rgba(30, 41, 59, 0.5);
}

/* Fixed card width for 4 per row */
.merch-grid .merch-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    max-width: 320px;
    scroll-snap-align: start;
}

/* Scroll navigation arrows */
.merch-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--merch-border);
    color: var(--merch-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    opacity: 0;
    pointer-events: none;
}

.merch-grid-wrapper:hover .merch-scroll-btn {
    opacity: 1;
    pointer-events: auto;
}

.merch-scroll-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.merch-scroll-btn.scroll-left {
    left: -22px;
}

.merch-scroll-btn.scroll-right {
    right: -22px;
}

.merch-scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Product Card Badges & Featured
   ========================================================================== */

.merch-card {
    position: relative;
}

.merch-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-new { background: #10b981; color: #fff; }
.badge-hot { background: #ef4444; color: #fff; }
.badge-sale { background: #f59e0b; color: #000; }
.badge-bestseller { background: #8b5cf6; color: #fff; }
.badge-lowstock { background: #dc2626; color: #fff; animation: pulse-badge 2s infinite; }

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.merch-card-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.merch-card-featured-star {
    font-size: 16px;
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
    line-height: 1;
}

.merch-card-featured {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.12), 0 0 0 1px rgba(251, 191, 36, 0.08);
}

.merch-card-featured:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 40px rgba(251, 191, 36, 0.2), 0 0 24px rgba(251, 191, 36, 0.1);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */

.merch-card {
    position: relative;
    background: var(--merch-surface);
    border: 1px solid var(--merch-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.merch-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.18), 0 0 20px rgba(139, 92, 246, 0.08), 0 0 0 1px rgba(139, 92, 246, 0.1);
    color: inherit;
    text-decoration: none;
}

.merch-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merch-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 16px;
    z-index: 5;
    opacity: 0;
    transition: all 0.2s;
}

.merch-card:hover .merch-wishlist-btn,
.merch-wishlist-btn.wishlisted {
    opacity: 1;
}

.merch-wishlist-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #ef4444;
    transform: scale(1.1);
}

.merch-wishlist-btn.wishlisted {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.merch-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.6), transparent);
    pointer-events: none;
}

.merch-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--merch-accent-purple);
    transition: transform 0.3s;
}

.merch-card:hover .merch-card-icon {
    transform: scale(1.08);
}

.merch-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.merch-card:hover .merch-card-img {
    transform: scale(1.05);
}

.merch-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.merch-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 100px;
    color: var(--merch-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.merch-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.merch-card-desc {
    font-size: 14px;
    color: var(--merch-text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
    flex: 1;
}

.merch-card-price {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px;
}

.merch-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--merch-accent-purple);
    transition: gap 0.2s;
}

.merch-card:hover .merch-card-action {
    gap: 12px;
}

/* ==========================================================================
   Featured Banner
   ========================================================================== */

.merch-featured-section {
    position: relative;
    z-index: 2;
    padding: 0 0 60px;
}

.merch-featured-card {
    position: relative;
    background: var(--merch-surface);
    border: 1px solid var(--merch-border);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.merch-featured-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1), transparent);
    pointer-events: none;
}

.merch-featured-content {
    flex: 1;
    position: relative;
}

.merch-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 100px;
    color: #eab308;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.merch-featured-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.merch-featured-content p {
    font-size: 15px;
    color: var(--merch-text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

.merch-featured-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--merch-accent-purple);
    position: relative;
}

/* Social Links */
.merch-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.merch-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.merch-social-btn svg {
    flex-shrink: 0;
}

.merch-social-discord {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
}

.merch-social-discord:hover {
    background: rgba(88, 101, 242, 0.25);
    color: #5865F2;
    transform: translateY(-2px);
}

.merch-social-twitter {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.merch-social-twitter:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.merch-social-instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(131, 58, 180, 0.15));
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.3);
}

.merch-social-instagram:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.25), rgba(131, 58, 180, 0.25));
    color: #E1306C;
    transform: translateY(-2px);
}

.merch-social-youtube {
    background: rgba(255, 0, 0, 0.12);
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.25);
}

.merch-social-youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #FF0000;
    transform: translateY(-2px);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.merch-cta-section {
    position: relative;
    z-index: 2;
    padding: 20px 0 80px;
}

.merch-cta-card {
    position: relative;
    background: var(--merch-surface);
    border: 1px solid var(--merch-border);
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.merch-cta-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12), transparent);
    pointer-events: none;
}

.merch-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--merch-accent-purple);
    margin-bottom: 24px;
}

.merch-cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    position: relative;
}

.merch-cta-card p {
    font-size: 15px;
    color: var(--merch-text-dim);
    margin: 0 0 28px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.merch-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.me-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--merch-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.me-cta-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35), 0 0 12px rgba(139, 92, 246, 0.2);
    color: #fff;
}

.me-cta-btn-outline {
    background: transparent !important;
    border: 1px solid var(--merch-border) !important;
    color: var(--merch-text) !important;
}

.me-cta-btn-outline:hover {
    border-color: var(--merch-accent) !important;
    color: var(--merch-accent) !important;
}

/* ==========================================================================
   Scroll Reveal Animation Base
   ========================================================================== */

.merch-card-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.merch-card-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Circuit Dividers
   ========================================================================== */

.merch-circuit-divider {
    position: relative;
    z-index: 2;
    height: 3px;
    max-width: 400px;
    margin: 50px auto;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), rgba(139,92,246,0.3), transparent);
    border-radius: 2px;
}

.merch-circuit-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--merch-gradient);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(59,130,246,0.6);
    z-index: 1;
}

.merch-circuit-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.8), transparent);
    border-radius: 2px;
    animation: merch-circuit-sweep 3s ease-in-out infinite;
}

@keyframes merch-circuit-sweep {
    0%   { left: -10%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 80%; opacity: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .merch-grid .merch-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 260px;
    }

    .merch-scroll-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .merch-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merch-proof-item:nth-child(2)::after {
        display: none;
    }

    .merch-proof-item:nth-child(1)::after,
    .merch-proof-item:nth-child(3)::after {
        top: 20%;
        height: 60%;
    }

    .merch-proof-item:nth-child(1),
    .merch-proof-item:nth-child(2) {
        border-bottom: 1px solid var(--merch-border);
    }

    .merch-proof-item {
        padding: 22px 12px;
    }

    .merch-proof-number {
        font-size: 26px;
    }

    .merch-proof-label {
        font-size: 11px;
    }

    .merch-hero {
        padding: 130px 20px 40px;
    }

    .merch-hero-title {
        font-size: 36px;
    }

    .merch-section {
        padding: 30px 0 40px;
    }

    .merch-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .merch-section-title {
        font-size: 22px;
    }

    .merch-section-subtitle {
        font-size: 14px;
    }

    .merch-grid .merch-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 220px;
    }

    .merch-grid {
        gap: 16px;
    }

    .merch-card-image {
        height: 180px;
    }

    .merch-card-body {
        padding: 18px;
    }

    .merch-card-title {
        font-size: 18px;
    }

    .merch-social-links {
        justify-content: center;
    }

    .merch-social-btn span {
        display: none;
    }

    .merch-social-btn {
        padding: 12px;
        border-radius: 50%;
    }

    .merch-featured-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        text-align: center;
    }

    .merch-featured-icon {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .merch-featured-content h2 {
        font-size: 24px;
    }

    .merch-cta-card {
        padding: 40px 24px;
    }

    .merch-cta-card h2 {
        font-size: 24px;
    }

    .merch-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .merch-circuit-divider {
        max-width: 250px;
    }

    .merch-hero-desc {
        font-size: 14px;
    }

    .merch-card,
    .merch-featured-card,
    .merch-cta-card {
        backdrop-filter: none;
    }
}

@media (max-width: 480px) {
    .merch-hero-title {
        font-size: 24px;
    }

    .merch-grid .merch-card {
        flex: 0 0 90%;
        min-width: 260px;
    }

    .merch-card-image {
        height: 160px;
    }

    .merch-card-body {
        padding: 16px;
    }

    .merch-card-title {
        font-size: 16px;
    }

    .merch-card-desc {
        font-size: 13px;
    }

    .merch-section-title {
        font-size: 20px;
    }

    .merch-featured-content h2 {
        font-size: 22px;
    }

    .merch-cta-card h2 {
        font-size: 22px;
    }

    .merch-featured-content p,
    .merch-cta-card p {
        font-size: 13px;
    }

    .merch-circuit-divider {
        max-width: 150px;
    }
}

@media (max-width: 360px) {
    .merch-container {
        padding: 0 12px;
    }

    .merch-hero {
        padding: 120px 12px 30px;
    }

    .merch-hero-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   Per-Product Social Proof (Card Strips)
   ========================================================================== */

.merch-card-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

.merch-card-social-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--merch-text-muted);
    white-space: nowrap;
}

.merch-card-social-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.merch-card-stars {
    color: #f59e0b;
}

.merch-card-star {
    font-size: 12px;
    color: #f59e0b;
}

.merch-card-review-count {
    color: var(--merch-text-dim);
    font-size: 10px;
}

.merch-card-favorites {
    color: #f43f5e;
}

.merch-card-favorites svg {
    opacity: 0.9;
    color: #f43f5e;
}

.merch-card-trending {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .merch-card-social {
        gap: 6px;
    }
    .merch-card-social-item {
        font-size: 10px;
    }
}

/* ==========================================================================
   Limited Drop Countdown Styles
   ========================================================================== */

.merch-card-countdown {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    text-align: center;
}

.countdown-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ef4444;
    margin-bottom: 6px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
}

.cd-num {
    font-size: 18px;
    font-weight: 800;
    color: #ef4444;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    line-height: 1;
}

.cd-lbl {
    font-size: 9px;
    color: var(--merch-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.cd-sep {
    font-size: 16px;
    font-weight: 700;
    color: rgba(239, 68, 68, 0.5);
    margin: 0 1px;
    align-self: flex-start;
    line-height: 1;
}

.merch-card-countdown-done {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.countdown-live {
    color: #10b981;
    font-size: 13px;
    font-weight: 700;
    animation: pulse-live 2s infinite;
}

.merch-card-countdown-live {
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    text-align: center;
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.merch-card-soldout {
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 10px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Perf-Lite Overrides
   ========================================================================== */

.perf-lite .merch-circuit-divider::after {
    animation: none;
    display: none;
}

.perf-lite .me-gradient-text {
    animation: none;
}

.perf-lite .merch-card {
    transition: none;
}

.perf-lite .merch-card:hover {
    transform: none;
}

.perf-lite .merch-card-img {
    transition: none;
}

.perf-lite .merch-card:hover .merch-card-img {
    transform: none;
}

.perf-lite .merch-card-icon {
    transition: none;
}

.perf-lite .merch-card:hover .merch-card-icon {
    transform: none;
}

.perf-lite .me-cta-btn {
    transition: none;
}

.perf-lite .merch-social-btn {
    transition: none;
}
