/* =========================================================
   HOC Home Builder — estilos de las 5 plantillas
   Todo está aislado dentro de .hh-root para no chocar con Blocksy/Elementor.
   ========================================================= */

/* Aislado del tema: los botones del plugin no heredan estilos de Blocksy/Elementor. */
#hh-root button { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; min-height: 0; min-width: 0; line-height: inherit; font: inherit; }


#hh-root.hh-root{
	--hh-accent: #1d4ed8;
	--hh-accent-ink: #fff;
	--hh-accent-soft: rgba(29, 78, 216, .1);
	--hh-bg: #fff;
	--hh-surface: #f3f5f8;
	--hh-card: #fff;
	--hh-media: #fff;
	--hh-text: #0f172a;
	--hh-muted: #64748b;
	--hh-line: #e7eaf0;
	--hh-radius: 16px;
	--hh-radius-sm: 10px;
	--hh-btn-radius: 10px;
	--hh-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hh-font-head: var(--hh-font);
	--hh-gap: 20px;
	--hh-maxw: 1320px;
	--hh-sec-pad: clamp(36px, 5.5vw, 72px);

	background: var(--hh-bg);
	color: var(--hh-text);
	font-family: var(--hh-font);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

#hh-root.hh-root *,
#hh-root.hh-root *::before,
#hh-root.hh-root *::after{ box-sizing: border-box; }

#hh-root.hh-root img{ max-width: 100%; display: block; }
#hh-root.hh-root a{ color: inherit; text-decoration: none; }
#hh-root.hh-root h2, #hh-root.hh-root h3, #hh-root.hh-root p{ margin: 0; }
#hh-root.hh-root button{ font: inherit; }

#hh-root .hh-wrap{ width: 100%; max-width: var(--hh-maxw); margin: 0 auto; padding: 0 20px; }
#hh-root .hh-sec{ position: relative; padding: var(--hh-sec-pad) 0; }
#hh-root .hh-sec + .hh-sec{ padding-top: 0; }
#hh-root .hh-hero + .hh-sec:not(.hh-benefits--bar){ padding-top: var(--hh-sec-pad); }

#hh-root .hh-ico{ width: 20px; height: 20px; flex: none; }

/* ---------- Encabezados de sección ---------- */
#hh-root .hh-head{
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px);
}
#hh-root .hh-title{
	font-family: var(--hh-font-head);
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
	color: var(--hh-text);
}
#hh-root .hh-sub{ margin-top: 6px; color: var(--hh-muted); font-size: 15px; }
#hh-root .hh-more{
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	font-weight: 600; font-size: 14px; color: var(--hh-text);
	padding: 8px 0; transition: color .2s;
}
#hh-root .hh-more .hh-ico{ width: 16px; height: 16px; transition: transform .25s; }
#hh-root .hh-more:hover{ color: var(--hh-accent); }
#hh-root .hh-more:hover .hh-ico{ transform: translateX(4px); }
#hh-root .hh-eyebrow{
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hh-muted);
}
#hh-root .hh-eyebrow .hh-ico{ width: 15px; height: 15px; }

/* ---------- Botones ---------- */
#hh-root .hh-btn{
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 42px; padding: 0 14px; border-radius: var(--hh-btn-radius);
	font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap;
	border: 0; cursor: pointer; transition: transform .15s, filter .2s, background .2s, color .2s;
}
#hh-root .hh-btn .hh-ico{ width: 18px; height: 18px; }
#hh-root .hh-btn:active{ transform: scale(.97); }
#hh-root .hh-btn--cart{ background: var(--hh-accent); color: var(--hh-accent-ink) !important; }
#hh-root .hh-btn--cart:hover{ filter: brightness(1.08); }
#hh-root .hh-btn--cart.loading{ opacity: .6; pointer-events: none; }
#hh-root .hh-btn--cart.added::after{ content: "✓"; margin-left: 2px; }
#hh-root .hh-btn--wa{ background: #1fa855; color: #fff !important; }
#hh-root .hh-btn--wa:hover{ background: #17914a; }
#hh-root .hh-btn--ig{
	color: #fff !important; border-radius: 999px; padding: 0 20px;
	background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
}
#hh-root .hh-btn--ig:hover{ filter: brightness(1.08); }

/* =========================================================
   Slider genérico (scroll-snap, liviano)
   ========================================================= */
#hh-root .hh-slider{ position: relative; }
#hh-root .hh-slider__track{
	display: flex; gap: var(--hh-track-gap, 0px);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
#hh-root .hh-slider__track::-webkit-scrollbar{ display: none; }
#hh-root .hh-slide{ flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }

#hh-root .hh-slider__btn{
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; color: #111;
	background: rgba(255, 255, 255, .92); box-shadow: 0 6px 22px rgba(0, 0, 0, .14);
	backdrop-filter: blur(6px); transition: opacity .25s, transform .2s, background .2s;
}
#hh-root .hh-slider__btn:hover{ background: #fff; transform: translateY(-50%) scale(1.06); }
#hh-root .hh-slider__btn[disabled]{ opacity: 0 !important; pointer-events: none; }
#hh-root .hh-prev{ left: 16px; }
#hh-root .hh-next{ right: 16px; }

#hh-root .hh-dots{
	position: absolute; left: 50%; bottom: 16px; z-index: 3; transform: translateX(-50%);
	display: flex; gap: 8px; padding: 7px 10px; border-radius: 999px;
	background: rgba(0, 0, 0, .22); backdrop-filter: blur(6px);
}
#hh-root .hh-dot{
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, .55); transition: width .3s, background .3s;
}
#hh-root .hh-dot.is-active{ width: 26px; background: #fff; }

/* =========================================================
   HERO / Banners principales
   ========================================================= */
#hh-root .hh-hero{ padding: 0 !important; }
#hh-root .hh-hero__slider .hh-banner{ display: block; aspect-ratio: var(--hh-ar-d, 3/1); overflow: hidden; background: var(--hh-surface); }
#hh-root .hh-hero__slider .hh-banner img,
#hh-root .hh-hero__slider .hh-banner picture{ width: 100%; height: 100%; }
#hh-root .hh-hero__slider .hh-banner img{ object-fit: cover; }
#hh-root .hh-hero__slider:not(.is-multi) .hh-slider__nav{ display: none; }
#hh-root .hh-hero__slider .hh-slider__btn{ opacity: 0; }
#hh-root .hh-hero__slider:hover .hh-slider__btn,
#hh-root .hh-hero__slider:focus-within .hh-slider__btn{ opacity: 1; }

#hh-root .hh-hero--boxed{ padding-top: 20px !important; }
#hh-root .hh-hero--boxed .hh-hero__slider{ border-radius: var(--hh-radius); overflow: hidden; }

#hh-root .hh-split{ display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding-top: 20px; }
#hh-root .hh-split__main{ min-width: 0; border-radius: var(--hh-radius); overflow: hidden; }
#hh-root .hh-split__side{ display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 0; }
#hh-root .hh-split__item{ position: relative; display: block; overflow: hidden; border-radius: var(--hh-radius); background: var(--hh-surface); }
#hh-root .hh-split__item picture, #hh-root .hh-split__item img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hh-root .hh-split__item img{ transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#hh-root .hh-split__item:hover img{ transform: scale(1.04); }

/* =========================================================
   Beneficios
   ========================================================= */
