/* ==========================================================================
   SebasPeru — diseño v3 (fase 9): cabecera v3 y ficha de producto v3 según la maqueta del cliente.
   Se carga después de main.css, v2.css y pdp2.css con la cabecera v3 o en una ficha v3
   (inc/variants.php). Las variables --sp3-navy y --sp3-logo-h salen de #sebas-v3-inline-css.
   Los grupos tipográficos del panel (fase 8) mandan sobre estas reglas.
   ========================================================================== */

/* ==========================================================================
   Cabecera v3
   ========================================================================== */
.sp-hdr--v3 { --sp3-maxw: 1540px; --sp3-pad: 24px; }

/* ---------- Barra superior: 3 mensajes con ícono (carrusel en < 1200 px) ---------- */
.sp-hdr--v3 .sp-topbar.sp-tb3 { display: block; background: var(--sp-highlight); color: var(--sp-ink); font-size: 14px; }
.sp-hdr--v3 .sp-tb3__list {
	display: flex; justify-content: center; align-items: center; min-height: 38px; list-style: none;
	max-width: var(--sp3-maxw); margin: 0 auto; padding: 0 var(--sp3-pad);
}
.sp-hdr--v3 .sp-tb3__item {
	display: flex; align-items: center; gap: 10px; padding: 0 28px; position: relative;
	white-space: nowrap; font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--sp-ink);
}
.sp-hdr--v3 .sp-tb3__item strong { font-weight: 700; }
.sp-hdr--v3 .sp-tb3__item + .sp-tb3__item::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px; margin-top: -8px; background: rgba(15, 28, 46, .3);
}
.sp-hdr--v3 .sp-tb3__ic { flex: 0 0 auto; width: 22px; height: 22px; stroke-width: 2; color: var(--sp-ink); }
.sp-hdr--v3 .sp-tb3__link { color: inherit; }
.sp-hdr--v3 .sp-tb3__link:hover { color: inherit; text-decoration: underline; }
.sp-hdr--v3 .sp-tb3 :focus-visible { outline: 2px solid var(--sp-ink); outline-offset: 2px; }

@media (min-width: 1200px) and (max-width: 1359px) {
	.sp-hdr--v3 .sp-tb3__item { font-size: 13px; }
}

@media (max-width: 1199px) {
	.sp-hdr--v3 .sp-tb3__list {
		position: relative; padding-inline: 0; justify-content: flex-start; overflow-x: auto;
		scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
	}
	.sp-hdr--v3 .sp-tb3__list::-webkit-scrollbar { display: none; }
	.sp-hdr--v3 .sp-tb3__item {
		flex: 0 0 100%; justify-content: center; scroll-snap-align: center; padding: 4px 16px;
		white-space: normal; text-align: center; font-size: 13px; line-height: 1.3;
	}
	.sp-hdr--v3 .sp-tb3__item + .sp-tb3__item::before { content: none; display: none; }
	.sp-hdr--v3 .sp-tb3__ic { width: 20px; height: 20px; }
}

/* ---------- Barra azul: logo, buscador, cuenta y carrito ---------- */
.sp-hdr--v3 .sp-header.sp-header--v3 { background: var(--sp-primary); }
.sp-hdr--v3 .sp-header--v3 .sp-mkt__inner {
	max-width: var(--sp3-maxw); margin: 0 auto; padding: 20px var(--sp3-pad);
	display: flex; flex-wrap: nowrap; align-items: center; gap: 0;
}
.sp-hdr--v3 .sp-header--v3 .sp-logo--header .sp-logo__img { height: var(--sp3-logo-h, 56px); width: auto; max-width: 300px; }

