
/* Movimiento fotográfico: suave, accesible y sin afectar la navegación */
@keyframes heroDrift{0%{transform:scale(1.04) translate3d(-.5%,0,0)}50%{transform:scale(1.09) translate3d(.8%,-.7%,0)}100%{transform:scale(1.04) translate3d(-.5%,0,0)}}
@keyframes photoReveal{from{opacity:.35;transform:translateY(34px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.hero-visual>img{animation:heroDrift 14s ease-in-out infinite;will-change:transform}
.product-card,.story-image{animation:photoReveal both;animation-timeline:view();animation-range:entry 5% cover 32%}
.product-image{position:relative}.product-image:after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.42) 50%,transparent 65%);transform:translateX(-120%);transition:transform .75s ease;pointer-events:none}.product-card:hover .product-image:after{transform:translateX(120%)}
.story-image{overflow:hidden}.story-image img{transition:transform 1.1s cubic-bezier(.2,.7,.2,1),filter .6s ease}.story:hover .story-image img{transform:scale(1.055);filter:saturate(1.06)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-visual>img,.product-card,.story-image{animation:none!important}.product-image img,.story-image img,.button{transition:none!important}}
/*
Theme Name: C & G Home Store
Theme URI: https://example.com/cg-home-store
Author: C & G Home Store
Description: Plantilla cálida y elegante para una tienda de muebles, decoración y artículos para el hogar.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cg-home-store
*/
:root{--cream:#f7f2ea;--paper:#fffdf9;--ink:#2a1c14;--copper:#a65f2d;--brown:#4b2e1f;--line:#e7ddd1}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.announcement{padding:9px 20px;background:var(--brown);color:#fff8ef;text-align:center;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.site-header{height:84px;padding:0 clamp(22px,5vw,76px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);background:rgba(255,253,249,.94);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;width:max-content;font-family:Georgia,serif;font-size:22px;font-weight:700;letter-spacing:.04em}.brand img{width:50px;height:50px;border-radius:50%;object-fit:cover}.brand small{display:block;font:600 8px Arial,sans-serif;letter-spacing:.24em;margin-top:3px}nav{display:flex;gap:34px;font-size:14px}nav a:hover{color:var(--copper)}.header-action{justify-self:end;display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700}.menu-button{display:none;border:0;background:transparent}.hero{min-height:calc(100vh - 117px);display:grid;grid-template-columns:1fr 1.05fr;background:var(--cream)}.hero-copy{padding:clamp(72px,10vw,150px) clamp(24px,8vw,120px);display:flex;flex-direction:column;justify-content:center}.eyebrow{margin:0 0 18px;color:var(--copper);font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.04em}h1{margin:0;font-size:clamp(48px,6vw,86px);line-height:.98;max-width:720px}h1 em{color:var(--copper);font-weight:400}.hero-text{max-width:560px;margin:28px 0 34px;color:#6b584b;font-size:18px;line-height:1.7}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.button{min-height:50px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:2px;font-size:14px;font-weight:700;transition:.2s ease}.button:hover{transform:translateY(-2px)}.primary{background:var(--brown);color:white}.ghost{border:1px solid #cdbdab}.hero-note{display:flex;gap:22px;margin-top:46px;color:#877467;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.hero-note span+span:before{content:'•';margin-right:22px;color:var(--copper)}.hero-visual{min-height:620px;position:relative;overflow:hidden}.hero-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(42,28,20,.08),transparent 30%)}.hero-visual>img{width:100%;height:100%;object-fit:cover}.floating-card{position:absolute;z-index:2;right:7%;bottom:8%;background:rgba(255,253,249,.94);padding:22px 28px;box-shadow:0 16px 50px rgba(46,30,20,.15)}.floating-card strong,.floating-card span{display:block}.floating-card strong{font-family:Georgia,serif;font-size:20px}.floating-card span{margin-top:5px;color:#7b6658;font-size:13px}.featured{padding:110px clamp(22px,6vw,90px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:42px}.section-heading h2,.story h2,.location h2{font-size:clamp(38px,4.2vw,60px);line-height:1.05;margin:0}.section-heading>a,.text-link{display:flex;align-items:center;gap:8px;color:var(--copper);font-size:14px;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:42px 22px}.product-image{aspect-ratio:4/3;background:var(--cream);overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;transition:.35s ease}.product-card:hover img{transform:scale(1.04)}.product-card p{margin:17px 0 6px;color:var(--copper);font-size:11px;text-transform:uppercase;letter-spacing:.16em}.product-card h3{margin:0;font:400 21px Georgia,serif}.story{display:grid;grid-template-columns:1fr 1fr;background:#eee4d8}.story-image{min-height:570px}.story-image img{width:100%;height:100%;object-fit:cover}.story-copy{padding:clamp(55px,8vw,120px);display:flex;flex-direction:column;justify-content:center}.story-copy>p:not(.eyebrow){color:#6b584b;font-size:18px;line-height:1.7;max-width:540px}.story-copy .text-link{margin-top:22px}.location{padding:80px clamp(24px,8vw,120px);background:var(--brown);color:white;display:flex;align-items:center;justify-content:space-between;gap:40px}.location .eyebrow{color:#dba270}.location p:last-child{max-width:700px;color:#e2d5ca;line-height:1.65}.light{background:white;color:var(--brown);flex-shrink:0}footer{padding:38px clamp(24px,6vw,90px);display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:40px;border-top:1px solid var(--line);font-size:12px;color:#7b675a}.footer-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font:17px Georgia,serif}.footer-brand img{width:42px;height:42px;border-radius:50%;object-fit:cover}@media(max-width:900px){.site-header{grid-template-columns:1fr auto}.site-header nav,.header-action{display:none}.menu-button{display:block}.hero{grid-template-columns:1fr}.hero-visual{min-height:500px}.product-grid{grid-template-columns:repeat(2,1fr)}.story{grid-template-columns:1fr}.location{align-items:flex-start;flex-direction:column}footer{grid-template-columns:1fr}}@media(max-width:560px){.announcement{font-size:9px}.site-header{height:72px}.brand img{width:42px;height:42px}.hero-copy{padding:72px 24px}.hero-visual{min-height:390px}.hero-note{gap:10px;flex-wrap:wrap}.hero-note span+span:before{margin-right:10px}.featured{padding:78px 20px}.section-heading{align-items:flex-start;flex-direction:column}.product-grid{grid-template-columns:1fr}.story-image{min-height:390px}.story-copy{padding:70px 24px}.location{padding:65px 24px}footer{gap:12px}}
@media(max-width:900px){.site-header nav.is-open{display:flex;position:absolute;left:0;right:0;top:84px;padding:24px;background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;gap:20px}}
/* Portada panorámica */
.hero{display:block;min-height:0;background:var(--cream)}.hero-cover{width:100%;height:auto;min-height:0;aspect-ratio:1200/631;background:#d9b88e}.hero-cover>img{width:100%;height:100%;object-fit:cover;object-position:center}.cover-intro{padding:24px clamp(22px,6vw,90px);display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--cream);border-bottom:1px solid var(--line)}.cover-intro>p{max-width:720px;margin:0;color:#6b584b;font-size:16px;line-height:1.6}.cover-intro .hero-actions{flex-shrink:0}@media(max-width:760px){.cover-intro{align-items:flex-start;flex-direction:column}.hero-cover{aspect-ratio:1200/631}.cover-intro .hero-actions{width:100%}.cover-intro .button{flex:1}}@media(max-width:480px){.cover-intro .hero-actions{display:grid;grid-template-columns:1fr}.cover-intro .button{width:100%}}
.hero.hero{display:block!important;min-height:0!important}.hero .hero-cover{height:auto!important;min-height:0!important;aspect-ratio:1200/631}.hero .hero-cover>img{width:100%;height:100%;object-fit:cover;object-position:center}
.site-header{height:108px!important}.brand img,.brand .custom-logo{width:78px!important;height:78px!important;border:2px solid #d6b997;border-radius:50%;object-fit:cover;box-shadow:0 7px 22px rgba(75,46,31,.14)}.brand{gap:16px!important;font-size:25px!important}.brand small{font-size:9px!important}.categories{padding:92px clamp(22px,6vw,90px) 36px;background:var(--paper)}.categories-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:34px}.categories-heading h2{margin:0;font-size:clamp(38px,4.2vw,58px)}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{min-height:132px;padding:14px;display:grid;grid-template-columns:104px 1fr auto;align-items:center;gap:18px;border:1px solid var(--line);background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.category-card:hover{transform:translateY(-4px);border-color:#c89a72;box-shadow:0 16px 35px rgba(64,39,24,.1)}.category-card img{width:104px;height:104px;object-fit:contain;background:var(--cream)}.category-card span{min-width:0}.category-card strong{display:block;font:400 23px Georgia,serif}.category-card small{display:block;margin-top:7px;color:#79675a;font-size:12px;line-height:1.45}.category-card>b{color:var(--copper);font-size:22px}@media(max-width:980px){.category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.site-header{height:88px!important}.brand img,.brand .custom-logo{width:62px!important;height:62px!important}.brand{font-size:21px!important}.category-grid{grid-template-columns:1fr}.categories{padding-top:68px}}@media(max-width:420px){.category-card{grid-template-columns:86px 1fr auto}.category-card img{width:86px;height:86px}.category-card strong{font-size:20px}}
.store-catalog{padding:96px clamp(22px,6vw,90px);background:#f8f4ee}.store-catalog .catalog-top{display:flex;align-items:end;justify-content:space-between;gap:40px}.store-catalog .catalog-top h2{margin:0;font-size:clamp(40px,4.5vw,62px)}.store-catalog .catalog-top>div>p:last-child{max-width:680px;color:#746154;line-height:1.65}.store-catalog .catalog-search{width:min(360px,100%);height:52px;padding:0 17px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line)}.store-catalog .catalog-search input{width:100%;border:0;outline:0;background:transparent;font-size:14px}.store-catalog .catalog-filters{display:flex;gap:9px;margin:34px 0 18px;overflow-x:auto;padding-bottom:5px}.store-catalog .catalog-filters button{min-height:40px;padding:0 17px;white-space:nowrap;border:1px solid #d9cbbb;background:#fff;color:#5d493c;font-size:13px;cursor:pointer}.store-catalog .catalog-filters button.active,.store-catalog .catalog-filters button:hover{background:var(--brown);border-color:var(--brown);color:#fff}.store-catalog .catalog-count{margin-bottom:20px;color:#8a776a;font-size:12px}.store-catalog .catalog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 16px}.store-catalog .catalog-card{background:#fff;border:1px solid var(--line);transition:transform .25s ease,box-shadow .25s ease}.store-catalog .catalog-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(65,41,26,.11)}.store-catalog .catalog-card[hidden]{display:none}.store-catalog .catalog-image{aspect-ratio:1/1;position:relative;overflow:hidden;background:#f4eee6}.store-catalog .catalog-image img{width:100%;height:100%;object-fit:contain;transition:transform .5s ease}.store-catalog .catalog-card:hover .catalog-image img{transform:scale(1.055)}.store-catalog .catalog-image span{position:absolute;left:11px;top:11px;padding:7px 9px;background:rgba(255,253,249,.94);color:#6d4d37;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.store-catalog .catalog-info{padding:18px}.store-catalog .catalog-info>p{margin:0 0 7px;color:var(--copper);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.store-catalog .catalog-info h3{min-height:48px;margin:0;font:400 20px/1.2 Georgia,serif}.store-catalog .catalog-info a{margin-top:15px;padding-top:13px;display:block;border-top:1px solid var(--line);font-size:12px;font-weight:800}.store-catalog .catalog-empty{padding:60px;text-align:center;background:#fff;border:1px solid var(--line)}.store-catalog .catalog-empty>*{display:block}.store-catalog .catalog-empty strong{font:24px Georgia,serif}.store-catalog .catalog-empty span{margin-top:8px;color:#796658}.store-catalog .catalog-visit{margin-top:42px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--brown);color:#fff}.store-catalog .catalog-visit div>*{display:block}.store-catalog .catalog-visit strong{font:22px Georgia,serif}.store-catalog .catalog-visit small{margin-top:5px;color:#dfd1c6}@media(max-width:1050px){.store-catalog .catalog-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.store-catalog .catalog-top{align-items:flex-start;flex-direction:column}.store-catalog .catalog-search{width:100%}.store-catalog .catalog-grid{grid-template-columns:repeat(2,1fr)}.store-catalog .catalog-visit{align-items:flex-start;flex-direction:column}}@media(max-width:500px){.store-catalog{padding:72px 16px}.store-catalog .catalog-grid{gap:10px}.store-catalog .catalog-info{padding:13px}.store-catalog .catalog-info h3{font-size:17px}.store-catalog .catalog-image span{font-size:8px}.store-catalog .catalog-visit{padding:23px}.store-catalog .catalog-visit .button{width:100%}}
