/*
Theme Name: HiperMusic
Theme URI: https://hipermusic.es
Author: Constantino Solorio Peralta
Author URI: https://hipermusic.es/quienes-somos/
Description: Portal de comparativas de instrumentos musicales
Version: 1.0.0
Text Domain: hipermusic
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* === CSS VARIABLES === */
:root {
  --ac-mahogany: #7C2D12;
  --ac-mahogany-dark: #5C1D0A;
  --ac-honey: #CA8A04;
  --ac-honey-dark: #A16207;
  --ac-green: #15803D;
  --ac-green-dark: #166534;
  --ac-cream: #FFFBEB;
  --ac-dark: #292524;
  --ac-stone: #57534E;
  --ac-gray: #78716C;
  --ac-border: #D6D3D1;
  --ac-border-soft: #E8DEBB;
  --ac-card: #FFFFFF;
  --ac-card-alt: #F5F5F4;
  --ac-red: #B91C1C;
  --ac-font-heading: 'Bricolage Grotesque', sans-serif;
  --ac-font-body: 'Red Hat Text', sans-serif;
  --ac-max-width: 1080px;
  --ac-radius: 8px;
  --ac-shadow: 0 1px 3px rgba(0,0,0,0.08);
  --ac-shadow-hover: 0 4px 20px rgba(124,45,18,0.08);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ac-font-body);
  background: var(--ac-cream);
  color: var(--ac-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ac-font-heading);
  line-height: 1.25;
  color: var(--ac-dark);
}
a { color: var(--ac-mahogany); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ac-honey); }
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }

/* === LAYOUT === */
.ac-container {
  max-width: var(--ac-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.ac-header {
  background: var(--ac-card);
  border-bottom: 2px solid var(--ac-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ac-header-inner {
  max-width: var(--ac-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.ac-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ac-logo svg { height: 40px; width: auto; }
.ac-nav { display: flex; gap: 4px; }
.ac-nav-list { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ac-nav-list li { list-style: none; position: relative; }
.ac-nav-list .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 200;
  background: var(--ac-card); border: 1px solid var(--ac-border); border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow-hover); padding: 6px 0; min-width: 220px;
  list-style: none; margin: 0;
}
.ac-nav-list li:hover > .sub-menu { display: block; }
.ac-nav-list .sub-menu li { white-space: nowrap; }
.ac-nav-list .sub-menu a { display: block; padding: 8px 16px; border-radius: 0; font-size: 0.85rem; }
.ac-nav-list .sub-menu a:hover { background: var(--ac-cream); }
.ac-nav a, .ac-nav-list a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ac-dark);
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  display: block;
  white-space: nowrap;
}
.ac-nav a:hover, .ac-nav-list a:hover { background: var(--ac-cream); color: var(--ac-mahogany); }
.ac-nav .current-menu-item a,
.ac-nav .current_page_item a { color: var(--ac-mahogany); background: var(--ac-cream); }
.ac-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.ac-menu-toggle svg { width: 26px; height: 26px; stroke: var(--ac-dark); }

/* === HERO === */
.ac-hero {
  background: linear-gradient(135deg, #7C2D12 0%, #92400E 40%, #A16207 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ac-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,251,235,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(202,138,4,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.ac-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ac-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--ac-cream);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.ac-hero h1 {
  color: #FFFFFF;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.ac-hero p {
  color: rgba(255,251,235,0.88);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 28px;
}
.ac-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ac-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--ac-radius);
  transition: background .2s, transform .15s;
}
.ac-hero-cta:hover { background: var(--ac-green-dark); color: #FFFFFF; transform: translateY(-1px); }

/* === WAVE SEPARATOR === */
.ac-wave { width: 100%; height: 40px; overflow: hidden; line-height: 0; }
.ac-wave svg { width: 100%; height: 40px; display: block; }
.ac-wave-cream svg path { fill: var(--ac-cream); }

/* === CONTENT GRID (2-col + sidebar) === */
.ac-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  padding: 48px 0;
}
.ac-content-full { padding: 48px 0; }

/* === SECTION LABELS === */
.ac-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ac-honey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.ac-main h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ac-mahogany);
}
.ac-intro-text {
  font-size: 1.05rem;
  color: var(--ac-stone);
  margin-bottom: 32px;
  line-height: 1.75;
  border-left: 3px solid var(--ac-honey);
  padding-left: 16px;
}

