#mobile-price { display: none; }
@media (width < 992px) {
    #modal-constructor-order .modal-header { position: relative; }
    #mobile-price:not([hidden]) {
        display: flex;
        position: absolute;
        inset: 0 52px 0 0;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        font-size: 15px;
        line-height: 1.2;
        color: #1b1918;
    }
    #mobile-price strong { white-space: nowrap; }
    .item-texture-wrap .texture-title { cursor: pointer; }
}
@media (width < 992px) and (max-height: 600px) {
    #v-pills-tab.mobile-tabs-compact > .nav-link:not(.active) { display: none; }
    #v-pills-tab .ic-down-caret { cursor: pointer; }
    #v-pills-tab.mobile-tabs-compact .ic-down-caret i { transform: rotate(180deg); }
    #v-pills-tab .ic-down-caret:focus-visible { outline: 2px solid #292623; outline-offset: -2px; }
}

@media (max-width: 530px) {
    /* Preserve intrinsic card width across font metrics and device pixel ratios. */
    .modal-left-panel-main h5[data-layout-label]::before {
        content: attr(data-layout-label) / "";
        display: block;
        height: 0;
        overflow: hidden;
        white-space: pre-line;
        text-transform: uppercase;
        font-weight: 700;
    }
}

#get-to-print .price-value { white-space: nowrap; }
@media (max-width: 400px) {
    #get-to-print { --price-width: max(41.666667%, 8.5rem); }
    #get-to-print .price-label { flex-basis: calc(100% - var(--price-width)); max-width: calc(100% - var(--price-width)); }
    #get-to-print .price-value { flex-basis: var(--price-width); max-width: var(--price-width); }
}
