/* Páginas internas: legales y blog */
.page-nav { display: flex; align-items: center; gap: 1.5rem; }
.page-nav a { color: #fff; font-size: 0.9rem; font-weight: 500; opacity: 0.88; transition: var(--transition); }
.page-nav a:hover { opacity: 1; }
.page-main { padding: 8rem 0 4rem; background: var(--bg-primary); min-height: 70vh; }
.page-wrap { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.page-wrap.wide { max-width: 1100px; }
.breadcrumbs { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--bg-terracotta); }
.page-wrap h1 { font-family: var(--font-serif);
  font-size-adjust: 0.46; font-size: 1.95rem; font-weight: 500; line-height: 1.2; color: var(--text-primary); margin-bottom: 0.75rem; }
.page-wrap h2 { font-family: var(--font-serif);
  font-size-adjust: 0.46; font-size: 1.4rem; font-weight: 500; line-height: 1.3; color: var(--text-primary); margin: 2.25rem 0 0.75rem; }
.page-wrap p, .page-wrap li { font-size: 1.02rem; line-height: 1.8; color: var(--text-secondary); }
.page-wrap p { margin-bottom: 1rem; }
.page-wrap ul, .page-wrap ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-wrap li { margin-bottom: 0.4rem; }
.page-wrap li strong, .page-wrap p strong { color: var(--text-primary); font-weight: 600; }
.page-wrap a:not(.btn):not(.blog-card):not(.blog-featured) { color: var(--bg-terracotta); text-decoration: none; }
.page-wrap a.blog-featured, .page-wrap a.blog-card { color: inherit; text-decoration: none; }
.page-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.page-lead { font-size: 1.1rem !important; margin-bottom: 2rem; max-width: 640px; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.callout { background: var(--bg-secondary); border-left: 3px solid var(--bg-terracotta); border-radius: var(--radius-sm); padding: 0.75rem 1.25rem; margin: 1.5rem 0; }
.callout p { margin: 0.4rem 0; }
.page-wrap table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.page-wrap th, .page-wrap td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.page-wrap th { color: var(--text-primary); font-weight: 600; background: var(--bg-secondary); }
.cta-box { background: var(--bg-dark); border-radius: var(--radius-lg); padding: 1.75rem; margin: 2.5rem 0; }
.cta-box h2 { color: var(--text-light); margin-top: 0; }
.cta-box p { color: rgba(251, 249, 245, 0.85); }
.related-list { list-style: none; padding-left: 0 !important; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card-body { padding: 1.25rem 1.25rem 1.4rem; }
.blog-card-body h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.blog-card-body p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
.blog-card-more { font-size: 0.85rem; font-weight: 600; color: var(--bg-terracotta); }
/* Páginas de tienda, membresías, historia y visítanos */
.page-shop { margin: 1.5rem 0 1rem; }
.page-shop .shop-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.page-shop-hint { font-size: 0.9rem !important; margin: 0 !important; }
.page-shop .reservation-active-banner { margin-top: 0.5rem; }
.page-wrap .products-grid, .page-wrap .experiences-grid { margin: 1.5rem 0 1rem; }
.page-wrap .experience-card { border: 1px solid var(--border-light); background: var(--bg-card); }
.page-wrap .product-notes, .page-wrap .experience-meta { margin-bottom: 0.5rem; }
.product-local-price { font-size: 0.85rem !important; color: var(--text-muted) !important; margin-bottom: 0.9rem !important; }
.experience-period { font-size: 0.85rem; font-weight: 400; color: var(--text-secondary); }
.product-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; }
.product-actions .btn { width: 100%; border-radius: var(--radius-full); }
.info-list { list-style: none; padding-left: 0 !important; }
.info-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border-light); margin: 0; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 0.35rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--text-primary); padding: 0.6rem 0; }
.faq-item p { margin: 0 0 0.75rem; }
.cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 768px) {
  .page-wrap h1 { font-size: 2.4rem; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  /* Tablas anchas: se desplazan dentro de su caja en vez de ensanchar la página */
  .page-wrap table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 0.88rem; }
  .page-nav { gap: 1rem; }
  .page-nav a { font-size: 0.82rem; }
  .page-nav .hide-sm { display: none; }
}

/* =====================================================================
   PÁGINAS INTERNAS: portada a todo el ancho + contenido en columnas
   (mismas especificaciones en historia, visítanos, blog, tienda, membresías y legales)
   ===================================================================== */
