/* Los Kankos de Arafo · tema 0.4.1
   Cálido y cercano: fondo crema, el sol naranja y el mar azul del logo, fotos grandes con esquinas
   redondeadas, botones en píldora y etiquetas de cristal. Títulos en Bricolage Grotesque, texto en TikTok Sans. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-grotesque-kk.woff2") format("woff2"); }
@font-face { font-family: "TikTok Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/tiktok-sans-kk.woff2") format("woff2"); }

:root {
	--fondo: #fffcf7;
	--crema: #faf2e7;
	--crema-2: #f3e7d6;
	--tinta: #1e2328;
	--suave: #545b63;
	--linea: rgba(30, 35, 40, .1);
	--linea-2: rgba(30, 35, 40, .2);
	--azul: #00609c;
	--azul-2: #004f82;
	--azul-osc: #06375c;
	--azul-claro: #e4eff8;
	--sol: #f28c28;
	--sol-2: #e47a14;
	--naranja: #b05310;
	--naranja-claro: #fde9d6;
	--turquesa: #13808c;
	--turquesa-claro: #dff1f2;
	--amarillo: #ffc52e;
	--amarillo-claro: #fff1cc;
	--wa: #0f7a3e;
	--wa-2: #0b6532;
	--wa-claro: #e3f3e9;
	--r: 28px;
	--r-m: 22px;
	--r-s: 16px;
	--sombra: 0 1px 2px rgba(30, 35, 40, .06), 0 22px 44px -22px rgba(30, 35, 40, .34);
	--sombra-s: 0 1px 2px rgba(30, 35, 40, .06), 0 10px 24px -14px rgba(30, 35, 40, .3);
	--m: clamp(16px, 4vw, 40px);
	--ancho: 1240px;
	--cab: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--f-t: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f: "TikTok Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--cab) + 16px); }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 1.0625rem/1.6 var(--f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-t); font-weight: 800; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--amarillo); color: var(--tinta); }
.kk-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kk-saltar { position: absolute; z-index: 100; left: 16px; top: -100px; padding: 12px 18px; border-radius: 12px; background: var(--tinta); color: #fff; text-decoration: none; }
.kk-saltar:focus { top: 12px; }
.kk-main { display: block; outline: none; }
.kk-ancho { width: min(var(--ancho), 100% - 2 * var(--m)); margin-inline: auto; }
.kk-solo-movil { display: none; }

/* ---------- Tipografía ---------- */
.kk-h1, .kk-h2, .kk-h3 { font-family: var(--f-t); font-weight: 800; }
.kk-h1 { font-size: clamp(2.875rem, 1.3rem + 5vw, 6rem); line-height: .95; letter-spacing: -.045em; }
.kk-h1--pag { font-size: min(clamp(2.5rem, 1.3rem + 3.6vw, 4.5rem), calc(100cqi / (var(--larga, 8) * .6))); line-height: 1; letter-spacing: -.04em; }
.kk-h2 { font-size: clamp(2.125rem, 1.25rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }
.kk-h3 { font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); line-height: 1.12; letter-spacing: -.025em; }
.kk-lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--suave); max-width: 38em; }
.kk-nota { font-size: .875rem; color: var(--suave); }
.kk-subraya { position: relative; z-index: 0; white-space: nowrap; }
.kk-subraya::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.08em; bottom: .02em; height: .3em; background: var(--sol); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M5 17C42 9 94 7 152 8s108 2 143 6c4 1 4 7 0 8-41 6-101 7-151 6S41 25 7 27c-5 0-6-9-2-10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M5 17C42 9 94 7 152 8s108 2 143 6c4 1 4 7 0 8-41 6-101 7-151 6S41 25 7 27c-5 0-6-9-2-10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.kk-pastilla { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), 0 4px 14px -10px rgba(30, 35, 40, .4); font-size: .9375rem; font-weight: 600; }
.kk-punto { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--sol); }
.kk-punto::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sol); opacity: .5; }
.kk-migas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9375rem; color: var(--suave); }
.kk-migas a { color: var(--suave); text-decoration: none; }
.kk-migas a:hover { color: var(--tinta); text-decoration: underline; }

/* ---------- Botones ---------- */
.kk-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.kk-botones--centro { justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.kk-botones--col { display: grid; gap: 10px; }
.kk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--sol); color: var(--tinta); font-family: var(--f); font-size: 1.0625rem; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none; box-shadow: 0 10px 22px -12px rgba(200, 98, 10, .75); transition: background-color .18s var(--ease), transform .18s var(--ease-out), box-shadow .18s var(--ease); }
.kk-btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease-out); }
.kk-btn:hover { background: var(--sol-2); transform: translateY(-1px); }
.kk-btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.kk-btn:active { transform: translateY(0) scale(.98); }
.kk-btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -12px rgba(15, 122, 62, .8); }
.kk-btn--wa:hover { background: var(--wa-2); }
.kk-btn--claro { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea-2); }
.kk-btn--claro:hover { background: var(--crema); }
.kk-btn--s { min-height: 46px; padding: 0 20px; font-size: .9375rem; }
.kk-btn--full { width: 100%; }
.kk-redondo { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea-2); cursor: pointer; transition: background-color .18s, transform .18s var(--ease-out); }
.kk-redondo svg { width: 22px; height: 22px; }
.kk-redondo:hover { background: var(--tinta); color: #fff; }
.kk-redondo--atras svg { transform: scaleX(-1); }
.kk-redondo:disabled { opacity: .35; pointer-events: none; }
.kk-sellos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; }
.kk-sellos li { display: inline-flex; align-items: center; gap: 8px; }
.kk-sellos svg { width: 20px; height: 20px; color: var(--wa); flex: none; }
.kk-vidrio { position: absolute; z-index: 2; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); color: var(--tinta); font-size: .875rem; font-weight: 600; line-height: 1.25; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .35); }

