/* ========================================
   Loose Packs Trading Co. — v2 Modern
   Premium dark collector e-commerce
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-body: #050505;
    --bg-section: #0c0c0c;
    --bg-alt: #111111;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-solid: #141414;
    --bg-card-hover: rgba(255,255,255,0.07);
    --bg-input: rgba(255,255,255,0.06);
    --bg-glass: rgba(255,255,255,0.03);
    --text-primary: #f5f5f5;
    --text-secondary: #9a9a9a;
    --text-muted: #555;
    --gold: #FFD700;
    --gold-hover: #ffe44d;
    --gold-dim: rgba(255,215,0,0.1);
    --gold-glow: rgba(255,215,0,0.15);
    --red: #ef4444;
    --green: #22c55e;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,215,0,0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --radius-pill: 100px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-gold: 0 4px 24px rgba(255,215,0,0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1400px;
    --header-h: 64px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --tracking: 0.06em;
    --tracking-wide: 0.12em;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 2rem; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: var(--tracking);
    border: none; cursor: pointer; transition: all var(--transition);
    text-decoration: none; line-height: 1.4; position: relative; overflow: hidden;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #f0c800 100%);
    color: #000; font-weight: 700;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
    color: #000; transform: translateY(-2px); box-shadow: var(--shadow-gold);
}
.btn-outline-gold {
    background: transparent; color: var(--gold);
    border: 1.5px solid rgba(255,215,0,0.4);
}
.btn-outline-gold:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #f0f0f0; color: #000; }
.btn-dark { background: var(--bg-card-solid); color: var(--text-primary); border: 1px solid var(--border); }
.btn-dark:hover { border-color: var(--border-hover); color: var(--gold); }
.btn-disabled { background: rgba(255,255,255,0.05); color: #444; cursor: not-allowed; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.88rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.72rem; }
.btn-block { display: flex; width: 100%; }
.btn-pill { border-radius: var(--radius-pill); }
.btn-icon { padding: 0.5rem 0.7rem; }

/* ============ ANNOUNCEMENT BAR ============ */
.announcement-bar {
    background: linear-gradient(90deg, rgba(255,215,0,0.08) 0%, transparent 50%, rgba(255,215,0,0.08) 100%);
    border-bottom: 1px solid var(--border);
    height: 38px; display: flex; align-items: center; overflow: hidden;
}
.marquee-wrap { width: 100%; overflow: hidden; position: relative; }
.marquee-content {
    display: flex; gap: 3rem; white-space: nowrap;
    animation: marquee 35s linear infinite;
}
.marquee-content span {
    font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: var(--tracking-wide); color: var(--text-secondary);
    display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
}
.marquee-content span i { color: var(--gold); font-size: 0.6rem; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ HEADER ============ */
.site-header {
    background: rgba(5,5,5,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000; height: var(--header-h);
}
.header-content {
    display: flex; align-items: center; height: var(--header-h);
    justify-content: flex-end; gap: 1rem;
    position: relative;
}
.logo {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex; align-items: center;
    text-decoration: none; line-height: 0;
    z-index: 2;
    transition: all var(--transition);
}
.logo:hover .logo-pokeball {
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions a, .header-actions button {
    color: var(--text-secondary); font-size: 1rem; background: none;
    border: none; cursor: pointer; position: relative; padding: 0.5rem;
    transition: all var(--transition); border-radius: var(--radius-xs);
}
.header-actions a:hover, .header-actions button:hover {
    color: var(--gold); background: var(--gold-dim);
}
.cart-badge {
    position: absolute; top: 0; right: -2px;
    background: var(--gold); color: #000;
    font-size: 0.5rem; font-weight: 800;
    min-width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: 0;
}

.mobile-menu-toggle { display: none; }

/* ============ NAVIGATION ============ */
.main-nav {
    background: rgba(12,12,12,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-list {
    display: flex; align-items: center; gap: 0; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    justify-content: center;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { position: relative; }
.nav-list li a {
    display: block; padding: 0.75rem 1rem;
    font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: var(--tracking-wide); color: var(--text-muted);
    white-space: nowrap; transition: all var(--transition);
    position: relative;
}
.nav-list li a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0;
    height: 2px; background: var(--gold);
    transform: translateX(-50%); transition: width var(--transition);
}
.nav-list li a:hover, .nav-list li a.active { color: var(--gold); }
.nav-list li a:hover::after, .nav-list li a.active::after { width: 60%; }

/* ============ HERO ============ */
.hero {
    position: relative; min-height: 80vh; display: flex;
    align-items: center; justify-content: center; text-align: center;
    background: var(--bg-body); overflow: hidden;
}
@media (min-width: 1024px) { .hero { min-height: 100vh; } }
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 50% 30%, #151510 0%, #050505 70%);
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
}
.hero-bg-cards {
    background: radial-gradient(ellipse at 50% 35%, #181410 0%, #050505 70%);
}
.hero-float-card {
    position: absolute; width: auto; height: auto;
    max-height: 55%; border-radius: 14px; opacity: 0.15;
    filter: blur(0.5px); pointer-events: none;
    object-fit: contain;
    animation: floatCard 8s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: var(--card-rotate) translateY(0); }
    50% { transform: var(--card-rotate) translateY(-12px); }
}
.hero-card-1 { top: 5%; left: 3%; --card-rotate: rotate(-12deg); max-height: 50%; animation-delay: 0s; }
.hero-card-2 { top: 10%; right: 5%; --card-rotate: rotate(8deg); max-height: 45%; animation-delay: -2s; }
.hero-card-3 { bottom: 5%; left: 15%; --card-rotate: rotate(6deg); max-height: 40%; opacity: 0.1; animation-delay: -4s; }
.hero-card-4 { bottom: 10%; right: 18%; --card-rotate: rotate(-5deg); max-height: 42%; opacity: 0.12; animation-delay: -1s; }
.hero-card-5 { top: 20%; left: 40%; --card-rotate: rotate(3deg); max-height: 48%; opacity: 0.08; animation-delay: -3s; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 4rem 1.5rem; }
.hero-tag {
    font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.25em; color: var(--gold); margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.hero-tag::before, .hero-tag::after {
    content: ''; width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-tag::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero h1 {
    font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem;
    max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ TRUST STRIP ============ */
.trust-strip {
    padding: 1rem 0; overflow: hidden;
    background: linear-gradient(90deg, rgba(255,215,0,0.04) 0%, rgba(255,215,0,0.08) 50%, rgba(255,215,0,0.04) 100%);
    border-bottom: 1px solid var(--border);
}
.trust-row {
    display: flex; justify-content: center; gap: 3rem;
    align-items: center;
}
.trust-item {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; color: var(--text-secondary);
    font-weight: 500; text-transform: uppercase;
    letter-spacing: var(--tracking); white-space: nowrap; flex-shrink: 0;
}
.trust-item i { color: var(--gold); font-size: 0.9rem; }

@media (max-width: 768px) {
    .trust-strip { padding: 0.85rem 0; }
    .trust-row {
        justify-content: flex-start; gap: 2.5rem;
        animation: trustScroll 18s linear infinite;
        width: max-content;
    }
    .trust-row:hover { animation-play-state: paused; }
}
@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ FEATURED STRIP ============ */
.featured-strip { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ============ PRODUCT CARDS ============ */
.product-card {
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    transition: all var(--transition); position: relative;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* Avoid "hover darkening" on touch devices (taps can trigger :hover). */
@media (hover: none), (pointer: coarse) {
    .product-card:hover {
        border-color: var(--border);
        transform: none;
        box-shadow: none;
    }
    .product-card:hover .product-image img {
        transform: none;
    }
}
.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 200%;
    animation: imgShimmer 1.8s ease-in-out infinite;
    overflow: hidden;
    flex-shrink: 0;
}
.product-image:has(img.img-loaded) {
    animation: none;
    background: rgba(255,255,255,0.02);
}
@keyframes imgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.product-image img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: contain; object-position: center;
    padding: 0.75rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}
.product-image img.img-loaded { opacity: 1; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image .img-hover {
    position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.4s ease;
    width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 0.75rem;
}
.product-card:hover .product-image .img-hover { opacity: 1; }
.product-image .img-primary { z-index: 1; }
/* Keep the primary image visible on hover/tap.
   Your current markup only provides `.img-primary` (no `.img-hover`), so hiding the primary
   causes the image to disappear and the background to look "dark" on desktop/mobile. */
.product-card:hover .product-image .img-primary { opacity: 1; }
.product-card:hover .product-image .img-hover { opacity: 0; z-index: 2; }
.sold-out-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center; z-index: 3;
    backdrop-filter: blur(2px);
}
.sold-out-overlay span {
    color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.3rem 1rem; border-radius: var(--radius-pill);
}
.product-placeholder {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; font-size: 2.5rem; color: #222;
}
.product-badge {
    position: absolute; top: 0.6rem; left: 0.6rem;
    padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
    font-size: 0.55rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking); z-index: 2;
}
.badge-sale { background: var(--red); color: #fff; }
.badge-new { background: var(--gold); color: #000; }
.badge-rare { background: #9333ea; color: #fff; }

.product-info {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.product-category {
    display: inline-block; font-size: 0.55rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: var(--tracking-wide);
    font-weight: 600; margin-bottom: 0.25rem;
}
.product-info h3 {
    font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    min-height: 2.2em;
}
.product-info h3 a { color: var(--text-primary); }
.product-info h3 a:hover { color: var(--gold); }
.product-price {
    display: flex; align-items: center; gap: 0.4rem;
    margin-bottom: 0.65rem; margin-top: auto; flex-wrap: wrap;
}
.price-current { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--gold); }
.price-was { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }
.btn-add-cart { width: 100%; justify-content: center; }

/* ============ WHY CHOOSE US ============ */
.why-section {
    padding: 6rem 0; position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-body) 0%, #0a0808 50%, var(--bg-body) 100%);
}
.why-section::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 1000px; margin: 0 auto; }
.why-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border); border-radius: 16px;
    padding: 2.25rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    display: flex; gap: 1.5rem; align-items: flex-start;
}
.why-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.06) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.why-card:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255,215,0,0.05);
}
.why-card:hover::after { opacity: 1; }
.why-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.05) 100%);
    border: 1px solid rgba(255,215,0,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--gold); flex-shrink: 0;
    transition: all 0.4s ease; position: relative; z-index: 1;
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--gold) 0%, #f0c800 100%);
    color: #000; border-color: var(--gold);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
    transform: scale(1.05);
}
.why-text { position: relative; z-index: 1; flex: 1; }
.why-card h3 {
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
    margin-bottom: 0.5rem; color: var(--text-primary);
}
.why-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ============ HELP CTA BANNER ============ */
.help-cta {
    padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.help-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,215,0,0.04) 0%, transparent 70%);
}
.help-cta h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 0.6rem; position: relative; }
.help-cta p { color: var(--text-secondary); margin-bottom: 1.75rem; font-size: 1rem; position: relative; }

