/*
 * HURIK Visual v1.5
 * Fase 1: sistema global, cabecera y portada.
 * Capa CSS reversible. No modifica lógica, catálogo, carrito ni KiruH.
 */

:root {
  --hv-bg: #f7f5f1;
  --hv-surface: #ffffff;
  --hv-surface-soft: #fbfaf7;
  --hv-ink: #111111;
  --hv-muted: #6f6a62;
  --hv-line: #e9e5dd;
  --hv-line-strong: #d9d3c8;
  --hv-gold: #9a7b3f;
  --hv-gold-soft: #f3ead8;
  --hv-danger: #b42318;
  --hv-success: #16794a;
  --hv-radius-sm: 12px;
  --hv-radius-md: 18px;
  --hv-radius-lg: 24px;
  --hv-shadow-sm: 0 8px 28px rgba(28, 24, 18, 0.06);
  --hv-shadow-md: 0 18px 54px rgba(28, 24, 18, 0.10);
  --hv-container: 1440px;
  --hv-reading: 760px;
  --hv-transition: 180ms ease;
}

html {
  scroll-behavior: smooth;
  background: var(--hv-bg);
}

body {
  color: var(--hv-ink);
  background: var(--hv-bg);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(154, 123, 63, 0.28);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Estructura global
   --------------------------------------------------------- */

#wrapper {
  background: var(--hv-bg);
}

#wrapper > .container,
.container {
  width: min(calc(100% - 32px), var(--hv-container));
  max-width: var(--hv-container);
}

#content-wrapper,
#content {
  min-width: 0;
}

main {
  overflow: clip;
}

/* ---------------------------------------------------------
   Cabecera
   --------------------------------------------------------- */

.hurik-header {
  position: sticky;
  top: 0;
  z-index: 100020;
  border-bottom: 1px solid rgba(217, 211, 200, 0.78);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.02);
}

.hurik-header-inner {
  width: min(calc(100% - 32px), var(--hv-container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hurik-menu-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  transition:
    background var(--hv-transition),
    border-color var(--hv-transition),
    transform var(--hv-transition);
}

.hurik-menu-button:hover {
  border-color: var(--hv-line);
  background: var(--hv-surface-soft);
  transform: translateY(-1px);
}

.hurik-brand-wrap {
  flex: 0 0 auto;
}

.hurik-brand-logo {
  color: var(--hv-ink);
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.hurik-brand-logo:hover {
  color: var(--hv-ink);
  text-decoration: none;
}

.hurik-header-search {
  flex: 1 1 560px;
  max-width: 680px;
  min-width: 180px;
  min-height: 46px;
  margin-inline: auto;
  border: 1px solid var(--hv-line);
  border-radius: 15px;
  background: var(--hv-surface-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    border-color var(--hv-transition),
    background var(--hv-transition),
    box-shadow var(--hv-transition);
}

.hurik-header-search:focus-within {
  border-color: var(--hv-line-strong);
  background: var(--hv-surface);
  box-shadow:
    0 0 0 4px rgba(154, 123, 63, 0.08),
    var(--hv-shadow-sm);
}

#hurik-search-input {
  min-height: 44px;
  padding-inline: 16px 8px;
  border: 0;
  background: transparent;
  color: var(--hv-ink);
  font-size: 14px;
}

#hurik-search-input::placeholder {
  color: #969087;
}

.hurik-search-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  transition:
    background var(--hv-transition),
    transform var(--hv-transition);
}

.hurik-search-button:hover {
  background: var(--hv-gold-soft);
  transform: scale(1.02);
}

.hurik-header-actions,
.hurik-header-tools {
  display: flex;
  align-items: center;
}

.hurik-header-tools {
  gap: 8px;
}

.hurik-header-icon-link {
  position: relative;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--hv-ink);
  transition:
    background var(--hv-transition),
    border-color var(--hv-transition),
    transform var(--hv-transition);
}

.hurik-header-icon-link:hover {
  border-color: var(--hv-line);
  background: var(--hv-surface-soft);
  transform: translateY(-1px);
}

.hurik-header-icon-link img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
}

.hurik-icon-tooltip {
  border: 1px solid var(--hv-line);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: var(--hv-shadow-md);
}

/* ---------------------------------------------------------
   Hero de portada
   --------------------------------------------------------- */

.hurik-hero-minimal {
  position: relative;
  isolation: isolate;
  padding: clamp(54px, 7vw, 104px) 0 clamp(42px, 5vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--hv-line);
  background:
    radial-gradient(circle at 82% 12%, rgba(154, 123, 63, 0.14), transparent 34%),
    radial-gradient(circle at 12% 85%, rgba(17, 17, 17, 0.06), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%);
}

.hurik-hero-minimal::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -8% -58% auto;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(154, 123, 63, 0.17);
  border-radius: 50%;
}

.hurik-hero-inner {
  width: min(calc(100% - 32px), 1220px);
  margin: 0 auto;
}

