/**
 * EHERO Cookie Consent — Frontend Styles
 *
 * Professional design inspired by El País, ABC.es, Applesfera.
 * Generous typography, prominent buttons, spacious columns.
 *
 * @package Ehero_Cookie_Consent
 * @version 2.0.0
 */

/* ═══════════════════════════════════════════════════════════════
   Custom Properties — Full Theming API
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --ehero-cc-primary: #1a73e8;
  --ehero-cc-primary-hover: #1557b0;
  --ehero-cc-primary-light: rgba(26, 115, 232, 0.06);

  /* Surfaces */
  --ehero-cc-bg: #ffffff;
  --ehero-cc-bg-elevated: #ffffff;
  --ehero-cc-secondary: #f7f8fa;
  --ehero-cc-border: #e5e7eb;
  --ehero-cc-border-strong: #d1d5db;

  /* Text */
  --ehero-cc-text: #111827;
  --ehero-cc-text-secondary: #4b5563;
  --ehero-cc-text-muted: #9ca3af;

  /* Buttons */
  --ehero-cc-accept-bg: var(--ehero-cc-primary);
  --ehero-cc-accept-hover: var(--ehero-cc-primary-hover);
  --ehero-cc-accept-shadow: rgba(26, 115, 232, 0.22);
  --ehero-cc-reject-bg: #f3f4f6;
  --ehero-cc-reject-text: #374151;
  --ehero-cc-reject-hover: #e5e7eb;
  --ehero-cc-settings-bg: transparent;
  --ehero-cc-pay-bg: #1a1a1a;
  --ehero-cc-pay-hover: #000000;

  /* Toggle */
  --ehero-cc-toggle-off: #d1d5db;
  --ehero-cc-toggle-on: var(--ehero-cc-primary);

  /* Layout */
  --ehero-cc-radius: 16px;
  --ehero-cc-radius-sm: 10px;
  --ehero-cc-radius-btn: 8px;
  --ehero-cc-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --ehero-cc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --ehero-cc-shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Typography */
  --ehero-cc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --ehero-cc-lh: 1.6;

  /* Z-index */
  --ehero-cc-z: 999999;

  /* Timing */
  --ehero-cc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ehero-cc-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ehero-cc-duration: 0.35s;
}

/* ═══════════════════════════════════════════════════════════════
   Scoped Reset
   ═══════════════════════════════════════════════════════════════ */

#ehero-cc-root,
#ehero-cc-root *,
#ehero-cc-root *::before,
#ehero-cc-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#ehero-cc-root {
  font-family: var(--ehero-cc-font);
  font-size: 15px;
  line-height: var(--ehero-cc-lh);
  color: var(--ehero-cc-text);
  -webkit-text-size-adjust: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   Screen Reader Only
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Keyframe Animations
   ═══════════════════════════════════════════════════════════════ */

@keyframes ehero-cc-slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes ehero-cc-slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes ehero-cc-fadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@keyframes ehero-cc-slideRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes ehero-cc-fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   Overlay (shared by popup + wall)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--ehero-cc-z);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.40);
  opacity: 0;
  transition: opacity 0.35s var(--ehero-cc-ease-out);
}

.ehero-cc-overlay:has(.ehero-cc-banner--visible) {
  animation: ehero-cc-fadeOverlay 0.35s var(--ehero-cc-ease-out) forwards;
}

.ehero-cc-overlay--hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
}

.ehero-cc-overlay--wall {
  background: rgba(0, 0, 0, 0.55);
}

.ehero-cc-overlay--wall:has(.ehero-cc-banner--wall-hard) {
  background: rgba(0, 0, 0, 0.72);
}

body.ehero-cc-wall-active {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   Banner — Base
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner {
  position: fixed;
  z-index: var(--ehero-cc-z);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--ehero-cc-duration) var(--ehero-cc-ease-out),
    visibility var(--ehero-cc-duration) var(--ehero-cc-ease-out),
    transform var(--ehero-cc-duration) var(--ehero-cc-ease-out);
}

.ehero-cc-banner--visible {
  opacity: 1;
  visibility: visible;
}