#hh-root .hh-benefits__list{
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
#hh-root .hh-benefit{ display: flex; align-items: center; gap: 13px; min-width: 0; }
#hh-root .hh-benefit__ico{
	flex: none; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; background: var(--hh-accent-soft); color: var(--hh-accent);
}
#hh-root .hh-benefit__ico .hh-ico{ width: 22px; height: 22px; }
#hh-root .hh-benefit__txt{ display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--hh-muted); line-height: 1.35; }
#hh-root .hh-benefit__txt strong{ font-size: 14.5px; color: var(--hh-text); font-weight: 700; }

#hh-root .hh-benefits--bar{ padding: 22px 0 !important; border-bottom: 1px solid var(--hh-line); }
#hh-root .hh-benefits--bar + .hh-sec{ padding-top: var(--hh-sec-pad); }

#hh-root .hh-benefits--cards .hh-benefit{
	flex-direction: column; align-items: flex-start; gap: 16px;
	padding: 22px; border-radius: var(--hh-radius); background: var(--hh-card);
}

#hh-root .hh-benefits--minimal .hh-benefits__list{ border-top: 1px solid var(--hh-line); border-bottom: 1px solid var(--hh-line); padding: 26px 0; }
#hh-root .hh-benefits--minimal .hh-benefit{ justify-content: center; text-align: left; }
#hh-root .hh-benefits--minimal .hh-benefit__ico{ background: transparent; color: var(--hh-text); width: 30px; }

/* =========================================================
   Categorías
   ========================================================= */
#hh-root .hh-cat{ display: flex; min-width: 0; }
#hh-root .hh-cat__media{ position: relative; display: grid; place-items: center; overflow: hidden; }
#hh-root .hh-cat__img{ transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
#hh-root .hh-cat:hover .hh-cat__img{ transform: scale(1.07); }
#hh-root .hh-cat__ph{ color: var(--hh-muted); opacity: .5; }
#hh-root .hh-cat__ph .hh-ico{ width: 34px; height: 34px; }
#hh-root .hh-cat__body{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#hh-root .hh-cat__name{ font-weight: 650; line-height: 1.25; }
#hh-root .hh-cat__cta{ display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--hh-accent); }
#hh-root .hh-cat__cta .hh-ico{ width: 15px; height: 15px; transition: transform .25s; }
#hh-root .hh-cat:hover .hh-cat__cta .hh-ico{ transform: translateX(3px); }

/* Círculos */
#hh-root .hh-categories--circles .hh-cats{ display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 30px; }
#hh-root .hh-categories--circles .hh-cat{ flex-direction: column; align-items: center; gap: 12px; width: 136px; text-align: center; }
#hh-root .hh-categories--circles .hh-cat__media{
	width: 136px; aspect-ratio: 1; border-radius: 50%; background: var(--hh-surface);
	transition: box-shadow .25s, background .25s;
}
#hh-root .hh-categories--circles .hh-cat__img{ width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-categories--circles .hh-cat:hover .hh-cat__media{ box-shadow: 0 0 0 3px var(--hh-bg), 0 0 0 5px var(--hh-accent); }
#hh-root .hh-categories--circles .hh-cat__name{ font-size: 14px; }
#hh-root .hh-categories--circles .hh-head{ justify-content: center; text-align: center; }

/* Mosaico (bento) */
#hh-root .hh-categories--bento .hh-cats{
	display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; grid-auto-flow: dense;
}
#hh-root .hh-categories--bento .hh-cat{
	position: relative; flex-direction: column; justify-content: space-between;
	padding: 22px; border-radius: var(--hh-radius); background: var(--hh-card); overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
#hh-root .hh-categories--bento .hh-cat:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .25); }
#hh-root .hh-categories--bento .hh-cat__media{ position: absolute; right: 10px; bottom: 10px; width: 58%; height: 66%; }
#hh-root .hh-categories--bento .hh-cat__img{ width: 100%; height: 100%; object-fit: contain; }
#hh-root .hh-categories--bento .hh-cat__body{ position: relative; z-index: 1; height: 100%; justify-content: space-between; max-width: 60%; }
#hh-root .hh-categories--bento .hh-cat__name{ font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
#hh-root .hh-categories--bento .hh-cat:first-child{ grid-column: span 2; grid-row: span 2; background: var(--hh-accent); color: var(--hh-accent-ink); }
#hh-root .hh-categories--bento .hh-cat:first-child .hh-cat__name{ font-size: clamp(22px, 2.4vw, 30px); }
#hh-root .hh-categories--bento .hh-cat:first-child .hh-cat__cta{ color: inherit; }
#hh-root .hh-categories--bento .hh-cat:first-child .hh-cat__media{
	right: 14px; bottom: 14px; width: 58%; height: 72%; padding: 18px;
	background: #fff; border-radius: calc(var(--hh-radius) - 10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35);
}
#hh-root .hh-categories--bento .hh-cat:not(:first-child) .hh-cat__img{ mix-blend-mode: multiply; }
#hh-root .hh-categories--bento .hh-cats[data-count="1"] .hh-cat{ grid-column: 1 / -1; grid-row: span 2; }
#hh-root .hh-categories--bento .hh-cats[data-count="2"] .hh-cat{ grid-column: span 2; grid-row: span 2; }
#hh-root .hh-categories--bento .hh-cats[data-count="3"] .hh-cat:not(:first-child),
#hh-root .hh-categories--bento .hh-cats[data-count="4"] .hh-cat:nth-child(4),
#hh-root .hh-categories--bento .hh-cats[data-count="7"] .hh-cat:nth-child(n+6),
#hh-root .hh-categories--bento .hh-cats[data-count="8"] .hh-cat:nth-child(6){ grid-column: span 2; }
#hh-root .hh-categories--bento .hh-cats[data-count="6"] .hh-cat:nth-child(6){ grid-column: 1 / -1; }

/* Tarjetas (Noche) */
#hh-root .hh-categories--cards .hh-cats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#hh-root .hh-categories--cards .hh-cats[data-count="3"],
#hh-root .hh-categories--cards .hh-cats[data-count="5"],
#hh-root .hh-categories--cards .hh-cats[data-count="6"]{ grid-template-columns: repeat(3, 1fr); }
#hh-root .hh-categories--cards .hh-cats[data-count="2"]{ grid-template-columns: repeat(2, 1fr); }
#hh-root .hh-categories--cards .hh-cat{
	flex-direction: column; gap: 18px; padding: 18px 18px 20px; border-radius: var(--hh-radius);
	background: var(--hh-card); border: 1px solid var(--hh-line); transition: border-color .25s, transform .25s;
}
#hh-root .hh-categories--cards .hh-cat:hover{ border-color: var(--hh-accent); transform: translateY(-3px); }
#hh-root .hh-categories--cards .hh-cat__media{
	aspect-ratio: 4/3; border-radius: calc(var(--hh-radius) - 6px);
	background: radial-gradient(60% 70% at 50% 60%, var(--hh-accent-soft), transparent 70%), var(--hh-surface);
}
#hh-root .hh-categories--cards .hh-cat__img{ width: 72%; height: 80%; object-fit: contain; }
#hh-root .hh-categories--cards .hh-cat__name{ font-size: 17px; }