.hurik-hero-minimal h1 {
  max-width: 930px;
  margin: 0;
  color: var(--hv-ink);
  font-size: clamp(42px, 7.3vw, 92px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.hurik-hero-sub {
  max-width: var(--hv-reading);
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: var(--hv-muted);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.72;
  text-wrap: pretty;
}

/* ---------------------------------------------------------
   Secciones y títulos de portada
   --------------------------------------------------------- */

.hurik-featured-minimal {
  padding: clamp(44px, 6vw, 86px) 0;
  background: var(--hv-bg);
}

.hurik-featured-minimal + .hurik-featured-minimal {
  padding-top: 0;
}

.hurik-featured-inner {
  width: min(calc(100% - 32px), var(--hv-container));
  margin: 0 auto;
}

.hurik-featured-minimal h2,
.hurik-featured-title {
  margin: 0 0 24px;
  color: var(--hv-ink);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hurik-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

/* ---------------------------------------------------------
   Tarjetas de producto y categoría
   --------------------------------------------------------- */

.hurik-fcard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hv-line) !important;
  border-radius: var(--hv-radius-lg) !important;
  background: var(--hv-surface) !important;
  box-shadow: 0 4px 18px rgba(28, 24, 18, 0.035);
  transform: translateZ(0);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hurik-fcard:hover {
  z-index: 2;
  border-color: var(--hv-line-strong) !important;
  box-shadow: var(--hv-shadow-md);
  transform: translateY(-6px);
}

.hurik-fcard-img {
  position: relative;
  display: flex !important;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f2eee7 0%, #fbfaf7 100%);
}

.hurik-fcard-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 420ms cubic-bezier(.2, .75, .2, 1);
}

.hurik-fcard:hover .hurik-fcard-img img {
  transform: scale(1.035);
}

.hurik-fcard-body {
  padding: 17px 18px 20px !important;
}

.hurik-fcard h3 {
  margin: 0;
  color: var(--hv-ink);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.hurik-fcard h3 a {
  color: inherit;
  text-decoration: none;
}

.hurik-fcard-descriptor {
  display: -webkit-box;
  min-height: 38px;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--hv-muted);
  font-size: 13px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hurik-fcard-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.hurik-fcard-now {
  color: var(--hv-ink);
  font-size: 19px;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.hurik-fcard-old {
  color: #9d978e;
  font-size: 13px;
}

.hurik-fcard-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 760;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hurik-catcard {
  color: var(--hv-ink);
  text-decoration: none !important;
}

.hurik-catcard .hurik-fcard-img {
  aspect-ratio: 16 / 10;
}

.hurik-catcard .hurik-fcard-body {
  min-height: 102px;
}

.hurik-catcard:hover {
  color: var(--hv-ink);
}

/* ---------------------------------------------------------
   Menú lateral
   --------------------------------------------------------- */

.hurik-rail-dock {
  border-right: 1px solid rgba(233, 229, 221, 0.78);
  background: rgba(17, 17, 17, 0.985);
  box-shadow: 10px 0 32px rgba(17, 17, 17, 0.07);
}

.hurik-dock-logo,
.hurik-dock-item {
  transition:
    background var(--hv-transition),
    color var(--hv-transition),
    transform var(--hv-transition);
}

.hurik-dock-item:hover {
  transform: translateX(2px);
}

.hurik-rail-drawer {
  border-right: 1px solid var(--hv-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--hv-shadow-md);
  backdrop-filter: blur(18px);
}

.hurik-rail-sub {
  border-radius: 11px;
}

.hurik-rail-sub:hover {
  background: var(--hv-gold-soft);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.hurik-footer-custom {
  border-top: 1px solid var(--hv-line);
  background: #111111 !important;
  color: #ffffff;
}

.hurik-footer-custom a {
  transition: color var(--hv-transition), opacity var(--hv-transition);
}

.hurik-footer-custom a:hover {
  color: #e7d4aa !important;
}

/* ---------------------------------------------------------
   Utilidades y controles
   --------------------------------------------------------- */

.btn,
button,
input,
select,
textarea {
  border-radius: var(--hv-radius-sm);
}

.alert,
.card,
.modal-content {
  border-color: var(--hv-line);
  border-radius: var(--hv-radius-md);
  box-shadow: none;
}

/* ---------------------------------------------------------
   Responsivo
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .hurik-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hurik-header-inner {
    gap: 10px;
  }

  .hurik-header-search {
    flex-basis: 360px;
  }

  .hurik-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  #wrapper > .container,
  .hurik-header-inner,
  .hurik-hero-inner,
  .hurik-featured-inner {
    width: min(calc(100% - 24px), var(--hv-container));
  }

  .hurik-header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 8px 0 10px;
  }

  .hurik-menu-button,
  .hurik-header-icon-link {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
  }

  .hurik-brand-logo {
    font-size: 23px;
  }

  .hurik-header-search {
    order: 4;
    flex: 1 0 100%;
    max-width: none;
    min-height: 44px;
  }

  .hurik-header-spacer {
    display: none;
  }

  .hurik-header-actions {
    margin-left: auto;
  }

  .hurik-hero-minimal {
    padding-top: 48px;
  }

  .hurik-hero-minimal h1 {
    font-size: clamp(42px, 14vw, 64px);
    line-height: 1;
  }

  .hurik-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hurik-fcard {
    border-radius: 18px !important;
  }

  .hurik-fcard-body {
    padding: 13px 13px 15px !important;
  }

  .hurik-fcard h3 {
    font-size: 14px;
  }

  .hurik-fcard-descriptor {
    display: none;
  }

  .hurik-fcard-now {
    font-size: 16px;
  }

  .hurik-catcard .hurik-fcard-body {
    min-height: 72px;
  }
}

@media (max-width: 390px) {
  .hurik-featured-grid {
    grid-template-columns: 1fr;
  }

  .hurik-fcard-img {
    aspect-ratio: 16 / 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   HURIK VISUAL v1.1 — AJUSTES TRAS REVISIÓN DE PORTADA
   ========================================================= */

/* El hero necesita más presencia en pantallas amplias. */
.hurik-hero-minimal h1 {
  font-size: clamp(48px, 5.7vw, 86px) !important;
  max-width: 980px;
}

.hurik-hero-sub {
  max-width: 900px;
}

/* Tarjetas más compactas y fotografías sin recortes arbitrarios. */
.hurik-fcard:not(.hurik-catcard) .hurik-fcard-img {
  aspect-ratio: 4 / 3;
  padding: clamp(12px, 1.4vw, 20px);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.95), transparent 52%),
    linear-gradient(145deg, #eee9e1 0%, #f8f6f2 100%);
}

.hurik-fcard:not(.hurik-catcard) .hurik-fcard-img img {
  object-fit: contain !important;
  border-radius: 14px;
}

.hurik-catcard .hurik-fcard-img {
  padding: 0;
}

.hurik-catcard .hurik-fcard-img img {
  object-fit: cover !important;
  border-radius: 0;
}

/* Fallback sobrio para categorías de demostración sin imagen. */
.hurik-catcard .hurik-fcard-img > span {
  width: 100%;
  height: 100%;
  color: transparent !important;
  font-size: 0 !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(154,123,63,.12), transparent 42%),
    linear-gradient(145deg, #eee9e1, #f8f6f2);
}

.hurik-catcard .hurik-fcard-img > span::before {
  content: "Imagen pendiente";
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #81796f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Reduce el salto vacío previo al footer del tema. */
#footer {
  padding-top: 0 !important;
  background: #111111 !important;
}

#footer::before {
  display: none !important;
}

.hurik-footer-custom {
  margin-top: 0 !important;
  padding: 42px 0 22px !important;
  border-top: 0 !important;
  background:
    radial-gradient(circle at 50% -30%, rgba(154,123,63,.18), transparent 38%),
    #111111 !important;
}

.hurik-footer-custom .hf-table td {
  padding: 20px 24px !important;
}

.hurik-footer-custom .hf-title {
  color: #ffffff !important;
  font-size: .82rem !important;
  letter-spacing: .1em;
}

.hurik-footer-custom .hf-text,
.hurik-footer-custom .hf-legal a,
.hurik-footer-custom .footer-copyright {
  color: #bdb8af !important;
}

.hurik-footer-custom .hf-link {
  color: #e5cf9f !important;
  font-weight: 700;
}

.hurik-footer-custom .hf-icon,
.hurik-footer-custom .hf-social a {
  border-color: rgba(255,255,255,.24) !important;
  background: rgba(255,255,255,.025);
}

.hurik-footer-custom .hf-icon img,
.hurik-footer-custom .hf-social img {
  filter: brightness(0) invert(1);
  opacity: .72;
}

.hurik-footer-custom .hf-social a:hover {
  border-color: rgba(229,207,159,.7) !important;
  background: rgba(229,207,159,.08);
  transform: translateY(-2px);
}

/* Separación final más controlada. */
.hurik-featured-minimal:last-of-type {
  padding-bottom: clamp(44px, 5vw, 68px);
}

/* Contador de carrito acorde al sistema visual cuando esté presente. */
.hurik-header-icon-link .cart-products-count,
.hurik-header-icon-link [class*="count"],
.hurik-cart-link .cart-products-count {
  background: var(--hv-gold) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(17,17,17,.16);
}

@media (max-width: 640px) {
  .hurik-hero-minimal h1 {
    font-size: clamp(42px, 13vw, 62px) !important;
  }

  .hurik-fcard:not(.hurik-catcard) .hurik-fcard-img {
    aspect-ratio: 1 / 1;
    padding: 10px;
  }

  .hurik-footer-custom {
    padding-top: 26px !important;
  }

  .hurik-footer-custom .hf-table td {
    padding: 22px 18px !important;
    border-bottom-color: rgba(255,255,255,.1) !important;
  }
}

/* =========================================================
   HURIK VISUAL v1.2 — HERO A ALTURA COMPLETA
   ========================================================= */

.hurik-hero-minimal {
  min-height: calc(100svh - 76px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-top: clamp(44px, 6vh, 80px);
  padding-bottom: clamp(44px, 6vh, 80px);
}

.hurik-hero-inner {
  width: min(calc(100% - 32px), 1320px);
}

.hurik-hero-minimal h1 {
  max-width: 1040px;
}

.hurik-hero-sub {
  max-width: 960px;
}

@media (max-width: 640px) {
  .hurik-hero-minimal {
    min-height: calc(100svh - 118px);
    align-items: center;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hurik-hero-inner {
    width: min(calc(100% - 24px), 1320px);
  }
}

/* =========================================================
   HURIK VISUAL v1.3 — HERO EDITORIAL EQUILIBRADO
   Corrige la interpretación de "ocupar la pantalla":
   usa todo el ancho, sin forzar una altura vacía de 100vh.
   ========================================================= */

.hurik-hero-minimal {
  min-height: clamp(520px, 64vh, 720px) !important;
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vh, 92px) 0 !important;
  background:
    radial-gradient(circle at 76% 18%, rgba(154, 123, 63, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f5f2ec 100%);
}

.hurik-hero-minimal::after {
  inset: auto -10% -62% auto;
  width: min(44vw, 650px);
  border-color: rgba(154, 123, 63, 0.16);
}

.hurik-hero-inner {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 48px), 1420px) !important;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.hurik-hero-inner::before {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  min-height: 410px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 24%, rgba(226, 199, 143, .52), transparent 25%),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, .20), transparent 31%),
    linear-gradient(145deg, #171613 0%, #2c2923 52%, #8d7240 145%);
  box-shadow:
    0 30px 80px rgba(28, 24, 18, .17),
    inset 0 1px 0 rgba(255,255,255,.2);
  transform: rotate(1.4deg);
}

.hurik-hero-inner::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: clamp(26px, 4vw, 74px);
  bottom: clamp(26px, 4vw, 66px);
  width: clamp(138px, 13vw, 208px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.34), transparent 24%),
    rgba(201,169,110,.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.hurik-hero-minimal h1 {
  grid-column: 1;
  grid-row: 1;
  max-width: 780px !important;
  margin: 0;
  font-size: clamp(52px, 5.35vw, 82px) !important;
  line-height: .98;
  letter-spacing: -.062em;
  text-wrap: balance;
}

.hurik-hero-minimal h1::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--hv-gold);
}

