/* ==========================================================================
   Keluna · Propuesta 03 "Fresca y comercial"
   Mobile first. Puntos de quiebre: 768px (tablet) y 1024px / 1200px (escritorio).
   ========================================================================== */

/* ---- Fuentes auto-alojadas ---------------------------------------------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

/* ---- Tokens ---------------------------------------------------------------- */
:root {
	--k-white: #FFFFFF;
	--k-pink: #E8B4B8;
	--k-pink-light: #FBEFF0;
	--k-pink-soft: #F7E6E8;
	--k-pink-border: #F0D5D8;
	--k-rose: #9E3A51;          /* texto rosado oscuro: contraste AA sobre blanco y rosa claro */
	--k-black: #111111;
	--k-gold: #C9A86A;
	--k-text: #111111;
	--k-muted: #5B4F54;
	--k-line: #EADFE1;
	--k-stripe-a: #F3E7DA;
	--k-stripe-b: #EADBC8;
	--k-green: #128C3E;
	--k-error: #B42318;
	--k-success: #127A3A;

	--k-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--k-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

	--k-radius-sm: 10px;
	--k-radius: 16px;
	--k-radius-lg: 24px;
	--k-pill: 999px;
	--k-gutter: 16px;
	--k-max: 1280px;
	--k-header-h: 0px;
	--k-shadow: 0 10px 30px rgba(17, 17, 17, .08);
	--k-focus: 0 0 0 3px var(--k-white), 0 0 0 5px var(--k-black);
}
@media (min-width: 768px) { :root { --k-gutter: 24px; } }
@media (min-width: 1200px) { :root { --k-gutter: 40px; } }

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--k-sans); font-size: 15px; line-height: 1.6; color: var(--k-text); background: var(--k-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--k-black); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--k-black); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.k-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--k-black); color: var(--k-white); padding: 10px 16px; border-radius: var(--k-pill); font-weight: 700; text-decoration: none; }
.k-skip:focus { top: 12px; }
.k-main { display: block; min-height: 50vh; }
.k-main:focus { outline: none; }

.k-container { width: 100%; max-width: calc(var(--k-max) + var(--k-gutter) * 2); margin-inline: auto; padding-inline: var(--k-gutter); }
.k-container--narrow { max-width: calc(860px + var(--k-gutter) * 2); }
.k-icon { flex: none; display: inline-block; vertical-align: middle; }

/* ---- Tipografía de marca ------------------------------------------------- */
.k-title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.k-title--sm { font-size: 1.25rem; }
.k-title--md { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.k-title--lg { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.75rem); }
.k-title--center { text-align: center; }
.k-accent { font-family: var(--k-serif); font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 1.12em; line-height: 1; }

/* ---- Botones píldora -------------------------------------------------- */
.k-btn, .button, button.button, a.button, input.button, .checkout-button, #place_order, .woocommerce-Button, .woocommerce-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 24px; border-radius: var(--k-pill); border: 1.5px solid var(--k-black);
	background: var(--k-black); color: var(--k-white); font-weight: 700; font-size: 14px; line-height: 1.2;
	text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.k-btn:hover, .button:hover, .checkout-button:hover, #place_order:hover { background: #2a2a2a; color: var(--k-white); }
.k-btn:active { transform: translateY(1px); }
.k-btn:focus-visible, .button:focus-visible, #place_order:focus-visible { outline: none; box-shadow: var(--k-focus); }
.k-btn--light { background: var(--k-white); color: var(--k-black); border-color: var(--k-white); }
.k-btn--light:hover { background: var(--k-pink-light); color: var(--k-black); }
.k-pink-bg .k-btn--light, .k-cart .k-btn--light, .k-filters .k-btn--light, .k-404 .k-btn--light, .k-empty .k-btn--light { border-color: var(--k-black); }
.k-btn--outline { background: transparent; color: var(--k-black); }
.k-btn--outline:hover { background: var(--k-pink-light); color: var(--k-black); }
.k-btn--lg { min-height: 54px; padding: 14px 30px; font-size: 15px; }
.k-btn--block { width: 100%; }
.k-btn[disabled], .k-btn.is-disabled, .button.disabled, .button:disabled { opacity: .45; cursor: not-allowed; }
.k-btn.is-loading { opacity: .7; pointer-events: none; }

.k-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--k-pill); border: 1px solid var(--k-line); background: var(--k-white); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--k-black); }
.k-chip--white { border-color: transparent; font-size: 12px; font-weight: 700; padding: 6px 12px; }
.k-chip.is-active { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
.k-chip--removable { background: var(--k-pink-light); border-color: var(--k-pink-border); }
.k-more { font-size: 13px; font-weight: 700; color: var(--k-black); text-decoration: underline; text-decoration-thickness: 1.5px; white-space: nowrap; }

/* ---- Barra de anuncio y header ------------------------------------------ */
.k-announce { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--k-black); color: var(--k-white); font-size: 12px; font-weight: 700; padding: 8px var(--k-gutter); text-align: center; }

.k-header { position: relative; z-index: 50; background: var(--k-white); border-bottom: 1px solid var(--k-line); }
.admin-bar .k-header { top: 0; }
@media (min-width: 783px) { .admin-bar .k-header { top: 32px; } }
.k-header__main { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "burger logo actions" "search search search"; align-items: center; gap: 10px 8px; padding-block: 10px; }
.k-header__burger { grid-area: burger; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; padding: 0; }
.k-header__logo { grid-area: logo; justify-self: center; text-decoration: none; }
.k-header__actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.k-search { grid-area: search; }

