/*
Theme Name: Historica Miniatures
Author: Historica Miniatures
Description: Diseño editorial de Historica. Portada y páginas con bloques nativos; catálogo de referencia sin venta activa.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: historica
*/
@font-face{font-family:Cormorant;src:url('assets/cormorant-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/cormorant-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-500.woff2') format('woff2');font-weight:500;font-display:swap}
:root{--paper:#f7f4ee;--cream:#eee8dd;--ink:#332d27;--muted:#70665b;--line:#d8d0c4;--gold:#8b7355;--white:#fffdf9;--serif:Cormorant,Georgia,serif;--sans:Manrope,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.65 var(--sans)}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{display:block;width:100%;height:auto}button{background:none;border:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}::selection{background:#d7c5aa}p{margin:0 0 1.4rem}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.05;margin:0}h1{font-size:clamp(3.6rem,6.2vw,6.2rem);letter-spacing:-.035em}h2{font-size:clamp(2.5rem,4vw,4.2rem);letter-spacing:-.025em}h3{font-size:1.8rem}small{font-size:13px}.wrap{width:min(1440px,calc(100% - 112px));margin:auto}.eyebrow{font-size:12px;letter-spacing:.19em;text-transform:uppercase;font-weight:500;color:var(--muted);margin-bottom:24px}.rule-link{font-size:14px;padding:6px 0;border-bottom:1px solid var(--ink);display:inline-block}.rule-link:hover{color:var(--gold);border-color:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 28px;background:var(--ink);color:var(--paper);font-size:14px;letter-spacing:.02em;border:1px solid var(--ink);transition:background .2s}.button:hover{background:#57493a}.button.outline{background:transparent;color:var(--ink);border-color:var(--line)}.button.outline:hover{border-color:var(--ink)}.skip{position:absolute;left:20px;top:-60px;z-index:9;background:var(--ink);color:white;padding:10px}.skip:focus{top:5px}
.masthead{position:relative;display:flex;align-items:center;justify-content:center;height:124px;border-bottom:1px solid var(--line)}.wordmark{width:254px;display:block}.header-side{position:absolute;left:0;font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--muted)}.header-actions{position:absolute;right:0;display:flex;align-items:center;gap:22px;font-size:13px}.search-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.25}.icon-button{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}.menu-toggle{display:none}.nav{min-height:64px;display:flex;justify-content:center;align-items:center;gap:44px;font-size:14px}.nav a{padding:14px 0;position:relative}.nav a::after{content:'';position:absolute;left:0;bottom:8px;width:0;height:1px;background:var(--gold);transition:width .2s}.nav a:hover::after,.nav a[aria-current=page]::after{width:100%}.nav .nav-special{color:var(--gold)}
.hero{display:grid;grid-template-columns:47% 53%;min-height:620px;background:var(--cream)}.hero-copy{padding:clamp(40px,5.8vw,92px) 38px clamp(38px,4vw,70px) clamp(36px,5vw,80px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero h1{margin-bottom:26px}.hero .intro{max-width:340px;color:var(--muted);font-size:16px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:8px}.hero-art{position:relative;overflow:hidden;min-width:0}.hero-art img{height:100%;object-fit:cover;object-position:50% 42%}.hero-caption{position:absolute;bottom:20px;left:25px;right:25px;display:flex;justify-content:space-between;gap:14px;color:#3b3125;font-size:12px;padding:10px 13px;background:rgba(247,244,238,.91)}.hero-caption span:last-child{white-space:nowrap}.edition-line{display:flex;justify-content:space-between;gap:24px;padding:23px 0;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.section{padding:94px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:40px}.section-heading .eyebrow{margin-bottom:16px}.section-heading .rule-link{flex-shrink:0;margin-bottom:6px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.product-card{min-width:0}.product-image{overflow:hidden;background:#eeece8;aspect-ratio:4/5;display:block;position:relative}.product-image img{height:100%;object-fit:cover;transition:transform .5s}.product-card:hover .product-image img{transform:scale(1.035)}.product-card:nth-child(3) .product-image img,.product-card:nth-child(4) .product-image img{object-fit:contain;background:#fff}.product-tag{position:absolute;top:14px;left:14px;padding:4px 8px;background:rgba(247,244,238,.93);font-size:10px;letter-spacing:.07em;text-transform:uppercase}.product-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:21px 0 8px}.product-card h3{font-size:1.7rem;line-height:1.15;margin-bottom:9px}.product-card .caption{font-size:13px;color:var(--muted);margin:0}.reference-note{font-size:12px;color:var(--muted);margin:28px 0 0;max-width:800px}.collection{display:grid;grid-template-columns:57% 43%;background:#e9e1d5}.collection-art{position:relative;min-height:520px;overflow:hidden}.collection-art img{height:100%;object-fit:cover;object-position:50% 48%}.collection-copy{padding:65px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.collection-copy h2{margin-bottom:28px}.collection-copy p:not(.eyebrow){font-size:15px;color:var(--muted);max-width:370px}.collection-copy .rule-link{margin-top:16px}.periods{display:grid;grid-template-columns:36% 64%;gap:0}.periods-copy{max-width:330px}.period-list{border-top:1px solid var(--line)}.period-list a{padding:21px 0;display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid var(--line);gap:20px}.period-list a:hover{color:var(--gold)}.period-list b{font:400 1.9rem var(--serif)}.period-list span{font-size:12px;color:var(--muted)}.manifesto{border-top:1px solid var(--line);text-align:center;padding:84px 24px 90px}.monogram{width:62px;margin:0 auto 25px}.manifesto h2{font-size:clamp(2.6rem,4.5vw,4.4rem);max-width:860px;margin:0 auto 26px}.manifesto p{color:var(--muted);max-width:600px;margin:0 auto;line-height:1.9;font-size:15px}.format-section{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-top:1px solid var(--line);padding:54px 0 72px}.format-section h3{font-size:2.1rem;margin-bottom:18px}.format-section p{max-width:420px;font-size:14px;color:var(--muted)}.format-section>div+div{border-left:1px solid var(--line);padding-left:50px}.footer{background:var(--ink);color:var(--paper);padding:55px 0 25px}.footer-main{display:flex;justify-content:space-between;align-items:start;gap:35px;padding-bottom:48px}.footer .wordmark{width:242px}.footer p{font-size:13px;color:#c5bcae;margin-top:20px}.footer-links{display:flex;gap:38px;flex-wrap:wrap;font-size:14px}.footer-bottom{border-top:1px solid #5d5246;padding-top:22px;display:flex;justify-content:space-between;gap:25px;color:#c5bcae;font-size:11px}.preview-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#cfbfaa}.footer-bottom a{text-decoration:underline;text-underline-offset:3px}
.breadcrumb{font-size:12px;color:var(--muted);padding:30px 0}.breadcrumb a{text-decoration:underline;text-underline-offset:4px}.page-intro{padding:35px 0 48px;max-width:750px}.page-intro h1{font-size:clamp(3.3rem,5vw,5.2rem);margin-bottom:25px}.page-intro p:not(.eyebrow){color:var(--muted);max-width:580px}.filter-bar{display:flex;gap:20px;align-items:end;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;margin-bottom:36px}.field{display:flex;flex-direction:column;gap:8px;min-width:150px;flex:1}.field label{font-size:12px;color:var(--muted)}input,select{border:1px solid var(--line);background:var(--white);border-radius:0;min-height:46px;padding:10px 12px;font-size:14px;max-width:100%;width:100%}.filter-clear{padding:12px 6px;font-size:13px;text-decoration:underline;min-height:46px}.result-count{font-size:12px;color:var(--muted);margin:0 0 24px}.empty-state{grid-column:1/-1;padding:65px 30px;text-align:center;border:1px solid var(--line)}.empty-state h2{font-size:2.5rem;margin-bottom:20px}.empty-state p{color:var(--muted)}.catalog-area{padding-bottom:100px}
.product-layout{display:grid;grid-template-columns:55% 45%;gap:0;padding-bottom:80px}.detail-photo{background:#eee6d9;position:relative;align-self:start}.detail-photo img{aspect-ratio:1/1;object-fit:cover}.photo-note{font-size:11px;color:var(--muted);padding:13px 16px;background:var(--paper);margin:0;border:1px solid var(--line)}.detail-copy{padding:22px 0 0 65px}.detail-copy h1{font-size:clamp(3rem,4.8vw,5rem);margin-bottom:22px}.detail-copy .description{color:var(--muted);font-size:15px;margin-bottom:28px}.format-label{display:inline-block;border:1px solid #c4b5a0;color:#65523a;padding:6px 10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:24px}.specs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin:0 0 30px}.specs div{padding:14px 0;border-bottom:1px solid var(--line)}.specs dt{font-size:11px;color:var(--muted);margin-bottom:4px}.specs dd{font-size:14px;margin:0}.product-state{padding:20px 22px;background:var(--cream);margin-bottom:25px}.product-state strong{font-size:14px;font-weight:500}.product-state p{margin:8px 0 0;font-size:12px;color:var(--muted)}details{border-top:1px solid var(--line)}details:last-of-type{border-bottom:1px solid var(--line)}summary{padding:17px 0;font-size:14px;cursor:pointer}details p{font-size:14px;color:var(--muted);padding:0 0 6px}.detail-bottom{padding:10px 0 80px}.detail-bottom h2{margin-bottom:26px}.detail-bottom p{max-width:650px;color:var(--muted)}.brand-sheet{max-width:980px;margin:auto;padding:70px 0}.brand-canvas{padding:100px 70px;background:var(--cream);margin-bottom:24px}.brand-canvas img{width:80%;max-width:640px;margin:auto}.swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:40px 0}.swatch{aspect-ratio:1.1;padding:15px;display:flex;flex-direction:column;justify-content:end;border:1px solid var(--line);font-size:12px}.brand-sheet h2{margin:55px 0 25px}.brand-sheet p{max-width:720px;color:var(--muted)}.brand-downloads{display:flex;gap:20px;flex-wrap:wrap}.brand-downloads a{font-size:14px;text-decoration:underline}
@media(min-width:1600px){.hero{min-height:700px}.hero-art img{max-height:740px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{min-height:535px}.hero-copy{padding:45px 32px}.hero h1{font-size:4.8rem}.hero-actions{gap:18px;flex-wrap:wrap}.hero .intro{font-size:15px}.nav{gap:30px}.header-side{font-size:10px;max-width:160px}.collection-copy{padding:40px}.product-grid{gap:18px}.detail-copy{padding-left:38px}.periods{grid-template-columns:40% 60%}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.masthead{height:92px}.wordmark{width:204px}.header-side{display:none}.header-actions .explore-label{display:none}.header-actions{right:-8px}.menu-toggle{display:flex;position:absolute;left:-8px;font-size:24px}.nav{display:none;align-items:stretch;gap:0;padding:10px 0 20px}.nav.is-open{display:flex;flex-direction:column}.nav a{padding:12px 0;border-bottom:1px solid var(--line)}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:45px 28px 40px}.hero h1{font-size:4.2rem;max-width:370px;margin-bottom:22px}.hero .eyebrow{font-size:10px;letter-spacing:.17em;margin-bottom:20px}.hero .intro{max-width:360px;font-size:15px;line-height:1.8}.hero-art{height:auto;aspect-ratio:1.1}.hero-art img{object-position:center 42%}.hero-caption{bottom:14px;left:16px;right:16px;font-size:10px;padding:8px 10px}.hero-actions{gap:24px;margin-top:0}.hero-actions .button{padding:12px 20px}.hero-actions .rule-link{font-size:13px}.edition-line{font-size:9px;gap:14px;line-height:1.7;padding:18px 0}.edition-line span:last-child{display:none}.section{padding:62px 0}.section-heading{align-items:start;gap:20px;margin-bottom:28px}.section-heading h2{font-size:2.7rem}.section-heading .rule-link{font-size:12px;margin-top:43px}.eyebrow{font-size:10px;margin-bottom:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 15px}.product-tag{font-size:8px;left:8px;top:8px}.product-meta{font-size:9px;letter-spacing:.04em;margin-top:14px;gap:4px}.product-card h3{font-size:1.45rem}.product-card .caption{font-size:11px}.reference-note{font-size:11px;line-height:1.8}.collection{grid-template-columns:1fr}.collection-art{min-height:0;height:310px}.collection-copy{padding:38px 28px 45px}.collection-copy h2{font-size:3rem}.collection-copy p:not(.eyebrow){font-size:14px}.periods{grid-template-columns:1fr;gap:32px}.periods-copy{max-width:none}.period-list b{font-size:1.6rem}.period-list span{font-size:11px}.period-list a{padding:18px 0}.manifesto{padding:58px 12px}.manifesto h2{font-size:3rem}.manifesto p{font-size:14px}.format-section{grid-template-columns:1fr;gap:30px;padding:40px 0 50px}.format-section>div+div{padding:30px 0 0;border-left:0;border-top:1px solid var(--line)}.footer-main{flex-direction:column;gap:20px;padding-bottom:35px}.footer-links{gap:20px;font-size:13px}.footer-bottom{flex-direction:column;gap:12px}.footer .wordmark{width:220px}.breadcrumb{padding:24px 0;font-size:11px}.page-intro{padding:18px 0 30px}.page-intro h1{font-size:3.5rem}.filter-bar{flex-wrap:wrap;gap:16px}.field:first-child{flex-basis:100%}.field{min-width:120px}.filter-clear{width:100%;text-align:left;padding:4px 0;min-height:32px}.product-layout{grid-template-columns:1fr}.detail-copy{padding:35px 0 0}.detail-copy h1{font-size:3.5rem}.photo-note{font-size:10px}.catalog-area{padding-bottom:65px}.brand-sheet{padding:30px 0}.brand-canvas{padding:60px 25px}.brand-canvas img{width:100%}.swatches{grid-template-columns:repeat(3,1fr)}.swatch{font-size:10px;padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
.collection-copy p:not(.eyebrow),.manifesto p,.format-section p,.detail-copy .description,details p{font-size:16px}
.product-meta{font-size:12px;letter-spacing:.04em;flex-wrap:wrap}.product-tag{font-size:11px}.field label{font-size:14px}.empty-state[hidden],.product-card[hidden]{display:none}
@media(max-width:760px){.hero h1{font-size:clamp(2.65rem,13vw,3.4rem)}.hero .intro{font-size:16px}.eyebrow,.hero .eyebrow{font-size:11px}.product-meta{font-size:11px}.product-tag{font-size:10px}.product-card .caption{font-size:12px}.reference-note,.photo-note{font-size:12px}.hero-caption{font-size:11px}.edition-line{font-size:10px}.section-heading .rule-link{font-size:13px}}
@media(max-width:380px){.masthead .wordmark{width:176px}.detail-bottom .section-heading{flex-direction:column}.detail-bottom .section-heading .rule-link{margin-top:0}}
@media(min-width:761px) and (max-width:1100px){.hero h1{font-size:clamp(3.25rem,6.1vw,4.8rem)}}

.nav{list-style:none;margin:0;padding:0}.nav li{list-style:none;margin:0;padding:0}.nav .current-menu-item>a::after{width:100%}.nav a[href*="#"]::after{width:0}.nav a[href*="#"]:hover::after{width:100%}
.hm-content .wp-block-image{margin:0}.hm-content .hero-art .wp-block-image,.hm-content .collection-art .wp-block-image{height:100%}
.hm-content .wp-block-image.monogram{width:62px;margin:0 auto 25px}.hm-content .brand-canvas .wp-block-image{width:80%;max-width:640px;margin:auto}.hm-content .brand-canvas .wp-block-image img{width:100%}
.hm-content .hero-actions>p{margin:0}.hm-content .brand-downloads>p{margin:0}.hm-content .section-heading .wp-block-heading{margin:0}
.hm-generic{padding:70px 0}.hm-generic h1{margin-bottom:36px}.hm-generic p{max-width:760px}.hm-generic .wp-block-image{max-width:100%}
.hm-content .product-layout{margin-bottom:0}.hm-content .product-state p{font-size:12px}.wp-block-image img{vertical-align:middle}.editor-styles-wrapper{background:#f7f4ee}
@media(max-width:760px){.nav.is-open{padding:10px 0 20px}.nav a{display:block}.hm-content .brand-canvas .wp-block-image{width:100%}}
