/* Phone-only text wrapping. Desktop typography and course/payment data stay unchanged. */
@media(max-width:767px){
 /* Contact shortcuts remain in content; no floating overlay on phones. */
 .line-float{display:none!important;}
 body :is(p,li,dd,dt,td,th,h1,h2,h3,h4,button,.btn,.product-card-cta,.jane-line-label){word-break:normal;overflow-wrap:break-word;}
 body :is(p,li,dd){text-wrap:pretty;}
 body :is(h1,h2,h3,h4,button,.btn,.product-card-cta){text-wrap:balance;}
 /* Give article summaries their full card width instead of a narrow side column. */
 .learning-card.question-card,#tips .learning-card.question-card{grid-template-columns:minmax(0,1fr);}
 /* Product names inside prose must not force the following word onto a separate line. */
 p:not([data-jane-product]) :is(strong,b,a)[data-jane-product]>.jane-product-th,
 p:not([data-jane-product]) :is(strong,b,a)[data-jane-product]>.jane-product-en{display:inline;}
 p:not([data-jane-product]) :is(strong,b,a)[data-jane-product]>.jane-product-en{margin-top:0;}
 p:not([data-jane-product]) :is(strong,b,a)[data-jane-product]>.jane-product-en::before{content:' ';}
 p:not([data-jane-product]) :is(strong,b,a)[data-jane-product]>.jane-product-en::after{content:none;}
 /* Contact text is not a numeric ticket, even when the link also uses guide-button. */
 .guide-button.jane-line-contact{flex-wrap:nowrap!important;}
 .guide-button.jane-line-contact>.jane-line-label{display:block;position:static;flex:1 1 auto;min-width:0!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;filter:none!important;mask:none!important;-webkit-mask:none!important;font:inherit!important;color:inherit!important;white-space:normal!important;overflow-wrap:normal!important;}
 .guide-button.jane-line-contact>.jane-line-label::before,.guide-button.jane-line-contact>.jane-line-label::after{content:none!important;}
 /* Amount-only displays stay whole, including currency and decimal punctuation. */
 :is(.guide-prices strong,.guide-button>span:not(.jane-line-label),.guide-cart-item strong,#cart-total,#cart-pay-total,.price-big strong,.price-big del,.ebook-order-price,.ebook-shelf-card p>strong,.ebook-shelf-card del,.preorder-price [data-sale-price],[data-regular-price],.live-price strong){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;}
 .preorder-price>strong{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
 .tense-checkout .christmas-reserve{grid-template-columns:minmax(0,1fr);gap:12px;}
 .tense-checkout .christmas-reserve>img{width:100px;justify-self:center;}
 .tense-checkout .christmas-reserve,.tense-checkout .christmas-reserve>div{min-width:0;max-width:100%;}
 .tense-checkout .christmas-reserve .tense-booking-price{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;}
 .tense-booking-price>:is(strong,span){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%!important;min-width:0!important;max-width:100%;padding:12px 44px 12px 12px!important;box-sizing:border-box;}
 .tense-booking-price .jane-ticket-label{display:block;font-size:16px;font-weight:600;line-height:1.5;white-space:nowrap;}
 .tense-booking-price .jane-ticket-amount{display:block;font-size:26px;font-weight:700;line-height:1.35;white-space:nowrap;}
 .tense-booking-price>span .jane-ticket-amount{font-size:20px;font-weight:400;}
 .tense-booking-price>span .jane-ticket-label{font-weight:400;}
 .tense-booking-price>:is(strong,span)::before{right:31px;}
 .tense-booking-price>:is(strong,span)::after{right:9px;width:13px;}
}

@media(max-width:360px){.irl-parts{grid-template-columns:1fr;}.irl-parts button{min-height:0;}.irl-parts .il-part-icon{width:48px;height:48px;}}