/* === PRODUCT CARDS === */
.ac-product-card {
  background: var(--ac-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: box-shadow .25s;
  position: relative;
}
.ac-product-card:hover { box-shadow: var(--ac-shadow-hover); }
.ac-product-card.ac-card-winner {
  border-color: var(--ac-honey);
  border-width: 2px;
  box-shadow: 0 2px 16px rgba(202,138,4,0.12);
}
.ac-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
}
.ac-product-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--ac-mahogany);
  color: #FFFFFF;
  font-family: var(--ac-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 6px;
  flex-shrink: 0;
}
.ac-product-title-group { flex: 1; }
.ac-product-name {
  font-family: var(--ac-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ac-dark);
  margin-bottom: 2px;
}
.ac-product-subtitle { font-size: 0.88rem; color: var(--ac-gray); }

/* === MEJOR OPCION BADGE === */
.ac-mejor-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--ac-honey), var(--ac-honey-dark));
  color: #FFFFFF;
  font-family: var(--ac-font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* === SCORE === */
.ac-score-block { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.ac-score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ac-honey), var(--ac-honey-dark));
  color: #FFFFFF;
  font-family: var(--ac-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(202,138,4,0.3);
}
.ac-score-circle small { font-size: 0.6rem; font-weight: 600; opacity: 0.85; }

/* === STAR RATINGS === */
.ac-stars { display: inline-flex; gap: 1px; font-size: 0.85rem; line-height: 1; }
.ac-star-filled { color: var(--ac-honey); }
.ac-star-empty { color: var(--ac-border); }

/* === PRODUCT DESC & VERDICT === */
.ac-product-desc { color: var(--ac-stone); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.7; }
.ac-verdict {
  background: var(--ac-cream);
  border: 1px solid var(--ac-border-soft);
  border-left: 4px solid var(--ac-mahogany);
  border-radius: 0 var(--ac-radius) var(--ac-radius) 0;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.ac-verdict-label {
  font-family: var(--ac-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ac-mahogany);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.ac-verdict p { font-size: 0.92rem; color: #44403C; font-style: italic; line-height: 1.65; }

/* === PRODUCT FOOTER === */
.ac-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ac-price-badge {
  display: inline-block;
  background: var(--ac-card-alt);
  color: var(--ac-stone);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--ac-border);
}
.ac-price-active { color: var(--ac-green); }
.ac-read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ac-mahogany);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ac-read-more:hover { color: var(--ac-honey); }

/* === SIDEBAR === */
.ac-sidebar-card {
  background: var(--ac-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.ac-sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ac-mahogany);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ac-cream);
}
.ac-popular-list li { padding: 10px 0; border-bottom: 1px solid var(--ac-card-alt); }
.ac-popular-list li:last-child { border-bottom: none; }
.ac-popular-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ac-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ac-popular-list a::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ac-honey);
  border-radius: 50%;
  flex-shrink: 0;
}
.ac-popular-list a:hover { color: var(--ac-mahogany); }
.ac-brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ac-brand-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-cream);
  border: 1px solid var(--ac-border-soft);
  border-radius: 6px;
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ac-stone);
  transition: border-color .2s, color .2s;
}
.ac-brand-tag:hover { border-color: var(--ac-honey); color: var(--ac-mahogany); }

