/* Shared public typography. Keep legacy rem grid unchanged. */
body{font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}
body input,body select,body textarea,body button{font-family:inherit}
body h1,body .title-h1,body .prod__title,body .top-banner__text__title{font-size:36px!important;line-height:1.22!important;font-weight:700;letter-spacing:-.4px}
body h2,body .title-h2,body .meg-contacts-heading{font-size:28px!important;line-height:1.3!important;font-weight:700;letter-spacing:-.2px}
body h3{font-size:22px!important;line-height:1.35!important;font-weight:600}
body .meg-hero-v2 h1{font-size:36px!important}
body .meg-hero-v2__copy p,body .meg-lead,body .meg-section p,body .meg-section li,body .meg-shpunt-page p,body .meg-shpunt-page li,body .meg-china p,body .meg-china li,body .meg-service-page p,body .meg-service-page li,body .meg-services-hub p,body .meg-home-delivery p,body .meg-home-delivery li,body .meg-home-copy p,body .pay-tabs__content p,body .pay-tabs__content li,body .article p,body .article li,body .detail__text p,body .detail__text li,body .text-block p,body .text-block li,body .meg-catalog-help .offer__text{font-size:16px!important;line-height:1.65!important}
body .btn,body button[type=submit],body .meg-hero-v2__button,body .meg-footer__call{font-size:16px!important;line-height:1.4!important}
body .catalog-item__title,body .catalog-item__name,body .catalog-item__title a,body .catalog-item__name a{font-size:18px!important;line-height:1.4!important}
body .meg-service-card h2,body .meg-home-service-card h3,body .news-item__title{font-size:22px!important;line-height:1.35!important}
body .meg-footer h2{font-size:18px!important;line-height:1.4!important}
body .meg-footer p,body .meg-footer nav a,body .meg-footer__contact p a{font-size:16px!important;line-height:1.6!important}
body .meg-footer__legal,body .meg-footer__legal a,body .meg-footer__legal p,body .meg-phone-hint,body .meg-photo-caption{font-size:14px!important;line-height:1.5!important}
body .form-modal__title{font-size:24px!important;line-height:1.3!important}
body .form-modal__description,body .form-modal label,body .form-modal .field-title{font-size:16px!important;line-height:1.5!important}
body .form-modal input,body .form-modal textarea{font-size:16px!important;line-height:1.5!important}
body .fancybox-slide--html{overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body .fancybox-slide--html .modal{height:auto!important;max-height:calc(100vh - 40px)!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin-top:20px;margin-bottom:20px;vertical-align:top}
body #modal-callback,body #modal-feedback,body #modal-add{box-sizing:border-box;scroll-padding-bottom:24px}
body .modal .form-modal{height:auto!important;max-height:none!important;overflow:visible!important}
@media(max-width:767px){body h1,body .title-h1,body .prod__title,body .top-banner__text__title,body .meg-hero-v2 h1{font-size:28px!important;line-height:1.25!important}body h2,body .title-h2,body .meg-contacts-heading{font-size:24px!important}body h3,body .meg-service-card h2,body .meg-home-service-card h3,body .news-item__title{font-size:20px!important}body .meg-footer h2{font-size:18px!important}body .fancybox-slide--html .modal{max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;margin-top:12px;margin-bottom:12px}}

/* Normalize inherited legacy rem-sized copy without changing layout units. */
body main p,body main li,body main td,body main th{font-size:16px!important;line-height:1.65!important}
body main .breadcrumbs li,body main .breadcrumbs a{font-size:14px!important;line-height:1.5!important}
body main .meg-footer__legal p,body main .meg-footer__legal a,body main .meg-phone-hint,body main .meg-photo-caption{font-size:14px!important;line-height:1.5!important}
body .fancybox-slide--html .modal{overflow-x:hidden!important}
body .modal .form-modal{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body .modal input,body .modal textarea,body .modal label{box-sizing:border-box;max-width:100%}

/* Catalog metadata and secondary editorial navigation. */
body .catalog-item__props__cell,body .prod__chars__cell,body .fresh-item{font-size:16px!important;line-height:1.6!important}
body .sort__title,body .poduct-price small,body .top__item__delivery__text{font-size:14px!important;line-height:1.5!important}
body .poduct-price>span{font-size:22px!important;line-height:1.35!important}

body main p,body main li,body main td,body main th{overflow-wrap:anywhere}
body main figcaption{font-size:14px!important;line-height:1.5!important}
body .page-numbers,body .page-numbers span{font-size:16px!important;line-height:1.5!important}

/* Narrow phones: keep long headings inside the text column. */
body h1,body h2,body h3,body .title-h1,body .prod__title{overflow-wrap:anywhere;min-width:0}
@media(max-width:359px){body .meg-footer nav{grid-column:1/-1}body .meg-footer nav a{overflow-wrap:normal;word-break:normal}}

body h1,body h2,body h3{text-transform:none!important}

@media(max-width:359px){body h1,body .title-h1,body .prod__title,body .top-banner__text__title,body .meg-hero-v2 h1{font-size:24px!important}body h2,body .title-h2{font-size:22px!important}body .meg-footer h2{font-size:18px!important}}
@media(min-width:600px) and (max-width:1023px){body .meg-services-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .meg-services-cards>.meg-service-card:last-child{grid-column:1/-1}}
