/* Tenuta Iuzzolini: two products per row, smartphone shop only. */
@media (max-width: 767px) {
    .iuz-shop .iuz-shop-main > .iuz-shop-container {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
    }
    .iuz-shop .iuz-shop-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
        align-items: stretch !important;
    }
    .iuz-shop .iuz-wine-item {
        position: relative;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 6px 20px rgba(41,35,92,.07) !important;
    }
    .iuz-shop .iuz-wine-item:hover { transform: none !important; }
    .iuz-shop .iuz-wine-visual {
        height: clamp(180px, 53vw, 260px) !important;
        min-height: 0 !important;
        padding: 10px 8px !important;
    }
    .iuz-shop .iuz-wine-bottle {
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        align-items: center !important;
    }
    .iuz-shop .iuz-wine-bottle img,
    .iuz-shop .iuz-wine-item:hover .iuz-wine-bottle img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
        filter: drop-shadow(0 8px 8px rgba(20,16,45,.1)) !important;
    }
    .iuz-shop .iuz-wine-placeholder {
        width: 60% !important;
        height: 85% !important;
        max-height: 100%;
        font-size: 30px !important;
    }
    .iuz-shop .iuz-wine-badges {
        top: 8px !important;
        left: 8px !important;
        right: 58px !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }
    .iuz-shop .iuz-wine-badge {
        min-height: 24px !important;
        padding: 4px 6px !important;
        font-size: 8px !important;
        letter-spacing: 0 !important;
    }
    .iuz-shop .iuz-wine-badge.soldout { margin-left: 0 !important; }
    .iuz-shop .iuz-wine-info {
        position: static;
        padding: 12px 10px !important;
        min-height: 0 !important;
        gap: 8px !important;
    }
    .iuz-shop .iuz-wine-category {
        font-size: 9px !important;
        line-height: 1.35 !important;
        letter-spacing: .04em !important;
        overflow-wrap: anywhere;
    }
    .iuz-shop .iuz-wine-title-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        min-height: 0 !important;
    }
    .iuz-shop .iuz-wine-title,
    .iuz-shop .iuz-wine-title a {
        font-size: clamp(16px, 4.4vw, 20px) !important;
        line-height: 1.2 !important;
        letter-spacing: -.02em !important;
        margin: 0 !important;
        overflow-wrap: anywhere !important;
    }
    .iuz-shop .iuz-wine-title { min-height: 2.4em !important; }
    .iuz-shop .iuz-wine-price {
        min-height: 0 !important;
        gap: 3px !important;
        padding: 0 !important;
    }
    .iuz-shop .iuz-wine-price strong {
        font-size: clamp(21px, 5.7vw, 25px) !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .iuz-shop .iuz-wine-price strong.iuz-wine-price-request { font-size: 14px !important; }
    .iuz-shop .iuz-wine-price-label { font-size: 9px !important; }
    .iuz-shop .iuz-wine-price del { font-size: 11px !important; }
    .iuz-shop .iuz-wine-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
    .iuz-shop .iuz-wine-availability,
    .iuz-shop .iuz-wine-saving {
        font-size: 10px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
    }
    .iuz-shop .iuz-wine-actions {
        position: static;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
        padding-top: 5px !important;
        margin-top: auto !important;
    }
    .iuz-shop .iuz-wine-main-button {
        width: 100% !important;
        min-height: 46px !important;
        padding: 8px !important;
        border-radius: 10px !important;
        gap: 5px !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }
    .iuz-shop .iuz-wine-main-button span {
        min-width: 0;
        font-size: 11px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .iuz-shop .iuz-wine-main-button i { font-size: 13px !important; }
    .iuz-shop .iuz-wine-wishlist {
        position: absolute !important;
        top: 8px;
        right: 8px;
        z-index: 6;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,.96);
    }
    .iuz-shop .iuz-wine-wishlist i { font-size: 19px !important; }
    /* Slim edge tab; native pink gradient, scroll reveal and modal retained. */
    .iuz-shop #iuzShopMobileFilterToggle {
        top: 52% !important;
        bottom: auto !important;
        right: 0 !important;
        box-sizing: border-box;
        width: 32px !important;
        height: auto !important;
        min-height: 112px !important;
        box-shadow: none !important;
        padding: 8px 5px !important;
        gap: 6px !important;
        border-radius: 14px 0 0 14px !important;
        overflow: visible;
        transform: translate3d(100%, -50%, 0) !important;
    }
    .iuz-shop #iuzShopMobileFilterToggle.is-scroll-visible {
        transform: translate3d(0, -50%, 0) !important;
    }
    .iuz-shop #iuzShopMobileFilterToggle .iuz-shop-filter-tab-icon {
        flex-shrink: 0;
        width: 22px !important;
        height: 22px !important;
        background: rgba(255,255,255,.18) !important;
        font-size: 11px !important;
    }
    .iuz-shop #iuzShopMobileFilterToggle .iuz-shop-filter-tab-text {
        display: block !important;
        flex-shrink: 0;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 11px !important;
        line-height: 1 !important;
        letter-spacing: .08em !important;
        white-space: nowrap;
    }
    .iuz-shop #iuzShopMobileFilterToggle .iuz-shop-filter-tab-meta {
        position: static;
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        min-height: 0 !important;
        line-height: 0;
        pointer-events: none;
    }
    .iuz-shop #iuzShopMobileFilterToggle .iuz-shop-mobile-filter-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 3px !important;
        line-height: 1 !important;
        box-shadow: none !important;
    }
    .iuz-shop #iuzShopMobileFilterToggle:focus-visible {
        outline: 2px solid #d91d49;
        outline-offset: 3px;
    }
}

/* Mantieni libero il catalogo nella vista smartphone, anche in orizzontale. */
@media (max-width: 767px),
       (max-width: 991px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .iuz-shop #iuzShopSelectionPromo {
        display: none !important;
    }
}