.k-logo { display: inline-flex; align-items: center; gap: 8px; }
.k-logo__mark svg { width: 34px; height: 34px; display: block; }
.k-logo__text { display: flex; flex-direction: column; line-height: 1; }
.k-logo__name { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.k-logo__tag { display: none; font-family: var(--k-serif); font-style: italic; font-size: 14px; color: var(--k-muted); margin-top: 2px; }

.k-search { position: relative; display: flex; align-items: center; background: var(--k-pink-light); border: 1px solid var(--k-pink-border); border-radius: var(--k-pill); height: 46px; padding: 0 5px 0 16px; }
.k-search > .k-icon { color: var(--k-muted); }
.k-search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 10px; font-size: 14px; }
.k-search__input::placeholder { color: #75686d; }
.k-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.k-search__btn { display: none; height: 36px; padding: 0 18px; border: 0; border-radius: var(--k-pill); background: var(--k-black); color: var(--k-white); font-weight: 700; font-size: 13px; }
.k-search:focus-within { box-shadow: var(--k-focus); }

.k-header__account { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; padding: 8px; }
.k-cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; border-radius: var(--k-pill); background: var(--k-pink); color: var(--k-black); text-decoration: none; font-weight: 700; font-size: 13px; }
.k-cart-btn:hover { background: #e2a5aa; }
.k-cart-btn__label { display: none; }
.k-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: var(--k-pill); background: var(--k-black); color: var(--k-white); font-size: 12px; font-weight: 800; }
.k-cart-count.is-bump { animation: k-bump .5s ease; }
@keyframes k-bump { 40% { transform: scale(1.3); } }

.k-header__nav { border-top: 1px solid transparent; }
.k-header__nav-inner { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; }
.k-catnav { flex: 1; min-width: 0; }
.k-catnav__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.k-catnav__list::-webkit-scrollbar { display: none; }
.k-catnav__list a { display: inline-flex; padding: 8px 16px; border-radius: var(--k-pill); border: 1px solid var(--k-line); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.k-catnav__list .current-menu-item > a, .k-catnav__list .current-product_cat-ancestor > a { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
.k-promo { display: none; flex: none; padding: 7px 16px; border-radius: var(--k-pill); background: var(--k-pink-light); color: var(--k-rose); font-weight: 700; font-size: 13px; text-decoration: none; }

@media (min-width: 768px) {
	.k-logo__tag { display: block; }
	.k-cart-btn__label { display: inline; }
	.k-header__account { display: inline-flex; }
}
@media (min-width: 1024px) {
	.k-header { position: sticky; top: 0; }
	.k-header__main { grid-template-columns: auto minmax(320px, 560px) auto; grid-template-areas: "logo search actions"; justify-content: space-between; gap: 24px; padding-block: 16px; }
	.k-header__burger { display: none; }
	.k-header__logo { justify-self: start; }
	.k-logo__mark svg { width: 40px; height: 40px; }
	.k-logo__name { font-size: 22px; }
	.k-search { height: 48px; }
	.k-search__btn { display: inline-block; }
	.k-header__actions { gap: 14px; }
	.k-cart-btn { padding: 0 6px 0 16px; }
	.k-header__nav-inner { padding-bottom: 12px; }
	.k-catnav__list { gap: 6px; overflow: visible; }
	.k-catnav__list a { border-color: transparent; padding: 6px 10px; font-weight: 500; }
	.k-catnav__list a:hover { background: var(--k-pink-light); }
	.k-promo { display: inline-flex; }
}

/* Menú lateral (móvil) */
.k-drawer { position: fixed; inset: 0; z-index: 200; }
.k-drawer[hidden] { display: none; }
.k-drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); }
.k-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--k-white); padding: 16px 20px 32px; overflow-y: auto; box-shadow: var(--k-shadow); animation: k-slide .2s ease; }
@keyframes k-slide { from { transform: translateX(-100%); } }
.k-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.k-drawer__close { width: 44px; height: 44px; border: 0; background: var(--k-pink-light); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.k-drawer__list { list-style: none; margin: 0 0 20px; padding: 0; }
.k-drawer__list a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--k-line); }
.k-drawer__list--small a { font-size: 14px; font-weight: 500; }
body.k-locked { overflow: hidden; }

/* ---- Placeholder de rayas ------------------------------------------------- */
.k-ph { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; min-height: 120px; padding: 12px;
	background: repeating-linear-gradient(135deg, var(--k-stripe-a) 0 18px, var(--k-stripe-b) 18px 36px); }
.k-ph__label { max-width: 90%; background: rgba(255, 255, 255, .92); color: #5a4a3e; font: 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 5px 10px; text-align: center; margin-bottom: 8%; }

/* ---- Secciones ---------------------------------------------------------- */
.k-section { padding-block: 40px; }
.k-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.k-section__head .k-title { margin: 0; }
@media (min-width: 1024px) { .k-section { padding-block: 64px; } .k-section__head { margin-bottom: 28px; } }

/* ---- Hero --------------------------------------------------------------- */
.k-hero { padding-top: 16px; }
.k-hero__inner { display: grid; border-radius: var(--k-radius-lg); overflow: hidden; background: var(--k-pink); }
.k-hero__media { position: relative; order: -1; aspect-ratio: 4 / 4.2; }
.k-hero__media .k-hero__img, .k-hero__media .k-ph { width: 100%; height: 100%; object-fit: cover; }
.k-hero__media .k-ph { align-items: flex-end; }
.k-hero__from { position: absolute; top: 16px; right: 16px; width: 92px; height: 92px; margin: 0; border-radius: 50%; background: var(--k-black); color: var(--k-white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; box-shadow: var(--k-shadow); }
.k-hero__from > span { font-size: 12px; font-weight: 600; }
.k-hero__from strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.k-hero__content { padding: 24px 20px 28px; }
.k-hero__title { font-size: clamp(2rem, 1.2rem + 4.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 14px; max-width: 6.8em; }
.k-hero__title .k-accent { font-weight: 500; font-size: 1.08em; }
.k-hero__text { font-size: 15px; font-weight: 500; max-width: 46ch; }
.k-hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 20px 0 16px; max-width: 360px; }
.k-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; font-weight: 600; }
.k-benefits li { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 560px) {
	.k-hero__actions { flex-direction: row; align-items: center; max-width: none; }
}
@media (min-width: 768px) {
	.k-hero__media { aspect-ratio: 16 / 10; }
	.k-hero__content { padding: 36px 40px 40px; }
}
@media (min-width: 1024px) {
	.k-hero { padding-top: 24px; }
	.k-hero__inner { grid-template-columns: 1fr 1fr; min-height: 560px; }
	.k-hero__media { order: 0; aspect-ratio: auto; }
	.k-hero__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 48px 56px 64px; }
	.k-hero__from { top: 24px; right: 24px; width: 112px; height: 112px; }
	.k-hero__from strong { font-size: 22px; }
	.k-hero__text { font-size: 17px; }
}

