.gallery-main { height: 400px; border-radius: 12px 0 0 12px; overflow: hidden; }
        .gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.3s ease; }
        .gallery-main img:hover { transform: scale(1.02); }
        
        .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 400px; }
        .gallery-grid-item { overflow: hidden; position: relative; }
        .gallery-grid-item:nth-child(2) { border-radius: 0 12px 0 0; }
        .gallery-grid-item:nth-child(4) { border-radius: 0 0 12px 0; }

        .gallery-grid-item { 
            width: 100%; 
            height: 100%; 
            overflow: hidden; 
            border-radius: 4px;
        }

        .gallery-grid-item img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            display: block;
            transition: transform 0.3s ease;
        }

        .gallery-grid-item img:hover { 
            transform: scale(1.05); 
        }
        
        .sticky-sidebar { position: sticky; top: 100px; }
        .owner-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid #e9ecef;
        }
        .spec-box { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 15px; text-align: center; }
        
        /* На мобилен телефон (под 768px) */
        @media (max-width: 767.98px) {
            .gallery-main {
                height: 250px !important;
            }
            
            .gallery-grid {
                height: auto !important;
                display: grid !important;
                grid-template-columns: repeat(4, 1fr) !important;
                grid-template-rows: auto !important;
                gap: 5px !important;
                margin-top: 10px;
            }

            .gallery-grid-item {
                height: 60px !important;
            }
        }