/* ============ SECTIONS ============ */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-section); }
.section-header { margin-bottom: 2.5rem; }
.section-header-row {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.75rem;
}
.section-header h2 {
    font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700;
}
.section-header .view-all {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: var(--tracking); color: var(--text-secondary);
    display: flex; align-items: center; gap: 0.3rem;
    transition: all var(--transition);
}
.section-header .view-all:hover { color: var(--gold); gap: 0.5rem; }

/* ============ HOW IT WORKS ============ */
.how-section {
    padding: 6rem 0; position: relative; overflow: hidden;
    background: var(--bg-alt);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.how-steps {
    display: flex; justify-content: center; gap: 0;
    position: relative; max-width: 1100px; margin: 0 auto;
}
.how-step {
    text-align: center; position: relative; padding: 2rem 2rem 2rem;
    flex: 1; max-width: 360px;
}
.how-step-icon {
    width: 80px; height: 80px; border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; position: relative;
    background: linear-gradient(135deg, rgba(255,215,0,0.12) 0%, rgba(255,215,0,0.03) 100%);
    border: 2px solid rgba(255,215,0,0.2);
    color: var(--gold); transition: all 0.4s ease;
}
.how-step:hover .how-step-icon {
    background: linear-gradient(135deg, var(--gold), #f0c800);
    color: #000; border-color: var(--gold);
    box-shadow: 0 0 40px rgba(255,215,0,0.25);
    transform: scale(1.08);
}
.how-step-num {
    position: absolute; top: -6px; right: -6px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gold); color: #000;
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--bg-alt);
}
.how-step h3 {
    font-family: var(--font-heading); font-size: 1.1rem;
    font-weight: 700; margin-bottom: 0.6rem;
}
.how-step p {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.75;
    max-width: 280px; margin: 0 auto;
}
.how-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 60px; flex-shrink: 0; align-self: flex-start; padding-top: 4.2rem;
}
.how-arrow svg {
    width: 50px; height: 20px; color: rgba(255,215,0,0.3);
}
.how-arrow-line {
    stroke: currentColor; stroke-width: 2; fill: none;
    stroke-dasharray: 6 4;
}
.how-arrow-head {
    fill: currentColor;
}