/* ---- Carruseles (móvil): la siguiente tarjeta asoma ----------------------- */
.k-scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; list-style: none; margin: 0 calc(var(--k-gutter) * -1); padding: 2px var(--k-gutter) 6px; scroll-padding-inline: var(--k-gutter); }
.k-scroller::-webkit-scrollbar { display: none; }
.k-scroller > * { scroll-snap-align: start; flex: none; }
.k-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.k-dots span { width: 6px; height: 6px; border-radius: var(--k-pill); background: #d9d0d2; transition: width .2s ease, background-color .2s ease; }
.k-dots span.is-active { width: 22px; background: var(--k-black); }

/* ---- Categorías ----------------------------------------------------------- */
.k-cats__item { width: 31%; min-width: 104px; }
.k-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; text-align: center; }
.k-cat__circle { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 4px; border: 3px solid var(--k-pink); background: var(--k-white); overflow: hidden; transition: transform .2s ease; }
.k-cat__circle img, .k-cat__circle .k-ph { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; min-height: 0; }
.k-cat__circle .k-ph__label { font-size: 9px; margin-bottom: 40%; }
.k-cat__name { font-weight: 700; font-size: 13px; }
.k-cat:hover .k-cat__circle { transform: translateY(-3px); }
@media (min-width: 768px) {
	.k-cats__list { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
	.k-cats__item { width: auto; }
	.k-cats .k-dots { display: none; }
	.k-cat__name { font-size: 15px; }
	.k-cat__circle { max-width: 200px; }
}

/* ---- Grilla y tarjetas de producto ------------------------------------------ */
.k-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .k-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1200px) { .k-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.k-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); padding: 8px; background: var(--k-white); transition: box-shadow .2s ease, transform .2s ease; }
.k-card:hover { box-shadow: var(--k-shadow); }
.k-card__media { display: block; aspect-ratio: 4 / 5; border-radius: var(--k-radius-sm); overflow: hidden; background: var(--k-stripe-a); }
.k-card__media img, .k-card__media .k-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.k-card:hover .k-card__media img { transform: scale(1.03); }
.k-card__body { display: flex; flex-direction: column; flex: 1; padding: 10px 4px 2px; }
.k-card__name { font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.35; margin: 0 0 4px; }
.k-card__name a { text-decoration: none; }
.k-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--k-radius); }
.k-card__price { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.k-card__price del { font-weight: 500; font-size: .8em; color: var(--k-muted); margin-right: 4px; }
.k-card__price ins { text-decoration: none; }
.k-card__action { margin-top: auto; position: relative; z-index: 2; }
.k-card__action .k-btn { min-height: 42px; padding: 10px 12px; font-size: 13px; }
@media (min-width: 768px) { .k-card { padding: 10px; } .k-card__name { font-size: 14px; } .k-card__price { font-size: 19px; } }

.k-badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 4px 10px; border-radius: var(--k-pill); font-size: 11px; font-weight: 800; line-height: 1.4; }
.k-badge--nuevo { background: var(--k-pink); color: var(--k-black); }
.k-badge--ultimas { background: var(--k-black); color: var(--k-white); }
.k-badge--agotado { background: var(--k-white); color: var(--k-black); border: 1px solid var(--k-black); }

