/*
Theme Name:   Krak Child
Theme URI:    https://tiendakrak.com.ar
Description:  Child theme de Astra para la tienda Krak - Urban Wear & Adventure
Author:       Krak
Author URI:   https://tiendakrak.com.ar
Template:     astra
Version:      2.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  krak-child
*/

/* =========================================================
   VARIABLES GLOBALES
   ========================================================= */
:root {
  /* Colores base */
  --krak-negro:      #0a0a0a;
  --krak-negro-2:    #111111;
  --krak-negro-3:    #1a1a1a;
  --krak-blanco:     #ffffff;
  --krak-gris-claro: #f4f4f4;
  --krak-gris-medio: #888888;

  /* Acento neon */
  --krak-cyan:       #00e5ff;
  --krak-cyan-dim:   rgba(0, 229, 255, 0.15);
  --krak-cyan-mid:   rgba(0, 229, 255, 0.4);
  --krak-glow-s:     0 0 12px rgba(0, 229, 255, 0.4), 0 0 30px rgba(0, 229, 255, 0.15);
  --krak-glow-m:     0 0 20px rgba(0, 229, 255, 0.5), 0 0 50px rgba(0, 229, 255, 0.25);
  --krak-glow-l:     0 0 30px rgba(0, 229, 255, 0.7), 0 0 70px rgba(0, 229, 255, 0.35);

  /* Dorado (legado, se mantiene para WooCommerce) */
  --krak-acento:     #c8a96e;

  /* Tipografías */
  --font-titulo: 'Montserrat', sans-serif;
  --font-cuerpo: 'Inter', sans-serif;
  --font-mono:   'Courier New', 'Courier', monospace;

  /* Espaciado / layout */
  --krak-radio:      4px;
  --krak-max-width:  1200px;
  --krak-gutter:     24px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cuerpo);
  color: var(--krak-negro);
  background: var(--krak-blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =========================================================
   UTILIDADES
   ========================================================= */
.krak-container {
  max-width: var(--krak-max-width);
  margin: 0 auto;
  padding: 0 var(--krak-gutter);
}

.krak-text-cyan  { color: var(--krak-cyan); }
.krak-text-mono  { font-family: var(--font-mono); }

/* =========================================================
   BOTONES
   ========================================================= */
.krak-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titulo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--krak-radio);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.krak-btn--cyan {
  background: var(--krak-cyan);
  color: var(--krak-negro);
  border-color: var(--krak-cyan);
  box-shadow: var(--krak-glow-s);
}
.krak-btn--cyan:hover {
  background: transparent;
  color: var(--krak-cyan);
  box-shadow: var(--krak-glow-m);
}

.krak-btn--dark {
  background: var(--krak-negro);
  color: var(--krak-blanco);
  border-color: var(--krak-negro);
}
.krak-btn--dark:hover {
  background: var(--krak-blanco);
  color: var(--krak-negro);
}

.krak-btn--ghost {
  background: transparent;
  color: var(--krak-blanco);
  border-color: rgba(255,255,255,0.4);
}
.krak-btn--ghost:hover {
  border-color: var(--krak-cyan);
  color: var(--krak-cyan);
}

/* =========================================================
   SECCIÓN — ENCABEZADO GENÉRICO
   ========================================================= */
.krak-seccion {
  padding: 96px 0;
}

.krak-seccion-header {
  text-align: center;
  margin-bottom: 56px;
}

.krak-seccion-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--krak-cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.krak-seccion-titulo {
  font-family: var(--font-titulo);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.krak-seccion-desc {
  font-size: 0.95rem;
  color: var(--krak-gris-medio);
  margin-top: 12px;
}

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.krak-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: stretch;
}

.krak-nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.krak-nav__inner {
  max-width: var(--krak-max-width);
  margin: 0 auto;
  padding: 0 var(--krak-gutter);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.krak-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.krak-nav__logo img {
  height: 42px;
  width: auto;
}
.krak-nav__logo-text {
  font-family: var(--font-titulo);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--krak-blanco);
  letter-spacing: -0.02em;
}