.page-main.page-main--hero { padding: 0 0 4.5rem; }
.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 8.5rem 0 3rem;
  overflow: hidden;
  background: var(--bg-dark);
  color: #FFFFFF;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0.62) 0%, rgba(20, 17, 15, 0.38) 45%, rgba(20, 17, 15, 0.88) 100%);
}
.page-hero-inner { position: relative; z-index: 1; width: 100%; }
.page-hero .breadcrumbs { color: rgba(255, 255, 255, 0.72); margin-bottom: 1rem; }
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.9); }
.page-hero .breadcrumbs a:hover { color: #E0AA3E; }
.page-hero .section-tag { color: #E0AA3E; margin-bottom: 0.6rem; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: #FFFFFF;
  max-width: 880px;
  margin: 0 0 0.9rem;
}
.page-hero .page-lead, .page-hero .page-meta {
  color: rgba(251, 249, 245, 0.88) !important;
  font-size: 1.08rem !important;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 !important;
}
.page-body { padding-top: 3rem; }
.page-body .page-wrap { max-width: none; margin: 0; padding: 0; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.page-layout > .page-wrap > :first-child { margin-top: 0; }
.page-layout .page-wrap h2:first-child { margin-top: 0; }

/* Columna lateral */
.page-aside { display: grid; gap: 1rem; align-content: start; }
.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
}
.aside-card h3 { font-family: var(--font-serif);
  font-size-adjust: 0.46; font-weight: 500; font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.45rem; }
.aside-card p { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 0.6rem; }
.aside-card .btn { width: 100%; margin-top: 0.4rem; }
.aside-muted { color: var(--text-muted) !important; font-size: 0.85rem !important; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
.aside-actions .btn { margin: 0; }
.aside-link { font-weight: 600; font-size: 0.9rem; color: var(--bg-terracotta); }
.aside-card--dark { background: var(--bg-dark); border-color: var(--bg-dark); }
.aside-card--dark h3 { color: #FFFFFF; }
.aside-card--dark p { color: rgba(251, 249, 245, 0.8); }
.aside-kicker { font-size: 0.66rem !important; font-weight: 700; letter-spacing: 0.14em; color: #E0AA3E !important; margin-bottom: 0.35rem !important; }

@media (min-width: 768px) {
  .page-hero { min-height: 500px; padding: 9.5rem 0 3.75rem; }
  .page-body { padding-top: 3.75rem; }
  .page-layout .page-wrap p, .page-layout .page-wrap li { font-size: 1.05rem; }
}
@media (min-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4.5rem; }
  .page-aside { position: sticky; top: 118px; }
}

/* Introducción del blog */
.blog-intro { max-width: 760px; margin: 0 0 2rem; color: var(--text-secondary); line-height: 1.7; }
.blog-intro p { margin: 0 0 0.9rem; }

/* =====================================================================
   RESEÑAS DE PRODUCTOS
   ===================================================================== */
.product-rating { min-height: 1.2em; margin: -0.2rem 0 0.35rem; font-size: 0.85rem; color: var(--text-secondary); }
.stars { color: #E0A526; letter-spacing: 1px; }
.stars-off { color: #D8D0C4; }
.rating-num { font-weight: 700; color: var(--text-primary); }
.rating-count { color: var(--text-muted); }
.reviews { margin: 3rem 0; }
.reviews [hidden] { display: none !important; }
.reviews-head { margin-bottom: 1.5rem; }
.reviews-head h2 { margin: 0.35rem 0; }
.reviews-sub { color: var(--text-secondary); margin: 0; }
.reviews-total { margin: 0.6rem 0 0; font-size: 1rem; }
.reviews-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.reviews-list { display: grid; gap: 0.9rem; margin-bottom: 1rem; }
.reviews-empty { color: var(--text-muted); background: #F4F1EA; border-radius: 14px; padding: 1.2rem; margin: 0; }
.review-card { background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 1rem 1.1rem; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.review-product { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bg-terracotta); }
.review-text { margin: 0.55rem 0; line-height: 1.6; }
.review-meta { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.review-form { background: #fff; border: 1px solid var(--border-light); border-radius: 18px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; }
.review-form h3 { margin: 0 0 0.3rem; font-family: var(--font-serif);
  font-size-adjust: 0.46; }
.review-form label { font-size: 0.85rem; font-weight: 600; }
.review-hint { font-size: 0.75rem; color: var(--text-secondary); margin-top: -0.3rem; }
.review-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.star-input { border: 0; padding: 0; margin: 0; }
.star-input legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; padding: 0; }
.star-input-row { display: inline-flex; flex-direction: row-reverse; gap: 0.15rem; }
.star-input-row input { position: absolute; opacity: 0; pointer-events: none; }
.star-input-row label { font-size: 2rem; line-height: 1; color: #D8D0C4; cursor: pointer; padding: 0.1rem; transition: color 0.15s ease, transform 0.15s ease; }
.star-input-row label:hover, .star-input-row label:hover ~ label, .star-input-row input:checked ~ label { color: #E0A526; }
.star-input-row label:active { transform: scale(0.9); }
.star-input-row input:focus-visible + label { outline: 2px solid var(--bg-terracotta); outline-offset: 2px; border-radius: 4px; }
.review-msg { margin: 0; font-size: 0.85rem; min-height: 1.2em; }
.review-msg.ok { color: #15803D; }
.review-msg.err { color: #B91C1C; }


/* ===== Artículo del blog estilo "post" (columna única: ruta, título, fecha, portada, texto) ===== */
.post-main { padding-top: 7.5rem; }
.post { max-width: 700px; }
.post .breadcrumbs { margin-bottom: 1.25rem; }
.post-title { font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.05; margin: 0 0 0.75rem; color: var(--text-primary); }
.page-wrap .post-meta { font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); margin: 0 0 1.75rem; }
.post-cover { margin: 0 0 2.25rem; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-secondary); }
.post-cover img { display: block; width: 100%; height: auto; }
.post-content h2 { font-size: clamp(1.6rem, 4.5vw, 2rem); margin: 2.4rem 0 0.9rem; color: var(--text-primary); }
.post-lead { font-size: 1.15rem !important; color: var(--text-primary) !important; }
.post-quote { margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--bg-terracotta); background: var(--bg-secondary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; color: var(--text-primary); }
.post-steps { list-style: square; padding-left: 1.4rem; }
.post-steps li { margin-bottom: 1rem; }
.post-steps li::marker { color: var(--bg-terracotta); }
.post-steps li strong { display: block; font-size: 1.05rem; }
.post-steps li p { margin: 0.2rem 0 0; }
.post-closing { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-light); }

/* Artículo destacado en /blog/ */
.blog-featured { display: grid; grid-template-columns: 1fr; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 2rem; transition: var(--transition); }
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-featured img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 35%; }
.blog-featured-body { padding: 1.5rem 1.4rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag { font: 600 0.72rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg-terracotta); margin-bottom: 0.75rem; }
.blog-featured-body h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 0.6rem; color: var(--text-primary); }
.blog-featured-body p { margin-bottom: 1rem; }
@media (min-width: 820px) {
  .blog-featured { grid-template-columns: 1fr 1.1fr; }
  .blog-featured img { max-height: none; aspect-ratio: 4 / 5; }
  .blog-featured-body { padding: 2.5rem; }
}

/* Enlaces dentro de un texto: subrayados (accesibilidad: no depender solo del color) */
.page-wrap p a:not([class]):not(.btn):not(.blog-card):not(.blog-featured),
.page-wrap li a:not([class]):not(.btn):not(.blog-card):not(.blog-featured) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* ---------- Drip bags y regalos (2026-10-22) ---------- */
.drip-grid { margin: 1.25rem 0 2rem; }
.drip-grid .blog-card-body h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.drip-card-img { aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .drip-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.drip-product { display: grid; gap: 1.25rem; margin: 2rem 0; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); scroll-margin-top: 6rem; }
.drip-product-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); }
.drip-product-info { min-width: 0; }
.drip-product-info h2 { margin-top: 0.25rem; }
.drip-product--seleccionado { border-color: #b57658; box-shadow: 0 0 0 2px rgba(181, 118, 88, .18); }
.drip-variant-link { margin: -0.5rem 0 0.75rem; font-size: 0.92rem; }
@media (min-width: 760px) { .drip-product { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; } }
.drip-notes { list-style: none; padding: 0 !important; margin: 0.75rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.drip-notes li { margin: 0; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); background: var(--bg-secondary); font-size: 0.85rem; font-weight: 500; }
.drip-price { font: 700 1.3rem/1.2 var(--font-sans); color: var(--text-primary); margin: 0 0 0.9rem; }
.drip-price small { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.06em; }
.drip-added { margin: 0.75rem 0 0; font-weight: 600; color: var(--text-primary); }
.drip-wa { margin: 0.6rem 0 0; font-size: 0.88rem; color: var(--text-secondary); }

/* Tienda: enlaces a equipos (cafeteras, molinos, accesorios) — 2026-11-03 */
.shop-equipos { margin: 2.5rem 0 1rem; padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem); background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.shop-equipos h2 { margin: 0.35rem 0 0.4rem; }
.shop-equipos p { margin: 0 0 1rem; }
.shop-equipos-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-equipos-links a { padding: 0.55rem 1rem; border: 1px solid var(--border-light); border-radius: var(--radius-full); background: var(--bg-primary); color: var(--text-primary); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.shop-equipos-links a:hover { border-color: var(--bg-terracotta); color: var(--bg-terracotta); }