.k-swatches { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; min-height: 24px; }
.k-swatch { width: 20px; height: 20px; border-radius: 50%; background: var(--sw, #ddd); border: 1px solid rgba(17, 17, 17, .25); }
.k-swatch.is-first { box-shadow: 0 0 0 2px var(--k-white), 0 0 0 3.5px var(--k-black); margin-right: 2px; }
.k-swatches__more { font-size: 11px; font-weight: 700; }
.k-swatches__name { font-size: 12px; color: var(--k-muted); margin-left: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Comprar es así de fácil ------------------------------------------------ */
.k-steps { background: var(--k-pink-light); }
.k-steps__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.k-step { display: flex; gap: 14px; align-items: flex-start; background: var(--k-white); border-radius: var(--k-radius); padding: 20px; }
.k-step__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--k-black); color: var(--k-white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.k-step__title { font-size: 16px; margin: 4px 0 4px; letter-spacing: -.01em; }
.k-step p { margin: 0; font-size: 13.5px; color: var(--k-muted); }
@media (min-width: 768px) { .k-steps__list { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; } .k-step { padding: 24px; } }

/* ---- Pago 100% seguro ------------------------------------------------------------ */
.k-pay { border: 1.5px solid var(--k-black); border-radius: var(--k-radius-lg); padding: 22px 18px; display: grid; gap: 20px; }
.k-pay__intro { display: flex; gap: 14px; align-items: flex-start; }
.k-pay__intro p { margin: 0; font-size: 13.5px; color: var(--k-muted); max-width: 40ch; }
.k-pay__intro .k-title { margin: 4px 0 6px; }
.k-pay__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--k-pink); display: inline-flex; align-items: center; justify-content: center; }
.k-pay__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.k-pay__item { background: var(--k-pink-light); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.k-pay__item strong { font-size: 13px; }
.k-pay__item span { font-size: 11.5px; color: var(--k-muted); }
@media (min-width: 1024px) { .k-pay { grid-template-columns: 1fr 1.25fr; align-items: center; padding: 40px 48px; max-width: 1080px; margin-inline: auto; } .k-pay__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Opiniones ------------------------------------------------------------------- */
.k-reviews__summary { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; }
.k-reviews__list > .k-review { width: 82%; max-width: 380px; }
.k-review figure { position: relative; margin: 0; height: 100%; background: var(--k-pink-light); border-radius: var(--k-radius); padding: 22px 20px 20px; display: flex; flex-direction: column; }
.k-review.is-example figure { padding-top: 44px; }
.k-review__example { position: absolute; top: 14px; right: 14px; background: var(--k-white); border: 1px dashed var(--k-rose); color: var(--k-rose); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: var(--k-pill); }
.k-stars { color: var(--k-black); letter-spacing: 2px; font-size: 13px; margin: 0 0 10px; }
.k-review__text { margin: 0 0 16px; font-size: 14px; }
.k-review__text p { margin: 0; }
.k-review__author { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.k-review__author strong { display: block; font-size: 13px; }
.k-review__author small { display: block; font-size: 11.5px; color: var(--k-muted); }
.k-review__avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; border: 2px solid var(--k-white); background: repeating-linear-gradient(135deg, var(--k-stripe-a) 0 5px, var(--k-stripe-b) 5px 10px); }
@media (min-width: 900px) {
	.k-reviews__list { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.k-reviews__list > .k-review { width: auto; max-width: none; }
	.k-reviews .k-dots { display: none; }
}

/* ---- Visítanos ---------------------------------------------------------------- */
.k-visit { display: grid; border-radius: var(--k-radius-lg); overflow: hidden; background: var(--k-pink); }
.k-visit__content { padding: 24px 20px; }
.k-visit__content .k-title { margin: 14px 0 10px; }
.k-visit__content > p { font-size: 14px; font-weight: 500; }
.k-visit__data { margin: 16px 0; display: grid; gap: 10px; }
.k-visit__card { background: var(--k-white); border-radius: 12px; padding: 12px 16px; }
.k-visit__card dt { font-size: 11px; font-weight: 700; color: var(--k-rose); }
.k-visit__card dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.k-visit__actions { display: grid; gap: 10px; }
.k-visit__map { min-height: 260px; background: repeating-linear-gradient(135deg, #f8eeee 0 18px, #f1e2e2 18px 36px); }
.k-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
.k-map-ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 260px; }
.k-map-ph__pin { color: var(--k-black); }
.k-map-ph__pin svg { fill: var(--k-black); stroke: var(--k-pink); }
@media (min-width: 768px) { .k-visit__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .k-visit { grid-template-columns: 1fr 1.1fr; } .k-visit__content { padding: 48px 48px 48px 56px; } .k-visit__map, .k-visit__map iframe { min-height: 100%; } }

/* ---- Preguntas frecuentes ---------------------------------------------------- */
.k-faq { display: grid; gap: 10px; margin-top: 20px; }
.k-faq__item { border: 1px solid var(--k-line); border-radius: 14px; background: var(--k-white); }
.k-faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; font-size: 14.5px; cursor: pointer; border-radius: 14px; }
.k-faq__q::-webkit-details-marker { display: none; }
.k-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--k-pink-light); }
.k-faq__icon::before, .k-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--k-black); transform: translate(-50%, -50%); border-radius: 2px; }
.k-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.k-faq__item[open] .k-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.k-faq__a { padding: 0 18px 16px; font-size: 13.5px; color: var(--k-muted); }
.k-faq__a p:last-child { margin: 0; }
.k-faq-section .k-faq { max-width: 720px; margin-inline: auto; }