.ehero-cc-banner--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Banner — Bar Layout
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner--bar {
  left: 0;
  right: 0;
  padding: 0;
  background: var(--ehero-cc-bg);
  border-top: 1px solid var(--ehero-cc-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.ehero-cc-banner--bar.ehero-cc-banner--bottom {
  bottom: 0;
  transform: translateY(100%);
}

.ehero-cc-banner--bar.ehero-cc-banner--bottom.ehero-cc-banner--visible {
  animation: ehero-cc-slideUp 0.5s var(--ehero-cc-ease) forwards;
}

.ehero-cc-banner--bar.ehero-cc-banner--top {
  top: 0;
  bottom: auto;
  border-top: none;
  border-bottom: 1px solid var(--ehero-cc-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
}

.ehero-cc-banner--bar.ehero-cc-banner--top.ehero-cc-banner--visible {
  animation: ehero-cc-slideDown 0.5s var(--ehero-cc-ease) forwards;
}

.ehero-cc-banner--bar .ehero-cc-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
}

.ehero-cc-banner--bar .ehero-cc-btn {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 11px 22px;
  white-space: nowrap;
}

.ehero-cc-banner--bar .ehero-cc-banner__content {
  flex: 1;
  min-width: 0;
}

.ehero-cc-banner--bar .ehero-cc-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════
   Banner — Popup Layout
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner--popup {
  position: relative;
  max-width: 540px;
  width: 100%;
  background: var(--ehero-cc-bg-elevated);
  border-radius: 20px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.18),
    0 8px 30px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.ehero-cc-banner--popup.ehero-cc-banner--visible {
  animation: ehero-cc-fadeIn 0.4s var(--ehero-cc-ease) forwards;
}

.ehero-cc-banner--popup .ehero-cc-banner__inner {
  padding: 40px 40px 36px;
}

.ehero-cc-banner--popup .ehero-cc-banner__content {
  margin-bottom: 32px;
}

.ehero-cc-banner--popup .ehero-cc-banner__actions {
  display: flex;
  gap: 12px;
}

.ehero-cc-banner--popup .ehero-cc-btn {
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
  padding: 13px 24px;
}

/* ═══════════════════════════════════════════════════════════════
   Banner — Corner Layout
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner--corner {
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  width: calc(100vw - 48px);
  background: var(--ehero-cc-bg-elevated);
  border-radius: 18px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.14),
    0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform: translateX(110%);
}

.ehero-cc-banner--corner.ehero-cc-banner--visible {
  animation: ehero-cc-slideRight 0.5s var(--ehero-cc-ease) forwards;
}

.ehero-cc-banner--corner .ehero-cc-banner__inner {
  padding: 24px 22px 22px;
}

.ehero-cc-banner--corner .ehero-cc-banner__content {
  margin-bottom: 20px;
}

.ehero-cc-banner--corner .ehero-cc-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ehero-cc-banner--corner .ehero-cc-banner__title {
  font-size: 16px;
}

.ehero-cc-banner--corner .ehero-cc-banner__message {
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════
   Banner — Typography
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ehero-cc-text);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ehero-cc-banner__message {
  font-size: 14px;
  color: var(--ehero-cc-text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

.ehero-cc-banner__policy-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ehero-cc-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ehero-cc-banner__policy-link:hover {
  color: var(--ehero-cc-primary-hover);
  text-decoration: underline;
}

.ehero-cc-banner__policy-link:focus-visible {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   Buttons — Base
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: var(--ehero-cc-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  border: none;
  border-radius: var(--ehero-cc-radius-btn);
  cursor: pointer;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.ehero-cc-btn:active {
  transform: scale(0.98);
}

.ehero-cc-btn:focus-visible {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 2px;
}

/* ── Accept / Accept All ─────────────────────────────────── */

.ehero-cc-btn--accept,
.ehero-cc-btn--accept-all {
  background: var(--ehero-cc-accept-bg);
  color: #fff;
  box-shadow: 0 2px 6px var(--ehero-cc-accept-shadow);
}

.ehero-cc-btn--accept:hover,
.ehero-cc-btn--accept-all:hover {
  background: var(--ehero-cc-accept-hover);
  box-shadow: 0 4px 14px var(--ehero-cc-accept-shadow);
}

.ehero-cc-btn--accept:active,
.ehero-cc-btn--accept-all:active {
  box-shadow: 0 1px 3px var(--ehero-cc-accept-shadow);
}

/* ── Reject ──────────────────────────────────────────────── */

.ehero-cc-btn--reject {
  background: var(--ehero-cc-reject-bg);
  color: var(--ehero-cc-reject-text);
}

.ehero-cc-btn--reject:hover {
  background: var(--ehero-cc-reject-hover);
}

/* ── Settings ────────────────────────────────────────────── */

.ehero-cc-btn--settings {
  background: var(--ehero-cc-settings-bg);
  color: var(--ehero-cc-text-secondary);
  border: none;
  box-shadow: none;
  padding: 13px 18px;
  font-weight: 500;
}

.ehero-cc-btn--settings:hover {
  color: var(--ehero-cc-primary);
  background: var(--ehero-cc-primary-light);
}

/* ── Save ────────────────────────────────────────────────── */

.ehero-cc-btn--save {
  background: var(--ehero-cc-primary);
  color: #fff;
  flex: 1;
  box-shadow: 0 2px 6px var(--ehero-cc-accept-shadow);
}

.ehero-cc-btn--save:hover {
  background: var(--ehero-cc-primary-hover);
  box-shadow: 0 4px 14px var(--ehero-cc-accept-shadow);
}

/* ── Pay (Cookie Wall) ───────────────────────────────────── */

.ehero-cc-btn--pay {
  background: var(--ehero-cc-pay-bg);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.ehero-cc-btn--pay:hover {
  background: var(--ehero-cc-pay-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* ═══════════════════════════════════════════════════════════════
   Preferences Modal
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--ehero-cc-z) + 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ehero-cc-modal[hidden] {
  display: none;
}

.ehero-cc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  animation: ehero-cc-fadeOverlay 0.3s var(--ehero-cc-ease-out);
}

.ehero-cc-modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--ehero-cc-bg-elevated);
  border-radius: var(--ehero-cc-radius);
  box-shadow: var(--ehero-cc-shadow-xl);
  animation: ehero-cc-fadeIn 0.35s var(--ehero-cc-ease);
  overflow: hidden;
}

.ehero-cc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-bottom: 1px solid var(--ehero-cc-border);
  flex-shrink: 0;
}