/* Píldoras (Mega Ofertas) */
#hh-root .hh-categories--chips .hh-cats{ display: flex; flex-wrap: wrap; gap: 12px; }
#hh-root .hh-categories--chips .hh-cat{
	align-items: center; gap: 10px; padding: 6px 20px 6px 6px; border-radius: 999px;
	background: var(--hh-card); border: 2px solid var(--hh-line); transition: background .2s, border-color .2s, color .2s;
}
#hh-root .hh-categories--chips .hh-cat__media{ width: 48px; height: 48px; border-radius: 50%; background: var(--hh-surface); }
#hh-root .hh-categories--chips .hh-cat__img{ width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-categories--chips .hh-cat__ph .hh-ico{ width: 20px; height: 20px; }
#hh-root .hh-categories--chips .hh-cat__name{ font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
#hh-root .hh-categories--chips .hh-cat:hover{ background: var(--hh-accent); border-color: var(--hh-accent); color: var(--hh-accent-ink); }
#hh-root .hh-categories--chips .hh-cat:hover .hh-cat__media{ background: #fff; }

/* Editorial (Minimal) */
#hh-root .hh-categories--editorial .hh-cats{ --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 28px 20px; }
#hh-root .hh-categories--editorial .hh-cats[data-count="1"]{ --cols: 1; }
#hh-root .hh-categories--editorial .hh-cats[data-count="2"]{ --cols: 2; }
#hh-root .hh-categories--editorial .hh-cats[data-count="3"],
#hh-root .hh-categories--editorial .hh-cats[data-count="5"],
#hh-root .hh-categories--editorial .hh-cats[data-count="6"]{ --cols: 3; }
#hh-root .hh-categories--editorial .hh-cat{ flex-direction: column; gap: 16px; }
#hh-root .hh-categories--editorial .hh-cat__media{ aspect-ratio: 1; border-radius: var(--hh-radius); background: var(--hh-surface); }
#hh-root .hh-categories--editorial .hh-cat__img{ width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-categories--editorial .hh-cat__name{ font-family: var(--hh-font-head); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
#hh-root .hh-categories--editorial .hh-cat__cta{ color: var(--hh-muted); }

/* =========================================================
   Productos
   ========================================================= */
#hh-root .hh-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hh-gap); }

#hh-root .hh-card{
	position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%;
	background: var(--hh-card); border: 1px solid var(--hh-line); border-radius: var(--hh-radius); overflow: hidden;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
#hh-root .hh-card:hover{ transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(15, 23, 42, .28); }
#hh-root .hh-card__media{
	position: relative; display: block; aspect-ratio: 1; padding: 20px; background: var(--hh-media);
}
#hh-root .hh-card__media img{ width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
#hh-root .hh-card:hover .hh-card__media img{ transform: scale(1.05); }
#hh-root .hh-badges{ position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
#hh-root .hh-badge{
	display: inline-block; padding: 5px 10px; border-radius: 999px;
	background: var(--hh-accent); color: var(--hh-accent-ink);
	font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1.2;
}
#hh-root .hh-badge--out{ background: #1f2937; color: #fff; }
#hh-root .hh-card__body{ display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
#hh-root .hh-card__cat{ font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hh-muted); }
#hh-root .hh-card__title{
	font-family: var(--hh-font); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--hh-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
#hh-root .hh-card__title a:hover{ color: var(--hh-accent); }
#hh-root .hh-card__price{ font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--hh-text); line-height: 1.25; }
#hh-root .hh-card__price del{ display: block; font-size: 13px; font-weight: 500; color: var(--hh-muted); opacity: .9; }
#hh-root .hh-card__price ins{ text-decoration: none; background: none; }
#hh-root .hh-card__price .screen-reader-text{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#hh-root .hh-card__note{
	font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--hh-text);
	padding: 7px 10px; border-radius: 8px; background: var(--hh-accent-soft); border-left: 3px solid var(--hh-accent);
}
#hh-root .hh-card__actions{ display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding-top: 10px; }
#hh-root .hh-card__actions:has(.hh-btn--cart):has(.hh-btn--wa){ grid-template-columns: 1fr auto; }
#hh-root .hh-card__actions:has(.hh-btn--cart) .hh-btn--wa{ width: 42px; padding: 0; }
#hh-root .hh-card__actions:has(.hh-btn--cart) .hh-btn--wa span{ display: none; }
#hh-root .hh-card__actions .added_to_cart{ grid-column: 1 / -1; font-size: 13px; font-weight: 600; text-align: center; color: var(--hh-accent); }

/* Productos deslizables */
#hh-root .hh-prod-slider{ --hh-track-gap: var(--hh-gap); margin: 0 -20px; }
#hh-root .hh-prod-slider .hh-slider__track{ padding: 6px 20px 26px; scroll-padding: 0 20px; }
#hh-root .hh-prod-slider .hh-slide{ flex-basis: calc((100% - 3 * var(--hh-gap)) / 4); }
#hh-root .hh-prod-slider .hh-slider__btn{ top: 38%; }
#hh-root .hh-prod-slider .hh-prev{ left: 0; }
#hh-root .hh-prod-slider .hh-next{ right: 0; }

/* =========================================================
   Banners secundarios
   ========================================================= */
#hh-root .hh-promos{ display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 16px; }
#hh-root .hh-promos[data-count="1"]{ --n: 1; }
#hh-root .hh-promos[data-count="3"]{ --n: 3; }
#hh-root .hh-promo{ display: block; overflow: hidden; border-radius: var(--hh-radius); background: var(--hh-surface); }
#hh-root .hh-promo img{ width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#hh-root a.hh-promo:hover img{ transform: scale(1.03); }

/* =========================================================
   Instagram
   ========================================================= */
#hh-root .hh-ig__head{ align-items: center; }
#hh-root .hh-ig__grid{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
#hh-root .hh-ig__grid[data-count="4"], #hh-root .hh-ig__grid[data-count="8"]{ grid-template-columns: repeat(4, 1fr); }
#hh-root .hh-ig__grid[data-count="5"]{ grid-template-columns: repeat(5, 1fr); }
#hh-root .hh-ig__grid[data-count="1"], #hh-root .hh-ig__grid[data-count="2"], #hh-root .hh-ig__grid[data-count="3"]{ grid-template-columns: repeat(3, 1fr); }
#hh-root .hh-ig__tile{ position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--hh-radius-sm); background: var(--hh-surface); }
#hh-root .hh-ig__tile img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#hh-root .hh-ig__over{
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45)); opacity: 0; transition: opacity .3s;
}
#hh-root .hh-ig__over .hh-ico{ width: 34px; height: 34px; transform: scale(.8); transition: transform .3s; }
#hh-root .hh-ig__tile:hover img{ transform: scale(1.06); }
#hh-root .hh-ig__tile:hover .hh-ig__over{ opacity: 1; }
#hh-root .hh-ig__tile:hover .hh-ig__over .hh-ico{ transform: scale(1); }

#hh-root .hh-ig-slider{ --hh-track-gap: 12px; }
#hh-root .hh-ig-slider .hh-slide{ flex-basis: calc((100% - 4 * 12px) / 5); }
#hh-root .hh-ig-slider .hh-ig__tile{ border-radius: var(--hh-radius); }

/* =========================================================
   PLANTILLA 1 — Clásica
   ========================================================= */
