        
/* 6. FOOTER */
.site-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-whatsapp-footer {
    background-color: #25D366;
    color: white;
}

.btn-call-footer {
    background-color: var(--accent-call-blue);
    color: white;
}

.btn-linkedin {
    background-color: #0A66C2;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

    /* Pagination styles for variants table */
        .variants-pagination {
            display: flex;
            gap: 8px;
            justify-content: flex-end;
            align-items: center;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        .variants-pagination button {
            padding: 6px 10px;
            border-radius: 4px;
            border: 1px solid #ddd;
            background: #fff;
            cursor: pointer;
            font-weight: 600;
        }
        .variants-pagination button.active {
            background: var(--primary-blue);
            color: #fff;
            border-color: var(--primary-blue);
        }
        .variants-pagination button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        @media (max-width: 768px) { .overview-grid { grid-template-columns: 1fr; } .contact-info-grid { grid-template-columns: 1fr; } }
        @media (max-width: 480px) {
            .variants-pagination { justify-content: center; }
            .slider-btn { width: 40px; height: 40px; font-size: 1.1rem; }
        }


/* 7. MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
    margin-bottom: 25px;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), transparent);
    border-radius: 2px;
}

/* Center only the "Product Inquiry Form" title */
.modal-header h2 {
    text-align: center;
    width: 100%;
    color: #000000;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
}

.modal-close-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: #000000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: absolute;
    right: 30px;
    top: 30px;
}

.modal-close-btn:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.inquiry-form {
    padding: 0 30px 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #000000;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #000000;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-family: inherit;
    resize: vertical;
    min-height: 45px;
}

.form-group textarea {
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(var(--secondary-blue-rgb), 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
    opacity: 0.7;
    font-size: 0.85rem;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--secondary-blue-rgb), 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* 8. FLOATING ACTION BUTTONS */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.fab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.fab-btn:hover::before {
    opacity: 1;
}

#scrollTopBtn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2980b9 100%);
}

.email-btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    text-decoration: none;
}

.inquire-now-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, #27ae60 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--accent-green-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0);
    }
}