/* ============ TAB BAR ============ */
.tab-bar { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
    padding: 0.55rem 1.5rem; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: var(--tracking); border: 1px solid var(--border);
    background: transparent; color: var(--text-secondary); cursor: pointer;
    transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--border-hover); color: var(--gold); }
.tab-btn.active {
    background: linear-gradient(135deg, var(--gold), #f0c800);
    color: #000; border-color: var(--gold); font-weight: 700;
}

/* ============ AUTHENTICITY SECTION ============ */
.auth-section {
    padding: 6rem 0; position: relative; overflow: hidden;
    background: var(--bg-alt);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.auth-mascot-bg {
    position: absolute; right: -2rem; bottom: 0; height: 110%;
    opacity: 0.08; pointer-events: none; z-index: 0;
}
.auth-mascot-bg img { height: 100%; width: auto; object-fit: contain; object-position: right bottom; }
.auth-content { max-width: 560px; position: relative; z-index: 2; }
.auth-avatar { margin-bottom: 1.25rem; }
.auth-avatar img {
    width: 72px; height: 72px; border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.4); object-fit: cover;
    box-shadow: 0 0 20px rgba(255,215,0,0.1);
}
.auth-content h2 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
.auth-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.9; }

/* ============ LIVE BREAKS SECTION ============ */
.live-breaks-section {
    position: relative; padding: 6rem 0; overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.live-breaks-bg {
    position: absolute; inset: 0; z-index: 0;
}
.live-breaks-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.live-breaks-bg::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(5,5,5,0.75); z-index: 1;
}
.live-breaks-bg-cards {
    background: radial-gradient(ellipse at 60% 50%, #181410 0%, #050505 70%);
}
.live-float-card {
    position: absolute; width: auto; height: auto;
    max-height: 80%; border-radius: 12px; opacity: 0.12;
    filter: blur(0.5px); pointer-events: none;
    object-fit: contain;
    animation: floatCard 10s ease-in-out infinite;
}
.live-card-1 { top: 5%; left: 5%; --card-rotate: rotate(-8deg); max-height: 75%; animation-delay: -1s; }
.live-card-2 { top: 10%; right: 8%; --card-rotate: rotate(10deg); max-height: 65%; opacity: 0.09; animation-delay: -3s; }
.live-card-3 { bottom: 5%; left: 35%; --card-rotate: rotate(4deg); max-height: 60%; opacity: 0.07; animation-delay: -5s; }
.live-breaks-content {
    position: relative; z-index: 2; max-width: 560px;
    text-align: center; margin: 0 auto;
}
.live-breaks-content h2 {
    font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem;
}
.live-breaks-content p {
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============ COLLECTIONS GRID ============ */
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.collection-tile {
    position: relative; aspect-ratio: 1; border-radius: var(--radius);
    overflow: hidden; cursor: pointer; border: 1px solid var(--border);
    transition: all var(--transition); display: block; text-decoration: none;
    background: rgba(255,255,255,0.02);
}
.collection-tile:hover { border-color: var(--border-hover); transform: scale(1.02); box-shadow: var(--shadow); }
.collection-tile img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.collection-tile:hover img { transform: scale(1.08); }
.collection-tile-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.05) 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem;
}
.shop-now-tag {
    font-size: 0.58rem; text-transform: uppercase; letter-spacing: var(--tracking-wide);
    color: var(--gold); font-weight: 600; margin-bottom: 0.3rem;
}
.collection-tile-overlay h3 { font-size: 0.88rem; font-weight: 700; color: #fff; }

/* ============ TESTIMONIALS CAROUSEL ============ */
.testimonials-carousel {
    position: relative; overflow: hidden;
    margin: 0 -2rem; padding: 0 2rem;
}

/* The global `.reveal` animation applies `transform: translateY(...)`.
   On this carousel it can cause a visible layout "side shift" when it enters view,
   so keep the transform disabled and animate only opacity. */
.testimonials-carousel.reveal,
.testimonials-carousel.reveal.visible {
    transform: none !important;
}
.testimonials-track {
    display: flex; gap: 1.5rem;
    animation: testimonialScroll 60s linear infinite;
    width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    transition: all var(--transition); position: relative;
    min-width: 340px; max-width: 340px; flex-shrink: 0;
}
.testimonial-card::before {
    content: '\201c'; position: absolute; top: 0.75rem; right: 1.25rem;
    font-size: 3rem; color: rgba(255,215,0,0.06); font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-header {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.3); object-fit: cover; flex-shrink: 0;
}
.testimonial-product {
    display: block; font-size: 0.7rem; color: var(--text-muted);
    text-decoration: none; margin-top: 0.15rem;
}
.testimonial-product:hover { color: var(--gold); }
.testimonial-card .quote { font-size: 0.82rem; color: var(--text-secondary); font-style: italic; line-height: 1.7; }
.testimonial-card .handle { font-size: 0.8rem; font-weight: 700; color: var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 0.65rem; margin-bottom: 0.6rem; letter-spacing: 0.1em; }

/* ============ STATS BAR ============ */
.stats-bar {
    padding: 5rem 0; position: relative; overflow: hidden;
    background: #080505;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-bar::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,215,0,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(200,50,50,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.stats-bar-pokeball {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px; height: 400px; border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.04); opacity: 0.5; pointer-events: none;
}
.stats-bar-pokeball::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 2px; background: rgba(255,215,0,0.04);
}
.stats-bar-pokeball::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.06);
}
.stats-row {
    display: flex; justify-content: center; gap: 0;
    text-align: center; position: relative; z-index: 1;
}
.stat-item {
    padding: 1rem 2.5rem; position: relative;
}
.stat-item + .stat-item::before {
    content: ''; position: absolute; left: 0; top: 20%; height: 60%;
    width: 1px; background: linear-gradient(180deg, transparent, rgba(255,215,0,0.15), transparent);
}
.stat-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.12);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.85rem; font-size: 1rem; color: var(--gold);
}
.stat-number {
    display: block; font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 700; color: var(--gold);
    margin-bottom: 0.3rem; line-height: 1;
}
.stat-label {
    font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: var(--tracking-wide); font-weight: 500;
}