/* Menú */
.krak-nav__menu {
  flex: 1;
  display: flex;
  justify-content: center;
}
.krak-nav__menu ul {
  display: flex;
  gap: 36px;
}
.krak-nav__menu a {
  font-family: var(--font-titulo);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
  position: relative;
}
.krak-nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--krak-cyan);
  transition: width 0.25s ease;
}
.krak-nav__menu a:hover,
.krak-nav__menu a.active {
  color: var(--krak-blanco);
}
.krak-nav__menu a:hover::after,
.krak-nav__menu a.active::after {
  width: 100%;
}

/* Acciones */
.krak-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.krak-nav__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
}
.krak-nav__icon-btn:hover { color: var(--krak-cyan); }

.krak-nav__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--krak-cyan);
  color: var(--krak-negro);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.krak-nav__login-btn {
  font-family: var(--font-titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--krak-negro);
  background: var(--krak-cyan);
  padding: 9px 20px;
  border-radius: var(--krak-radio);
  transition: all 0.2s ease;
  box-shadow: var(--krak-glow-s);
}
.krak-nav__login-btn:hover {
  background: transparent;
  color: var(--krak-cyan);
  box-shadow: var(--krak-glow-m);
  outline: 1.5px solid var(--krak-cyan);
}

/* Ítem solo visible en mobile */
li.krak-nav__menu-mobile-only { display: none !important; }

/* Burger (mobile) */
.krak-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.krak-nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--krak-blanco);
  transition: all 0.25s ease;
  transform-origin: center;
}
.krak-nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.krak-nav__burger.open span:nth-child(2) { opacity: 0; }
.krak-nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.krak-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--krak-negro);
}

/* Slides */
.krak-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.krak-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
}

/* Slide 1: activo 0-50%, transición 40-50% */
@keyframes krak-slide-a {
  0%,  40%  { opacity: 1; }
  50%,  90%  { opacity: 0; }
  100%       { opacity: 1; }
}
/* Slide 2: desfasado 5s */
@keyframes krak-slide-b {
  0%,  40%  { opacity: 0; }
  50%,  90%  { opacity: 1; }
  100%       { opacity: 0; }
}

.krak-slide-1 {
  animation: krak-slide-a 10s ease-in-out infinite;
}
.krak-slide-2 {
  animation: krak-slide-b 10s ease-in-out infinite;
}

/* Overlays */
.krak-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.55) 55%,
    rgba(10,10,10,0.2) 100%
  );
}

.krak-hero__overlay--cyan {
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.9) 0%,
    rgba(0,10,15,0.65) 55%,
    rgba(0,20,30,0.25) 100%
  );
}

/* Contenido */
.krak-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--krak-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--krak-gutter);
  padding-top: 68px; /* altura navbar */
}

.krak-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--krak-cyan);
  margin-bottom: 20px;
}

.krak-hero__titulo {
  font-family: var(--font-titulo);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--krak-blanco);
  margin-bottom: 24px;
}

.krak-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  max-width: 360px;
}

.krak-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll hint */
.krak-hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.krak-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: krak-scroll-line 2s ease-in-out infinite;
}

@keyframes krak-scroll-line {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* Dots */
.krak-hero__dots {
  position: absolute;
  bottom: 36px;
  right: var(--krak-gutter);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.krak-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.krak-hero__dot.active {
  background: var(--krak-cyan);
  box-shadow: 0 0 8px var(--krak-cyan);
  width: 20px;
  border-radius: 3px;
}

/* =========================================================
   BANDA MARQUEE
   ========================================================= */
.krak-marquee-band {
  background: var(--krak-negro);
  border-top: 1px solid rgba(0,229,255,0.15);
  border-bottom: 1px solid rgba(0,229,255,0.15);
  overflow: hidden;
  padding: 14px 0;
}

.krak-marquee-track {
  display: flex;
}

.krak-marquee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: krak-marquee 22s linear infinite;
  flex-shrink: 0;
}

@keyframes krak-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.krak-marquee-item {
  font-family: var(--font-titulo);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.krak-marquee-sep {
  color: var(--krak-cyan);
  font-size: 0.5rem;
}

/* =========================================================
   NUEVA COLECCIÓN — TARJETAS CON NEON
   ========================================================= */
.krak-coleccion {
  background: var(--krak-blanco);
}

.krak-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.krak-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08), inset 0 0 40px rgba(0, 229, 255, 0.03);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  text-decoration: none;
  color: var(--krak-blanco);
}