/* ---------- Cabecera ---------- */
.kk-cab { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; height: var(--cab); padding: 0 var(--m); background: rgba(255, 252, 247, .86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease-out), border-color .25s; }
.kk-cab.is-solida { border-bottom-color: var(--linea); }
.kk-cab.is-oculta { transform: translateY(-100%); }
.kk-marca { flex: none; text-decoration: none; color: var(--tinta); }
.kk-logo { display: inline-flex; align-items: center; gap: 10px; }
.kk-logo-k { width: 46px; height: auto; }
.kk-logo-t { display: grid; line-height: 1; }
.kk-logo-t b { font-family: var(--f-t); font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.kk-logo-t small { margin-top: 3px; font-size: .8125rem; color: var(--suave); }
.kk-nav { margin-left: auto; }
.kk-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kk-nav a { display: block; padding: 10px 16px; border-radius: 999px; color: var(--tinta); font-size: .9875rem; font-weight: 600; text-decoration: none; transition: background-color .18s; }
.kk-nav a:hover { background: var(--crema); }
.kk-nav a[aria-current="page"] { background: var(--crema-2); }
.kk-cab-cta { flex: none; }
.kk-menu-btn { display: none; place-items: center; width: 48px; height: 48px; margin-left: 4px; border: 0; border-radius: 50%; background: var(--crema); color: var(--tinta); cursor: pointer; }
.kk-menu-btn svg { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity .2s, transform .25s var(--ease-out); }
.kk-menu-btn .kk-i-x { opacity: 0; transform: rotate(-90deg); }
.kk-menu-btn[aria-expanded="true"] .kk-i-menu { opacity: 0; transform: rotate(90deg); }
.kk-menu-btn[aria-expanded="true"] .kk-i-x { opacity: 1; transform: none; }
/* Menú del móvil: los servicios con su foto, el catálogo, inicio y contacto; WhatsApp y llamar siempre abajo */
.kk-movil { position: fixed; z-index: 39; inset: var(--cab) 0 0 0; display: flex; flex-direction: column; padding: 8px var(--m) 0; overflow-y: auto; overscroll-behavior: contain; background: var(--fondo); opacity: 0; transition: opacity .2s var(--ease); }
.kk-movil[hidden] { display: none; }
.kk-movil.is-on { opacity: 1; }
.kk-movil ul { margin: 0; padding: 0; list-style: none; }
.kk-movil a { touch-action: manipulation; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.kk-movil-nav { display: grid; gap: 12px; }
.kk-movil-serv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kk-ms { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-s); background: var(--crema-2); color: var(--tinta); text-decoration: none; transition: transform .16s var(--ease-out); }
.kk-ms img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-ms--sin { background: var(--azul-claro); }
.kk-ms-t { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .45); font-family: var(--f-t); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.kk-ms[aria-current="page"] .kk-ms-t { background: var(--azul); color: #fff; }
.kk-ms:active { transform: scale(.97); }
.kk-movil-cat { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 12px 12px 14px; border-radius: var(--r-s); background: var(--crema); color: var(--tinta); text-decoration: none; transition: background-color .18s, transform .16s var(--ease-out); }
.kk-movil-cat[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--azul); }
.kk-movil-cat:active { transform: scale(.98); }
.kk-movil-cat-f { display: flex; flex: none; }
.kk-movil-cat-f img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px var(--crema); }
.kk-movil-cat-f img + img { margin-left: -14px; }
.kk-movil-cat-t { display: grid; flex: 1; gap: 2px; min-width: 0; line-height: 1.2; }
.kk-movil-cat-t b { font-family: var(--f-t); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.kk-movil-cat-t small { color: var(--suave); font-size: .875rem; }
.kk-movil-cat-ir { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sol); }
.kk-movil-cat-ir svg { width: 18px; height: 18px; }
.kk-movil-mas a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--linea); color: var(--tinta); font-family: var(--f-t); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.kk-movil-mas a[aria-current="page"] { color: var(--azul); }
.kk-movil-mas svg { width: 20px; height: 20px; color: var(--suave); }
.kk-movil-pie { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding: 20px 0 calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(255, 252, 247, 0), var(--fondo) 20px); }
.kk-movil-pie .kk-btn { width: 100%; padding: 0 16px; }
.kk-me { opacity: 0; transform: translateY(14px); transition: opacity .22s var(--ease), transform .42s var(--ease-out); }
.kk-movil.is-on .kk-me { opacity: 1; transform: none; transition-delay: calc(40ms + var(--i, 0) * 30ms); }
@media (hover: hover) and (pointer: fine) {
	.kk-ms img { transition: transform .5s var(--ease-out); }
	.kk-ms:hover img { transform: scale(1.04); }
	.kk-movil-cat:hover { background: var(--crema-2); }
	.kk-movil-mas a:hover { color: var(--azul); }
}
/* Fotos más altas cuanto más alta es la pantalla, para que todo quepa sin bajar */
@media (min-height: 760px) { .kk-ms { aspect-ratio: 1; } }
@media (min-height: 860px) { .kk-ms { aspect-ratio: 4 / 5; } }
@media (max-width: 359px) {
	.kk-ms-t { padding: 7px 11px; font-size: .875rem; }
	.kk-movil-pie { gap: 8px; }
	.kk-movil-pie .kk-btn { gap: 8px; padding: 0 10px; }
}
/* En tableta, el menú baja como una hoja y deja ver la página detrás, velada */
@media (min-width: 600px) {
	.kk-movil { bottom: auto; max-height: calc(100vh - var(--cab)); max-height: calc(100dvh - var(--cab)); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 40px 60px -30px rgba(30, 35, 40, .45); }
	.kk-movil-serv { grid-template-columns: repeat(4, 1fr); }
	.kk-ms { aspect-ratio: 4 / 5; }
	.kk-movil-pie { position: static; padding: 16px 0 20px; background: none; }
	body.kk-menu-abierto::after { content: ""; position: fixed; z-index: 38; inset: var(--cab) 0 0 0; background: rgba(30, 35, 40, .32); animation: kk-velo .2s var(--ease); }
}
@media (min-width: 600px) and (max-height: 560px) { .kk-ms { aspect-ratio: 16 / 10; } }
@keyframes kk-velo { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kk-me { transform: none; transition: opacity .2s; } }
body.kk-menu-abierto { overflow: hidden; }

/* ---------- Secciones ---------- */
.kk-sec { padding: clamp(48px, 5.5vw, 84px) 0; }
.kk-sec:not(.kk-sec--crema):not(.kk-sec--azul) + .kk-sec:not(.kk-sec--crema):not(.kk-sec--azul):not(.kk-sec--pie) { padding-top: 0; }
.kk-sec--pegada { padding-top: 0; }
.kk-sec--crema { background: var(--crema); }
.kk-sec--azul { background: var(--azul-osc); color: #fff; }
.kk-sec--pie { padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 4vw, 48px); }
.kk-cab-sec { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.kk-cab-sec p { margin: 0; font-size: 1.125rem; color: var(--suave); }
.kk-sec--azul .kk-cab-sec p { color: rgba(255, 255, 255, .82); }

/* ---------- Portada: cabecera con mosaico ---------- */
.kk-hero { padding: clamp(20px, 3.5vw, 48px) 0 clamp(40px, 5vw, 72px); overflow: clip; }
.kk-hero-rej { display: grid; gap: 44px; align-items: center; }
.kk-hero-txt .kk-h1 { margin-top: 22px; }
.kk-hero-txt .kk-lead { margin-top: 22px; }
.kk-hero-txt .kk-botones { margin-top: 30px; }
.kk-hero-txt .kk-sellos { margin-top: 24px; }
.kk-collage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 14px; }
.kk-col { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--crema); box-shadow: var(--sombra); }
.kk-col img { width: 100%; height: 100%; object-fit: cover; }
.kk-col--a { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 1 / 1.02; }
.kk-col--a img { object-position: 50% 45%; }
.kk-col--b { grid-column: 8 / 13; grid-row: 1; align-self: end; aspect-ratio: 3 / 4; }
.kk-col--b img { object-position: 50% 62%; }
.kk-col--c { grid-column: 3 / 13; grid-row: 2; z-index: 2; margin-top: -16%; aspect-ratio: 16 / 9.4; border: 6px solid var(--fondo); }
.kk-col--a .kk-vidrio, .kk-col--b .kk-vidrio { top: 12px; bottom: auto; }
.kk-sol { position: absolute; z-index: 0; top: -7%; right: -9%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--sol); }
.kk-sol--s { top: -6%; right: -6%; width: 40%; }

