        :root {
            --primary-blue: #0066CC;
            --primary-blue-dark: #003A70;
            --accent-green: #228B22;
            --accent-green-dark: #1C6B1C;
            --accent-green-darker: #0F450F;
            --dark-text: #343a40;
            --light-gray: #f8f9fa;
            --footer-dark: #212529;
            --white: #ffffff;
            --text-gray: #6c757d;
            --border-color: #e9ecef;
            --shadow-color: rgba(0, 0, 0, 0.1);
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Inter', sans-serif; color: var(--dark-text); line-height: 1.5; background-color: var(--white); }
        a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
        ul { list-style: none; }
        h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
        .flex { display: flex; }
        .items-center { align-items: center; }
        .justify-between { justify-content: space-between; }
        .justify-center { justify-content: center; }
        .text-center { text-align: center; }
        .w-full { width: 100%; }
        
        .grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
        @media (min-width: 992px) {
            .grid-2 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(3, 1fr); }
            .grid-4 { grid-template-columns: repeat(4, 1fr); }
        }
        @media (min-width: 768px) {
            .grid-4 { grid-template-columns: repeat(4, 1fr); }
            .md-hidden { display: none; }
        }

        .btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; box-shadow: 0 4px 6px var(--shadow-color); }
        .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 15px var(--shadow-color); opacity: 0.9; }
        .btn-accent { background-color: var(--accent-green); color: var(--white); }
        .btn-primary { background-color: var(--primary-blue); color: var(--white); }
        .btn-white { background-color: var(--white); color: var(--primary-blue); border: 1px solid var(--border-color); }

        .top-bar { background-color: var(--light-gray); border-bottom: 1px solid #e5e7eb; font-size: 0.75rem; padding: 0.5rem 0; display: none; }
        @media (min-width: 768px) { .top-bar { display: block; } }
        .top-links span { margin: 0 0.25rem; cursor: pointer; }
        .top-links span:hover { color: var(--primary-blue); }

        #header-menu { position: sticky; top: 0; z-index: 50; height: 5rem; transition: all 0.3s ease; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(5px); }
        #header-menu.scrolled { background-color: var(--white); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
        .navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; }
        .logo { font-size: 1.875rem; font-weight: 700; color: var(--primary-blue); font-family: 'Poppins', sans-serif; letter-spacing: 0.05em; }
        .logo span { color: var(--accent-green); }

        .nav-menu { display: none; }
        @media (min-width: 768px) { .nav-menu { display: flex; gap: 2rem; font-weight: 500; font-family: 'Poppins', sans-serif; height: 100%; } }
        .nav-item { position: relative; display: flex; align-items: center; height: 100%; cursor: pointer; }
        .nav-link { font-size: 1.125rem; color: var(--dark-text); position: relative; padding-bottom: 5px; transition: color 0.3s; }
        .nav-link::after { content: ''; display: block; width: 0; height: 2px; background-color: var(--primary-blue); transition: width 0.3s ease, left 0.3s ease; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
        .nav-item:hover .nav-link { color: var(--accent-green); }
        .nav-item:hover .nav-link::after { width: 100%; left: 0; transform: translateX(0); }
        .nav-link.active { color: var(--accent-green); font-weight: 700; }

        .dropdown { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 14rem; border-radius: 0.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-top: 4px solid var(--primary-blue); opacity: 0; transform: translateY(10px); pointer-events: none; transition: all 0.3s ease; overflow: hidden; z-index: 100; }
        .nav-item:hover .dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }
        .dropdown a { display: block; padding: 0.75rem 1.5rem; font-size: 0.875rem; color: var(--dark-text); }
        .dropdown a:hover { background-color: var(--primary-blue); color: var(--white); }
        .rotate-icon { transition: transform 0.3s; font-size: 0.75rem; margin-left: 0.5rem; }
        .nav-item:hover .rotate-icon { transform: rotate(180deg); }

        .mobile-toggle { display: block; font-size: 1.5rem; cursor: pointer; background: none; border: none; }
        @media (min-width: 768px) { .mobile-toggle { display: none; } }
        #mobile-menu { background: var(--white); border-top: 1px solid #eee; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
        #mobile-menu.hidden { display: none; }
        .mobile-link { display: block; padding: 0.75rem 1.5rem; font-weight: 600; border-bottom: 1px solid #f0f0f0; }
        .mobile-sublink { display: block; padding: 0.5rem 2rem; font-size: 0.9rem; color: #555; }

        .page-header { background-color: var(--light-gray); padding: 4rem 0; text-align: center; }
        .breadcrumb { display: inline-flex; font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0.5rem; }
        .breadcrumb li:not(:last-child)::after { content: '>'; margin: 0 0.5rem; font-size: 0.8rem; }
        .page-title { font-size: 3rem; font-weight: 700; color: var(--dark-text); }

        .main-layout { display: flex; flex-direction: column; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; position: relative; }
        @media (min-width: 992px) { .main-layout { display: grid; grid-template-columns: 280px 1fr; align-items: start; } }

        .sidebar { background: var(--white); border: 1px solid var(--border-color); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-sm); }
        @media (min-width: 992px) { .sidebar { position: sticky; top: 7rem; max-height: calc(100vh - 8rem); overflow-y: auto; } }

        .sidebar-header { font-size: 1.25rem; font-weight: 700; color: var(--primary-blue-dark); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent-green); display: flex; justify-content: space-between; align-items: center; }
        
        .sidebar-toggle-btn { display: none; width: 100%; padding: 1rem; background: var(--white); border: 1px solid var(--primary-blue); color: var(--primary-blue); border-radius: 0.5rem; font-weight: 600; text-align: left; margin-bottom: 1rem; cursor: pointer; align-items: center; justify-content: space-between; }
        @media (max-width: 991px) {
            .sidebar-toggle-btn { display: flex; }
            .sidebar { display: none; }
            .sidebar.active { display: block; animation: slideDown 0.3s ease-out; }
        }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        .category-list { list-style: none; }
        .category-item { margin-bottom: 0.5rem; }
        
        .cat-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0.75rem 1rem; background: transparent; border: none; border-radius: 0.5rem; cursor: pointer; font-size: 1rem; color: var(--dark-text); transition: all 0.2s; text-align: left; }
        .cat-btn:hover { background-color: var(--light-gray); color: var(--primary-blue); }
        .cat-btn.active { background-color: var(--primary-blue); color: var(--white); font-weight: 600; }
        .cat-btn.main-cat { font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; color: var(--text-gray); pointer-events: none; margin-top: 1rem; }
        
        .sub-list { padding-left: 1rem; margin-top: 0.25rem; display: none; border-left: 2px solid var(--border-color); }
        .sub-list.open { display: block; }
        .sub-btn { font-size: 0.95rem; padding: 0.5rem 1rem; width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: #555; border-radius: 0 0.5rem 0.5rem 0; }
        .sub-btn:hover { color: var(--accent-green); background: #f0fdf4; }
        .sub-btn.active { color: var(--accent-green); font-weight: 600; background: #f0fdf4; border-left: 3px solid var(--accent-green); }

        .products-area { min-height: 500px; }
        .content-header { display: flex; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
        .content-title { font-size: 1.75rem; font-weight: 700; color: var(--dark-text); }
        .content-count { background: var(--light-gray); color: var(--text-gray); padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.85rem; margin-left: 1rem; font-weight: 600; }

        .product-card { background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid var(--border-color); display: flex; flex-direction: column; cursor: pointer; }
        .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .product-img-container { height: 220px; overflow: hidden; position: relative; background: #f1f1f1; }
        .product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .product-card:hover .product-img { transform: scale(1.08); }
        .product-badge { position: absolute; top: 1rem; left: 1rem; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 700; color: var(--white); text-transform: uppercase; }
        .badge-protez { background-color: var(--primary-blue); }
        .badge-ortez { background-color: var(--accent-green); }
        .product-info { padding: 1.25rem; flex-grow: 1; display: flex; flex-direction: column; }
        .product-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
        .product-desc { font-size: 0.9rem; color: #666; margin-bottom: 1rem; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .product-link { color: var(--accent-green); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; margin-top: auto; }

        .special-order-section { background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%); color: var(--white); padding: 4rem 0; margin-top: 3rem; }
        .special-order-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
        @media (min-width: 768px) { .special-order-content { flex-direction: row; text-align: left; justify-content: space-between; } }
        .contact-box { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 1.5rem 2rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.2); margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
        @media (min-width: 768px) { .contact-box { margin-top: 0; min-width: 350px; } }
        .contact-row { display: flex; align-items: center; font-size: 1.1rem; }
        .contact-row i { width: 40px; height: 40px; background: var(--white); color: var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 1rem; font-size: 1.2rem; }

        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
        .modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
        .modal-content { background: var(--white); width: 100%; max-width: 1000px; max-height: 90vh; border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.3s; }
        .modal-overlay.active .modal-content { transform: scale(1); }
        .modal-header { padding: 1rem 1.5rem; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: var(--light-gray); }
        .modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; }
        .modal-body { padding: 2rem; overflow-y: auto; }
        .modal-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
        @media (min-width: 768px) { .modal-grid { grid-template-columns: 1fr 1fr; } }
        
        .main-image-container { width: 100%; height: 400px; border-radius: 0.5rem; overflow: hidden; cursor: crosshair; border: 1px solid #eee; position: relative; }
        .main-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.1s ease-out; transform-origin: center center; }
        .main-image.zoomed { transform: scale(2.5); }
        .thumbnails { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 5px; margin-top: 1rem; }
        .thumb { width: 80px; height: 80px; border-radius: 0.5rem; object-fit: cover; cursor: pointer; opacity: 0.7; }
        .thumb.active { border: 2px solid var(--primary-blue); opacity: 1; }
        
        .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; }
        .lightbox.active { display: flex; animation: fadeIn 0.3s; }
        .lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
        .lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2.5rem; cursor: pointer; }
        .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 2rem; cursor: pointer; padding: 1rem; background: rgba(255,255,255,0.1); border-radius: 50%; }
        .lb-prev { left: 20px; } .lb-next { right: 20px; }
        
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .footer { background-color: var(--footer-dark); color: #adb5bd; padding: 4rem 0 2rem; font-size: 0.875rem; }
        .footer h5 { color: var(--white); font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }
        .footer-link { display: block; margin-bottom: 0.75rem; transition: color 0.3s, transform 0.3s; }
        .footer-link:hover { color: var(--accent-green); transform: translateX(5px); }
        .footer-social a { color: #adb5bd; margin-right: 1rem; font-size: 1.125rem; transition: color 0.3s; }
        .footer-social a:hover { color: var(--accent-green); }

        @keyframes slideDownFadeIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
        .initial-load { animation-name: slideDownFadeIn; animation-duration: 0.6s; animation-fill-mode: both; animation-timing-function: ease-out; }

#contentTitle {
    scroll-margin-top: 100px;
}

.copy-link-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 5px 0;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-link-btn:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.copy-link-btn i {
    font-size: 0.85rem;
}