/*
Theme Name:   The Pet House (Blocksy Child)
Theme URI:    https://thepethouse.pl
Description:  Motyw potomny Blocksy dla ThePetHouse.pl — split-screen, karty produktów premium, imię pupila, „Kup teraz”, przełącznik kolorów serii, pasek zakupu na telefonie.
Author:       Skalny Brzeg PR/IT
Template:     blocksy
Version:      1.0.0
Text Domain:  thepethouse
*/

:root{
  --tph-bg:#F6F4F0; --tph-surface:#FFFFFF; --tph-photo:#FFFFFF; --tph-ink:#1D1E1F; --tph-ink-2:#55544F; --tph-muted:#8A877F;
  --tph-line:#E3DFD7; --tph-line-2:#CFCAC0; --tph-leather:#9A6641; --tph-leather-soft:#F1E7DD;
  --tph-inpost:#FFCD00; --tph-ok:#2F6B45; --tph-warn-bg:#FBF3E4; --tph-warn-ink:#7A4E12; --tph-sale:#8E2B22;
  --tph-serif:"Newsreader",Georgia,"Times New Roman",serif; --tph-sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tph-r:6px;
}
body{background:var(--tph-bg);color:var(--tph-ink);font-family:var(--tph-sans);-webkit-font-smoothing:antialiased}
h1,h2,h3,.site-title,.product_title,.woocommerce-loop-product__title,.page-title{font-family:var(--tph-serif);font-weight:400;letter-spacing:-.01em;text-wrap:balance}
.tph-eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--tph-muted);font-weight:500}

/* buttons */
.button,.ct-button,button.single_add_to_cart_button,.wc-block-components-button,.tph-btn{border-radius:var(--tph-r)!important;letter-spacing:.08em;text-transform:uppercase;font-weight:500;font-size:14px}
.tph-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--tph-ink);background:var(--tph-ink);color:var(--tph-bg);text-decoration:none;transition:opacity .15s}
.tph-btn:hover{opacity:.88;color:var(--tph-bg)}
.tph-btn.ghost{background:transparent;color:var(--tph-ink)}
.tph-btn.light{background:#fff;color:#1D1E1F;border-color:#fff}

/* ---------- split screen ---------- */
.tph-split{display:grid;grid-template-columns:1fr 1fr;min-height:min(78vh,720px);margin-inline:calc(50% - 50vw);width:100vw}
.tph-gate{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(24px,4.5vw,64px);text-decoration:none;color:#fff!important;isolation:isolate}
.tph-gate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.tph-gate::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(20,20,18,.55) 0%,rgba(20,20,18,.08) 45%,rgba(20,20,18,.55) 100%)}
.tph-gate:hover img{transform:scale(1.035)}
.tph-gate h2{font-size:clamp(44px,6.4vw,92px);line-height:.95;color:#fff;margin:0}
.tph-gate .sub{font-size:17px;margin-top:14px;max-width:30ch;opacity:.95}
.tph-gate .zone{font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:14px;opacity:.9}
.tph-gate .foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tph-gate .meta{font-size:13px;opacity:.9}
@media (max-width:760px){.tph-split{grid-template-columns:1fr}.tph-gate{min-height:62vh}}

/* ---------- usp ---------- */
.tph-usp{display:grid;grid-template-columns:repeat(4,1fr);background:var(--tph-surface);border-block:1px solid var(--tph-line);margin-inline:calc(50% - 50vw);width:100vw;padding-inline:max(16px,calc(50vw - 640px))}
.tph-usp div{padding:22px 20px;display:grid;gap:2px;border-right:1px solid var(--tph-line)}
.tph-usp div:first-child{padding-left:0}.tph-usp div:last-child{border-right:0}
.tph-usp b{font-weight:600;font-size:14px}.tph-usp span{font-size:13px;color:var(--tph-ink-2)}
@media (max-width:900px){.tph-usp{grid-template-columns:1fr 1fr}.tph-usp div{border-right:0;padding-left:0;border-bottom:1px solid var(--tph-line)}}

/* ---------- section head ---------- */
.tph-sechead{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin:clamp(56px,8vw,112px) 0 36px}
.tph-sechead h2{font-size:clamp(32px,4vw,52px);line-height:1.02;margin:6px 0 0}
.tph-sechead p{max-width:52ch;color:var(--tph-ink-2);margin:0}

/* ---------- problem → solution ---------- */
.tph-ps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--tph-ink)}
.tph-ps article{padding:28px 28px 8px 0;border-right:1px solid var(--tph-line);display:grid;gap:10px;align-content:start}
.tph-ps article+article{padding-left:28px}.tph-ps article:last-child{border-right:0}
.tph-ps .prob{font-family:var(--tph-serif);font-size:24px;line-height:1.15}
.tph-ps .arrow{color:var(--tph-leather);font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.tph-ps p{margin:0;color:var(--tph-ink-2)}
.tph-ps img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--tph-r);margin-top:12px}
@media (max-width:860px){.tph-ps{grid-template-columns:1fr}.tph-ps article,.tph-ps article+article{padding:24px 0;border-right:0;border-bottom:1px solid var(--tph-line)}}

/* ---------- story ---------- */
.tph-story{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,72px);align-items:center;margin-block:clamp(56px,8vw,112px)}
.tph-story img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px}
.tph-story .t{display:grid;gap:18px;max-width:52ch}
.tph-story h2{font-size:clamp(32px,4vw,52px);line-height:1.02;margin:0}
.tph-story p{margin:0;color:var(--tph-ink-2)}
.tph-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--tph-line)}
.tph-facts div{padding:16px 12px 0 0}
.tph-facts b{display:block;font-family:var(--tph-serif);font-weight:400;font-size:30px;line-height:1.1}
.tph-facts span{font-size:13px;color:var(--tph-muted)}
@media (max-width:760px){.tph-story{grid-template-columns:1fr}}

/* ---------- product cards (shop loop) ---------- */
.woocommerce ul.products li.product,[data-products] .product{background:var(--tph-surface);border:1px solid var(--tph-line);border-radius:10px;overflow:hidden;transition:border-color .15s}
.woocommerce ul.products li.product:hover,[data-products] .product:hover{border-color:var(--tph-line-2)}
.woocommerce ul.products li.product img,[data-products] .product figure img{aspect-ratio:1/1;object-fit:contain;background:var(--tph-photo)}
.woocommerce ul.products li.product .woocommerce-loop-product__title,[data-products] .product .woocommerce-loop-product__title{font-size:19px;line-height:1.2}
.tph-loop-series{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--tph-muted);margin:12px 0 2px}
.tph-loop-color{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--tph-ink-2);margin:2px 0 4px}
.tph-dot{width:16px;height:16px;border-radius:50%;background-size:cover;background-position:center;border:1px solid var(--tph-line-2);flex:none;display:inline-block}
.woocommerce ul.products li.product.outofstock img,[data-products] .product.outofstock img{opacity:.45;filter:grayscale(.6)}
.woocommerce ul.products li.product .price,[data-products] .product .price{font-family:var(--tph-serif);font-size:19px;color:var(--tph-ink)}
.onsale{background:var(--tph-sale)!important;border-radius:3px!important}