/* ---------- Pruébalo en tu camiseta ---------- */
.kk-prueba { padding-top: 0; }
.kk-prueba-caja { display: grid; grid-template-areas: "cab" "tee" "form"; gap: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 56px); padding: clamp(14px, 3vw, 40px); border-radius: calc(var(--r) + 8px); background: var(--azul); color: #fff; }
.kk-prueba-cab { grid-area: cab; display: grid; gap: 14px; padding: clamp(10px, 2vw, 16px) clamp(8px, 2vw, 24px) 0; }
.kk-prueba-cab p { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; }
.kk-tee { grid-area: tee; position: relative; display: grid; place-items: center; margin: 0; padding: clamp(20px, 4vw, 48px) clamp(12px, 3vw, 40px) clamp(52px, 6vw, 64px); border-radius: var(--r); background: var(--azul-claro); color: var(--tinta); }
.kk-tee-lienzo { position: relative; width: min(100%, 560px); }
.kk-tee-foto { position: relative; z-index: 0; width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgba(0, 45, 80, .22)); }
.kk-tee-tinte { position: absolute; z-index: 1; inset: 0; background: var(--prenda); -webkit-mask: var(--tee) center / 100% 100% no-repeat; mask: var(--tee) center / 100% 100% no-repeat; mix-blend-mode: multiply; transition: background-color .35s var(--ease); }
.kk-tee-pecho { position: absolute; z-index: 2; left: 29%; right: 29%; top: 25%; display: flex; justify-content: center; container-type: inline-size; }
.kk-tee-txt { display: block; max-width: 100%; color: var(--tinta-prenda, var(--tinta)); font-family: var(--f-t); font-weight: 800; font-size: min(30cqi, calc(100cqi / (var(--n, 5) * .66))); line-height: .9; letter-spacing: -.02em; white-space: nowrap; text-transform: uppercase; mix-blend-mode: multiply; transition: color .3s var(--ease); }
.kk-tee.is-normal .kk-tee-txt { mix-blend-mode: normal; opacity: .92; }
.kk-tee-svg { width: min(100%, 420px); }
.kk-tee-svgtxt { font-family: var(--f-t); font-weight: 800; font-size: 56px; text-transform: uppercase; }
.kk-tee-nota { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; font-size: .875rem; color: var(--suave); }
.kk-prueba-form { grid-area: form; display: grid; align-content: start; gap: 20px; padding: 0 clamp(8px, 2vw, 24px) clamp(16px, 2vw, 24px); }
.kk-prueba-form > p:not(.kk-campo) { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; }
.kk-prueba-form .kk-nota { color: rgba(255, 255, 255, .72); }
.kk-prueba-form .kk-campo label, .kk-muestras legend { font-size: .9375rem; font-weight: 700; color: #fff; }
.kk-prueba-form input[type="text"] { min-height: 60px; border: 0; background: #fff; font-family: var(--f-t); font-size: 1.375rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.kk-muestras { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.kk-muestras legend { margin-bottom: 10px; padding: 0; }
.kk-muestra { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .9375rem; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.kk-muestra:hover { background: rgba(255, 255, 255, .2); }
.kk-muestra input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kk-muestra-c { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .18); }
.kk-muestra:has(input:checked) { background: #fff; color: var(--tinta); }
.kk-muestra:has(input:focus-visible) { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.kk-prueba-form .kk-btn { justify-self: start; }

/* ---------- Qué personalizamos (mosaico de tarjetas) ---------- */
.kk-bento { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.kk-bento-i { min-width: 0; }
.kk-tarjeta-foto { position: relative; isolation: isolate; display: block; height: 100%; min-height: 300px; overflow: hidden; border-radius: var(--r); background: var(--crema-2); color: var(--tinta); text-decoration: none; }
.kk-tarjeta-foto img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.kk-tarjeta-foto:hover img { transform: scale(1.04); }
.kk-tarjeta-pie { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; padding: 16px 70px 16px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
.kk-tarjeta-n { font-family: var(--f-t); font-size: 1.375rem; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.kk-tarjeta-l { font-size: .9375rem; line-height: 1.4; color: var(--suave); }
.kk-tarjeta-ir { position: absolute; right: 28px; bottom: 28px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sol); color: var(--tinta); transition: transform .25s var(--ease-out); }
.kk-tarjeta-ir svg { width: 20px; height: 20px; }
.kk-tarjeta-foto:hover .kk-tarjeta-ir { transform: translateX(3px); }

/* ---------- Fila de productos ---------- */
.kk-fila-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.kk-fila-cab > div:first-child { display: grid; gap: 12px; max-width: 720px; }
.kk-fila-cab p { margin: 0; font-size: 1.125rem; color: var(--suave); }
.kk-fila-ctrl { display: none; gap: 10px; flex: none; }
.kk-fila { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 70vw, 280px); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--m), (100% - var(--ancho)) / 2); padding: 6px max(var(--m), (100% - var(--ancho)) / 2) 28px; scrollbar-width: none; }
.kk-fila::-webkit-scrollbar { display: none; }
.kk-fila-pie { margin-top: 4px; }
.kk-prod { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-m); background: #fff; color: var(--tinta); text-decoration: none; scroll-snap-align: start; box-shadow: var(--sombra-s); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.kk-prod:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.kk-prod-f { display: block; aspect-ratio: 1; overflow: hidden; background: #faf2e7; }
.kk-prod-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.kk-prod:hover .kk-prod-f img { transform: scale(1.04); }
.kk-prod-n { padding: 14px 16px 2px; font-family: var(--f-t); font-size: 1.125rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.kk-prod-p { padding: 2px 16px 16px; }
.kk-consultar { font-size: .875rem; font-weight: 700; color: var(--naranja); }

/* ---------- Para quién ---------- */
.kk-quien { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.kk-quien-i { display: grid; align-content: start; gap: 8px; height: 100%; padding: 26px 24px 28px; border-radius: var(--r); color: var(--tinta); text-decoration: none; transition: transform .3s var(--ease-out); }
.kk-quien-i:hover { transform: translateY(-3px); }
.kk-quien-ico svg { width: 40px; height: 40px; stroke-width: 1.5; }
.kk-quien-n { margin-top: 18px; font-family: var(--f-t); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.kk-quien-l { color: var(--suave); line-height: 1.5; }
.kk-tinte-azul { background: var(--azul-claro); }
.kk-tinte-azul .kk-quien-ico { color: var(--azul); }
.kk-tinte-turquesa { background: var(--turquesa-claro); }
.kk-tinte-turquesa .kk-quien-ico { color: var(--turquesa); }
.kk-tinte-amarillo { background: var(--amarillo-claro); }
.kk-tinte-amarillo .kk-quien-ico { color: #9a6a00; }
.kk-tinte-naranja { background: var(--naranja-claro); }
.kk-tinte-naranja .kk-quien-ico { color: var(--naranja); }

/* ---------- Así se encarga ---------- */
.kk-pasos-l { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.kk-paso { padding: 24px 22px 26px; border-radius: var(--r-m); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.kk-paso-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sol); color: var(--tinta); font-family: var(--f-t); font-size: 1.25rem; font-weight: 800; }
.kk-paso-t { margin: 18px 0 8px; font-size: 1.375rem; line-height: 1.1; letter-spacing: -.025em; }
.kk-paso p { color: rgba(255, 255, 255, .82); line-height: 1.5; }

/* ---------- Hecho en Arafo ---------- */
.kk-hecho-caja { position: relative; display: grid; min-height: clamp(460px, 42vw, 540px); overflow: hidden; border-radius: calc(var(--r) + 8px); background: var(--azul-osc); }
.kk-hecho-foto { position: absolute; inset: 0; margin: 0; }
.kk-hecho-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.kk-hecho-nota { position: relative; z-index: 2; align-self: end; display: grid; gap: 14px; justify-items: start; max-width: 440px; margin: clamp(12px, 2.5vw, 28px); padding: clamp(22px, 2.5vw, 30px); border-radius: var(--r); background: rgba(255, 252, 247, .88); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.kk-hecho-nota p { color: var(--suave); }
.kk-hecho-mapa { position: absolute; z-index: 2; top: clamp(12px, 2.5vw, 28px); right: clamp(12px, 2.5vw, 28px); width: clamp(120px, 14vw, 190px); padding: 14px 14px 10px; border-radius: var(--r-m); background: rgba(255, 252, 247, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--azul); }
.kk-mapa { width: 100%; height: auto; }
.kk-mapa-punto { fill: var(--sol); stroke: #fff; stroke-width: 4; }
.kk-mapa-t { fill: var(--tinta); font-family: var(--f-t); font-size: 44px; font-weight: 800; paint-order: stroke; stroke: rgba(255, 252, 247, .9); stroke-width: 10px; stroke-linejoin: round; }

/* ---------- Texto largo y ficha del taller ---------- */
.kk-texto-rej { display: grid; gap: 32px; }
.kk-texto { max-width: 70ch; }
.kk-texto > * + * { margin-top: 1em; }
.kk-texto h2 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.06; letter-spacing: -.035em; }
.kk-texto h2:not(:first-child) { margin-top: 1.6em; }
.kk-texto h3 { margin-top: 1.4em; font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; }
.kk-texto p, .kk-texto li { line-height: 1.7; }
.kk-texto a { color: var(--azul); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.kk-texto ul, .kk-texto ol { padding-left: 1.2em; }
.kk-texto li + li { margin-top: .4em; }
.kk-texto li::marker { color: var(--sol); }
.kk-texto--2col { max-width: none; columns: 2 340px; column-gap: 56px; }
.kk-texto--2col > * { break-inside: avoid; }
.kk-texto--2col h2 { break-after: avoid; }
.kk-texto--legal { max-width: 75ch; }
.kk-texto--legal h2 { font-size: 1.5rem; }
.kk-tabla { overflow-x: auto; }
.kk-tabla table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.kk-tabla th, .kk-tabla td { padding: 10px 12px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.kk-ficha-taller { display: grid; gap: 18px; align-content: start; padding: 28px; border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); }
.kk-ficha-taller > p:not(.kk-h3) { color: var(--suave); }
.kk-logo--ficha .kk-logo-k { width: 54px; }
.kk-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 18px 0; border-block: 1px solid var(--linea); }
.kk-datos dt { font-size: .8125rem; color: var(--suave); }
.kk-datos dd { font-weight: 700; line-height: 1.3; }

/* ---------- Tarjeta de contacto (antes del pie) ---------- */
.kk-tarjeta-contacto { position: relative; isolation: isolate; display: grid; gap: 32px; overflow: hidden; padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--r) + 8px); background: var(--azul); color: #fff; }
.kk-tarjeta-contacto::before { content: ""; position: absolute; z-index: -1; top: -150px; right: -110px; width: 320px; aspect-ratio: 1; border-radius: 50%; background: var(--sol); }
.kk-tc-txt { display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.kk-tc-txt p { color: rgba(255, 255, 255, .86); font-size: 1.125rem; }
.kk-tc-txt .kk-botones { margin-top: 8px; }
.kk-tc-vias { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; align-self: end; }
.kk-tc-vias a { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: var(--r-m); background: #fff; color: var(--tinta); font-weight: 700; line-height: 1.3; text-decoration: none; overflow-wrap: break-word; box-shadow: 0 12px 26px -18px rgba(0, 20, 40, .7); transition: background-color .2s, transform .25s var(--ease-out); }
.kk-tc-vias a:hover { background: var(--crema); transform: translateY(-2px); }
.kk-tc-vias a > span:last-child { min-width: 0; }
.kk-tc-vias small { display: block; font-size: .8125rem; font-weight: 500; color: var(--suave); }
.kk-tc-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--azul-claro); color: var(--azul); }
.kk-tc-ico svg { width: 22px; height: 22px; }

/* ---------- Pie ---------- */
.kk-pie { padding: clamp(48px, 6vw, 80px) 0 28px; background: var(--tinta); color: rgba(255, 255, 255, .82); font-size: .9875rem; }
.kk-pie a { color: #fff; text-decoration: none; }
.kk-pie a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kk-pie-rej { display: grid; gap: 36px; }
.kk-pie-marca { display: grid; gap: 16px; align-content: start; max-width: 360px; }
.kk-logo--pie .kk-logo-k { width: 58px; padding: 6px; border-radius: 16px; background: #fff; }
.kk-logo--pie .kk-logo-t small { color: rgba(255, 255, 255, .7); }
.kk-pie-t { margin-bottom: 14px; font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.kk-pie ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kk-pie-bajo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: rgba(255, 255, 255, .64); }
.kk-pie-bajo ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* ---------- Páginas de servicio ---------- */
.kk-serv-cab { padding: clamp(16px, 3vw, 36px) 0 clamp(40px, 5vw, 72px); overflow: clip; }
.kk-serv-rej { display: grid; gap: 44px; align-items: center; }
.kk-serv-txt { display: grid; gap: 22px; justify-items: start; container-type: inline-size; }
.kk-serv-txt .kk-h1 { width: 100%; }
.kk-serv-fotos { position: relative; padding-bottom: 14%; }
.kk-serv-foto { position: relative; z-index: 1; width: 84%; margin: 0 0 0 auto; overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: var(--r); background: var(--crema); box-shadow: var(--sombra); }
.kk-serv-foto img, .kk-serv-foto2 img { width: 100%; height: 100%; object-fit: cover; }
.kk-serv-foto2 { position: absolute; z-index: 2; left: 0; bottom: 0; width: 54%; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border: 6px solid var(--fondo); border-radius: calc(var(--r-m) + 6px); background: var(--crema); box-shadow: var(--sombra); }

/* ---------- Cabeceras sencillas (contacto, catálogo, legales) ---------- */
.kk-cabecera { padding: clamp(24px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); }
.kk-cabecera .kk-ancho { display: grid; gap: 20px; justify-items: start; container-type: inline-size; }
.kk-cabecera .kk-h1 { width: 100%; }
.kk-cabecera--s { padding-bottom: 24px; }

/* ---------- Contacto ---------- */
.kk-contacto-rej { display: grid; gap: 28px; align-items: start; }
.kk-vias { display: grid; gap: 12px; grid-template-columns: 1fr; }
.kk-via { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px 16px 14px; border-radius: var(--r-m); background: #fff; color: var(--tinta); text-decoration: none; box-shadow: var(--sombra-s); transition: transform .25s var(--ease-out); }
.kk-via:hover { transform: translateY(-2px); }
.kk-via > span:last-child { min-width: 0; }
.kk-via-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--crema); color: var(--azul); }
.kk-via-ico svg { width: 22px; height: 22px; }
.kk-via-t { display: block; font-size: .8125rem; color: var(--suave); }
.kk-via-v { display: block; font-family: var(--f-t); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.kk-via-v--s { font-family: var(--f); font-size: 1rem; font-weight: 700; letter-spacing: 0; overflow-wrap: break-word; }
.kk-via--wa { background: var(--wa); color: #fff; }
.kk-via--wa .kk-via-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.kk-via--wa .kk-via-t { color: rgba(255, 255, 255, .92); }
.kk-contacto-foto { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); }
.kk-contacto-foto img { width: 100%; height: 100%; object-fit: cover; }
.kk-form-caja { padding: clamp(22px, 3.5vw, 40px); border-radius: calc(var(--r) + 4px); background: #fff; box-shadow: var(--sombra); }
.kk-form-intro { margin: 8px 0 22px; color: var(--suave); }

/* ---------- Formularios ---------- */
.kk-form { position: relative; }
.kk-campos { display: grid; gap: 16px; grid-template-columns: 1fr; }
.kk-campo { display: grid; gap: 6px; }
.kk-campo label { font-size: .9375rem; font-weight: 600; }
.kk-campo label span { font-weight: 400; color: var(--suave); }
.kk-campo input[type="text"], .kk-campo input[type="email"], .kk-campo input[type="tel"], .kk-campo select, .kk-campo textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--linea-2); border-radius: 14px; background: var(--fondo); color: var(--tinta); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.kk-campo select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--fondo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2328' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.kk-campo textarea { min-height: 128px; resize: vertical; }
.kk-campo input:focus, .kk-campo select:focus, .kk-campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(0, 96, 156, .16); }
.kk-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: .9375rem; color: var(--suave); }
.kk-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--azul); }
.kk-check a { color: var(--azul); }
.kk-form .kk-btn { width: 100%; }
.kk-aviso { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.kk-aviso--ok { background: var(--wa-claro); color: #0b5a2e; }
.kk-aviso--ko { background: var(--amarillo-claro); color: #5c3d00; }
.kk-aviso a { color: inherit; }
.kk-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Catálogo y ficha ---------- */
.kk-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.kk-filtros a { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea-2); color: var(--tinta); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.kk-filtros a:hover { background: var(--crema); }
.kk-filtros a[aria-current="page"] { background: var(--tinta); color: #fff; box-shadow: none; }
.kk-prods { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kk-vacio { padding: 28px; border-radius: var(--r); background: var(--crema); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea-2); color: var(--tinta); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--tinta); color: #fff; box-shadow: none; }
.kk-ficha { padding-top: clamp(16px, 3vw, 36px); }
.kk-ficha .kk-migas { margin-bottom: 22px; }
.kk-ficha-rej { display: grid; gap: 32px; }
.kk-ficha-fotos { display: grid; gap: 12px; }
.kk-ficha-foto { margin: 0; overflow: hidden; border-radius: var(--r); background: #faf2e7; }
.kk-ficha-foto img { width: 100%; }
.kk-ficha-txt { display: grid; gap: 18px; align-content: start; }
.kk-ficha-precio .kk-consultar { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--naranja-claro); color: #9a470c; }
.kk-ficha-datos { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linea); list-style: none; }
.kk-ficha-datos li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.kk-ficha-datos svg { width: 20px; height: 20px; color: var(--wa); flex: none; }

/* ---------- WhatsApp con preguntas ---------- */
.kk-wa { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.kk-wa > * { pointer-events: auto; }
.kk-wa-boton { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 26px -10px rgba(15, 122, 62, .75); transition: transform .25s var(--ease-out), background-color .2s; }
.kk-wa-boton svg { width: 30px; height: 30px; }
.kk-wa-boton:hover { background: var(--wa-2); transform: scale(1.05); }
.kk-wa-panel { width: min(360px, calc(100vw - 32px)); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 28px 60px -24px rgba(20, 30, 40, .5), 0 0 0 1px rgba(30, 35, 40, .06); transform-origin: 100% 100%; animation: kk-wa-in .24s var(--ease-out); }
.kk-wa-panel[hidden] { display: none; }
.kk-wa-cab { display: flex; align-items: flex-start; gap: 12px; padding: 18px 12px 16px 18px; background: var(--wa); color: #fff; }
.kk-wa-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.kk-wa-ico svg { width: 22px; height: 22px; }
.kk-wa-t { font-family: var(--f-t); font-size: 1.1875rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.kk-wa-s { margin-top: 3px; font-size: .875rem; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.kk-wa-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.kk-wa-x:hover { background: rgba(255, 255, 255, .16); }
.kk-wa-x svg { width: 20px; height: 20px; }
.kk-wa-lista { display: grid; gap: 6px; margin: 0; padding: 12px; list-style: none; }
.kk-wa-lista a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: var(--wa-claro); color: #0b4f2a; font-size: .9875rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color .15s; }
.kk-wa-lista a:hover { background: #cfe9d9; }
.kk-wa-lista svg { width: 18px; height: 18px; flex: none; }
.kk-wa-lista .kk-wa-otra { background: var(--crema); color: var(--tinta); }
.kk-wa-lista .kk-wa-otra:hover { background: var(--crema-2); }
.kk-wa-pie { padding: 0 18px 14px; font-size: .8125rem; color: var(--suave); }
.kk-wa-aviso { display: flex; align-items: center; gap: 2px; max-width: min(290px, calc(100vw - 32px)); padding: 4px 4px 4px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sombra); animation: kk-wa-in .3s var(--ease-out); }
.kk-wa-aviso[hidden] { display: none; }
.kk-wa-aviso button { border: 0; background: none; cursor: pointer; }
.kk-wa-aviso button:first-child { padding: 10px 0; color: var(--tinta); font-size: .9375rem; font-weight: 600; line-height: 1.3; text-align: left; }
.kk-wa-aviso-x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--suave); }
.kk-wa-aviso-x svg { width: 16px; height: 16px; }
body.kk-menu-abierto .kk-wa { display: none; }
@keyframes kk-wa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ---------- Movimiento ---------- */
@keyframes kk-sube { from { opacity: 0; transform: translateY(18px); } }
@keyframes kk-entra { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@keyframes kk-tinta { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kk-late { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.5); opacity: 0; } }
.js .kk-sube { animation: kk-sube .8s var(--ease-out) both; }
.js .kk-sube:nth-child(2) { animation-delay: .07s; }
.js .kk-sube:nth-child(3) { animation-delay: .14s; }
.js .kk-sube:nth-child(4) { animation-delay: .21s; }
.js .kk-sube:nth-child(5) { animation-delay: .28s; }
.js .kk-sube:nth-child(6) { animation-delay: .35s; }
.js .kk-entra { animation: kk-entra 1s var(--ease-out) both; }
.js .kk-col--a, .js .kk-serv-foto { animation-delay: .12s; }
.js .kk-col--b, .js .kk-serv-foto2 { animation-delay: .26s; }
.js .kk-col--c { animation-delay: .4s; }
.js .kk-subraya::after { animation: kk-tinta .9s .55s var(--ease-out) both; }
.kk-punto::after { animation: kk-late 2.4s ease-in-out infinite; }
.js .kk-aparece { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.js .kk-aparece.is-dentro { opacity: 1; transform: none; }

/* ---------- Tamaños ---------- */
@media (max-width: 599px) {
	.kk-solo-ancho { display: none; }
	.kk-solo-movil { display: inline; }
	.kk-cab { gap: 10px; }
	.kk-logo-k { width: 40px; }
	.kk-logo-t b { font-size: 1.0625rem; }
	.kk-logo-t small { font-size: .75rem; }
	.kk-cab-cta { margin-left: auto; padding: 0 16px; }
	.kk-hero-txt .kk-botones .kk-btn { flex: 1 1 auto; }
	.kk-prueba-form .kk-btn { justify-self: stretch; padding-inline: 18px; }
	.kk-prueba-form .kk-btn svg { display: none; }
	.kk-serv-txt .kk-botones { width: 100%; }
	.kk-serv-txt .kk-botones .kk-btn { flex: 1 1 auto; }
	.kk-collage { grid-template-columns: 1fr 1fr; gap: 10px; }
	.kk-col--a { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 11; }
	.kk-col--b { grid-column: 1; grid-row: 2; align-self: stretch; aspect-ratio: 1; }
	.kk-col--c { grid-column: 2; grid-row: 2; margin-top: 0; aspect-ratio: 1; border: 0; }
	.kk-col .kk-vidrio, .kk-col--a .kk-vidrio, .kk-col--b .kk-vidrio { top: auto; bottom: 10px; left: 10px; max-width: calc(100% - 20px); padding: 6px 12px; font-size: .8125rem; }
	.kk-sol { top: -4%; right: -8%; width: 42%; }
	.kk-hecho-mapa { width: 104px; padding: 10px 10px 6px; }
	.kk-tarjeta-contacto::before { width: 240px; top: auto; bottom: -130px; right: -100px; }
	.kk-pie { padding-bottom: 96px; }
	.kk-tc-txt .kk-botones .kk-btn { flex: 1 1 auto; }
}
@media (max-width: 1099px) {
	.kk-nav { display: none; }
	.kk-menu-btn { display: grid; }
	.kk-cab-cta { margin-left: auto; }
}
@media (max-width: 359px) {
	.kk-cab { gap: 10px; }
}
@media (max-width: 339px) {
	.kk-logo-t { display: none; }
}
@media (min-width: 600px) {
	.kk-campos { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.kk-campo--ancho { grid-column: 1 / -1; }
	.kk-vias { grid-template-columns: 1fr 1fr; }
	.kk-via--wa, .kk-via--correo, .kk-vias .kk-contacto-foto { grid-column: 1 / -1; }
	.kk-quien { grid-template-columns: 1fr 1fr; }
	.kk-pasos-l { grid-template-columns: 1fr 1fr; }
	.kk-fila { grid-auto-columns: clamp(230px, 40vw, 280px); }
}
@media (min-width: 760px) {
	.kk-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
	.kk-bento--4 .kk-bento-i:first-child { grid-row: span 2; }
	.kk-bento--4 .kk-bento-i:nth-child(4) { grid-column: 1 / -1; }
	.kk-bento--3 .kk-bento-i:first-child { grid-row: span 2; }
	.kk-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
	.kk-pie-rej { grid-template-columns: 1.4fr 1fr 1fr; }
	.kk-fila-ctrl { display: flex; }
}
@media (min-width: 960px) {
	.kk-hero-rej { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); }
	.kk-prueba-caja { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr; grid-template-areas: "tee cab" "tee form"; row-gap: 24px; }
	.kk-prueba-cab { align-self: end; padding-top: clamp(16px, 2vw, 24px); }
	.kk-tee { padding-inline: 16px; }
	.kk-tee-lienzo { width: min(100%, 600px); }
	.kk-tarjeta-contacto { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
	.kk-serv-rej { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); }
	.kk-contacto-rej { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
	.kk-ficha-rej { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
	.kk-ficha-txt { position: sticky; top: calc(var(--cab) + 24px); }
}
@media (min-width: 1024px) {
	.kk-bento--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; }
	.kk-bento--4 .kk-bento-i:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
	.kk-bento--4 .kk-bento-i:nth-child(2) { grid-column: 3 / 5; }
	.kk-bento--4 .kk-bento-i:nth-child(4) { grid-column: auto; }
	.kk-bento--3 { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: 380px; }
	.kk-bento--3 .kk-bento-i:first-child { grid-row: auto; }
	.kk-quien { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.kk-texto-rej { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
	.kk-ficha-taller { position: sticky; top: calc(var(--cab) + 24px); }
	.kk-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.kk-pasos-l { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (hover: none) {
	.kk-btn:hover, .kk-redondo:hover, .kk-prod:hover, .kk-quien-i:hover, .kk-via:hover { transform: none; }
	.kk-tarjeta-foto:hover img, .kk-prod:hover .kk-prod-f img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .kk-aparece { opacity: 1; transform: none; }
}
@media print {
	.kk-cab, .kk-movil, .kk-wa, .kk-sec--pie, .kk-pie { display: none !important; }
}

/* ---------- Tienda: compra en la ficha, cesta, pago y cuenta (WooCommerce, sin sus estilos) ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; word-wrap: normal !important; }
.kk-campo-oculto { display: none !important; }

/* La cesta en la cabecera (el número sale de la cookie kk_cesta) */
.kk-cesta { position: relative; display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--crema); color: var(--tinta); text-decoration: none; transition: background-color .18s; }
.kk-cesta[hidden] { display: none; }
.kk-cesta svg { width: 22px; height: 22px; }
.kk-cesta:hover { background: var(--crema-2); }
.kk-cesta-n { position: absolute; top: -3px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--azul); color: #fff; font-size: .75rem; font-weight: 700; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px var(--fondo); }

/* Avisos */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; font-weight: 600; line-height: 1.45; list-style: none; }
.woocommerce-message { background: var(--wa-claro); color: #0b5a2e; }
.woocommerce-info { background: var(--azul-claro); color: var(--azul-osc); }
.woocommerce-error { display: grid; gap: 6px; background: var(--amarillo-claro); color: #5c3d00; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: inherit; text-underline-offset: 3px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }
.woocommerce-NoticeGroup .woocommerce-error { margin-bottom: 24px; }
.woocommerce .checkout-message { margin: 0 0 20px !important; padding: 14px 18px !important; border: 0 !important; border-radius: 16px !important; background: var(--amarillo-claro) !important; color: #5c3d00 !important; font-size: .9375rem !important; font-weight: 600; line-height: 1.45; }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .woocommerce-NoticeGroup:focus, .wc-block-components-notice-banner:focus { outline: none; }

/* Botones de WooCommerce con la forma de los del tema */
.woocommerce .button, #place_order { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea-2); font-family: var(--f); font-size: 1rem; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none; transition: background-color .18s var(--ease), transform .18s var(--ease-out); }
.woocommerce .button:hover { background: var(--crema); }
.woocommerce .button.alt, .woocommerce .checkout-button, .woocommerce .return-to-shop .button, #place_order { min-height: 58px; padding: 0 28px; background: var(--sol); color: var(--tinta); box-shadow: 0 10px 22px -12px rgba(200, 98, 10, .75); font-size: 1.0625rem; }
.woocommerce .button.alt:hover, .woocommerce .checkout-button:hover, .woocommerce .return-to-shop .button:hover, #place_order:hover { background: var(--sol-2); transform: translateY(-1px); }
.woocommerce .button:active, #place_order:active { transform: translateY(0) scale(.98); }
.woocommerce .button:disabled, .woocommerce .button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.woocommerce-message .button { min-height: 42px; background: #fff; box-shadow: none; }

/* Campos */
.woocommerce form .form-row { display: grid; gap: 6px; grid-column: 1 / -1; margin: 0; }
.woocommerce form .form-row label { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.woocommerce form .form-row .required { color: var(--naranja); font-weight: 700; text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { font-weight: 400; color: var(--suave); }
.woocommerce-input-wrapper { display: grid; gap: 6px; }
.woocommerce form .input-text:not(.qty), .woocommerce form select, .woocommerce form textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--linea-2); border-radius: 14px; background: var(--fondo); color: var(--tinta); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.woocommerce form textarea { min-height: 112px; resize: vertical; }
.woocommerce form .input-text:focus, .woocommerce form select:focus, .woocommerce form textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(0, 96, 156, .16); }
.woocommerce form ::placeholder { color: #737a82; opacity: 1; }
.woocommerce-input-wrapper .description { display: none; font-size: .875rem; line-height: 1.45; color: var(--suave); }
.woocommerce form .woocommerce-invalid .input-text, .woocommerce form .woocommerce-invalid select { border-color: #b3261e; }
.checkout-inline-error-message { margin: 0; font-size: .875rem; font-weight: 600; color: #b3261e; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; font-weight: 600; line-height: 1.45; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--azul); }
.password-input { position: relative; display: block; }
.password-input .input-text { padding-right: 52px !important; }
.show-password-input { position: absolute; top: 50%; right: 6px; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23545b63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 22px no-repeat; cursor: pointer; }
.show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23545b63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E"); }

/* Cantidad: − 1 + (el script pone los botones; sin él queda el campo normal) */
.quantity { display: inline-flex; align-items: center; flex: none; }
.quantity .qty { width: 80px; min-height: 48px; padding: 0 8px; border: 1.5px solid var(--linea-2); border-radius: 999px; background: #fff; color: var(--tinta); font-size: 16px; font-weight: 700; text-align: center; }
.quantity.kk-cant { border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea-2); }
.quantity.kk-cant .qty { width: 2.8em; padding: 0; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.quantity.kk-cant .qty::-webkit-outer-spin-button, .quantity.kk-cant .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity.kk-cant .qty:focus { outline: none; }
.quantity.kk-cant:focus-within { box-shadow: inset 0 0 0 2px var(--azul), 0 0 0 4px rgba(0, 96, 156, .16); }
.kk-cant-btn { display: grid; place-items: center; width: 46px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--tinta); cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background-color .15s; }
.kk-cant-btn svg { width: 18px; height: 18px; }
.kk-cant-btn:hover { background: var(--crema); }
.kk-cant-btn:active { background: var(--crema-2); }

/* Ficha: precio, «¿Qué le ponemos?», cantidad y «Añadir a la cesta» */
.kk-ficha-precio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.kk-ficha-precio .amount { font-family: var(--f-t); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.625rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.kk-precio-ejemplo { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--amarillo-claro); color: #5c3d00; font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.kk-compra { display: grid; gap: 18px; padding: clamp(18px, 2.5vw, 24px); border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); }
.kk-compra .kk-campo textarea { min-height: 96px; }
.kk-compra-nota { font-size: .875rem; line-height: 1.5; color: var(--suave); }
.kk-compra-fila { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.kk-compra-fila .quantity { min-height: 56px; }
.kk-compra-btn { flex: 1 1 220px; }
.kk-ficha-mas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.kk-ficha-presu { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: var(--azul); font-weight: 700; text-decoration: none; }
.kk-ficha-presu svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.kk-ficha-presu:hover { text-decoration: underline; text-underline-offset: 3px; }
.kk-ficha-presu:hover svg { transform: translateX(3px); }
.kk-prod-p .amount { font-weight: 700; }

/* Cabecera de la cesta y del pago: título y pasos */
.kk-tramite-cab .kk-ancho { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.kk-pasos-compra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--suave); }
.kk-pasos-compra li { display: inline-flex; align-items: center; gap: 8px; }
.kk-pasos-compra li + li::before { content: ""; width: 22px; height: 1.5px; margin-right: 2px; background: var(--linea-2); }
.kk-pasos-compra span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea-2); font-size: .875rem; }
.kk-pasos-compra svg { width: 16px; height: 16px; }
.kk-pasos-compra .is-actual { color: var(--tinta); }
.kk-pasos-compra .is-actual span { background: var(--azul); color: #fff; box-shadow: none; }
.kk-pasos-compra .is-hecho span { background: var(--wa-claro); color: var(--wa); box-shadow: none; }

/* Cesta */
.woocommerce-cart-form .shop_table, .woocommerce-cart-form tbody { display: block; width: 100%; }
.woocommerce-cart-form thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce-cart-form tr.cart_item { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "foto nombre quitar" "foto precio precio" "cant cant total"; align-items: center; gap: 6px 16px; margin-bottom: 12px; padding: 16px; border-radius: var(--r-m); background: #fff; box-shadow: var(--sombra-s); }
.woocommerce-cart-form tr.cart_item td { display: block; min-width: 0; padding: 0; }
.woocommerce-cart-form td.product-remove { grid-area: quitar; align-self: start; margin: -8px -8px 0 0; }
.woocommerce-cart-form td.product-thumbnail { grid-area: foto; align-self: start; }
.woocommerce-cart-form td.product-thumbnail a { display: block; }
.woocommerce-cart-form td.product-thumbnail img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--crema); }
.woocommerce-cart-form td.product-name { grid-area: nombre; align-self: end; }
.woocommerce-cart-form td.product-name > a { color: var(--tinta); font-family: var(--f-t); font-size: 1.125rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-decoration: none; }
.woocommerce-cart-form td.product-name > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart-form td.product-price { grid-area: precio; align-self: start; font-size: .9375rem; color: var(--suave); }
.woocommerce-cart-form td.product-price::before { content: "La unidad: "; }
.woocommerce-cart-form td.product-quantity { grid-area: cant; margin-top: 8px; }
.woocommerce-cart-form td.product-subtotal { grid-area: total; margin-top: 8px; font-family: var(--f-t); font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; text-align: right; }
.woocommerce-cart-form a.remove { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--suave); font-size: 1.5rem; line-height: 1; text-decoration: none; transition: background-color .15s, color .15s; }
.woocommerce-cart-form a.remove:hover { background: var(--naranja-claro); color: var(--naranja); }
.woocommerce-cart-form tr:has(> td.actions) { display: block; }
.woocommerce-cart-form td.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 4px 0 0; }
.kk-cesta-auto .woocommerce-cart-form td.actions { display: none; }
dl.variation { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--suave); overflow-wrap: anywhere; }
dl.variation dt, dl.variation dd, dl.variation dd p { display: inline; margin: 0; }
dl.variation dt { font-weight: 600; }
.backorder_notification { margin: 4px 0 0; font-size: .875rem; color: var(--naranja); }

/* Total de la cesta y resumen del pedido */
.cart-collaterals .cart_totals, #order_review { padding: clamp(20px, 3vw, 28px); border-radius: var(--r); background: #fff; box-shadow: var(--sombra); }
.cart_totals > h2, .kk-resumen-t { margin-bottom: 6px; font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); line-height: 1.12; letter-spacing: -.025em; }
.cart_totals .shop_table, .cart_totals tbody, .woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
.woocommerce-checkout-review-order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cart_totals tr, .woocommerce-checkout-review-order-table tbody tr, .woocommerce-checkout-review-order-table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--linea); }
.cart_totals tbody tr:first-child, .woocommerce-checkout-review-order-table tbody tr:first-child { border-top: 0; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { display: block; padding: 0; font-weight: 600; text-align: left; }
.cart_totals td, .woocommerce-checkout-review-order-table td { text-align: right; }
.woocommerce-checkout-review-order-table td.product-name { flex: 1 1 auto; min-width: 0; text-align: left; }
.woocommerce-checkout-review-order-table td.product-total { flex: none; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 600; color: var(--suave); white-space: nowrap; }
.woocommerce-checkout-review-order-table dl.variation { font-weight: 400; }
.cart_totals tr.shipping, .woocommerce-checkout-review-order-table tr.shipping { display: block; }
tr.shipping > th { margin-bottom: 10px; }
tr.shipping > td { text-align: left; }
.cart_totals tr.order-total, .woocommerce-checkout-review-order-table tr.order-total { align-items: center; padding-top: 16px; border-top: 2px solid var(--tinta); }
tr.order-total th, tr.order-total td { font-family: var(--f-t); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
tr.order-total small { display: block; font-family: var(--f); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--suave); }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }

/* Formas de entrega */
.woocommerce-shipping-methods { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.woocommerce-shipping-methods li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--fondo); box-shadow: inset 0 0 0 1.5px var(--linea-2); text-align: left; transition: background-color .15s, box-shadow .15s; }
.woocommerce-shipping-methods li:has(input:checked) { background: var(--azul-claro); box-shadow: inset 0 0 0 2px var(--azul); }
.woocommerce-shipping-methods input[type="radio"] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--azul); }
.woocommerce-shipping-methods input[type="hidden"] + label { grid-column: 1 / -1; }
.woocommerce-shipping-methods label { font-weight: 600; line-height: 1.4; cursor: pointer; }
.woocommerce-shipping-methods label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.woocommerce-shipping-methods .amount, .kk-gratis { white-space: nowrap; }
.kk-envio-nota { grid-column: 2; margin-top: 2px; font-size: .875rem; font-weight: 400; line-height: 1.45; color: var(--suave); }
.woocommerce-shipping-destination { margin: 10px 0 0; font-size: .875rem; font-weight: 400; color: var(--suave); }
.woocommerce-shipping-destination strong { font-weight: 600; color: var(--tinta); }
.shipping-calculator-button { display: inline-block; margin-top: 4px; padding: 4px 0; color: var(--azul); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.shipping-calculator-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 10px; }
.shipping-calculator-form p { margin: 0; }
.shipping-calculator-form .input-text { min-height: 48px !important; }
.woocommerce .shipping-calculator-form .form-row { grid-column: 1; }
.shipping-calculator-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kk-envio-previo { display: grid; gap: 6px; font-weight: 400; text-align: left; }
.kk-envio-previo ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kk-envio-previo li { font-size: .9375rem; line-height: 1.45; }
.kk-envio-previo b { font-weight: 700; white-space: nowrap; }
.kk-envio-previo p { margin: 4px 0 0; font-size: .875rem; color: var(--suave); }
.kk-envio-previo ~ .woocommerce-shipping-calculator .shipping-calculator-button { display: none; }
.kk-envio-previo ~ .woocommerce-shipping-calculator .shipping-calculator-form { display: grid !important; margin-top: 4px; }
#calc_shipping_country_field { display: none !important; }
.kk-sin-envio { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--amarillo-claro); color: #5c3d00; font-size: .9375rem; font-weight: 400; line-height: 1.5; text-align: left; }
.kk-sin-envio a { color: inherit; font-weight: 700; }

/* Cesta vacía */
.wc-empty-cart-message .cart-empty { display: block; margin: 0; padding: clamp(32px, 6vw, 56px) 24px; border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); color: var(--tinta); font-family: var(--f-t); font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; text-align: center; }
.return-to-shop { margin: 18px 0 0; text-align: center; }

/* Finalizar la compra */
#order_review_heading { display: none; }
form.woocommerce-checkout { position: relative; }
#customer_details { display: grid; gap: 20px; }
#customer_details > .col-1, #customer_details > .col-2 { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); }
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #ship-to-different-address { margin: 0 0 18px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
#ship-to-different-address label { display: flex; align-items: center; gap: 12px; font-family: var(--f); font-size: 1rem; font-weight: 600; letter-spacing: 0; cursor: pointer; }
#ship-to-different-address input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--azul); }
.woocommerce-shipping-fields + .woocommerce-additional-fields { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--linea); }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.shipping_address { margin-bottom: 6px; }
.woocommerce form .form-row-first { grid-column: 1; }
.woocommerce form .form-row-last { grid-column: 2; }
#order_review { margin-top: 20px; }
#payment { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--linea); }
#payment .wc_payment_methods { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
#payment .wc_payment_method { padding: 14px 16px; border-radius: 14px; background: var(--fondo); box-shadow: inset 0 0 0 1.5px var(--linea-2); }
#payment .wc_payment_method:has(> input:checked) { background: var(--azul-claro); box-shadow: inset 0 0 0 2px var(--azul); }
#payment .wc_payment_method > input { width: 20px; height: 20px; margin: 0 10px 0 0; vertical-align: -4px; accent-color: var(--azul); }
#payment .wc_payment_method > label { font-weight: 700; cursor: pointer; }
#payment .wc_payment_method > label img { display: inline-block; width: auto; max-height: 26px; margin-left: 8px; vertical-align: middle; }
#payment .payment_box { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--suave); }
#payment .payment_box p { margin: 0; }
#payment .place-order { display: grid; gap: 14px; }
.kk-aviso-desist { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--amarillo-claro); color: #5c3d00; font-size: .875rem; line-height: 1.5; }
.woocommerce-terms-and-conditions-wrapper { display: grid; gap: 12px; }
.woocommerce-privacy-policy-text p { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--suave); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--azul); text-underline-offset: 2px; }
.woocommerce-terms-and-conditions { max-height: 320px; overflow: auto; padding: 18px 20px; border-radius: 14px; background: var(--crema); font-size: .9375rem; overscroll-behavior: contain; }
.woocommerce-terms-and-conditions.kk-texto--legal h2 { font-size: 1.125rem; }
#place_order { width: 100%; min-height: 60px; font-size: 1.125rem; }
.blockUI.blockOverlay { cursor: wait; }
.blockUI.blockOverlay::before { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 3px solid var(--azul-claro); border-top-color: var(--azul); border-radius: 50%; animation: kk-gira .8s linear infinite; }
@keyframes kk-gira { to { transform: rotate(360deg); } }

/* Pedido recibido */
.woocommerce-order { display: grid; gap: 20px; }
.woocommerce-thankyou-order-received { margin: 0; font-family: var(--f-t); font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 0; padding: 20px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); list-style: none; font-size: .875rem; color: var(--suave); }
.woocommerce-order-overview strong { display: block; margin-top: 2px; color: var(--tinta); font-size: 1.0625rem; overflow-wrap: anywhere; }
.kk-gracias { display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r); background: var(--azul-osc); color: #fff; }
.kk-gracias-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sol); color: var(--tinta); }
.kk-gracias-ico svg { width: 26px; height: 26px; }
.kk-gracias-txt { display: grid; gap: 12px; }
.kk-gracias-txt p { max-width: 62ch; color: rgba(255, 255, 255, .92); }
.kk-gracias-txt .kk-botones { margin-top: 6px; }
.kk-gracias .kk-btn--claro { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.kk-gracias .kk-btn--claro:hover { background: rgba(255, 255, 255, .1); }
.woocommerce-order-details, .woocommerce-customer-details { padding: clamp(20px, 3vw, 28px); border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details > h2 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 0; border-top: 1px solid var(--linea); font-weight: 600; text-align: left; vertical-align: top; }
.woocommerce-table--order-details tr > :last-child { padding-left: 16px; text-align: right; }
.woocommerce-table--order-details thead th { border-top: 0; font-size: .875rem; color: var(--suave); }
.woocommerce-table--order-details tfoot tr:last-child > * { font-family: var(--f-t); font-size: 1.25rem; font-weight: 800; }
.wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 400; color: var(--suave); overflow-wrap: anywhere; }
.wc-item-meta p { display: inline; margin: 0; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.woocommerce-customer-details address p { margin: 4px 0 0; }
.woocommerce-columns--addresses { display: grid; gap: 20px; }

/* Mi cuenta */
.woocommerce-account .kk-tramite .woocommerce { display: grid; gap: 24px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .woocommerce-EditAccountForm, .woocommerce-address-fields { display: grid; gap: 16px; max-width: 520px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: #fff; box-shadow: var(--sombra-s); }
.woocommerce-form-login__rememberme { font-weight: 600; }
.woocommerce-LostPassword a, .woocommerce-MyAccount-content a:not(.button) { color: var(--azul); }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea-2); color: var(--tinta); font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--azul); color: #fff; box-shadow: none; }
.woocommerce-orders-table { width: 100%; border-collapse: collapse; }
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: 10px 8px; border-top: 1px solid var(--linea); text-align: left; }

@media (max-width: 479px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.kk-cab.tiene-cesta .kk-cab-cta { display: none; }
	.kk-pasos-compra { font-size: .875rem; }
	.kk-pasos-compra li + li::before { width: 12px; }
}
@media (max-width: 1099px) {
	.kk-cab.tiene-cesta .kk-cesta { margin-left: auto; }
	.kk-cab.tiene-cesta .kk-cab-cta { margin-left: 0; }
}
@media (min-width: 600px) {
	.woocommerce-cart-form tr.cart_item { grid-template-columns: 104px minmax(0, 1fr) auto minmax(92px, auto) 40px; grid-template-areas: "foto nombre cant total quitar" "foto precio cant total quitar"; column-gap: 20px; padding: 18px 20px; }
	.woocommerce-cart-form td.product-quantity, .woocommerce-cart-form td.product-subtotal { align-self: center; margin-top: 0; }
	.woocommerce-cart-form td.product-remove { align-self: center; margin: 0; }
	.kk-gracias { grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
}
@media (min-width: 700px) {
	.woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 960px) {
	.kk-tramite .woocommerce:has(> .woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 36px; align-items: start; }
	.kk-tramite .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
	.kk-tramite .cart-collaterals { position: sticky; top: calc(var(--cab) + 24px); }
	form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 36px; align-items: start; }
	form.woocommerce-checkout > * { grid-column: 1 / -1; }
	form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 2; }
	form.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 2; margin-top: 0; }
}