#hh-root.hh-t-clasica{
	--hh-font: "Plus Jakarta Sans", system-ui, sans-serif;
	--hh-font-head: "Plus Jakarta Sans", system-ui, sans-serif;
	--hh-surface: #f2f4f7;
	--hh-radius: 16px;
}
#hh-root.hh-t-clasica .hh-products{ background: #f6f7f9; padding-top: var(--hh-sec-pad) !important; margin-bottom: var(--hh-sec-pad); }
#hh-root.hh-t-clasica .hh-card{ border-color: transparent; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
#hh-root.hh-t-clasica .hh-title{ font-weight: 800; }

/* =========================================================
   PLANTILLA 2 — Moderna
   ========================================================= */
#hh-root.hh-t-moderna{
	--hh-font: "Outfit", system-ui, sans-serif;
	--hh-font-head: "Outfit", system-ui, sans-serif;
	--hh-bg: #f1f2f5;
	--hh-surface: #e8eaef;
	--hh-card: #fff;
	--hh-line: transparent;
	--hh-radius: 26px;
	--hh-radius-sm: 18px;
	--hh-btn-radius: 999px;
	font-size: 15.5px;
}
#hh-root.hh-t-moderna .hh-title{ font-weight: 700; font-size: clamp(24px, 2.8vw, 36px); }
#hh-root.hh-t-moderna .hh-card__media{ margin: 8px 8px 0; border-radius: calc(var(--hh-radius) - 8px); background: #f6f7f9; }
#hh-root.hh-t-moderna .hh-card__price{ font-size: 20px; }
#hh-root.hh-t-moderna .hh-more{
	padding: 10px 16px; border-radius: 999px; background: var(--hh-card);
}
#hh-root.hh-t-moderna .hh-benefit__ico{ width: 52px; height: 52px; border-radius: 16px; }
#hh-root.hh-t-moderna .hh-dots{ background: rgba(255, 255, 255, .25); }

/* =========================================================
   PLANTILLA 3 — Noche Premium
   ========================================================= */
#hh-root.hh-t-noche{
	--hh-font: "Sora", system-ui, sans-serif;
	--hh-font-head: "Sora", system-ui, sans-serif;
	--hh-bg: #0a0d12;
	--hh-surface: #161b24;
	--hh-card: #121720;
	--hh-media: #fff;
	--hh-text: #eef1f6;
	--hh-muted: #8d97a8;
	--hh-line: rgba(255, 255, 255, .08);
	--hh-radius: 20px;
	--hh-radius-sm: 14px;
	--hh-btn-radius: 12px;
	background:
		radial-gradient(900px 420px at 85% 0%, var(--hh-accent-soft), transparent 70%),
		radial-gradient(700px 380px at 0% 55%, rgba(255, 255, 255, .03), transparent 70%),
		var(--hh-bg);
	font-size: 14.5px;
}
#hh-root.hh-t-noche .hh-title{ font-weight: 600; letter-spacing: -.03em; }
#hh-root.hh-t-noche .hh-title::before{
	content: ""; display: block; width: 34px; height: 3px; border-radius: 3px;
	background: var(--hh-accent); margin-bottom: 14px;
}
#hh-root.hh-t-noche .hh-ig__head .hh-title::before{ display: none; }
#hh-root.hh-t-noche .hh-benefits--bar{ background: rgba(255, 255, 255, .02); }
#hh-root.hh-t-noche .hh-benefit__ico{ background: rgba(255, 255, 255, .06); color: var(--hh-text); }
#hh-root.hh-t-noche .hh-card__media{ margin: 10px 10px 0; border-radius: calc(var(--hh-radius) - 8px); }
#hh-root.hh-t-noche .hh-card:hover{ border-color: rgba(255, 255, 255, .18); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8); }
#hh-root.hh-t-noche .hh-card__price{ color: #fff; }
#hh-root.hh-t-noche .hh-card__note{ background: rgba(255, 255, 255, .06); color: var(--hh-text); }
#hh-root.hh-t-noche .hh-cat__cta{ color: var(--hh-text); opacity: .75; }
#hh-root.hh-t-noche .hh-categories--cards .hh-cat__media{ background: radial-gradient(60% 70% at 50% 60%, var(--hh-accent-soft), transparent 70%), #fff; }
#hh-root.hh-t-noche .hh-more:hover{ color: #fff; opacity: .8; }

/* =========================================================
   PLANTILLA 4 — Mega Ofertas
   ========================================================= */
#hh-root.hh-t-ofertas{
	--hh-font: "Archivo", system-ui, sans-serif;
	--hh-font-head: "Archivo", system-ui, sans-serif;
	--hh-surface: #f4f4f5;
	--hh-text: #111111;
	--hh-muted: #6b6b6b;
	--hh-line: #ebebeb;
	--hh-radius: 14px;
	--hh-btn-radius: 8px;
}
#hh-root.hh-t-ofertas .hh-title{
	font-weight: 900; text-transform: uppercase; letter-spacing: -.015em;
	font-size: clamp(24px, 3vw, 38px); line-height: 1.05;
}
#hh-root.hh-t-ofertas .hh-title::after{
	content: ""; display: block; width: 64px; height: 6px; margin-top: 10px; background: var(--hh-accent); border-radius: 2px;
}
#hh-root.hh-t-ofertas .hh-ig__head .hh-title::after{ display: none; }
#hh-root.hh-t-ofertas .hh-benefits--bar{ background: var(--hh-accent); color: var(--hh-accent-ink); border: 0; padding: 16px 0 !important; margin-top: 20px; }
#hh-root.hh-t-ofertas .hh-benefits--bar .hh-benefit__ico{ background: rgba(255, 255, 255, .16); color: inherit; width: 40px; height: 40px; }
#hh-root.hh-t-ofertas .hh-benefits--bar .hh-benefit__txt{ color: inherit; opacity: .9; }
#hh-root.hh-t-ofertas .hh-benefits--bar .hh-benefit__txt strong{ color: inherit; text-transform: uppercase; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; }
#hh-root.hh-t-ofertas .hh-products{ background: #fafafa; padding-top: var(--hh-sec-pad) !important; margin-bottom: var(--hh-sec-pad); }
#hh-root.hh-t-ofertas .hh-card{ border-width: 2px; }
#hh-root.hh-t-ofertas .hh-card:hover{ border-color: var(--hh-accent); box-shadow: none; }
#hh-root.hh-t-ofertas .hh-badge{ border-radius: 6px; font-size: 15px; font-weight: 900; padding: 6px 10px; transform: rotate(-3deg); }
#hh-root.hh-t-ofertas .hh-card__price{ font-size: 23px; font-weight: 900; color: var(--hh-accent); }
#hh-root.hh-t-ofertas .hh-card__price del{ color: var(--hh-muted); }
#hh-root.hh-t-ofertas .hh-card__title{ font-weight: 700; }
#hh-root.hh-t-ofertas .hh-btn{ text-transform: uppercase; font-weight: 800; letter-spacing: .02em; font-size: 13px; }
#hh-root.hh-t-ofertas .hh-more{ text-transform: uppercase; font-weight: 800; font-size: 13px; letter-spacing: .03em; }

/* =========================================================
   PLANTILLA 5 — Minimal
   ========================================================= */