/* ---- Footer -------------------------------------------------------------- */
.k-footer { background: var(--k-black); color: var(--k-white); padding: 0 0 28px; margin-top: 40px; }
.k-news { position: relative; top: -1px; background: var(--k-pink); color: var(--k-black); border-radius: var(--k-radius-lg); padding: 24px 20px; display: grid; gap: 16px; transform: translateY(24px); margin-top: -0px; }
.k-footer > .k-container { padding-top: 24px; }
.k-news__title { font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem); margin: 0 0 4px; }
.k-news__text p { margin: 0; font-size: 13.5px; font-weight: 500; }
.k-news__row { display: grid; gap: 10px; }
.k-news__row input { height: 48px; border-radius: var(--k-pill); border: 0; background: var(--k-white); padding: 0 20px; font-size: 14px; width: 100%; }
.k-news__row input:focus-visible { outline: none; box-shadow: var(--k-focus); }
.k-news__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; margin-top: 10px; }
.k-news__consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--k-black); }
.k-news__consent a { font-weight: 700; }
.k-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 64px 0 28px; }
.k-footer__title { color: var(--k-pink); font-size: 13px; font-weight: 800; letter-spacing: 0; margin: 0 0 12px; }
.k-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.k-footer__col a { color: var(--k-white); text-decoration: none; font-size: 13.5px; }
.k-footer__col a:hover { color: var(--k-pink); text-decoration: underline; }
.k-footer__muted { color: #bdb2b5; font-size: 13px; }
.k-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #2c2c2c; padding-top: 20px; font-size: 12px; color: #bdb2b5; }
.k-footer__brand { font-weight: 800; font-size: 18px; color: var(--k-white); letter-spacing: -.03em; }
.k-footer__brand .k-accent { font-size: 15px; font-weight: 500; color: #e9d9db; }
@media (min-width: 768px) {
	.k-news { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 28px 32px; }
	.k-news__row { grid-template-columns: 1fr auto; }
	.k-news__row .k-btn { padding-inline: 34px; }
	.k-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* WhatsApp flotante */
.k-wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; min-width: 52px; padding: 0 14px; border-radius: var(--k-pill); background: var(--k-green); color: var(--k-white); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(18, 140, 62, .35); }
.k-wa-float:hover { color: var(--k-white); background: #0f7a35; }
.k-wa-float__label { display: none; }
@media (min-width: 768px) { .k-wa-float { right: 24px; bottom: 24px; padding: 0 22px; } .k-wa-float__label { display: inline; } }
.single-product .k-wa-float, .woocommerce-checkout .k-wa-float { bottom: 88px; }
@media (min-width: 1024px) { .single-product .k-wa-float, .woocommerce-checkout .k-wa-float { bottom: 24px; } }

/* Aviso flotante (agregar al carrito) */
.k-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 14px; background: var(--k-black); color: var(--k-white); padding: 12px 14px 12px 20px; border-radius: var(--k-pill); font-size: 14px; font-weight: 600; box-shadow: var(--k-shadow); max-width: calc(100vw - 32px); }
.k-toast[hidden] { display: none; }
.k-toast a { color: var(--k-black); background: var(--k-pink); padding: 6px 14px; border-radius: var(--k-pill); text-decoration: none; font-weight: 700; white-space: nowrap; }

/* ---- Páginas y contenido --------------------------------------------------- */
.k-page { padding-block: 28px 48px; }
.k-page__head { margin-bottom: 20px; }
.k-prose { font-size: 15px; }
.k-prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.k-prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.k-prose a { font-weight: 600; }
.k-prose table:not(.shop_table) { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.k-prose table:not(.shop_table) th, .k-prose table:not(.shop_table) td { border: 1px solid var(--k-line); padding: 10px 12px; text-align: left; }
.k-prose table:not(.shop_table) th { background: var(--k-pink-light); }
.k-prose figure { margin: 0; overflow-x: auto; }
.k-pendiente { background: #FFF6E0; border: 1px solid #E8C877; border-left: 6px solid var(--k-gold); color: #5c4310; border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; font-size: 14px; }
.k-list { padding-left: 1.2em; }
.k-404 { text-align: center; padding-block: 64px; }
.k-404__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* "Pronto abrimos" (WooCommerce en modo Próximamente: lo ve el público) */
.k-soon-body { background: var(--k-pink-light); }
.k-soon { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px var(--k-gutter); }
.k-soon__card { width: 100%; max-width: 560px; text-align: center; background: var(--k-white); border: 1px solid var(--k-pink-border); border-radius: var(--k-radius-lg); padding: 40px 24px; box-shadow: var(--k-shadow); }
.k-soon__logo { display: flex; justify-content: center; margin: 0 0 28px; }
.k-soon__kicker { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: var(--k-pill); background: var(--k-pink-soft); color: var(--k-rose); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.k-soon__text { color: var(--k-muted); max-width: 42ch; margin-inline: auto; }
.k-soon__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.k-soon__actions .k-btn { gap: 8px; }
.k-soon .k-btn--light { border-color: var(--k-black); }
.k-soon__visit { display: flex; justify-content: center; align-items: flex-start; gap: 8px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--k-line); color: var(--k-muted); font-size: 14px; text-align: left; }
.k-soon__visit .k-icon { margin-top: 2px; color: var(--k-rose); }
@media (min-width: 768px) { .k-soon__card { padding: 56px 48px; } }

/* Formularios genéricos (contacto, cuenta, checkout) */
.k-contact-form, .woocommerce form .form-row, .woocommerce-form-row { margin: 0 0 14px; }
.k-row { margin: 0 0 14px; }
.k-row label, .woocommerce form .form-row label, .woocommerce-form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.k-row input, .k-row textarea, .input-text, .woocommerce form .form-row select, .woocommerce-input-wrapper select, .k-select, .k-filter__price input, #coupon_code {
	width: 100%; min-height: 48px; border: 1px solid #d9cfd2; border-radius: 12px; background: var(--k-white); padding: 10px 14px; font-size: 15px;
}
textarea.input-text, .k-row textarea { min-height: 110px; resize: vertical; }
.k-row input:focus-visible, .k-row textarea:focus-visible, .input-text:focus-visible, select:focus-visible, .k-select:focus-visible, #coupon_code:focus-visible { outline: none; border-color: var(--k-black); box-shadow: 0 0 0 3px var(--k-pink); }
select, .k-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px !important; }
.k-check label, .k-row.k-check label { display: flex; gap: 10px; font-weight: 500; font-size: 13px; align-items: flex-start; }
.k-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--k-black); }
.k-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-form-status { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.k-form-status.is-ok { background: #E7F6EC; color: var(--k-success); }
.k-form-status.is-error { background: #FDECEC; color: var(--k-error); }
.k-news .k-form-status { margin: 10px 0 0; }
.k-contact-data { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; }
.required { color: var(--k-rose); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { font-weight: 500; color: var(--k-muted); }
.woocommerce form .form-row .description { font-size: 12px; color: var(--k-muted); margin: 4px 0 0; }
.woocommerce-invalid .input-text, .woocommerce-invalid select { border-color: var(--k-error); }
.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-notices-wrapper .woocommerce-error { list-style: none; margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-message { background: #E7F6EC; color: #0b4d24; }
.woocommerce-info { background: var(--k-pink-light); color: var(--k-black); }
.woocommerce-error { background: #FDECEC; color: #7a1610; display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 8px 16px; font-size: 13px; order: 2; }
.woocommerce-store-notice { display: none !important; }
.form-row.place-order { margin: 0; }
.woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 13px !important; }
.woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--k-black); }

/* ---- Tienda / catálogo -------------------------------------------------------- */
.k-shop { padding-block: 16px 48px; }
.k-crumbs { font-size: 12.5px; color: var(--k-muted); margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.k-crumbs a { text-decoration: none; }
.k-crumbs a:hover { text-decoration: underline; }
.k-shop__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.k-shop__head .k-title { margin: 0; }
.k-shop__count { margin: 0; font-size: 13px; color: var(--k-muted); }
.k-shop__desc { color: var(--k-muted); max-width: 70ch; margin-top: 8px; }
.k-chips { display: flex; gap: 8px; margin-top: 16px; margin-bottom: 16px; }
.k-chips .k-chip { scroll-snap-align: start; }
.k-shop__layout { display: grid; gap: 16px; }
.k-filters { border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); background: var(--k-white); }
.k-filters__toggle { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.k-filters__toggle::-webkit-details-marker { display: none; }
.k-filters__toggle::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.k-filters[open] .k-filters__toggle::after { transform: rotate(-135deg); }
.k-filters__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: var(--k-pill); background: var(--k-black); color: var(--k-white); font-size: 11px; }
.k-filters__form { padding: 4px 16px 18px; display: grid; gap: 18px; }
.k-filter { border: 0; margin: 0; padding: 0; min-width: 0; }
.k-filter__title { display: block; font-weight: 800; font-size: 13px; margin-bottom: 10px; padding: 0; }
.k-filter__options { display: flex; flex-wrap: wrap; gap: 8px; }
.k-check-pill { position: relative; }
.k-check-pill input, .k-check-color input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k-check-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 40px; padding: 0 12px; border-radius: var(--k-pill); border: 1px solid #d9cfd2; font-weight: 700; font-size: 13px; cursor: pointer; }
.k-check-pill input:checked + span { background: var(--k-black); border-color: var(--k-black); color: var(--k-white); }
.k-check-pill input:focus-visible + span, .k-check-color input:focus-visible + .k-check-color__dot { box-shadow: var(--k-focus); }
.k-check-color { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: var(--k-pill); border: 1px solid transparent; cursor: pointer; font-size: 12.5px; }
.k-check-color__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--sw, #ddd); border: 1px solid rgba(17, 17, 17, .25); }
.k-check-color input:checked ~ .k-check-color__name { font-weight: 800; }
.k-check-color:has(input:checked) { border-color: var(--k-black); }
.k-check-color input:checked + .k-check-color__dot { box-shadow: 0 0 0 2px var(--k-white), 0 0 0 3.5px var(--k-black); }
.k-filter__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-filter__price label span { display: block; font-size: 12px; color: var(--k-muted); margin-bottom: 4px; }
.k-filters__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.k-active-filters { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.k-empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--k-pink-border); border-radius: var(--k-radius); }
.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--k-pill); border: 1px solid var(--k-line); text-decoration: none; font-weight: 700; font-size: 14px; }
.woocommerce-pagination .page-numbers span.current { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
@media (min-width: 1024px) {
	.k-shop__layout { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
	.k-filters { position: sticky; top: 150px; }
	.k-filters__toggle { pointer-events: none; }
	.k-filters__toggle::after { display: none; }
	.k-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- Ficha de producto -------------------------------------------------------- */
.k-single { padding-block: 12px 48px; }
.k-single div.product { display: grid; gap: 20px; }
.k-gallery { position: relative; min-width: 0; }
.k-gallery .k-badge { top: 14px; left: 14px; }
.k-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--k-radius); margin: 0 calc(var(--k-gutter) * -1); }
.k-gallery__track::-webkit-scrollbar { display: none; }
.k-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; aspect-ratio: 4 / 5; background: var(--k-stripe-a); }
.k-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.k-gallery__main { aspect-ratio: 4 / 5; border-radius: var(--k-radius); overflow: hidden; }
.k-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.k-gallery__thumb { flex: none; width: 64px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--k-stripe-a); }
.k-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.k-gallery__thumb.is-active { border-color: var(--k-black); }
.k-single .summary { min-width: 0; }
.k-single .product_title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin: 0 0 8px; }
.k-single .summary > .price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.k-single .summary > .price del { font-size: .7em; color: var(--k-muted); font-weight: 500; }
.k-single .summary > .price ins { text-decoration: none; }
.k-single .woocommerce-product-details__short-description { color: var(--k-muted); font-size: 14.5px; margin-bottom: 18px; }
.k-attr { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.k-attr__legend { font-weight: 800; font-size: 14px; margin-bottom: 10px; padding: 0; }
.k-attr__current { font-weight: 500; color: var(--k-muted); }
.k-attr__options { display: flex; flex-wrap: wrap; gap: 10px; }
.k-attr__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.k-attr__pill { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 46px; padding: 0 16px; border: 1.5px solid #d9cfd2; border-radius: var(--k-pill); font-weight: 700; font-size: 14px; cursor: pointer; background: var(--k-white); transition: background-color .15s ease, border-color .15s ease; }
.k-attr__pill:hover { border-color: var(--k-black); }
.k-attr__input:checked + .k-attr__pill { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
.k-attr__swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw, #ddd); border: 1px solid rgba(17, 17, 17, .25); cursor: pointer; }
.k-attr__input:checked + .k-attr__swatch { box-shadow: 0 0 0 3px var(--k-white), 0 0 0 5px var(--k-black); }
.k-attr__input:focus-visible + .k-attr__pill, .k-attr__input:focus-visible + .k-attr__swatch { box-shadow: var(--k-focus); }
.k-attr__input.is-unavailable + .k-attr__pill, .k-attr__input.is-unavailable + .k-attr__swatch { position: relative; opacity: .45; text-decoration: line-through; }
.k-attr__input.is-unavailable + .k-attr__swatch::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--k-black); transform: translateX(-50%) rotate(45deg); }
.k-attr__guide { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }
.k-variation-status { font-size: 13.5px; font-weight: 600; margin: 0 0 12px; min-height: 1.4em; }
.k-variation-status.is-low { color: var(--k-rose); }
.k-variation-status.is-out { color: var(--k-error); }
.k-variation-status.is-ok { color: var(--k-success); }
.k-buy, form.cart:not(.k-variations) { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin-bottom: 16px; }
.k-qty { display: inline-flex; align-items: center; border: 1.5px solid #d9cfd2; border-radius: var(--k-pill); height: 48px; }
.k-qty__btn { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 600; border-radius: var(--k-pill); }
.k-qty__btn:hover { background: var(--k-pink-light); }
.k-qty__input { width: 44px; min-height: 0 !important; height: 100%; border: 0 !important; text-align: center; font-weight: 700; background: transparent !important; padding: 0 !important; -moz-appearance: textfield; }
.k-qty__input::-webkit-outer-spin-button, .k-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button { min-height: 52px; }
.k-single .stock { font-weight: 700; font-size: 13.5px; }
.k-single .stock.out-of-stock { color: var(--k-error); }
.k-benefits--product { margin: 6px 0 16px; color: var(--k-black); }
.k-link-wa { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--k-green); text-decoration: none; margin-top: 4px; }
.k-link-wa:hover { text-decoration: underline; color: #0f7a35; }
.k-product-desc { border-top: 1px solid var(--k-line); padding-top: 28px; margin-top: 12px; }
.k-specs { display: grid; gap: 8px; margin: 16px 0 0; }
.k-specs div { display: flex; gap: 12px; font-size: 14px; }
.k-specs dt { font-weight: 800; min-width: 80px; }
.k-specs dd { margin: 0; color: var(--k-muted); }
.related.products { margin-top: 40px; }
.related.products > h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 18px; }
.related.products ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1023px) {
	/* Botón de compra fijo abajo en móvil para no perderlo de vista. */
	.single-product .k-buy { position: sticky; bottom: 0; z-index: 40; background: var(--k-white); margin-inline: calc(var(--k-gutter) * -1); padding: 10px var(--k-gutter); box-shadow: 0 -6px 20px rgba(17, 17, 17, .07); }
}
@media (min-width: 768px) {
	.k-gallery__track { margin: 0; }
	.related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1024px) {
	.k-single div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
	.k-single div.product > .k-product-desc, .k-single div.product > .related { grid-column: 1 / -1; }
	.k-gallery { position: sticky; top: 140px; }
	.k-gallery__thumb { width: 76px; }
	.related.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

/* ---- Carrito ------------------------------------------------------------- */
.k-page--wc { padding-block: 24px 56px; }
.k-page--wc .k-page__head { margin-bottom: 18px; }
.k-cart { display: grid; gap: 24px; }
.k-cart__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-cart__item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty subtotal"; gap: 8px 14px; padding: 12px; border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); align-items: center; }
.k-cart__thumb { grid-area: thumb; align-self: start; }
.k-cart__thumb img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.k-cart__info { grid-area: info; min-width: 0; }
.k-cart__name { font-size: 14.5px; margin: 0 0 4px; letter-spacing: -.01em; }
.k-cart__name a { text-decoration: none; }
.k-cart__info .variation { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 4px; font-size: 12.5px; color: var(--k-muted); }
.k-cart__info .variation dt { font-weight: 700; }
.k-cart__info .variation dd { margin: 0; }
.k-cart__info .variation dd p { margin: 0; }
.k-cart__unit { margin: 0; font-size: 13px; color: var(--k-muted); }
.k-cart__qty { grid-area: qty; }
.k-cart__qty .k-qty { height: 40px; }
.k-cart__subtotal { grid-area: subtotal; font-weight: 800; font-size: 16px; text-align: right; }
.k-cart__remove { grid-area: remove; align-self: start; }
.k-cart__remove a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; color: var(--k-muted); }
.k-cart__remove a:hover { background: var(--k-pink-light); color: var(--k-black); }
.k-cart__actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.k-coupon label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.k-coupon__row { display: flex; gap: 8px; }
.k-coupon__row input { min-width: 0; }
.cart_totals, .k-box--summary { border: 1.5px solid var(--k-black); border-radius: var(--k-radius-lg); padding: 20px; }
.cart_totals h2 { font-size: 1.2rem; }
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop_table th, .shop_table td { padding: 10px 0; border-bottom: 1px solid var(--k-line); text-align: left; vertical-align: top; }
.shop_table td { text-align: right; }
.shop_table tr:last-child th, .shop_table tr:last-child td { border-bottom: 0; }
.shop_table .order-total th, .shop_table .order-total td { font-size: 17px; font-weight: 800; }
.shop_table .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 12.5px; color: var(--k-muted); }
.shipping-calculator-button { font-weight: 700; color: var(--k-black); }
.shipping-calculator-form { text-align: left; margin-top: 10px; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 15px; }
.cart-empty.woocommerce-info { justify-content: center; font-size: 16px; padding: 28px; }
.return-to-shop { text-align: center; }
@media (min-width: 768px) {
	.k-cart__item { grid-template-columns: 96px 1fr auto auto auto; grid-template-areas: "thumb info qty subtotal remove"; gap: 16px; }
	.k-cart__thumb img { width: 96px; }
	.k-cart__subtotal { min-width: 110px; }
}
@media (min-width: 1024px) {
	.k-cart { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 32px; }
	.k-cart__aside { position: sticky; top: 150px; }
}