.hurik-hero-sub {
  grid-column: 1;
  grid-row: 2;
  max-width: 760px !important;
  margin-top: 26px !important;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
}

@media (max-width: 980px) {
  .hurik-hero-minimal {
    min-height: auto !important;
    padding: 64px 0 !important;
  }

  .hurik-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hurik-hero-inner::before {
    grid-column: 1;
    grid-row: 3;
    min-height: 300px;
    transform: none;
  }

  .hurik-hero-inner::after {
    right: 36px;
    bottom: 30px;
  }

  .hurik-hero-minimal h1,
  .hurik-hero-sub {
    grid-column: 1;
  }

  .hurik-hero-minimal h1 {
    grid-row: 1;
    max-width: 760px !important;
  }

  .hurik-hero-sub {
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .hurik-hero-minimal {
    min-height: auto !important;
    padding: 48px 0 54px !important;
  }

  .hurik-hero-inner {
    width: min(calc(100% - 24px), 1420px) !important;
    gap: 30px;
  }

  .hurik-hero-minimal h1 {
    font-size: clamp(42px, 13vw, 62px) !important;
    max-width: none !important;
  }

  .hurik-hero-minimal h1::before {
    width: 48px;
    margin-bottom: 20px;
  }

  .hurik-hero-sub {
    margin-top: 18px !important;
    font-size: 15px;
    line-height: 1.62;
  }

  .hurik-hero-inner::before {
    min-height: 240px;
    border-radius: 24px;
  }

  .hurik-hero-inner::after {
    right: 28px;
    bottom: 24px;
    width: 118px;
  }
}

/* =========================================================
   HURIK VISUAL v1.4 — HERO HORIZONTAL A TODO EL ANCHO
   ========================================================= */

.hurik-hero-minimal {
  min-height: auto !important;
  display: block !important;
  padding: clamp(52px, 6vw, 84px) 0 !important;
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f5f2ec 100%) !important;
}