/* === PROS/CONS === */
.ac-proscons { padding: 0 0 48px; }
.ac-proscons-title { font-size: 1.5rem; font-weight: 700; color: var(--ac-mahogany); margin-bottom: 8px; }
.ac-proscons-subtitle { font-size: 0.95rem; color: var(--ac-gray); margin-bottom: 24px; }
.ac-proscons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ac-pros-box, .ac-cons-box {
  background: var(--ac-card);
  border-radius: var(--ac-radius);
  padding: 24px 28px;
  border: 1px solid var(--ac-border);
}
.ac-pros-box { border-left: 5px solid var(--ac-green); background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%); }
.ac-cons-box { border-left: 5px solid var(--ac-red); background: linear-gradient(135deg, #FFFFFF 0%, #FEF2F2 100%); }
.ac-pros-box h3, .ac-cons-box h3 {
  font-family: var(--ac-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ac-pros-box h3 { color: var(--ac-green); }
.ac-cons-box h3 { color: var(--ac-red); }
.ac-pros-box li, .ac-cons-box li {
  font-size: 0.95rem;
  color: #44403C;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}
.ac-pros-box li::before { content: '+'; font-weight: 800; color: var(--ac-green); flex-shrink: 0; }
.ac-cons-box li::before { content: '\2013'; font-weight: 800; color: var(--ac-red); flex-shrink: 0; }

/* === COMPARISON TABLE === */
.ac-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ac-card);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  margin-bottom: 32px;
}
.ac-comparison-table thead th {
  background: var(--ac-mahogany);
  color: #FFFFFF;
  font-family: var(--ac-font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 16px;
  text-align: left;
}
.ac-comparison-table tbody td {
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--ac-dark);
  border-bottom: 1px solid var(--ac-card-alt);
}
.ac-comparison-table tbody tr:nth-child(even) { background: var(--ac-cream); }
.ac-comparison-table .ac-table-score {
  background: var(--ac-honey);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
}
.ac-comparison-table .ac-table-winner { background: rgba(202,138,4,0.08); }
.ac-table-wrap { overflow-x: auto; margin-bottom: 32px; }

/* === FEATURED IMAGE === */
.ac-featured-img {
  margin-bottom: 32px;
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
}
.ac-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* === CARD THUMBNAIL === */
.ac-card-thumb {
  border-radius: var(--ac-radius) var(--ac-radius) 0 0;
  overflow: hidden;
  max-height: 220px;
}
.ac-card-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.ac-product-card:hover .ac-card-thumb img {
  transform: scale(1.03);
}

/* === AUTHOR BOX === */
.ac-author-box {
  background: var(--ac-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 32px 0;
}
.ac-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ac-cream);
  flex-shrink: 0;
  overflow: hidden;
}
.ac-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ac-author-name {
  font-family: var(--ac-font-heading);
  font-weight: 700;
  color: var(--ac-mahogany);
  font-size: 1rem;
  margin-bottom: 2px;
}
.ac-author-role { font-size: 0.85rem; color: var(--ac-gray); margin-bottom: 6px; }
.ac-author-bio { font-size: 0.9rem; color: var(--ac-stone); line-height: 1.6; }

/* === BREADCRUMBS === */
.ac-breadcrumbs {
  font-size: 0.82rem;
  color: var(--ac-gray);
  padding: 16px 0;
}
.ac-breadcrumbs a { color: var(--ac-gray); }
.ac-breadcrumbs a:hover { color: var(--ac-mahogany); }
.ac-breadcrumbs span { margin: 0 6px; }

/* === ARCHIVE GRID === */
.ac-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 32px 0;
}
.ac-archive-card {
  background: var(--ac-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 24px;
  transition: box-shadow .25s;
}
.ac-archive-card:hover { box-shadow: var(--ac-shadow-hover); }
.ac-archive-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.ac-archive-card h3 a { color: var(--ac-dark); }
.ac-archive-card h3 a:hover { color: var(--ac-mahogany); }
.ac-archive-card p { font-size: 0.9rem; color: var(--ac-stone); line-height: 1.6; margin-bottom: 12px; }

/* === SILO LANDING (taxonomy-instrumento) === */
.ac-silo-header {
  background: var(--ac-card);
  border-bottom: 1px solid var(--ac-border);
  padding: 40px 24px;
  text-align: center;
}
.ac-silo-header h1 { font-size: 2.2rem; font-weight: 800; color: var(--ac-mahogany); margin-bottom: 8px; }
.ac-silo-header p { font-size: 1.05rem; color: var(--ac-stone); max-width: 600px; margin: 0 auto; }

/* === PAGE CONTENT === */
.ac-page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}
.ac-page-content h1 { font-size: 2rem; font-weight: 800; color: var(--ac-mahogany); margin-bottom: 24px; }
.ac-page-content h2 { font-size: 1.5rem; color: var(--ac-mahogany); margin: 32px 0 12px; }
.ac-page-content h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.ac-page-content p { margin-bottom: 16px; color: var(--ac-stone); line-height: 1.75; }
.ac-page-content ul, .ac-page-content ol { margin: 0 0 16px 24px; list-style: disc; }
.ac-page-content ol { list-style: decimal; }
.ac-page-content li { margin-bottom: 8px; color: var(--ac-stone); line-height: 1.6; }
.ac-page-content a { text-decoration: underline; text-underline-offset: 2px; }
.ac-page-content strong { color: var(--ac-dark); }

/* Tables inside content (bare <table> from the_content) */
.ac-page-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ac-card);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  margin-bottom: 32px;
}
.ac-page-content table thead th {
  background: var(--ac-mahogany);
  color: #FFFFFF;
  font-family: var(--ac-font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 16px;
  text-align: left;
}
.ac-page-content table tbody td {
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--ac-dark);
  border-bottom: 1px solid var(--ac-card-alt);
}
.ac-page-content table tbody tr:nth-child(even) { background: var(--ac-cream); }

