
    /* 1. ANCHOR THE PRODUCT BLOCK (The 0.145 - 0.148 Shift) */
    /* Reserving height and forcing visibility so the browser doesn't "guess" */
    .product-block.mb-32 {
        min-height: 520px !important; /* Increased slightly to account for price labels */
        display: block !important;
        visibility: none !important;
        opacity: 1 !important;
        overflow: hidden;
    }

    /* 2. IMAGE ASPECT RATIO (Crucial for the "Unsupported Visibility" errors) */
    /* This forces the browser to reserve a square space for every product image */
    .product-layout.product-list-4 img {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: auto !important;
        background-color: transparent; /* Shows a light grey box while loading */
        display: block !important;
    }

    /* 3. FIX THE "STACKING" JUMP */
    /* Using 'transition' here ensures the slide movement is smooth, not jumpy */
    .product-layout.product-list-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        will-change: transform;
    }

    .product-layout.product-list-4 > div {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        padding: 10px;
        box-sizing: border-box;
    }

    /* 4. BUTTON & QUANTITY BOX SAFETY */
    /* Reserving height for the "Add to Cart" button prevents the card from growing when it appears */
    .quantity-box, .button-group {
        min-height: 45px !important;
        visibility: visible !important;
    }

    /* 5. LOGO FIX (The Unsized Image error) */
    img[alt="Bottari Baltic"] {
        height: 30px !important;
        width: 140px !important; /* Explicit width stops the header from flickering */
        display: inline-block !important;
        object-fit: contain;
    }

    /* Carousel Navigation */
    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.9);
        border: 1px solid #ccc;
        border-radius: 50%;
        width: 40px; height: 40px;
        z-index: 100;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        font-size: 20px;
    }
    .carousel-nav:hover { background: #fff; }
    .carousel-nav.prev { left: -10px; }
    .carousel-nav.next { right: -10px; }

    /* Mobile Responsive Logic */
    @media (max-width: 768px) {
        .product-layout.product-list-4 > div {
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        .product-block.mb-32 { min-height: 400px !important; }
    }