.hurik-hero-minimal::after {
  display: none !important;
}

.hurik-hero-inner {
  position: static !important;
  display: block !important;
  width: calc(100% - 64px) !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.hurik-hero-inner::before,
.hurik-hero-inner::after {
  display: none !important;
  content: none !important;
}

.hurik-hero-minimal h1 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: var(--hv-ink) !important;
  font-size: clamp(42px, 4.15vw, 68px) !important;
  font-weight: 820 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.048em !important;
  text-align: left !important;
  text-wrap: initial !important;
}

.hurik-hero-minimal h1::before {
  display: none !important;
  content: none !important;
}

.hurik-hero-sub {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 24px 0 0 !important;
  color: var(--hv-muted) !important;
  font-size: clamp(15px, 1.15vw, 17px) !important;
  line-height: 1.68 !important;
  text-align: left !important;
  text-wrap: initial !important;
}

@media (min-width: 960px) {
  .hurik-hero-minimal h1 {
    white-space: nowrap !important;
  }
}

@media (max-width: 959px) {
  .hurik-hero-inner {
    width: calc(100% - 40px) !important;
  }

  .hurik-hero-minimal h1 {
    white-space: normal !important;
    font-size: clamp(38px, 7vw, 56px) !important;
  }

  .hurik-hero-sub {
    font-size: 15px !important;
  }
}