#hh-root.hh-t-minimal{
	--hh-font: "Manrope", system-ui, sans-serif;
	--hh-font-head: "Fraunces", Georgia, serif;
	--hh-bg: #faf8f4;
	--hh-surface: #f0ece5;
	--hh-card: transparent;
	--hh-media: #f0ece5;
	--hh-text: #1c1b19;
	--hh-muted: #7a756c;
	--hh-line: #e5e0d6;
	--hh-radius: 6px;
	--hh-radius-sm: 4px;
	--hh-btn-radius: 999px;
	--hh-sec-pad: clamp(44px, 7vw, 96px);
}
#hh-root.hh-t-minimal .hh-title{ font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.025em; line-height: 1.05; }
#hh-root.hh-t-minimal .hh-sub{ font-size: 16px; }
#hh-root.hh-t-minimal .hh-more{ text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
#hh-root.hh-t-minimal .hh-card{ border: 0; border-radius: 0; overflow: visible; }
#hh-root.hh-t-minimal .hh-card:hover{ transform: none; box-shadow: none; }
#hh-root.hh-t-minimal .hh-card__media{ border-radius: var(--hh-radius); padding: 26px; mix-blend-mode: normal; }
#hh-root.hh-t-minimal .hh-card__media img{ mix-blend-mode: multiply; }
#hh-root.hh-t-minimal .hh-card__body{ padding: 14px 2px 0; }
#hh-root.hh-t-minimal .hh-card__title{ font-weight: 600; min-height: 0; }
#hh-root.hh-t-minimal .hh-card__price{ font-weight: 600; font-size: 17px; }
#hh-root.hh-t-minimal .hh-card__note{ background: transparent; border-left: 0; padding: 0; color: var(--hh-muted); font-weight: 500; }
#hh-root.hh-t-minimal .hh-btn--cart{ background: var(--hh-text); color: var(--hh-bg) !important; }
#hh-root.hh-t-minimal .hh-badge{ background: var(--hh-bg); color: var(--hh-text); font-weight: 700; box-shadow: 0 1px 0 var(--hh-line); }
#hh-root.hh-t-minimal .hh-grid{ gap: 34px 22px; }
#hh-root.hh-t-minimal .hh-dots{ background: transparent; backdrop-filter: none; gap: 6px; }
#hh-root.hh-t-minimal .hh-dot{ width: 26px; height: 2px; border-radius: 0; background: rgba(255, 255, 255, .5); }
#hh-root.hh-t-minimal .hh-dot.is-active{ width: 44px; background: #fff; }
#hh-root.hh-t-minimal .hh-btn--ig{ background: var(--hh-text); }

/* =========================================================
   Responsive
   ========================================================= */

/* =========================================================
   PLANTILLAS 6 y 7 — Marketplace y Vitrina
   Estilo de las grandes tiendas online: mucho blanco, fotos sobre gris claro,
   tarjetas redondeadas y filas deslizables.
   ========================================================= */
#hh-root.hh-t-market{
	--hh-font: "DM Sans", system-ui, sans-serif;
	--hh-font-head: "DM Sans", system-ui, sans-serif;
	--hh-surface: #f3f4f6;
	--hh-media: #f3f4f6;
	--hh-card: #fff;
	--hh-text: #0b1220;
	--hh-muted: #6b7280;
	--hh-line: #eceef2;
	--hh-radius: 16px;
	--hh-radius-sm: 14px;
	--hh-btn-radius: 999px;
	--hh-maxw: 1380px;
	--hh-sec-pad: clamp(32px, 4.5vw, 64px);
}
#hh-root.hh-t-vitrina{
	--hh-font: "Urbanist", system-ui, sans-serif;
	--hh-font-head: "Urbanist", system-ui, sans-serif;
	--hh-bg: #f4f5f8;
	--hh-surface: #ffffff;
	--hh-media: #f1f3f6;
	--hh-card: #fff;
	--hh-text: #0f1424;
	--hh-muted: #697083;
	--hh-line: #e6e8ee;
	--hh-radius: 22px;
	--hh-radius-sm: 16px;
	--hh-btn-radius: 999px;
	--hh-maxw: 1380px;
	--hh-sec-pad: clamp(32px, 4.5vw, 64px);
	font-size: 15.5px;
}
#hh-root.hh-root .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#hh-root:is(.hh-t-market, .hh-t-vitrina) .hh-title{ font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
#hh-root:is(.hh-t-market, .hh-t-vitrina) .hh-head{ align-items: center; }
#hh-root:is(.hh-t-market, .hh-t-vitrina) .hh-more{ color: var(--hh-accent); font-weight: 600; font-size: 15px; }
#hh-root:is(.hh-t-market, .hh-t-vitrina) .hh-more .hh-ico{ width: 15px; height: 15px; }
#hh-root.hh-t-vitrina .hh-title{ font-weight: 800; letter-spacing: -.025em; }

/* ---------- Barra de categorías ---------- */
#hh-root .hh-catbar{ padding: 0 !important; border-bottom: 1px solid var(--hh-line); }
#hh-root .hh-catbar__nav{ display: flex; align-items: center; gap: 22px; min-height: 56px; font-size: 15px; color: #3b4352; white-space: nowrap; }
#hh-root .hh-catbar__all, #hh-root .hh-catbar__deals{ display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 700; }
#hh-root .hh-catbar__all{ color: var(--hh-text); padding-right: 22px; border-right: 1px solid var(--hh-line); }
#hh-root .hh-catbar__deals{ color: var(--hh-accent); margin-left: auto; padding-left: 22px; border-left: 1px solid var(--hh-line); }
#hh-root .hh-catbar__links{ display: flex; gap: 26px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#hh-root .hh-catbar__links::-webkit-scrollbar{ display: none; }
#hh-root .hh-catbar__links a{ padding: 6px 0; transition: color .2s; }
#hh-root .hh-catbar__links a:hover, #hh-root .hh-catbar__all:hover{ color: var(--hh-accent); }

/* ---------- Banner principal + lateral ---------- */
#hh-root .hh-hero--market, #hh-root .hh-hero--stage{ padding-top: 24px !important; }
#hh-root .hh-hero--market:has(.is-multi), #hh-root .hh-hero--stage:has(.is-multi){ padding-bottom: 34px !important; }
#hh-root .hh-mhero{ display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
#hh-root .hh-mhero.is-single{ grid-template-columns: 1fr; }
#hh-root .hh-mhero__main{ min-width: 0; }
#hh-root :is(.hh-hero--market, .hh-hero--stage) .hh-slider__track{ border-radius: var(--hh-radius); }
#hh-root .hh-hero--stage .hh-slider__track{ border-radius: 26px; }
#hh-root .hh-mhero__side{ position: relative; display: block; overflow: hidden; border-radius: var(--hh-radius); background: var(--hh-surface); }
#hh-root .hh-mhero__side picture, #hh-root .hh-mhero__side img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hh-root .hh-mhero__side img{ transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#hh-root a.hh-mhero__side:hover img{ transform: scale(1.03); }
#hh-root :is(.hh-hero--market, .hh-hero--stage) .hh-dots{ top: calc(100% + 14px); bottom: auto; background: none; backdrop-filter: none; padding: 0; gap: 7px; }
#hh-root :is(.hh-hero--market, .hh-hero--stage) .hh-dot{ width: 8px; height: 8px; background: #cfd3da; }
#hh-root :is(.hh-hero--market, .hh-hero--stage) .hh-dot.is-active{ width: 22px; background: var(--hh-text); }

