/*
 Theme Name: Turbo Puls Child
 Template: blocksy
 Description: Child theme for Turbo Puls
 Version: 1.1.0
 Text Domain: blocksy
*/
:root{--tp-red:#ef424c;--tp-dark:#262628;--tp-dark2:#3a3a3d;--tp-grey:#636466;--tp-light:#f3f3f4;--tp-yellow:#fdb71a;}
body{font-family:"Helvetica Neue",Arial,sans-serif;color:#2b2b2d;}
/* header + footer in brand dark */
#header,#header [data-row]{background:var(--tp-dark)!important;}
#header .ct-menu-link,#header .ct-language-switcher a,#header .site-title a{color:#fff!important;font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:14px;}
#header .menu>li>a:hover,#header .current-menu-item>a{color:var(--tp-red)!important;}
#header .site-logo-container img{height:56px;width:auto;}
#header [data-row="middle"]{border-bottom:3px solid var(--tp-red);}
#footer,#footer [data-row]{background:var(--tp-dark)!important;color:#c5c7c9;}
#footer a{color:#fff;}
a{color:var(--tp-red);}
/* buttons */
.tp-btn,.wp-block-button__link,.button{display:inline-block;background:var(--tp-red);color:#fff!important;padding:13px 28px;border-radius:3px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;text-decoration:none;border:2px solid var(--tp-red);}
.tp-btn:hover{background:#d5303a;border-color:#d5303a;}
.tp-btn-ghost{background:transparent;color:var(--tp-red)!important;}
.tp-btn-ghost:hover{background:var(--tp-red);color:#fff!important;}
/* home */
.tp-hero{margin:0 0 0;background:var(--tp-dark);text-align:center;}
.tp-hero img{display:block;width:100%;max-width:1100px;margin:0 auto;height:auto;}
html[lang="uk"] .tp-hero-en,html:not([lang="uk"]) .tp-hero-ua{display:none;}
.tp-intro{max-width:820px;margin:48px auto 24px;padding:0 20px;text-align:center;}
.tp-intro h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:0 0 14px;font-weight:800;text-transform:uppercase;}
.tp-intro p{font-size:18px;color:var(--tp-grey);}
.tp-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;max-width:1290px;margin:30px auto 70px;padding:0 20px;}
.tp-tile{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:300px;padding:20px;border-radius:6px;background:var(--c);color:var(--t)!important;text-decoration:none;overflow:hidden;transition:transform .2s,box-shadow .2s;}
.tp-tile:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,.2);}
.tp-tile span{font-size:20px;font-weight:800;text-transform:uppercase;line-height:1.15;position:relative;z-index:1;}
.tp-tile img{width:75%;max-width:200px;height:auto;align-self:flex-end;margin:12px -10px -20px 0;background:#fff;border-radius:6px;object-fit:contain;aspect-ratio:1;}
/* catalog */
ul.products li.product{border:1px solid #e4e4e6;border-radius:6px;padding:14px;background:#fff;transition:box-shadow .2s;}
ul.products li.product:hover{box-shadow:0 8px 22px rgba(0,0,0,.12);}
.woocommerce-product-gallery .ct-media-container img.wp-post-image,ul.products li.product .ct-media-container img.wp-post-image{object-fit:contain!important;background:#fff;}
ul.products li.product .woocommerce-loop-product__title{font-weight:800;text-transform:uppercase;}
.single-product .product_title{text-transform:uppercase;font-weight:800;}
.single-product .woocommerce-product-details__short-description{font-size:18px;color:var(--tp-grey);}
.single-product table.woocommerce-product-attributes th{background:var(--tp-light);text-transform:uppercase;font-size:13px;}
.single-product .cart,.single-product .price,.woocommerce-variation-add-to-cart,.single_variation_wrap{display:none!important;}
@media(max-width:600px){.tp-tile{min-height:220px}.tp-intro{margin-top:30px}}
/* home cleanup */
.home .hero-section,.home .entry-header,.home .page-title{display:none!important;}
#header .site-title,#header .site-description{display:none!important;}
.home .entry-content>*{max-width:none!important;}
.home .ct-container-full,.home [data-prefix="single_page"]{--theme-block-max-width:100%;}
.tp-hero{width:100vw;margin-left:calc(50% - 50vw);}
/* brand palette override */
:root{--theme-palette-color-1:#ef424c;--theme-palette-color-2:#d5303a;--theme-link-initial-color:#ef424c;--theme-link-hover-color:#d5303a;--theme-button-background-initial-color:#ef424c;--theme-button-background-hover-color:#d5303a;}
ul.products .button,.ct-woo-card-actions .button{background:#ef424c!important;border-color:#ef424c!important;color:#fff!important;}
/* footer */
#footer{display:none!important;}
.tp-footer{background:var(--tp-dark);color:#c5c7c9;border-top:3px solid var(--tp-red);margin-top:40px;font-size:15px;line-height:1.6;}
.tp-footer a{color:#fff;text-decoration:none;}.tp-footer a:hover{color:var(--tp-red);}
.tp-footer-grid{max-width:1290px;margin:0 auto;padding:46px 20px 30px;display:grid;grid-template-columns:1.2fr .8fr 1.4fr;gap:40px;}
.tp-footer h4{color:#fff;text-transform:uppercase;letter-spacing:.05em;font-size:14px;margin:0 0 14px;}
.tp-footer ul{list-style:none;margin:0;padding:0;}.tp-footer li{margin:0 0 6px;}
.tp-footer p{margin:0 0 14px;}.tp-footer-brand img{height:56px;width:auto;margin-bottom:12px;}
.tp-footer-bottom{border-top:1px solid #3d3d40;text-align:center;padding:16px 20px;font-size:13px;color:#8d8f92;}
@media(max-width:800px){.tp-footer-grid{grid-template-columns:1fr;gap:26px;padding-top:34px;}}
/* form */
.tp-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;max-width:760px;margin:20px 0 40px;}
.tp-form label{display:block;font-weight:600;font-size:14px;}
.tp-form label span{display:block;margin-bottom:5px;}
.tp-form input,.tp-form textarea{width:100%;border:1px solid #c5c7c9;border-radius:3px;padding:11px 12px;font:inherit;background:#fff;}
.tp-form input:focus,.tp-form textarea:focus{outline:2px solid var(--tp-red);border-color:var(--tp-red);}
.tp-form .tp-full,.tp-form button{grid-column:1/-1;}
.tp-form button{justify-self:start;cursor:pointer;}
.tp-hp{position:absolute;left:-9999px;}
.tp-form-msg{padding:14px 18px;border-radius:3px;margin:16px 0;max-width:760px;font-weight:600;}
.tp-ok{background:#e7f6ec;border-left:4px solid #2e9e57;}.tp-err{background:#fdeaea;border-left:4px solid var(--tp-red);}
@media(max-width:600px){.tp-form{grid-template-columns:1fr;}}
.tp-form .tp-check{display:flex;gap:8px;align-items:center}.tp-form .tp-check input{width:auto}
.tp-form button.tp-btn{background:#ef424c!important;border:2px solid #ef424c!important;color:#fff!important}.tp-form button.tp-btn:hover{background:#d5303a!important}
.tp-tds{margin-top:18px}
