
    /* ============================================
       TARJETAS DE CATEGORÍAS Y SUBMARCAS
    ============================================ */
    .category-card, 
    .submarca-card {
        transition: all 0.3s ease;
        height: 100%;
        border: 1px solid #eaeaea;
        border-radius: 12px;
        overflow: hidden;
    }

    .category-card:hover, 
    .submarca-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: #007bff;
    }

    .category-img, 
    .submarca-img {
        height: 180px;
        object-fit: contain;
        padding: 20px;
        background: #f8f9fa;
    }

    /* ============================================
       TARJETA DE PRODUCTO HORIZONTAL
    ============================================ */
    .product-card-horizontal {
        border: 1px solid #eaeaea;
        border-radius: 12px;
        margin-bottom: 20px;
        transition: all 0.3s ease;
        background: white;
        overflow: hidden;
    }

    .product-card-horizontal:hover {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .product-image-container {
        width: 140px;
        min-width: 140px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }

    .product-image {
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
    }

    .marca-image-container {
        width: 80px;
        min-width: 80px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-right: 1px solid #eaeaea;
    }

    .marca-product-image {
        max-width: 100%;
        max-height: 60px;
        object-fit: contain;
    }

    .product-info {
        padding: 15px;
        flex: 1;
    }

    .product-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }

    .product-description {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .stock-info {
        font-size: 0.75rem;
        padding: 3px 8px;
        border-radius: 4px;
        display: inline-block;
    }

    /* ============================================
       ACCIONES DEL PRODUCTO - HORIZONTAL
    ============================================ */
    .product-actions-horizontal {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        border-left: 1px solid #eaeaea;
        background: #fafafa;
    }

    .product-price {
        font-size: 1.3rem;
        font-weight: bold;
        color: #28a745;
        min-width: 100px;
        white-space: nowrap;
    }

    .quantity-control {
        margin: 0;
    }

    .quantity-input-sm {
        width: 65px;
        text-align: center;
    }

    .btn-add-cart {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        padding: 8px 16px;
        border-radius: 6px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .btn-add-cart.btn-sm {
        padding: 6px 16px;
        white-space: nowrap;
    }

    .btn-add-cart:hover {
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
        transform: translateY(-2px);
    }

    .btn-add-cart:disabled {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
    }

    /* ============================================
       HEADER DE MARCA - IMAGEN GRANDE Y CENTRADA
    ============================================ */
    .section-header {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 30px 20px;
        border-radius: 16px;
        margin-bottom: 30px !important;
    }

    .marca-header-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .marca-grande {
        max-width: 900px;
        max-height: 540px;
        width: auto;
        height: auto;
        object-fit: contain;
        background: white;
        padding: 15px 25px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .marca-header-title {
        font-size: 1.8rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        letter-spacing: -0.5px;
    }

    /* ============================================
       ELEMENTOS COMUNES
    ============================================ */
    .cart-count {
        background: #f8920d;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .placeholder-img {
        height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        color: #adb5bd;
    }

    .badge-count {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #28a745;
        font-size: 0.75rem;
    }

    /* ============================================
       TOAST NOTIFICATIONS
    ============================================ */
    .toast-notification {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        min-width: 280px;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* ============================================
       RESPONSIVE
    ============================================ */
    @media (max-width: 768px) {
        /* Tarjeta producto */
        .product-card-horizontal {
            flex-direction: column;
        }

        .product-image-container {
            width: 100%;
            height: 160px;
        }

        .marca-image-container {
            display: none;
        }

        /* Acciones horizontales */
        .product-actions-horizontal {
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            border-left: none;
            border-top: 1px solid #eaeaea;
        }

        .product-price {
            min-width: auto;
        }

        /* Header marca */
        .marca-grande {
            max-width: 180px;
            max-height: 130px;
            padding: 10px 20px;
        }

        .marca-header-title {
            font-size: 1.4rem;
        }

        .section-header {
            padding: 20px 15px;
        }
    }