/* 9. ENHANCED ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.anim-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Form validation styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--accent-green);
    background: rgba(39, 174, 96, 0.05);
}

/* Loading state for submit button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success state animation */
.submit-btn.success {
    background: linear-gradient(135deg, var(--accent-green) 0%, #27ae60 100%);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 25px 25px 0;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .inquiry-form {
        padding: 0 25px 25px;
    }
    
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .fab-btn {
        width: 55px;
        height: 55px;
        font-size: 1rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .submit-btn {
        font-size: 0.85rem;
        padding: 12px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modal-content {
        border: 2px solid #000000;
    }
    
    .form-group input,
    .form-group textarea {
        border-width: 2px;
        border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .modal-overlay,
    .modal-content,
    .fab-btn,
    .submit-btn,
    .modal-close-btn {
        transition: none;
        animation: none;
    }
    
    .fab-btn:hover {
        transform: none;
    }
}

/* 10. RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    #nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    #nav ul.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .sub-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .contact-button-group {
        flex-direction: column;
    }
    
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-main-card {
        padding: 25px;
    }
    
    .modal-content {
        width: 95%;
    }
}



/* // NAVBAR----------- */

  
        /* Custom Navbar Styles */
        .medical-navbar {
            background-color: var(--light-bg);
            box-shadow: var(--shadow-md);
            padding: 12px 0;
            transition: var(--transition);
            font-weight: 600;
        }

        .medical-navbar.scrolled {
            padding: 8px 0;
            box-shadow: var(--shadow-lg);
        }

        .medical-logo {
            height: 70px;
            transition: var(--transition);
        }

        .medical-nav-link {
            color: var(--text-dark) !important;
            font-weight: 500;
            padding: 8px 16px !important;
            margin: 0 4px;
            border-radius: 6px;
            transition: var(--transition);
            position: relative;
        }

        .medical-nav-link:hover, 
        .medical-nav-link:focus {
            color: var(--primary-blue) !important;
            background-color: var(--secondary-bg);
            transform: translateY(-2px);
        }

        .medical-nav-link.active {
            color: var(--primary-blue) !important;
            font-weight: 600;
        }

        .medical-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 16px;
            right: 16px;
            height: 2px;
            background-color: var(--primary-blue);
            border-radius: 2px;
        }

        /* Dropdown Styles */
        .medical-dropdown-menu {
            border: none;
            box-shadow: var(--shadow-lg);
            border-radius: 8px;
            padding: 8px 0;
            min-width: 260px;
            border-top: 3px solid var(--primary-blue);
        }

        .medical-dropdown-item {
            padding: 10px 20px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            color: var(--text-dark);
            text-decoration: none;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .medical-dropdown-item:hover {
            background-color: var(--secondary-bg);
            color: var(--primary-blue);
            padding-left: 25px;
        }

        .medical-dropdown-item i {
            width: 20px;
            margin-right: 10px;
            color: var(--primary-blue);
        }

        .medical-dropdown-divider {
            margin: 8px 0;
        }

        /* Multi-level Dropdown */
        .medical-dropdown-submenu {
            position: relative;
        }

        .medical-dropdown-submenu > .medical-dropdown-menu {
            position: absolute;
            top: -8px;
            left: 100%;
            display: none;
            border-radius: 0 8px 8px 8px;
        }

        .medical-dropdown-submenu:hover > .medical-dropdown-menu {
            display: block;
        }

        .medical-dropdown-submenu > .medical-dropdown-item::after {
            content: "\f105";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: auto;
            transition: var(--transition);
        }

        .medical-dropdown-submenu:hover > .medical-dropdown-item::after {
            transform: rotate(90deg);
            color: var(--accent-green);
        }

        .medical-nested-item {
            padding-left: 40px !important;
            font-size: 0.9rem;
        }

        .medical-category-header {
            font-weight: 600;
            color: var(--primary-blue);
            padding: 8px 20px;
            margin-top: 8px;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--secondary-bg);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Button Styles */
        .medical-btn-catalog {
            background-color: var(--accent-green);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-weight: 500;
            transition: var(--transition);
            
        }

        .medical-btn-catalog:hover {
            background-color: #157347;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .medical-btn-contact {
            background-color: var(--accent-green);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-weight: 500;
            transition: var(--transition);
        }

        .medical-btn-contact:hover {
            background-color: #0b5ed7;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Toggler Styles */
        .medical-navbar-toggler {
            border: none;
            padding: 4px 8px;
            background: transparent;
        }

        .medical-navbar-toggler:focus {
            box-shadow: none;
            outline: 2px solid var(--primary-blue);
            border-radius: 4px;
        }

        .medical-navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 79, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            width: 50px;
            height: 70px;
        }

        /* Mobile Responsive */
        @media (max-width: 991.98px) {
            .medical-navbar-collapse {
                padding-top: 16px;
            }
            
            .medical-nav-link {
                margin: 4px 0;
                text-align: center;
            }
            
            .medical-btn-catalog, 
            .medical-btn-contact {
                margin: 8px 0;
                width: 100%;
                text-align: center;
            }

            .medical-dropdown-submenu > .medical-dropdown-menu {
                position: static;
                margin-left: 20px;
                border-radius: 6px;
                box-shadow: none;
                border: 1px solid var(--border-color);
                display: none;
            }
            
            .medical-dropdown-submenu > .medical-dropdown-item::after {
                display: none;
            }

            /* Mobile submenu toggle */
            .medical-dropdown-submenu.mobile-open > .medical-dropdown-menu {
                display: block !important;
            }
        }


        /* Fix for dropdown positioning */
        .dropdown-menu {
            z-index: 1000;
        }


        /* ===== INQUIRY FORM WRAPPER ===== */
.inquiry-wrapper {
    width: 100%;
    padding: 20px 10px;
    background: #f4f6fb;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.inquiry-card {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

/* Heading */
.inquiry-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2933;
    margin: 0 0 4px;
    text-align: left;
}

.inquiry-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 15px;
}

/* Form layout */
.inquiry-form {
    width: 100%;
}

/* Each field group */
.form-group {
    margin-bottom: 14px;
}

.form-group-inline {
    display: flex;
    gap: 10px;
}

.form-group-inline .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Label */
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

/* Inputs, select, textarea */
.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

/* Textarea */
.form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Placeholder */
.form-control::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    font-size: 12px;
}

/* Small hint text */
.form-hint {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

/* Radio / checkbox groups */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
}

/* Rating (for "How did you like our service?") */
.rating-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

.rating-pill input {
    display: none;
}

.rating-pill span {
    display: inline-block;
}

.rating-pill-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Submit button */
.btn-submit {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    margin-top: 6px;
    text-decoration: none;
}

.btn-submit:hover {
    background: #1d4ed8;
}

/* Small footer text inside form */
.form-footer-note {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 10px;
}

/* ====== RESPONSIVE (for mobile) ====== */
@media (max-width: 600px) {
    .inquiry-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .inquiry-title {
        font-size: 18px;
    }

    .form-group-inline {
        flex-direction: column;
    }
}




/* ===========================
   GLOBAL PRODUCT PAGE LAYOUT
   (used by all product detail pages)
   =========================== */

:root {
    --primary-blue: #244F71;
    --secondary-blue: #1e40af;
    --text-light: #f8f9fa;
    --light-blue-bg: #f3f7fb;
    --card-bg: #ffffff;
    --border-color: #d1d5db;
    --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.15);
}