/* ============ NEWSLETTER ============ */
.newsletter-section {
    padding: 5rem 0; text-align: center;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.newsletter-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,215,0,0.04) 0%, transparent 60%);
}
.newsletter-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.newsletter-content h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; }
.newsletter-content p { color: var(--text-secondary); margin-bottom: 1.75rem; font-size: 0.92rem; }
.newsletter-form {
    display: flex; max-width: 480px; margin: 0 auto;
    border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden;
    background: rgba(255,255,255,0.03);
}
.newsletter-form input {
    flex: 1; padding: 0.85rem 1.5rem; background: transparent;
    border: none; color: var(--text-primary); outline: none; font-size: 0.85rem;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
    padding: 0.85rem 2rem; background: var(--gold); border: none;
    color: #000; font-weight: 700; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: var(--tracking);
    cursor: pointer; transition: all var(--transition); white-space: nowrap;
    border-radius: var(--radius-pill); margin: 4px;
}
.newsletter-form button:hover { background: var(--gold-hover); }
.social-row { display: flex; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.social-row a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); display: flex;
    align-items: center; justify-content: center;
    color: var(--text-muted); transition: all var(--transition);
    font-size: 0.9rem;
}
.social-row a:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }
#newsletter-message { margin-top: 0.75rem; font-size: 0.8rem; }