.krak-cat-card:hover {
  border-color: rgba(0, 229, 255, 0.65);
  box-shadow: var(--krak-glow-m), inset 0 0 60px rgba(0, 229, 255, 0.06);
  transform: translateY(-5px);
}

/* Fondos por categoría */
.krak-cat-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.5s ease;
}

.krak-cat-card:hover .krak-cat-card__bg { transform: scale(1.04); }

.krak-cat-remeras .krak-cat-card__bg {
  background:
    radial-gradient(ellipse at 60% 30%, rgba(0,229,255,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0d1117 0%, #111827 50%, #0a0e14 100%);
}

.krak-cat-buzos .krak-cat-card__bg {
  background:
    radial-gradient(ellipse at 40% 70%, rgba(0,229,255,0.07) 0%, transparent 60%),
    linear-gradient(160deg, #0d1117 0%, #0f1923 50%, #0a1014 100%);
}

.krak-cat-pantalones .krak-cat-card__bg {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(0,229,255,0.05) 0%, transparent 60%),
    linear-gradient(160deg, #0d1117 0%, #14111f 50%, #0a0a14 100%);
}

/* Contenido de la tarjeta */
.krak-cat-card__content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
}

.krak-cat-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--krak-cyan);
  opacity: 1;
  margin-bottom: 16px;
}

.krak-cat-card__nombre {
  font-family: var(--font-titulo);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
}

.krak-cat-card__tipo {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.krak-cat-card__cta {
  font-family: var(--font-titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--krak-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.krak-cat-card__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.krak-cat-card:hover .krak-cat-card__arrow { transform: translateX(5px); }

/* Resplandor interno */
.krak-cat-card__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,229,255,0.1) 0%, transparent 70%);
  transition: opacity 0.35s ease;
}
.krak-cat-card:hover .krak-cat-card__glow { opacity: 1; }

/* Esquinas decorativas */
.krak-cat-card__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  border-color: rgba(0, 229, 255, 0.5);
  border-style: solid;
  transition: border-color 0.35s ease;
}
.krak-cat-card:hover .krak-cat-card__corner { border-color: var(--krak-cyan); }

.krak-cat-card__corner--tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.krak-cat-card__corner--br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

/* =========================================================
   MÁS VENDIDOS
   ========================================================= */
.krak-mas-vendidos {
  background: var(--krak-gris-claro);
}

.krak-productos-woo .woocommerce,
.krak-productos-woo {
  width: 100%;
}

.krak-productos-woo ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
}

.krak-productos-woo ul.products li.product {
  background: var(--krak-blanco);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.krak-productos-woo ul.products li.product:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.krak-productos-woo ul.products li.product a img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.krak-productos-woo ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-titulo);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 14px 4px;
}

.krak-productos-woo ul.products li.product .price {
  padding: 0 14px 12px;
  font-weight: 700;
  color: var(--krak-negro);
}

.krak-productos-woo ul.products li.product .button {
  display: block;
  width: calc(100% - 28px);
  margin: 0 auto 14px;
  text-align: center !important;
  background: var(--krak-negro) !important;
  color: var(--krak-blanco) !important;
  font-family: var(--font-titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px;
  border-radius: var(--krak-radio);
  transition: background 0.2s ease;
  float: none !important;
}
.krak-productos-woo ul.products li.product .button:hover {
  background: var(--krak-cyan) !important;
  color: var(--krak-negro) !important;
  box-shadow: var(--krak-glow-s);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.krak-newsletter {
  background: var(--krak-negro);
  position: relative;
  overflow: hidden;
}

.krak-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,229,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.krak-newsletter__wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.krak-newsletter__deco {
  display: flex;
  flex-direction: column;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

.krak-newsletter__deco-text {
  font-family: var(--font-titulo);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,229,255,0.25);
  line-height: 0.85;
}

.krak-newsletter__deco-off {
  font-family: var(--font-titulo);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,229,255,0.15);
}

.krak-newsletter__titulo {
  font-family: var(--font-titulo);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--krak-blanco);
  margin: 12px 0 16px;
}