@media (max-width: 640px) {
  .hurik-hero-minimal {
    padding: 42px 0 48px !important;
  }

  .hurik-hero-inner {
    width: calc(100% - 24px) !important;
  }

  .hurik-hero-minimal h1 {
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1.06 !important;
  }

  .hurik-hero-sub {
    margin-top: 18px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* =========================================================
   HURIK VISUAL v1.5 — HERO SIN ESPACIOS VACÍOS
   Título pegado a la cabecera y sección compacta.
   ========================================================= */

.hurik-hero-minimal {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 14px 0 20px !important;
  background: #f7f5f1 !important;
  border-bottom: 1px solid var(--hv-line) !important;
}

.hurik-hero-minimal::before,
.hurik-hero-minimal::after,
.hurik-hero-inner::before,
.hurik-hero-inner::after {
  display: none !important;
  content: none !important;
}

.hurik-hero-inner {
  position: static !important;
  display: block !important;
  width: calc(100% - 64px) !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.hurik-hero-minimal h1 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(38px, 3.7vw, 60px) !important;
  font-weight: 820 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.hurik-hero-minimal h1::before,
.hurik-hero-minimal h1::after {
  display: none !important;
  content: none !important;
}

.hurik-hero-sub {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.hurik-hero-minimal + .hurik-featured-minimal,
.hurik-featured-minimal {
  margin-top: 0 !important;
}

@media (max-width: 959px) {
  .hurik-hero-inner {
    width: calc(100% - 40px) !important;
  }

  .hurik-hero-minimal h1 {
    white-space: normal !important;
    font-size: clamp(34px, 7vw, 50px) !important;
  }
}

@media (max-width: 640px) {
  .hurik-hero-minimal {
    padding: 12px 0 16px !important;
  }

  .hurik-hero-inner {
    width: calc(100% - 24px) !important;
  }

  .hurik-hero-minimal h1 {
    font-size: clamp(32px, 10vw, 44px) !important;
    line-height: 1.04 !important;
  }

  .hurik-hero-sub {
    margin-top: 10px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* HURIK HOME ROOT v5.3.0 BEGIN */
body#index .hurik-home-root {
  width: 96% !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

body#index .hurik-home-root > .row,
body#index .hurik-home-root #content-wrapper,
body#index .hurik-home-root #main,
body#index .hurik-home-root #content.page-home {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

body#index .hurik-home-root > .row { display: block !important; }
body#index .hurik-home-root #content-wrapper {
  float: none !important;
  flex: 0 0 100% !important;
}

body#index #content.page-home > .hurik-auto-promo-shell,
body#index #content.page-home > .hurik-featured-minimal,
body#index #content.page-home > .hurik-categories-minimal,
body#index .hurik-auto-promo-shell > .hurik-featured-inner,
body#index #content.page-home > .hurik-featured-minimal > .hurik-featured-inner,
body#index #content.page-home > .hurik-categories-minimal > .hurik-categories-inner,
body#index .hurik-auto-promo-align,
body#index .hurik-featured-grid {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

body#index .hurik-auto-promo-card {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}

body#index .hurik-auto-promo-copy,
body#index .hurik-products-sequence-title,
body#index .hurik-categories-sequence-title {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

@media (max-width: 47.99rem) {
  body#index .hurik-featured-grid { gap: 2% !important; }
}
/* HURIK HOME ROOT v5.3.0 END */
/* HURIK PORTADA FINAL v5.3.0 BEGIN */

/* Cabecera alineada con la guía del 96% de la portada. */
@media (min-width: 992px) {
  body#index .hurik-header-inner {
    width: 96% !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Presentación corporativa: marca dominante y lectura proporcionada. */
.hurik-brand-card {
  width: min(27rem, calc(100vw - 3rem)) !important;
  padding: 1.35rem 1.5rem !important;
  border: 1px solid rgba(17, 17, 17, 0.11) !important;
  border-radius: 1.125rem !important;
  background: rgba(255, 255, 255, 0.985) !important;
  box-shadow: 0 1.5rem 3.75rem rgba(17, 17, 17, 0.15) !important;
  gap: 0.8rem !important;
  text-align: left !important;
}

.hurik-brand-card strong {
  display: block !important;
  margin: 0 !important;
  color: #111111 !important;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: -0.045em !important;
}

.hurik-brand-card span {
  display: block !important;
  margin: 0 !important;
  color: #5f5a52 !important;
  font-size: clamp(0.9rem, 1vw, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-wrap: pretty;
}



/* HURIK PORTADA FINAL v5.3.0 END */
/* HURIK MOBILE VIEWPORT v5.3.3 BEGIN */
@media (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  main,
  #wrapper,
  #content-wrapper,
  #main,
  #content,
  .hurik-home-root,
  .hurik-featured-minimal,
  .hurik-featured-inner,
  .hurik-categories-inner {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body#index .hurik-auto-promo-copy h1,
  body#index .hurik-products-sequence-title,
  body#index .hurik-categories-sequence-title {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}
/* HURIK MOBILE VIEWPORT v5.3.3 END */

/* HURIK_TIPOGRAFIA_FINAL_v5.3.5_BEGIN */

/*
 * Titular secundario:
 * debe tener menor jerarquía visual que la marca HURIK.pe.
 */
.hurik-auto-promo-copy h1 {
  margin: 20px 0 14px !important;
  max-width: 100% !important;

  font-size: clamp(1.75rem, 2vw, 2rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/*
 * Texto informativo:
 * sin negrita y sin competir con el titular.
 */
.hurik-products-sequence-title {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;

  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/*
 * Celular.
 */
@media (max-width: 767px) {
  .hurik-auto-promo-copy h1 {
    margin: 16px 0 10px !important;

    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }

  .hurik-products-sequence-title {
    margin: 0 0 14px !important;

    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
  }
}

/* HURIK_TIPOGRAFIA_FINAL_v5.3.5_END */

/* HURIK_PRODUCTOS_COMPACTOS_v5.3.7_BEGIN */

/*
 * Menor separación entre el producto principal y el título.
 */
body#index .hurik-auto-promo-copy {
  margin-top: 14px !important;
}

/*
 * Titular secundario compacto.
 * Conserva presencia sin competir con HURIK.pe.
 */
body#index .hurik-auto-promo-copy h1 {
  margin: 0 !important;

  font-size: clamp(1.65rem, 2vw, 1.9rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;

  white-space: normal !important;
}

/*
 * Reducir el espacio entre:
 * - Lo bien elegido se nota.
 * - texto descriptivo;
 * - rejilla de productos.
 */
body#index .hurik-auto-promo-shell + .hurik-featured-minimal {
  padding-top: 12px !important;
}

/*
 * Texto introductorio ligero y de poca altura.
 */
body#index .hurik-products-sequence-title {
  width: 100% !important;
  max-width: 100% !important;

  margin: 0 0 12px !important;

  font-size: clamp(0.95rem, 1.05vw, 1.05rem) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;

  white-space: normal !important;
}

/*
 * Solo modifica la separación de las tarjetas de productos.
 * No cambia sus tamaños, imágenes, cuerpos ni precios.
 */
body#index
.hurik-products-sequence-title
+ .hurik-featured-grid {
  column-gap: 1% !important;
  row-gap: 14px !important;
}

/*
 * Ajuste móvil.
 */
@media (max-width: 767px) {
  body#index .hurik-auto-promo-copy {
    margin-top: 12px !important;
  }

  body#index .hurik-auto-promo-copy h1 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
  }

  body#index .hurik-auto-promo-shell + .hurik-featured-minimal {
    padding-top: 10px !important;
  }

  body#index .hurik-products-sequence-title {
    margin-bottom: 10px !important;

    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
  }

  body#index
  .hurik-products-sequence-title
  + .hurik-featured-grid {
    column-gap: 8px !important;
    row-gap: 10px !important;
  }
}

/* HURIK_PRODUCTOS_COMPACTOS_v5.3.7_END */

/* HURIK_FOLD_DESKTOP_v5.3.8_BEGIN */

@media (min-width: 992px) {

  /*
   * Cabecera más compacta.
   */
  body#index .hurik-header-inner {
    min-height: 60px !important;
    gap: 14px !important;
  }

  body#index .hurik-menu-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body#index .hurik-brand-logo {
    font-size: clamp(25px, 1.65vw, 29px) !important;
  }

  body#index .hurik-header-search {
    min-height: 42px !important;
  }

  body#index .hurik-search-button {
    width: 42px !important;
    height: 42px !important;
  }

  /*
   * Eliminar espacio vertical excesivo antes de la promoción.
   */
  body#index #wrapper {
    padding-top: 10px !important;
  }

  body#index .hurik-auto-promo-shell.hurik-featured-minimal {
    padding-top: 6px !important;
  }

  /*
   * Producto principal más compacto.
   * No se modifica su contenido ni su funcionamiento.
   */
  body#index .hurik-auto-promo-card {
    min-height: 144px !important;
    grid-template-columns:
      160px
      minmax(0, 1fr)
      minmax(105px, auto) !important;

    gap: 18px !important;
    padding: 14px 16px !important;
  }

  body#index .hurik-auto-promo-media {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;

    height: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
  }

  body#index .hurik-auto-promo-content p {
    margin-top: 5px !important;
    line-height: 1.35 !important;
  }

  /*
   * Titular y descripción con menor altura.
   */
  body#index .hurik-auto-promo-copy {
    margin-top: 10px !important;
  }

  body#index .hurik-auto-promo-copy h1 {
    margin: 0 !important;
    font-size: clamp(1.65rem, 1.8vw, 1.9rem) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
  }

  body#index .hurik-auto-promo-shell + .hurik-featured-minimal {
    padding-top: 8px !important;
  }

  body#index .hurik-products-sequence-title {
    margin: 0 0 8px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  /*
   * Mantener el diseño de las tarjetas, pero reducir únicamente
   * la altura del escenario de imagen para mostrar nombre y precio
   * dentro del primer pantallazo.
   */
  body#index
  .hurik-products-sequence-title
  + .hurik-featured-grid
  .hurik-fcard-img {
    aspect-ratio: auto !important;
    height: clamp(300px, 18vw, 340px) !important;
    min-height: 0 !important;
  }

  body#index
  .hurik-products-sequence-title
  + .hurik-featured-grid
  .hurik-fcard-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