/* ============ FOOTER ============ */
.site-footer {
    background: #080808; padding: 4rem 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-col h4 {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking-wide); margin-bottom: 1.25rem; color: var(--text-primary);
}
.footer-col p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
    color: var(--text-muted); font-size: 0.8rem;
    transition: all var(--transition); display: inline-flex; align-items: center; gap: 0;
}
.footer-col ul li a:hover { color: var(--gold); gap: 0.3rem; }
.footer-col ul li a::before {
    content: ''; width: 0; height: 1px; background: var(--gold);
    transition: width var(--transition);
}
.footer-col ul li a:hover::before { width: 12px; }
.footer-logo {
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700;
    color: var(--text-primary); display: flex; align-items: center;
    gap: 0.5rem; margin-bottom: 1rem;
}
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); display: flex;
    align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 0.8rem; transition: all var(--transition);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }
.footer-bottom {
    border-top: 1px solid var(--border); padding: 1.5rem 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.72rem; color: var(--text-muted); }
.payment-icons { display: flex; gap: 0.6rem; font-size: 1.4rem; color: #444; }
.payment-icons i { transition: color var(--transition); }
.payment-icons i:hover { color: var(--text-secondary); }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-card-solid); border: 1px solid var(--border);
    color: var(--gold); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ============ PAGE BANNER ============ */
.page-banner {
    padding: 3.5rem 0; text-align: center;
    background: linear-gradient(180deg, var(--bg-section), var(--bg-alt));
    border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.page-banner p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============ BREADCRUMB ============ */
.breadcrumb-bar { background: var(--bg-section); padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-primary); }

/* ============ SHOP LAYOUT ============ */
.shop-section { padding: 2.5rem 0 5rem; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; }

.shop-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.sidebar-widget {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}
.sidebar-widget h3 {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking); margin-bottom: 0.85rem;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.category-list li a {
    display: flex; justify-content: space-between; padding: 0.45rem 0;
    color: var(--text-secondary); font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.03); transition: all var(--transition);
}
.category-list li:last-child a { border-bottom: none; }
.category-list li a:hover, .category-list li a.active { color: var(--gold); }
.category-list li a span { color: var(--text-muted); font-size: 0.72rem; }