.krak-newsletter__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.krak-newsletter__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.krak-newsletter__form input[type="email"] {
  flex: 1;
  min-width: 240px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--krak-blanco);
  font-family: var(--font-cuerpo);
  font-size: 0.9rem;
  padding: 14px 18px;
  border-radius: var(--krak-radio);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.krak-newsletter__form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.3);
}

.krak-newsletter__form input[type="email"]:focus {
  border-color: var(--krak-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}

.krak-newsletter__msg {
  font-size: 0.85rem;
  margin-top: 14px;
  min-height: 20px;
  transition: all 0.3s ease;
}
.krak-newsletter__msg.success { color: var(--krak-cyan); }
.krak-newsletter__msg.error   { color: #ff6b6b; }

.krak-newsletter__legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin-top: 14px;
  font-family: var(--font-mono);
}

/* =========================================================
   FOOTER
   ========================================================= */
.krak-footer {
  background: #060606;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 0;
}

.krak-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.krak-footer__logo img { height: 40px; width: auto; margin-bottom: 16px; }
.krak-footer__logo-text {
  font-family: var(--font-titulo);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--krak-blanco);
  display: inline-block;
  margin-bottom: 16px;
}

.krak-footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 24px;
}

.krak-footer__social {
  display: flex;
  gap: 12px;
}

.krak-footer__social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}
.krak-footer__social-btn:hover {
  border-color: var(--krak-cyan);
  color: var(--krak-cyan);
  box-shadow: var(--krak-glow-s);
}

.krak-footer__col-title {
  font-family: var(--font-titulo);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.krak-footer__links li { margin-bottom: 10px; }
.krak-footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.krak-footer__links a:hover { color: var(--krak-blanco); }

.krak-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.krak-footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-mono);
}

/* =========================================================
   PÁGINAS INTERNAS — espaciado y layout
   ========================================================= */

/* Todas las páginas excepto homepage: padding para el nav fijo */
body.krak-inner-page {
  padding-top: 68px !important;
}

/* Quitar márgenes extra que Astra agrega al contenido */
body.krak-inner-page .site-content,
body.krak-inner-page #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.krak-inner-page .ast-container {
  max-width: var(--krak-max-width) !important;
  padding-left: var(--krak-gutter) !important;
  padding-right: var(--krak-gutter) !important;
}

body.krak-inner-page #primary,
body.krak-inner-page .content-area {
  padding-top: 48px;
  padding-bottom: 72px;
  float: none !important;
  width: 100% !important;
}

/* Sidebar de Astra: ocultar en páginas de tienda */
body.krak-inner-page #secondary,
body.krak-inner-page .widget-area {
  display: none;
}

/* Contenedor de contenido interno */
.krak-inner-content {
  min-height: 60vh;
}

/* Hero de páginas internas */
.krak-contacto-hero {
  background: var(--krak-negro);
  padding: 64px 0 56px;
}

.krak-page-titulo {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--krak-blanco);
  line-height: 1;
  margin: 12px 0 16px;
}

.krak-page-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
}

.krak-inner-subtitle {
  font-family: var(--font-titulo);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--krak-negro);
}

/* WooCommerce: override del wrapper de Astra en páginas internas */
body.krak-inner-page .site,
body.krak-inner-page #page {
  display: block;
}

body.krak-inner-page .site-content,
body.krak-inner-page #content {
  padding: 0;
}

body.krak-inner-page .ast-container,
body.krak-inner-page .entry-content {
  max-width: var(--krak-max-width);
  margin: 0 auto;
  padding: 0 var(--krak-gutter);
}

/* Área principal de WooCommerce */
body.krak-inner-page .content-area,
body.krak-inner-page #primary {
  padding: 60px 0;
  float: none;
  width: 100%;
}