/* ---------- single product ---------- */
.single-product .product_title{font-size:clamp(32px,3.6vw,46px);line-height:1.05}
.single-product .summary .price{font-family:var(--tph-serif);font-size:30px;color:var(--tph-ink)}
.tph-short ul,.woocommerce-product-details__short-description ul{list-style:none;margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--tph-line);display:grid;gap:10px}
.woocommerce-product-details__short-description li{display:grid;grid-template-columns:18px 1fr;gap:10px;font-size:14.5px;color:var(--tph-ink-2);line-height:1.5}
.woocommerce-product-details__short-description li::before{content:"";width:18px;height:18px;border-radius:50%;background:var(--tph-leather-soft);box-shadow:inset 0 0 0 5px var(--tph-leather-soft),inset 0 0 0 9px var(--tph-leather);margin-top:2px}
.woocommerce-product-details__short-description li strong{color:var(--tph-ink)}
.tph-series{display:grid;gap:14px;margin:22px 0}
.tph-series .lbl{font-size:13px;color:var(--tph-ink-2)}.tph-series .lbl b{color:var(--tph-ink);font-weight:500}
.tph-seg{display:flex;flex-wrap:wrap;gap:8px}
.tph-seg a{display:inline-flex;align-items:center;height:42px;padding:0 14px;border:1px solid var(--tph-line-2);background:var(--tph-surface);border-radius:var(--tph-r);font-size:14px;text-decoration:none;color:var(--tph-ink)}
.tph-seg a[aria-current="true"]{border-color:var(--tph-ink);background:var(--tph-ink);color:var(--tph-bg)}
.tph-sw{display:flex;flex-wrap:wrap;gap:8px}
.tph-sw a{width:38px;height:38px;border-radius:50%;border:1px solid var(--tph-line-2);background-size:cover;background-position:center;position:relative;display:block}
.tph-sw a[aria-current="true"]{box-shadow:0 0 0 2px var(--tph-bg),0 0 0 3.5px var(--tph-ink)}
.tph-sw a.off{opacity:.4}
.tph-sw a.off::after{content:"";position:absolute;inset:0;border-radius:50%;background:linear-gradient(to top right,transparent calc(50% - 1px),var(--tph-ink) 50%,transparent calc(50% + 1px))}
.tph-ltd{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--tph-leather);font-weight:600}
.tph-name{display:grid;gap:6px;margin:0 0 18px;width:100%}
.tph-name label{font-size:13px;color:var(--tph-ink-2)}.tph-name label b{color:var(--tph-ink);font-weight:500}
.tph-name input{width:100%;height:46px;border:1px solid var(--tph-line-2);background:var(--tph-surface);border-radius:var(--tph-r);padding:0 14px;font-size:15px;text-transform:uppercase;letter-spacing:.06em}
.tph-note{font-size:13px;color:var(--tph-warn-ink);background:var(--tph-warn-bg);padding:10px 12px;border-radius:var(--tph-r)}
form.cart{flex-wrap:wrap}
.tph-buy-now{flex-basis:100%;margin-top:10px!important;min-height:52px;background:var(--tph-ink)!important;color:var(--tph-bg)!important}
.tph-assure{display:grid;gap:8px;border-top:1px solid var(--tph-line);padding-top:18px;margin-top:18px;font-size:14px;color:var(--tph-ink-2)}
.tph-assure div{display:flex;gap:10px;align-items:baseline}
.tph-assure div::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tph-leather);transform:translateY(-2px)}
.woocommerce-Tabs-panel h3,.woocommerce-tabs h3{font-family:var(--tph-sans);font-size:17px;font-weight:600;margin:24px 0 6px}
.tph-spec{width:100%;border-collapse:collapse;font-size:14px}
.tph-spec th,.tph-spec td{padding:11px 0;border-bottom:1px solid var(--tph-line);text-align:left;vertical-align:top}
.tph-spec th{color:var(--tph-muted);font-weight:400;padding-right:24px;width:40%}

/* ---------- mobile buy bar ---------- */
.tph-mbar{display:none}
@media (max-width:760px){
  .tph-mbar{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:99;background:var(--tph-surface);border-top:1px solid var(--tph-line);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));transform:translateY(110%);transition:transform .25s}
  .tph-mbar.on{transform:none}
  .tph-mbar .p{font-family:var(--tph-serif);font-size:22px;line-height:1}
  .tph-mbar .p small{display:block;font-family:var(--tph-sans);font-size:11px;color:var(--tph-muted);margin-top:3px}
  .tph-mbar .tph-btn{min-height:52px}
  body.single-product{padding-bottom:84px}
  .tph-sw a{width:44px;height:44px}
}

/* ---------- checkout ---------- */
.tph-consent{background:var(--tph-warn-bg);color:var(--tph-warn-ink);padding:14px!important;border-radius:var(--tph-r)}
#billing_company_field,#billing_nip_field{transition:opacity .2s}
.tph-hidden{display:none!important}

/* ---------- contact / 404 / docs ---------- */
.tph-contact{display:grid;gap:12px;max-width:640px}
.tph-contact .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:520px){.tph-contact .grid2{grid-template-columns:1fr}}
.tph-contact label{display:grid;gap:5px;font-size:13px;color:var(--tph-ink-2)}
.tph-contact input[type=text],.tph-contact input[type=email],.tph-contact textarea{width:100%;border:1px solid var(--tph-line-2);border-radius:var(--tph-r);background:var(--tph-surface);padding:12px 14px;font:inherit}
.tph-contact .chk{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}
.tph-contact .hp{position:absolute;left:-9999px}
.tph-msg{padding:12px 14px;border-radius:var(--tph-r);background:var(--tph-leather-soft)}
.tph-nf{padding-block:80px 120px;text-align:center;display:grid;gap:18px;justify-items:center}
.tph-nf .big{font-family:var(--tph-serif);font-size:clamp(90px,16vw,180px);line-height:.9;color:var(--tph-line-2)}
.tph-nf h1{font-size:clamp(30px,4vw,46px);margin:0}
.tph-nf p{color:var(--tph-ink-2);max-width:46ch;margin:0}
.tph-nf .acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.tph-steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:14px}
.tph-steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;gap:12px}
.tph-steps li::before{content:counter(s);width:34px;height:34px;border-radius:50%;border:1px solid var(--tph-ink);display:grid;place-items:center;font-family:var(--tph-serif);font-size:17px}
@media (prefers-reduced-motion:reduce){.tph-gate img,.tph-mbar{transition:none}}

