/*
Theme Name: Trazo — Archivo Vivo
Theme URI: https://trazo.store
Author: Trazo
Description: Tema editorial de primera versión para Trazo, preparado para WooCommerce.
Version: 0.1.5
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: trazo
*/
:root{--ink:#191a19;--cream:#efeee9;--paper:#f8f7f3;--muted:#6f706d;--line:#d2d1c9;--blue:#2845c7;--rust:#bf5a3c;--font:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:78px}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--font);-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}em{font-style:normal;color:var(--blue)}.prototype-ribbon{height:26px;background:var(--blue);color:#fff;text-align:center;display:flex;justify-content:center;align-items:center;font-size:9px;letter-spacing:.14em;font-weight:700}.site-header{height:78px;background:var(--cream);position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line)}.header-inner{width:100%;height:100%;max-width:1680px;margin:auto;padding:0 4.2%;display:flex;align-items:center;justify-content:space-between;gap:34px}.wordmark{font-size:39px;font-weight:800;letter-spacing:-.11em;line-height:1}.wordmark-dot{color:var(--blue);letter-spacing:0}.main-nav{display:flex;align-items:center;gap:35px;margin:auto;font-size:12px;font-weight:700;letter-spacing:.025em}.main-nav a:hover,.text-link:hover,.footer-columns a:hover{color:var(--blue)}.header-actions{display:flex;gap:17px}.icon-button{width:34px;height:34px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;position:relative;color:var(--ink)}.icon-button svg{width:20px;stroke:currentColor;stroke-width:1.7;fill:none}.bag-count{position:absolute;right:-6px;top:-4px;width:15px;height:15px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:50%;font-size:9px}.menu-toggle{display:none;flex-direction:column;gap:5px}.menu-toggle span{height:1.6px;width:22px;background:var(--ink)}.section-kicker{font-family:var(--font);letter-spacing:.16em;font-size:11px;font-weight:800;text-transform:uppercase;display:flex;gap:11px;align-items:center}.blue-square{height:8px;width:8px;background:var(--blue);display:inline-block}.hero{display:grid;grid-template-columns:48% 52%;min-height:670px;background:var(--cream)}.hero-copy{padding:65px 8% 33px 9%;display:flex;flex-direction:column}.hero h1{font-size:clamp(62px,7vw,112px);line-height:.92;letter-spacing:-.085em;margin:46px 0 30px;font-weight:800}.hero-copy>p{font-size:17px;line-height:1.5;max-width:410px}.hero-cta{display:flex;gap:27px;align-items:center;margin-top:20px}.button{padding:16px 20px;display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:53px;font-weight:750;font-size:12px;letter-spacing:.025em;border:1px solid transparent;transition:transform .2s,background .2s;color:inherit}.button:hover{transform:translateY(-2px)}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:var(--blue)}.button-light{background:var(--cream);color:var(--ink)}.text-link{font-size:12px;font-weight:800;border-bottom:1px solid;padding-bottom:5px}.hero-bottom{display:flex;justify-content:space-between;margin-top:auto;padding-top:45px;color:#777871;font-size:10px;letter-spacing:.1em;line-height:1.45;font-weight:700}.hero-art{background:#1d2222;position:relative;overflow:hidden;min-height:670px}.hero-grid{position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.9%,#f7f6f31a 50%,transparent 50.1%),linear-gradient(transparent 49.9%,#f7f6f30c 50%,transparent 50.1%);background-size:138px 138px}.hero-orbit{position:absolute;border-radius:50%;border:1px solid #fafaf94d;left:50%;top:49%;transform:translate(-50%,-50%)}.orbit-one{width:680px;height:680px}.orbit-two{width:480px;height:480px;border-color:#fafaf925}.hero-art>img{position:absolute;width:min(63%,500px);height:auto;max-height:80%;object-fit:contain;left:50%;top:49%;transform:translate(-50%,-50%) rotate(-4deg);box-shadow:22px 24px 52px #0007}.hero-pulse{position:absolute;color:#fff2;top:52px;right:38px;font-size:14px;font-weight:700;line-height:2;letter-spacing:.3em}.hero-art-label{position:absolute;bottom:30px;left:37px;right:37px;display:flex;justify-content:space-between;color:#ddd;letter-spacing:.14em;font-size:10px}.ticker{overflow:hidden;background:var(--blue);color:#fff;padding:14px 0;white-space:nowrap;font-weight:800;font-size:11px;letter-spacing:.15em}.ticker div{width:max-content;animation:marquee 25s linear infinite}.ticker b{font-size:20px;vertical-align:-2px;margin:0 44px;font-weight:400}@keyframes marquee{to{transform:translateX(-36%)}}.section{padding:106px 4.2% 120px;max-width:1680px;margin:auto}.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end}.section-head h2,.collections h2,.quality h2,.world h2,.closing h2{font-size:clamp(46px,5.4vw,85px);line-height:.98;letter-spacing:-.075em;margin:19px 0 0}.section-head>p{max-width:315px;font-size:14px;color:#585a56;line-height:1.65;margin-bottom:5px}.filters{display:flex;gap:10px;margin:47px 0 24px;overflow:auto}.filter{border:1px solid #c9c7c0;background:transparent;border-radius:30px;padding:10px 18px;white-space:nowrap;font-size:12px;font-weight:700}.filter:hover,.filter.active{background:var(--ink);border-color:var(--ink);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card[hidden]{display:none}.product-image{width:100%;border:0;padding:0;display:block;position:relative;text-align:left;overflow:hidden;background:#e5e2dc}.product-image img{width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .3s}.product-image:hover img{transform:scale(1.04)}.product-label{position:absolute;top:14px;left:14px;background:var(--paper);padding:8px;font-size:9px;letter-spacing:.12em;font-weight:800}.product-arrow{position:absolute;right:15px;bottom:15px;background:#f5f4ef;width:35px;height:35px;display:grid;place-items:center;font-size:22px}.product-details{display:flex;justify-content:space-between;gap:10px;padding:16px 3px}.product-details h3{font-size:15px;margin:0 0 5px;letter-spacing:-.02em}.product-details p{font-size:12px;color:var(--muted);margin:0}.product-details>span{font-size:9px;letter-spacing:.07em;white-space:nowrap;font-weight:800}.sample-note{font-size:11px;color:var(--muted);margin:28px 0 0}.collections{background:#e5e4de;padding:107px 4.2% 120px}.collections-top,.collection-grid{max-width:1538px;margin:auto}.collections h2{margin-bottom:48px}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.collection-panel{min-height:465px;position:relative;overflow:hidden;padding:26px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.collection-panel:before{content:"";position:absolute;inset:0;z-index:-1;transition:transform .3s}.collection-panel:hover:before{transform:scale(1.03)}.collection-panel>span{font-size:10px;letter-spacing:.15em;font-weight:800}.collection-panel h3{font-size:clamp(44px,5vw,69px);line-height:.92;letter-spacing:-.07em;margin:0 0 19px}.collection-panel div:last-child span{display:flex;justify-content:space-between;border-top:1px solid currentColor;padding-top:17px;font-size:12px;font-weight:700}.panel-rock{color:#eee;background:#202324}.panel-rock:before{background:radial-gradient(ellipse at 90% 30%,#bb583d78,transparent 38%),repeating-linear-gradient(144deg,transparent 0 19px,#fff1 20px 21px,transparent 22px 45px)}.panel-signal{position:absolute;width:300px;height:300px;border:2px solid #e8e6df73;border-radius:50%;top:72px;right:-65px;box-shadow:0 0 0 36px #eee1,0 0 0 70px #eee1}.panel-pop{background:#d5d6ce;color:#1a1b18}.panel-pop:before{background:radial-gradient(circle at 60% 49%,transparent 0 55px,#2944be 57px 58px,transparent 60px 98px,#2944be55 100px 101px,transparent 103px),linear-gradient(120deg,#eaebe6,#c9cec9)}.panel-disc{position:absolute;top:86px;right:0;width:220px;height:220px;border:1px solid #272e67;border-radius:50%}.panel-night{background:#262026;color:white}.panel-night:before{background:radial-gradient(circle at 72% 34%,#d2ccc0 0 55px,transparent 58px),linear-gradient(160deg,#262026,#605357)}.panel-moon{position:absolute;top:60px;right:-12px;width:195px;height:195px;border-radius:50%;border:1px solid #fff5;box-shadow:0 0 0 37px #fff1}.quality{min-height:640px;display:grid;grid-template-columns:1fr 1fr;background:var(--cream)}.quality-art{position:relative;overflow:hidden;background:#000;min-height:620px;display:flex;align-items:end;padding:36px}.quality-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.quality-art:before{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.7));z-index:1;pointer-events:none}.quality-art>span{position:relative;z-index:2;color:#fff;font-weight:800;font-size:11px;letter-spacing:.18em}.quality-copy{padding:90px min(10%,120px);display:flex;flex-direction:column;justify-content:center}.quality-copy h2{margin:25px 0}.quality-copy>p{font-size:15px;line-height:1.7;color:#585b57;max-width:480px}.quality-points{margin:27px 0 34px;border-top:1px solid #bebeb4}.quality-points>div{padding:14px 0;border-bottom:1px solid #bebeb4;font-weight:700;font-size:13px}.quality-points span{font-size:11px;margin-right:23px;color:var(--blue)}.quality-copy .text-link{align-self:start}.world{background:#202425;color:#f4f4ee;display:grid;grid-template-columns:1fr 1fr;min-height:690px}.world-copy{padding:90px 11% 75px 9%;display:flex;align-items:start;flex-direction:column;justify-content:center}.world h2{margin:30px 0}.world em{color:#9cacf2}.world p{line-height:1.7;font-size:16px;max-width:435px;color:#d3d5d1;margin-bottom:32px}.world-note{font-size:10px;letter-spacing:.14em;margin-top:46px;color:#a9aeaa}.world-visual{display:flex;align-items:center;justify-content:center;gap:30px;position:relative;overflow:hidden;background:radial-gradient(circle at 48% 48%,#4b5858,#293032 57%,#1b2223)}.screenshot-frame{width:min(250px,38%);height:445px;border:5px solid #0e1313;border-radius:21px;overflow:hidden;box-shadow:20px 35px 60px #0009;transform:rotate(-7deg)}.screenshot-frame img{width:100%;height:100%;object-fit:cover;object-position:top}.world-caption{font-size:12px;font-weight:800;line-height:1.5;letter-spacing:.15em;max-width:200px;transform:rotate(3deg)}.closing{padding:130px 4.2%;background:var(--blue);color:white;text-align:center}.closing>span{font-size:10px;letter-spacing:.15em}.closing h2{margin:30px 0 35px}.closing em{color:#cbd4ff}.site-footer{background:var(--cream);padding:58px 4.2% 20px}.footer-top,.footer-columns,.footer-bottom{max-width:1538px;margin:auto}.footer-top{display:flex;justify-content:space-between;align-items:start;padding-bottom:50px;border-bottom:1px solid #d2d1cb}.footer-top .wordmark{font-size:62px}.footer-top p{font-size:18px;line-height:1.35}.footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:43px 0 70px}.footer-columns>div{display:flex;flex-direction:column;gap:11px;font-size:13px}.footer-columns b{letter-spacing:.13em;font-size:10px;margin-bottom:6px}.footer-columns span{line-height:1.5;color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #d2d1cb;padding:23px 0;font-size:10px;letter-spacing:.08em;color:#75756d}.scrim{position:fixed;inset:0;background:#0008;z-index:80}.scrim[hidden]{display:none}.bag-drawer{position:fixed;z-index:81;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--paper);padding:27px;transform:translateX(101%);transition:transform .25s;display:flex;flex-direction:column}.bag-drawer.open{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.drawer-head h2{margin:0 0 20px;font-size:28px}.close-drawer,.modal-close{border:0;background:none;font-size:32px}.bag-items{padding:24px 0;flex:1;overflow:auto}.bag-row{display:flex;gap:15px;margin-bottom:15px}.bag-row img{width:80px;height:100px;object-fit:cover}.bag-row div{display:flex;flex-direction:column;gap:8px;font-size:13px}.bag-row button{align-self:start;border:0;background:none;padding:0;text-decoration:underline}.bag-hint{font-size:12px;line-height:1.5;color:var(--muted)}.product-modal{width:min(850px,95vw);max-height:min(90vh,900px);padding:0;border:0;background:var(--paper);color:var(--ink);box-shadow:0 24px 80px #0005}.product-modal::backdrop{background:#0009}.product-modal[open]{display:grid;grid-template-columns:1fr 1fr}.modal-close{position:absolute;right:15px;top:10px;z-index:1}.modal-image{background:#e6e2d9}.modal-image img{width:100%;height:100%;object-fit:cover;max-height:660px}.modal-content{padding:70px 36px 30px}.modal-content h2{font-size:43px;letter-spacing:-.06em;margin:25px 0}.modal-content>p{line-height:1.6;color:var(--muted);font-size:14px}.modal-content label{display:block;font-size:12px;font-weight:700;margin-top:26px}.modal-content select{display:block;margin:9px 0 15px;width:100%;padding:13px;background:none;border:1px solid var(--line)}.modal-content .button{width:100%}.modal-feedback{min-height:22px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce div.product{max-width:1300px;margin:60px auto;padding:0 4%}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{background:var(--ink);color:#fff;border-radius:0;min-height:45px}.woocommerce button.button:hover,.woocommerce a.button:hover{background:var(--blue);color:#fff}.woocommerce .price{color:var(--ink)!important}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:1250px;margin:60px auto;padding:0 4%}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}*:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:1100px){.main-nav{gap:16px}.hero{min-height:590px}.hero-copy{padding-left:6%}.hero-art{min-height:590px}.hero h1{font-size:clamp(52px,7vw,76px)}.product-grid{grid-template-columns:repeat(2,1fr)}.collection-panel{min-height:380px}.quality-copy{padding:65px 7%}}
@media(max-width:760px){html{scroll-padding-top:62px}.prototype-ribbon{font-size:8px;height:25px}.site-header{height:62px}.header-inner{padding:0 20px;gap:9px}.menu-toggle{display:flex;order:0}.wordmark{font-size:34px;order:1;margin-right:auto;margin-left:7px}.main-nav{display:none;position:absolute;top:62px;left:0;right:0;background:var(--cream);padding:15px 24px 23px;border-bottom:1px solid var(--line);box-shadow:0 18px 30px #0001;align-items:stretch;flex-direction:column;gap:0}.main-nav.open{display:flex}.main-nav a{font-size:16px;padding:14px 0;border-bottom:1px solid var(--line)}.header-actions{order:2;gap:5px}.hero{display:flex;flex-direction:column}.hero-art{order:0;min-height:390px;height:49svh;max-height:560px}.hero-art>img{width:min(58%,300px);max-height:75%}.hero-pulse{top:20px;right:17px;font-size:10px}.hero-art-label{left:20px;right:20px;bottom:18px;font-size:8px}.orbit-one{width:480px;height:480px}.orbit-two{width:320px;height:320px}.hero-copy{order:1;padding:25px 20px 31px}.hero h1{font-size:clamp(52px,12vw,80px);margin:20px 0}.hero-copy>p{font-size:14px;line-height:1.52;margin-bottom:8px}.hero-cta{margin-top:9px;gap:19px}.hero-cta .button{padding:14px;font-size:11px;gap:12px}.hero-cta .text-link{font-size:10px}.hero-bottom{padding-top:29px;font-size:9px}.ticker{padding:9px 0}.section{padding:70px 20px 76px}.section-head{display:block}.section-head h2,.collections h2,.quality h2,.world h2,.closing h2{font-size:clamp(42px,10vw,62px)}.section-head>p{margin:23px 0 0;font-size:13px}.filters{margin:31px -20px 19px;padding:0 20px}.filter{font-size:11px;padding:10px 14px}.product-grid{gap:10px}.product-label{font-size:7px;padding:6px;top:8px;left:8px}.product-arrow{width:28px;height:28px;bottom:9px;right:9px;font-size:18px}.product-details{display:block;padding:10px 1px}.product-details h3{font-size:12px;margin-bottom:5px}.product-details p{font-size:10px}.product-details>span{display:none}.sample-note{line-height:1.5}.collections{padding:70px 20px 74px}.collections h2{margin-bottom:27px}.collection-grid{grid-template-columns:1fr;gap:10px}.collection-panel{min-height:230px;padding:17px}.collection-panel h3{font-size:53px}.collection-panel div:last-child span{padding-top:10px}.panel-signal{right:1%;top:-57px}.panel-disc{top:-20px}.panel-moon{top:-43px}.quality{display:flex;flex-direction:column}.quality-art{min-height:330px}.quality-copy{padding:68px 20px}.quality-copy h2{margin:20px 0}.quality-copy>p{font-size:14px}.world{display:flex;flex-direction:column}.world-copy{padding:74px 20px 35px}.world p{font-size:14px}.world-note{margin-top:28px}.world-visual{min-height:350px}.screenshot-frame{width:150px;height:285px}.world-caption{font-size:9px;width:110px}.closing{padding:88px 20px}.site-footer{padding:48px 20px 15px}.footer-top .wordmark{font-size:52px}.footer-top p{font-size:13px}.footer-columns{grid-template-columns:1fr 1fr;gap:28px;padding:35px 0 43px}.footer-columns>div{font-size:12px}.footer-bottom{gap:15px;font-size:8px}.product-modal[open]{display:block;overflow:auto}.modal-image img{width:100%;height:42vh;object-fit:cover}.modal-content{padding:25px 23px 30px}.modal-content h2{font-size:35px;margin:15px 0}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}@media(max-width:360px){.header-actions .search-link{display:none}.hero-art{height:42svh;min-height:320px}.hero h1{font-size:49px}.hero-cta{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.main-nav .nav-list{display:flex;align-items:center;gap:35px;list-style:none;margin:0;padding:0}.main-nav .nav-list li{list-style:none}@media(max-width:760px){.main-nav .nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}}.world-stack{height:470px;width:340px;position:relative}.world-card{position:absolute;width:220px;height:320px;object-fit:cover;box-shadow:20px 30px 55px #0009}.world-card-one{left:0;top:42px;transform:rotate(-12deg)}.world-card-two{right:0;bottom:20px;transform:rotate(8deg)}@media(max-width:760px){.world-stack{height:330px;width:230px}.world-card{width:152px;height:222px}.world-card-one{top:26px}}/* Drive assets: authentic Trazo identity and category photography. */
.wordmark{width:160px;height:43px;display:block;flex:none;font-size:0;background:url('assets/logo-trazo-transparente.png') center/contain no-repeat}
.footer-top .wordmark{width:230px;height:62px;background-size:contain;font-size:0;order:0;margin:0}
.hero-art>img{width:min(72%,540px);max-height:74%;object-fit:cover;aspect-ratio:1/1;box-shadow:25px 30px 70px #0008}
.product-image{aspect-ratio:4/5}
.product-image img{height:100%;aspect-ratio:auto;object-fit:contain}
.collection-panel .collection-photo{position:absolute;right:-10%;top:-12%;width:83%;height:125%;object-fit:cover;opacity:.43;z-index:0;pointer-events:none}
.collection-panel>span,.collection-panel>div:last-child{position:relative;z-index:2}
.panel-rock .collection-photo{opacity:.38;mix-blend-mode:screen}
.panel-pop .collection-photo{opacity:.35;mix-blend-mode:multiply}
.panel-night .collection-photo{opacity:.28;mix-blend-mode:screen}
.world-card{object-position:center top}
@media(max-width:760px){.wordmark{width:130px;height:39px;background-size:contain}.footer-top .wordmark{width:180px;height:55px;background-size:contain}.hero-art>img{width:min(72%,340px);max-height:73%}.collection-panel .collection-photo{width:67%;height:150%;top:-25%;right:0}}
.wordmark{width:160px;height:68px;background-position:center;background-size:contain}
.footer-top .wordmark{width:220px;height:93px;background-position:center;background-size:contain}
@media(max-width:760px){.wordmark{width:130px;height:56px;background-position:center;background-size:contain}.footer-top .wordmark{width:170px;height:72px;background-size:contain}}

/* Center the transparent logo without cropping its lettering or swoosh. */
.wordmark .wordmark-dot{display:none}
.footer-top{align-items:center;gap:24px}
.footer-top p{margin:0}
@media(max-width:760px){
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 .site-header .wordmark{margin:0;order:0}
 .header-actions{justify-self:end}
 .footer-top{flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:30px}
 .footer-top .wordmark{margin:0;order:0;font-size:0}
 .footer-top p{font-size:14px;line-height:1.5}
 .footer-bottom{flex-direction:column;line-height:1.6}
}


/* Catalog navigation and six-model homepage selection. */
.product-card[hidden]{display:none!important}
.trazo-catalog-categories{display:flex;flex-wrap:wrap;gap:10px;clear:both;margin:0 0 28px}
.trazo-catalog-categories a{display:inline-flex;align-items:center;padding:12px 18px;border:1px solid var(--line);border-radius:24px;font-size:14px;font-weight:700;background:var(--paper)}
.trazo-catalog-categories a:hover,.trazo-catalog-categories a[aria-current="page"]{background:var(--blue);color:#fff;border-color:var(--blue)}
.trazo-catalog-categories a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* WooCommerce clearfix pseudo-elements must not become empty grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after{content:none;display:none}
.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;clear:both}
.woocommerce ul.products li.product{min-width:0}
.woocommerce ul.products li.product a img{width:100%;height:auto}
@media(max-width:760px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Related products are a section, not a product grid themselves. */
.woocommerce .related.products{display:block;clear:both;width:100%;margin-top:48px}
.woocommerce .related.products>h2{margin:0 0 24px;font-size:28px;line-height:1.2}
.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:45px;padding:12px 18px;line-height:1.3;gap:0;white-space:normal}
.woocommerce #reviews{clear:both}
.woocommerce #review_form_wrapper{max-width:760px}
.woocommerce #review_form #respond p{margin:0 0 18px;line-height:1.5}
.woocommerce #review_form label{display:block;margin-bottom:8px;font-weight:700}
.woocommerce #review_form input[type="text"],
.woocommerce #review_form input[type="email"],
.woocommerce #review_form textarea{width:100%;max-width:100%;border:1px solid var(--line);background:var(--paper);padding:12px;font:inherit}
.woocommerce #review_form textarea{min-height:150px;resize:vertical}
.woocommerce #review_form .comment-form-cookies-consent label{display:inline;font-weight:400}

/* WooCommerce purchase flow */
body:is(.single-product, .woocommerce-cart, .woocommerce-checkout) {
    --trazo-purchase-blue: #102f61;
    --trazo-field-border: #838990;
    --trazo-control-radius: 10px;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    margin-block: 24px 0;
    padding-inline: 0;
}

.woocommerce-cart .wp-page > h1,
.woocommerce-checkout .wp-page > h1 {
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.15;
    margin: 0 0 24px;
}

.woocommerce div.product form.cart .variations th {
    padding-inline-end: 12px;
    vertical-align: middle;
}

.woocommerce div.product form.cart .variations td {
    padding-block: 4px;
}

.woocommerce div.product form.cart .variations select {
    background: #fff;
    border: 1px solid var(--trazo-field-border);
    border-radius: var(--trazo-control-radius);
    color: var(--ink);
    font: inherit;
    margin-inline-end: 0;
    min-height: 48px;
    padding: 8px 12px;
    width: 100%;
}

.woocommerce div.product form.cart .quantity .qty {
    background: #fff;
    border: 1px solid var(--trazo-field-border);
    border-radius: var(--trazo-control-radius);
    font: inherit;
    min-height: 48px;
    padding: 6px;
}

.woocommerce.single-product div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce-message a.button,
:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link),
.woocommerce-checkout #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--trazo-purchase-blue);
    border-radius: var(--trazo-control-radius);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    min-height: 48px;
    padding: 12px 18px;
    text-align: center;
    transform: none;
}

.woocommerce.single-product div.product form.cart .single_add_to_cart_button:hover,
.single-product .woocommerce-message a.button:hover,
:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link):hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--blue);
    color: #fff;
}