/* --------- NAVBAR (desktop + mobile) ---------- */

.medical-navbar {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    z-index: 1000;
}

.medical-navbar.fixed-top {
    /* ensures content is not hidden under navbar */
    top: 0;
}

.medical-logo {
    height: 46px;
    width: auto;
}

/* Links */
.medical-nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2933;
    padding: 0.6rem 0.9rem;
}

.medical-nav-link:hover,
.medical-nav-link.active {
    color: var(--secondary-blue);
}

/* Dropdown menu */
.medical-dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0.35rem 0;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
}

.medical-category-header {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    color: #6b7280;
}

/* ----- MOBILE NAVBAR TOGGLER (shared) ----- */

.medical-navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

.medical-navbar-toggler:focus {
    box-shadow: none;
}

/* If you keep <span class="navbar-toggler-icon medical-navbar-toggler-icon"></span> */
.medical-navbar-toggler-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
}

/* Draw 3 white lines for the hamburger menu */
.medical-navbar-toggler-icon::before,
.medical-navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

.medical-navbar-toggler-icon::before {
    top: 4px;
    box-shadow: 0 6px 0 #111827;
}

.medical-navbar-toggler-icon::after {
    bottom: 4px;
}

/* Ensure navbar fully colored on mobile */
@media (max-width: 991.98px) {
    .medical-navbar {
        background: #ffffff;
    }

    .medical-navbar-collapse {
        background: #ffffff;
        padding: 0.4rem 0.75rem 0.8rem;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    }

    .medical-nav-link {
        padding-left: 0;
    }
}


/* --------- BREADCRUMB + BACK BUTTON ---------- */
/* --------- SLIM, MOBILE-READY & PERFECTLY CENTERED --------- */

.product-breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 16px;
    flex-wrap: wrap;
   

}

/* Shared base for both elements */
.product-breadcrumb,
.back-chip-btn {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;

    /* Key fixes for perfect vertical centering */
    height: 38px;
    display: inline-flex;
    align-items: center;        /* ← vertical center */
    justify-content: center;    /* ← horizontal center (for back button) */
    line-height: 1;             /* ← removes any weird line-height spacing */
    
}

/* Breadcrumb */
.product-breadcrumb {
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 500;
    width: 300px !important;

}
.product-breadcrumb:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Back button */
.back-chip-btn {
    padding: 0 22px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    gap: 8px;
    color: white;
}
.back-chip-btn:hover {
    /* background: rgb(255, 255, 255); */
    border-color: #ffffff;
    transform: translateY(-3px);
}
.back-chip-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}
.back-chip-btn:hover i {
    transform: translateX(-4px);
}

/* Force pure white text + remove default breadcrumb margins */
.product-breadcrumb,
.product-breadcrumb a,
.product-breadcrumb .breadcrumb,
.product-breadcrumb .breadcrumb-item {
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.product-breadcrumb a {
    text-decoration: none;
}
.product-breadcrumb a:hover {
    opacity: 0.85;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .product-breadcrumb-wrapper {
        flex-direction: column;
        padding: 0 12px;
    }
    .product-breadcrumb,
    .back-chip-btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .back-chip-btn { order: -1; }
}

/* --------- PRODUCT INFO PANEL ---------- */

.product-info {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 24px 28px;
    box-shadow: var(--shadow-md);
}

.product-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

.product-info h3 {
    font-size: 1.25rem;
    color: var(--secondary-blue);
    margin-top: 22px;
    margin-bottom: 10px;
}

.product-info ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.product-info ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #374151;
}