/* Buscador sin selector (activable), lupa a la izquierda y botón amarillo */
.sp-hdr--v3 .sp-search.sp-search--v3 {
	position: relative; flex: 1 1 auto; min-width: 0; max-width: 800px; height: 48px; margin: 0 48px 0 36px;
	border-radius: 8px; background: #fff;
}
.sp-hdr--v3 .sp-search--v3 .sp-search__lead {
	position: absolute; left: 16px; top: 50%; z-index: 1; transform: translateY(-50%);
	display: flex; width: 20px; height: 20px; color: #475569; pointer-events: none;
}
.sp-hdr--v3 .sp-search--v3 .sp-search__lead svg { width: 20px; height: 20px; }
.sp-hdr--v3 .sp-search--v3.has-cat .sp-search__lead { display: none; }
.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__input { padding: 0 16px 0 48px; font-size: 16px; color: var(--sp-ink); }
.sp-hdr--v3 .sp-search.sp-search--v3:not(.has-cat) .sp-search__input { border-radius: 8px 0 0 8px; }
.sp-hdr--v3 .sp-search.sp-search--v3.has-cat .sp-search__input { padding-left: 16px; }
.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__cat { border-radius: 8px 0 0 8px; }
.sp-hdr--v3 .sp-search--v3 .sp-search__input::placeholder { color: #64748b; opacity: 1; }
.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__btn {
	flex: 0 0 64px; width: 64px; background: var(--sp-highlight); color: var(--sp-ink); border-radius: 0 8px 8px 0;
}
.sp-hdr--v3 .sp-search--v3 .sp-search__btn svg { width: 24px; height: 24px; stroke-width: 2.2; }
.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__btn:hover { background: #f5c518; color: var(--sp-ink); }

/* Acciones */
.sp-hdr--v3 .sp-header--v3 .sp-mkt__actions { display: flex; align-items: center; gap: 40px; margin-left: auto; flex-shrink: 0; }

/* Cuenta con desplegable */
.sp-hdr--v3 .sp-acc3 { position: relative; }
.sp-hdr--v3 .sp-acc3__btn { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-align: left; }
.sp-hdr--v3 .sp-acc3__btn:hover { color: #fff; }
.sp-hdr--v3 .sp-acc3__ic { flex: 0 0 auto; width: 30px; height: 30px; }
.sp-hdr--v3 .sp-acc3__col { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.sp-hdr--v3 .sp-acc3__t { font-size: 14.5px; font-weight: 700; }
.sp-hdr--v3 .sp-acc3__s { font-size: 13px; font-weight: 400; color: #fff; }
.sp-hdr--v3 .sp-acc3__chev { flex: 0 0 auto; width: 16px; height: 16px; transition: transform .2s; }
.sp-hdr--v3 .sp-acc3__btn[aria-expanded="true"] .sp-acc3__chev { transform: rotate(180deg); }
.sp-hdr--v3 .sp-acc3__menu {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: 280px; padding: 16px;
	background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .18); color: var(--sp-ink); text-align: left;
}
.sp-hdr--v3 .sp-acc3__menu[hidden] { display: none; }
.sp-hdr--v3 .sp-acc3__menu :focus-visible { outline: 2px solid var(--sp-primary); outline-offset: 2px; }
.sp-hdr--v3 .sp-acc3__hello { margin: 0 0 12px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--sp-ink); }
.sp-hdr--v3 .sp-acc3__mail { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: #64748b; overflow-wrap: anywhere; }
.sp-hdr--v3 .sp-acc3__login { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 16px; }
.sp-hdr--v3 .sp-acc3__register {
	display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 4px;
	font-size: 13.5px; font-weight: 600; color: var(--sp-primary);
}
.sp-hdr--v3 .sp-acc3__register:hover { text-decoration: underline; }
.sp-hdr--v3 .sp-acc3__links { margin: 8px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid #e6eaf0; }
.sp-hdr--v3 .sp-acc3__hello + .sp-acc3__links { margin-top: 0; }
.sp-hdr--v3 .sp-acc3__links a {
	display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px; border-radius: 8px;
	font-size: 14px; color: var(--sp-ink);
}
.sp-hdr--v3 .sp-acc3__links a:hover { background: #f5f7fa; color: var(--sp-ink); }
.sp-hdr--v3 .sp-acc3__links svg { color: #475569; }

/* Carrito con contador y total */
.sp-hdr--v3 .sp-header--v3 .sp-cart-btn.sp-cart-btn--v3 { min-height: 44px; padding: 0; background: transparent; border: 0; color: #fff; }
.sp-hdr--v3 .sp-cart-data--v3 { gap: 16px; }
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-btn__ic svg { width: 32px; height: 32px; }
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-count,
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-count.is-empty {
	top: -6px; right: -8px; display: flex; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--sp-highlight); color: var(--sp-ink); font-size: 11.5px; font-weight: 800; line-height: 1;
}
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-btn__col { line-height: 1.25; }
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-btn__col .sp-cart-btn__label { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-btn__col .sp-cart-btn__total { font-size: 13.5px; font-weight: 400; letter-spacing: 0; opacity: 1; color: #fff; white-space: nowrap; }

/* ---------- Barra blanca: Todas las categorías, accesos con ícono y ofertas (≥ 1024 px) ---------- */
@media (min-width: 1024px) {
	.sp-hdr--v3 .sp-mkt-nav.sp-mkt-nav--v3 { background: #fff; border-bottom: 1px solid #e6eaf0; box-shadow: 0 2px 6px rgba(15, 23, 42, .05); }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__inner {
		max-width: var(--sp3-maxw); margin: 0 auto; padding: 0 var(--sp3-pad); height: 52px;
		display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600;
	}
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-allcats-btn {
		flex-shrink: 0; width: 260px; height: 44px; margin: 0; padding: 0 20px; gap: 12px; border-radius: 6px;
		background: var(--sp3-navy); color: #fff; font-size: 16px; font-weight: 600;
	}
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-allcats-btn svg { width: 22px; height: 22px; }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-allcats-btn:hover,
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-allcats-btn[aria-expanded="true"] { background: var(--sp3-navy); color: #fff; filter: brightness(1.15); }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick {
		flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0; list-style: none; overflow: hidden;
		display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center;
	}
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick a {
		display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px;
		color: var(--sp-ink); font-size: 15px; font-weight: 600; white-space: nowrap;
	}
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick a:hover { color: var(--sp-primary); }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick a:focus-visible,
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__offers:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: -2px; }
	.sp-hdr--v3 .sp-mkt-nav__ic { flex: 0 0 auto; width: 20px; height: 20px; stroke-width: 1.7; }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__offers {
		flex-shrink: 0; margin-left: 8px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px;
		color: #dc2626; font-size: 15px; font-weight: 700; white-space: nowrap;
	}
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__offers:hover { color: #b91c1c; }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__offers svg { width: 20px; height: 20px; }

	/* Desplegable "Todas las categorías" (el de la fase 6) con íconos */
	.sp-hdr--v3 .sp-nav--v3 .sp-nav__link { justify-content: flex-start; gap: 12px; }
	.sp-hdr--v3 .sp-nav--v3 .sp-nav__chev { margin-left: auto; }
	.sp-hdr--v3 .sp-nav--v3 .sp-nav3__quick { display: none; }
}
.sp-hdr--v3 .sp-nav__ic { display: inline-flex; flex: 0 0 20px; width: 20px; height: 20px; color: var(--sp-ink); }
.sp-hdr--v3 .sp-nav__ic svg { width: 20px; height: 20px; }

/* De 1200 a 1359 px los 7 accesos caben en una línea con menos aire entre ellos. */
@media (min-width: 1200px) and (max-width: 1359px) {
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick a { gap: 8px; padding: 0 6px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.sp-hdr--v3 .sp-header--v3 .sp-mkt__inner { padding-block: 16px; }
	.sp-hdr--v3 .sp-header--v3 .sp-logo--header .sp-logo__img { height: calc(var(--sp3-logo-h, 56px) * .86); max-width: 240px; }
	.sp-hdr--v3 .sp-search.sp-search--v3 { margin: 0 24px; }
	.sp-hdr--v3 .sp-header--v3 .sp-mkt__actions { gap: 24px; }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-allcats-btn { width: auto; }
	.sp-hdr--v3 .sp-mkt-nav--v3 .sp-mkt-nav__quick a { padding: 0 8px; font-size: 14px; }
	.sp-hdr--v3 .sp-mkt-nav__ic { width: 18px; height: 18px; }
}

/* ---------- Tableta y móvil: hamburguesa, solo íconos y cajón ---------- */
@media (max-width: 1023px) {
	.sp-hdr--v3 .sp-header--v3 .sp-mkt__inner { padding-block: 12px; }
	.sp-hdr--v3 .sp-header--v3 .sp-burger { margin-right: 12px; }
	.sp-hdr--v3 .sp-header--v3 .sp-logo--header .sp-logo__img { height: calc(var(--sp3-logo-h, 56px) * .72); max-width: 190px; }
	.sp-hdr--v3 .sp-search.sp-search--v3 { flex: 1 1 auto; margin: 0 16px; }
	.sp-hdr--v3 .sp-header--v3 .sp-mkt__actions { gap: 4px; }
	.sp-hdr--v3 .sp-acc3__btn { justify-content: center; width: 44px; height: 44px; padding: 0; }
	.sp-hdr--v3 .sp-acc3__ic { width: 28px; height: 28px; }
	.sp-hdr--v3 .sp-acc3__col {
		position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
		overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
	}
	.sp-hdr--v3 .sp-acc3__chev { display: none; }
	.sp-hdr--v3 .sp-cart-data--v3 .sp-cart-btn__ic svg { width: 28px; height: 28px; }

	/* Cajón: categorías destacadas con ícono, menú completo, ofertas y cuenta */
	.sp-hdr--v3 .sp-nav.sp-nav--v3 { overflow-y: auto; }
	.sp-hdr--v3 .sp-nav--v3 .sp-nav__inner { flex: 0 0 auto; overflow: visible; }
	.sp-hdr--v3 .sp-nav3__quick { display: block; padding: 8px 16px 0; }
	.sp-hdr--v3 .sp-nav3__title { margin: 10px 4px 4px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
	.sp-hdr--v3 .sp-nav3__quick ul { margin: 0 0 6px; padding: 0 0 6px; list-style: none; border-bottom: 1px solid var(--sp-line); }
	.sp-hdr--v3 .sp-nav3__quick a {
		display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px;
		font-size: 15px; font-weight: 600; color: var(--sp-ink);
	}
	.sp-hdr--v3 .sp-nav3__quick a:hover { color: var(--sp-primary); }
	.sp-hdr--v3 .sp-nav3__quick svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--sp-primary); }
	.sp-hdr--v3 .sp-nav--v3 .sp-nav__link { min-height: 44px; padding: 10px 4px; gap: 12px; font-size: 15px; font-weight: 600; justify-content: flex-start; }
}

@media (max-width: 767px) {
	.sp-hdr--v3 { --sp3-pad: 16px; }
	.sp-hdr--v3 .sp-tb3__item { font-size: 12.5px; }
	.sp-hdr--v3 .sp-tb3__ic { width: 18px; height: 18px; }
	.sp-hdr--v3 .sp-header--v3 .sp-mkt__inner { flex-wrap: wrap; padding-block: 10px 12px; row-gap: 10px; }
	.sp-hdr--v3 .sp-header--v3 .sp-logo--header .sp-logo__img { height: calc(var(--sp3-logo-h, 56px) * .6); max-width: 150px; }
	.sp-hdr--v3 .sp-search.sp-search--v3 { order: 5; flex: 1 1 100%; margin: 0; height: 46px; }
	.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__input { font-size: 15px; }
	.sp-hdr--v3 .sp-search.sp-search--v3 .sp-search__btn { flex-basis: 56px; width: 56px; }
	.sp-hdr--v3 .sp-acc3__menu { width: min(280px, calc(100vw - 32px)); }
}

/* ==========================================================================
   Ficha de producto v3 (layout T9)
   ========================================================================== */
body.sp-pdp--v3, body.sp-pdp--v3 .sp-main { background: #f6f8fb; }
body.sp-pdp--v3 .sp-container.sp-wc { max-width: 1540px; padding: 0 24px; }

/* ---------- Grilla ---------- */
.sp-pdp--v3 .sp-pdp2.sp-pdp2--v3 {
	max-width: none; padding: 16px 0 64px; column-gap: 24px; row-gap: 24px;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 380px; grid-template-rows: auto auto 1fr auto;
	grid-template-areas: "crumb crumb aside" "gallery info aside" "main main aside" "full full full";
}
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__aside { align-self: start; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info { gap: 0; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > * { margin-top: 0; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp2__title { margin-top: 12px; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp3__rating { margin-top: 6px; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp2__short { margin-top: 18px; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp3__features { margin-top: 18px; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp2__seller,
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > .sp-pdp2__wa { margin-top: 16px; }
.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__info > :first-child { margin-top: 0; }

@media (min-width: 1200px) and (max-width: 1439px) {
	.sp-pdp--v3 .sp-pdp2.sp-pdp2--v3 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 340px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.sp-pdp--v3 .sp-pdp2.sp-pdp2--v3 {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none;
		grid-template-areas: "crumb crumb" "gallery info" "gallery aside" "main main" "full full";
	}
	.sp-pdp--v3 .sp-pdp2--v3 .sp-pdp2__aside { display: flex; flex-direction: column; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.sp-pdp--v3 .sp-pdp2.sp-pdp2--v3 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none;
		grid-template-areas: "crumb crumb" "gallery info" "aside aside" "main main" "full full";
	}
}
@media (max-width: 767px) {
	body.sp-pdp--v3 .sp-container.sp-wc { padding: 0 16px; }
	.sp-pdp--v3 .sp-pdp2.sp-pdp2--v3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: none; row-gap: 20px; }
	.sp-pdp--v3 .sp-pdp2--v3 > [data-pdp-region] { grid-area: auto; }
}

/* ---------- Migas ---------- */
.sp-pdp--v3 .sp-crumb.sp-crumb--v3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 14px; line-height: 1.4; color: #475569; }
.sp-pdp--v3 .sp-crumb--v3 a { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: #475569; }
.sp-pdp--v3 .sp-crumb--v3 a:hover { color: var(--sp-primary); }
.sp-pdp--v3 .sp-crumb--v3 .sp-crumb__sep { display: inline-flex; align-items: center; color: #94a3b8; }
.sp-pdp--v3 .sp-crumb--v3 .sp-crumb__current { color: #334155; overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.sp-pdp--v3 .sp-crumb.sp-crumb--v3 { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.sp-pdp--v3 .sp-crumb.sp-crumb--v3::-webkit-scrollbar { display: none; }
	.sp-pdp--v3 .sp-crumb--v3 a, .sp-pdp--v3 .sp-crumb--v3 .sp-crumb__sep { flex-shrink: 0; }
}

/* ---------- Galería en tarjeta ---------- */
.sp-pdp--v3 .sp-pdp3__gallery { background: #fff; border: 1px solid #e6eaf0; border-radius: 12px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); padding: 16px; }
.sp-pdp--v3 .sp-pdp2 div.images.sp-gallery.sp-gallery--v3 { display: flex; flex-direction: column; gap: 16px; }
.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__stage { aspect-ratio: 3 / 2; border: 0; border-radius: 8px; background: #fff; }
.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__stage img.wp-post-image { width: 92% !important; height: 92% !important; }
.sp-pdp--v3 .sp-gallery__nav,
.sp-pdp--v3 .sp-gallery__expand {
	position: absolute; z-index: 2; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--sp-ink);
	box-shadow: 0 2px 10px rgba(15, 23, 42, .15); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	transition: color .15s, box-shadow .15s;
}
.sp-pdp--v3 .sp-gallery__nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.sp-pdp--v3 .sp-gallery__nav--prev { left: 4px; }
.sp-pdp--v3 .sp-gallery__nav--next { right: 4px; }
.sp-pdp--v3 .sp-gallery__nav svg { width: 22px; height: 22px; stroke-width: 2; }
.sp-pdp--v3 .sp-gallery__expand { top: 4px; right: 4px; width: 40px; height: 40px; }
.sp-pdp--v3 .sp-gallery__expand svg { width: 18px; height: 18px; stroke-width: 2; }
.sp-pdp--v3 .sp-gallery__nav[hidden], .sp-pdp--v3 .sp-gallery__expand[hidden] { display: none; }
.sp-pdp--v3 .sp-gallery__nav:hover, .sp-pdp--v3 .sp-gallery__expand:hover { color: var(--sp-primary); box-shadow: 0 4px 14px rgba(15, 23, 42, .2); }
.sp-pdp--v3 .sp-gallery__nav:focus-visible, .sp-pdp--v3 .sp-gallery__expand:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: 2px; }
.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__thumbs { gap: 12px; }
.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__thumb {
	flex: 0 0 calc((100% - 48px) / 5); width: auto; height: auto; aspect-ratio: 12 / 11;
	padding: 6px; border: 1px solid #e3e8ef; border-radius: 8px;
}
.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__thumb.is-active { border: 2px solid var(--sp-primary); padding: 5px; }

/* ---------- Información ---------- */
.sp-pdp--v3 .sp-pdp3__brand-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 10px; min-height: 36px; }
.sp-pdp--v3 .sp-pdp3__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sp-pdp--v3 .sp-pdp3__brand-img { display: block; max-height: 20px; width: auto; max-width: 120px; object-fit: contain; }
.sp-pdp--v3 .sp-pdp3__brand--text { font-size: 20px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--sp-primary); text-transform: none; }
.sp-pdp--v3 a.sp-pdp3__brand--text:hover { color: var(--sp-primary-hover); }

/* Ficha v3: sin flechas en la fila de miniaturas; las flechas de la imagen principal ya
   recorren las imágenes y desplazan la fila hasta la miniatura activa (gallery.js). */
.sp-pdp--v3 .sp-gallery__rail .sp-gallery__arrow { display: none !important; }
.sp-pdp--v3 .sp-pdp2 .sp-pdp2__title {
	margin: 16px 0 0; font-size: 24.5px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em;
	text-transform: none; color: var(--sp-ink);
}

/* Código de producto junto a la marca (a su derecha) y "Compartir" al final de la misma fila. */
.sp-pdp--v3 .sp-pdp3__sku { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.25; color: #475569; overflow-wrap: anywhere; }
.sp-pdp--v3 .sp-pdp3__brand + .sp-pdp3__sku { padding-left: 10px; border-left: 1px solid #d5dce8; }
.sp-pdp--v3 .sp-pdp3__share-wrap { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sp-pdp--v3 .sp-pdp3__share {
	display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 0; border: 0; background: none;
	color: #475569; font-size: 14px; font-weight: 600; cursor: pointer;
}
.sp-pdp--v3 .sp-pdp3__share[hidden] { display: none; }
.sp-pdp--v3 .sp-pdp3__share:hover { color: var(--sp-ink); text-decoration: underline; }
.sp-pdp--v3 .sp-pdp3__share:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: 2px; }
.sp-pdp--v3 .sp-pdp3__share-wrap .sp-pdp2__share-msg { padding: 4px 10px; border-radius: 999px; background: var(--sp-ink); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }

.sp-pdp--v3 .sp-pdp3__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; line-height: 1.4; }
.sp-pdp--v3 .sp-pdp3__rating .sp-stars { gap: 2px; }
.sp-pdp--v3 .sp-pdp3__rating .sp-stars .is-on { color: #f5b301; }
.sp-pdp--v3 .sp-pdp3__rating .sp-stars .is-off { color: #d5dce8; }
.sp-pdp--v3 .sp-pdp3__avg { font-weight: 800; color: var(--sp-ink); }
/* #5b6b80 (y no #64748b) para cumplir AA sobre el fondo gris de la página. */
.sp-pdp--v3 .sp-pdp3__count { color: #5b6b80; text-decoration: none; }
.sp-pdp--v3 .sp-pdp3__count:hover { color: #5b6b80; text-decoration: underline; }
.sp-pdp--v3 .sp-pdp3__empty { color: #5b6b80; }
.sp-pdp--v3 .sp-pdp3__sep { display: inline-block; width: 1px; height: 16px; background: #cbd5e1; }
.sp-pdp--v3 .sp-pdp3__write { color: var(--sp-primary); text-decoration: underline; text-underline-offset: 3px; }
.sp-pdp--v3 .sp-pdp3__write:hover { color: var(--sp-primary-hover); }

.sp-pdp--v3 .sp-pdp2 .sp-pdp2__short { font-size: 15px; line-height: 1.6; color: #334155; }

.sp-pdp--v3 .sp-pdp3__features { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sp-pdp--v3 .sp-pdp3__feature { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: #1e293b; }
.sp-pdp--v3 .sp-pdp3__check {
	flex: 0 0 22px; width: 22px; height: 22px; margin-top: -1px; border-radius: 50%;
	background: var(--sp-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.sp-pdp--v3 .sp-pdp3__check svg { width: 14px; height: 14px; stroke-width: 3; }
.sp-pdp--v3 .sp-pdp3__ftext strong { font-weight: 700; color: var(--sp-ink); }

/* ---------- Caja de compra ---------- */
.sp-pdp--v3 .sp-pdp2__buybox.sp-pdp3__buy {
	padding: 18px; background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
	display: flex; flex-direction: column; gap: 14px;
}
.sp-pdp--v3 .sp-pdp3__stock {
	display: flex; align-items: center; gap: 10px; min-height: 38px; margin: 0; padding: 8px 12px; border-radius: 8px;
	font-size: 15px; font-weight: 600; line-height: 1.3;
}
.sp-pdp--v3 .sp-pdp3__stock svg { flex: 0 0 20px; width: 20px; height: 20px; }
.sp-pdp--v3 .sp-pdp3__stock.is-instock { background: #ecfdf3; color: #166534; }
.sp-pdp--v3 .sp-pdp3__stock.is-instock svg { color: #16a34a; }
.sp-pdp--v3 .sp-pdp3__stock.is-low { background: #fff7ed; color: #9a3412; }
.sp-pdp--v3 .sp-pdp3__stock.is-low svg { color: #ea580c; }
.sp-pdp--v3 .sp-pdp3__stock.is-backorder { background: #eff6ff; color: #1e40af; }
.sp-pdp--v3 .sp-pdp3__stock.is-backorder svg { color: #2563eb; }
.sp-pdp--v3 .sp-pdp3__stock.is-out { background: #fef2f2; color: #b91c1c; }
.sp-pdp--v3 .sp-pdp3__stock.is-out svg { color: #dc2626; }

.sp-pdp--v3 .sp-pdp3__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.sp-pdp--v3 .sp-pdp3__now { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--sp3-price, #1b2437); }
.sp-pdp--v3 .sp-pdp3__now.is-range { font-size: 28px; }
.sp-pdp--v3 .sp-pdp3__now .amount { color: inherit; }
.sp-pdp--v3 .sp-pdp3__save { padding: 6px 10px; border-radius: 6px; background: #fee2e2; color: #b91c1c; font-size: 17px; font-weight: 600; line-height: 1.2; }
.sp-pdp--v3 .sp-pdp3__save .amount { color: inherit; }
.sp-pdp--v3 .sp-pdp3__price-sub { display: flex; align-items: baseline; gap: 16px; margin-top: 6px; }
.sp-pdp--v3 .sp-pdp3__old { font-size: 19px; color: #64748b; text-decoration: line-through; }
.sp-pdp--v3 .sp-pdp3__old .amount { color: inherit; }
.sp-pdp--v3 .sp-pdp3__tax { font-size: 15px; color: #64748b; }

/* Formulario: cantidad, añadir, filas y comprar ahora */
.sp-pdp--v3 .sp-pdp3__buy form.cart,
.sp-pdp--v3 .sp-pdp3__buy .single_variation_wrap,
.sp-pdp--v3 .sp-pdp3__buy .woocommerce-variation-add-to-cart { gap: 14px; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow { font-size: 16px; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow div.quantity { height: 42px; border: 1px solid #d5dce8; border-radius: 6px; outline: 0; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow .sp-qty-btn { width: 46px; flex: 0 0 46px; background: #fff; color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow .sp-qty-minus { border-right: 1px solid #e6eaf0; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow .sp-qty-plus { border-left: 1px solid #e6eaf0; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow .sp-qty-btn.is-min { color: #94a3b8; }
.sp-pdp--v3 .sp-pdp3__buy .sp-qtyrow input.qty { font-size: 15px; font-weight: 700; }
.sp-pdp--v3 .sp-pdp3__buy form.cart .single_add_to_cart_button {
	height: 56px; gap: 12px; border-radius: 8px !important; background: var(--sp-primary) !important;
	font-size: 15px !important; font-weight: 800 !important; letter-spacing: .01em !important; text-transform: uppercase !important;
}
.sp-pdp--v3 .sp-pdp3__buy form.cart .single_add_to_cart_button::before {
	content: ""; flex: 0 0 26px; width: 26px; height: 26px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.4 12.2a1.5 1.5 0 0 0 1.5 1.3h8.4a1.5 1.5 0 0 0 1.5-1.2L22 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.4 12.2a1.5 1.5 0 0 0 1.5 1.3h8.4a1.5 1.5 0 0 0 1.5-1.2L22 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-pdp--v3 .sp-pdp3__buy form.cart .sp-buy-now {
	height: 56px; gap: 12px; border-radius: 8px !important; background: var(--sp3-navy) !important; color: #fff !important;
	font-size: 15px !important; font-weight: 800 !important; letter-spacing: .01em !important; text-transform: uppercase !important;
}
.sp-pdp--v3 .sp-pdp3__buy form.cart .sp-buy-now:hover { background: var(--sp3-navy) !important; filter: brightness(1.15); }
/* "Añadir al carrito" y "Comprar ahora" juntos (las filas de entrega y confianza van después). */
.sp-pdp--v3 .sp-pdp3__buy form.cart .sp-buy-now { margin-top: -6px !important; }
.sp-pdp--v3 .sp-pdp3__buy form.cart .sp-buy-now svg { flex: 0 0 22px; width: 22px; height: 22px; }
.sp-pdp--v3 .sp-pdp3__buy form.cart button:focus-visible,
.sp-pdp--v3 .sp-pdp3__buy summary:focus-visible,
.sp-pdp--v3 .sp-pdp3__buy a:focus-visible { outline: 2px solid var(--sp-primary) !important; outline-offset: 2px; }

.sp-pdp--v3 .sp-pdp3__rows { display: flex; flex-direction: column; gap: 14px; }

/* Entrega */
.sp-pdp--v3 .sp-pdp3__ship {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
	padding: 12px 14px; border: 1px solid #e6eaf0; border-radius: 8px;
}
.sp-pdp--v3 .sp-pdp3__ship-ic { width: 30px; height: 30px; stroke-width: 1.6; color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__ship-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sp-pdp--v3 .sp-pdp3__ship-eta { font-size: 15px; font-weight: 700; color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__ship-dest { font-size: 13.5px; color: #64748b; }
.sp-pdp--v3 .sp-pdp3__ship-change {
	min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--sp-primary);
	font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sp-pdp--v3 .sp-pdp3__ship-change[hidden] { display: none; }
.sp-pdp--v3 .sp-pdp3__dest { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.sp-pdp--v3 .sp-pdp3__dest[hidden] { display: none; }
.sp-pdp--v3 .sp-pdp3__dest-opt {
	min-height: 36px; padding: 0 14px; border: 1px solid #d5dce8; border-radius: 999px; background: #fff;
	color: var(--sp-ink); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.sp-pdp--v3 .sp-pdp3__dest-opt[aria-pressed="true"] { border-color: var(--sp-primary); background: #eef3ff; color: var(--sp-primary); }

/* Confianza */
.sp-pdp--v3 .sp-pdp3__trust { display: flex; flex-direction: column; gap: 6px; }
.sp-pdp--v3 .sp-pdp3__trow--secure,
.sp-pdp--v3 .sp-pdp3__trow > summary {
	display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px;
	min-height: 52px; padding: 8px 2px; list-style: none;
}
.sp-pdp--v3 .sp-pdp3__trow > summary { cursor: pointer; }
.sp-pdp--v3 .sp-pdp3__trow > summary::-webkit-details-marker { display: none; }
.sp-pdp--v3 .sp-pdp3__trow > svg,
.sp-pdp--v3 .sp-pdp3__trow > summary > svg:first-child { width: 30px; height: 30px; stroke-width: 1.6; color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__tcol { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sp-pdp--v3 .sp-pdp3__tt { font-size: 15px; font-weight: 700; color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__ts { font-size: 13.5px; color: #64748b; }
.sp-pdp--v3 .sp-pdp3__tchev { width: 18px; height: 18px; color: var(--sp-ink); transition: transform .2s; }
.sp-pdp--v3 .sp-pdp3__trow[open] > summary .sp-pdp3__tchev { transform: rotate(90deg); }
.sp-pdp--v3 .sp-pdp3__tbody { padding: 4px 2px 8px 44px; font-size: 13.5px; line-height: 1.5; color: #334155; }
.sp-pdp--v3 .sp-pdp3__tbody p { margin: 0 0 8px; }
.sp-pdp--v3 .sp-pdp3__tbody p:last-child { margin-bottom: 0; }

/* Tiendas */
.sp-pdp--v3 .sp-pdp3__store {
	display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px;
	padding: 12px 14px; border-radius: 10px; background: #f1f5fb; color: var(--sp-ink);
}
.sp-pdp--v3 a.sp-pdp3__store:hover { color: var(--sp-ink); }
.sp-pdp--v3 .sp-pdp3__store > svg { width: 30px; height: 30px; stroke-width: 1.6; }
.sp-pdp--v3 .sp-pdp3__store-col { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sp-pdp--v3 .sp-pdp3__store-col b { font-size: 14.5px; font-weight: 700; }
/* #5b6b80 (y no #64748b) para cumplir AA sobre el fondo #f1f5fb de la tarjeta. */
.sp-pdp--v3 .sp-pdp3__store-col span { font-size: 13.5px; color: #5b6b80; }
.sp-pdp--v3 .sp-pdp3__store-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; color: var(--sp-primary); white-space: nowrap; }
.sp-pdp--v3 a.sp-pdp3__store:hover .sp-pdp3__store-link { text-decoration: underline; }

/* ---------- Responsive de la ficha ---------- */
@media (max-width: 767px) {
	.sp-pdp--v3 .sp-pdp3__gallery { padding: 12px; }
	.sp-pdp--v3 .sp-pdp2 .sp-gallery.sp-gallery--v3 .sp-gallery__stage { aspect-ratio: 1 / 1; }
	.sp-pdp--v3 .sp-gallery__nav { width: 40px; height: 40px; }
	.sp-pdp--v3 .sp-pdp2 .sp-pdp2__title { font-size: 21px; }
	.sp-pdp--v3 .sp-pdp3__now:not(.is-range) { font-size: 34px; }
}

/* ==========================================================================
   Cabecera v3 fija al hacer scroll (opción hdr3_sticky, clase body.sp-hdr3--sticky)
   La barra superior amarilla se desplaza y se oculta; la barra azul y la de categorías quedan fijas.
   header-v3.js mide la barra amarilla (--sp3-tb-h) y la altura fija (--sp3-stick-h); sin JS valen
   los valores de respaldo (38 px y 149 px).
   ========================================================================== */
body.sp-hdr3--sticky { --sp3-adminbar: 0px; }
body.sp-hdr3--sticky.admin-bar { --sp3-adminbar: 32px; }
@media (max-width: 782px) {
	body.sp-hdr3--sticky.admin-bar { --sp3-adminbar: 46px; }
}
@media (max-width: 600px) {
	body.sp-hdr3--sticky.admin-bar { --sp3-adminbar: 0px; } /* la barra de administración deja de ser fija */
}
body.sp-hdr3--sticky .sp-site-header--v3 { position: sticky; z-index: 90; top: var(--sp3-adminbar); }
body.sp-hdr3--sticky .sp-site-header--v3:has(> .sp-tb3) { top: calc(var(--sp3-adminbar) - var(--sp3-tb-h, 38px)); }
/* Con el cajón de categorías abierto (móvil) la cabecera deja de ser fija: así el cajón queda sobre la capa oscura. */
body.sp-hdr3--sticky .sp-site-header--v3:has(.sp-nav.is-open) { position: static; }
/* Los enlaces internos (#reseñas, etc.) no quedan tapados por la cabecera fija. */
html:has(body.sp-hdr3--sticky) { scroll-padding-top: calc(var(--sp3-stick-h, 149px) + 12px); }

/* Elementos fijos del contenido (filtros del listado, resúmenes y menú de cuenta) bajan debajo de la cabecera. */
@media (min-width: 1024px) {
	body.sp-hdr3--sticky .sp-plp2--sticky.sp-plp2--side-left .sp-plp2__sidebar,
	body.sp-hdr3--sticky .sp-plp2--sticky.sp-plp2--side-right .sp-plp2__sidebar {
		top: calc(var(--sp3-stick-h, 149px) + var(--sp3-adminbar) + 16px);
		max-height: calc(100vh - var(--sp3-stick-h, 149px) - var(--sp3-adminbar) - 32px);
	}
}
@media (min-width: 981px) {
	body.sp-hdr3--sticky .sp-filters { top: calc(var(--sp3-stick-h, 149px) + var(--sp3-adminbar) + 16px); }
}
body.sp-hdr3--sticky .sp-cart__summary,
body.sp-hdr3--sticky .sp-co__summary,
body.sp-hdr3--sticky .sp-account__aside { top: calc(var(--sp3-stick-h, 149px) + var(--sp3-adminbar) + 16px); }

/* Productos relacionados al final de la ficha v3: 5 tarjetas en una fila desde 1024 px (4 en tablet y móvil, en 2 columnas) (sin tarjeta huérfana). */
@media (min-width: 1024px) {
	.sp-pdp--v3 .sp-pdp2__rel-ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.sp-pdp--v3 .sp-pdp2__rel-grid .sp-pcard2:nth-child(n+5) { display: none; }
}

/* Pestañas de la ficha v3: Descripción · Características · Preguntas · Opiniones (pdp3.js; sin JS se ven todas). */
.sp-pdp3-tabs { background: #fff; border: 1px solid #e8ecf3; border-radius: 14px; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); overflow: hidden; }
.sp-pdp3-tabs__list { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid #e8ecf3; overflow-x: auto; scrollbar-width: none; }
.sp-pdp3-tabs__list::-webkit-scrollbar { display: none; }
.sp-pdp3-tabs__tab {
	flex: 0 0 auto; position: relative; padding: 18px 16px; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 16px; font-weight: 700; color: #64748b; white-space: nowrap;
}
.sp-pdp3-tabs__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.sp-pdp3-tabs__tab:hover { color: var(--sp-ink); }
.sp-pdp3-tabs__tab[aria-selected="true"] { color: var(--sp-ink); }
.sp-pdp3-tabs__tab[aria-selected="true"]::after { background: var(--sp3-navy, #10284b); }
.sp-pdp3-tabs__tab:focus-visible { outline: 2px solid var(--sp-primary); outline-offset: -2px; border-radius: 8px; }
.sp-pdp3-tabs:not(.is-js) .sp-pdp3-tabs__list { display: none; }
.sp-pdp3-tabs__panel[hidden] { display: none; }
.sp-pdp3-tabs .sp-pdp3-tabs__panel .sp-box { border: 0; border-radius: 0; box-shadow: none; background: none; }
.sp-pdp3-tabs.is-js .sp-pdp3-tabs__panel .sp-pdp2__box-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.sp-pdp3-tabs:not(.is-js) .sp-pdp3-tabs__panel + .sp-pdp3-tabs__panel { border-top: 1px solid #e8ecf3; }
@media (max-width: 640px) {
	.sp-pdp3-tabs__list { padding: 0 4px; }
	.sp-pdp3-tabs__tab { padding: 14px 12px; font-size: 15px; }
}

/* Menú móvil: sin íconos en las categorías si hdr3_drawer_icons está apagado (el desplegable de escritorio los conserva). */
@media (max-width: 1023px) {
	.sp-hdr--v3 .sp-nav--noicons-m .sp-nav__ic { display: none; }
}
