/* Mobile stabilization for in-app browsers (Facebook/Instagram). */

/* Facebook WebView may boost text size in fixed-width layouts and break blocks. */
html {
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
}

/* Keep desktop look, but allow narrow screens to avoid overflow issues. */
body {
    min-width: 0;
}

.main_wrapper {
    width: 100%;
    max-width: 480px;
}

/* Price block must grow with text instead of clipping/overlapping. */
.offer_section.offer3 .price_block {
    height: auto;
    min-height: 80px;
}

.offer_section.offer3 .price_item {
    height: auto;
    min-height: 80px;
}

.offer_section.offer3 .price_item .text {
    line-height: 1.2;
}

.offer_section.offer3 .price_item .value {
    line-height: 1.1;
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .offer_section.offer3 .price_block {
        padding: 0 40px;
    }

    .offer_section.offer3 .price_block:before,
    .offer_section.offer3 .price_block:after {
        width: 40px;
    }

    .offer_section.offer3 .price_item.old {
        padding: 16px 8px 12px 16px;
    }

    .offer_section.offer3 .price_item.new {
        padding: 16px 8px 12px 16px;
    }

    .offer_section.offer3 .price_item .text {
        font-size: 13px;
    }

    .offer_section.offer3 .price_item .value {
        font-size: clamp(20px, 6vw, 26px);
    }
}