.product-info ul li i {
    color: var(--primary-blue);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

/* --------- SPEC GRID ---------- */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    background-color: var(--light-blue-bg);
    padding: 24px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.spec-item {
    background-color: var(--card-bg);
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(148, 163, 184, 0.25);
}

.spec-item .spec-label {
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.spec-item span:last-child {
    font-size: 0.9rem;
    color: #374151;
}

/* --------- TABLE (variants) ---------- */

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.variants-table th,
.variants-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.variants-table thead th {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.variants-table thead tr:nth-child(2) th {
    background-color: #325f84;
}

.variants-table tbody tr:nth-child(even) {
    background-color: #f4f7fb;
}

.variants-table tbody tr:hover {
    background-color: #e3edf8;
}

.variants-table th[colspan] {
    text-align: center;
}

/* --------- RESPONSIVE TWEAKS ---------- */

@media (max-width: 991.98px) {
    .product-header {
        margin-top: 80px;
        padding: 70px 0 40px;
    }

    .overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-main {
        padding: 40px 0 60px;
    }

    .product-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .product-breadcrumb-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider-card {
        padding: 10px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .specs-grid {
        padding: 18px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .product-info {
        padding: 18px 16px 22px;
    }
}

@media (max-width: 576px) {
    .product-header {
        margin-top: 74px;
        padding: 60px 0 35px;
    }

    .product-header h1 {
        font-size: 2rem;
    }

    .product-header p {
        font-size: 0.9rem;
    }

    .variants-table th,
    .variants-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}



/* // NEW NAVBAR STYLES (Same as before, just renamed) */
:root {
    --light-bg: #ffffff;
    --text-dark: #333333;
    --primary-blue: #254f71;
    --secondary-bg: #f8f9fa;
    --accent-green: #198754;
    --accent-call-blue: #0d6efd;
    --border-color: #dee2e6;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Custom New Navbar */
.newnavbar {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    transition: var(--transition);
    font-weight: 600;
}

.newnavbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.new-logo {
    height: 70px;
    transition: var(--transition);
}

.new-nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.new-nav-link:hover, 
.new-nav-link:focus {
    color: var(--primary-blue) !important;
    background-color: var(--secondary-bg);
    transform: translateY(-2px);
}

.new-nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

.new-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Dropdown Styles */
.new-dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 260px;
    border-top: 3px solid var(--primary-blue);
}

.new-dropdown-item {
    padding: 10px 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.new-dropdown-item:hover {
    background-color: var(--secondary-bg);
    color: var(--primary-blue) !important;
    padding-left: 25px;
}

.new-dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-blue);
}

.new-category-header {
    font-weight: 600;
    color: var(--primary-blue);
    padding: 8px 20px;
    margin-top: 8px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--secondary-bg);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.new-btn-catalog {
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: var(--transition);
}

.new-btn-catalog:hover {
    background-color: #157347;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.new-btn-contact {
    background-color: var(--accent-call-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    transition: var(--transition);
}

.new-btn-contact:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Toggler */
.new-navbar-toggler {
    border: none;
    padding: 4px 8px;
    background: transparent;
}

.new-navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary-blue);
    border-radius: 4px;
}

.new-navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 79, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 50px;
    height: 70px;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .new-navbar-collapse {
        padding-top: 16px;
    }
    
    .new-nav-link {
        margin: 4px 0;
        text-align: center;
    }
    
    .new-btn-catalog, 
    .new-btn-contact {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }

    .new-dropdown-submenu > .new-dropdown-menu {
        position: static;
        margin-left: 20px;
        border-radius: 6px;
        box-shadow: none;
        border: 1px solid var(--border-color);
        display: none;
    }
    
    .new-dropdown-submenu > .new-dropdown-item::after {
        display: none;
    }

    .new-dropdown-submenu.mobile-open > .new-dropdown-menu {
        display: block !important;
    }
}

/* Ensure dropdowns stay on top */
.dropdown-menu {
    z-index: 1000;
}



/* --- Container --- */
.floating-action-buttons {
    z-index: 9999; /* Ensure it sits on top of everything */
}

/* --- Shared Styles for class 'butnew' --- */
.butnew {
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Primary Blue Color similar to your image */
    background-color: #e64e08;
}

.butnew:hover {
    background-color: #8d4321; /* Darker blue on hover */
}

/* =========================================
   1. RIGHT SIDE STICKY CONTACT BUTTON
   ========================================= */
.contact-sticky-side {
    position: fixed;
    top: 50%;            /* Center vertically */
    right: 0;            /* Stick to the right edge */
    transform: translateY(-50%); /* Perfect centering adjustment */
    
    display: flex;
    flex-direction: column-reverse; /* Puts icon at bottom, text on top */
    align-items: center;
    gap: 12px;
    
    padding: 15px 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    text-decoration: none;
}

/* The Text Rotation */
.contact-sticky-side span {
    writing-mode: vertical-rl; /* Makes text vertical */
    text-orientation: mixed;
    transform: rotate(180deg); /* Flips text to read Bottom-to-Top */
    
    font-family: sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* The Phone Icon */
.contact-sticky-side i {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2); /* Slight circle background for icon */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   2. SCROLL TO TOP BUTTON (ROUND)
   ========================================= */
.scroll-to-top-round {
    position: fixed;
    bottom: 30px;
    right: 30px;
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scroll-to-top-round:hover {
    transform: translateY(-5px);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media screen and (max-width: 768px) {
    /* Adjust Scroll Button position */
    .scroll-to-top-round {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Adjust Contact Button size */
    .contact-sticky-side {
        padding: 12px 6px;
    }
    
    .contact-sticky-side span {
        font-size: 12px;
    }
    
    .contact-sticky-side i {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}