/*
Theme Name: Truly Coffee — Editorial
Author: Truly Coffee
Description: Catálogo editorial ligero con pedidos por WhatsApp y pago coordinado por depósito. Sin pasarela ni constructor visual.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truly-coffee
*/
:root{--paper:#f7f5ef;--ink:#292821;--muted:#68675d;--line:#d9d7ce;--olive:#77785c;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--olive);outline-offset:5px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}button{border-radius:0}.js-only{display:none}html.js .js-only{display:inline-flex}[hidden]{display:none!important}
.skip-link{position:absolute;left:20px;top:-100px;z-index:100;padding:12px;background:var(--ink);color:var(--paper)}.skip-link:focus{top:20px}.announcement{padding:9px 20px;text-align:center;font-size:10px;letter-spacing:.18em;text-transform:uppercase;border-bottom:1px solid var(--line)}.site-header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 5%;border-bottom:1px solid var(--line)}.brand a{display:flex;flex-direction:column;align-items:center}.wordmark{font-size:28px;font-weight:600;letter-spacing:.22em;line-height:1.1;position:relative}.brand-caption{font-size:8px;letter-spacing:.46em;margin-top:7px}.brand-star{display:none}.custom-logo{max-width:150px;max-height:65px;width:auto;height:auto}.site-header nav{display:flex;gap:30px;font-size:12px}.site-header nav a{border-bottom:1px solid transparent;padding:8px 0}.site-header nav a:hover{border-color:currentColor}.order-toggle{align-items:center;gap:13px;border:0;border-bottom:1px solid var(--ink);background:none;padding:9px 0;font-size:12px;white-space:nowrap}.order-toggle span{font-size:10px;min-width:21px;height:21px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:620px}.hero-copy{padding:80px 12% 70px 10%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow{display:block;font-size:10px;letter-spacing:.17em;text-transform:uppercase}.hero h1{font:400 clamp(54px,5.4vw,92px)/1.02 var(--serif);letter-spacing:-.055em;max-width:560px;margin:30px 0}.hero-copy>p{font-size:14px;max-width:340px;color:var(--muted);line-height:1.8}.hero-art{position:relative;min-width:0;min-height:520px;background:#ddd6c7;overflow:hidden}.hero-photo{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;object-position:center 65%}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:35px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:15px 23px;border:1px solid currentColor;font-size:12px;min-height:48px;transition:background .18s,color .18s}.button-dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}.button-dark:hover{background:#49483f}.button-light{background:var(--paper);color:var(--ink);border-color:var(--paper)}.button-light:hover{background:#e5e1d5}.text-link{font-size:12px;border-bottom:1px solid currentColor;padding-bottom:4px}.hero-note{display:block;font-size:10px;color:var(--muted);margin-top:24px;line-height:1.8}
.coffee-section{padding:85px 5% 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:38px}.section-heading h2,.how-section h2{font:400 clamp(30px,3.2vw,50px)/1.2 var(--serif);letter-spacing:-.035em;margin-top:15px}.section-heading>p{font-size:12px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product-art{aspect-ratio:1/1.12;display:flex;flex-direction:column;justify-content:space-between;padding:22px;background:#e8e4d9;color:#4b4c40;position:relative;overflow:hidden}.product-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tone-1{background:#dcded3;color:#484e3e}.tone-2{background:#e5d9cf;color:#625449}.tone-3{background:#dedde3;color:#54515d}.label-top{display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.12em}.origin-number{font:italic 400 clamp(50px,6.5vw,110px)/1 var(--serif);letter-spacing:-.08em;align-self:center;padding:12px}.origin-label{border-top:1px solid #0002;padding-top:10px;display:flex;flex-direction:column;gap:4px}.origin-label span:first-child{font:400 21px/1.1 var(--serif)}.origin-label span:last-child{font-size:8px;letter-spacing:.15em;text-transform:uppercase}.product-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:19px}.product-title h3{font:400 23px/1.2 var(--serif);letter-spacing:-.03em}.product-title>span{font-size:12px;white-space:nowrap}.product-info{font-size:11px;color:var(--muted);margin-top:8px}.product-bottom{margin-top:13px;padding-top:12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.add-button{align-items:center;justify-content:space-between;gap:24px;background:none;border:0;padding:10px 0;min-height:44px;font-size:12px}.add-button:hover{text-decoration:underline}.add-button span{font-size:20px}.shop-note{border-top:1px solid var(--line);margin-top:44px;padding:22px 0;display:flex;justify-content:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.shop-note a{color:var(--ink);border-bottom:1px solid var(--ink)}
.store-section{background:#373c30;color:#f1eee4;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:75px 10%;margin:35px 5% 0}.store-section h2{font:400 clamp(40px,5vw,74px)/1.06 var(--serif);letter-spacing:-.04em;margin-top:28px}.store-copy{display:flex;flex-direction:column;align-items:start;justify-content:center;gap:26px}.store-copy>p{font-size:15px;line-height:1.9;max-width:310px}.store-copy .store-detail{font-size:12px;line-height:1.6}.how-section{padding:85px 5% 65px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:50px;margin-top:42px}.steps>div{border-top:1px solid var(--line);padding-top:20px}.steps span{font-size:10px;letter-spacing:.12em;color:var(--muted)}.steps h3{font:400 27px/1.3 var(--serif);margin:15px 0}.steps p{font-size:12px;color:var(--muted);max-width:290px}.faq-section{padding:0 5% 85px}.faq-section details{border-top:1px solid var(--line);padding:20px 0}.faq-section details:last-child{border-bottom:1px solid var(--line)}.faq-section summary{cursor:pointer;font-size:14px}.faq-section p{padding-top:18px;max-width:700px;font-size:13px;color:var(--muted)}.faq-section p a{text-decoration:underline}
.site-footer{padding:40px 5% 24px;background:#eae7dd}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.footer-top a{border-bottom:1px solid var(--ink);padding-bottom:4px}.footer-wordmark{font:400 clamp(76px,20vw,320px)/1 var(--serif);letter-spacing:-.07em;padding:45px 0 25px}.footer-bottom{display:flex;flex-wrap:wrap;gap:22px;justify-content:space-between;border-top:1px solid #0002;padding-top:20px;font-size:10px}.content-page{padding:80px 5%;max-width:1000px;margin:auto;min-height:50vh}.content-page h1{font:400 clamp(36px,5vw,72px)/1.15 var(--serif);margin:0 0 30px}.content-page p{margin:20px 0}.content-page article{margin-bottom:40px}.content-page a{text-decoration:underline}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:12px 22px;font-size:12px;z-index:5;opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;transition:opacity .2s}.toast.visible{opacity:1}dialog{border:0;padding:32px;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);background:var(--paper);color:var(--ink);margin:auto;overflow:auto}dialog::backdrop{background:#17171277}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:24px}.dialog-heading h2{font:400 42px/1.2 var(--serif);letter-spacing:-.04em;margin-top:10px}.close-button{border:0;background:none;font-size:30px;min-width:44px;min-height:44px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:22px 0;border-bottom:1px solid var(--line)}.cart-line h3{font:400 24px/1.2 var(--serif)}.cart-line p{font-size:11px;color:var(--muted);margin-top:7px}.cart-line-price{font-size:13px;text-align:right}.quantity-controls{display:flex;gap:6px;align-items:center;margin-top:14px}.quantity-controls button{border:1px solid var(--line);background:none;min-width:44px;min-height:44px}.quantity-controls output{min-width:24px;text-align:center;font-size:13px}.remove-button{display:block;background:none;border:0;padding:8px 0;font-size:11px;text-decoration:underline;margin-top:15px;min-height:44px}.order-total{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:28px;font-size:14px}.order-total strong{font-weight:400;font-size:21px}.order-explanation,.order-footnote{font-size:12px;color:var(--muted);margin:16px 0}.order-footnote{font-size:10px}.order-summary .button,#order-whatsapp{width:100%}.empty-order{padding:35px 0}.empty-order p{color:var(--muted);margin-bottom:25px}.empty-order button{width:100%}body.order-open{overflow:hidden}
@media(min-width:1500px){body{max-width:1800px;margin:auto}.hero-copy{padding-left:12%}.hero{min-height:750px}}
@media(max-width:1000px){.hero-copy{padding:60px 9%}.hero h1{font-size:65px}.hero{min-height:570px}.site-header{gap:20px}.site-header nav{gap:18px;font-size:11px}.product-grid{gap:16px}.product-art{padding:15px}.product-title{flex-wrap:wrap;gap:5px}.product-title h3{font-size:21px}.product-bottom{align-items:baseline;flex-wrap:wrap}.store-section{gap:35px;padding:60px 7%}.steps{gap:25px}}
@media(max-width:700px){.site-header{padding:22px 6%;flex-wrap:wrap;gap:20px}.brand{order:0}.order-toggle{order:1;margin-left:auto}.site-header nav{order:2;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:14px;gap:12px}.wordmark{font-size:24px}.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:55px 6% 42px}.hero h1{font-size:clamp(52px,10vw,76px);max-width:460px;margin:24px 0}.hero-copy>p{font-size:13px}.hero-art{min-height:0;height:430px}.hero-photo{object-position:center 63%}.hero-actions{margin-top:28px;gap:22px}.hero-note{font-size:10px}.coffee-section{padding:55px 6% 0}.section-heading{display:block;margin-bottom:30px}.section-heading>p{margin-top:18px}.section-heading>p br{display:none}.section-heading h2,.how-section h2{font-size:36px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.product-art{padding:16px;aspect-ratio:1/1.25}.origin-number{font-size:75px}.origin-label span:first-child{font-size:19px}.label-top{font-size:7px;letter-spacing:.06em}.product-title{display:block}.product-title h3{font-size:24px}.product-title>span{display:block;margin-top:5px}.product-info{font-size:10px;min-height:32px}.product-bottom{display:block;font-size:10px}.add-button{width:100%;margin-top:5px;border-top:1px solid var(--line);padding-top:10px}.shop-note{font-size:11px;justify-content:start;gap:5px}.store-section{margin:20px 0 0;grid-template-columns:1fr;padding:55px 6%;gap:35px}.store-section h2{font-size:58px}.store-copy>p{font-size:14px;max-width:400px}.how-section{padding:55px 6%}.steps{grid-template-columns:1fr;gap:28px;margin-top:32px}.steps h3{margin:10px 0;font-size:28px}.steps p{max-width:none}.faq-section{padding:0 6% 55px}.site-footer{padding:30px 6%}.footer-top{align-items:start;flex-direction:column;font-size:11px}.footer-wordmark{font-size:23vw;padding:40px 0 28px}.footer-bottom{justify-content:start;gap:15px;font-size:9px}dialog{padding:24px}.button{gap:25px}.toast{bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
