@media only screen and (max-width: 767px) {
    .family-products-fallback .hidden-xs {
        display: none !important;
    }

    .family-products-fallback .visible-xs-block {
        display: block !important;
    }

    .family-products-fallback .detail-product-item > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .family-products-fallback .tab-content .tab-pane {
        display: none;
        padding: 0;
    }

    .family-products-fallback .tab-content #tab-dimensions {
        display: block;
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-toggle {
        background-color: #fff;
        border-bottom: solid 1px #ddd;
        color: #333;
        display: block;
        font-size: 16px;
        font-weight: 700;
        padding: 16px 42px;
        position: relative;
        text-decoration: none;
        text-transform: uppercase;
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-toggle:before {
        background-color: #a4be37;
        content: "";
        height: 12px;
        left: 20px;
        position: absolute;
        top: 21px;
        width: 12px;
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-toggle.collapsed:before {
        background-color: #ccc;
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-toggle:after {
        content: "\EA04";
        display: inline-block;
        font-family: "BythjulGlyphs";
        font-size: 13px;
        font-style: normal;
        font-weight: normal;
        line-height: 1;
        position: absolute;
        right: 20px;
        top: 21px;
        transform: rotate(180deg);
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-toggle.collapsed:after {
        transform: rotate(0deg);
    }

    .family-products-fallback .tab-content .tab-pane .tab-pane-inner {
        padding: 20px 20px 0;
    }

    .family-products-fallback .dimension-header-text {
        font-size: 18px;
        font-style: italic;
        font-weight: 700;
        line-height: 1.25;
        margin: 0 0 18px;
        text-align: center;
        text-transform: uppercase;
    }

    .family-products-fallback .dimension-table {
        margin-left: 0;
        margin-right: 0;
    }

    .family-products-fallback .dimension-table > .col-xs-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .family-products-fallback .product-family-tyre-mobile-card.panel {
        background-color: #fff;
        border-color: #eee;
        margin-bottom: 0;
        padding: 4px 0 10px !important;
    }

    .family-products-fallback .product-family-tyre-mobile-card .list-group {
        background-color: #fff;
        margin-bottom: 0;
    }

    .family-products-fallback .product-family-tyre-mobile-card .list-group-item.product-family-tyre-mobile-card__item {
        background: #fff;
        border: 1px solid #eee !important;
        margin-bottom: 10px;
        padding: 12px 6px 12px 12px;
        position: relative;
    }

    .family-products-fallback .pfl-mobile-tyre-card {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__top {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__img {
        flex-shrink: 0;
        position: relative;
        width: 64px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__img img {
        display: block;
        height: auto;
        object-fit: contain;
        width: 56px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__badge {
        background: #e74c3c;
        border-radius: 2px;
        box-sizing: border-box;
        color: #fff;
        font-size: 11px;
        left: 0;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        padding: 2px 0;
        position: absolute;
        text-align: center;
        text-overflow: ellipsis;
        top: 0;
        white-space: nowrap;
        width: 56px;
        z-index: 2;
    }

    .family-products-fallback .pfl-mobile-tyre-card__info {
        flex: 1;
        min-width: 0;
    }

    .family-products-fallback .pfl-mobile-tyre-card__title {
        align-items: flex-start;
        color: inherit;
        display: flex;
        flex-direction: column;
        font-size: 14px;
        font-weight: 700;
        gap: 3px;
        line-height: 1.25;
        margin: 0 0 4px;
        text-decoration: none;
    }

    .family-products-fallback .pfl-mobile-tyre-card__title-dim,
    .family-products-fallback .pfl-mobile-tyre-card__title-name {
        display: block;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }

    .family-products-fallback .pfl-mobile-tyre-card__season,
    .family-products-fallback .pfl-mobile-tyre-card__delivery {
        align-items: center;
        color: #666;
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 5px;
        line-height: 1.35;
        margin-bottom: 2px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__delivery .bhg-truck {
        color: #a4be37;
        font-size: 16px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__snow {
        height: auto;
        vertical-align: middle;
        width: 22px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__bottom {
        align-items: center;
        display: flex;
        flex-direction: row;
        gap: 6px;
        justify-content: space-between;
        margin-right: -2px;
        padding-top: 2px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__price {
        flex: 1;
        min-width: 0;
        padding-right: 4px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__from {
        color: #777;
        display: block;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.1;
        margin-bottom: 1px;
    }

    .family-products-fallback .pfl-mobile-tyre-card__amount {
        color: #000;
        display: block;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.15;
    }

    .family-products-fallback .pfl-mobile-tyre-card__action {
        flex-shrink: 0;
        margin-left: auto;
    }

    .family-products-fallback .pfl-mobile-tyre-card__action .btn {
        align-items: center !important;
        background: #f58d09 !important;
        border-color: #f58d09 !important;
        box-shadow: 0 2px 0 #ab6306, inset 0 0 0 #333 !important;
        color: #fff !important;
        display: inline-flex !important;
        font-size: 16px;
        font-weight: 700;
        gap: 6px;
        height: 44px;
        justify-content: center !important;
        line-height: 1.2;
        min-height: 44px !important;
        min-width: 100px !important;
        padding: 6px 14px;
        text-decoration: none;
        text-shadow: none;
        white-space: nowrap;
        width: auto !important;
    }

    .family-products-fallback .pfl-mobile-tyre-card__action .btn i.bhg-shopping-cart {
        font-size: 16px;
        line-height: 1;
        margin: 0 !important;
    }

    .family-products-fallback .pfl-mobile-tyre-card__blocked {
        color: #666;
        font-size: 13px;
        padding: 4px 4px 0;
        text-align: center;
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .family-products-fallback .visible-xs-block {
        display: none !important;
    }
}