/* ---- Checkout --------------------------------------------------------------- */
.k-checkout { display: grid; gap: 20px; }
.k-box { border: 1px solid var(--k-pink-border); border-radius: var(--k-radius-lg); padding: 20px; margin-bottom: 16px; }
.k-box--plain:empty, .k-box--plain:not(:has(*)) { display: none; }
.k-box h3, #order_review_heading { font-size: 1.15rem; margin-bottom: 14px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.form-row { grid-column: 1 / -1; }
@media (min-width: 560px) { .form-row-first { grid-column: 1; } .form-row-last { grid-column: 2; } }
.woocommerce-checkout-review-order-table .product-name { text-align: left; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 700; }
.woocommerce-checkout-review-order-table td.product-total { white-space: nowrap; }
.woocommerce-checkout-review-order-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--k-muted); }
.woocommerce-checkout-payment { margin-top: 16px; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.wc_payment_method { border: 1px solid var(--k-line); border-radius: 14px; padding: 14px; }
.wc_payment_method > label { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wc_payment_method > label img { max-height: 24px; width: auto; display: inline-block; }
.wc_payment_method > input { margin-right: 8px; accent-color: var(--k-black); width: 18px; height: 18px; vertical-align: middle; }
.payment_box { background: var(--k-pink-light); border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 13px; }
.payment_box p:last-child { margin: 0; }
.k-test-gateway { border: 0; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.k-test-gateway legend { font-weight: 700; margin-bottom: 6px; }
.k-test-gateway label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--k-muted); margin-bottom: 12px; }
.woocommerce-privacy-policy-text p { margin-bottom: 10px; }
.keluna-datos { margin-top: 8px !important; }
#place_order { width: 100%; min-height: 56px; font-size: 16px; }
.k-checkout__secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--k-muted); margin: 0; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { display: block; }
.checkout_coupon, .woocommerce-form-login { border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); padding: 16px; margin-bottom: 16px; }
.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; }
.checkout_coupon .form-row { flex: 1; margin: 0; }
@media (min-width: 1024px) {
	.k-checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
	.k-checkout__side { position: sticky; top: 150px; }
}

