/*
Theme Name: NUA Editorial Shop
Theme URI: https://bynua.cl
Author: by NUA
Description: Tema editorial inspirado en el mockup NUA: tienda liviana, rituales, Journal y marca.
Version: 2.0.0
Text Domain: nua-editorial
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap');

:root{
  --bg:#f4f0e8;
  --paper:#f8f5ef;
  --ink:#28251f;
  --muted:#756f64;
  --line:#d8d0c3;
  --wine:#6e3d3c;
  --sage:#8b9077;
  --cream:#eee7dc;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.45}
a{color:inherit}
img{max-width:100%;display:block}
.shell{width:min(1280px,94vw);margin:auto}
.serif{font-family:'Libre Caslon Display',Georgia,serif}
.site-header{height:72px;background:rgba(244,240,232,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}
.header-inner{height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.brand{font-family:'Libre Caslon Display',Georgia,serif;font-size:34px;text-decoration:none;letter-spacing:-.02em}
.main-nav{display:flex;gap:34px;align-items:center}
.main-nav a{text-decoration:none;font-size:13px;font-weight:600;padding:27px 0 24px;position:relative}
.main-nav a:hover:after,.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:18px;height:1px;background:var(--ink)}
.header-icons{justify-self:end;display:flex;gap:15px}
.icon{width:20px;height:20px;display:grid;place-items:center;text-decoration:none}
.icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}

/* HERO */
.hero{height:625px;position:relative;background:
linear-gradient(90deg,rgba(28,24,18,.42),rgba(28,24,18,.08)),
url('https://images.unsplash.com/photo-1780815227186-9adce46d69f6?auto=format&fit=crop&q=82&w=1900') center/cover no-repeat}
.hero-inner{height:100%;display:flex;align-items:center}
.hero-copy{color:#fff;width:min(470px,85vw);margin-left:1.5vw}
.hero h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:66px;line-height:.98;font-weight:400;margin:0 0 24px}
.hero p{font-size:20px;max-width:430px;margin:0 0 28px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border:1px solid var(--ink);background:transparent;text-decoration:none;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.btn.light{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.btn.wine{background:var(--wine);border-color:var(--wine);color:#fff}
.btn.dark{background:#2a2925;color:#fff;border-color:#2a2925}
.benefits{border-bottom:1px solid var(--line);background:var(--paper)}
.benefits-inner{display:grid;grid-template-columns:repeat(4,1fr);min-height:82px}
.benefit{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;border-right:1px solid var(--line)}
.benefit:last-child{border-right:0}.benefit svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}

/* SECTIONS */
.section{padding:55px 0;border-bottom:1px solid var(--line)}
.section.white{background:var(--paper)}
.kicker{font-size:13px;color:var(--muted)}
.section h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:45px;font-weight:400;line-height:1.05;margin:0 0 7px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-head p{margin:0;color:var(--muted)}
.text-link{font-size:13px;text-decoration:none}

/* NEED GRID */
.need-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.need-item{text-align:center;text-decoration:none}
.need-img{height:205px;overflow:hidden;background:#ddd}
.need-img img{width:100%;height:100%;object-fit:cover;transition:.4s transform}
.need-item:hover img{transform:scale(1.035)}
.need-item h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:20px;font-weight:400;line-height:1.05;margin:12px 5px 0}

/* FEATURE */
.feature{display:grid;grid-template-columns:.86fr 1.14fr;min-height:490px}
.feature-copy{padding:56px 50px;display:flex;flex-direction:column;justify-content:center;background:var(--paper)}
.feature-copy h2{font-size:43px}
.feature-copy h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:28px;font-weight:400;margin:20px 0 14px}
.price{font-family:'Libre Caslon Display',Georgia,serif;font-size:22px;margin:22px 0}
.feature-image{min-height:490px;background:url('https://images.unsplash.com/photo-1755744467095-c441e55ed5f7?auto=format&fit=crop&q=82&w=1400') center/cover}

/* STORY */
.story{display:grid;grid-template-columns:.85fr 1.15fr;min-height:440px}
.story-copy{padding:60px 55px;display:flex;flex-direction:column;justify-content:center}
.story-copy h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:48px;line-height:1;margin:0 0 20px}
.story-image{background:url('https://images.unsplash.com/photo-1741249075351-c09637c89bf7?auto=format&fit=crop&q=82&w=1400') center/cover}

/* JOURNAL */
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.journal-card{border:1px solid var(--line);text-decoration:none;background:var(--paper)}
.journal-card img{height:245px;width:100%;object-fit:cover}
.journal-copy{padding:16px 17px 20px}
.journal-copy h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:22px;font-weight:400;line-height:1.1;margin:0 0 14px}
.journal-copy .cat{font-size:11px;text-transform:uppercase;color:#8f5c5a;letter-spacing:.05em}

/* NEWSLETTER */
.newsletter{min-height:340px;background:
linear-gradient(90deg,rgba(40,32,26,.46),rgba(40,32,26,.12)),
url('https://images.unsplash.com/photo-1773064525063-5d4ed2a40ff1?auto=format&fit=crop&q=82&w=1800') center/cover;display:flex;align-items:center;color:#fff}
.newsletter h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:45px;font-weight:400;margin:0 0 8px}
.newsletter p{margin:0 0 22px}
.news-form{display:flex;max-width:520px}
.news-form input{flex:1;height:48px;border:0;padding:0 15px;font:inherit}
.news-form button{width:120px;border:0;background:#2a2925;color:#fff;font-size:12px;font-weight:600}

/* FOOTER */
.site-footer{padding:52px 0 28px;background:var(--bg)}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr .8fr;gap:50px;padding-bottom:42px}
.footer-brand{font-size:39px;font-family:'Libre Caslon Display',Georgia,serif}
.footer-grid h4{font-family:'Libre Caslon Display',Georgia,serif;font-size:16px;font-weight:400;margin:0 0 13px}
.footer-grid a{display:block;text-decoration:none;font-size:12px;color:var(--muted);margin:7px 0}
.footer-bottom{padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}

/* SHOP PAGE */
.page-title{padding:45px 0 25px}
.page-title h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:56px;font-weight:400;margin:0}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin:22px 0}
.shop-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin:15px 0 35px}
.shop-cat{text-align:center}.shop-cat .circle{width:126px;height:126px;border-radius:50%;overflow:hidden;margin:auto}.shop-cat img{width:100%;height:100%;object-fit:cover}.shop-cat span{display:block;margin-top:10px;font-family:'Libre Caslon Display',Georgia,serif;font-size:17px}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:60px}
.product{border:1px solid var(--line);background:var(--paper);position:relative}
.product img{width:100%;height:295px;object-fit:cover}
.product-body{padding:14px}.product h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:17px;font-weight:400;margin:0 0 4px}.product .price{font-family:inherit;font-size:14px;margin:0 0 13px;font-weight:600}
.product .btn{width:100%;min-height:40px}
.badge{position:absolute;top:10px;left:10px;background:#49443d;color:white;font-size:10px;padding:5px 8px;text-transform:uppercase}

/* CONTENT */
.content-wrap{padding:55px 0 85px;max-width:900px}
.content-wrap h1,.content-wrap h2,.content-wrap h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400}
.content-wrap h1{font-size:54px}

/* MOBILE */
@media(max-width:900px){
 .header-inner{grid-template-columns:1fr auto}.main-nav{display:none}.hero{height:560px}.hero h1{font-size:50px}
 .benefits-inner{grid-template-columns:1fr 1fr}.benefit{min-height:66px;border-bottom:1px solid var(--line)}
 .need-grid{grid-template-columns:repeat(3,1fr)}.feature,.story{grid-template-columns:1fr}.story-image,.feature-image{min-height:360px}.journal-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.shop-cats{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
 .hero h1{font-size:43px}.need-grid{grid-template-columns:repeat(2,1fr)}.need-img{height:180px}.feature-copy,.story-copy{padding:42px 24px}.section h2{font-size:38px}.shop-cats{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.newsletter h2{font-size:38px}.footer-bottom{flex-direction:column;gap:8px}.header-icons{gap:10px}.brand{font-size:30px}
}