/*
 * Pantallas de escritorio con poca altura.
 */
@media (min-width: 992px) and (max-height: 800px) {
  body#index
  .hurik-products-sequence-title
  + .hurik-featured-grid
  .hurik-fcard-img {
    height: 280px !important;
  }

  body#index .hurik-auto-promo-card {
    min-height: 136px !important;
  }

  body#index .hurik-auto-promo-media {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }
}

/* HURIK_FOLD_DESKTOP_v5.3.8_END */

/* HURIK_HEADER_HOVER_PIN_v5.3.9_BEGIN */

@media (hover: hover) and (pointer: fine) {
  /* El panel completo sustituye al tooltip pequeño en escritorio. */
  body.hurik-hover-panels-ready
  .hurik-header-icon-link
  .hurik-icon-tooltip {
    display: none !important;
  }

  /* Señal discreta cuando el panel queda fijado por clic. */
  body.hurik-hover-panels-ready
  .hurik-header-icon-link.hurik-panel-pinned {
    outline: 2px solid rgba(138, 111, 53, 0.32) !important;
    outline-offset: 3px !important;
    border-radius: 14px !important;
  }
}

/* HURIK_HEADER_HOVER_PIN_v5.3.9_END */

/* HURIK_UI_COMERCIAL_v5.4.1_BEGIN */

