/* --- DESKTOP SPECIFIC: MIN-WIDTH 901px (v34.0 - GREEN UPDATE) --- */
@media (min-width: 901px) {
    #sidebar-overlay, #sidebar-flyout-toggle, #mobile-toggle-btn, #sidebar-close { display: none !important; }
    
    html, body { overflow-x: hidden !important; width: 100%; }

    .pagewidth { 
        max-width: 1240px; 
        margin: 0 auto; 
        display: flex; 
        flex-direction: row; 
        gap: 20px; 
        width: 95%; 
    }

    #wrapper-top { 
        background: var(--b17-gold) !important; 
        border-bottom: 4px solid var(--b17-green); 
        height: 170px; 
        display: flex; align-items: center; position: relative; z-index: 10;
    }
    #sitename { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; }
    .logo-desktop { display: block !important; height: 100%; }
    .logo-desktop img { max-height: 140px !important; width: auto !important; display: block; margin: 0 auto; }
    .logo-mobile { display: none !important; }

    #nav-wrapper { 
        background: var(--b17-green) !important; 
        width: 100%; 
        min-height: 46px; 
        border-bottom: 2px solid var(--b17-dark); 
        text-align: center; 
        position: relative; 
        z-index: 9900; 
    }
    #b17-nav-container { display: flex !important; justify-content: center; width: 100%; max-width: 1240px; margin: 0 auto; }

    ul.desktop-aligned { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; width: 100%; }
    ul.desktop-aligned li { position: relative !important; flex: 1 1 0 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 0 !important; padding: 0 !important; border-left: 2px solid rgba(255, 255, 255, 0.25) !important; border-right: none !important; }
    ul.desktop-aligned li:last-child { border-right: 2px solid rgba(255, 255, 255, 0.25) !important; }
    ul.desktop-aligned li a, ul.desktop-aligned li span { color: #ffffff !important; font-family: var(--font-primary) !important; font-size: 16px !important; line-height: 46px !important; width: 100% !important; height: 100% !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center !important; white-space: nowrap !important; position: relative; }
    ul.desktop-aligned li:hover > a { background: var(--b17-dark) !important; }

    ul.desktop-aligned li ul { display: none !important; position: absolute !important; top: 100% !important; left: -2px !important; background: var(--b17-green) !important; width: max-content !important; min-width: 200px !important; box-shadow: 0 5px 15px rgba(0,0,0,0.5); z-index: 10000; padding: 0 !important; }
    ul.desktop-aligned li:last-child ul { left: auto !important; right: -2px !important; }
    ul.desktop-aligned li:hover > ul { display: block !important; }
    ul.desktop-aligned li ul li { flex: none !important; width: 100%; border-left: none !important; justify-content: flex-start !important; }
    ul.desktop-aligned li ul li:last-child { border-right: none !important; }
    ul.desktop-aligned li ul li a { padding: 8px 15px !important; line-height: 1.4 !important; justify-content: flex-start !important; text-align: left !important; }

    #top-gallery-wrapper { background: transparent !important; margin-top: 10px; position: relative; z-index: 5; }
    #top-gallery-wrapper .pagewidth { background: var(--b17-gallery-bg) !important; border: 1px solid var(--b17-gallery-border); padding: 20px; display: block !important; }
    .gallery-inner { position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 350px; overflow: hidden; contain: content; }
    .gallery-inner img { position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 96% !important; height: 96% !important; object-fit: contain !important; opacity: 0; transition: opacity 1.5s ease-in-out; }
    .gallery-inner img.active { opacity: 1 !important; }

    #main-content { margin-top: 20px; padding-bottom: 40px; }
    #wrapper { flex: 3; background: var(--b17-white); padding: 25px; border: 1px solid #ddd; border-top: 4px solid var(--b17-green); border-bottom: 4px solid var(--b17-green) !important; }

    #news-sidebar.desktop-only-sidebar { 
        flex: 1; 
        background: var(--b17-sidebar-bg); 
        padding: 20px; 
        border: 1px solid #ddd; 
        border-top: 4px solid var(--b17-green); 
        border-bottom: 4px solid var(--b17-green); 
        min-width: 280px; 
        display: block !important; 
    }

    .home-appeal { display: flex; flex-direction: row; gap: 20px; justify-content: space-between; }
    .appeal-box { flex: 1; }
    .video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
    .home-footer { display: flex; flex-direction: row; gap: 30px; background: #f4f4f4; padding: 30px; border-radius: 8px; }
    .info-block { flex: 1; }

    div.hikashop_subcategories_listing { display: flex !important; flex-direction: column !important; width: 100% !important; float: none !important; }
    div.hikashop_subcategories_listing > div { display: flex !important; flex-direction: row !important; width: 100% !important; margin: 0 0 20px 0 !important; clear: both !important; }
    div.hikashop_subcategories_listing .hikashop_category_left_part { width: 250px !important; min-width: 250px !important; margin-right: 20px !important; text-align: center !important; }
    div.hikashop_subcategories_listing .hikashop_category_right_part { flex: 1 !important; text-align: left !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }

    .mobile-only-sidebar, 
    #sidebar-overlay, 
    #sidebar-flyout-toggle { 
        display: none !important; 
    }
}
