:root {
    --bg: #0a0a0a;
    --bg-dark: #050505;
    --surface: #121212;
    --surface-2: #1a1a1a;
    --text: #f2ece4;
    --text-muted: #9c9590;
    --accent: #d35400;
    --accent-dark: #a8431f;
    --accent-light: #e87845;
    --accent-glow: rgba(211, 84, 0, 0.45);
    --border: #2a2420;
    --success: #22c55e;
    --error: #ef4444;
    --shadow: 0 4px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
    --radius: 6px;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Oswald', sans-serif;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(8, 8, 15, 0.94);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-inner .nav {
    flex: 1;
    justify-content: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}

.logo span { color: var(--accent); }

.nav { display: flex; gap: 32px; align-items: center; }

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav a:hover, .nav a.active { color: var(--text); }

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a0a0f;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }

.cart-count {
    background: var(--accent);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1460353581641-37baddab0fa2?w=1600&q=80') center/cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(184, 149, 106, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 480px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 149, 106, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-dark {
    background: var(--bg-dark);
    color: #fff;
}

.btn-dark:hover { background: #2a2a2a; }

.btn-full { width: 100%; justify-content: center; }

/* Sections */
.section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Categories */
.categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cat-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
}

.cat-btn:hover, .cat-btn.active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    group: product;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0ede8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: #0a0a0f;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.bestseller-badge {
    top: auto;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    backdrop-filter: blur(8px);
}

.product-card-body { padding: 20px; }

.product-card-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.product-card-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.color-dots {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 48px 0 80px;
    align-items: start;
}

.product-gallery { position: sticky; top: 100px; }

.gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0ede8;
    margin-bottom: 16px;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-main img.fade-out { opacity: 0; transform: scale(0.97); }

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
    background: #f0ede8;
}

.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.product-brand {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.product-desc {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.option-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.option-label span { color: rgba(255, 255, 255, 0.75); font-weight: 400; text-transform: none; letter-spacing: 0; }

.color-options {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    color: #ffffff;
    transition: all var(--transition);
    cursor: pointer;
}

.color-option:hover { border-color: var(--accent); }

.color-option.active {
    border-color: var(--accent);
    background: rgba(201, 169, 110, 0.2);
    color: #ffffff;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.08);
}

.color-option-name { font-size: 0.85rem; font-weight: 500; color: #ffffff; }

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.size-option {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--surface-2);
    color: #ffffff;
    transition: all var(--transition);
}

.size-option:hover { border-color: var(--accent); color: #ffffff; }

.size-option.active {
    background: var(--accent);
    color: #0a0a0f;
    border-color: var(--accent);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    width: fit-content;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--surface-2);
    color: #ffffff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.qty-btn:hover { background: var(--surface); }

.qty-value {
    width: 48px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    background: var(--surface-2);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 44px;
}

.add-to-cart-row {
    display: flex;
    gap: 12px;
}

.add-to-cart-row .btn { flex: 1; }

.product-features {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Cart */
.cart-page { padding: 48px 0 80px; }

.page-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #ffffff;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    align-items: center;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0ede8;
    flex-shrink: 0;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; }

.cart-item-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price { font-weight: 700; color: var(--accent); }

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error);
    font-size: 0.8rem;
    font-weight: 500;
}

.cart-summary {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.15rem;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}

.empty-cart p { color: var(--text-muted); margin-bottom: 24px; }

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 48px 0 80px;
    align-items: start;
}

.checkout-form,
.checkout-form-inner { display: flex; flex-direction: column; gap: 32px; }

.form-section {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-section h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 .step-num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}

.payment-options { display: flex; flex-direction: column; gap: 10px; }

.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.payment-option:hover { border-color: var(--accent-light); }

.payment-option.active {
    border-color: var(--accent);
    background: rgba(184, 149, 106, 0.06);
}

.payment-option input { display: none; }

