/* Product Page Styles */
    .product-image-wrapper {
        position: relative;
        background: #f8f9fa;
        border-radius: 1.5rem;
    }

    .main-image-container {
        position: relative;
        background: #fff;
        transition: all 0.3s ease;
    }

    .price-badge {
        font-size: 1.2rem;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255,255,255,0.3);
    }

    .image-gallery {
        border-radius: 0 0 1.5rem 1.5rem;
        backdrop-filter: blur(5px);
    }

    .gallery-thumb {
        transition: all 0.3s ease;
        background: transparent;
    }

    .gallery-thumb:hover,
    .gallery-thumb:focus-visible {
        transform: scale(1.1);
        border-color: #fff !important;
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    .product-details {
        padding: 1rem 0;
    }

    .meta-item {
        transition: all 0.3s ease;
    }

    .meta-item:hover {
        background: #e9ecef !important;
        transform: translateY(-2px);
    }

    .ingredient-group {
        background: #f8f9fa;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        border-left: 4px solid var(--pingo-primary);
    }

    .ingredient-item {
        transition: all 0.3s ease;
        cursor: pointer;
        background: #fff;
    }

    .ingredient-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .ingredient-item.active {
        border-color: #198754 !important;
        background: #d1e7dd !important;
    }

    .ingredient-item.inactive {
        border-color: #dc3545 !important;
        background: #f8d7da !important;
        opacity: 0.8;
    }

    .ingredient-item:focus-visible {
        outline: 2px solid var(--pingo-primary);
        outline-offset: 2px;
    }

    .form-check-input:checked {
        background-color: #198754;
        border-color: #198754;
    }

    .form-check-input:not(:checked) {
        background-color: #dc3545;
        border-color: #dc3545;
    }

    .quantity-selector .input-group {
        border-radius: 50px;
        overflow: hidden;
    }

    .quantity-selector .btn {
        padding: 0.375rem 0.75rem;
        font-weight: bold;
    }

    .quantity-selector input {
        border-left: none;
        border-right: none;
        font-weight: bold;
        padding: 0.375rem 0;
    }

    .quantity-selector input::-webkit-outer-spin-button,
    .quantity-selector input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .quantity-selector input[type=number] {
        -moz-appearance: textfield;
    }

    .hover-card {
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .hover-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    }

    .hover-card img {
        transition: all 0.3s ease;
    }

    .hover-card:hover img {
        transform: scale(1.05);
    }

    .btn.is-loading {
        pointer-events: none;
        opacity: 0.75;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (prefers-reduced-motion: reduce) {
        .product-details, .product-image-wrapper, .hover-card, .ingredient-item, .gallery-thumb {
            animation: none !important;
            transition: none !important;
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .price-badge {
            font-size: 1rem;
            padding: 0.5rem 1rem;
        }

        .gallery-thumb {
            width: 40px !important;
            height: 40px !important;
        }

        .main-image-container img {
            height: 250px !important;
        }

        .action-buttons {
            flex-direction: column;
        }

        .quantity-selector {
            width: 100%;
            justify-content: center;
            margin-bottom: 0.5rem;
        }

        .quantity-selector .input-group {
            width: 100% !important;
        }

        .action-buttons .btn {
            width: 100%;
        }
    }

    /* Toast customization */
    .toast {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    /* Scrollbar for ingredient list */
    .ingredients-grid {
        max-height: 200px;
        overflow-y: auto;
        padding-right: 5px;
    }

    .ingredients-grid::-webkit-scrollbar {
        width: 6px;
    }

    .ingredients-grid::-webkit-scrollbar-thumb {
        background: #0d6efd;
        border-radius: 3px;
    }

    .ingredients-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    @media (max-width: 768.8px) {
        .ingredients-grid {
            max-height: 400px;
        }
    }