/* ---- Pedido recibido y Mi cuenta ------------------------------------------- */
.woocommerce-order { display: grid; gap: 16px; }
.woocommerce-thankyou-order-received { background: #E7F6EC; color: #0b4d24; padding: 18px 20px; border-radius: var(--k-radius); font-weight: 700; font-size: 16px; }
.woocommerce-thankyou-order-failed { background: #FDECEC; color: #7a1610; padding: 18px 20px; border-radius: var(--k-radius); font-weight: 700; }
.woocommerce-thankyou-order-failed-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce-order-overview { list-style: none; margin: 0; padding: 16px 20px; border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; font-size: 13px; color: var(--k-muted); }
.woocommerce-order-overview strong { display: block; color: var(--k-black); font-size: 15px; }
.woocommerce-order-details, .woocommerce-customer-details { border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); padding: 18px 20px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.1rem; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; }
.woocommerce-columns--addresses { display: grid; gap: 16px; }
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; padding: 9px 16px; border-radius: var(--k-pill); border: 1px solid var(--k-line); text-decoration: none; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-orders-table { font-size: 13.5px; }
.woocommerce-orders-table td, .woocommerce-orders-table th { text-align: left; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 480px; }
.u-columns.col2-set { display: grid; gap: 24px; }
.woocommerce-Addresses { display: grid; gap: 16px; }
.woocommerce-Address { border: 1px solid var(--k-pink-border); border-radius: var(--k-radius); padding: 16px; }
.woocommerce-Address address { font-style: normal; }
.show-password-input { display: none; }
@media (min-width: 768px) { .u-columns.col2-set, .woocommerce-Addresses, .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px 1fr; align-items: start; }
	.woocommerce-MyAccount-navigation ul { flex-direction: column; }
	.woocommerce-MyAccount-navigation a { width: 100%; border-radius: 12px; }
}

/* Utilidades de WooCommerce que se siguen usando */
.woocommerce-loop-product__link { text-decoration: none; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.wc-item-meta { list-style: none; padding: 0; margin: 4px 0 0; font-size: 12.5px; color: var(--k-muted); }
.wc-item-meta p { display: inline; margin: 0; }
mark.order-number, mark.order-date, mark.order-status { background: var(--k-pink-light); padding: 0 4px; border-radius: 4px; }

/* Datos de la variante (talla/color) en resúmenes y correos */
.shop_table .product-name .variation, .woocommerce-table .variation { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 4px 0 0; font-size: 12.5px; color: var(--k-muted); }
.shop_table .variation dt { font-weight: 700; }
.shop_table .variation dd { margin: 0 8px 0 0; }
.shop_table .variation dd p { margin: 0; }
.woocommerce-checkout-review-order-table thead th:last-child { text-align: right; }

.k-cart__info .variation dt, .k-cart__info .variation dd, .shop_table .variation dt, .shop_table .variation dd { display: inline; }
.k-cart__info .variation dd::after { content: ""; margin-right: 6px; }
.woocommerce-message:focus, .woocommerce-error:focus, .woocommerce-info:focus { outline: none; box-shadow: none; }