.payment-option-static {
    cursor: default;
    pointer-events: none;
}

.payment-icon {
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.payment-info h4 { font-size: 0.95rem; font-weight: 600; }
.payment-info p { font-size: 0.8rem; color: var(--text-muted); }

.card-fields {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.card-fields.show { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Confirmation */
.confirmation {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.confirmation h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.confirmation p { color: var(--text-muted); margin-bottom: 8px; }

.order-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 20px 0 32px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer p { font-size: 0.9rem; line-height: 1.7; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* Flash messages */
.site-flash-wrap {
    padding-top: 16px;
}

.flash {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 968px) {
    .product-detail, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .cart-item { flex-direction: column; text-align: center; }
    .cart-item-actions { align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .add-to-cart-row { flex-direction: column; }
}

/* ═══════════════════════════════════════
   3D THEME — Hero, Brands, Cards
   ═══════════════════════════════════════ */

body { padding-top: 72px; overflow-x: hidden; }

.btn-glow {
    background: linear-gradient(135deg, var(--accent), #e8c88a);
    color: #0a0a0f;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 0 40px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all var(--transition);
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px var(--accent-glow), 0 12px 40px rgba(0,0,0,0.4);
}

.btn-glass {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent);
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.clear-filters { color: var(--accent); font-weight: 600; }
.clear-filters:hover { text-decoration: underline; }

/* Hero 3D */
.hero-3d {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, #1a1030 0%, var(--bg) 50%, #0a1520 100%);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    animation: none;
}

.orb-1 { width: 500px; height: 500px; background: rgba(201,169,110,0.15); top: -10%; left: -5%; }
.orb-2 { width: 400px; height: 400px; background: rgba(99,102,241,0.12); bottom: 10%; right: -5%; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(236,72,153,0.08); top: 40%; left: 50%; animation-delay: -5s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-3d-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 60px 24px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-text h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), #f0d9a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 460px;
    line-height: 1.7;
}

.pulse-badge {
    animation: none;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(201,169,110,0.15); }
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    gap: 32px;
}

.hero-stat { display: flex; flex-direction: column; }

.stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
}

.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* 3D Shoe Stage */
.hero-3d-stage {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.stage-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,169,110,0.15);
    animation: none;
    transform: rotateX(70deg);
}

.ring-1 { width: 380px; height: 380px; }
.ring-2 { width: 440px; height: 440px; animation-direction: reverse; animation-duration: 30s; border-style: dashed; opacity: 0.5; }
.ring-3 { width: 300px; height: 300px; animation-duration: 15s; border-color: rgba(99,102,241,0.2); }

@keyframes ringRotate {
    from { transform: rotateX(70deg) rotateZ(0deg); }
    to { transform: rotateX(70deg) rotateZ(360deg); }
}

.shoe-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.shoe-3d img {
    width: 340px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: none;
}

@keyframes shoeFloat {
    0%, 100% { transform: translateY(0) rotateY(-15deg); }
    50% { transform: translateY(-18px) rotateY(-15deg); }
}

.shoe-3d-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.4), transparent);
    animation: none;
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 0.3; }
}

.shoe-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    z-index: -1;
    opacity: 0.5;
    animation: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.floating-tag {
    position: absolute;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    animation: none;
}

.tag-1 { top: 15%; right: 5%; }
.tag-2 { bottom: 20%; left: 0; animation-delay: -2s; }

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: none;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* Brands */
.brands-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(201,169,110,0.15);
}

.brand-card.active {
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.brand-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border-radius: 14px;
    font-weight: 800;
    transition: transform var(--transition);
}