.woocommerce.single-product div.product form.cart .single_add_to_cart_button:is(.disabled, :disabled),
:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:is(:disabled, [aria-disabled="true"]):not(.is-link) {
    background: #e4e7ee;
    color: #47536b;
    cursor: not-allowed;
    opacity: 1;
}

:is(.single-product .wp-shop, .woocommerce-cart .wp-page, .woocommerce-checkout .wp-page)
:is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.single-product .woocommerce-message {
    background: #edf5ef;
    border: 1px solid #a8c4af;
    border-radius: 12px;
    color: #20452d;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 14px 16px 14px 42px;
}

.single-product .woocommerce-message::before {
    color: #287141;
    inset-inline-start: 16px;
    top: 14px;
}

.single-product .woocommerce-message a.button {
    float: none;
    justify-content: center;
    margin: 8px 0 0;
}

.single-product .product_meta {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--trazo-control-radius);
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--trazo-purchase-blue);
    display: flex;
    align-items: center;
    font-size: 14px;
    min-height: 44px;
    padding: 8px 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--trazo-purchase-blue);
    border-color: var(--trazo-purchase-blue);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff;
}

:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(.wc-block-components-sidebar, .wc-block-components-order-summary) {
    background: #fff;
    border-radius: 12px;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="password"]),
.wp-block-woocommerce-checkout select.wc-blocks-components-select__select,
.wp-block-woocommerce-checkout select.wc-block-components-select__select {
    background-color: #fff;
    border-color: var(--trazo-field-border);
    border-radius: var(--trazo-control-radius);
    min-height: 48px;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input:focus-within input,
.wp-block-woocommerce-checkout select:focus-visible {
    border-color: var(--blue);
}

.woocommerce-checkout form.checkout .form-row :is(.input-text, select),
.woocommerce-checkout form.checkout .select2-selection {
    background: #fff;
    border: 1px solid var(--trazo-field-border);
    border-radius: var(--trazo-control-radius);
    min-height: 48px;
}

@media (max-width: 760px) {
    .woocommerce-cart .wp-page,
    .woocommerce-checkout .wp-page {
        margin-block-start: 28px !important;
    }

    .woocommerce div.product form.cart .variations select {
        font-size: 16px;
    }

    .single-product .woocommerce-message a.button {
        display: flex;
        width: fit-content;
    }

    .wp-block-woocommerce-cart .wc-block-cart__submit-container {
        background: var(--paper);
    }
}
