﻿    /* Base Product Card Styling */
    .product-card {
        border: none;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        background: #ffffff;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

    /* Uniform Image Container */
    .product-image-container {
        position: relative;
        width: 100%;
        height: 280px;
        overflow: hidden;
        background: #f8f9fa;
        border-radius: 16px 16px 0 0;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product-card:hover .product-image {
        transform: scale(1.05);
    }

    /* Card Body */
    .card-body {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .product-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        height: 2.6rem;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .product-description {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 1rem;
        flex-grow: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    /* Price Display */
    .price-display {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0077b6;
        margin-bottom: 1rem;
    }

    /* Product Options */
    .product-options {
        margin-bottom: 1rem;
    }

    .option-group {
        margin-bottom: 0.75rem;
    }

    .option-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #495057;
        margin-bottom: 0.25rem;
        display: block;
    }

    .option-select {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 0.9rem;
        transition: border-color 0.3s ease;
    }

        .option-select:focus {
            outline: none;
            border-color: #0077b6;
            box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
        }

    /* Color Swatches */
    .color-options {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .color-swatch {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 3px solid transparent;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

        .color-swatch:hover {
            transform: scale(1.1);
            border-color: #0077b6;
        }

        .color-swatch.selected {
            border-color: #0077b6;
            box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.3);
        }

        .color-swatch::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 14px;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.3s ease;
            text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
        }

        .color-swatch.selected::after {
            opacity: 1;
        }

    /* Add to Cart Button */
    .add-to-cart-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        background: linear-gradient(135deg, #0077b6, #2a9d8f);
        color: white;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        margin-top: auto;
    }

        .add-to-cart-btn:hover:not(:disabled) {
            background: linear-gradient(135deg, #005a8b, #228b8d);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
        }

        .add-to-cart-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

    /* Section Headers */
    .section-header {
        text-align: center;
        margin: 3rem 0 2rem 0;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: #6c757d;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Product Type Badge */
    .product-type-badge {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background: rgba(0, 119, 182, 0.9);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 2;
    }

    /* Notes Section Specific */
    .notes-section .product-type-badge {
        background: rgba(42, 157, 143, 0.9);
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .product-image-container

    {
        height: 220px;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
        height: 2.4rem;
    }

    .price-display {
        font-size: 1.1rem;
    }

    }

    @media (max-width: 576px) {
        .product-image-container

    {
        height: 200px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .color-swatch {
        width: 28px;
        height: 28px;
    }

    }

    /* Loading States */
    .loading {
        opacity: 0.6;
        pointer-events: none;
    }

        .loading .add-to-cart-btn {
            background: #6c757d;
        }

    /* Success Animation */
    @keyframes addedToCart {
        0%

    {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
        background: #28a745;
    }

    100% {
        transform: scale(1);
    }

    }

    .added-animation {
        animation: addedToCart 0.6s ease;
    }
