/* Catalogue v7: shared typography, wrapping and balanced summaries in every language. */
html.tp5-product body#product #main #product-card ul.tp5-highlights>li{align-items:center!important;min-width:0!important}
html.tp5-product body#product #main #product-card ul.tp5-highlights>li>span{min-width:0;overflow-wrap:anywhere;text-align:center;flex:1}
html.tp5-product body#product #main #product-card ul.tp5-highlights strong{line-height:1.35!important}
html.tp5-product body#product #main .tp5-story .tp5-editorial>img{border-radius:30% 12% 30% 12%;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
html.tp5-product body#product #main .tp5-story h2,html.tp5-product body#product #main .tp5-story h3{font-weight:800!important}
html.tp5-product body#product #main .tp5-benefit-grid{gap:0 24px}
html.tp5-product body#product #main .tp5-benefit{border-bottom:1px solid #d9e8ef;min-width:0}
html.tp5-product body#product #main .tp5-benefit:nth-child(odd){border-right:1px solid #d9e8ef;padding-right:24px}
html.tp5-product body#product #main .tp5-benefit:nth-child(even){padding-left:24px}
html.tp5-product body#product #main .tp5-copy .tp5-lead{font-size:17px;line-height:1.75}
html.tp5-product body#product #main #product-card .product-add-to-cart-wrapper .add-to-cart{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;padding:12px!important}
html.tp5-product body#product #main>.tabs>.nav-tabs{flex-wrap:wrap!important}
html.tp5-product body#product #main>.tabs>.nav-tabs .nav-link{white-space:normal!important;text-align:center!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-title a{overflow-wrap:anywhere!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-miniature-container{border:1px solid #a4c5df!important}
html[lang^="he"] .tp5-story,html[lang^="he"] #product-description-short{direction:rtl}
@media(max-width:767.98px){
 html.tp5-product body#product #main .tp5-benefit:nth-child(odd){border-right:0;padding-right:14px}
 html.tp5-product body#product #main .tp5-benefit:nth-child(even){padding-left:14px}
 html.tp5-product body#product #main .tp5-copy .tp5-lead{font-size:15px;line-height:1.75}
 html.tp5-product body#product #main #product-card .product-name{overflow-wrap:anywhere!important}
}
@media(max-width:360px){html.tp5-product body#product #main #product-card ul.tp5-highlights{grid-template-columns:1fr!important}}

/* Actual on-skin transfers: full silhouette, white canvas, no paper mock-up. */
html.tp5-product body#product #main .tp5-story .tp7-real-stencil{background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
html.tp5-product body#product #main .tp5-story .tp7-real-stencil>img{aspect-ratio:auto!important;object-fit:contain!important;height:540px!important;max-height:65vh;width:auto!important;max-width:100%;border-radius:0!important;box-shadow:none!important}
html.tp5-product body#product #main .tp5-story .tp7-real-stencil>span{position:static!important;margin-top:14px;text-align:center}
@media(max-width:767.98px){html.tp5-product body#product #main .tp5-story .tp7-real-stencil>img{height:400px!important;max-height:55vh}}

/* Keep the photo frame fitted to its image instead of stretching to long translated copy. */
html.tp5-product body#product #main #product-card>div:first-child{align-self:start!important}
html.tp5-product body#product #main #product-card #content,html.tp5-product body#product #main #product-card .images-container,html.tp5-product body#product #main #product-card .product-cover{flex:none!important}

/* Native-editor-compatible isolation for Latin names and units inside Hebrew. */
html.tp5-product .tp7-ltr{direction:ltr;unicode-bidi:isolate}

/* Compact catalogue grid: descriptions belong on the product page. */
html.tp5-category body#category #products-wrapper.grid #js-product-list .products{align-items:stretch!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list article.product-miniature{display:flex!important;align-items:stretch!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-miniature-container{height:100%!important;min-height:0!important;width:100%!important;padding:0!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-miniature-information{flex:1 1 auto!important;padding:14px!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-description-short{display:none!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-title{margin:0 0 10px!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-price:not(.daydeal-wrap){margin-top:auto!important;padding:10px 0!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-thumbnail-link{height:260px!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-thumbnail-link>img{height:240px!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-buttons{margin-top:8px!important;padding-top:0!important}
html.tp5-category body#category #products-wrapper.grid #js-product-list .product-buttons .quick-view{margin-top:0!important;min-height:44px!important}
@media(max-width:767.98px){
 html.tp5-category body#category #products-wrapper.grid #js-product-list .product-miniature-information{padding:10px!important}
 html.tp5-category body#category #products-wrapper.grid #js-product-list .product-thumbnail-link{height:190px!important}
 html.tp5-category body#category #products-wrapper.grid #js-product-list .product-thumbnail-link>img{height:180px!important}
 html.tp5-category body#category #products-wrapper.grid #js-product-list .product-title a{font-size:12px!important;line-height:1.4!important}
 html.tp5-category body#category #products-wrapper.grid #js-product-list .product-price .price{font-size:19px!important}
 html.tp5-category body#category #products-wrapper.grid #js-product-list .add-to-cart{padding:10px 5px!important;min-height:44px!important}
}

/* v8: symmetric, rounded information panels; preserve existing wording and layout. */
html.tp5-product body#product #main .tp5-story .tp5-caution,
html.tp5-product body#product #main #product-card .tp5-summary-warning{
 border:0!important;border-radius:14px!important;background:#edf6fa!important;
 background-clip:padding-box;box-shadow:none!important;
}
