/* La Caetra · capa visual 2026 (cabecera, portada y pie) */
:root {
	--cx-crema: #f3ede4;
	--cx-papel: #faf6f0;
	--cx-granate: #5c1b26;
	--cx-granate-2: #45121b;
	--cx-noche: #18211f;
	--cx-oro: #b08d57;
	--cx-tinta: #2b2622;
	--cx-suave: #655c55;
	--cx-linea: #dcd2c4;
	--cx-serif: "EB Garamond", Garamond, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--cx-ancho: 1200px;
}

body { margin: 0; background: var(--cx-crema); color: var(--cx-tinta); font-family: var(--cx-serif); font-size: 1.0625rem; line-height: 1.6; }
a { color: var(--cx-granate); }
.cx-wrap { max-width: var(--cx-ancho); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; padding: 8px 12px; background: #fff; }

/* Aviso superior */
.cx-aviso { background: var(--cx-granate-2); color: #efe2d6; text-align: center; font-size: .85rem; letter-spacing: .04em; padding: 8px 16px; }

/* Cabecera */
.cx-cabecera { background: var(--cx-crema); border-bottom: 1px solid var(--cx-linea); }
.cx-cabecera-in { display: flex; align-items: center; gap: 32px; min-height: 96px; }
.cx-marca { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cx-tinta); flex-shrink: 0; }
.cx-marca-img { width: 60px; height: 60px; object-fit: contain; }
.cx-marca-nombre { display: block; font-size: 1.9rem; line-height: 1; }
.cx-marca-lema { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cx-suave); margin-top: 6px; }
.cx-nav { margin-left: auto; }
.cx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.cx-nav a { color: var(--cx-tinta); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.cx-nav a:hover,
.cx-nav .current-menu-item > a,
.cx-nav .current_page_item > a { color: var(--cx-granate); border-bottom-color: var(--cx-granate); }
.cx-cesta { display: flex; align-items: center; gap: 8px; color: var(--cx-tinta); text-decoration: none; font-size: .95rem; }
.cx-cesta svg { width: 22px; height: 22px; }
.cx-cesta-n { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cx-granate); color: #fff; font: 600 .7rem/1 system-ui, sans-serif; }
.cx-menu-btn { display: none; background: none; border: 0; color: var(--cx-tinta); padding: 6px; cursor: pointer; }
.cx-menu-btn svg { width: 28px; height: 28px; }

/* Portada: bloque principal */
.cx-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 520px; }
.cx-hero-texto { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 64px max(24px, calc((100vw - var(--cx-ancho)) / 2 + 24px)); }
.cx-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.08; margin: 0 0 18px; }
.cx-subtitulo { font-size: 1.35rem; font-style: italic; color: var(--cx-granate); margin: 0; }
.cx-filete { width: 56px; height: 1px; background: var(--cx-oro); border: 0; margin: 28px 0; }
.cx-firma { text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; color: var(--cx-suave); margin: 0 0 32px; }
.cx-botones { display: flex; flex-wrap: wrap; gap: 14px; }
.cx-btn { display: inline-block; padding: 12px 22px; border: 1px solid var(--cx-granate); border-radius: 3px; background: var(--cx-granate); color: #fff; text-decoration: none; transition: background .3s, color .3s; }
.cx-btn:hover { background: var(--cx-granate-2); color: #fff; }
.cx-btn--claro { background: transparent; color: var(--cx-granate); }
.cx-btn--claro:hover { background: var(--cx-granate); }
.cx-hero-img { background: var(--cx-noche); overflow: hidden; }
.cx-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-hero-img--logo { display: flex; align-items: center; justify-content: center; background: var(--cx-papel); border-left: 1px solid var(--cx-linea); }
.cx-hero-img--logo .cx-hero-logo { width: min(55%, 340px); height: auto; object-fit: contain; }

/* Secciones */
.cx-seccion { padding: 72px 0; }
.cx-titulo { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; text-align: center; margin: 0 0 40px; }
.cx-titulo::before,
.cx-titulo::after { content: ""; width: 70px; height: 1px; background: var(--cx-oro); }
.cx-centrado { text-align: center; margin: 40px 0 0; }

/* Tarjetas de categoría */
.cx-colecciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cx-coleccion { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--cx-noche); color: #fff; text-decoration: none; }
.cx-coleccion img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cx-coleccion:hover img { transform: scale(1.03); }
.cx-coleccion-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 24px 26px; text-align: center; background: linear-gradient(transparent, rgba(16, 20, 19, .88)); }
.cx-coleccion-txt h3 { font-size: 1.7rem; font-weight: 400; color: #fff; margin: 0 0 6px; }
.cx-coleccion-txt span { color: var(--cx-oro); }

/* Productos */
.cx-productos { background: var(--cx-papel); border-top: 1px solid var(--cx-linea); border-bottom: 1px solid var(--cx-linea); }
.cx-rejilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cx-producto { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cx-linea); border-radius: 4px; overflow: hidden; color: var(--cx-tinta); text-decoration: none; transition: box-shadow .3s; }
.cx-producto:hover { box-shadow: 0 8px 24px rgba(43, 38, 34, .1); }
.cx-producto-img { aspect-ratio: 1; background: var(--cx-crema); }
.cx-producto-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-producto-cuerpo { padding: 16px 16px 20px; text-align: center; }
.cx-producto h3 { font-size: 1.1rem; font-weight: 400; margin: 0 0 6px; }
.cx-producto .precio { color: var(--cx-granate); }

/* Pie */
.cx-pie { background: var(--cx-noche); color: #cfc6b8; font-size: .95rem; }
.cx-pie a { color: #e8dccb; }
.cx-pie a:hover { color: var(--cx-oro); }
.cx-pie-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.cx-pie-marca { display: flex; align-items: center; gap: 14px; }
.cx-pie-logo { width: 56px; height: 56px; object-fit: contain; padding: 6px; border-radius: 50%; background: var(--cx-crema); }
.cx-pie-nombre { display: block; font-size: 1.5rem; line-height: 1.1; color: #fff; }
.cx-pie-lema { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #9e978c; margin-top: 4px; }
.cx-pie-contacto p { margin: 0; }
.cx-pie .footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-pie .footer-nav a { text-decoration: none; }
.cx-pie-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; font-size: .85rem; color: #9e978c; }
.cx-pie-legal p { margin: 0; }

/* Adaptación */
@media (max-width: 960px) {
	.cx-hero { grid-template-columns: 1fr; }
	.cx-hero-texto { padding: 48px 24px; }
	.cx-hero-img { min-height: 320px; }
	.cx-hero-img--logo { border-left: 0; border-top: 1px solid var(--cx-linea); }
	.cx-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-pie-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
	.cx-cabecera-in { flex-wrap: wrap; gap: 12px 16px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
	.cx-menu-btn { display: inline-flex; }
	.cx-cesta { margin-left: auto; }
	.cx-nav { order: 3; flex-basis: 100%; display: none; margin: 0; }
	.cx-nav.is-open { display: block; }
	.cx-nav ul { flex-direction: column; gap: 0; }
	.cx-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--cx-linea); }
	.cx-colecciones { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.cx-marca-nombre { font-size: 1.5rem; }
	.cx-cesta-total { display: none; }
	.cx-rejilla { gap: 14px; }
	.cx-titulo::before,
	.cx-titulo::after { width: 32px; }
}

/* Acento vino */
.cx-cabecera { border-top: 4px solid var(--cx-granate-2); }
.cx-pie { border-top: 6px solid var(--cx-granate-2); }
.cx-producto:hover { border-color: var(--cx-granate); }

/* Paleta La Caetra (la misma del Calendario Pagano) */
:root { --cx-crema: #f5f0e8; --cx-oro: #c9a84c; --cx-noche: #002e1c; }

/* Rueda del año en el bloque principal */
.cx-rueda { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 32px; background: radial-gradient(circle at 50% 45%, #0a4a2b 0%, #004225 45%, #002e1c 100%); }
.cx-rueda-dibujo { width: 100%; max-width: 460px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.cx-rueda-dibujo svg { width: 100%; height: auto; display: block; }
.cx-rueda .cx-rueda-logo { width: 40%; height: auto; object-fit: contain; opacity: .5; }
.cx-rueda-enlace { color: var(--cx-oro); text-decoration: none; letter-spacing: .06em; }
.cx-rueda-enlace:hover { color: var(--cx-crema); text-decoration: underline; }
@media (max-width: 960px) { .cx-rueda { padding: 32px 16px; } }

/* Rueda sobre fondo transparente */
.cx-rueda { background: transparent; }
.cx-rueda-enlace { color: var(--cx-granate); }
.cx-rueda-enlace:hover { color: var(--cx-granate-2); }

/* Tablón */
.cx-avisos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.cx-aviso-tarjeta a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--cx-linea); border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.cx-aviso-tarjeta a:hover { border-color: var(--cx-granate); box-shadow: 0 8px 24px rgba(43, 38, 34, .1); }
.cx-aviso-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cx-aviso-cuerpo { padding: 18px 20px 22px; }
.cx-aviso-fecha { margin: 0 0 6px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-granate); }
.cx-aviso-tarjeta h3 { font-size: 1.3rem; font-weight: 400; margin: 0 0 8px; }
.cx-aviso-extracto { margin: 0; color: var(--cx-suave); font-size: .98rem; }
.cx-aviso-etiqueta { display: inline-block; margin-bottom: 12px; padding: 5px 8px; border-radius: 2px; background: var(--cx-granate); color: #fff; font: 600 .7rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cx-aviso--destacado a { flex-direction: row; border-top: 4px solid var(--cx-granate-2); }
.cx-aviso--destacado .cx-aviso-img { flex: 0 0 42%; }
.cx-aviso--destacado .cx-aviso-img img { height: 100%; aspect-ratio: auto; }
.cx-aviso--destacado .cx-aviso-cuerpo { padding: 28px 32px; align-self: center; }
.cx-aviso--destacado h3 { font-size: 1.8rem; }
.cx-tablon-pagina { max-width: 1100px; margin: 0 auto; padding: 56px 24px 72px; box-sizing: border-box; }
.cx-tablon-pagina h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; margin: 0 0 24px; }
.cx-tablon-pagina h2 { font-size: 1.6rem; font-weight: 400; color: var(--cx-granate); margin: 40px 0 0; }
.cx-evento { padding: 14px 18px; background: var(--cx-papel); border-left: 4px solid var(--cx-granate-2); }

/* Página del Calendario Pagano */
.cx-cal-cabecera { padding: 48px 0 8px; text-align: center; }
.cx-cal-cabecera h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; margin: 0 0 24px; }
.cx-cal-cabecera .cx-rueda-dibujo { margin: 0 auto; }
.cx-cal-cabecera .cx-rueda-logo { width: 30%; height: auto; opacity: .5; }
.page .contenido.cx-cal-texto { padding-top: 24px; }

/* Colaboración en el pie */
.cx-colabora { margin-top: 20px; }
.cx-colabora a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.cx-colabora img { width: 48px; height: 48px; object-fit: contain; padding: 4px; border-radius: 50%; background: #fff; }
.cx-colabora span { color: #cfc6b8; }
.cx-colabora strong { color: #fff; font-weight: 600; }

@media (max-width: 960px) {
	.cx-avisos { grid-template-columns: 1fr 1fr; }
	.cx-aviso--destacado a { flex-direction: column; }
	.cx-aviso--destacado .cx-aviso-img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) { .cx-avisos { grid-template-columns: 1fr; } }

/* Imagen principal entera, con margen y alineada con la cabecera */
.cx-hero-img { display: flex; align-items: center; justify-content: center; background: transparent; padding: 48px max(24px, calc((100vw - var(--cx-ancho)) / 2 + 24px)) 48px 24px; }
.cx-hero-img img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 14px 36px rgba(24, 33, 31, .22); }
.cx-hero-img--logo .cx-hero-logo { box-shadow: none; }
@media (max-width: 960px) {
	.cx-hero-img { padding: 0 24px 48px; min-height: 0; }
}

/* Pie simétrico: marca a la izquierda, contacto al centro, colaboración a la derecha */
.cx-pie-in { grid-template-columns: 1fr auto 1fr; align-items: center; }
.cx-pie-contacto { text-align: center; }
.cx-pie-derecha { justify-self: end; text-align: right; }
.cx-pie-derecha .cx-colabora { margin: 0; }
.cx-pie-derecha .cx-colabora a { flex-direction: row-reverse; }
.cx-pie-derecha .footer-nav { margin-top: 16px; }
@media (max-width: 960px) {
	.cx-pie-in { grid-template-columns: 1fr; }
	.cx-pie-contacto, .cx-pie-derecha { text-align: left; justify-self: start; }
	.cx-pie-derecha .cx-colabora a { flex-direction: row; }
}

/* Retrocultura: imagen pequeña a la izquierda, texto a la derecha */
.cx-bloque { display: grid !important; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: center; max-width: 900px; margin: 40px auto; }
.cx-bloque figure { margin: 0; order: 0 !important; }
.cx-bloque figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 8px 22px rgba(24, 33, 31, .15); }
.cx-bloque h2 { margin: 0 0 10px; font-size: 1.6rem; font-weight: 400; color: var(--cx-granate); }
.cx-bloque p { margin: 0; line-height: 1.75; }
.cx-aparte { max-width: 900px; margin: 56px auto 0; }
@media (max-width: 720px) {
	.cx-bloque { grid-template-columns: 1fr; gap: 18px; }
	.cx-bloque figure { max-width: 260px; }
}

/* Calendario Pagano: imágenes medianas, alternadas y con el texto alrededor */
figure.cx-ancha { float: right; width: 42%; margin: 6px 0 18px 32px; }
figure.cx-ancha:nth-of-type(odd) { float: left; margin: 6px 32px 18px 0; }
figure.cx-ancha img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 8px 22px rgba(24, 33, 31, .15); }
.cx-cal-texto h2, .cx-cal-texto .cx-despedida { clear: both; }
.cx-cal-texto { max-width: 860px; margin: 0 auto; }
.cx-cal-texto::after { content: ""; display: block; clear: both; }
@media (max-width: 720px) {
	figure.cx-ancha, figure.cx-ancha:nth-of-type(odd) { float: none; width: 100%; max-width: 480px; margin: 24px auto; }
}

/* Proyecto en portada: imagen a la izquierda, texto a la derecha */
.cx-proyecto .cx-proy-fila { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.cx-proyecto .cx-proy-fila figure { margin: 0; }
.cx-proyecto .cx-proy-fila img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 10px 28px rgba(24, 33, 31, .18); }
.cx-proyecto .cx-proy-fila h2 { font-size: 1.8rem; font-weight: 400; color: var(--cx-granate); margin: 0 0 14px; }
.cx-proyecto .cx-proy-fila p { line-height: 1.75; margin: 0 0 14px; }
.cx-proyecto .cx-proy-fila > p:empty { display: none; }

/* Novedades: etiqueta en la imagen de los avisos */
.cx-producto-img { position: relative; }
.cx-etiqueta { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 2px; background: var(--cx-granate); color: #fff; font: 600 .68rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cx-productos .cx-centrado .cx-btn + .cx-btn { margin-left: 12px; }

@media (max-width: 820px) {
	.cx-proyecto .cx-proy-fila { grid-template-columns: 1fr; gap: 20px; }
}
.cx-producto-img img[src*="PRESENTACI"] { object-fit: contain; background: #082521; }
.single-tablon #contenido img { display: block; max-width: 420px; width: 100%; height: auto; margin: 0 auto 24px; border-radius: 4px; box-shadow: 0 10px 28px rgba(24, 33, 31, .2); }
.single-tablon aside { display: none; }
.cx-redes { margin: 12px 0 0; }
.cx-redes a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cx-redes svg { width: 20px; height: 20px; flex: none; }
/* PALETA-PETALOS INICIO */
:root { --cx-crema: #eceae7; --cx-papel: #f6f5f3; --cx-tinta: #1b2530; --cx-suave: #5b676d; --cx-linea: #d2d3d1; --cx-granate: #356673; --cx-granate-2: #4b2a3d; --cx-noche: #142431; --cx-oro: #86aab2; }
.cx-btn:hover { background: #24505c; border-color: #24505c; color: #fff; }
.cx-btn--claro:hover { background: var(--cx-granate); color: #fff; }
/* PALETA-PETALOS FIN */