/* =================== LAYOUT (nagłówek, stopka, szuflada) =================== */
.tph-wrap{max-width:1280px;margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
.tph-topbar{background:var(--tph-ink);color:var(--tph-bg);font-size:12.5px;text-align:center;padding:7px 16px;letter-spacing:.02em}
.tph-header{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--tph-bg) 94%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--tph-line);transition:box-shadow .2s}
.admin-bar .tph-header{top:32px}
@media (max-width:782px){.admin-bar .tph-header{top:0}}
.tph-header.scrolled{box-shadow:0 4px 18px rgba(0,0,0,.05)}
.tph-hdr{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;max-width:1280px;margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
.tph-nav{display:flex;gap:28px;align-items:center;font-size:15px}
.tph-nav.right{justify-content:flex-end}
.tph-nav a,.tph-cartbtn{color:var(--tph-ink);text-decoration:none;padding:6px 0;border-bottom:1px solid transparent;background:none;border-top:0;border-left:0;border-right:0;font:inherit;cursor:pointer}
.tph-nav a:hover,.tph-cartbtn:hover{border-bottom-color:var(--tph-ink);color:var(--tph-ink)}
.tph-logo{font-family:var(--tph-serif);font-size:30px;color:var(--tph-ink)!important;text-decoration:none;letter-spacing:-.01em;white-space:nowrap}
.tph-burger{display:none;background:none;border:0;width:44px;height:44px;padding:10px;cursor:pointer}
.tph-burger span:not(.screen-reader-text){display:block;height:1.5px;background:var(--tph-ink);margin:6px 0;transition:transform .2s}
.tph-menu-on .tph-burger span:nth-child(1){transform:translateY(3.75px) rotate(45deg)}
.tph-menu-on .tph-burger span:nth-child(2){transform:translateY(-3.75px) rotate(-45deg)}
.tph-mnav{display:grid;padding:8px 16px 18px;border-top:1px solid var(--tph-line);background:var(--tph-bg)}
.tph-mnav[hidden]{display:none}
.tph-mnav a{padding:14px 0;font-size:18px;color:var(--tph-ink);text-decoration:none;border-bottom:1px solid var(--tph-line)}
@media (max-width:900px){
  .tph-hdr{grid-template-columns:auto 1fr auto;height:60px}
  .tph-burger{display:block;margin-left:-10px}
  .tph-nav.left,.tph-nav.right a{display:none}
  .tph-logo{font-size:24px;text-align:center}
}
.tph-footer{background:var(--tph-ink);color:var(--tph-bg);padding-block:56px 28px;margin-top:80px}
.tph-footer a,.tph-footer span{display:block;color:var(--tph-bg);opacity:.82;text-decoration:none;padding:3px 0;font-size:14px}
.tph-footer a:hover{opacity:1;color:var(--tph-bg)}
.tph-fcols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.tph-fcols h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px;font-weight:600;opacity:.6;color:var(--tph-bg);font-family:var(--tph-sans)}
.tph-fbrand{font-family:var(--tph-serif);font-size:30px;margin-bottom:10px}
.tph-footer p{font-size:14px;opacity:.7;max-width:36ch}
.tph-flegal{border-top:1px solid rgba(255,255,255,.14);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tph-flegal span{font-size:12.5px;opacity:.6;padding:0}
@media (max-width:760px){.tph-fcols{grid-template-columns:1fr 1fr}}
.tph-scrim{position:fixed;inset:0;background:rgba(15,15,14,.42);z-index:998;opacity:0;pointer-events:none;transition:opacity .25s}
.tph-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:var(--tph-surface);z-index:999;transform:translateX(100%);transition:transform .32s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column}
.tph-drawer-on .tph-scrim{opacity:1;pointer-events:auto}
.tph-drawer-on .tph-drawer{transform:none}
.tph-dh{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--tph-line)}
.tph-dh b{font-family:var(--tph-serif);font-weight:400;font-size:24px}
.tph-x{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;color:var(--tph-ink)}
.tph-dbody{flex:1;overflow:auto;padding:8px 22px 22px}
.tph-dbody .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.tph-dbody .woocommerce-mini-cart-item{position:relative;display:block;padding:16px 28px 16px 90px;min-height:108px;border-bottom:1px solid var(--tph-line);font-size:14px}
.tph-dbody .woocommerce-mini-cart-item img{position:absolute;left:0;top:16px;width:76px!important;height:76px;object-fit:contain;background:var(--tph-photo);border:1px solid var(--tph-line);border-radius:6px;margin:0!important}
.tph-dbody .woocommerce-mini-cart-item a:not(.remove){color:var(--tph-ink);text-decoration:none;font-weight:500}
.tph-dbody .woocommerce-mini-cart-item .remove{position:absolute;right:0;top:14px;color:var(--tph-muted)!important;font-size:20px;text-decoration:none}
.tph-dbody dl.variation{margin:4px 0;font-size:12.5px;color:var(--tph-leather)}
.tph-dbody dl.variation dt,.tph-dbody dl.variation dd{display:inline;margin:0}
.tph-dbody dl.variation dd p{display:inline;margin:0}
.tph-dbody .quantity{display:block;color:var(--tph-ink-2);font-size:13px}
.tph-dbody .woocommerce-mini-cart__total{display:flex;justify-content:space-between;font-size:17px;font-weight:600;padding:18px 0 12px;margin:0}
.tph-dbody .woocommerce-mini-cart__buttons{display:grid;gap:10px;margin:0}
.tph-dbody .woocommerce-mini-cart__buttons a{display:flex;justify-content:center;align-items:center;min-height:48px;border-radius:var(--tph-r);text-decoration:none;letter-spacing:.08em;text-transform:uppercase;font-size:13.5px;font-weight:500;border:1px solid var(--tph-ink);color:var(--tph-ink);background:transparent;margin:0}
.tph-dbody .woocommerce-mini-cart__buttons a.checkout{background:var(--tph-ink);color:var(--tph-bg)}
.tph-dbody .woocommerce-mini-cart__empty-message{padding:40px 0;text-align:center;color:var(--tph-muted)}
.tph-cookie{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1000;max-width:560px;margin-inline:auto;background:var(--tph-surface);border:1px solid var(--tph-line-2);border-radius:10px;padding:18px 20px;box-shadow:0 10px 40px rgba(0,0,0,.14);display:grid;gap:10px;font-size:13.5px;color:var(--tph-ink-2)}
.tph-cookie[hidden]{display:none}
.tph-cookie b{font-family:var(--tph-serif);font-weight:400;font-size:20px;color:var(--tph-ink)}
.tph-cookie p{margin:0}
.tph-ckopts{display:grid;gap:6px;border-top:1px solid var(--tph-line);padding-top:10px}
.tph-ckopts[hidden]{display:none}
.tph-ckacts{display:flex;flex-wrap:wrap;gap:8px}
.tph-ckacts .tph-btn{min-height:42px;font-size:12.5px;padding:0 16px}
.tph-alert{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);background:var(--tph-ink);color:var(--tph-bg);padding:12px 18px;border-radius:6px;font-size:14px;opacity:0;transition:.25s;z-index:1001;pointer-events:none;max-width:90vw}
.tph-alert.on{opacity:1;transform:translate(-50%,0)}
.single_add_to_cart_button.loading{opacity:.6;pointer-events:none}

/* ukryj elementy Blocksy, których nie używamy */
#header, .ct-header, footer.ct-footer, #footer{display:none!important}