.ehero-cc-modal__header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ehero-cc-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ehero-cc-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--ehero-cc-secondary);
  border-radius: 8px;
  font-size: 18px;
  color: var(--ehero-cc-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.ehero-cc-modal__close:hover {
  background: var(--ehero-cc-reject-hover);
  color: var(--ehero-cc-text);
}

.ehero-cc-modal__close:focus-visible {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 2px;
}

.ehero-cc-modal__body {
  overflow-y: auto;
  padding: 4px 30px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.ehero-cc-modal__body::-webkit-scrollbar { width: 5px; }
.ehero-cc-modal__body::-webkit-scrollbar-track { background: transparent; }
.ehero-cc-modal__body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }
.ehero-cc-modal__body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.18); }

.ehero-cc-modal__footer {
  display: flex;
  gap: 12px;
  padding: 20px 30px;
  border-top: 1px solid var(--ehero-cc-border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Category Rows (Preferences modal)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-category {
  padding: 18px 0;
  border-bottom: 1px solid var(--ehero-cc-border);
}

.ehero-cc-category:last-child {
  border-bottom: none;
}

.ehero-cc-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.ehero-cc-category__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ehero-cc-text);
  line-height: 1.4;
}

.ehero-cc-category__always {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ehero-cc-category__desc {
  font-size: 13px;
  color: var(--ehero-cc-text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   Toggle Switch
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.ehero-cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.ehero-cc-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--ehero-cc-toggle-off);
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.ehero-cc-toggle__slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehero-cc-toggle input:checked + .ehero-cc-toggle__slider {
  background: var(--ehero-cc-toggle-on);
}

.ehero-cc-toggle input:checked + .ehero-cc-toggle__slider::before {
  transform: translateX(20px);
}

.ehero-cc-toggle input:focus-visible + .ehero-cc-toggle__slider {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 3px;
}

.ehero-cc-toggle input:disabled + .ehero-cc-toggle__slider {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   Cookie Wall — Two-Column Pay-or-Accept
   Inspired by El País, ABC.es — generous spacing, clear hierarchy
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner--wall {
  max-width: 920px;
  border-radius: 20px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.18),
    0 8px 30px rgba(0, 0, 0, 0.10);
}

.ehero-cc-banner--wall .ehero-cc-banner__inner {
  padding: 0;
}

/* ── Wall Header ── */

.ehero-cc-wall-header {
  text-align: center;
  padding: 48px 48px 32px;
  border-bottom: 1px solid var(--ehero-cc-border);
  background: linear-gradient(180deg, #fafbfc 0%, var(--ehero-cc-bg) 100%);
}

.ehero-cc-wall-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ehero-cc-text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 14px;
}

.ehero-cc-wall-header p {
  font-size: 15px;
  color: var(--ehero-cc-text-secondary);
  margin: 0 auto;
  line-height: 1.65;
  max-width: 540px;
}

/* ── Wall Columns ── */

.ehero-cc-wall-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ehero-cc-wall-column {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.ehero-cc-wall-column h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ehero-cc-text);
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ehero-cc-wall-column p {
  font-size: 14px;
  color: var(--ehero-cc-text-secondary);
  line-height: 1.7;
  margin: 0 0 28px;
  flex: 1;
}

/* Accept column */
.ehero-cc-wall-column--accept {
  border-right: 1px solid var(--ehero-cc-border);
  background: var(--ehero-cc-bg);
}

.ehero-cc-wall-column--accept .ehero-cc-btn {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  letter-spacing: -0.01em;
}

/* Pay column */
.ehero-cc-wall-column--pay {
  background: #f0f4f8;
}

.ehero-cc-wall-column--pay .ehero-cc-btn {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  letter-spacing: -0.01em;
}

.ehero-cc-wall-price {
  display: block;
  font-size: 14px;
  color: var(--ehero-cc-text-muted);
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.ehero-cc-wall-login {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ehero-cc-primary);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.ehero-cc-wall-login:hover {
  color: var(--ehero-cc-primary-hover);
  text-decoration: underline;
}

.ehero-cc-wall-login:focus-visible {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Wall Footer ── */

.ehero-cc-wall-footer {
  text-align: center;
  padding: 20px 36px;
  border-top: 1px solid var(--ehero-cc-border);
  background: #f8f9fb;
}

.ehero-cc-wall-footer a {
  font-size: 13px;
  color: var(--ehero-cc-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ehero-cc-wall-footer a:hover {
  color: var(--ehero-cc-primary);
  text-decoration: underline;
}

.ehero-cc-wall-footer .ehero-cc-wall-separator {
  display: inline-block;
  margin: 0 12px;
  color: var(--ehero-cc-border-strong);
}

/* ═══════════════════════════════════════════════════════════════
   Cookie Wall — Hard Wall (accept-only, strong blocking)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner--wall-hard {
  max-width: 560px;
  border-radius: 20px;
}

.ehero-cc-banner--wall-hard .ehero-cc-banner__inner {
  padding: 48px 44px 40px;
  text-align: center;
}

.ehero-cc-banner--wall-hard .ehero-cc-banner__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ehero-cc-banner--wall-hard .ehero-cc-banner__message {
  font-size: 15px;
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.ehero-cc-banner--wall-hard .ehero-cc-banner__actions {
  justify-content: center;
  gap: 14px;
}

.ehero-cc-banner--wall-hard .ehero-cc-btn {
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   Legacy classes (backward compat)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner__pay-section { text-align: center; width: 100%; margin-top: 4px; }

.ehero-cc-banner__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--ehero-cc-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ehero-cc-banner__divider::before,
.ehero-cc-banner__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ehero-cc-border);
}

.ehero-cc-banner__pay-price { display: block; font-size: 13px; color: var(--ehero-cc-text-muted); margin-top: 8px; }
.ehero-cc-banner__pay-login { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--ehero-cc-primary); text-decoration: none; }
.ehero-cc-banner__pay-login:hover { color: var(--ehero-cc-primary-hover); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   Banner — Footer Links (normal consent popup)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-banner__links {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ehero-cc-border);
}

.ehero-cc-banner__links a {
  font-size: 12px;
  color: var(--ehero-cc-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ehero-cc-banner__links a:hover {
  color: var(--ehero-cc-text-secondary);
}

.ehero-cc-banner__links .ehero-cc-link-separator {
  color: var(--ehero-cc-border-strong);
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   Iframe Placeholder (Blocked Content)
   ═══════════════════════════════════════════════════════════════ */

.ehero-cc-iframe-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--ehero-cc-secondary);
  border: 1px dashed var(--ehero-cc-border-strong);
  border-radius: var(--ehero-cc-radius-sm);
  overflow: hidden;
}

.ehero-cc-iframe-placeholder__inner {
  text-align: center;
  padding: 36px 24px;
  color: var(--ehero-cc-text);
}

.ehero-cc-iframe-placeholder__inner .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 14px;
  color: var(--ehero-cc-text-muted);
}

.ehero-cc-iframe-placeholder__inner p {
  font-size: 14px;
  color: var(--ehero-cc-text-secondary);
  margin-bottom: 18px;
  line-height: var(--ehero-cc-lh);
}

.ehero-cc-iframe-placeholder__accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: var(--ehero-cc-font);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ehero-cc-primary);
  border: none;
  border-radius: var(--ehero-cc-radius-btn);
  cursor: pointer;
  box-shadow: 0 2px 6px var(--ehero-cc-accept-shadow);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ehero-cc-iframe-placeholder__accept:hover {
  background: var(--ehero-cc-primary-hover);
  box-shadow: 0 4px 14px var(--ehero-cc-accept-shadow);
}

.ehero-cc-iframe-placeholder__accept:focus-visible {
  outline: 2px solid var(--ehero-cc-primary);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive — Tablet (≤768px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ehero-cc-banner--bar .ehero-cc-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 20px;
  }

  .ehero-cc-banner--bar .ehero-cc-banner__actions {
    flex-direction: column;
    gap: 8px;
  }

  .ehero-cc-banner--bar .ehero-cc-btn {
    width: 100%;
  }

  .ehero-cc-banner--corner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    width: auto;
  }

  .ehero-cc-modal__content {
    max-height: 90vh;
    max-width: 100%;
  }

  .ehero-cc-modal__footer {
    flex-direction: column;
  }

  .ehero-cc-modal__footer .ehero-cc-btn {
    width: 100%;
  }

  /* Wall: stack columns */
  .ehero-cc-banner--wall {
    max-width: 500px;
    border-radius: 16px;
  }

  .ehero-cc-wall-header {
    padding: 32px 28px 24px;
  }

  .ehero-cc-wall-header h2 {
    font-size: 22px;
  }

  .ehero-cc-wall-header p {
    font-size: 14px;
  }

  .ehero-cc-wall-columns {
    grid-template-columns: 1fr;
  }

  .ehero-cc-wall-column--accept {
    border-right: none;
    border-bottom: 1px solid var(--ehero-cc-border);
  }

  .ehero-cc-wall-column {
    padding: 32px 28px;
  }

  .ehero-cc-wall-column .ehero-cc-btn {
    min-height: 50px;
    font-size: 15px;
  }

  .ehero-cc-banner--popup .ehero-cc-banner__actions {
    flex-direction: column;
  }

  .ehero-cc-banner--popup .ehero-cc-banner__actions .ehero-cc-btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Responsive — Mobile (≤480px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .ehero-cc-banner__title {
    font-size: 17px;
  }

  .ehero-cc-banner__message {
    font-size: 13px;
  }

  .ehero-cc-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .ehero-cc-banner--popup .ehero-cc-banner__inner {
    padding: 28px 22px 24px;
  }

  .ehero-cc-modal {
    padding: 10px;
  }

  .ehero-cc-modal__header {
    padding: 18px 20px;
  }

  .ehero-cc-modal__body {
    padding: 4px 20px;
  }

  .ehero-cc-modal__footer {
    padding: 16px 20px;
  }

  .ehero-cc-banner--wall {
    border-radius: 14px;
  }

  .ehero-cc-wall-header {
    padding: 28px 22px 20px;
  }

  .ehero-cc-wall-header h2 {
    font-size: 20px;
  }

  .ehero-cc-wall-column h3 {
    font-size: 17px;
  }

  .ehero-cc-wall-column {
    padding: 28px 22px;
  }

  .ehero-cc-wall-footer {
    padding: 16px 22px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Accessibility — Reduced Motion
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Print — Hide Everything
   ═══════════════════════════════════════════════════════════════ */

@media print {
  #ehero-cc-root,
  .ehero-cc-banner,
  .ehero-cc-modal,
  .ehero-cc-overlay,
  .ehero-cc-iframe-placeholder {
    display: none !important;
  }
}