/* Score circles inline in content */
.ac-page-content .ac-score-block { display: inline-flex; vertical-align: middle; }
.ac-page-content .ac-score-circle { width: 42px; height: 42px; font-size: 0.95rem; }
.ac-page-content .ac-price-badge { vertical-align: middle; }
.ac-page-content .ac-mejor-badge { vertical-align: middle; margin-left: 8px; }
.ac-page-content .ac-stars { vertical-align: middle; margin-left: 8px; }

/* Ensure proscons grid works inside content (no wpautop br interference) */
.ac-page-content .ac-proscons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.ac-page-content .ac-proscons-grid br { display: none; }
.ac-page-content .ac-proscons-grid .ac-pros-box,
.ac-page-content .ac-proscons-grid .ac-cons-box { margin: 0; }

/* Eval bars inside content */
.ac-page-content .ac-eval-bar { margin-bottom: 12px; }
.ac-page-content p > .ac-eval-bar:first-child { margin-top: 0; }

/* Verdict boxes inside content */
.ac-page-content .ac-verdict { margin: 24px 0 32px; }

/* === FOOTER === */
.ac-footer {
  background: var(--ac-dark);
  color: rgba(255,251,235,0.7);
  border-top: 3px solid var(--ac-honey);
}
.ac-footer-grid {
  max-width: var(--ac-max-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.ac-footer h4 {
  color: var(--ac-cream);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.ac-footer p { font-size: 0.88rem; line-height: 1.65; }
.ac-footer a { color: rgba(255,251,235,0.7); transition: color .2s; }
.ac-footer a:hover { color: var(--ac-honey); }
.ac-footer-links { list-style: none; }
.ac-footer-links li { padding: 4px 0; }
.ac-footer-links a { font-size: 0.88rem; }
.ac-footer-bottom {
  max-width: var(--ac-max-width);
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,251,235,0.1);
  text-align: center;
  font-size: 0.82rem;
}

/* === 404 === */
.ac-404 { text-align: center; padding: 80px 24px; }
.ac-404 h1 { font-size: 6rem; font-weight: 800; color: var(--ac-border); margin-bottom: 16px; }
.ac-404 h2 { font-size: 1.5rem; color: var(--ac-mahogany); margin-bottom: 16px; }
.ac-404 p { color: var(--ac-stone); margin-bottom: 24px; }

/* === COOKIE BANNER === */
.ac-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ac-dark);
  color: var(--ac-cream);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.ac-cookie-banner.ac-cookie-active { display: flex; }
.ac-cookie-inner {
  max-width: var(--ac-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ac-cookie-text { font-size: 0.88rem; line-height: 1.5; flex: 1; }
.ac-cookie-text a { color: var(--ac-honey); text-decoration: underline; }
.ac-cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.ac-cookie-accept {
  background: var(--ac-green);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background .2s;
}
.ac-cookie-accept:hover { background: var(--ac-green-dark); }
.ac-cookie-settings {
  background: transparent;
  color: var(--ac-cream);
  border: 1px solid rgba(255,251,235,0.3);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color .2s;
}
.ac-cookie-settings:hover { border-color: var(--ac-honey); }

/* === PROGRESS BARS (Como evaluamos) === */
.ac-eval-bar { margin-bottom: 12px; }
.ac-eval-label { font-size: 0.85rem; font-weight: 600; color: var(--ac-dark); margin-bottom: 4px; display: flex; justify-content: space-between; }
.ac-eval-track { height: 8px; background: var(--ac-card-alt); border-radius: 4px; overflow: hidden; }
.ac-eval-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.ac-eval-fill.ac-eval-high { background: var(--ac-green); }
.ac-eval-fill.ac-eval-mid { background: var(--ac-honey); }
.ac-eval-fill.ac-eval-low { background: var(--ac-red); }

/* === PAGINATION === */
.ac-pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.ac-pagination a, .ac-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--ac-border);
  color: var(--ac-dark);
}
.ac-pagination .current { background: var(--ac-mahogany); color: #FFFFFF; border-color: var(--ac-mahogany); }
.ac-pagination a:hover { border-color: var(--ac-mahogany); color: var(--ac-mahogany); }

/* === SEARCH === */
.ac-searchform { display: flex; gap: 8px; max-width: 480px; }
.ac-searchform input[type="search"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--ac-border);
  border-radius: 6px;
  font-family: var(--ac-font-body);
  font-size: 0.95rem;
  background: var(--ac-card);
}
.ac-searchform input[type="search"]:focus { outline: none; border-color: var(--ac-mahogany); }
.ac-searchform button {
  background: var(--ac-mahogany);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.ac-searchform button:hover { background: var(--ac-mahogany-dark); }

/* === RELATED ARTICLES === */
.ac-related-articles {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--ac-card-alt);
  border-radius: 10px;
  border-left: 4px solid var(--ac-mahogany);
}
.ac-related-articles h3 {
  font-family: var(--ac-font-heading);
  font-size: 1.1rem;
  color: var(--ac-mahogany);
  margin: 0 0 12px;
}
.ac-related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-related-articles li::before {
  content: "\2192";
  margin-right: 8px;
  color: var(--ac-honey);
  font-weight: 700;
}
.ac-related-articles a {
  color: var(--ac-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.ac-related-articles a:hover {
  color: var(--ac-mahogany);
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 1079px) {
  .ac-content-grid { grid-template-columns: 1fr 260px; gap: 24px; }
}
@media (max-width: 768px) {
  .ac-content-grid { grid-template-columns: 1fr; }
  .ac-header-inner { height: 60px; }
  .ac-nav { display: none; }
  .ac-nav.ac-nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--ac-card);
    border-bottom: 2px solid var(--ac-border);
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .ac-nav.ac-nav-open .ac-nav-list { flex-direction: column; gap: 0; }
  .ac-nav-list .sub-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .ac-nav-list li:hover > .sub-menu { display: block; }
  .ac-menu-toggle { display: block; }
  .ac-hero h1 { font-size: 1.8rem; }
  .ac-hero { padding: 48px 24px 56px; }
  .ac-product-card { padding: 20px; }
  .ac-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .ac-cookie-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .ac-proscons-grid,
  .ac-page-content .ac-proscons-grid { grid-template-columns: 1fr; }
  .ac-product-header { flex-direction: column; }
  .ac-product-footer { flex-direction: column; align-items: flex-start; }
}