.brand-card:hover .brand-icon,
.brand-card.active .brand-icon {
    transform: scale(1.1) rotateY(15deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a0a0f;
}

.brand-name { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; }

.brand-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.brand-card.active .brand-glow { opacity: 0.3; }

/* Filters */
.filters-section { padding-top: 40px; }

.filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.gender-pills { display: flex; gap: 10px; flex-wrap: wrap; }

.gender-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.gender-pill:hover { border-color: rgba(201,169,110,0.4); transform: translateY(-2px); }

.gender-pill.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a0a0f;
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.pill-icon { font-size: 1.1rem; }

.cat-btn {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
}

.cat-btn:hover, .cat-btn.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* 3D Product Cards */
.product-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    perspective: 1000px;
}

.product-card-3d {
    display: block;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.card-3d-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    transform-style: preserve-3d;
}

.product-card-3d:hover .card-3d-inner {
    border-color: rgba(201,169,110,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,169,110,0.08);
}

.product-card-3d .product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-2);
}

.product-card-3d .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-3d:hover .product-card-image img { transform: scale(1.08); }

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 55%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card-3d:hover .card-shine { transform: translateX(100%); }

.product-gender-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-light);
    z-index: 2;
}

.product-card-3d .product-card-body { padding: 20px; }

.brand-mini-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #0a0a0f;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-right: 6px;
}

.product-card-3d .product-card-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.product-card-3d .product-card-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.product-card-3d .product-card-price { color: var(--accent); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-3d-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: shoeFloat 3s ease-in-out infinite;
    display: inline-block;
}

/* CTA */
.cta-3d {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1030, var(--bg), #0a1520);
    position: relative;
    overflow: hidden;
}

.cta-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
    opacity: 0.3;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.cta-inner p { color: var(--text-muted); margin-bottom: 28px; }

/* Reveal animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    transition-delay: var(--delay, 0s);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Dark theme overrides for inner pages */
.product-detail .gallery-main { background: var(--surface-2); }
.form-section, .cart-summary, .cart-item { background: var(--surface); border: 1px solid var(--border); }
.form-group input, .form-group select, .form-group textarea { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.payment-option { background: var(--surface-2); }
.product-card { background: var(--surface); border: 1px solid var(--border); }

.product-meta-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.meta-badge-brand {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a0a0f;
}

.meta-badge-gender {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: #ffffff;
}

/* Legibilidad global en tema oscuro */
.breadcrumb { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.summary-row { color: #ffffff; }
.form-section h3 { color: #ffffff; }
.form-group label { color: rgba(255, 255, 255, 0.8); }
.payment-info h4 { color: #ffffff; }
.cart-item-meta { color: rgba(255, 255, 255, 0.75); }
.product-card-name { color: #ffffff; }
.section-header h2 { color: #ffffff; }

.gallery-3d-wrap {
    perspective: 1000px;
}

.gallery-3d-wrap .gallery-main {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
}

.brands-section,
.filters-section,
.cta-3d {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.product-grid-3d {
    contain: layout style;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.cart-qty-form { margin: 10px 0; }
.cart-qty-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; }
.cart-qty-selector { max-width: 140px; }
.cart-qty-input {
    width: 48px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text);
    font-weight: 600;
}
.checkout-create-account { margin-bottom: 20px; }
.checkout-password-wrap { margin-top: 12px; }
.payment-method-checkboxes { display: grid; gap: 10px; }
.payment-method-check { display: flex; align-items: center; gap: 8px; }
.color-extra-images { margin-top: 14px; }
.color-extra-grid { margin-top: 10px; }
.color-extra-images .upload-zone { position: relative; min-height: 120px; }
.remove-extra-image { position: absolute; top: 8px; right: 8px; z-index: 2; }

@media (max-width: 968px) {
    .hero-3d-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-3d-stage { height: 350px; }
    .shoe-3d img { width: 260px; }
    .brands-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .header { backdrop-filter: blur(12px); }

    .orb, .stage-ring, .shoe-3d img, .shoe-3d-shadow,
    .shoe-glow, .floating-tag, .scroll-line, .pulse-badge {
        animation: none;
    }

    .orb { filter: blur(60px); }
}
