/* PRICEHACK_LOGO_UI_V3 */
/* Keep the review-points marketplace selector inside the feed, below banner and above sorting. */
.ph-review-logo-position-v3 {margin: 5px 0 12px !important;}
/* Use the same full-area WebP tile styling for the Yandex coupon filter. */
.ph-qf-bar .ph-coupon-market-logo-v3 {
    width:120px !important; min-width:120px !important; max-width:120px !important;
    height:56px !important; min-height:56px !important; max-height:56px !important;
    padding:0 !important; border-radius:9px !important; overflow:hidden !important;
    position:relative !important; background:#fff !important;
    border:1px solid #dce1e7 !important;
}
.ph-qf-bar .ph-coupon-market-logo-v3.active {border:2px solid #ffcc00 !important;}
.ph-qf-bar .ph-coupon-market-logo-v3 .ph-logo-image {
    display:block !important; width:100% !important; height:100% !important;
    object-fit:contain !important; inset:0 !important; position:absolute !important;
}
/* The expanded store chooser remains searchable; options become image-first tiles. */
.ph-qf-overlay .ph-qf-list {
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(112px,1fr)) !important;
    align-items:start !important; gap:9px !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 {
    box-sizing:border-box !important; position:relative !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    min-width:0 !important; width:100% !important;
    height:56px !important; min-height:56px !important; max-height:56px !important;
    overflow:hidden !important; padding:0 !important; margin:0 !important;
    border:1px solid #dce1e7 !important; border-radius:9px !important;
    background:#fff !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3.active {
    border:2px solid #ffcc00 !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 img.ph-store-option-logo-v3 {
    display:block !important; position:absolute !important; inset:0 !important;
    width:100% !important; height:100% !important;
    object-fit:contain !important; object-position:center !important;
    margin:0 !important; padding:0 !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-has-logo-v3 > :not(img) {
    position:absolute !important; clip-path:inset(50%) !important;
    width:1px !important; height:1px !important; overflow:hidden !important;
}
@media(max-width:600px) {
    .ph-qf-bar .ph-coupon-market-logo-v3 {
        width:96px !important; min-width:96px !important; max-width:96px !important;
        height:48px !important; min-height:48px !important; max-height:48px !important;
    }
    .ph-qf-overlay .ph-qf-list {grid-template-columns:repeat(auto-fill,minmax(96px,1fr)) !important;}
    .ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 {
        height:48px !important; min-height:48px !important; max-height:48px !important;
    }
}
