/* Tio Pelon's v2: scoped corrections for v3 block theme. No global WooCommerce overrides. */
:root{--tp-yellow:#edbd26;--tp-teal:#48b1ae;--tp-cream:#f8f2e7;--tp-ink:#17110f;--tp-red:#d52328}
/* Allow imported homepage to escape the constrained post-content container. */
body:not(.block-editor-page) .tp-imported-home{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:100vw!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;overflow:clip!important}
body:not(.block-editor-page) .tp-imported-home .tp-content-section{max-width:none!important;width:100%!important;box-sizing:border-box!important}
/* Other informational page patterns: full-width sections without displacing text or images. */
body:not(.block-editor-page) .tp-page>.tp-content-section,body:not(.block-editor-page) .entry-content>.tp-content-section,body:not(.block-editor-page) .wp-block-post-content>.tp-content-section{position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:none;box-sizing:border-box;margin-left:0!important;margin-right:0!important;padding-inline:max(22px,calc((100vw - 1120px)/2))!important}
/* Never let content or media overflow the available page width. */
.tp-content-section,.tp-content-section *{box-sizing:border-box}.tp-content-section img,.tp-content-section video{max-width:100%;height:auto}.tp-content-section .wp-block-columns{gap:clamp(18px,3vw,48px)}
.tp-content-section h1,.tp-content-section h2{overflow-wrap:break-word}.tp-content-section .wp-block-buttons{flex-wrap:wrap}.tp-content-section .wp-block-button__link{border-radius:999px}
/* Homepage hero: fix right-shift, overlap, and keep jars in their own grid column. */
body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto!important;column-gap:clamp(18px,3vw,64px)!important;align-content:center!important;padding:clamp(36px,5vw,90px) max(22px,calc((100vw - 1160px)/2))!important;min-height:560px!important}
body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>:not(figure){grid-column:1!important;grid-row:auto!important;position:relative!important;z-index:2!important;max-width:100%!important}
body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>figure.wp-block-image{grid-column:2!important;grid-row:1 / span 8!important;align-self:center!important;justify-self:center!important;position:relative!important;max-width:100%!important;margin:0!important;z-index:1!important}
body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>figure.wp-block-image:last-child:not(:first-of-type){grid-row:1 / span 8!important;align-self:end!important;justify-self:end!important;max-width:90px!important;z-index:3!important}
body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child h1{font-family:Georgia,serif!important;font-size:clamp(48px,5.5vw,84px)!important;line-height:.98!important;letter-spacing:-.055em!important;max-width:600px!important}
@media(max-width:780px){body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child{grid-template-columns:minmax(0,1fr)!important;min-height:0!important;padding:48px 22px!important}body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>:not(figure){grid-column:1!important}body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>figure.wp-block-image{grid-column:1!important;grid-row:auto!important;max-width:460px!important;margin:20px auto 0!important}body:not(.block-editor-page) .tp-imported-home .tp-content-section:first-child>figure.wp-block-image:last-child:not(:first-of-type){grid-column:1!important;grid-row:auto!important;max-width:80px!important;margin-top:-60px!important}}
