/*
Theme Name: Spices De Gar
Description: Diseño de Spices De Gar con catálogo bilingüe, recorrido y consultas por correo.
Version: 1.0.0
Author: Cafés Tostaditos De Gar
Text Domain: spices-degar
Requires PHP: 7.4
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfaf2;color:#183529;font:16px/1.6 system-ui,sans-serif}img{display:block;width:100%;object-fit:cover}a{color:inherit}button,select,input,textarea{font:inherit}button{cursor:pointer}header,footer{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px clamp(20px,6vw,96px)}header{background:#fbfaf2;border-bottom:1px solid #e1e5d3}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:850;letter-spacing:.08em;line-height:1.15}.brand img{width:48px;height:48px;object-fit:contain;border-radius:50%}.brand small{display:block;margin-top:6px;font-size:9px;letter-spacing:.19em}nav{display:flex;gap:clamp(10px,2vw,30px);flex-wrap:wrap}nav a{text-decoration:none;font-weight:650;font-size:.9rem}nav a:hover{text-decoration:underline}button{border:1px solid #497258;background:transparent;color:inherit;padding:7px 13px;border-radius:50px}.hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;background:#e9f1cd;padding:clamp(25px,6vw,90px);gap:clamp(24px,5vw,80px)}h1,h2,h3{margin:0;line-height:1.03;letter-spacing:-.045em;font-family:Georgia,serif}h1{font-size:clamp(3.4rem,7vw,7.5rem);max-width:9ch}h2{font-size:clamp(2.6rem,5vw,5rem)}h3{font-size:clamp(1.55rem,2.4vw,2.4rem)}.hero p:not(.eyebrow){max-width:34ch;font-size:1.2rem}.eyebrow{font-weight:800;letter-spacing:.18em;font-size:.72rem;margin:0 0 12px}figure{margin:0;position:relative}.hero img{aspect-ratio:1.13;border-radius:130px 14px 14px 14px}figcaption{position:absolute;bottom:12px;left:12px;background:#fbfaf2;padding:6px 10px;border-radius:8px;font-size:.7rem;letter-spacing:.1em;font-weight:800}.cta{display:inline-block;background:#184b34;color:#fff;border:0;border-radius:100px;padding:11px 19px;text-decoration:none;font-weight:700}.section{padding:clamp(32px,6vw,95px) clamp(20px,6vw,96px)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.cards article{background:#fff;border:1px solid #e1e5d3;border-radius:17px;overflow:hidden}.cards img{aspect-ratio:1.25}.cards article div{padding:19px}.cards p{font-size:.94rem}.cards a{font-weight:700}.gallery{background:#f2f1db}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photos button{padding:0;border:0;border-radius:14px;overflow:hidden}.photos img{aspect-ratio:1.4}.story,.company,.contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,65px);align-items:center}.story{background:#d7e6b5;margin-top:24px;padding:18px;border-radius:16px}.story img,.company img{border-radius:14px;aspect-ratio:1.7}.story img.in{animation:fade .55s ease both}@keyframes fade{from{opacity:.4}to{opacity:1}}.contact{background:#174a34;color:white;align-items:start}.contact .cta{background:#d9ecae;color:#173727}form{display:grid;gap:12px}label{display:grid;gap:4px;font-weight:650}input,select,textarea{width:100%;padding:9px;border:1px solid #d2ddc4;border-radius:7px;background:#fff;color:#132f23}small{line-height:1.35}footer{font-size:.84rem}dialog{width:min(760px,92vw);border:0;border-radius:15px;padding:12px;background:#fbfaf2;color:#183529}dialog img{max-height:72vh;object-fit:contain}dialog::backdrop{background:#10281de0}#close{float:right;margin-bottom:8px}:focus-visible{outline:3px solid #d58c2e;outline-offset:3px}@media(max-width:650px){header{flex-wrap:wrap}nav{order:3;width:100%}.hero,.company,.contact,.story{grid-template-columns:1fr}.hero img{border-top-left-radius:70px}.photos{grid-template-columns:repeat(2,1fr)}.cards article div{padding:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.story img.in{animation:none}}
.language-tools{display:grid;justify-items:center;gap:2px}.language-tools a{font-size:.74rem}.hero img{object-position:center}.hero h1{max-width:18ch;font-size:clamp(2.5rem,5vw,5rem)}.product-no-photo{min-height:145px;display:grid;place-items:center;background:#e7efcf;color:#24533b;font:italic 2.1rem Georgia,serif}
@media(max-width:480px){.cards{gap:10px}}
.language-tools select{width:auto;max-width:210px;font-size:.76rem;background:#fbfaf2;border-radius:20px}

.reel-link{display:inline-block;margin:8px 0 8px 10px;text-underline-offset:3px;font-weight:650}
.hero img{background:#e4e1d8;object-position:50% 68%}
.reel{padding:clamp(20px,4vw,48px) clamp(12px,3vw,52px) 0}
.reel .story{display:block;margin:0;padding:clamp(10px,2vw,26px);text-align:center}
.reel h2{font-size:clamp(1.4rem,5.5vw,5rem);white-space:nowrap}
.reel-intro{margin:8px 0 16px}
.reel #scene{width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover}
.reel #sceneLabel{margin:8px 0;min-height:1.6em}
.reel-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.reel-controls button{padding:4px 2px;min-height:32px;font-size:.82rem;white-space:nowrap}
.shipment{margin-top:12px}
.shipment summary{cursor:pointer;font-weight:650;width:fit-content}
.shipment video{display:block;width:min(100%,760px);margin:12px auto 0;border-radius:14px}
.pulse-gallery{margin-top:32px}
.pulse-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:760px}
.pulse-photos figure{background:#f3ecdf;border-radius:14px;overflow:hidden}
.pulse-photos img{aspect-ratio:1}
.pulse-photos figcaption{position:static;font-size:.85rem;letter-spacing:normal;border-radius:0}

.product-detail{background:#eef2dd}
.product-detail[hidden],.pulse-gallery[hidden]{display:none}
.product-detail h2{margin:16px 0 22px}
#detailBody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
#detailBody section{background:#fbfaf2;border-radius:14px;padding:18px}
#detailBody h3{font-size:1.5rem}
#detailBody img{height:200px;object-fit:contain;border-radius:8px;background:#ece8dc}
#detailQuote{margin-top:20px}
.pulse-photos figcaption p{font-weight:400;margin:.4em 0 0}
@media(max-width:550px){.pulse-photos{grid-template-columns:1fr}.pulse-photos img{max-height:210px}}

.hero{align-items:start}
.hero .hero-about p:not(.eyebrow){font-size:1rem;max-width:50ch;margin:0 0 .65em}

.hero .reel-link{margin-left:0}

.opening{background:#e9f1cd}
.opening header{background:transparent;border-bottom:0}
.opening .brand img{width:58px;height:58px;mix-blend-mode:multiply}
.opening .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-top:clamp(8px,2vw,28px);background:transparent}
.opening .hero h1{grid-column:1 / -1;max-width:none;font-size:clamp(1rem,4.6vw,3.4rem)}
@media(min-width:651px){
 .opening .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(18px,3vw,44px)}
}

@media(max-width:650px){
 .opening .hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(10px,3vw,20px);padding-inline:clamp(12px,4vw,24px)}
 .opening .hero-about p:not(.eyebrow){font-size:.875rem}
 .opening .hero figure{align-self:start}
 .opening .hero figcaption{position:static;padding:5px 2px;background:transparent}
}

.contact-brand{display:flex;align-items:center;gap:10px}
.contact-brand img{width:58px;height:58px;object-fit:contain;filter:url(#pink-cup)}
.logo-filter{position:absolute}
.fruit-detail-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:10px}
.fruit-detail-photos figcaption{position:static;letter-spacing:normal}
#detailBody .fruit-detail-photos img{height:auto;aspect-ratio:4 / 3;object-fit:contain}

.opening header{padding-block:12px}
.opening .hero{padding-bottom:clamp(16px,4vw,60px);row-gap:clamp(8px,1.4vw,22px)}
.opening .hero img{aspect-ratio:1.3}
.contact{--contact-green:#174a34;background:var(--contact-green);padding-block:clamp(28px,5.4vw,85px);grid-template-areas:"info form" "actions form";row-gap:12px;align-content:start}
.contact-info{grid-area:info}
.contact-info p:not(.eyebrow){margin:.55em 0}
.contact #quote{grid-area:form;gap:10px}
.contact-actions{grid-area:actions;display:grid;justify-items:start;gap:7px}
.contact-brand img{background:transparent}
@media(max-width:650px){
 .contact{grid-template-areas:"info" "form" "actions"}
}