/* ---------- Categorías en círculos (Marketplace) ---------- */
#hh-root .hh-cat-slider{ --hh-track-gap: 22px; }
#hh-root .hh-cat-slider .hh-slide{ flex: 0 0 calc((100% - 6 * 22px) / 7); }
#hh-root .hh-cat-slider .hh-slider__btn{ top: calc(50% - 20px); }
#hh-root .hh-cat-slider .hh-prev{ left: -10px; }
#hh-root .hh-cat-slider .hh-next{ right: -10px; }
#hh-root .hh-categories--market .hh-cat{ flex-direction: column; align-items: center; gap: 14px; text-align: center; }
#hh-root .hh-categories--market .hh-cat__media{ width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--hh-surface); transition: background .25s; }
#hh-root .hh-categories--market .hh-cat__img{ width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-categories--market .hh-cat:hover .hh-cat__media{ background: var(--hh-accent-soft); }
#hh-root .hh-categories--market .hh-cat__name{ font-weight: 600; font-size: 16px; }

/* ---------- Categorías en bloques de color (Vitrina) ---------- */
#hh-root .hh-categories--tiles .hh-cats{ --n: 8; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; }
#hh-root .hh-categories--tiles .hh-cats[data-count="1"], #hh-root .hh-categories--tiles .hh-cats[data-count="2"], #hh-root .hh-categories--tiles .hh-cats[data-count="3"], #hh-root .hh-categories--tiles .hh-cats[data-count="4"]{ --n: 4; }
#hh-root .hh-categories--tiles .hh-cats[data-count="5"]{ --n: 5; }
#hh-root .hh-categories--tiles .hh-cats[data-count="6"]{ --n: 6; }
#hh-root .hh-categories--tiles .hh-cats[data-count="7"]{ --n: 7; }
#hh-root .hh-categories--tiles .hh-cat{
	--tint: #eef2ff; position: relative; flex-direction: column; gap: 8px; padding: 14px 14px 16px;
	border-radius: 20px; background: var(--tint); transition: transform .25s, box-shadow .25s;
}
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+2){ --tint: #fdf2f8; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+3){ --tint: #ecfdf5; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+4){ --tint: #fff7ed; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+5){ --tint: #f0f9ff; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+6){ --tint: #fefce8; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+7){ --tint: #f5f3ff; }
#hh-root .hh-categories--tiles .hh-cat:nth-child(8n+8){ --tint: #f1f5f9; }
#hh-root .hh-categories--tiles .hh-cat:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(15, 20, 36, .3); }
#hh-root .hh-categories--tiles .hh-cat__media{ aspect-ratio: 1; }
#hh-root .hh-categories--tiles .hh-cat__img{ width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-categories--tiles .hh-cat__body{ flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
#hh-root .hh-categories--tiles .hh-cat__name{ font-weight: 700; font-size: 15px; line-height: 1.2; }
#hh-root .hh-cat__go{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--hh-text); transition: background .2s, color .2s; }
#hh-root .hh-cat__go .hh-ico{ width: 14px; height: 14px; }
#hh-root .hh-cat:hover .hh-cat__go{ background: var(--hh-accent); color: var(--hh-accent-ink); }

/* ---------- Tarjeta de producto (Marketplace / Vitrina) ---------- */
#hh-root .hh-mprod{ --hh-track-gap: 20px; }
#hh-root .hh-mprod .hh-slider__track{ padding: 4px 2px 8px; }
#hh-root .hh-mprod .hh-slide{ flex: 0 0 calc((100% - 4 * 20px) / 5); }
#hh-root .hh-mprod .hh-slider__btn{ top: 32%; }
#hh-root .hh-mprod .hh-prev{ left: -12px; }
#hh-root .hh-mprod .hh-next{ right: -12px; }
#hh-root .hh-mcard{ position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; }
#hh-root .hh-mcard__media{ position: relative; display: block; aspect-ratio: 1; border-radius: var(--hh-radius); background: var(--hh-media); overflow: hidden; }
#hh-root .hh-mcard__media img{ position: absolute; inset: 0; width: 100%; height: 100%; padding: 12%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
#hh-root .hh-mcard:hover .hh-mcard__media img{ transform: scale(1.05); }
#hh-root .hh-mcard .hh-badges{ top: 12px; left: 12px; }
#hh-root .hh-mcard__cart{
	position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px;
	border-radius: 50%; background: #fff; color: var(--hh-text) !important; box-shadow: 0 2px 10px rgba(15, 23, 42, .1);
	transition: background .2s, color .2s, transform .15s;
}
#hh-root .hh-mcard__cart .hh-ico{ width: 18px; height: 18px; }
#hh-root .hh-mcard__cart:hover{ background: var(--hh-accent); color: var(--hh-accent-ink) !important; }
#hh-root .hh-mcard__cart:active{ transform: scale(.94); }
#hh-root .hh-mcard__cart.loading{ opacity: .55; pointer-events: none; }
#hh-root .hh-mcard__cart.added{ background: #16a34a; color: #fff !important; }
#hh-root .hh-mcard .added_to_cart{ display: none; }
#hh-root .hh-mcard__body{ display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
#hh-root .hh-mcard__title{ font-family: var(--hh-font); font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--hh-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
#hh-root .hh-mcard__title a:hover{ color: var(--hh-accent); }
#hh-root .hh-rating{ display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hh-muted); }
#hh-root .hh-stars{ font-size: 15px; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--hh-accent) var(--r), #d5d9e0 var(--r)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#hh-root .hh-mcard__price{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--hh-text); line-height: 1.25; }
#hh-root .hh-mcard__price ins{ order: 1; text-decoration: none; background: none; }
#hh-root .hh-mcard__price del{ order: 2; font-size: 14px; font-weight: 400; color: var(--hh-muted); }
#hh-root .hh-mcard__price .screen-reader-text{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#hh-root .hh-mcard__note{ font-size: 13px; font-weight: 600; color: var(--hh-accent); }
#hh-root .hh-mcard__wa{ display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 600; color: #15803d; }
#hh-root .hh-mcard__wa .hh-ico{ width: 16px; height: 16px; }
#hh-root.hh-t-vitrina .hh-mcard{ gap: 12px; padding: 10px 10px 16px; border-radius: var(--hh-radius); background: var(--hh-card); transition: box-shadow .3s, transform .3s; }
#hh-root.hh-t-vitrina .hh-mcard:hover{ transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(15, 20, 36, .35); }
#hh-root.hh-t-vitrina .hh-mcard__media{ border-radius: 16px; }
#hh-root.hh-t-vitrina .hh-mcard__body{ padding: 0 6px; }
#hh-root.hh-t-vitrina .hh-mcard__cart{ top: 20px; right: 20px; }
#hh-root.hh-t-vitrina .hh-mcard .hh-badges{ top: 20px; left: 20px; }

/* ---------- Promos verticales ---------- */
#hh-root .hh-tilegrid{ --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; }
#hh-root .hh-tilegrid[data-count="2"]{ --n: 2; }
#hh-root .hh-tilegrid[data-count="1"]{ --n: 1; max-width: 460px; }
#hh-root .hh-tile{ display: block; aspect-ratio: 1080 / 1240; border-radius: var(--hh-radius); overflow: hidden; background: var(--hh-surface); }
#hh-root .hh-tile picture, #hh-root .hh-tile img{ width: 100%; height: 100%; }
#hh-root .hh-tile img{ object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#hh-root a.hh-tile:hover img{ transform: scale(1.03); }