/* Sección de categorías en la página tienda */
.krak-shop-cats-section {
  margin-bottom: 56px;
}
.krak-shop-loop-header {
  margin-bottom: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* WOOCOMMERCE — PÁGINAS INTERNAS (carrito, checkout, producto)
   ========================================================= */

/* Precio */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--krak-negro);
}

.woocommerce span.onsale {
  background: var(--krak-cyan);
  color: var(--krak-negro);
  font-family: var(--font-titulo);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--krak-radio);
  min-width: auto;
  min-height: auto;
  padding: 4px 10px;
  line-height: 1.4;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--krak-negro) !important;
  color: var(--krak-blanco) !important;
  font-family: var(--font-titulo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--krak-radio);
  transition: background 0.2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--krak-cyan) !important;
  color: var(--krak-negro) !important;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  border: 1px solid #ddd;
  border-radius: var(--krak-radio);
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--krak-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}

/* =========================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================= */
.krak-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.krak-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* =========================================================
   PÁGINA DE CONTACTO
   ========================================================= */
.krak-contacto-page {
  padding-top: 68px; /* altura del nav */
}

.krak-contacto-hero {
  background: var(--krak-negro);
  padding: 80px 0 64px;
}

.krak-contacto-form-section {
  padding: 80px 0;
  background: var(--krak-blanco);
}

.krak-contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.krak-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.krak-form-label {
  font-family: var(--font-titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--krak-negro);
}

.krak-form-input,
.krak-form-textarea {
  border: 1px solid #e0e0e0;
  border-radius: var(--krak-radio);
  padding: 12px 16px;
  font-family: var(--font-cuerpo);
  font-size: 0.95rem;
  color: var(--krak-negro);
  background: var(--krak-blanco);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.krak-form-input:focus,
.krak-form-textarea:focus {
  border-color: var(--krak-negro);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}

.krak-form-textarea { resize: vertical; min-height: 140px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .krak-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .krak-cat-pantalones { grid-column: span 2; max-height: 280px; }
  .krak-cat-pantalones .krak-cat-card__content { padding-top: 0; }

  .krak-productos-woo ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  .krak-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .krak-newsletter__wrap { grid-template-columns: 1fr; gap: 32px; }
  .krak-newsletter__deco { flex-direction: row; gap: 16px; }
}

@media (max-width: 768px) {
  :root { --krak-gutter: 16px; }

  /* Nav mobile */
  .krak-nav__menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99998;
    background: rgba(10,10,10,0.99);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px var(--krak-gutter) 36px;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  .krak-nav__menu.open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .krak-nav__menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .krak-nav__menu ul li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }
  .krak-nav__menu ul li:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
  .krak-nav__menu a {
    font-size: 0.95rem;
    display: block;
    padding: 16px 0;
    width: 100%;
  }
  .krak-nav__inner { gap: 0; justify-content: space-between; }
  .krak-nav__menu { display: flex; }
  .krak-nav__burger { display: flex; }
  .krak-nav__login-btn { display: none; }
  li.krak-nav__menu-mobile-only { display: list-item !important; }

  /* Hero */
  .krak-hero__titulo { font-size: clamp(2.8rem, 14vw, 4rem); }
  .krak-hero__ctas { flex-direction: column; }
  .krak-hero__ctas .krak-btn { width: 100%; justify-content: center; }

  /* Categorías */
  .krak-cat-grid { grid-template-columns: 1fr; }
  .krak-cat-pantalones { grid-column: span 1; max-height: none; }
  .krak-cat-card { min-height: 260px; }

  /* Productos */
  .krak-productos-woo ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* Newsletter */
  .krak-newsletter__row { flex-direction: column; }
  .krak-newsletter__form input[type="email"],
  .krak-newsletter__row .krak-btn { width: 100%; justify-content: center; }
  .krak-newsletter__deco { display: none; }

  /* Footer */
  .krak-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .krak-footer__brand { grid-column: span 2; }
  .krak-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Sección */
  .krak-seccion { padding: 64px 0; }

  /* Contacto */
  .krak-contacto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .krak-productos-woo ul.products { grid-template-columns: 1fr !important; }
  .krak-footer__grid { grid-template-columns: 1fr; }
  .krak-footer__brand { grid-column: span 1; }
}
