/*
Theme Name: CazaRebajas
Theme URI: https://example.com/cazarebajas
Author: CazaRebajas
Description: Tema editorial para publicar guías de compra y ofertas con enlaces de afiliado.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: cazarebajas
*/

:root{--ink:#24191b;--muted:#6e6264;--paper:#f6f7f2;--surface:#fff;--red:#bd3039;--red-dark:#92242d;--coral:#f18578;--line:#ece5e4;--orange:#db594a;--radius:18px;--shadow:0 12px 35px rgba(36,25,27,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--red);text-decoration:none}a:hover{color:var(--red-dark)}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(1140px,calc(100% - 40px));margin-inline:auto}.site-header{background:var(--surface);border-bottom:1px solid var(--line)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:21px;font-weight:850;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--red);color:#fff;border-radius:12px;flex:0 0 36px}.brand-mark svg{display:block;width:100%;height:100%;fill:none;stroke:#fff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.brand-mark .bow-string{stroke-width:1.5;opacity:.82}.brand-mark .arrow-head{fill:#fff;stroke:none}.brand-wordmark{color:var(--ink)}.brand-accent{color:var(--red)}.site-nav ul{display:flex;gap:26px;list-style:none;margin:0;padding:0}.site-nav a{color:var(--ink);font-size:14px;font-weight:650}.site-nav a:hover{color:var(--red)}.header-search{display:flex;align-items:center;gap:8px}.header-search input{width:180px;border:1px solid var(--line);border-radius:999px;padding:9px 14px;background:#fffafa;font-size:13px}.header-search button{border:0;background:var(--red);color:#fff;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:700;cursor:pointer}.hero{padding:66px 0 56px;background:radial-gradient(ellipse at 88% 10%,rgba(241,87,94,.13),transparent 28%),linear-gradient(130deg,#fff0ef,#fffaf9 65%)}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:50px}.eyebrow{margin:0 0 13px;color:var(--red);font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:850}.hero h1{max-width:720px;margin:0;font-size:clamp(40px,5.8vw,68px);line-height:1.02;letter-spacing:-3px}.hero h1 em{color:var(--red);font-style:normal}.hero-copy{max-width:570px;margin:20px 0 26px;color:#5e5153;font-size:18px}.hero-cta{display:inline-flex;align-items:center;gap:10px;padding:13px 19px;background:var(--red);border-radius:999px;color:white;font-weight:750;box-shadow:0 6px 18px rgba(189,48,57,.2)}.hero-cta:hover{background:var(--red-dark);color:#fff}.hero-note{max-width:380px;padding:24px;border:1px solid #f1d7d7;border-radius:22px;background:rgba(255,255,255,.76);box-shadow:var(--shadow);transform:rotate(2deg)}.hero-note .spark{font-size:31px}.hero-note strong{display:block;font-size:20px;line-height:1.2;margin:12px 0 8px}.hero-note p{margin:0;color:var(--muted);font-size:14px}.disclosure{display:flex;gap:12px;align-items:flex-start;margin:22px auto;padding:14px 17px;border:1px solid #f1d7d7;border-radius:13px;background:#fff4f3;color:#57484a;font-size:13px}.disclosure-icon{flex:0 0 22px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f9e2e3;color:var(--red);font-weight:900}.disclosure p{margin:0}.section{padding:48px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{margin:0;font-size:30px;letter-spacing:-1px;line-height:1.15}.section-heading p{margin:8px 0 0;color:var(--muted)}.text-link{font-size:14px;font-weight:750}.category-list{display:flex;flex-wrap:wrap;gap:10px}.category-chip{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;background:#fff;border:1px solid var(--line);border-radius:999px;color:var(--ink);font-size:14px;font-weight:700;transition:.15s}.category-chip:hover{border-color:#e6aaae;background:#fff7f6}.category-chip span{color:var(--red)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.post-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 4px 18px rgba(36,25,27,.035);transition:transform .18s,box-shadow .18s}.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.post-card-image{display:block;aspect-ratio:16/10;background:#f2e9e8;overflow:hidden}.post-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.post-card-image .post-card-product-single{object-fit:contain;padding:14px;background:#fff}.post-card-image .post-card-product-grid{display:grid;width:100%;height:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;padding:3px;background:#f2e9e8}.post-card-image .post-card-product-grid img{min-width:0;min-height:0;object-fit:contain;padding:5px;background:#fff}.post-card-image .post-card-product-grid--2{grid-template-rows:1fr}.post-card-image .post-card-product-grid--3 img:first-child{grid-row:1/3}.post-card-image .post-card-product-grid--3 img:nth-child(2){grid-column:2;grid-row:1}.post-card-image .post-card-product-grid--3 img:nth-child(3){grid-column:2;grid-row:2}.post-card:hover .post-card-image img{transform:scale(1.03)}.post-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#f9e2e3,#f4e9e6);font-size:46px}.post-card-body{padding:19px}.post-meta{display:flex;align-items:center;gap:9px;color:#74686a;font-size:12px;font-weight:650}.post-tag{color:var(--red);text-transform:uppercase;letter-spacing:.7px}.post-card h3{margin:10px 0 8px;font-size:20px;line-height:1.26;letter-spacing:-.45px}.post-card h3 a{color:var(--ink)}.post-card p{margin:0;color:var(--muted);font-size:14px}.post-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:14px;border-top:1px solid #f0e9e8;color:var(--muted);font-size:12px}.post-card-footer a{font-weight:750}.empty-state{padding:38px;text-align:center;border:1px dashed #d8caca;border-radius:var(--radius);background:#fff;color:var(--muted)}.page-hero{padding:45px 0 30px}.page-hero h1{font-size:clamp(34px,5vw,52px);letter-spacing:-2px;line-height:1.06;margin:0}.page-hero p{color:var(--muted);max-width:680px}.content-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:42px;align-items:start;padding:30px 0 70px}.single-article{padding:0 0 30px}.single-title{margin:0 0 15px;font-size:clamp(34px,5vw,54px);line-height:1.08;letter-spacing:-2px}.single-meta{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}.single-cover{width:100%;max-height:460px;object-fit:cover;border-radius:var(--radius);margin:25px 0 8px}.entry-content{font-size:17px;line-height:1.8}.entry-content h2{margin-top:1.7em;font-size:29px;line-height:1.2;letter-spacing:-.8px}.entry-content h3{margin-top:1.5em;font-size:22px}.entry-content img{border-radius:13px}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content blockquote{margin:24px 0;padding:12px 20px;border-left:4px solid var(--coral);background:#fff5f3;color:#5e5153}.product-card{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:19px;margin:24px 0;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(36,25,27,.045)}.product-card-image{display:grid;place-items:center;min-height:155px;background:#faf8f7;border-radius:12px;overflow:hidden}.product-card-image img{width:100%;height:100%;max-height:200px;object-fit:contain}.product-card-image .product-placeholder{font-size:38px}.product-card-info{display:flex;flex-direction:column;align-items:flex-start}.product-card h3{margin:1px 0 7px!important;font-size:21px!important;line-height:1.25}.product-card p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.55}.product-prices{display:flex;align-items:baseline;gap:10px;margin-top:auto;margin-bottom:12px}.product-price{margin:0;font-size:20px;font-weight:850;color:#218044}.product-old-price{color:var(--red);font-size:14px;font-weight:700;text-decoration-thickness:1.5px}.product-button{display:inline-flex;padding:10px 16px;border-radius:999px;background:var(--red);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800}.product-button:hover{background:var(--red-dark);color:#fff}.sidebar-box{position:sticky;top:20px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.sidebar-box h3{margin:0 0 10px;font-size:17px}.sidebar-box p{margin:0;color:var(--muted);font-size:13px}.sidebar-box .disclosure{margin:0;padding:0;border:0;background:transparent;font-size:13px}.site-footer{padding:38px 0;background:#17231e;color:#e3d8d9}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-brand{color:#fff}.footer-brand .brand-wordmark{color:#fff}.footer-brand .brand-accent{color:#f18578}.site-footer p{max-width:500px;color:#c5b7b9;font-size:13px}.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}.footer-links a{color:#eee4e4}.footer-small{color:#b3a4a6!important;font-size:12px!important}.pagination{display:flex;justify-content:center;gap:8px;margin-top:32px}.page-numbers{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:700}.page-numbers.current{background:var(--red);border-color:var(--red);color:#fff}.wp-block-button__link{background:var(--red);border-radius:999px}.alignwide{max-width:1000px}.alignfull{width:100%}
.hero{padding:42px 0 36px}.hero-grid{gap:36px}.category-bar{padding:12px 0 0}.category-bar .wrap{display:flex;align-items:center;gap:14px}.category-label{flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:850;letter-spacing:1px;text-transform:uppercase}.category-list{display:flex;flex-wrap:nowrap;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px 0 6px}.category-chip{flex:0 0 auto;padding:7px 12px;font-size:12px}.latest-section{padding:24px 0 48px}.latest-section .section-heading{margin-bottom:16px}.hero-copy{margin:14px 0 20px}.hero-note{padding:20px}@media(max-width:900px){.header-search{display:none}.hero-grid{grid-template-columns:1fr .55fr;gap:25px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-layout{grid-template-columns:minmax(0,1fr) 240px;gap:24px}}
@media(max-width:680px){.wrap{width:min(100% - 28px,1140px)}.header-inner{min-height:68px}.site-nav{display:none}.hero{padding:34px 0 26px}.category-bar{padding-top:10px}.category-bar .wrap{display:block}.category-label{display:block;margin-bottom:5px}.latest-section{padding:18px 0 38px}.hero-grid{grid-template-columns:1fr}.hero-note{display:none}.hero h1{font-size:44px;letter-spacing:-2px}.hero-copy{font-size:16px}.section{padding:35px 0}.section.latest-section{padding:18px 0 38px}.section-heading{align-items:flex-start}.section-heading h2{font-size:25px}.section-heading .text-link{font-size:12px}.post-grid{grid-template-columns:1fr;gap:14px}.post-card{display:grid;grid-template-columns:120px 1fr}.post-card-image{height:100%;aspect-ratio:auto;min-height:150px}.post-placeholder{font-size:32px}.post-card-body{padding:14px}.post-card h3{font-size:17px}.post-card p{font-size:13px}.post-card-footer{margin-top:12px;padding-top:10px}.content-layout{display:block;padding:18px 0 50px}.sidebar-box{position:static;margin:0 0 24px}.single-title{font-size:37px;letter-spacing:-1.5px}.entry-content{font-size:16px}.entry-content h2{font-size:25px}.product-card{grid-template-columns:100px 1fr;gap:13px;padding:13px}.product-card-image{min-height:125px}.product-card h3{font-size:17px!important}.product-card p{font-size:12px}.product-price{font-size:18px}.product-button{font-size:12px;padding:9px 12px}.footer-inner{display:block}.footer-links{margin-top:20px}}