/* ---------- Buscador con mosaico ---------- */
#hh-root .hh-search__box{
	position: relative; padding: 2px; border-radius: 26px; overflow: hidden;
	background: linear-gradient(120deg, var(--hh-accent), #a855f7 38%, #f59e0b 70%, var(--hh-accent));
}
#hh-root .hh-search__mosaic{ display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 14px; border-radius: 24px; background: #fff; }
#hh-root .hh-search__mosaic span{ display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: #f3f4f6; overflow: hidden; }
#hh-root .hh-search__mosaic img{ width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
#hh-root .hh-search__center{
	position: absolute; inset: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	padding: 24px; border-radius: 24px; text-align: center;
	background: radial-gradient(ellipse 52% 62% at 50% 50%, rgba(255, 255, 255, .97) 42%, rgba(255, 255, 255, .8) 66%, rgba(255, 255, 255, .25) 100%);
}
#hh-root .hh-search__box.is-plain .hh-search__center{ position: static; padding: 52px 24px; background: #fff; }
#hh-root .hh-search__center .hh-title{ font-size: clamp(24px, 2.6vw, 36px); }
#hh-root .hh-search__center .hh-sub{ margin: 0 0 8px; }
#hh-root .hh-search__form{
	display: flex; align-items: center; gap: 10px; width: min(640px, 100%); padding: 6px 6px 6px 18px;
	border: 2px solid transparent; border-radius: 999px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--hh-accent), #a855f7, #f59e0b) border-box;
	box-shadow: 0 14px 34px -14px rgba(17, 24, 39, .35);
}
#hh-root .hh-search__form .hh-ico{ color: var(--hh-accent); }
#hh-root .hh-search__form input[type="search"]{
	flex: 1; min-width: 0; height: auto; margin: 0 !important; padding: 10px 4px !important; border: 0 !important; outline: 0;
	background: transparent !important; box-shadow: none !important; font: inherit; font-size: 16px; color: var(--hh-text);
}
#hh-root .hh-search__form button{ flex: none; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--hh-accent); color: var(--hh-accent-ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: filter .2s; }
#hh-root .hh-search__form button:hover{ filter: brightness(1.08); }

/* ---------- Beneficios e Instagram ---------- */
#hh-root .hh-benefits--market .hh-benefits__list{ gap: 14px; }
#hh-root .hh-benefits--market .hh-benefit{ padding: 18px 20px; border-radius: var(--hh-radius); background: var(--hh-surface); }
#hh-root .hh-benefits--market .hh-benefit__ico{ width: 48px; height: 48px; border-radius: 14px; background: var(--hh-accent-soft); }
#hh-root.hh-t-market .hh-benefits--market .hh-benefit__ico{ background: #fff; color: var(--hh-accent); }
#hh-root .hh-instagram--market .hh-ig__tile{ border-radius: var(--hh-radius-sm); }
#hh-root .hh-instagram--market .hh-ig__grid{ gap: 14px; }

@media (max-width: 1100px) {
	#hh-root .hh-mprod .hh-slide{ flex-basis: calc((100% - 3 * 20px) / 4); }
	#hh-root .hh-cat-slider .hh-slide{ flex-basis: calc((100% - 5 * 22px) / 6); }
	#hh-root .hh-categories--tiles .hh-cats{ --n: 4 !important; }
	#hh-root .hh-grid{ grid-template-columns: repeat(3, 1fr); }
	#hh-root .hh-prod-slider .hh-slide{ flex-basis: calc((100% - 2 * var(--hh-gap)) / 3); }
	#hh-root .hh-benefits__list{ grid-template-columns: repeat(2, 1fr); }
	#hh-root .hh-categories--cards .hh-cats,
	#hh-root .hh-categories--editorial .hh-cats{ --cols: 3; grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 1023px) {
	#hh-root .hh-mprod .hh-slide{ flex-basis: calc((100% - 2 * 20px) / 3); }
	#hh-root .hh-cat-slider .hh-slide{ flex-basis: calc((100% - 4 * 22px) / 5); }
	#hh-root .hh-split{ grid-template-columns: 1fr; }
	#hh-root .hh-split__side{ grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	#hh-root .hh-split__item{ aspect-ratio: 3/1.4; }
}

