/* =====================================================================
   SANTO PECADO — Identidad del logo: tipografía gótica, tono hueso,
   alambre de púas, emblema, pósters y banners de categoría.
   ===================================================================== */
:root {
  --font-gothic: "Grenze Gotisch", "UnifrakturMaguntia", "Cinzel", Georgia, serif;
  --bone: #E9E1CF;
  --bone-dim: #b9ad92;
  --barbed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='%23000' stroke-width='4'%3E%3Cpath d='M0 11c12-6 24-6 36 0s24 6 36 0 18-5 24 0'/%3E%3Cpath d='M0 11c12 6 24 6 36 0s24-6 36 0 18 5 24 0'/%3E%3Cpath d='M48 2v18M40 4l16 14M56 4L40 18'/%3E%3C/g%3E%3Cg stroke='%23C9B27A' stroke-width='1.6'%3E%3Cpath d='M0 11c12-6 24-6 36 0s24 6 36 0 18-5 24 0'/%3E%3Cpath d='M0 11c12 6 24 6 36 0s24-6 36 0 18 5 24 0' opacity='.75'/%3E%3Cpath d='M48 2v18M40 4l16 14M56 4L40 18'/%3E%3C/g%3E%3Cpath d='M45 8h6M45 11h6M45 14h6' stroke='%23E9E1CF' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-world="norte"] {
  --barbed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='%23000' stroke-width='4'%3E%3Cpath d='M0 11c12-6 24-6 36 0s24 6 36 0 18-5 24 0'/%3E%3Cpath d='M0 11c12 6 24 6 36 0s24-6 36 0 18 5 24 0'/%3E%3Cpath d='M48 2v18M40 4l16 14M56 4L40 18'/%3E%3C/g%3E%3Cg stroke='%23c8404d' stroke-width='1.6'%3E%3Cpath d='M0 11c12-6 24-6 36 0s24 6 36 0 18-5 24 0'/%3E%3Cpath d='M0 11c12 6 24 6 36 0s24-6 36 0 18 5 24 0' opacity='.75'/%3E%3Cpath d='M48 2v18M40 4l16 14M56 4L40 18'/%3E%3C/g%3E%3Cpath d='M45 8h6M45 11h6M45 14h6' stroke='%23E9E1CF' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ Tipografía gótica (títulos grandes) */
.hero__title,
.section-title,
.page-hero h1,
.cat-hero h1,
.world h3,
.discord-cta h2,
.cat-poster__name,
.cat-banner__name,
.error-page__code,
.footer-quote p {
  font-family: var(--font-gothic);
  font-weight: 700;
  letter-spacing: .01em;
}
.hero__title { font-size: clamp(54px, 9vw, 118px); line-height: .92; letter-spacing: 0; }
.section-title { font-size: clamp(36px, 5vw, 58px); color: var(--bone); text-shadow: 0 2px 0 #000, 0 0 40px rgba(197, 161, 90, .15); }
.page-hero h1, .cat-hero h1 { font-size: clamp(44px, 7vw, 76px); color: var(--bone); text-shadow: 0 3px 0 #000; }
.world h3 { font-size: clamp(42px, 5vw, 62px); }
.discord-cta h2 { font-size: clamp(36px, 4.4vw, 54px); color: var(--bone); }
.footer-quote p { font-style: normal; font-weight: 600; font-size: clamp(24px, 3vw, 34px); }

/* Alambre de púas bajo los títulos de sección */
.section-head::after,
.page-hero--brand .container::after {
  content: ""; display: block;
  width: min(420px, 80%); height: 22px; margin: 26px auto 0;
  background: var(--barbed) repeat-x center / auto 22px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .85;
}
.section-head--left::after { display: none; }
.barbed-line { height: 22px; background: var(--barbed) repeat-x center / auto 22px; opacity: .55; }

/* ------------------------------------------------------------ Hero con el emblema */
.hero__emblem {
  position: relative; width: clamp(230px, 38vh, 420px); aspect-ratio: 1;
  margin: -10px auto 0;
  animation: spFloat 7s ease-in-out infinite;
}
@keyframes spFloat { 50% { transform: translateY(-8px); } }
.hero__emblem-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 201, 137, .28), transparent); filter: blur(10px); animation: halo 5s ease-in-out infinite; }
html[data-world="norte"] .hero__emblem-glow { background: radial-gradient(closest-side, rgba(200, 64, 77, .38), transparent); }
.hero__logo { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8)); }
html[data-world="norte"] .hero__logo { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 22px rgba(200, 64, 77, .35)); }
/* Destello metálico que recorre el emblema (recortado a su silueta) */
.hero__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 244, 214, .55) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  mix-blend-mode: overlay;
  animation: spShine 7s ease-in-out 1.2s infinite;
}
@keyframes spShine { 0% { background-position: 150% 0; } 35%, 100% { background-position: -50% 0; } }
.hero__emblem { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 8px); }
.hero__emblem + .hero__brand { margin-top: 4px; }