/* Sistema de proporciones para iconos interactivos. */
.hurik-header-tools {
  gap: 6px !important;
}

.hurik-header-icon-link,
.hurik-search-button,
.hurik-menu-button {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
}

.hurik-header-icon-link > img,
.hurik-search-button > img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  display: block !important;
}

.hurik-kiru-link:hover,
.hurik-kiru-link:focus-visible {
  background: rgba(138, 111, 53, 0.09) !important;
}

/* Iconos del pie: mismas cajas y escala óptica por función. */
.hurik-footer-custom .hf-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hurik-footer-custom .hf-icon img {
  width: 25px !important;
  height: 25px !important;
  object-fit: contain !important;
}

.hurik-footer-custom .hf-social a {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hurik-footer-custom .hf-social img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

/* Cierre comercial dentro de los resultados del buscador. */
.hurik-search-assist {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 8px;
  padding: 14px;
  border: 1px solid rgba(138, 111, 53, 0.22);
  border-radius: 16px;
  background: #fbf7ef;
}

.hurik-search-assist-copy strong,
.hurik-search-assist-copy span {
  display: block;
}

.hurik-search-assist-copy strong {
  margin-bottom: 3px;
  color: #171512;
  font-size: 0.92rem;
  line-height: 1.25;
}

.hurik-search-assist-copy span {
  color: #686158;
  font-size: 0.82rem;
  line-height: 1.4;
}

.hurik-search-assist-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hurik-search-assist-primary,
.hurik-search-assist-secondary {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hurik-search-assist-primary {
  border: 0;
  background: #171512;
  color: #fff;
  cursor: pointer;
}

.hurik-search-assist-secondary {
  border: 1px solid rgba(23, 21, 18, 0.14);
  background: #fff;
  color: #171512;
}

/* Indicador de continuidad: aparece solo al inicio y se retira al desplazarse. */
.hurik-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 18vh;
  z-index: 9000;
  transform: translate(-50%, 12px);
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: #171512;
  box-shadow: 0 12px 30px rgba(23, 21, 18, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  backdrop-filter: blur(8px);
}

.hurik-scroll-cue b {
  font-size: 1.1rem;
  line-height: 1;
  animation: hurikCueBounce 1.5s ease-in-out infinite;
}

.hurik-scroll-cue.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@keyframes hurikCueBounce {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(3px); }
}

@media (max-width: 767px) {
  .hurik-header-tools { gap: 2px !important; }

  .hurik-header-icon-link,
  .hurik-search-button,
  .hurik-menu-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
  }

  .hurik-header-icon-link > img,
  .hurik-search-button > img {
    width: 22px !important;
    height: 22px !important;
  }

  .hurik-search-assist {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hurik-search-assist-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hurik-scroll-cue {
    bottom: max(92px, 16vh);
    min-height: 40px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hurik-scroll-cue,
  .hurik-scroll-cue b {
    animation: none !important;
    transition: none !important;
  }
}

/* HURIK_UI_COMERCIAL_v5.4.1_END */

/* HURIK_ICONOS_OPCION2_v5.4.2_BEGIN */

/* Cabecera: un único sistema óptico de 44/24 px. */
.hurik-menu-button,
.hurik-search-button,
.hurik-header-icon-link {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hurik-search-button img,
.hurik-header-icon-link > img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  object-fit: contain !important;
  display: block !important;
}

.hurik-menu-button span,
.hurik-menu-button span::before,
.hurik-menu-button span::after {
  width: 24px !important;
  height: 2px !important;
  border-radius: 999px !important;
}

/* KiruH no forma parte de la cabecera. */
.hurik-header .hurik-kiru-link,
.hurik-header [data-hurik-kiru-open] {
  display: none !important;
}

/* Pie opción 2: iconos lineales, sin contenedor circular permanente. */
.hurik-footer-custom .hf-icon {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hurik-footer-custom .hf-icon img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: block !important;
  object-fit: contain !important;
}

.hurik-footer-custom .hf-social {
  max-width: none !important;
  gap: 8px !important;
}

.hurik-footer-custom .hf-social a {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease !important;
}

.hurik-footer-custom .hf-social img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  object-fit: contain !important;
}

/* El círculo/encendido aparece solo en interacción o estado activo. */
.hurik-footer-custom .hf-social a:hover,
.hurik-footer-custom .hf-social a:focus-visible,
.hurik-footer-custom .hf-social a.is-active,
.hurik-footer-custom .hf-social a.active,
.hurik-footer-custom .hf-social a[aria-pressed="true"],
.hurik-footer-custom .hf-social a[data-active="1"] {
  background: rgba(227, 201, 143, .16) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 767px) {
  .hurik-menu-button,
  .hurik-search-button,
  .hurik-header-icon-link {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .hurik-search-button img,
  .hurik-header-icon-link > img,
  .hurik-footer-custom .hf-icon img,
  .hurik-footer-custom .hf-social img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
  }

  .hurik-footer-custom .hf-icon,
  .hurik-footer-custom .hf-social a {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}

/* HURIK_ICONOS_OPCION2_v5.4.2_END */

/* HURIK BACK TO TOP CENTER v1.0.0
   Centra la flecha para separarla de KiruH.
*/
.hurik-back-to-top {
  left: 50% !important;
  right: auto !important;
  bottom: 24px !important;

  transform: translate(-50%, 8px) !important;
}

.hurik-back-to-top.is-visible {
  transform: translate(-50%, 0) !important;
}

/* En celular queda por encima de los controles inferiores. */
@media (max-width: 767px) {
  .hurik-back-to-top {
    bottom: 72px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

/* FIN HURIK BACK TO TOP CENTER v1.0.0 */

/* HURIK FASE 3 ALINEACION v1.1.1 BEGIN
   Neutraliza los márgenes negativos de Bootstrap.
   Cabecera, breadcrumb, título, controles y tarjetas comparten la guía del 96%.
*/

body#category #wrapper > .container,
body#search #wrapper > .container,
body.page-category #wrapper > .container,
body.page-search #wrapper > .container {
  width: 96% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Esta fila causaba el desplazamiento de aproximadamente 15 px. */
body#category #wrapper > .container > .row,
body#search #wrapper > .container > .row,
body.page-category #wrapper > .container > .row,
body.page-search #wrapper > .container > .row {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body#category #content-wrapper,
body#search #content-wrapper,
body.page-category #content-wrapper,
body.page-search #content-wrapper {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body#category .hurik-cat-container,
body#search .hurik-cat-container,
body.page-category .hurik-cat-container,
body.page-search .hurik-cat-container,
body#category .breadcrumb,
body#search .breadcrumb,
body.page-category .breadcrumb,
body.page-search .breadcrumb {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Móvil: misma guía de 12 px utilizada por la portada. */
@media (max-width: 767px) {
  body#category #wrapper > .container,
  body#search #wrapper > .container,
  body.page-category #wrapper > .container,
  body.page-search #wrapper > .container {
    width: calc(100% - 24px) !important;
  }
}


/* HURIK FASE 3 ALINEACION VISUAL v1.1.4 BEGIN */
/*
 * La guía de página ya es 96% con 2% a cada lado.
 * La diferencia visual provenía del dibujo del menú, desplazado dentro
 * de su área clicable. Se alinea el dibujo con el borde de la guía sin
 * mover el contenido ni introducir compensaciones laterales en píxeles.
 */
.hurik-menu-button {
  padding-inline: 0 !important;
}

.hurik-menu-button > span,
.hurik-menu-button::before,
.hurik-menu-button::after {
  left: 0 !important;
  right: auto !important;
  width: 55% !important;
}
/* HURIK FASE 3 ALINEACION VISUAL v1.1.4 END */