.price-filter .price-inputs { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; }
.price-filter input {
    width: 100%; padding: 0.5rem; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius-xs);
    color: var(--text-primary); text-align: center; outline: none; font-size: 0.82rem;
    transition: border-color var(--transition);
}
.price-filter input:focus { border-color: var(--gold); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.result-count { font-size: 0.8rem; color: var(--text-secondary); }
.sort-bar { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; }
.sort-bar label { color: var(--text-muted); white-space: nowrap; font-size: 0.75rem; }
.sort-bar select {
    padding: 0.45rem 0.85rem; background: var(--bg-card-solid);
    border: 1px solid var(--border); border-radius: var(--radius-xs);
    color: var(--text-primary); outline: none; font-size: 0.78rem;
    transition: border-color var(--transition);
}
.sort-bar select:focus { border-color: var(--gold); }
.mobile-filter-toggle { display: none; }

.empty-shop { text-align: center; padding: 5rem 1.5rem; color: var(--text-muted); grid-column: 1/-1; }
.empty-shop i { font-size: 3rem; margin-bottom: 1rem; color: #333; }
.empty-shop h3 { margin-bottom: 0.5rem; color: var(--text-primary); font-size: 1.15rem; }

/* ============ PRODUCT DETAIL ============ */
.product-detail-section { padding: 2.5rem 0 5rem; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-bottom: 3rem; }
.product-detail-image {
    position: relative; aspect-ratio: 1; background: var(--bg-card);
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
}
.product-image-wrap { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; }
.product-main-image-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.product-detail-image img.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-placeholder-large {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; font-size: 4rem; color: #222;
}
.product-detail-info h1 {
    font-family: var(--font-heading); font-size: 1.75rem;
    font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3;
}
.product-short-desc { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.92rem; line-height: 1.8; }
.product-detail-price { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.price-current-lg { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--gold); }
.price-was-lg { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.discount-pct { background: var(--red); color: #fff; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); font-size: 0.65rem; font-weight: 700; letter-spacing: var(--tracking); }
.product-meta {
    margin-bottom: 1.5rem; padding: 1rem;
    background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border);
}
.meta-item { display: flex; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
.meta-item:last-child { border-bottom: none; }
.meta-item span:first-child { color: var(--text-muted); min-width: 90px; }
.in-stock { color: var(--green); }
.out-of-stock { color: var(--red); }

.product-actions { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; align-items: stretch; }
.quantity-selector { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.quantity-selector-sm { height: 36px; }
.qty-btn {
    width: 40px; background: var(--bg-card-solid); border: none;
    color: var(--text-primary); font-size: 1rem; cursor: pointer;
    transition: all var(--transition);
}
.qty-btn:hover { background: var(--gold); color: #000; }
.quantity-selector input {
    width: 48px; text-align: center; border: none;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    background: var(--bg-input); color: var(--text-primary); font-weight: 600;
    outline: none; -moz-appearance: textfield;
}
.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.5rem; }
.product-guarantees div {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem;
    color: var(--text-secondary); padding: 0.7rem;
    background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border);
    text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
.product-guarantees i { color: var(--gold); }

.product-description { margin-bottom: 3rem; }
.product-description h2 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.85rem; font-weight: 700; }
.description-content { color: var(--text-secondary); line-height: 1.9; max-width: 750px; font-size: 0.9rem; }

/* Product gallery thumbnails */
.product-thumb-strip {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem 0.8rem;
    overflow-x: auto;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.35);
}
.product-thumb {
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 0.15rem;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    flex: 0 0 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-thumb-active,
.product-thumb:hover {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(255,215,0,0.4);
}

/* ============ CART ============ */
.cart-section { padding: 2.5rem 0 5rem; }
.empty-cart { text-align: center; padding: 5rem 1.5rem; }
.empty-cart i { font-size: 3.5rem; color: #333; margin-bottom: 1rem; }
.empty-cart h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.empty-cart p { color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 400px; margin-left: auto; margin-right: auto; font-size: 0.9rem; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
}
.cart-table th {
    padding: 0.75rem 1rem; text-align: left; font-size: 0.62rem;
    text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted);
    background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 0.85rem; }
.cart-product-info { display: flex; align-items: center; gap: 0.75rem; }
.cart-product-image { width: 52px; height: 52px; border-radius: var(--radius-xs); overflow: hidden; background: rgba(255,255,255,0.02); flex-shrink: 0; }
.cart-product-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name { font-weight: 600; font-size: 0.85rem; }
.no-image { width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#333; }

.summary-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.summary-card h3 {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking); margin-bottom: 1rem;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.summary-row { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.85rem; }
.summary-total { font-size: 1.05rem; font-weight: 700; border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.summary-total span:last-child { color: var(--gold); font-family: var(--font-heading); }
.free-shipping { color: var(--green); font-weight: 600; }
.free-shipping-notice {
    background: var(--gold-dim); padding: 0.6rem 0.85rem;
    border-radius: var(--radius-xs); font-size: 0.72rem; color: var(--gold);
    margin: 0.5rem 0; font-weight: 600;
}

/* ============ CHECKOUT ============ */
.checkout-section { padding: 2.5rem 0 5rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: start; }
.checkout-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.checkout-card h3 {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking); margin-bottom: 1rem;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.checkout-item { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.82rem; color: var(--text-secondary); }
.checkout-summary hr { border: none; border-top: 1px solid var(--border); margin: 0.6rem 0; }
.payment-options { display: grid; gap: 0.6rem; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-option-content {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: all var(--transition); font-size: 0.85rem;
}
.payment-option input:checked + .payment-option-content { border-color: var(--gold); background: var(--gold-dim); }
.payment-option input:disabled + .payment-option-content {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: var(--border);
    background: var(--bg-card-solid);
    pointer-events: none;
}
.payment-option-content i { font-size: 1rem; color: var(--text-secondary); }
.payment-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.6rem; }

/* ============ ORDER CONFIRMATION ============ */
.confirmation-section { padding: 5rem 0; }
.confirmation-card {
    text-align: center; max-width: 520px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 3.5rem;
}
.confirmation-icon { font-size: 3.5rem; color: var(--green); margin-bottom: 1rem; }
.confirmation-card h1 { font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 0.5rem; }
.order-number { font-size: 1rem; color: var(--gold); margin-bottom: 1rem; }
.confirmation-card p { color: var(--text-secondary); margin-bottom: 0.5rem; font-size: 0.88rem; }
.confirmation-actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }

/* ============ CONTACT ============ */
.contact-section { padding: 3rem 0 5rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
.contact-info-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
}
.contact-info-card h3 {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: var(--tracking); margin-bottom: 1rem;
}
.contact-info-item { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info-item i { color: var(--gold); font-size: 0.9rem; margin-top: 0.2rem; }
.contact-info-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.15rem; }
.contact-info-item p { color: var(--text-secondary); font-size: 0.82rem; margin: 0; }

/* ============ CONTENT PAGES ============ */
.content-section { padding: 3rem 0 5rem; }
.content-page { max-width: 750px; margin: 0 auto; color: var(--text-secondary); line-height: 1.9; font-size: 0.9rem; }
.content-page h2 { color: var(--text-primary); margin: 2.5rem 0 0.75rem; font-size: 1.3rem; font-family: var(--font-heading); font-weight: 700; }
.content-page h3 { color: var(--text-primary); margin: 1.5rem 0 0.5rem; font-size: 1rem; font-weight: 700; }
.content-page ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }
.content-page li { margin-bottom: 0.35rem; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem; margin-bottom: 0.85rem;
    transition: all var(--transition); cursor: pointer;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item h3 { font-size: 0.92rem; color: var(--text-primary); margin-bottom: 0.4rem; display: flex; justify-content: space-between; align-items: center; }
.faq-item h3::after { content: '+'; color: var(--gold); font-size: 1.2rem; font-weight: 300; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: var(--tracking); color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.7rem 1rem; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text-primary); outline: none; transition: all var(--transition);
    font-size: 0.85rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,215,0,0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============ ALERTS ============ */
.alert { padding: 0.8rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.82rem; }
.alert ul { margin: 0; padding-left: 1rem; list-style: disc; }
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: var(--green); }
.alert-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--red); }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: 0.35rem; margin-top: 2.5rem; flex-wrap: wrap; align-items: center; }
.pagination a {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 0.8rem; font-weight: 600;
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--border-hover); color: var(--gold); }
.pagination a.active {
    background: linear-gradient(135deg, var(--gold), #f0c800);
    border-color: var(--gold); color: #000;
}

/* ============ TOAST ============ */
.toast {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.5rem;
    box-shadow: var(--shadow); z-index: 9999;
    display: flex; align-items: center; gap: 0.75rem;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 360px; backdrop-filter: blur(12px);
}
.toast.show { transform: translateY(0); }
.toast i { color: var(--green); font-size: 1.1rem; }
.toast-message { font-size: 0.85rem; }

/* ============ CART DRAWER ============ */
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: all 0.35s ease; backdrop-filter: blur(4px);
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; top: 0; right: 0; width: 420px; max-width: 92vw;
    height: 100vh; background: rgba(12,12,12,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    z-index: 2001; transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }
.drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.drawer-header h3 {
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: var(--tracking);
}
.drawer-close {
    background: none; border: none; color: var(--text-muted);
    font-size: 1.1rem; cursor: pointer; padding: 0.3rem;
    transition: color var(--transition);
}
.drawer-close:hover { color: var(--gold); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.drawer-footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.drawer-empty {
    text-align: center; padding: 3rem 1rem; color: var(--text-secondary);
    font-size: 0.85rem; line-height: 1.7;
}

/* Cart drawer items */
.drawer-item-row {
    display: flex; gap: 0.85rem;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border);
    align-items: center;
}
.drawer-item-image {
    width: 52px; height: 52px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.drawer-cart-img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: rgba(255,255,255,0.03);
}
.drawer-cart-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03);
}
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name {
    font-size: 0.82rem; font-weight: 600;
    line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.drawer-item-meta {
    font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.drawer-item-total {
    font-size: 0.85rem; color: var(--gold); font-weight: 700;
    white-space: nowrap; font-family: var(--font-heading);
}
.drawer-remove-btn {
    width: 34px; height: 34px;
    border-radius: var(--radius-xs);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.drawer-remove-btn:hover {
    color: var(--gold);
    border-color: rgba(255,215,0,0.45);
    background: var(--gold-dim);
}
.drawer-remove-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .collections-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 220px 1fr; }
    .stat-item { padding: 1rem 1.5rem; }
    .stat-number { font-size: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .mobile-menu-toggle {
        display: block; background: none; border: none;
        color: var(--text-secondary); font-size: 1.1rem;
        cursor: pointer; padding: 0.5rem; border-radius: var(--radius-xs);
        transition: all var(--transition);
    }
    .mobile-menu-toggle:hover { color: var(--gold); background: var(--gold-dim); }
    .main-nav {
        display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
        bottom: 0; background: rgba(5,5,5,0.98); backdrop-filter: blur(20px);
        z-index: 999; overflow-y: auto;
    }
    .main-nav.active { display: block; }
    .nav-list { flex-direction: column; padding: 1rem 0; }
    .nav-list li a {
        padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
        font-size: 0.78rem;
    }
    .nav-list li a::after { display: none; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 1.8rem; }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .product-info { padding: 0.6rem 0.55rem; }
    .product-info h3 { font-size: 0.68rem; min-height: 1.8em; margin-bottom: 0.25rem; }
    .product-category { font-size: 0.48rem; margin-bottom: 0.15rem; }
    .price-current { font-size: 0.82rem; }
    .price-was { font-size: 0.62rem; }
    .product-price { margin-bottom: 0.45rem; gap: 0.25rem; }
    .btn-add-cart { padding: 0.35rem 0.5rem; font-size: 0.6rem; }
    .product-badge { top: 0.35rem; left: 0.35rem; padding: 0.15rem 0.4rem; font-size: 0.45rem; }
    .product-card { border-radius: var(--radius-sm); }
    .product-image img { padding: 0.4rem; }

    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card { min-width: 290px; max-width: 290px; }

    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 1.75rem; }

    .how-steps { flex-direction: column; align-items: center; }
    .how-arrow { transform: rotate(90deg); padding: 0; width: auto; align-self: center; }

    .stats-row { flex-wrap: wrap; }
    .stat-item { width: 50%; padding: 1.25rem 1rem; }
    .stat-item + .stat-item::before { display: none; }
    .stat-number { font-size: 2rem; }
    .stats-bar-pokeball { width: 250px; height: 250px; }

    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar {
        display: none; position: fixed; top: 0; left: 0; width: 300px;
        height: 100vh; z-index: 1001; background: rgba(5,5,5,0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem; overflow-y: auto; box-shadow: var(--shadow);
    }
    .shop-sidebar.active { display: block; }
    .mobile-filter-toggle { display: inline-flex; }

    .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-guarantees { grid-template-columns: 1fr; }
    .product-actions { flex-direction: column; }

    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Cart drawer readability on small screens */
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }
    .drawer-body { padding: 1rem; }
    .drawer-footer { padding: 1rem; }
    .drawer-item-row { gap: 0.6rem; padding: 0.7rem 0; }
    .drawer-item-name { white-space: normal; }
    .drawer-item-meta { white-space: normal; }
    .drawer-item-total { font-size: 0.88rem; }
    .drawer-item-total { white-space: normal; }
    .drawer-item-row { align-items: flex-start; }
    .drawer-remove-btn { width: 32px; height: 32px; }

    /* Toast on small screens: keep fully on-screen */
    .toast {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: unset;
        transform: translateY(80%);
    }
    .toast.show { transform: translateY(0); }

    /* Product page: ensure injected Description/Related content is visible */
    .product-description.reveal,
    .related-products.reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
    .product-info { padding: 0.5rem 0.45rem; }
    .product-info h3 { font-size: 0.62rem; -webkit-line-clamp: 2; min-height: 1.6em; margin-bottom: 0.2rem; }
    .product-category { font-size: 0.44rem; }
    .price-current { font-size: 0.75rem; }
    .price-was { font-size: 0.56rem; }
    .product-price { margin-bottom: 0.35rem; }
    .btn-add-cart { padding: 0.3rem 0.4rem; font-size: 0.55rem; letter-spacing: 0.02em; }
    .product-badge { font-size: 0.42rem; padding: 0.12rem 0.35rem; }
    .product-image img { padding: 0.3rem; }

    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card { gap: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .confirmation-actions { flex-direction: column; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius-sm); }
    .newsletter-form input { border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 1rem; }
    .newsletter-form button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin: 0; padding: 1rem; }
    .stat-item { width: 50%; }
}

@media (max-width: 359px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
    .product-info { padding: 0.4rem 0.35rem; }
    .product-info h3 { font-size: 0.55rem; }
    .price-current { font-size: 0.65rem; }
    .btn-add-cart { padding: 0.25rem 0.3rem; font-size: 0.5rem; }
}
