        /* ============ GLOBAL STYLES ============ */
        :root {
            --primary-blue: #1a4b8c;
            --secondary-blue: #2a6fc9;
            --light-blue: #e6f0fa;
            --accent-blue: #3d8af7;
            --dark-text: #333333;
            --light-text: #666666;
            --white: #ffffff;
            --off-white: #f9f9f9;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --footer-bg: #212529;
            --success-green: #28a745;
            --warning-orange: #ffc107;
            --danger-red: #dc3545;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--off-white);
            color: var(--dark-text);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        h1 { font-size: 2.5rem; margin-bottom: 1rem; }
        h2 { color: var(--primary-blue); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--light-blue); }
        h3 { color: var(--secondary-blue); margin: 1.5rem 0 1rem; }
        h4 { color: var(--primary-blue); margin-bottom: 0.5rem; }
        p { margin-bottom: 1rem; color: var(--light-text); }

        /* ============ HEADER & NAVIGATION ============ */
        header {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            padding: 2rem 0;
            text-align: center;
            box-shadow: var(--shadow);
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
            color: white;
        }

        nav {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }

        .logo {
            font-weight: bold;
            color: var(--primary-blue);
            font-size: 1.5rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-links li { margin-left: 2rem; }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-text);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover { color: var(--primary-blue); }

        .cart-icon {
            position: relative;
            font-size: 1.2rem;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--danger-red);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
        }

        /* ============ SEARCH SECTION ============ */
        .search-section {
            background-color: var(--light-blue);
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1rem 0 2rem;
        }

        .search-container {
            display: flex;
            gap: 10px;
        }

        .search-input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }

        .search-btn {
            background-color: var(--accent-blue);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .search-btn:hover {
            background-color: var(--primary-blue);
        }

        .category-filter {
            margin-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .category-btn {
            background-color: var(--white);
            border: 1px solid var(--accent-blue);
            color: var(--accent-blue);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .category-btn:hover, .category-btn.active {
            background-color: var(--accent-blue);
            color: white;
        }

        /* ============ MAIN CONTENT ============ */
        main { padding: 1rem 0 3rem; }

        .product-hero {
            background: linear-gradient(rgba(26, 75, 140, 0.8), rgba(26, 75, 140, 0.8)), url('img/medical-bg.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 4rem 2rem;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 2rem;
        }

        .product-hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
        }

        .product-hero p {
            font-size: 1.2rem;
            color: white;
            max-width: 800px;
            margin: 0 auto 2rem;
        }

        .category-section {
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 2.5rem;
            margin-bottom: 2rem;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .product-card {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .product-img {
            height: 200px;
            background-color: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .product-img img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .product-info {
            padding: 1.5rem;
        }

        .product-info h4 {
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
        }

        .product-info p {
            color: var(--light-text);
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .product-price {
            font-weight: bold;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .product-actions {
            display: flex;
            gap: 10px;
        }

        .btn {
            display: inline-block;
            background-color: var(--accent-blue);
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .btn:hover {
            background-color: var(--primary-blue);
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--accent-blue);
            color: var(--accent-blue);
        }

        .btn-outline:hover {
            background-color: var(--accent-blue);
            color: white;
        }

        .btn-whatsapp {
            background-color: #25D366;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-whatsapp:hover {
            background-color: #128C7E;
        }

        .btn-success {
            background-color: var(--success-green);
        }

        .btn-success:hover {
            background-color: #218838;
        }

        /* ============ CART SIDEBAR ============ */
        .cart-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100%;
            background-color: var(--white);
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: right 0.3s;
            display: flex;
            flex-direction: column;
        }

        .cart-header {
            padding: 1.5rem;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary-blue);
        }

        .close-cart {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--light-text);
        }

        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
        }

        .cart-item {
            display: flex;
            gap: 15px;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }

        .cart-item-img {
            width: 80px;
            height: 80px;
            background-color: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            border-radius: 4px;
        }

        .cart-item-img img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .cart-item-details {
            flex: 1;
        }

        .cart-item-name {
            font-weight: 500;
            margin-bottom: 0.3rem;
        }

        .cart-item-price {
            font-size: 0.9rem;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .quantity-btn {
            width: 25px;
            height: 25px;
            background-color: var(--light-blue);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-input {
            width: 40px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 0.2rem;
        }

        .remove-item {
            color: var(--danger-red);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
        }

        .cart-footer {
            padding: 1.5rem;
            border-top: 1px solid #eee;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            font-weight: bold;
            font-size: 1.1rem;
        }

        .checkout-btn {
            width: 100%;
            padding: 1rem;
            font-size: 1rem;
        }

        .empty-cart {
            text-align: center;
            padding: 2rem;
            color: var(--light-text);
        }

        /* ============ CHECKOUT MODAL ============ */
        .checkout-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .checkout-container {
            background-color: var(--white);
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .checkout-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .checkout-title {
            font-size: 1.5rem;
            color: var(--primary-blue);
        }

        .close-checkout {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--light-text);
        }

        .checkout-form {
            display: grid;
            gap: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-input {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }

        .checkout-summary {
            margin-top: 2rem;
            border-top: 1px solid #eee;
            padding-top: 1.5rem;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .summary-total {
            font-weight: bold;
            font-size: 1.1rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .payment-methods {
            margin-top: 1.5rem;
        }

        .payment-option {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .payment-option input {
            margin-right: 10px;
        }

        .submit-order {
            width: 100%;
            padding: 1rem;
            margin-top: 1.5rem;
            font-size: 1rem;
        }

        /* ============ FOOTER ============ */
        footer {
            background: var(--footer-bg);
            color: white;
            padding: 40px 20px;
            margin-top: 40px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-logo {
            flex: 1 0 250px;
        }

        .footer-logo img {
            width: 50px;
            margin-bottom: 10px;
        }

        .footer-logo p {
            max-width: 300px;
            margin-bottom: 15px;
        }

        .footer-services, .footer-contact {
            flex: 1 0 200px;
        }

        .footer-services ul, .footer-contact ul {
            list-style: none;
            padding: 0;
        }

        .footer-services a, .footer-contact span {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-services a:hover {
            color: var(--white);
        }

        .footer-services h3, .footer-contact h3 {
            margin-bottom: 15px;
            color: var(--white);
        }

        .footer-contact li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .footer-contact i {
            margin-right: 10px;
            color: #ffc107;
            min-width: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            color: var(--white);
            font-size: 1.2rem;
            transition: opacity 0.3s;
        }

        .social-links a:hover {
            opacity: 0.8;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #495057;
            font-size: 0.9rem;
        }

        .footer-bottom a {
            color: #0d6efd;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-bottom a:hover {
            color: #3d8bf7;
            text-decoration: underline;
        }

        /* ============ UTILITY COMPONENTS ============ */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: var(--accent-blue);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: var(--shadow);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 99;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            background-color: #25D366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            z-index: 99;
            transition: transform 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        /* ============ RESPONSIVE STYLES ============ */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                padding: 1rem;
            }

            .nav-links {
                margin-top: 1rem;
                width: 100%;
                justify-content: space-between;
            }

            .nav-links li {
                margin-left: 0;
            }

            .product-hero h1 {
                font-size: 2rem;
            }

            .product-hero p {
                font-size: 1rem;
            }

            .category-section {
                padding: 1.5rem;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }

            .cart-sidebar {
                width: 90%;
                right: -90%;
            }

            .footer-content {
                flex-direction: column;
                gap: 20px;
            }

            .footer-logo, .footer-services, .footer-contact {
                flex: 1 1 100%;
            }

            .whatsapp-float {
                bottom: 1rem;
                left: 1rem;
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }
        }
    
        /* WhatsApp Checkout Enhancements */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

.add-to-cart-feedback {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.add-to-cart-feedback.show {
    opacity: 1;
}

/* Enhanced Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.checkout-container {
    background-color: white;
    margin: 50px auto;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.checkout-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.close-checkout {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #777;
}

.checkout-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.checkout-summary {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.checkout-summary h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.payment-methods {
    margin: 20px 0;
}

.payment-methods h3 {
    margin-bottom: 15px;
    color: #333;
}

.payment-option {
    margin-bottom: 10px;
}

.payment-option label {
    margin-left: 10px;
    cursor: pointer;
}

.submit-order {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .checkout-container {
        margin: 20px auto;
        width: 95%;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}