        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #000;
            color: #fff;
            min-height: 100vh;
            line-height: 1.5;
        }
        
        /* Header */
        .header {
            background: #1a1a1a;
            border-bottom: 1px solid #333;
            padding: 16px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .brand {
            color: #d4af37;
            font-size: 1.25rem;
            font-weight: 700;
            text-decoration: none;
        }
        
        .staging-badge {
            background: #f59e0b;
            color: #000;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        
        
        /* Main */
        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            padding-bottom: 160px;
        }
        
        /* Page Header */
        .page-header {
            text-align: center;
            padding: 30px 20px;
        }
        
        .page-header h1 {
            font-size: 1.8rem;
            color: #d4af37;
            margin-bottom: 8px;
        }
        
        .page-header p {
            color: #888;
        }
        
        /* Tabs */
        .tab-radio { display: none; }
        
        .tabs-nav {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 24px;
        }
        
        .tab-label {
            background: #1a1a1a;
            border: 2px solid #333;
            color: #888;
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .tab-label:hover {
            border-color: #d4af37;
            color: #d4af37;
        }
        
        #tab-productos:checked ~ .tabs-nav .tab-label[for="tab-productos"],
        #tab-combos:checked ~ .tabs-nav .tab-label[for="tab-combos"] {
            background: #d4af37;
            border-color: #d4af37;
            color: #000;
        }
        
        .tab-content { display: none; }
        #tab-productos:checked ~ .content-area #content-productos { display: block; }
        #tab-combos:checked ~ .content-area #content-combos { display: block; }
        
        /* Discount Banner */
        .discount-banner {
            background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
            border: 1px solid #333;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 24px;
            text-align: center;
        }
        
        .discount-banner h3 {
            color: #d4af37;
            margin-bottom: 12px;
            font-size: 1.1rem;
        }
        
        .discount-tiers {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .discount-tier {
            background: #333;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            color: #ccc;
        }
        
        .discount-tier strong {
            color: #22c55e;
        }
        
        .delivery-info {
            color: #3b82f6;
            font-size: 14px;
        }
        
        /* Items Grid */
        .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }
        
        /* Filter Bar */
        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 20px;
            padding: 16px;
            background: #1a1a1a;
            border: 1px solid #333;
            border-radius: 12px;
            align-items: center;
        }
        
        .filter-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-group label {
            color: #888;
            font-size: 0.85rem;
            white-space: nowrap;
        }
        
        .filter-select {
            background: #2a2a2a;
            border: 1px solid #444;
            color: #fff;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
            min-width: 140px;
        }
        
        .filter-select:hover {
            border-color: #d4af37;
        }
        
        .filter-select:focus {
            outline: none;
            border-color: #d4af37;
        }
        
        .filter-results {
            margin-left: auto;
            color: #888;
            font-size: 0.85rem;
        }
        
        .card.hidden {
            display: none;
        }
        
        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #888;
        }
        
        .no-results-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        
        /* Cards */
        .card {
            background: #1a1a1a;
            border: 1px solid #333;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
        }
        
        .card:hover {
            border-color: #d4af37;
            transform: translateY(-4px);
        }
        
        .card.featured {
            border-color: #d4af37;
        }
        
        .card.coming-soon {
            opacity: 0.7;
        }
        
        /* Variant Color Swatches */
        .variant-swatches {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }
        
        .variant-swatch {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid #444;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }
        
        .variant-swatch:hover {
            transform: scale(1.1);
            border-color: #888;
        }
        
        .variant-swatch.active {
            border-color: #d4af37;
            box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
        }
        
        .variant-swatch[title]:hover::after {
            content: attr(title);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: #fff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            white-space: nowrap;
            margin-bottom: 4px;
            z-index: 10;
        }
        
        .variant-name {
            font-size: 0.75rem;
            color: #888;
            margin-bottom: 4px;
        }
        
        .card-image {
            position: relative;
            aspect-ratio: 1;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .card-image img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }
        
        .card-placeholder {
            font-size: 64px;
        }
        
        .card-badges {
            position: absolute;
            top: 8px;
            left: 8px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 700;
        }
        
        .badge-discount { background: #22c55e; color: #fff; }
        .badge-delivery { background: #3b82f6; color: #fff; }
        .badge-soon { background: #8b5cf6; color: #fff; }
        
        .card-body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .card-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .card-subtitle {
            color: #d4af37;
            font-size: 0.8rem;
            margin-bottom: 8px;
        }
        
        .card-desc {
            color: #888;
            font-size: 0.8rem;
            margin-bottom: 12px;
            flex-grow: 1;
        }
        
        .card-pricing {
            margin-bottom: 12px;
        }
        
        .price-old {
            color: #666;
            text-decoration: line-through;
            font-size: 0.85rem;
            margin-right: 8px;
        }
        
        .price-current {
            color: #d4af37;
            font-size: 1.25rem;
            font-weight: 700;
        }
        
        .savings {
            color: #22c55e;
            font-size: 0.8rem;
            margin-top: 4px;
        }
        
        .btn-add {
            width: 100%;
            background: linear-gradient(135deg, #d4af37, #b8941f);
            color: #000;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-add:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(212,175,55,0.4);
        }
        
        .btn-add:disabled {
            background: #444;
            color: #888;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card-image img {
    transform: scale(1.05);
}

.card-link:hover .card-title {
    color: #d4af37;
}

/* Card Info (inside link) */
.card-info {
    padding: 12px 16px 0;
}

/* Card Actions (outside link) */
.card-actions {
    padding: 8px 16px 16px;
}
        
        /* Responsive */
        @media (max-width: 640px) {
            .items-grid { grid-template-columns: repeat(2, 1fr); }
            .tab-label { padding: 10px 18px; font-size: 0.9rem; }
            .discount-tiers { gap: 6px; }
            .discount-tier { font-size: 11px; padding: 4px 8px; }
            .filter-bar { 
                flex-direction: column; 
                align-items: stretch; 
            }
            .filter-group { 
                justify-content: space-between; 
            }
            .filter-select { 
                flex: 1; 
            }
            .filter-results { 
                margin-left: 0; 
                text-align: center; 
            }
        }
        
        .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-info {
    flex: 1;
}

.card-actions {
    margin-top: auto;
    min-height: 140px; /* Reserve space for variants */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bundle-products-preview {
    flex-grow: 1;
}

.card[data-bundle-id] .card-image {
    aspect-ratio: 4/3;   /* shorter than default 1:1 */
}

/* Bundle cards: fill the image area */
.card[data-bundle-id] .card-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Fills and crops */
}