/* Carto News — estilos editoriales */

:root {
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-accent: #534ab7;
  --fill-accent: #534ab7;
  --on-accent: #ffffff;
  --bg-accent: #eeedfe;
  --surface-1: #f7f7f5;
  --surface-2: #ffffff;
  --border: #e5e5e0;
  --border-accent: #ccc8f8;
  --color-bg: #ffffff;
  --color-surface: var(--surface-2);
  --color-surface-alt: var(--surface-1);
  --color-text: var(--text-primary);
  --color-text-muted: var(--text-muted);
  --color-accent: var(--fill-accent);
  --color-accent-hover: #433aa0;
  --color-border: var(--border);
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: min(1080px, calc(100% - 2rem));
  /* Referencia de breakpoints — no usar en @media (inválido sin PostCSS); ver docs/responsive.md */
  --bp-sm: 600px;
  --bp-md: 768px;
  --bp-lg: 900px;
  --bp-xl: 1080px;
  --radius: 10px;
  --radius-pill: 20px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--fill-accent);
  color: var(--on-accent);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Header */

.site-header {
  border-bottom: 0.5px solid var(--border);
  background: var(--surface-2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "top"
    "brand"
    "nav";
  gap: 0;
  padding: 0.75rem 0 0;
}

.site-header__top {
  grid-area: top;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2.75rem;
  padding-bottom: 0.25rem;
}

.site-header__top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-header__brand {
  grid-area: brand;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1.25rem;
  text-align: center;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.site-branding .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 5.5rem;
  max-width: 18rem;
  margin-inline: auto;
}

.site-nav {
  grid-area: nav;
  position: relative;
  min-width: 0;
  overflow: visible;
  border-top: 0.5px solid var(--border);
  padding: 1rem 0 1.25rem;
}

.site-title,
.footer-logo {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.site-title span,
.footer-logo span {
  color: var(--text-accent);
}

.site-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list > .menu-item-has-children {
  position: relative;
}

.site-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 20;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.site-nav__list > .menu-item-has-children:hover > .sub-menu,
.site-nav__list > .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav__list .sub-menu .menu-item-has-children {
  position: relative;
}

.site-nav__list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0.25rem;
}

.site-nav__list .sub-menu .menu-item-has-children:hover > .sub-menu,
.site-nav__list .sub-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav__list .sub-menu a {
  display: block;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__item--current > a,
.site-nav__item--current > .site-nav__games-toggle {
  color: var(--text-primary);
}

@media (min-width: 900px) {
  .site-nav__list a {
    font-size: 1rem;
  }
}

.site-nav__list a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-nav__games-item {
  position: static;
}

.site-nav__games-item:hover > .site-nav__games .site-nav__games-chevron,
.site-nav__games-item:focus-within > .site-nav__games .site-nav__games-chevron,
.site-nav__games[open] .site-nav__games-chevron {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.site-nav__games {
  position: static;
}

.site-nav__games-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.site-nav__games-toggle::-webkit-details-marker {
  display: none;
}

.site-nav__games-toggle::marker {
  content: "";
}

.site-nav__games-toggle:hover {
  color: var(--text-primary);
}

.site-nav__games-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-nav__games-chevron {
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.site-nav__games[open] .site-nav__games-chevron {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.site-nav__games-panel {
  display: none;
}

.site-nav__games-heading {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav__games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list .site-nav__game {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.site-nav__list .site-nav__game:hover,
.site-nav__list .site-nav__game--current {
  color: var(--text-primary);
}

.site-nav__game .cal-game-dot {
  width: 0.5rem;
  height: 0.5rem;
}

@media (min-width: 769px) {
  .site-nav__games-toggle {
    font-size: 1rem;
  }

  .site-nav__games:hover .site-nav__games-chevron,
  .site-nav__games:focus-within .site-nav__games-chevron,
  .site-nav__games-item:hover .site-nav__games-chevron,
  .site-nav__games-item:focus-within .site-nav__games-chevron,
  .site-nav__games[open] .site-nav__games-chevron {
    margin-top: 0.1rem;
    transform: rotate(225deg);
  }

  .site-nav__games-panel {
    position: absolute;
    top: calc(100% - 0.35rem);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.25rem 1.25rem 1.35rem;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: var(--shadow);
  }

  .site-nav__games-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 1.35rem;
  }

  .site-nav__games:hover > .site-nav__games-panel,
  .site-nav__games:focus-within > .site-nav__games-panel,
  .site-nav__games-item:hover .site-nav__games-panel,
  .site-nav__games-item:focus-within .site-nav__games-panel,
  .site-nav__games[open] > .site-nav__games-panel {
    display: block;
  }
}

.site-header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  line-height: 0;
  text-decoration: none;
}

.site-header__search-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}

.site-header__search:hover {
  color: var(--text-primary);
}

.site-header__search:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-subs {
  background: var(--fill-accent);
  color: var(--on-accent);
  border: none;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

.btn-subs:hover {
  background: var(--color-accent-hover);
  color: var(--on-accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--border);
  background: var(--surface-1);
  color: var(--text-primary);
  padding: 0.625rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  line-height: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  transition: background-size 0.2s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle__icon::before {
  top: 2px;
}

.nav-toggle__icon::after {
  bottom: 2px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background-size: 0 2px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: calc(50% - 1px);
  bottom: auto;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: calc(50% - 1px);
  bottom: auto;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    transition: none;
  }
}

/* Main layout */

.site-main {
  padding: 2rem 0 4rem;
  min-height: 60vh;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.site-sidebar {
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.widget-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

/* Typography */

.page-header {
  margin-bottom: 2rem;
}

.page-content:has(.auth-page) > .page-header {
  display: none;
}

.page-content:has(.nl-hero--editorial) > .page-header {
  display: none;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 500;
}

.page-intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

.game-portal-header {
  border-inline-start: 3px solid var(--game-accent, var(--border));
  padding-inline-start: 1rem;
}

.game-card {
  margin-bottom: 1.5rem;
}

.game-card .single-edicion__icon-wrap {
  width: fit-content;
  height: fit-content;
  min-width: 0;
  min-height: 0;
  max-width: 10rem;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.game-card .single-edicion__icon {
  width: auto;
  max-width: 10rem;
  max-height: 6rem;
  height: auto;
  background: transparent;
}

.game-card__monogram {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--game-accent, var(--text-primary));
}

.game-card__description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.game-card__description p {
  margin: 0;
}

.game-portal .game-tabs {
  margin-bottom: 2rem;
}

.page-header__actions .page-title {
  margin: 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.section-header a {
  font-size: 0.75rem;
  color: var(--text-accent);
  white-space: nowrap;
}

.section-header .button--sm {
  text-decoration: none;
  white-space: nowrap;
}

.section-divider {
  height: 0.5px;
  background: var(--border);
  margin: 1.8rem 0;
  border: 0;
}

.kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.entry-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.entry-meta__sep {
  margin-inline: 0.35rem;
}

/* Tags / badges */

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-accent);
  background: var(--bg-accent);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.375rem;
}

a.tag {
  text-decoration: none;
}

a.tag:hover {
  opacity: 0.88;
}

.tag--sm {
  font-size: 0.625rem;
  padding: 0.0625rem 0.375rem;
  margin-bottom: 0.25rem;
}

/* Colores por juego: generados en wp_head por Juego_Color_Service (news-core). */
.tag.platform:not([class*="tag--juego-"]) {
  color: var(--text-secondary);
  background: var(--surface-1);
}

/* Hero portada */

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-main {
  position: relative;
  height: auto;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-1);
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  max-height: 15rem;
}

.hero-img__link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.05) 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-img--no-image {
  background: linear-gradient(160deg, #eef2ff 0%, #eeedfe 100%);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-img--no-image .hero-text {
  color: var(--text-primary);
}

.hero-img:not(.hero-img--no-image) .hero-title a,
.hero-img:not(.hero-img--no-image) .hero-meta {
  color: #ffffff;
}

.hero-img:not(.hero-img--no-image) .hero-title a:hover {
  color: #f0f0f0;
}

.hero-title {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0.375rem 0 0.25rem;
}

.hero-title a {
  color: inherit;
}

.hero-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: auto;
}

.side-card {
  min-height: 0;
  padding-bottom: 0.75rem;
  border-bottom: 0.5px solid var(--border);
  overflow: hidden;
}

.side-card__link {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.side-card--text-only .side-card__link {
  gap: 0;
}

.side-card--text-only .side-info {
  flex: 1;
  width: 100%;
  max-width: calc(100% - 1.5em);
  padding-inline-start: 1.5em;
}

.side-card__link > .side-thumb,
.side-card__link > .side-info {
  min-width: 0;
}

.side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-thumb {
  display: block;
  width: 6.5rem;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: var(--surface-1);
  border-radius: 7px;
  border: 0.5px solid var(--border);
  overflow: hidden;
  position: relative;
}

.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-thumb.thumb-bg-magic {
  background: linear-gradient(135deg, #eeedfe, #afa9ec 120%);
}

.side-thumb.thumb-bg-op {
  background: linear-gradient(135deg, #e1f5ee, #5dcaa5 120%);
}

.side-thumb.thumb-bg-pokemon {
  background: linear-gradient(135deg, #faeeda, #ef9f27 120%);
}

.side-thumb.thumb-bg-lorcana {
  background: linear-gradient(135deg, #fbeaf0, #f4c0d1 120%);
}

.side-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-info .stitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.1875rem;
  color: var(--text-primary);
}

.side-info .stitle a {
  color: inherit;
}

.side-card__link:hover .stitle,
.side-info .stitle a:hover {
  color: var(--text-accent);
}

.side-info .smeta {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Game tabs */

.game-tabs {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.gtab {
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--surface-1);
  text-decoration: none;
  line-height: 1.4;
}

.gtab:hover {
  color: var(--text-primary);
}

.gtab.active,
.gtab[aria-current="page"] {
  background: var(--fill-accent);
  color: var(--on-accent);
  border-color: transparent;
}

/* News grid */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.news-card {
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
}

.news-card__media {
  display: block;
}

.news-card-img,
.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-1);
}

.news-card-img.nc-img-magic {
  background: linear-gradient(135deg, #eeedfe 0%, #ccc8f8 100%);
}

.news-card-img.nc-img-pokemon {
  background: linear-gradient(135deg, #fef3cd 0%, #fac775 100%);
}

.news-card-img.nc-img-lorcana {
  background: linear-gradient(135deg, #fbeaf0 0%, #f4c0d1 100%);
}

.news-card-img.nc-img-op {
  background: linear-gradient(135deg, #e1f5ee 0%, #9fe1cb 100%);
}

.news-card-img.nc-img-general,
.news-card-img.nc-img-platform {
  background: var(--surface-1);
}

.news-card-body,
.news-card__body {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-body .stitle,
.news-card__title {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0.25rem 0;
}

.news-card__title a {
  color: var(--text-primary);
}

.news-card-body .slead,
.news-card__excerpt {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
  line-height: 1.5;
  flex: 1;
}

.news-card-body .smeta,
.news-card__meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.news-card__link {
  font-weight: 500;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Calendar */

.cal-section {
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 2rem;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.cal-header h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.cal-header a {
  font-size: 0.75rem;
  color: var(--text-accent);
}

.cal-item__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

.cal-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cal-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--surface-2);
  border-radius: 8px;
  border: 0.5px solid var(--border);
}

.cal-item__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

a.cal-item__main:hover {
  color: var(--text-accent);
}

a.cal-item__main:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.cal-item:has(a.cal-item__main:hover),
.cal-item:has(a.cal-item__main:focus-visible) {
  background: var(--surface-1);
  border-color: var(--text-accent);
}

.cal-item .tag {
  flex-shrink: 0;
  margin-bottom: 0;
}

.cal-date {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 3rem;
}

.cal-game-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-magic {
  background: #7f77dd;
}

.dot-pokemon {
  background: #ba7517;
}

.dot-op {
  background: #1d9e75;
}

.dot-lorcana {
  background: #d4537e;
}

.cal-name {
  font-size: 0.8125rem;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.cal-badge {
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}

.badge-por-confirmar {
  background: #fef3c7;
  color: #92400e;
}

.badge-proximamente {
  background: #eeedfe;
  color: #534ab7;
}

.badge-disponible {
  background: #eaf3de;
  color: #3b6d11;
}

@media (max-width: 600px) {
  .cal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cal-item {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }

  .cal-item__main {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cal-name {
    flex: 1;
    min-width: 0;
  }
}

/* Stores */

.dir-section {
  margin-bottom: 2rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.store-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface-2);
}

.store-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.store-card__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
}

.store-card__media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 8px;
  background: var(--surface-2);
}

.store-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.store-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.store-name {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.store-city {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin: 0;
}

.store-tags {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.375rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-tags .tag {
  margin-bottom: 0;
}

.store-tag {
  font-size: 0.625rem;
  padding: 0.125rem 0.4375rem;
  border-radius: 4px;
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
}

.store-tipo {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.125rem 0.4375rem;
  border-radius: 4px;
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
}

.store-directory-empty {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.tournament-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tournament-accordion__item {
  margin: 0;
}

.tournament-accordion__details {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}

.tournament-accordion__summary {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr) minmax(4.5rem, auto) 1.25rem;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.875rem 1rem;
  cursor: pointer;
  list-style: none;
}

.tournament-accordion__summary::-webkit-details-marker {
  display: none;
}

.tournament-accordion__date {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tournament-accordion__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
}

.tournament-accordion__game {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
}

.tournament-accordion__icon {
  width: 0.625rem;
  height: 0.625rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  justify-self: end;
}

.tournament-accordion__details[open] .tournament-accordion__icon {
  transform: rotate(-135deg) translateY(-2px);
}

.tournament-accordion__panel {
  padding: 1rem;
  border-top: 0.5px solid var(--border);
}

.tournament-accordion__hero {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 600px) {
  .tournament-accordion__hero--has-media {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.tournament-accordion__store-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  min-width: 6rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--text-primary) 5%, transparent);
  text-decoration: none;
  color: inherit;
}

.tournament-accordion__store-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tournament-accordion__store-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tournament-accordion__store-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tournament-accordion__intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.tournament-accordion__heading {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.25;
}

.tournament-accordion__store-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.tournament-accordion__store-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.tournament-accordion__store-link:hover,
.tournament-accordion__store-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.tournament-accordion__address {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.tournament-accordion__meta-list {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .tournament-accordion__meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .tournament-accordion__meta-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tournament-accordion__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  font-size: 0.875rem;
}

.tournament-accordion__meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.tournament-accordion__price-note {
  display: block;
  font-size: 0.85em;
  color: var(--text-muted);
}

.tournament-accordion__badges {
  margin-top: 0.5rem;
}

.tournament-accordion__cta {
  margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
  .tournament-accordion__summary {
    grid-template-columns: minmax(0, 1fr) 1.25rem;
    grid-template-areas:
      'date icon'
      'title icon'
      'game icon';
  }

  .tournament-accordion__date {
    grid-area: date;
  }

  .tournament-accordion__title {
    grid-area: title;
  }

  .tournament-accordion__game {
    grid-area: game;
    justify-content: flex-start;
    justify-self: start;
  }

  .tournament-accordion__icon {
    grid-area: icon;
    align-self: center;
  }
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.store-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-filters input,
.store-filters select {
  min-width: 10rem;
  padding: 0.5rem 0.625rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.store-filters__actions {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.store-directory-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.single-store-wrap {
  padding: 1rem 0 3rem;
}

.store-breadcrumb {
  margin-bottom: 0.5rem;
}

.store-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.store-breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.store-breadcrumb__item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.store-breadcrumb__item a:hover,
.store-breadcrumb__item a:focus {
  color: var(--text-accent);
  text-decoration: underline;
}

.store-breadcrumb__item--current span {
  color: var(--text-primary);
}

.edicion-breadcrumb {
  margin: 0 0 0.5rem;
}

.edicion-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.edicion-breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.edicion-breadcrumb__item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.edicion-breadcrumb__item a:hover,
.edicion-breadcrumb__item a:focus {
  color: var(--text-accent);
  text-decoration: underline;
}

.edicion-breadcrumb__item--current span {
  color: var(--text-primary);
}

.layout-with-sidebar--store {
  grid-template-columns: minmax(260px, 300px) 1fr;
  align-items: start;
}

.layout-with-sidebar--store .layout-with-sidebar__main {
  min-width: 0;
}

.single-store__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.single-store__description {
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: none;
}

.single-store__header--sidebar {
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0.25rem;
  gap: 0.75rem;
}

.single-store__header--sidebar .single-store__title {
  margin: 0;
  width: 100%;
  font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.single-store__header--sidebar .single-store__logo {
  display: block;
  width: 112px;
  height: 112px;
  margin-inline: auto;
}

.single-store__header--sidebar .single-store__cta {
  width: 100%;
  margin: 0.25rem 0 0;
}

.single-store__website-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
}

.single-store__website-icon {
  flex-shrink: 0;
}

.single-store__header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.single-store__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface-2);
  flex-shrink: 0;
}

.single-store__title {
  margin: 0 0 0.5rem;
}

.single-store__location {
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.single-store__description.entry-content {
  color: var(--text-primary);
}

.single-store__description.entry-content > :first-child {
  margin-top: 0;
}

@media (min-width: 768px) {
  .single-store__description.entry-content {
    font-size: 1.25rem;
    line-height: 1.75;
  }

  .single-store__description.entry-content > p {
    margin-block: 1.25rem;
  }

  .single-store__description.entry-content > p:first-child {
    margin-top: 0;
  }

  .single-store__description.entry-content > p:last-child {
    margin-bottom: 0;
  }
}

.single-store__games-section {
  margin-bottom: 1.25rem;
}

.single-store__games-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.single-store__games {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-bottom: 0;
}

.single-store__games .tag,
.single-store__games .tag--sm {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.25rem 0.65rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}

.single-store__games a.tag,
.single-store__games a.tag:hover,
.single-store__games a.tag:focus,
.single-store__games a.tag:focus-visible {
  text-decoration: none;
}

.single-store__section h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.single-store__map-section {
  margin: 0 0 2rem;
}

.single-store__map {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
  border: 0.5px solid var(--border);
}

.single-store__map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.single-store__map-link {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.single-store__newsletter-banner {
  margin: 0 0 2rem;
}

.single-store__newsletter-banner .wp-block-carto-news-newsletter-hero {
  margin-bottom: 0;
}

.single-store__contact-card {
  background: var(--surface-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.single-store__contact-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.single-store__contact-list {
  margin: 0;
}

.single-store__contact-row {
  margin-bottom: 0.875rem;
}

.single-store__contact-row:last-child {
  margin-bottom: 0;
}

.single-store__contact-row dt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.single-store__contact-row dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.single-store__contact-row a {
  color: var(--text-accent);
  word-break: break-word;
}

.single-store__hours {
  margin: 0;
}

.single-store__hours-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.single-store__hours-row + .single-store__hours-row {
  margin-top: 0.2rem;
}

.single-store__contact-row--hours .single-store__hours-row dt {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
}

.single-store__hours-row dd {
  margin: 0;
  color: var(--text-primary);
}

.single-store__hours-row.is-today dt,
.single-store__hours-row.is-today dd {
  font-weight: 600;
  color: var(--text-primary);
}

.single-store__updated {
  margin: 0.75rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.single-store__social-wrap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--border);
}

.single-store__social-title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.single-store__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-store__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  background: var(--surface-1);
  color: var(--text-secondary);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.single-store__social a svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.single-store__social a:hover,
.single-store__social a:focus {
  border-color: var(--border-accent);
}

.single-store__social a:hover svg,
.single-store__social a:focus svg {
  opacity: 0.9;
}

.single-store__cta {
  margin: 1.25rem 0 0;
}

.single-store__claim {
  background: var(--bg-accent);
  border: 0.5px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.single-store__claim-text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.single-store__owner-actions-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.single-store__owner-actions-buttons {
  display: grid;
  gap: 0.75rem;
}

.single-store__owner-actions-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.store-submission-page {
  padding-block: 2rem 3rem;
}

.store-submission-page__content {
  max-width: 42rem;
}

.store-submission-page--result .store-submission-page__content {
  margin-inline: auto;
  text-align: center;
}

.store-form {
  padding: 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.store-form__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.125rem;
  border: 0.5px solid var(--border-accent);
  border-radius: var(--radius);
  background: var(--bg-accent);
}

.store-form__identity-media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}

.store-form__identity-media--placeholder {
  background: color-mix(in srgb, var(--fill-accent) 14%, var(--surface-2));
}

.store-form__identity-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-form__identity-initial {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-accent);
  line-height: 1;
}

.store-form__identity-body {
  min-width: 0;
}

.store-form__identity-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-form__identity-name {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
}

.store-form__intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.store-form__field {
  margin: 0 0 1rem;
}

.store-form__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.store-form__field input[type="text"],
.store-form__field input[type="url"],
.store-form__field input[type="tel"],
.store-form__field input[type="email"],
.store-form__field textarea,
.store-form__field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text-primary);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-form__field textarea {
  min-height: 6rem;
  resize: vertical;
}

.store-form__field input:focus,
.store-form__field textarea:focus,
.store-form__field select:focus {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fill-accent) 16%, transparent);
}

.store-form__field input::placeholder,
.store-form__field textarea::placeholder {
  color: var(--text-muted);
}

.store-form__fieldset {
  margin: 1.5rem 0 0;
  padding: 1.125rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
}

.store-form__fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.store-form__fieldset .store-form__field:last-child {
  margin-bottom: 0;
}

.store-form__checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.store-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.store-form__checkbox:hover {
  border-color: var(--border-accent);
  background: color-mix(in srgb, var(--bg-accent) 40%, #fff);
}

.store-form__checkbox:has(input:checked) {
  border-color: var(--border-accent);
  background: var(--bg-accent);
}

.store-form__checkbox input {
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--fill-accent);
}

.store-form__checkbox span {
  min-width: 0;
}

.store-form__actions {
  margin-top: 1.5rem;
}

.store-form__gate {
  padding: 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-accent);
}

.store-form__gate p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.store-form__gate p:last-child {
  margin-bottom: 0;
}

.store-form__notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.45;
}

.store-form__notice--ok {
  background: color-mix(in srgb, var(--fill-accent) 12%, #fff);
  color: var(--text-primary);
}

.store-form__notice--error {
  background: color-mix(in srgb, #c0392b 12%, #fff);
  color: var(--text-primary);
}

.store-submission-result__card {
  padding: 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  max-width: 28rem;
  margin-inline: auto;
}

.store-submission-result__message {
  margin: 0;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.store-submission-result__message--ok {
  background: color-mix(in srgb, var(--fill-accent) 12%, #fff);
  color: var(--text-primary);
}

.store-submission-result__message--error {
  background: color-mix(in srgb, #c0392b 12%, #fff);
  color: var(--text-primary);
}

.store-submission-result__nav-kicker {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.store-submission-result__nav {
  display: grid;
  gap: 0.625rem;
  max-width: 18rem;
  margin-inline: auto;
}

.store-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.store-form__required {
  color: var(--text-secondary);
}

.store-form__declaration {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-accent);
}

.store-form__declaration-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
}

.store-form__declaration-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.store-form__disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.store-related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.store-related__label {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.store-related__grid {
  margin-bottom: 0;
}

.button--block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.single-store__cta .button--block {
  margin: 0;
}

/* Newsletter */

.nl-section {
  border: 0.5px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nl-section--embedded {
  margin-bottom: 0;
}

.nl-text h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-accent);
  margin: 0 0 0.25rem;
}

.nl-text p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.nl-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.nl-form input[type="email"] {
  padding: 0.4375rem 0.75rem;
  border-radius: var(--radius);
  border: 0.5px solid var(--border-accent);
  font-size: 0.8125rem;
  background: var(--surface-2);
  color: var(--text-primary);
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 190px;
  width: auto;
  font-family: inherit;
}

.nl-form button {
  background: var(--fill-accent);
  color: var(--on-accent);
  border: none;
  padding: 0.4375rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}

.nl-form button:hover {
  background: var(--color-accent-hover);
}

.nl-form__notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* Single post (envoltorio; medidas editoriales en editorial.css) */

/* Related posts (single) */

.carto-news-news-related-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
  max-width: none;
}

.carto-news-news-related-block .section-header {
  margin-bottom: 1.25rem;
}

.news-grid--related {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .news-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid--related {
    grid-template-columns: 1fr;
  }
}

/* Components */

.button {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: var(--fill-accent);
  color: var(--on-accent) !important;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.button:hover {
  background: var(--color-accent-hover);
  color: var(--on-accent) !important;
}

/* Search & pagination */

.search-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: inherit;
}

.search-form input[type="submit"] {
  padding: 0.625rem 1rem;
  border: none;
  border-radius: var(--radius);
  background: var(--fill-accent);
  color: var(--on-accent);
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}

/* Search dialog (header overlay) */

.search-dialog {
  width: min(100% - 2rem, 32rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0.5px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--surface-1);
  color: var(--text-primary);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 12%);
}

.search-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}

.search-dialog__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
}

.search-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.search-dialog__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

.search-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.search-dialog__close:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.search-dialog__close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.search-dialog__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.search-dialog__field input[type="search"],
.search-dialog__field select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.search-dialog__field select {
  cursor: pointer;
}

.search-dialog__field input[type="search"]:focus-visible,
.search-dialog__field select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.search-dialog__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.search-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.button--secondary {
  background: var(--surface-2);
  color: var(--text-primary) !important;
  border: 0.5px solid var(--border);
}

.button--secondary:hover {
  background: var(--surface-3, var(--surface-2));
  color: var(--text-primary) !important;
}

.button--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.button--danger {
  background: var(--color-danger, #c0392b);
  color: #fff !important;
  border: 0.5px solid transparent;
}

.button--danger:hover {
  background: color-mix(in srgb, var(--color-danger, #c0392b) 88%, #000);
  color: #fff !important;
}

/* Search results */

.search-results-summary {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.search-magic-cards {
  margin-block: 2rem;
}

.search-magic-cards__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.search-magic-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-magic-cards .magic-card {
  margin: 0;
  max-width: 14rem;
}

.search-magic-cards .magic-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-yugioh-cards {
  margin-block: 2rem;
}

.search-yugioh-cards__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.search-yugioh-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-yugioh-cards .yugioh-card {
  margin: 0;
  max-width: 14rem;
}

.search-yugioh-cards .yugioh-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-lorcana-cards {
  margin-block: 2rem;
}

.search-lorcana-cards__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.search-lorcana-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-lorcana-cards .lorcana-card {
  margin: 0;
  max-width: 14rem;
}

.search-lorcana-cards .lorcana-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-onepiece-cards {
  margin-block: 2rem;
}

.search-onepiece-cards__title {
  margin-bottom: 1rem;
}

.search-onepiece-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-onepiece-cards .onepiece-card {
  margin: 0;
  max-width: 14rem;
}

.search-onepiece-cards .onepiece-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-gundam-cards {
  margin-block: 2rem;
}

.search-gundam-cards__title {
  margin-bottom: 1rem;
}

.search-gundam-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-gundam-cards .gundam-card {
  margin: 0;
  max-width: 14rem;
}

.search-gundam-cards .gundam-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-riftbound-cards {
  margin-block: 2rem;
}

.search-riftbound-cards__title {
  margin-bottom: 1rem;
}

.search-riftbound-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-riftbound-cards .riftbound-card {
  margin: 0;
  max-width: 14rem;
}

.search-riftbound-cards .riftbound-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-swu-cards {
  margin-block: 2rem;
}

.search-swu-cards__title {
  margin-bottom: 1rem;
}

.search-swu-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-swu-cards .swu-card {
  margin: 0;
  max-width: 14rem;
}

.search-swu-cards .swu-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-fab-cards {
  margin-block: 2rem;
}

.search-fab-cards__title {
  margin-bottom: 1rem;
}

.search-fab-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
}

.search-fab-cards .fab-card {
  margin: 0;
  max-width: 14rem;
}

.search-fab-cards .fab-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.search-result-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
}

.search-result-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}

.search-result-card__type {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.search-result-card__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.search-result-card__title a {
  color: var(--text-primary);
  text-decoration: none;
}

.search-result-card__title a:hover {
  color: var(--color-accent);
}

.search-result-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .search-dialog__filters {
    grid-template-columns: 1fr;
  }

  .search-dialog__actions {
    flex-direction: column-reverse;
  }

  .search-dialog__actions .button {
    width: 100%;
    text-align: center;
  }
}

/* Feedback widget flotante */
.feedback-widget__tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  min-width: 2.75rem;
  padding: 0.65rem 0.45rem;
  border: 1px solid var(--color-border, #e0e0e0);
  border-right: none;
  border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
  background: var(--wp--preset--color--primary, #534ab7);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s ease;
}

.feedback-widget__tab-label {
  display: inline-block;
  transform: rotate(180deg);
}

.feedback-widget__tab[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.feedback-widget__tab:hover {
  filter: brightness(1.05);
}

.feedback-widget__tab:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary, #534ab7);
  outline-offset: 2px;
}

.feedback-dialog {
  position: fixed;
  inset: 1rem 0 1rem auto;
  margin: 0;
  width: min(calc(100% - 1rem), 26rem);
  height: calc(100vh - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid var(--color-border, #e0e0e0);
  border-right: none;
  border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
  background: var(--color-surface, #fff);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  font-size: 0.875rem;
}

.feedback-dialog::backdrop {
  background: rgba(0, 0, 0, 0.18);
}

.feedback-dialog__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.feedback-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border, #e0e0e0);
  flex-shrink: 0;
}

.feedback-dialog__heading {
  flex: 1;
  min-width: 0;
}

.feedback-dialog__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.feedback-dialog__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2rem;
  min-height: 2rem;
  margin: -0.25rem -0.25rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted, #555);
  cursor: pointer;
}

.feedback-dialog__close:hover {
  color: var(--color-text, #1a1a1a);
}

.feedback-dialog__close:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary, #534ab7);
  outline-offset: 2px;
}

.feedback-dialog__body {
  flex: 1;
  min-height: 0;
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
}

.feedback-dialog__intro {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted, #555);
}

.feedback-dialog [data-feedback-success][hidden],
.feedback-dialog [data-feedback-form-wrap][hidden],
.feedback-dialog [data-feedback-dialog-header][hidden] {
  display: none !important;
}

.feedback-dialog.is-success .feedback-dialog__body {
  padding-top: 1.25rem;
}

.cnr-feedback-form--widget .store-form__field label {
  font-size: 0.8125rem;
}

.cnr-feedback-form__auth-hint {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary, #555);
  background: var(--color-surface-muted, #f5f5f5);
  border-radius: var(--radius-md, 8px);
}

.cnr-feedback-form__auth-hint a {
  color: var(--wp--preset--color--primary, #534ab7);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cnr-feedback-form__auth-hint a:hover {
  color: var(--color-accent-hover, #4338ca);
}

.cnr-feedback-form--widget .store-form__field input,
.cnr-feedback-form--widget .store-form__field select,
.cnr-feedback-form--widget .store-form__field textarea {
  font-size: 0.875rem;
  padding: 0.55rem 0.65rem;
}

.cnr-feedback-form--widget .store-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border, #e0e0e0);
}

.cnr-feedback-form--widget .store-form__field:last-of-type {
  margin-bottom: 1rem;
}

.feedback-dialog__success {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0 0.25rem;
}

.feedback-dialog__success-message {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary, #1a1a1a);
}

.feedback-dialog__success-message p {
  margin: 0 0 0.75rem;
}

.feedback-dialog__success-message p:last-child {
  margin-bottom: 0;
}

.feedback-dialog__success-message a {
  color: var(--wp--preset--color--primary, #534ab7);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.feedback-dialog__success-message a:hover {
  color: var(--color-accent-hover, #4338ca);
}

.feedback-dialog__success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border, #e0e0e0);
}

.feedback-dialog [data-feedback-login-wrap][hidden],
.feedback-dialog [data-feedback-register-wrap][hidden] {
  display: none !important;
}

.feedback-dialog__auth-wrap .auth-form--embed {
  margin: 0;
}

.feedback-dialog__auth-wrap .auth-form__embed-back {
  margin: 0 0 0.75rem;
}

.cnr-feedback-form__auth-hint button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--wp--preset--color--primary, #534ab7);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cnr-feedback-form__auth-hint button:hover {
  color: var(--color-accent-hover, #4338ca);
}

.auth-form__link-button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--wp--preset--color--primary, #534ab7);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-form__link-button:hover {
  color: var(--color-accent-hover, #4338ca);
}

.cnr-feedback-form__notice--auth {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .feedback-widget__tab {
    top: auto;
    bottom: 1rem;
    transform: none;
    writing-mode: horizontal-tb;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 var(--radius-md, 8px);
    border: 1px solid var(--color-border, #e0e0e0);
    border-bottom: none;
    border-right: none;
    right: 1rem;
  }

  .feedback-widget__tab-label {
    transform: none;
  }

  .feedback-dialog {
    inset: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  padding: 0.5rem 0.875rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-primary);
}

.pagination .current,
.nav-links .current {
  background: var(--fill-accent);
  border-color: var(--fill-accent);
  color: var(--on-accent);
}

/* Footer */

.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 1.2rem 0 2rem;
  background: var(--surface-2);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list a,
.site-footer__links span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-footer__list a:hover {
  color: var(--text-primary);
}

.site-footer__socials {
  display: flex;
  gap: 0.625rem;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-footer__socials a:hover {
  color: var(--text-primary);
}

.site-footer__copy {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer__copy a {
  color: var(--text-primary);
}

/* 404 */

.error-404 {
  text-align: center;
  padding: 3rem 0;
}

.error-404__search {
  margin: 1.5rem 0 0;
}

.error-404__back {
  margin-top: 1.5rem;
}

/* Block editor front-end wrappers */

.wp-block-carto-news-hero-featured,
.wp-block-carto-news-news-grid {
  margin-bottom: 2rem;
}

.wp-block-carto-news-store-directory {
  margin-top: 2.5rem;
}

/* Responsive */

@media (max-width: 900px) {
  .news-grid,
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-main {
    height: auto;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .site-nav__list {
    gap: 0.5rem 1rem;
  }

  .site-header__top-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding: 1.25rem 0 2.5rem;
  }

  .section-divider {
    margin: 1.25rem 0;
  }

  .site-header__inner {
    grid-template-areas:
      "top"
      "brand"
      "nav";
    padding: 0.5rem 0 0;
    row-gap: 0;
  }

  .site-header__top {
    justify-content: space-between;
    min-height: 2.75rem;
    padding-bottom: 0;
  }

  .site-header__top-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .site-header__brand {
    padding: 1rem 0 1.25rem;
  }

  .site-branding .custom-logo {
    max-height: 6.5rem;
    max-width: min(88vw, 22rem);
  }

  .site-title {
    font-size: 2.25rem;
  }

  .site-nav {
    border-top: none;
    padding: 0;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    min-width: 2.75rem;
    margin-right: auto;
  }

  .site-header__search {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .btn-subs {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
  }

  .site-header__account {
    display: none;
  }

  .site-nav {
    display: none;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 0.5px solid var(--border);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.25rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    white-space: normal;
    text-transform: none;
    letter-spacing: normal;
  }

  .site-nav__list .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.25rem 0.75rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__list .sub-menu a {
    display: flex;
    min-height: 2.5rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: normal;
  }

  .site-nav__games {
    width: 100%;
  }

  .site-nav__games-toggle {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
  }

  .site-nav__games-panel {
    position: static;
    padding: 0 0 0.35rem 0.75rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__games[open] > .site-nav__games-panel {
    display: block;
  }

  .site-nav__games-heading {
    margin-bottom: 0.15rem;
  }

  .site-nav__games-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .site-nav__list .site-nav__game {
    min-height: 2.75rem;
    white-space: normal;
  }

  .site-nav__account {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 0.5px solid var(--border);
  }

  .site-nav__account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-nav__account-actions .button,
  .site-nav__account-actions .site-header__account-login,
  .site-nav__account-actions .site-header__account-register {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
    min-height: 2.75rem;
  }

  .site-nav__account-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    text-decoration: none;
  }

  .site-nav__account .site-header__logout {
    margin: 0;
  }

  .site-nav__account .site-header__account-logout {
    width: 100%;
    min-height: 2.75rem;
  }

  .news-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  /* Archive/home: lista compacta (mismo patrón que bloque news-grid) */
  .layout-with-sidebar__main > .news-grid {
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .layout-with-sidebar__main > .news-grid .news-card {
    flex-direction: row;
    align-items: stretch;
    border: none;
    border-bottom: 0.5px solid var(--border);
    border-radius: 0;
    background: transparent;
  }

  .layout-with-sidebar__main > .news-grid .news-card:first-child {
    border-top: 0.5px solid var(--border);
  }

  .layout-with-sidebar__main > .news-grid .news-card__media {
    width: 6.5rem;
    flex-shrink: 0;
    align-self: stretch;
  }

  .layout-with-sidebar__main > .news-grid .news-card__media img,
  .layout-with-sidebar__main > .news-grid .news-card-img {
    width: 100%;
    height: 100%;
    min-height: 4.5rem;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: calc(var(--radius) - 2px);
  }

  .layout-with-sidebar__main > .news-grid .news-card-body,
  .layout-with-sidebar__main > .news-grid .news-card__body {
    padding: 0.65rem 0 0.65rem 0.75rem;
    justify-content: center;
  }

  .layout-with-sidebar__main > .news-grid .news-card__excerpt,
  .layout-with-sidebar__main > .news-grid .news-card-body .slead {
    display: none;
  }

  .layout-with-sidebar__main > .news-grid .news-card__title,
  .layout-with-sidebar__main > .news-grid .news-card-body .stitle {
    font-size: 0.9375rem;
    margin: 0.15rem 0;
  }

  .layout-with-sidebar__main > .news-grid .news-card__meta,
  .layout-with-sidebar__main > .news-grid .news-card-body .smeta {
    margin-top: 0.25rem;
  }

  /* Portal de juego: tabs con scroll horizontal táctil */
  .game-portal > .game-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    margin-inline: -1rem;
    padding: 0.25rem 1rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  .game-portal > .game-tabs::-webkit-scrollbar {
    display: none;
  }

  .game-portal > .game-tabs .gtab {
    flex-shrink: 0;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
  }

  .page-header {
    margin-bottom: 1.25rem;
  }

  .nl-section {
    flex-direction: column;
    align-items: stretch;
  }

  .nl-form {
    flex-direction: column;
  }

  .nl-form input[type="email"] {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .btn-subs {
    padding-inline: 0.625rem;
    font-size: 0.75rem;
  }

  .store-filters label {
    flex: 1 1 100%;
  }
}

/* Auth y cuenta de miembros */

.site-header__account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__account-login,
.site-header__account-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__account-login {
  color: var(--text-primary);
  border: 0.5px solid var(--border);
  background: var(--surface-2);
}

.site-header__account-login:hover {
  border-color: var(--text-accent);
  color: var(--text-accent);
}

.site-header__account-register {
  color: var(--on-accent);
  background: var(--fill-accent);
  border: none;
}

.site-header__account-register:hover {
  background: var(--color-accent-hover);
  color: var(--on-accent);
}

.site-header__account-login:focus-visible,
.site-header__account-register:focus-visible {
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.site-header__account-menu {
  position: relative;
}

.site-header__account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.8125rem;
}

.site-header__account-menu:hover .site-header__account-link,
.site-header__account-menu:focus-within .site-header__account-link {
  color: var(--text-accent);
}

.site-header__account-avatar,
.site-header__account-initials {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-header__account-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fill-accent, #534ab7);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}

.site-header__logout {
  margin: 0;
}

.site-header__account-menu .site-header__logout {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.site-header__account-menu:hover .site-header__logout,
.site-header__account-menu:focus-within .site-header__logout {
  display: block;
}

.site-header__account-logout {
  appearance: none;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.35;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  width: 100%;
}

.site-header__account-menu .site-header__account-logout {
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.25;
  min-height: auto;
  padding: 1em;
  width: auto;
  white-space: nowrap;
}

.site-header__account-menu .site-header__account-logout:hover {
  color: var(--text-accent);
  background: var(--surface-2);
}

.site-header__account-logout:hover {
  border-color: var(--text-accent);
  color: var(--text-accent);
}

.site-header__account-logout:focus-visible {
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.site-nav__account {
  display: none;
}

.auth-page__inner {
  max-width: 32rem;
  margin: 2rem auto 4rem;
  padding: 2rem;
  background: var(--surface-1, #f7f7f5);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
}

.auth-page h1 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
}

.auth-form__field {
  margin: 0 0 1rem;
}

.auth-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.auth-form__field input[type="text"],
.auth-form__field input[type="email"],
.auth-form__field input[type="password"],
.auth-form__field input[type="date"],
.auth-form__field select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  line-height: 1.5;
  background: #fff;
  color: var(--text-primary);
}

.auth-form__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
  color-scheme: light;
}

.auth-form__field select::-ms-expand {
  display: none;
}

.auth-form__field input:focus-visible,
.auth-form__field select:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fill-accent) 16%, transparent);
}

.auth-form__field select:focus-visible {
  background-color: #fff;
}

.auth-form__password {
  position: relative;
  display: block;
}

.auth-form__password input {
  padding-right: 2.75rem;
}

.auth-form__password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted, #666);
  cursor: pointer;
  border-radius: var(--radius);
  transform: translateY(-50%);
}

.auth-form__password-toggle:hover {
  color: var(--text-primary, #1a1a1a);
}

.auth-form__password-toggle:focus-visible {
  outline: 2px solid var(--fill-accent, #534ab7);
  outline-offset: 2px;
}

.auth-form__password-toggle-icon {
  display: flex;
}

.auth-form__password-toggle-icon--hide {
  display: none;
}

.auth-form__password-toggle[aria-pressed="true"] .auth-form__password-toggle-icon--show {
  display: none;
}

.auth-form__password-toggle[aria-pressed="true"] .auth-form__password-toggle-icon--hide {
  display: flex;
}

.auth-form__field--honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.auth-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: var(--fill-accent, #534ab7);
  color: var(--on-accent, #fff);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
}

.auth-form__submit:hover,
.auth-form__submit:focus-visible {
  background: var(--color-accent-hover, #4338a8);
  color: var(--on-accent, #fff);
}

.auth-form__notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius, 4px);
  font-size: 0.875rem;
}

.auth-form__notice--success {
  background: color-mix(in srgb, var(--fill-accent, #534ab7) 12%, #fff);
  color: var(--text-primary, #1a1a1a);
}

.auth-form__notice--error {
  background: color-mix(in srgb, #c0392b 12%, #fff);
  color: var(--text-primary, #1a1a1a);
}

.auth-form__notice--info {
  background: var(--surface-1, #f7f7f5);
  color: var(--text-secondary);
}

.auth-dialog {
  width: min(100% - 2rem, 28rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0.5px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--surface-2, #fff);
  color: var(--text-primary, #1a1a1a);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 12%);
}

.auth-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}

.auth-dialog__inner {
  display: flex;
  flex-direction: column;
}

.auth-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.auth-dialog__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}

.auth-dialog__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted, #666);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.auth-dialog__close:hover {
  color: var(--text-primary, #1a1a1a);
  background: var(--surface-1, #f7f7f5);
}

.auth-dialog__close:focus-visible {
  outline: 2px solid var(--fill-accent, #534ab7);
  outline-offset: 2px;
}

.auth-dialog__body {
  padding: 0.75rem 1.25rem 1.25rem;
}

.auth-dialog__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.auth-dialog__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.25rem 1.25rem;
}

.auth-form__meta {
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.auth-form__meta a {
  color: var(--text-accent, #534ab7);
}

.auth-form__section {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.auth-form__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.account-form__hint {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.account-form__hint--juegos {
  margin: 0.5rem 0 0;
}

.auth-form--register .auth-form__actions {
  margin: 0;
}

.auth-form--register .auth-form__submit {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.auth-form--register .auth-form__meta {
  margin-top: 0.75rem;
  text-align: center;
}

.auth-form__required-note {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin: 0 0 1rem;
}

.auth-form__required {
  color: #b42318;
  font-weight: 600;
  margin-inline-start: 0.15em;
}

.auth-form__step {
  margin: 0;
  padding: 0;
  border: none;
}

.auth-form__step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.auth-form__step-actions .auth-form__submit {
  flex: 1;
}

.auth-form__back {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-subtle, #d8d4ef);
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary, #1a1a2e);
  font-size: 0.9375rem;
  cursor: pointer;
}

.auth-form__back:hover,
.auth-form__back:focus-visible {
  border-color: var(--text-accent, #534ab7);
  color: var(--text-accent, #534ab7);
}

.auth-form__step-error {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}

.auth-form__step-error[hidden] {
  display: none;
}

.auth-form__field--error input[type="text"],
.auth-form__field--error input[type="email"],
.auth-form__field--error input[type="password"],
.auth-form__field--error input[type="date"],
.auth-form__field--error select {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.account-form__hint--provincia {
  margin: -0.35rem 0 0.75rem;
}

.auth-form__section-title--sub {
  margin-top: 1.5rem;
}

.auth-form__beta-note {
  margin-bottom: 0.75rem;
}

.auth-form__beta-label {
  display: inline-block;
  margin: 0 0 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--text-accent, #534ab7);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-form__hint--juegos-beta {
  margin: 0 0 0.5rem;
}

.account-form__hint--juegos-soon {
  margin: 1rem 0 0.5rem;
}

.account-juegos {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-juegos__chip {
  position: relative;
  cursor: pointer;
}

.account-juegos__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.account-juegos__label {
  display: inline-block;
  cursor: pointer;
  margin: 0;
  transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.account-juegos__input:not(:checked) + .account-juegos__label {
  opacity: 0.72;
}

.account-juegos__input:checked + .account-juegos__label {
  opacity: 1;
  box-shadow: 0 0 0 2px currentColor;
  transform: scale(1.02);
}

.account-juegos__input:checked + .account-juegos__label {
  opacity: 1;
  box-shadow: 0 0 0 2px currentColor;
  transform: scale(1.02);
}

.account-juegos__input:focus-visible + .account-juegos__label {
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.account-juegos--readonly .account-juegos__label {
  opacity: 1;
  box-shadow: 0 0 0 2px currentColor;
  transform: scale(1.02);
  cursor: default;
}

a.account-juegos__chip {
  color: inherit;
  text-decoration: none;
}

a.account-juegos__chip:hover .account-juegos__label {
  opacity: 0.9;
  transform: scale(1.04);
}

a.account-juegos__chip:focus-visible {
  border-radius: var(--radius-pill, 999px);
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.member-profile__juegos .account-juegos,
.account-juegos.account-juegos--readonly {
  gap: 0.75rem;
}

.member-profile-page {
  padding-bottom: 2rem;
}

.member-profile__sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Sección Tiendas en panel de cuenta */

.account-badge--danger {
  color: var(--color-error, #b42318);
  background: color-mix(in srgb, var(--color-error, #b42318) 12%, transparent);
}

.account-stores {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account-stores__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-stores__group-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.account-stores__manage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-stores__manage-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.account-stores__manage-card:hover {
  border-color: var(--text-accent);
  background: color-mix(in srgb, var(--fill-accent) 6%, var(--surface-1));
}

.account-stores__manage-card:focus-visible {
  outline: 2px solid var(--fill-accent);
  outline-offset: 2px;
}

.account-stores__manage-media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-2);
  overflow: hidden;
}

.account-stores__manage-media--placeholder {
  background: color-mix(in srgb, var(--fill-accent) 12%, var(--surface-2));
}

.account-stores__manage-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-stores__manage-initial {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-accent);
}

.account-stores__manage-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.account-stores__manage-name {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.account-stores__manage-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.account-stores__manage-action {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-accent);
}

.account-stores__submissions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-stores__submission {
  padding: 0.85rem 1rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
}

.account-stores__submission-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.account-stores__submission-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.account-stores__submission-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.account-stores__submission-hint,
.account-stores__submission-link {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Página de edición de tienda (propietario) */

.store-edit-page-wrap {
  padding-block: 2rem 3rem;
}

.store-edit-page {
  max-width: 48rem;
  margin-inline: auto;
}

.store-edit-page__nav {
  margin-bottom: 1.25rem;
}

.store-edit-page__back {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.store-edit-page__back:hover {
  color: var(--text-accent);
}

.store-edit-page__notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.store-edit-page__notice--success {
  background: #e1f5ee;
  color: #0f6e56;
}

.store-edit-page__notice--error {
  background: #fdecea;
  color: #b42318;
}

.store-edit-page__hero {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.store-edit-page__hero-media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface-1);
  overflow: hidden;
}

.store-edit-page__hero-media--placeholder {
  background: color-mix(in srgb, var(--fill-accent) 12%, var(--surface-1));
}

.store-edit-page__hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-edit-page__hero-initial {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-accent);
}

.store-edit-page__hero-body {
  min-width: 0;
}

.store-edit-page__hero-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-edit-page__hero-title {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

.store-edit-page__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.store-edit-page__hero-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-edit-page__hero-link {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
}

.store-edit-page__hero-link a {
  color: var(--text-accent);
}

.store-edit-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.store-edit-form__section {
  padding: 1.25rem 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.store-edit-form__title {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.store-edit-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.store-edit-form__field {
  margin: 0 0 1rem;
}

.store-edit-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.store-edit-form__field input[type="text"],
.store-edit-form__field input[type="url"],
.store-edit-form__field input[type="tel"],
.store-edit-form__field textarea,
.store-edit-form__field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-1);
  font: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.store-edit-form__field textarea {
  resize: vertical;
  min-height: 5rem;
}

.store-edit-form__field input:focus,
.store-edit-form__field textarea:focus,
.store-edit-form__field select:focus {
  outline: 2px solid var(--fill-accent);
  outline-offset: 1px;
  border-color: var(--text-accent);
}

.store-edit-form__field--full {
  grid-column: 1 / -1;
}

.store-edit-form__logo .store-edit-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.store-edit-form__logo .news-core-store-logo__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.75rem;
  border: 0.5px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-1);
}

.store-edit-form__logo .news-core-store-logo__preview--empty {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-edit-form__logo .news-core-store-logo__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
}

.store-edit-form__logo .news-core-store-logo__field {
  margin: 0 0 0.75rem;
}

.store-edit-form__logo .news-core-store-logo__hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-edit-form__fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.store-edit-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-edit-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  cursor: pointer;
  background: var(--surface-1);
}

.store-edit-form__checkbox:has(input:checked) {
  border-color: var(--text-accent);
  background: color-mix(in srgb, var(--fill-accent) 10%, var(--surface-1));
}

.store-edit-form__checkbox input {
  margin: 0;
}

.store-edit-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.store-edit-form__submit {
  min-width: 10rem;
}

.store-edit-form__cancel {
  text-decoration: none;
}

.store-edit-form__danger {
  border-color: color-mix(in srgb, var(--color-danger, #c0392b) 35%, var(--border));
}

.store-edit-form__danger-desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.store-edit-form__hide-open {
  min-width: 10rem;
}

.store-edit-page__hero-badge--hidden {
  background: color-mix(in srgb, var(--color-danger, #c0392b) 12%, transparent);
  color: var(--color-danger, #c0392b);
}

.store-edit-page__hidden-notice {
  padding: 1.25rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-secondary);
}

.store-edit-page__hidden-notice p {
  margin: 0;
}

@media (max-width: 768px) {
  .store-edit-page__hero {
    flex-direction: column;
  }

  .store-edit-form__grid {
    grid-template-columns: 1fr;
  }
}