@keyframes spFadeIn { to { opacity: .8; } }
@keyframes spReveal { from { opacity: 0; transform: scale(.82); filter: blur(16px) brightness(2.2); } 60% { filter: blur(0) brightness(1.3); } to { opacity: 1; transform: none; filter: none; } }
@keyframes spNameGothic { from { opacity: 0; letter-spacing: .02em; filter: blur(8px); } to { opacity: 1; letter-spacing: .12em; filter: none; } }

/* ------------------------------------------------------------ Pósters de categoría (portada) */
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-poster {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 470px; padding: 26px 26px 24px;
  border-radius: 18px; border: 1px solid var(--line);
  background: #070707; color: var(--white);
  transition: border-color .4s, box-shadow .5s var(--ease);
}
.cat-poster:hover { color: var(--white); border-color: var(--line-strong); box-shadow: var(--shadow), 0 0 50px -20px var(--gold); }
.cat-poster__art { position: absolute; inset: 0 0 auto; width: 100%; height: 74%; object-fit: cover; object-position: center 35%; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.cat-poster:hover .cat-poster__art { transform: scale(1.07); filter: saturate(1.05) brightness(1.05); }
.cat-poster__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 7, 7, .25) 0%, transparent 22%, rgba(7, 7, 7, .55) 50%, #070707 72%); }
.cat-poster::after { /* alambre de púas que aparece en el borde superior */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: var(--barbed) repeat-x center / auto 22px;
  opacity: 0; transform: translateY(-100%); transition: opacity .4s, transform .5s var(--ease);
}
.cat-poster:hover::after { opacity: .9; transform: translateY(4px); }
.cat-poster__top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.cat-poster__world, .cat-poster__count {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(7, 7, 7, .72); border: 1px solid var(--line-strong); backdrop-filter: blur(6px);
}
.cat-poster__world::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cat-poster__world--norte::before { background: #d04452; box-shadow: 0 0 10px #d04452; }
.cat-poster__world--norte { color: #f3b0b6; }
.cat-poster__world--santos { color: var(--gold-light); }
.cat-poster__world--neutral { color: var(--bone); }
.cat-poster__count { color: var(--muted); }
.cat-poster__body { position: relative; display: grid; gap: 10px; }
.cat-poster__name { font-size: clamp(34px, 3.2vw, 44px); line-height: 1; color: var(--bone); text-shadow: 0 3px 0 #000, 0 0 30px rgba(0, 0, 0, .8); }
.cat-poster__desc { color: rgba(244, 241, 235, .72); font-size: 14px; line-height: 1.55; }
.cat-poster__subs { display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.cat-poster:hover .cat-poster__subs, .cat-poster:focus-visible .cat-poster__subs { max-height: 120px; opacity: 1; }
.cat-poster__subs span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; background: rgba(197, 161, 90, .1); border: 1px solid var(--line); color: var(--gold-light); }
.cat-poster__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.cat-poster__cta .ico { transition: transform .35s var(--ease); }
.cat-poster:hover .cat-poster__cta .ico { transform: translateX(6px); }

/* ------------------------------------------------------------ Página de categorías: banners */
.page-hero--brand::before { background: radial-gradient(closest-side, rgba(197, 161, 90, .16), transparent); }
.cat-banners { display: grid; gap: 34px; padding-bottom: 100px; }
.cat-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(120deg, #0c0b0a, #111 60%);
  position: relative;
}
.cat-banner[data-world="norte"] { background: linear-gradient(120deg, #140708, #111 60%); }
.cat-banner--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cat-banner--flip .cat-banner__art { order: 2; }
.cat-banner__art { position: relative; display: block; min-height: 360px; overflow: hidden; }
.cat-banner__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-banner:hover .cat-banner__art img { transform: scale(1.05); }
.cat-banner__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #0f0e0d); }
.cat-banner--flip .cat-banner__art::after { background: linear-gradient(270deg, transparent 60%, #0f0e0d); }
.cat-banner__content { padding: 40px 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cat-banner__name { margin: 0; font-size: clamp(40px, 4.6vw, 60px); line-height: .95; }
.cat-banner__name a { color: var(--bone); text-shadow: 0 3px 0 #000; }
.cat-banner__name a:hover { color: var(--gold-light); }
.cat-banner__desc { color: rgba(244, 241, 235, .75); margin: 0; max-width: 520px; }
.cat-banner .subcat-grid { width: 100%; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cat-banner .subcat { background: rgba(7, 7, 7, .6); }
.cat-banner .subcat span { flex: 1; }
.cat-banner__picks { width: 100%; display: grid; gap: 8px; }
.cat-banner__picks-title { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pick { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid transparent; color: var(--white); transition: border-color .25s, background .25s; }
.pick:hover { border-color: var(--line); background: rgba(197, 161, 90, .05); color: var(--white); }
.pick img { width: 52px; height: 39px; object-fit: cover; border-radius: 7px; }
.pick__name { font-size: 14px; }
.pick__price { font-family: var(--font-display); color: var(--gold-light); font-size: 14px; white-space: nowrap; }

/* ------------------------------------------------------------ Cabecera visual de una categoría */
.cat-hero { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.cat-hero__bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; z-index: -2; filter: blur(34px) saturate(1.2) brightness(.45); transform: scale(1.1); }
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .95) 0%, rgba(8, 8, 8, .7) 55%, rgba(8, 8, 8, .35)), linear-gradient(180deg, transparent 60%, var(--black)); }
.cat-hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cat-hero__text { display: grid; justify-items: start; gap: 14px; }
.cat-hero .breadcrumbs { justify-content: flex-start; margin: 0; }
.cat-hero h1 { margin: 0; line-height: .95; }
.cat-hero p { margin: 0; color: rgba(244, 241, 235, .78); max-width: 560px; font-size: 16px; }
.cat-hero__stats { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.cat-hero__stats strong { color: var(--gold-light); font-family: var(--font-display); font-size: 20px; margin-right: 4px; letter-spacing: 0; }
.cat-hero__art { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; max-width: 460px; justify-self: end; border-radius: 20px; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 0 60px -20px var(--gold); animation: spFloat 8s ease-in-out infinite; }
.cat-hero + .container.shop-layout { padding-top: 0; }
.chip small { color: var(--muted-2); margin-left: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip .ico { color: var(--gold); }

/* ------------------------------------------------------------ Pie: emblema */
.footer-emblem { display: inline-block; width: 140px; }
.footer-emblem img { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .7)); transition: transform .5s var(--ease); }
.footer-emblem:hover img { transform: rotate(-3deg) scale(1.04); }
.brand__img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .cat-banner, .cat-banner--flip { grid-template-columns: 1fr; }
  .cat-banner--flip .cat-banner__art { order: 0; }
  .cat-banner__art { min-height: 240px; }
  .cat-banner__art::after, .cat-banner--flip .cat-banner__art::after { background: linear-gradient(180deg, transparent 55%, #0f0e0d); }
  .cat-banner__content { padding: 26px 22px 30px; }
  .cat-hero__inner { grid-template-columns: 1fr; }
  .cat-hero__art { max-width: 340px; justify-self: start; }
  /* En táctil no hay hover: mostramos siempre las subcategorías del póster */
  .cat-poster__subs { max-height: 120px; opacity: 1; }
}
@media (max-width: 640px) {
  .poster-grid { grid-template-columns: 1fr; gap: 16px; }
  /* En móvil la ilustración se ve entera arriba y el texto va debajo */
  .cat-poster { min-height: 0; padding: 0 0 22px; justify-content: flex-start; }
  .cat-poster__art {
    position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; object-position: center;
    -webkit-mask: linear-gradient(180deg, #000 62%, transparent 92%);
    mask: linear-gradient(180deg, #000 62%, transparent 92%);
  }
  .cat-poster__shade { display: none; }
  .cat-poster__body { margin-top: -54px; padding: 0 20px; }
  .hero__emblem { width: min(250px, 66vw); }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  .cat-hero { padding: 30px 0 28px; }
  .cat-hero__art { max-width: 100%; }
  .pick { grid-template-columns: 44px 1fr auto; }
  .pick img { width: 44px; height: 33px; }
}
/* Pósters de la portada con más separación */
.poster-grid { gap: 30px; }

/* ------------------------------------------------------------ Tienda: navegación ordenada (sin barra lateral) */
.cat-hero { margin-bottom: 40px; }
.shop { padding-bottom: 100px; }
.dot--norte { background: #d04452; box-shadow: 0 0 10px #d04452; }
.dot--santos { background: #C5A15A; box-shadow: 0 0 10px #C5A15A; }
.dot--neutral { background: linear-gradient(90deg, #d04452 50%, #C5A15A 50%); }

/* 1. Riel de categorías principales */
.cat-rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.cat-rail__item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 18px 10px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #121110, #0b0b0a);
  color: rgba(244, 241, 235, .82);
  transition: border-color .25s, transform .3s var(--ease), color .2s, box-shadow .3s;
}
.cat-rail__item:hover { color: var(--gold-light); border-color: var(--line-strong); transform: translateY(-3px); }
.cat-rail__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(197, 161, 90, .08); border: 1px solid var(--line); color: var(--gold); transition: background .25s, color .25s; }
.cat-rail__item[data-world="norte"] .cat-rail__icon { color: #e0707b; background: rgba(112, 27, 36, .2); border-color: rgba(208, 68, 82, .3); }
.cat-rail__name { font-size: 13.5px; font-weight: 500; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }
.cat-rail__count { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; }
.cat-rail__item.is-active { border-color: var(--gold); color: var(--white); background: linear-gradient(180deg, rgba(197, 161, 90, .14), #0b0b0a 80%); box-shadow: 0 14px 40px -22px var(--gold); }
.cat-rail__item.is-active .cat-rail__icon { background: var(--gold-metal); color: #140f07; border-color: transparent; }
.cat-rail__item.is-active::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--gold); }
html[data-world="norte"] .cat-rail__item.is-active .cat-rail__icon { color: #fff; }

/* 2. Subcategorías */
.subcat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.subcat-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 8, 8, .5); color: rgba(244, 241, 235, .78); font-size: 13.5px;
  transition: border-color .2s, color .2s, background .2s;
}
.subcat-tab .ico { color: var(--gold); }
.subcat-tab small { color: var(--muted-2); font-size: 11.5px; }
.subcat-tab:hover { border-color: var(--line-strong); color: var(--gold-light); }
.subcat-tab.is-active { border-color: var(--gold); color: var(--gold-light); background: rgba(197, 161, 90, .12); }

/* 3. Barra de búsqueda y orden */
.shop-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 230px auto; align-items: center; gap: 14px;
  margin-top: 26px; padding: 14px; border-radius: 16px;
  border: 1px solid var(--line); background: #0f0e0d;
}
.shop-bar .input, .shop-bar .select { padding-top: 11px; padding-bottom: 11px; }
.shop-bar__offers { padding: 0 6px; white-space: nowrap; }
.shop-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 22px; color: var(--muted); font-size: 14px; }
.shop-status strong { color: var(--gold-light); font-family: var(--font-display); }
.shop-status a { display: inline-flex; align-items: center; gap: 6px; }

/* 4. Rejilla de productos a todo el ancho */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 28px; }

/* ------------------------------------------------------------ Directorio de categorías (/categorias) */
.dir { padding-bottom: 100px; }
.dir-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.dir-filter__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(8, 8, 8, .5); color: rgba(244, 241, 235, .8);
  font: 500 13.5px/1 var(--font-body); transition: border-color .2s, background .2s, color .2s;
}
.dir-filter__btn small { color: var(--muted-2); }
.dir-filter__btn:hover { border-color: var(--line-strong); color: var(--gold-light); }
.dir-filter__btn.is-active { border-color: var(--gold); background: rgba(197, 161, 90, .12); color: var(--gold-light); }
.dir-filter__btn .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dir-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #121110, #0b0b0a); transition: border-color .3s, box-shadow .4s var(--ease); }
.dir-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.dir-card[data-world="norte"] { background: linear-gradient(180deg, #160a0b, #0b0b0a); }
.dir-card__media { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.dir-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1s var(--ease); -webkit-mask: linear-gradient(180deg, #000 58%, transparent 86%); mask: linear-gradient(180deg, #000 58%, transparent 86%); }
.dir-card:hover .dir-card__media img { transform: scale(1.05); }
.dir-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #121110); }
.dir-card[data-world="norte"] .dir-card__media::after { background: linear-gradient(180deg, transparent 55%, #160a0b); }
.dir-card__media .cat-poster__world { position: absolute; top: 16px; left: 16px; z-index: 1; }
.dir-card__body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 6px 30px 30px; }
.dir-card__head { display: flex; align-items: center; gap: 16px; margin-top: -34px; position: relative; z-index: 1; }
.dir-card__icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #0b0b0a; border: 1px solid var(--line-strong); color: var(--gold-light); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.dir-card[data-world="norte"] .dir-card__icon { color: #f3b0b6; border-color: rgba(208, 68, 82, .5); }
.dir-card__icon .ico { width: 24px; height: 24px; }
.dir-card__name { margin: 0; font-family: var(--font-gothic); font-weight: 700; font-size: clamp(32px, 3vw, 42px); line-height: 1; }
.dir-card__name a { color: var(--bone); text-shadow: 0 3px 0 #000; }
.dir-card__name a:hover { color: var(--gold-light); }
.dir-card__count { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dir-card__desc { margin: 0; color: rgba(244, 241, 235, .72); font-size: 14.5px; }
.dir-card__subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dir-card__subs a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(197, 161, 90, .1); background: rgba(8, 8, 8, .55); color: rgba(244, 241, 235, .85); font-size: 14px;
  transition: border-color .2s, background .2s, color .2s;
}
.dir-card__subs a:hover { border-color: var(--line-strong); color: var(--gold-light); background: rgba(197, 161, 90, .05); }
.dir-card__sub-icon { color: var(--gold); display: inline-flex; }
.dir-card__sub-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-card__sub-count { font-size: 11.5px; color: var(--muted-2); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.dir-card__nosubs { margin: 0; display: flex; align-items: center; gap: 8px; }
.dir-card__cta { margin-top: auto; }

@media (max-width: 1100px) {
  .cat-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cat-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .cat-rail::-webkit-scrollbar { display: none; }
  .cat-rail__item { flex: 0 0 116px; scroll-snap-align: start; }
  .subcat-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 20px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
  .subcat-tabs::-webkit-scrollbar { display: none; }
  .subcat-tab { flex: 0 0 auto; }
  .shop-bar { grid-template-columns: 1fr 1fr; }
  .shop-bar__search { grid-column: 1 / -1; }
  .shop-bar__go { display: none; }
  .dir-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .shop-bar { padding: 12px; gap: 10px; }
  .shop-bar { grid-template-columns: 1fr; }
  .shop-bar__offers { padding: 2px 4px; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .dir-card__body { padding: 4px 20px 22px; }
  .dir-card__subs { grid-template-columns: 1fr; }
  .dir-card__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 380px) {
  .shop-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__emblem, .cat-hero__art { animation: none; }
  .hero__shine { display: none; }
}