/* =================== HERO v2 (wg makiety) =================== */
.tph-split{min-height:min(88vh,860px)}
.tph-gate{justify-content:space-between}
.tph-gate.light{color:var(--tph-ink)!important}
.tph-gate.light::after{background:linear-gradient(180deg,rgba(246,244,240,.55) 0%,rgba(246,244,240,0) 42%)}
.tph-gate.light h2{color:var(--tph-ink)}
.tph-gate h2{font-size:clamp(46px,6vw,96px);line-height:.95;margin:0}
.tph-gate .sub{font-family:var(--tph-serif);font-style:italic;font-size:clamp(18px,1.8vw,24px);margin:18px 0 28px}
.tph-gate .tph-btn.light{align-self:flex-start;background:rgba(255,255,255,.92);color:var(--tph-ink);border:1px solid rgba(0,0,0,.18);min-height:54px;padding:0 30px;font-size:15px;width:auto;max-width:max-content}
.tph-gate .tph-btn.light:hover{background:#fff;color:var(--tph-ink)}
.tph-gate>div:first-of-type{display:flex;flex-direction:column;align-items:flex-start}
.tph-gate .foot .meta{font-size:13px}
.tph-gate.light .foot .meta{color:var(--tph-ink-2)}
@media (max-width:760px){.tph-gate{min-height:92vh;padding:32px 22px}.tph-gate h2{font-size:clamp(46px,13vw,72px)}}

/* =================== SKLEP (archiwum) =================== */
.woocommerce-products-header,.tph-archive-head{text-align:center;padding-block:clamp(36px,6vw,72px) 12px}
.woocommerce-products-header__title.page-title,.tph-archive-head h1{font-size:clamp(44px,7vw,92px);line-height:.95;margin:0}
.term-description{max-width:60ch;margin:16px auto 0;color:var(--tph-ink-2);font-size:16px}
.tph-paczkomat .description{font-size:13px}

/* ===== v1.2 poprawki po wdrożeniu ===== */
body{--theme-headings-color:var(--tph-ink);--theme-heading-1-color:var(--tph-ink);--theme-heading-2-color:var(--tph-ink);--theme-heading-3-color:var(--tph-ink);--theme-heading-4-color:var(--tph-ink);--theme-heading-5-color:var(--tph-ink);--theme-heading-6-color:var(--tph-ink)}
html,body{overflow-x:clip}
.entry-content>.tph-split,.entry-content>.tph-usp{max-width:none!important;width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.home .entry-content>*:first-child{margin-top:0}
.home #main-container .site-main>.ct-container-full,.home .ct-container-full{padding-top:0}
.product_title,.woocommerce-loop-product__title,.entry-content h1,.entry-content h2,.entry-content h3,.tph-sechead h2,.tph-story h2{color:var(--tph-ink)}
.tph-gate h2{color:#fff}.tph-gate.light h2{color:var(--tph-ink)}
.woocommerce-product-details__short-description li{display:block;position:relative;padding-left:30px}
.woocommerce-product-details__short-description li::before{position:absolute;left:0;top:2px;margin-top:0}
.tph-legal-form{border:1px solid var(--tph-line);background:var(--tph-surface);padding:clamp(18px,3vw,32px);border-radius:6px}
.tph-legal-form p{margin:0 0 12px}
.ct-breadcrumbs,.woocommerce-breadcrumb{color:var(--tph-ink-2)!important;font-size:12px}
.ct-breadcrumbs a,.woocommerce-breadcrumb a{color:var(--tph-muted)!important}
.ct-breadcrumbs a:hover,.woocommerce-breadcrumb a:hover{color:var(--tph-ink)!important}
body{--theme-button-background-initial-color:var(--tph-ink);--theme-button-background-hover-color:#000;--theme-button-text-initial-color:#fff;--theme-button-text-hover-color:#fff}
.single_add_to_cart_button,.woocommerce .button.alt,.checkout-button,#place_order{background:var(--tph-ink)!important;color:#fff!important;border:1px solid var(--tph-ink)!important;min-height:52px}
.single_add_to_cart_button:hover,.checkout-button:hover,#place_order:hover{background:#000!important}
.tph-buy-now{background:transparent!important;color:var(--tph-ink)!important;border:1px solid var(--tph-ink)!important}
.tph-buy-now:hover{background:var(--tph-ink)!important;color:#fff!important}
.woocommerce .button.alt.tph-buy-now,button.button.alt.tph-buy-now{background:transparent!important;color:var(--tph-ink)!important;border:1px solid var(--tph-ink)!important}
.woocommerce .button.alt.tph-buy-now:hover,button.button.alt.tph-buy-now:hover{background:var(--tph-ink)!important;color:#fff!important}
.admin-bar .tph-drawer{top:32px}@media (max-width:782px){.admin-bar .tph-drawer{top:46px}}
.tph-drawer .ct-media-container{flex:0 0 72px;width:72px}.tph-drawer .ct-media-container img{width:72px;height:72px;object-fit:cover}
.tph-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin:0 0 22px;position:relative;z-index:5;flex-basis:100%}
.tph-f{position:relative}
.tph-f summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:1px solid var(--tph-line);border-radius:999px;background:var(--tph-surface);font-size:13px;letter-spacing:.04em;user-select:none}
.tph-f summary::-webkit-details-marker{display:none}
.tph-f summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:4px}
.tph-f[open] summary,.tph-f[data-on] summary{border-color:var(--tph-ink)}
.tph-f summary b{background:var(--tph-ink);color:#fff;border-radius:999px;font-size:11px;min-width:18px;height:18px;display:inline-grid;place-items:center;font-weight:500}
.tph-f-list{position:absolute;top:calc(100% + 6px);left:0;min-width:220px;max-height:320px;overflow:auto;background:var(--tph-surface);border:1px solid var(--tph-line);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.08);padding:8px;display:grid;gap:2px}
.tph-f-list a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:6px;font-size:14px;color:var(--tph-ink);text-decoration:none}
.tph-f-list a::before{content:"";width:16px;height:16px;border:1px solid var(--tph-muted);border-radius:4px;flex:none}
.tph-f-list a.on::before{background:var(--tph-ink);border-color:var(--tph-ink);box-shadow:inset 0 0 0 3px var(--tph-surface)}
.tph-f-list a:hover{background:var(--tph-bg)}
.tph-f-active{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;margin-top:4px}
.tph-f-active a{font-size:12px;padding:6px 12px;border-radius:999px;background:var(--tph-ink);color:#fff;text-decoration:none}
.tph-f-active a.clear{background:transparent;color:var(--tph-ink-2);text-decoration:underline}
@media (max-width:600px){.tph-f-list{position:fixed;left:12px;right:12px;top:auto;bottom:12px;max-height:60vh;min-width:0;z-index:1000}}

/* =================== v1.3 — dopracowanie wyglądu =================== */
:root{--tph-r:8px;--tph-shadow:0 1px 2px rgba(29,30,31,.04),0 8px 24px rgba(29,30,31,.06)}
body{font-size:16px;line-height:1.6}
a{text-underline-offset:3px}
::selection{background:var(--tph-leather-soft);color:var(--tph-ink)}

/* ---- pola formularzy (kasa, kontakt, konto) ---- */
.woocommerce form .input-text,.woocommerce form select,.woocommerce-page form .input-text,.tph-contact input[type=text],.tph-contact input[type=email],.tph-contact textarea,.select2-container--default .select2-selection--single,input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],input[type=number],textarea,select{border:1px solid var(--tph-line-2)!important;border-radius:var(--tph-r)!important;background:var(--tph-surface)!important;color:var(--tph-ink);font-size:15px;box-shadow:none!important;transition:border-color .15s}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select,.select2-container--default .select2-selection--single{min-height:48px}
input:focus,textarea:focus,select:focus{border-color:var(--tph-ink)!important;outline:0}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.woocommerce form .form-row label,.woocommerce-page form .form-row label{font-size:13px;color:var(--tph-ink-2);margin-bottom:4px}
input[type=checkbox],input[type=radio]{accent-color:var(--tph-ink);width:18px;height:18px}

/* ---- tytuły stron Blocksy ---- */
.hero-section{background:transparent!important}
.hero-section .page-title,.entry-header .page-title{font-size:clamp(40px,6vw,76px);line-height:1;text-align:center}
.tph-doc .hero-section[data-type="type-1"]{margin-block:clamp(40px,6vw,80px) clamp(16px,3vw,36px)!important}
.tph-doc .entry-content{font-size:16.5px}
.tph-doc .entry-content{max-width:760px;margin-inline:auto}
.tph-doc .entry-content h2{font-size:clamp(26px,3vw,34px);line-height:1.15;margin:2.2em 0 .5em}
.tph-doc .entry-content h3{font-size:22px;line-height:1.2;margin:1.8em 0 .4em}
.tph-doc .entry-content p,.tph-doc .entry-content li{color:var(--tph-ink-2)}
.tph-doc .entry-content strong,.tph-doc .entry-content b{color:var(--tph-ink)}
.entry-content ul.wp-block-list{padding-left:1.1em}
.entry-content ul.wp-block-list li{margin-bottom:.5em}
.tph-doc .entry-content a:not(.tph-btn):not(.button){color:var(--tph-ink);text-decoration:underline;text-decoration-color:var(--tph-line-2)}

/* ---- pasek zalet ---- */
.tph-usp{padding-block:4px}
.tph-usp div{padding:24px 24px;text-align:center;justify-items:center}
.tph-usp div:first-child{padding-left:24px}
.tph-usp b{font-family:var(--tph-serif);font-weight:400;font-size:19px;letter-spacing:-.005em}
@media (max-width:900px){.tph-usp div{padding:18px 12px;border-right:1px solid var(--tph-line)}.tph-usp div:nth-child(2n){border-right:0}.tph-usp div:first-child{padding-left:12px}}

/* ---- sekcje strony głównej ---- */
.tph-sechead{align-items:flex-end}
.tph-sechead .tph-btn.ghost{min-height:46px}
.tph-ps article{padding-top:32px}
.tph-ps .prob{font-size:28px}
.tph-ps img{aspect-ratio:1/1;border-radius:var(--tph-r);background:#fff}
.tph-story{background:var(--tph-surface);border:1px solid var(--tph-line);border-radius:14px;padding:clamp(18px,3vw,40px);gap:clamp(24px,4vw,64px)}
.tph-story img{aspect-ratio:1/1;border-radius:10px}

/* ---- karty produktów ---- */
[data-products]{--grid-columns-gap:20px;gap:clamp(14px,2vw,24px)!important}
[data-products] .product,.woocommerce ul.products li.product{display:flex;flex-direction:column;padding:0!important;border-radius:12px;transition:border-color .2s,box-shadow .2s,transform .2s}
[data-products] .product:hover,.woocommerce ul.products li.product:hover{border-color:var(--tph-line-2);box-shadow:var(--tph-shadow);transform:translateY(-2px)}
[data-products] .product figure,[data-products] .product .ct-media-container{margin:0!important;background:#fff;border-bottom:1px solid var(--tph-line)}
[data-products] .product figure img{padding:6%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
[data-products] .product:hover figure img{transform:scale(1.03)}
[data-products] .product>*:not(figure):not(.ct-media-container):not(.onsale):not(.out-of-stock-badge){padding-inline:18px}
[data-products] .product .tph-loop-series{margin-top:16px}
[data-products] .product .woocommerce-loop-product__title{font-size:18px!important;line-height:1.25;margin:2px 0 6px!important;min-height:2.5em}
[data-products] .product .woocommerce-loop-product__title a{color:var(--tph-ink)}
[data-products] .product .price{margin:auto 0 0!important;padding-bottom:18px;font-size:20px!important}
[data-products] .product .entry-meta,[data-products] .product .ct-woo-card-extra,[data-products] .product ul.entry-meta{display:none!important}
[data-products] .product .ct-woo-card-actions{padding-bottom:18px;margin-top:0!important}
[data-products] .product .ct-woo-card-actions .button{min-height:42px;font-size:12px;width:100%}
.out-of-stock-badge,[data-products] .product .ct-woo-badge{left:12px!important;top:12px!important;background:var(--tph-ink)!important;color:#fff!important;font-size:10.5px!important;letter-spacing:.12em;text-transform:uppercase;border-radius:999px!important;padding:5px 10px!important}
@media (max-width:689px){
 [data-products]{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
 [data-products] .product>*:not(figure):not(.ct-media-container):not(.onsale):not(.out-of-stock-badge){padding-inline:12px}
 [data-products] .product .woocommerce-loop-product__title{font-size:15px!important}
 [data-products] .product .tph-loop-series{font-size:9.5px;margin-top:12px}
 [data-products] .product .tph-loop-color{font-size:12px}
 [data-products] .product .price{font-size:16px!important;padding-bottom:14px}
}

/* ---- nagłówek archiwum + pasek narzędzi ---- */
.woocommerce-archive-header,.hero-section[data-type="type-2"]{background:transparent!important}
.woo-listing-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:26px!important}
.woo-listing-top .tph-filters{flex:1 1 auto;margin:0}
.woocommerce-result-count{font-size:13px;color:var(--tph-muted);margin:0!important}
.woocommerce-ordering select{min-height:40px!important;border-radius:999px!important;font-size:13px;padding-inline:16px 34px}

/* ---- karta produktu ---- */
.single-product div.product{--product-gallery-width:52%}
.woocommerce-product-gallery{background:#fff;border:1px solid var(--tph-line);border-radius:14px;overflow:hidden}
.woocommerce-product-gallery .flex-control-thumbs,.woocommerce-product-gallery .ct-thumbnails{padding:10px!important;gap:8px!important;background:var(--tph-bg)}
.woocommerce-product-gallery .flex-control-thumbs img,.ct-thumbnails img{border-radius:6px;border:1px solid var(--tph-line)}
@media (min-width:1000px){.single-product .summary{position:sticky;top:110px;align-self:flex-start}}
.single-product .summary .price{margin:6px 0 18px}
.single-product .summary .woocommerce-product-details__short-description>p{font-size:16px;color:var(--tph-ink-2)}
.variations{margin-bottom:8px!important}
.variations th.label,.variations td.label{font-size:13px;color:var(--tph-ink-2);font-weight:400}
.reset_variations{font-size:12px;color:var(--tph-muted)}
.woocommerce-variation-price .price{font-size:26px!important}
form.cart .quantity input.qty{min-height:52px;border-radius:var(--tph-r)}
.product_meta{font-size:12.5px;color:var(--tph-muted);border-top:1px solid var(--tph-line);padding-top:16px;margin-top:20px}
.product_meta>span{display:block;margin-bottom:4px}
.product_meta a{color:var(--tph-ink-2)}
.woocommerce-tabs{margin-top:clamp(40px,6vw,80px)!important}
.woocommerce-tabs ul.tabs{border-bottom:1px solid var(--tph-line)!important;justify-content:center;gap:28px}
.woocommerce-tabs ul.tabs li{border:0!important;background:none!important}
.woocommerce-tabs ul.tabs li a{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--tph-muted)!important;padding:14px 0!important}
.woocommerce-tabs ul.tabs li.active a{color:var(--tph-ink)!important;box-shadow:inset 0 -2px 0 var(--tph-ink)}
.woocommerce-tabs .woocommerce-Tabs-panel{max-width:820px;margin-inline:auto;padding-top:24px}
.woocommerce-Tabs-panel p{color:var(--tph-ink-2)}
.woocommerce-Tabs-panel>p:first-child em{display:block;font-family:var(--tph-serif);font-size:21px;line-height:1.4;color:var(--tph-ink);font-style:italic;padding:18px 22px;background:var(--tph-surface);border-left:3px solid var(--tph-leather);border-radius:0 var(--tph-r) var(--tph-r) 0}
.woocommerce-product-attributes{border:0!important}
.woocommerce-product-attributes th,.woocommerce-product-attributes td{padding:11px 0!important;border-bottom:1px solid var(--tph-line)!important;background:none!important;font-size:14px;text-align:left}
.woocommerce-product-attributes th{color:var(--tph-muted);font-weight:400;width:40%}
.related.products>h2,.up-sells>h2{font-size:clamp(28px,3.4vw,42px);text-align:center;margin:clamp(48px,7vw,96px) 0 28px}

/* ---- koszyk ---- */
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content{max-width:1180px;margin-inline:auto}
.woocommerce-cart-form .shop_table,.woocommerce-checkout-review-order-table,.cart_totals .shop_table{border:1px solid var(--tph-line)!important;border-radius:12px!important;background:var(--tph-surface);border-collapse:separate!important;overflow:hidden}
.shop_table th,.shop_table td{border-color:var(--tph-line)!important;padding:16px!important}
.shop_table thead th{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--tph-muted);font-weight:500}
.woocommerce-cart-form .product-thumbnail img{width:84px!important;border-radius:8px;border:1px solid var(--tph-line);background:#fff}
.woocommerce-cart-form .product-name a{color:var(--tph-ink);font-family:var(--tph-serif);font-size:18px}
.woocommerce-cart-form dl.variation{font-size:13px;color:var(--tph-leather)}
.cart_totals h2,.woocommerce-checkout h3,#order_review_heading{font-family:var(--tph-serif);font-weight:400;font-size:28px!important;margin:0 0 16px!important}
.cart-collaterals .cart_totals{background:var(--tph-surface);border:1px solid var(--tph-line);border-radius:12px;padding:24px}
.cart-collaterals .cart_totals .shop_table{border:0!important}
.woocommerce-shipping-methods{list-style:none;padding:0;margin:0}
.woocommerce-shipping-methods li{display:flex;align-items:center;gap:8px;margin:4px 0}
.coupon .input-text{min-width:180px}
.woocommerce .button:not(.alt):not(.tph-buy-now):not(.checkout-button){background:transparent!important;color:var(--tph-ink)!important;border:1px solid var(--tph-ink)!important;min-height:46px}
.woocommerce .button:not(.alt):not(.tph-buy-now):not(.checkout-button):hover{background:var(--tph-ink)!important;color:#fff!important}
.woocommerce .button:disabled,.woocommerce .button[disabled]{opacity:.45}

/* ---- kasa ---- */
@media (min-width:1000px){
 form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 48px;align-items:start}
 form.checkout #customer_details{grid-column:1;grid-row:1 / span 3}
 form.checkout #customer_details .col-1,form.checkout #customer_details .col-2{width:100%!important;float:none!important}
 form.checkout #order_review_heading{grid-column:2;grid-row:1}
 form.checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:110px}
}
form.checkout #order_review{background:var(--tph-surface);border:1px solid var(--tph-line);border-radius:12px;padding:22px}
form.checkout #order_review .shop_table{border:0!important;border-radius:0!important}
form.checkout #order_review .shop_table th,form.checkout #order_review .shop_table td{padding:12px 0!important}
.woocommerce-checkout #payment{background:var(--tph-bg)!important;border-radius:10px!important}
.woocommerce-checkout #payment div.payment_box{background:var(--tph-surface)!important;color:var(--tph-ink-2)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--tph-surface)!important}
.woocommerce-checkout #payment ul.payment_methods{border-bottom-color:var(--tph-line)!important}
.woocommerce-terms-and-conditions-wrapper{font-size:13.5px;color:var(--tph-ink-2)}
.woocommerce-terms-and-conditions-wrapper .form-row{margin-bottom:10px}
#place_order{width:100%;font-size:15px;letter-spacing:.1em;min-height:58px!important;margin-top:8px}
.woocommerce-billing-fields>h3,.woocommerce-additional-fields>h3{margin-top:0!important}
.woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-info,.woocommerce-message{background:var(--tph-surface)!important;border:1px solid var(--tph-line)!important;border-left:3px solid var(--tph-leather)!important;color:var(--tph-ink-2)!important;border-radius:var(--tph-r)!important}
.woocommerce-error{border-radius:var(--tph-r)!important}

/* ---- konto ---- */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;border:1px solid var(--tph-line);border-radius:12px;background:var(--tph-surface);overflow:hidden}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;border-bottom:1px solid var(--tph-line);color:var(--tph-ink)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--tph-ink);color:#fff}

/* ---- stopka ---- */
.tph-footer{margin-top:clamp(64px,8vw,120px);padding-block:clamp(48px,6vw,80px) 28px}
.tph-fbrand{font-size:34px}
.tph-fcols h4{margin-bottom:16px}

/* ---- nagłówek ---- */
.tph-nav a{font-size:14px;letter-spacing:.04em}
.tph-cartbtn{font-size:14px;letter-spacing:.04em}
.tph-topbar{font-size:12px;letter-spacing:.06em}

/* =================== konfigurator produktu =================== */
.single-product .summary{counter-reset:tstep}
.tph-pbrand{display:flex;flex-wrap:wrap;gap:0 10px;margin:0 0 12px;color:var(--tph-leather);font-weight:600}
.tph-pbrand span{color:var(--tph-muted);font-weight:500}
.tph-pbrand span::before{content:"·";margin-right:10px;color:var(--tph-line-2)}
.single-product .product_title{margin-bottom:10px!important}
.tph-perks{list-style:none;display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 18px!important;padding:0!important}
.tph-perks li{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--tph-ink-2)}
.tph-perks li::before{content:"";width:14px;height:14px;flex:none;border-radius:50%;background:var(--tph-leather-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9.2 10 5' fill='none' stroke='%239A6641' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.single-product .woocommerce-product-details__short-description{margin-bottom:6px}

.tph-series{display:grid;gap:26px;margin:26px 0 26px!important;padding-top:24px;border-top:1px solid var(--tph-line)}
.tph-step{counter-increment:tstep}
.tph-step-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:0 0 12px}
.tph-step-h span{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--tph-ink)}
.tph-step-h span::before{content:counter(tstep);display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:var(--tph-ink);color:#fff;font-size:10.5px;letter-spacing:0;vertical-align:1px}
.tph-step-h b{font-weight:500;font-size:15px;color:var(--tph-ink-2);transition:color .15s}
.tph-step-h b.hover{color:var(--tph-leather)}
.tph-step-h i{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--tph-muted)}

.tph-mats{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:10px}
.tph-mat{position:relative;display:grid;gap:3px;padding:14px 16px 13px;border:1px solid var(--tph-line-2);border-radius:12px;background:var(--tph-surface);text-decoration:none!important;color:var(--tph-ink)!important;transition:border-color .15s,box-shadow .15s}
.tph-mat:hover{border-color:var(--tph-ink)}
.tph-mat b{font-size:15px;font-weight:600}
.tph-mat small{font-size:12.5px;line-height:1.35;color:var(--tph-ink-2)}
.tph-mat em{font-style:normal;font-size:12px;color:var(--tph-muted);margin-top:6px}
.tph-mat[aria-current="true"]{border-color:var(--tph-ink);box-shadow:inset 0 0 0 1px var(--tph-ink)}
.tph-mat[aria-current="true"]::after{content:"";position:absolute;top:12px;right:12px;width:18px;height:18px;border-radius:50%;background:var(--tph-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9.2 10 5' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}

.tph-sw{gap:10px!important}
.tph-sw a{width:42px!important;height:42px!important;transition:transform .15s,box-shadow .15s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.tph-sw a:hover{transform:scale(1.08)}
.tph-sw a[aria-current="true"]{box-shadow:0 0 0 3px var(--tph-bg),0 0 0 4.5px var(--tph-ink)!important}
.tph-ltd{margin:12px 0 0!important;font-size:12.5px!important;letter-spacing:0!important;text-transform:none!important;font-weight:400!important;color:var(--tph-leather)!important}

.tph-sizes{margin:0 0 22px}
.tph-sizegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tph-size{display:grid;gap:2px;padding:12px 6px 11px;border:1px solid var(--tph-line-2);border-radius:12px;background:var(--tph-surface);color:var(--tph-ink);font:inherit;text-align:center;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.tph-size:hover{border-color:var(--tph-ink)}
.tph-size b{font-family:var(--tph-serif);font-weight:400;font-size:22px;line-height:1.1}
.tph-size small{font-size:11.5px;color:var(--tph-muted)}
.tph-size em{font-style:normal;font-size:13px;color:var(--tph-ink-2);margin-top:2px}
.tph-size[aria-pressed="true"]{border-color:var(--tph-ink);box-shadow:inset 0 0 0 1px var(--tph-ink)}
.tph-size.off{opacity:.4;cursor:not-allowed}
.tph-size.off b{text-decoration:line-through}
.reset_variations{display:none!important}
.single_variation_wrap .woocommerce-variation-price{margin:0 0 14px}
.single_variation_wrap .woocommerce-variation-price .price{font-family:var(--tph-serif);font-size:26px!important;color:var(--tph-ink)}
.woocommerce-variation-availability{font-size:13px}

/* imię + naszywka */
.tph-name{display:block!important;margin:0 0 22px!important;padding-top:22px;border-top:1px solid var(--tph-line)}
.single-product .variations_form .tph-name{border-top:0;padding-top:0}
.tph-free{display:inline-block;background:var(--tph-leather-soft);color:var(--tph-leather)!important;font-size:10.5px!important;font-weight:600!important;letter-spacing:.12em;text-transform:uppercase;padding:3px 9px;border-radius:999px}
.tph-name-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.tph-name-field{position:relative}
.tph-name input#tph_pet_name{height:54px!important;padding:0 64px 0 16px!important;font-size:16px!important;letter-spacing:.12em;text-transform:uppercase;font-weight:500}
.tph-name input#tph_pet_name::placeholder{text-transform:none;letter-spacing:0;font-weight:400;color:var(--tph-muted)}
.tph-count-n{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--tph-muted);font-variant-numeric:tabular-nums}
.tph-help{margin:10px 0 0!important;font-size:12.5px;color:var(--tph-muted);line-height:1.5}
.tph-note{margin-top:12px}
.tph-note[hidden]{display:none!important}

.tph-patch{--len:5;position:relative;display:inline-grid;place-items:center;min-width:118px;height:52px;padding:0 22px;white-space:nowrap;font-family:var(--tph-sans);font-weight:700;font-size:clamp(12px,calc(30px - var(--len)*1.25px),19px);letter-spacing:.16em;text-transform:uppercase;transition:opacity .2s,transform .2s;user-select:none}
.tph-patch span{position:relative;z-index:1;padding-left:.16em}
.tph-patch.is-ph{opacity:.38}
.tph-patch--leather{border-radius:999px;color:rgba(58,30,12,.88);background:radial-gradient(130% 160% at 28% 18%,#cf9a69 0%,#b0774b 42%,#87532f 100%);box-shadow:0 2px 6px rgba(70,35,12,.28),inset 0 1px 1px rgba(255,235,210,.35),inset 0 -2px 4px rgba(60,28,8,.25);text-shadow:0 1px 0 rgba(255,220,185,.45),0 -1px 0 rgba(40,18,4,.35)}
.tph-patch--leather::before{content:"";position:absolute;inset:5px;border-radius:inherit;border:1.5px dashed rgba(255,230,200,.6)}
.tph-patch--canvas{border-radius:4px;color:#1d1e1f;background:#efe7d6;background-image:repeating-linear-gradient(0deg,rgba(60,50,30,.05) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(60,50,30,.05) 0 1px,transparent 1px 3px);box-shadow:inset 0 0 0 4px #efe7d6,inset 0 0 0 5.5px #1d1e1f,0 2px 6px rgba(0,0,0,.18);font-weight:800}

.tph-gal-patch{position:absolute;left:50%;bottom:22px;z-index:5;display:grid;justify-items:center;gap:8px;transform:translate(-50%,10px) scale(.96);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.tph-gal-patch.on{opacity:1;transform:translate(-50%,0) scale(1)}
.tph-gal-patch .tph-patch{height:64px;min-width:150px;padding:0 30px;font-size:clamp(14px,calc(34px - var(--len)*1.3px),24px)}
.tph-gal-patch small{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--tph-ink-2);background:rgba(255,255,255,.9);padding:4px 10px;border-radius:999px}
@media (max-width:420px){.tph-name-row{grid-template-columns:1fr}.tph-name-row .tph-patch{justify-self:start}}

/* przyciski zakupu */
.single-product form.cart:not(.variations_form),.single-product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px}
.single-product form.cart .quantity{margin:0!important}
.single-product form.cart .single_add_to_cart_button{flex:1 1 200px;min-height:56px!important;font-size:14px;letter-spacing:.1em}
.single-product .tph-buy-now{min-height:54px!important;margin-top:0!important}

/* dlaczego to działa + zapewnienia */
.tph-why{margin:24px 0 0;border-top:1px solid var(--tph-line);padding-top:4px}
.tph-why summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.tph-why summary::-webkit-details-marker{display:none}
.tph-why summary::after{content:"+";font-size:20px;font-weight:300;letter-spacing:0}
.tph-why[open] summary::after{content:"–"}
.tph-why ul{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:10px}
.tph-why li{position:relative;padding-left:30px;font-size:14.5px;color:var(--tph-ink-2);line-height:1.5}
.tph-why li::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;border-radius:50%;background:var(--tph-leather-soft);box-shadow:inset 0 0 0 5px var(--tph-leather-soft),inset 0 0 0 9px var(--tph-leather)}
.tph-why li strong{color:var(--tph-ink)}
.tph-assure{gap:14px!important;margin-top:22px!important;padding-top:22px!important}
.tph-assure div{display:grid!important;grid-template-columns:20px 1fr;gap:12px;align-items:start}
.tph-assure div::before{display:none!important}
.tph-assure svg{color:var(--tph-leather);margin-top:1px}
.tph-assure p{margin:0;display:grid;gap:1px}
.tph-assure b{font-size:14px;font-weight:600;color:var(--tph-ink)}
.tph-assure span{font-size:13px;color:var(--tph-ink-2);line-height:1.45}

/* galeria */
.woocommerce-product-gallery .flexy-view{position:relative}
.woocommerce-product-gallery .flexy-item img,.woocommerce-product-gallery .ct-media-container img{aspect-ratio:1/1!important;object-fit:contain!important;background:#fff}

/* ===== v1.3b ===== */
body{--theme-palette-color-1:#1D1E1F;--theme-palette-color-2:#9A6641}
.single-product .hero-section{margin-block:0 22px!important}
.single-product .ct-container-full[data-vertical-spacing]{padding-top:28px!important}
.summary .ct-product-divider{display:none!important}
.ct-product-add-to-cart,.ct-product-add-to-cart form.cart{width:100%}
.ct-cart-actions{width:100%;display:flex!important;flex-wrap:wrap;gap:10px}
.ct-cart-actions .single_add_to_cart_button{flex:1 1 200px}
.ct-cart-actions .tph-buy-now{flex:1 1 100%}
.single_variation_wrap .woocommerce-variation-price{display:none!important}
.tph-spec,.tph-spec th,.tph-spec td{border-left:0!important;border-right:0!important;border-top:0!important;background:none!important}
.tph-spec{border:0!important;margin-top:8px}
.tph-spec th{padding-left:0!important}
.woocommerce-products-header{display:none!important}
.tax-product_cat .hero-section .entry-header,.post-type-archive-product .hero-section .entry-header{padding-bottom:12px!important}
.tax-product_cat .ct-container[data-vertical-spacing],.post-type-archive-product .ct-container[data-vertical-spacing]{padding-top:28px!important}
[data-products] .product:hover .woocommerce-loop-product__title,[data-products] .product:hover .woocommerce-loop-product__title a{color:var(--tph-ink)!important}
[data-products] .product figure img{padding:3%}
.tph-catnav{flex-basis:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 18px;padding-bottom:20px;border-bottom:1px solid var(--tph-line)}
.tph-catnav a{padding:9px 18px;border-radius:999px;font-size:14px;color:var(--tph-ink-2);text-decoration:none;transition:background .15s,color .15s}
.tph-catnav a:hover{background:var(--tph-surface);color:var(--tph-ink)}
.tph-catnav a[aria-current="page"]{background:var(--tph-ink);color:#fff}
@media (max-width:600px){.tph-catnav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding-inline:16px;scrollbar-width:none}.tph-catnav a{white-space:nowrap;flex:none}}

/* ===== v1.3c ===== */
html:root,body{--theme-palette-color-1:#1D1E1F;--theme-palette-color-2:#9A6641;--theme-link-initial-color:#1D1E1F;--theme-link-hover-color:#9A6641;--theme-form-field-border-focus-color:#1D1E1F;--theme-form-selection-field-active-color:#1D1E1F;--theme-selection-background-color:#F1E7DD}
.woocommerce-checkout form a,.woocommerce-cart .cart-collaterals a:not(.button):not(.checkout-button){text-decoration:underline;text-decoration-color:var(--tph-line-2);text-underline-offset:3px}
.tph-ps img{aspect-ratio:4/3}
.woocommerce-result-count{text-transform:none!important;letter-spacing:0!important;font-weight:400!important}
.cart_totals .shop_table,.cart_totals table{border:0!important;background:transparent!important}
.woocommerce-shipping-calculator,.woocommerce-shipping-destination{display:none!important}
form.checkout #order_review{background:transparent;border:0;padding:0}
.woocommerce-product-gallery .flexy-pills ol{flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding:10px!important;margin:0!important;scrollbar-width:none}
.woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar{display:none}
.woocommerce-product-gallery .flexy-pills ol li{flex:0 0 calc(20% - 7px)!important;max-width:none!important;margin:0!important}
.woocommerce-product-gallery .flexy-pills ol li img{border-radius:6px;aspect-ratio:1/1;object-fit:cover}
.woocommerce-product-gallery .flexy-pills ol li.active img{outline:1.5px solid var(--tph-ink);outline-offset:-1.5px}
.hero-section[data-type="type-2"] .entry-header{padding-block:clamp(24px,4vw,48px) 10px!important}
@media (max-width:689px){
 .woocommerce-product-gallery .flexy-pills ol li{flex-basis:64px!important}
 .single-product .ct-breadcrumbs>span:last-child,.single-product .ct-breadcrumbs .last-item{display:none}
 .hero-section .page-title{font-size:44px!important}
 .tph-name-row{grid-template-columns:minmax(0,1fr) auto!important}
 .tph-name-row .tph-patch{min-width:96px;height:46px;padding:0 14px}
 .tph-sizegrid{gap:6px}.tph-size{padding:10px 2px}.tph-size small{font-size:10.5px}
 .tph-mats{grid-template-columns:1fr 1fr}
 .tph-mat{padding:12px}
 .tph-step-h i{flex-basis:100%;margin-left:0}
}

/* ===== v1.3d ===== */
.tph-dbody .woocommerce-mini-cart-item .ct-media-container{position:absolute!important;left:0;top:16px;width:76px!important;height:76px!important;overflow:hidden;border-radius:8px;border:1px solid var(--tph-line);background:#fff}
.tph-dbody .woocommerce-mini-cart-item .ct-media-container img{position:static!important;width:100%!important;height:100%!important;border:0!important;object-fit:contain;padding:4px}
.tph-dbody dl.variation dd{margin-left:4px!important;font-weight:600;letter-spacing:.06em}
.tph-dbody .woocommerce-mini-cart-item a:not(.remove){font-family:var(--tph-serif);font-size:17px;font-weight:400;line-height:1.25;display:block}
.tph-contact{max-width:none!important;margin-inline:0!important}
.tph-dbody .woocommerce-mini-cart__buttons a.checkout{background:var(--tph-ink)!important;color:#fff!important}
.tph-mat b{padding-right:24px}

/* ===== v1.4 hero: tytuł u góry, przycisk na dole, całe zdjęcie ===== */
.tph-split{min-height:0!important;align-items:stretch}
.tph-gate{aspect-ratio:3/4;min-height:0!important;padding:clamp(28px,4vw,60px)!important;display:flex!important;flex-direction:column;justify-content:space-between!important}
.tph-gate img{object-position:center bottom}
.tph-gate .top,.tph-gate .bot{position:relative;display:flex;flex-direction:column;align-items:flex-start}
.tph-gate h2{font-size:clamp(44px,5.6vw,96px)!important;line-height:.95!important;margin:0!important}
.tph-gate .zone{margin-bottom:16px}
.tph-gate .sub{margin:0 0 22px!important;font-size:clamp(17px,1.6vw,23px)!important;max-width:none!important}
.tph-gate .tph-btn.light{margin:0!important}
.tph-gate::after{background:linear-gradient(180deg,rgba(18,18,16,.55) 0%,rgba(18,18,16,.06) 30%,rgba(18,18,16,0) 55%,rgba(18,18,16,.6) 100%)!important}
.tph-gate.light::after{background:linear-gradient(180deg,rgba(246,244,240,.62) 0%,rgba(246,244,240,0) 30%,rgba(246,244,240,0) 68%,rgba(246,244,240,.6) 100%)!important}
.tph-gate.light .sub{color:var(--tph-ink)}
.tph-gate:not(.light) .sub{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.35)}
@media (max-width:760px){
 .tph-split{grid-template-columns:1fr!important}
 .tph-gate{aspect-ratio:3/4;min-height:0!important;padding:26px 22px 28px!important}
 .tph-gate h2{font-size:clamp(42px,12.5vw,64px)!important}
 .tph-gate .sub{margin-bottom:16px!important}
}

/* ===== v1.4b naszywka jak na zdjęciach ===== */
.tph-patch{font-family:"Archivo Black","Arial Black",Helvetica,Arial,sans-serif!important;font-weight:400!important;letter-spacing:.03em!important}
.tph-patch span{padding-left:0!important}
.tph-patch--leather{border-radius:50%!important;min-width:132px;height:56px;padding:0 26px!important;color:#4b2a17!important;background:radial-gradient(120% 140% at 35% 30%,#f6d0b2 0%,#e9b48f 38%,#d99c74 72%,#c7865e 100%)!important;box-shadow:inset 0 0 0 1.5px rgba(150,88,52,.45),inset 0 -4px 8px rgba(130,72,40,.28),inset 0 3px 6px rgba(255,236,218,.55),0 2px 5px rgba(40,20,8,.28)!important;text-shadow:0 1px 0 rgba(255,232,212,.75),0 -1px 0 rgba(96,52,26,.35)!important}
.tph-patch--leather::before{inset:4px!important;border:0!important;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(160,96,58,.22)}
.tph-patch--canvas{border-radius:3px!important;color:#2f2721!important;background-color:#d8cab2!important;background-image:repeating-linear-gradient(0deg,rgba(70,55,35,.07) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(70,55,35,.06) 0 1px,transparent 1px 3px)!important;box-shadow:inset 0 0 0 3px #d8cab2,inset 0 0 0 4.5px rgba(60,48,38,.85),0 2px 5px rgba(0,0,0,.22)!important;text-shadow:0 1px 0 rgba(255,250,240,.35)}
.tph-gal-patch .tph-patch--leather{height:70px;min-width:176px;padding:0 34px!important;transform:rotate(-7deg)}
.tph-gal-patch .tph-patch--canvas{height:58px;min-width:170px;padding:0 26px!important}

/* ===== v1.4c hero mieści się na ekranie, zdjęcia w całości ===== */
.tph-split{height:calc(100svh - 106px);min-height:560px;max-height:1200px}
.admin-bar .tph-split{height:calc(100svh - 138px)}
.tph-gate{aspect-ratio:auto!important;height:100%;overflow:hidden}
.tph-gate img.bg{object-fit:cover;filter:blur(34px) saturate(1.05);transform:scale(1.2);z-index:-3}
.tph-gate img.ph{object-fit:contain;z-index:-2;object-position:right bottom}
.tph-gate:not(.light) img.ph{object-position:left bottom}
.tph-gate:hover img.ph{transform:none}
.tph-gate:hover img.bg{transform:scale(1.2)}
@media (max-width:760px){
 .tph-split{height:auto;min-height:0;max-height:none}
 .tph-gate{aspect-ratio:3/4!important;height:auto}
 .tph-gate img.ph,.tph-gate:not(.light) img.ph{object-fit:cover;object-position:center bottom}
}

/* ===== v1.4d bez rozmycia: zdjęcie wypełnia panel, produkt zawsze widoczny ===== */
.tph-gate img.bg{display:none!important}
.tph-gate img.ph,.tph-gate:not(.light) img.ph{object-fit:cover!important;object-position:center 85%!important}

/* ===== v1.4e osobne zdjęcia hero: komputer 1:1, telefon 3:4 ===== */
@media (min-width:761px){.tph-gate img.ph,.tph-gate:not(.light) img.ph{object-fit:cover!important;object-position:center 62%!important}}
.tph-gate picture{position:absolute;inset:0;z-index:-2;display:block}
@media (max-width:760px){.admin-bar .tph-split,.tph-split{height:auto!important}.tph-gate{width:100%}}