@media (max-width: 767px) {
	/* Marketplace / Vitrina en celular */
	#hh-root .hh-catbar__nav{ gap: 14px; min-height: 50px; font-size: 14px; }
	#hh-root .hh-catbar__all{ padding-right: 14px; }
	#hh-root .hh-catbar__all span, #hh-root .hh-catbar__deals span{ display: none; }
	#hh-root .hh-catbar__deals{ padding-left: 14px; }
	#hh-root .hh-catbar__links{ gap: 18px; }
	#hh-root .hh-hero--market, #hh-root .hh-hero--stage{ padding-top: 12px !important; }
	#hh-root .hh-mhero{ grid-template-columns: 1fr; gap: 12px; }
	#hh-root .hh-hero--market:has(.is-multi) .hh-mhero{ gap: 40px; }
	#hh-root .hh-mhero__side{ aspect-ratio: 3 / 2; }
	#hh-root .hh-cat-slider{ --hh-track-gap: 14px; }
	#hh-root .hh-cat-slider .hh-slide{ flex-basis: 27%; }
	#hh-root .hh-categories--market .hh-cat{ gap: 8px; }
	#hh-root .hh-categories--market .hh-cat__name{ font-size: 13px; }
	#hh-root .hh-categories--tiles .hh-cats{ display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; gap: 10px; scroll-snap-type: x proximity; }
	#hh-root .hh-categories--tiles .hh-cats::-webkit-scrollbar{ display: none; }
	#hh-root .hh-categories--tiles .hh-cat{ flex: 0 0 38%; scroll-snap-align: start; padding: 10px 10px 12px; }
	#hh-root .hh-categories--tiles .hh-cat__name{ font-size: 13.5px; }
	#hh-root .hh-mprod{ margin: 0 -16px; --hh-track-gap: 12px; }
	#hh-root .hh-mprod .hh-slider__track{ padding: 4px 16px 8px; scroll-padding: 0 16px; }
	#hh-root .hh-mprod .hh-slide{ flex-basis: 46%; }
	#hh-root .hh-mcard{ gap: 10px; }
	#hh-root .hh-mcard__title{ font-size: 14px; }
	#hh-root .hh-mcard__price{ font-size: 16.5px; }
	#hh-root .hh-mcard__price del{ font-size: 12.5px; }
	#hh-root .hh-mcard__cart{ width: 34px; height: 34px; top: 8px; right: 8px; }
	#hh-root.hh-t-vitrina .hh-mcard__cart{ top: 14px; right: 14px; }
	#hh-root .hh-tilegrid{ display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; gap: 12px; scroll-snap-type: x mandatory; }
	#hh-root .hh-tilegrid::-webkit-scrollbar{ display: none; }
	#hh-root .hh-tile{ flex: 0 0 76%; scroll-snap-align: center; }
	#hh-root .hh-search__mosaic{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
	#hh-root .hh-search__center{ padding: 16px; background: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(255, 255, 255, .97) 50%, rgba(255, 255, 255, .7) 100%); }
	#hh-root .hh-search__form{ padding-left: 12px; }
	#hh-root .hh-search__form .hh-ico{ display: none; }
	#hh-root .hh-search__form button{ padding: 11px 16px; }
	#hh-root .hh-benefits--market .hh-benefit{ padding: 14px; }

	#hh-root.hh-root{ --hh-gap: 12px; font-size: 14px; }
	#hh-root .hh-wrap{ padding: 0 16px; }
	#hh-root .hh-hero__slider .hh-banner{ aspect-ratio: var(--hh-ar-m, 1/1); }
	#hh-root .hh-slider__btn{ display: none; }
	#hh-root .hh-dots{ bottom: 10px; }
	#hh-root .hh-head{ margin-bottom: 16px; }
	#hh-root .hh-sub{ font-size: 14px; }

	#hh-root .hh-grid{ grid-template-columns: repeat(2, 1fr); }
	#hh-root .hh-card__media{ padding: 12px; }
	#hh-root .hh-card__body{ padding: 10px 12px 12px; gap: 4px; }
	#hh-root .hh-card__title{ font-size: 13.5px; }
	#hh-root .hh-card__price{ font-size: 16px; }
	#hh-root.hh-t-ofertas .hh-card__price{ font-size: 18px; }
	#hh-root .hh-card__note{ font-size: 11.5px; padding: 6px 8px; }
	#hh-root .hh-btn{ min-height: 38px; font-size: 13px; padding: 0 10px; }
	#hh-root .hh-card__actions:has(.hh-btn--cart) .hh-btn--wa{ width: 38px; }
	#hh-root .hh-card__actions:has(.hh-btn--cart) .hh-btn--cart .hh-ico{ display: none; }

	#hh-root .hh-prod-slider{ margin: 0 -16px; }
	#hh-root .hh-prod-slider .hh-slider__track{ padding: 4px 16px 18px; scroll-padding: 0 16px; }
	#hh-root .hh-prod-slider .hh-slide{ flex-basis: 64%; }

	#hh-root .hh-benefits__list{ gap: 14px 12px; }
	#hh-root .hh-benefit{ gap: 10px; }
	#hh-root .hh-benefit__ico{ width: 38px; height: 38px; }
	#hh-root .hh-benefit__ico .hh-ico{ width: 19px; height: 19px; }
	#hh-root .hh-benefit__txt{ font-size: 12px; }
	#hh-root .hh-benefit__txt strong{ font-size: 13px; }
	#hh-root .hh-benefits--cards .hh-benefit{ padding: 16px; gap: 10px; }

	/* Categorías: carrusel horizontal en círculos, píldoras y tarjetas */
	#hh-root .hh-categories--circles .hh-cats,
	#hh-root .hh-categories--chips .hh-cats{
		flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
		margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity;
	}
	#hh-root .hh-categories--circles .hh-cats::-webkit-scrollbar,
	#hh-root .hh-categories--chips .hh-cats::-webkit-scrollbar{ display: none; }
	#hh-root .hh-categories--circles .hh-cat{ width: 92px; flex: none; scroll-snap-align: start; gap: 8px; }
	#hh-root .hh-categories--circles .hh-cat__media{ width: 92px; }
	#hh-root .hh-categories--circles .hh-cat__name{ font-size: 12.5px; }
	#hh-root .hh-categories--chips .hh-cat{ flex: none; padding-right: 16px; }
	#hh-root .hh-categories--chips .hh-cat__media{ width: 40px; height: 40px; }
	#hh-root .hh-categories--chips .hh-cat__name{ font-size: 13px; }

	#hh-root .hh-categories--bento .hh-cats{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
	#hh-root .hh-categories--bento .hh-cat,
	#hh-root .hh-categories--bento .hh-cats[data-count] .hh-cat{ grid-column: span 1 !important; grid-row: span 1 !important; padding: 16px; }
	#hh-root .hh-categories--bento .hh-cat:first-child,
	#hh-root .hh-categories--bento .hh-cats[data-count] .hh-cat:first-child{ grid-column: 1 / -1 !important; grid-row: span 1 !important; }
	#hh-root .hh-categories--bento .hh-cats[data-count="2"] .hh-cat:last-child,
	#hh-root .hh-categories--bento .hh-cats[data-count="4"] .hh-cat:last-child,
	#hh-root .hh-categories--bento .hh-cats[data-count="6"] .hh-cat:last-child,
	#hh-root .hh-categories--bento .hh-cats[data-count="8"] .hh-cat:last-child{ grid-column: 1 / -1 !important; }
	#hh-root .hh-categories--bento .hh-cat__name{ font-size: 15px; }
	#hh-root .hh-categories--bento .hh-cat:not(:first-child) .hh-cat__cta{ display: none; }
	#hh-root .hh-categories--bento .hh-cat:first-child .hh-cat__name{ font-size: 21px; }
	#hh-root .hh-categories--bento .hh-cat__media{ width: 56%; height: 62%; }
	#hh-root .hh-categories--bento .hh-cat:first-child .hh-cat__media{ width: 46%; height: 80%; right: 10px; bottom: 10px; padding: 10px; }

	#hh-root .hh-categories--cards .hh-cats,
	#hh-root .hh-categories--editorial .hh-cats{ grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
	#hh-root .hh-categories--cards .hh-cat{ padding: 10px 10px 14px; gap: 12px; }
	#hh-root .hh-categories--cards .hh-cat__name{ font-size: 14px; }
	#hh-root .hh-categories--editorial .hh-cats{ gap: 22px 12px; }
	#hh-root .hh-categories--editorial .hh-cat{ gap: 10px; }
	#hh-root .hh-categories--editorial .hh-cat__name{ font-size: 18px; }

	#hh-root .hh-split{ gap: 10px; padding-top: 12px; }
	#hh-root .hh-split__side{ grid-template-columns: 1fr; gap: 10px; }
	#hh-root .hh-split__item{ aspect-ratio: auto; }
	#hh-root .hh-split__item picture, #hh-root .hh-split__item img{ position: static; height: auto; }

	#hh-root .hh-promos{ grid-template-columns: 1fr !important; gap: 10px; }

	#hh-root .hh-ig__grid{ grid-template-columns: repeat(3, 1fr) !important; gap: 6px; }
	#hh-root .hh-ig__grid[data-count="4"], #hh-root .hh-ig__grid[data-count="8"]{ grid-template-columns: repeat(2, 1fr) !important; }
	#hh-root .hh-ig-slider .hh-slide{ flex-basis: 44%; }
	#hh-root .hh-ig__head{ flex-direction: row; align-items: center; }
	#hh-root .hh-ig__head .hh-title{ font-size: 20px; }
	#hh-root .hh-btn--ig{ padding: 0 14px; }

	#hh-root .hh-hero--boxed{ padding-top: 12px !important; }
	#hh-root .hh-hero--boxed .hh-wrap{ padding: 0 12px; }
	#hh-root.hh-t-moderna{ --hh-radius: 20px; }
	#hh-root.hh-t-minimal .hh-grid{ gap: 24px 12px; }
	#hh-root.hh-t-minimal .hh-card__media{ padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	#hh-root.hh-root *, #hh-root.hh-root *::before, #hh-root.hh-root *::after{ transition: none !important; animation: none !important; }
	#hh-root .hh-slider__track{ scroll-behavior: auto; }
}
