
/* PRICEHACK_COMPACT_LOGO_TILES_V1 */

.ph-logo-selector {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
}

.ph-logo-selector .ph-logo-tile,
.ph-marketplace-selector .ph-logo-tile,
.ph-qf-bar .ph-logo-tile {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #20242a !important;
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: normal !important;
    cursor: pointer;
}

.ph-logo-selector .ph-logo-tile.active,
.ph-marketplace-selector .ph-logo-tile.active,
.ph-qf-bar .ph-logo-tile.active {
    border: 2px solid #ffcc00 !important;
    background: #fff !important;
    color: #20242a !important;
}

.ph-logo-tile .ph-logo-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    z-index: 1;
}

.ph-logo-tile .ph-logo-fallback {
    display: block;
    max-width: 100%;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.ph-logo-tile .ph-logo-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.ph-logo-selector .ph-logo-unavailable {
    opacity: .35 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
}

.ph-logo-tile:hover:not(.active):not(:disabled) {
    border-color: #d0a900 !important;
}

@media (max-width: 600px) {
    .ph-logo-selector .ph-logo-tile,
    .ph-marketplace-selector .ph-logo-tile,
    .ph-qf-bar .ph-logo-tile {
        flex-basis: 96px !important;
        width: 96px !important;
        min-width: 96px !important;
        max-width: 96px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
}
