.single-product .site-content .ast-container,.single-product .site-content .site-content-wrap{max-width:1600px}.single-product div.product{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:54px 64px;align-items:start;width:min(100%,1540px);margin-left:auto!important;margin-right:auto!important;padding:38px 34px 72px;box-sizing:border-box}.single-product div.product::before,.single-product div.product::after{display:none!important}.single-product div.product>.ostenta-product-gallery{grid-column:1;grid-row:1}.single-product div.product>.summary{grid-column:2;grid-row:1;float:none!important;width:auto!important;margin:0!important;position:static!important;top:auto!important;align-self:start}.single-product div.product>.ostenta-product-editorial,.single-product div.product>.ostenta-related{grid-column:1/-1}.ostenta-product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ostenta-product-gallery button{margin:0!important;padding:0!important;border:0!important;background:#f8f5ef!important;cursor:zoom-in;overflow:hidden}.ostenta-product-gallery__main{grid-column:1/-1;min-height:620px}.ostenta-product-gallery__secondary{min-height:360px}.ostenta-product-gallery__image{width:100%!important;height:100%!important;min-height:inherit;display:block;object-fit:cover;transition:transform .45s ease}.ostenta-product-gallery button:hover .ostenta-product-gallery__image{transform:scale(1.012)}.ostenta-gallery-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(15,12,10,.86);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.ostenta-gallery-modal.is-open{display:flex}.ostenta-gallery-modal__dialog{position:relative;width:min(96vw,1280px);height:min(92vh,1000px);display:flex;align-items:center;justify-content:center}.ostenta-gallery-modal__image{max-width:100%;max-height:100%;object-fit:contain}.ostenta-gallery-modal__close{position:absolute;top:0;right:0;width:46px;height:46px;padding:0!important;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.7)!important;background:rgba(20,16,13,.72)!important;color:#fff!important;z-index:2}.ostenta-gallery-modal__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.single-product .summary .product_title{margin:6px 0 12px!important;font-size:clamp(38px,3.25vw,58px);line-height:1.03;font-weight:400;color:#17130f}.ostenta-product-brand{color:#9a7836;font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}.single-product .summary .price{margin:22px 0 12px!important;color:#17130f!important;font-size:31px!important;font-weight:600!important}.single-product .summary .price del{opacity:.48;font-size:.72em}.single-product .summary .price ins{text-decoration:none}.ostenta-product-facts{margin-top:4px;color:#5f5750;font-size:15px;line-height:1.6}.ostenta-product-persistence{margin-top:7px;color:#5f5750;font-size:14px}.ostenta-product-persistence span{color:#17130f;font-weight:600}.ostenta-club-price{margin:24px 0;padding:18px 20px;background:#f7f3ec;border-left:3px solid #7c1f2d}.ostenta-club-price__label{margin-bottom:2px;color:#7c1f2d;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.ostenta-club-price__price{color:#17130f;font-size:27px;font-weight:600}.ostenta-club-price__help{margin-top:4px;color:#655c54;font-size:13px}.single-product .summary form.cart{margin-top:26px!important;padding-top:26px;border-top:1px solid #e5ddd2}.single-product .summary form.cart .quantity .qty{min-height:52px;border:1px solid #d8cdbd}.single-product .summary .single_add_to_cart_button{min-height:52px!important;padding:13px 30px!important;background:#17130f!important;color:#fff!important;border-radius:0!important;font-size:15px!important;font-weight:600!important}.single-product .summary .single_add_to_cart_button:hover{background:#c7a45d!important;color:#17130f!important}.single-product .summary .variations{margin-bottom:14px!important}.single-product .summary .variations th,.single-product .summary .variations td{display:block;width:100%;padding:0 0 8px!important}.single-product .summary .variations label{color:#17130f;font-size:13px;font-weight:600}.single-product .summary .variations select{min-height:48px;border:1px solid #d8cdbd;border-radius:0;background:#fff}.ostenta-purchase-trust{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:20px;border-top:1px solid #e5ddd2;color:#625a52;font-size:12px}.ostenta-product-editorial{width:100%}.ostenta-product-section,.ostenta-related{width:min(100%,1320px);margin:0 auto;padding:82px 0;border-top:1px solid #e8e0d5}.ostenta-section-kicker{margin-bottom:10px;color:#9a7836;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.ostenta-product-section>h2,.ostenta-related>h2{margin:0 0 34px!important;color:#17130f;font-size:clamp(34px,3vw,48px);font-weight:400;line-height:1.08}.ostenta-accords__list{width:min(100%,980px);display:flex;flex-direction:column;gap:9px}.ostenta-accord{width:var(--ostenta-accord-width);min-width:280px;padding:12px 16px;box-sizing:border-box;background:var(--ostenta-accord-color);color:var(--ostenta-accord-text);font-size:15px;font-weight:600;line-height:1.2;text-transform:capitalize}.ostenta-product-data__rows{width:min(100%,900px)}.ostenta-product-data__row{display:grid;grid-template-columns:minmax(180px,.7fr) 1.3fr;gap:24px;padding:16px 8px;border-bottom:1px solid #e8e0d5}.ostenta-product-data__row>div:first-child{color:#17130f;font-weight:600}.ostenta-product-data__row>div:last-child{color:#5f5750;text-align:right}.ostenta-fragrance-story__content{width:min(100%,980px);color:#4f4740;font-size:17px;line-height:1.8}.ostenta-fragrance-story__content p{margin-bottom:18px!important}.ostenta-composition__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ostenta-composition__group{padding:30px 28px;background:#f8f5ef;border-top:2px solid #c7a45d}.ostenta-composition__group h3{margin:0 0 12px!important;color:#17130f;font-size:19px;font-weight:500}.ostenta-composition__group p{margin:0!important;color:#625a52;line-height:1.65}.ostenta-for-me__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ostenta-for-me__grid>div{padding:26px;border:1px solid #e5ddd2;background:#fff}.ostenta-for-me__grid h3{margin:0 0 10px!important;color:#7c1f2d;font-size:15px;font-weight:600}.ostenta-for-me__grid p{margin:0!important;color:#554d45;line-height:1.6}.ostenta-product-assurance{padding-top:38px;padding-bottom:38px}.ostenta-assurance-item{border-bottom:1px solid #e5ddd2}.ostenta-assurance-item:first-child{border-top:1px solid #e5ddd2}.ostenta-assurance-toggle{width:100%;padding:19px 4px!important;display:flex;align-items:center;justify-content:space-between;gap:20px;border:0!important;background:transparent!important;color:#17130f!important;font-size:15px;font-weight:500;text-align:left}.ostenta-assurance-content{display:none;padding:0 4px 20px;max-width:900px;color:#625a52;font-size:14px;line-height:1.65}.ostenta-assurance-item.is-open .ostenta-assurance-content{display:block}.ostenta-related__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.ostenta-related-card{color:inherit!important;text-decoration:none!important}.ostenta-related-card__image{aspect-ratio:1/1.12;margin-bottom:15px;overflow:hidden;background:#f8f5ef}.ostenta-related-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.ostenta-related-card:hover .ostenta-related-card__image img{transform:scale(1.02)}.ostenta-related-card__brand{margin-bottom:5px;color:#9a7836;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.ostenta-related-card h3{margin:0 0 7px!important;color:#17130f;font-size:17px;font-weight:400;line-height:1.35}.ostenta-related-card__price{color:#17130f;font-size:14px;font-weight:600}@media(max-width:1100px){.single-product div.product{grid-template-columns:1fr;gap:36px;padding:28px 24px 60px}.single-product div.product>.ostenta-product-gallery,.single-product div.product>.summary,.single-product div.product>.ostenta-product-editorial,.single-product div.product>.ostenta-related{grid-column:1;grid-row:auto}.single-product div.product>.summary{position:static}.ostenta-product-gallery__main{min-height:520px}.ostenta-product-gallery__secondary{min-height:300px}.ostenta-product-section,.ostenta-related{padding:66px 0}}@media(max-width:781px){.single-product div.product{display:block!important;padding:18px 16px 48px}.ostenta-product-gallery{grid-template-columns:1fr;gap:12px}.ostenta-product-gallery__main,.ostenta-product-gallery__secondary{grid-column:1;min-height:0;aspect-ratio:1/1.08}.single-product div.product>.summary{margin-top:28px!important}.single-product .summary .product_title{font-size:37px}.single-product .summary .price{font-size:27px!important}.ostenta-purchase-trust{display:grid;grid-template-columns:1fr}.ostenta-product-section,.ostenta-related{padding:52px 0}.ostenta-product-section>h2,.ostenta-related>h2{margin-bottom:26px!important;font-size:34px}.ostenta-accord{min-width:0;max-width:100%}.ostenta-product-data__row{grid-template-columns:1fr;gap:5px;padding:14px 2px}.ostenta-product-data__row>div:last-child{text-align:left}.ostenta-composition__grid,.ostenta-for-me__grid{grid-template-columns:1fr}.ostenta-related__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.ostenta-related-card h3{font-size:15px}.ostenta-gallery-modal{padding:12px}.ostenta-gallery-modal__close{width:42px;height:42px}}

/* ==========================================================
   v1.0.1-safe — ajustes de estabilidad visual
   Partimos de la última versión que sí funcionó.
   ========================================================== */
.single-product div.product > .summary{
    position:static!important;
    top:auto!important;
    z-index:auto!important;
}

/* Evita que datos estándar de WooCommerce/Astra se dupliquen
   con la ficha editorial de OSTENTA. */
.single-product .summary .product_meta,
.single-product .summary .woocommerce-product-details__short-description,
.single-product .summary .ast-woo-product-category{
    display:none!important;
}

/* Garantiza que las secciones editoriales empiecen después
   del bloque superior y ocupen todo el ancho del grid. */
.single-product div.product > .ostenta-product-editorial,
.single-product div.product > .ostenta-related{
    grid-column:1 / -1!important;
    position:relative;
    z-index:1;
    clear:both;
}

@media (max-width:1100px){
    .single-product div.product > .summary{
        position:static!important;
        top:auto!important;
    }
}


/* ==========================================================
   v1.0.2 COMPACT
   Las secciones editoriales continúan debajo del bloque de
   compra, dentro de la columna derecha. Esto elimina el gran
   vacío que se producía mientras la galería izquierda seguía.
   ========================================================== */

.single-product .summary .ostenta-product-editorial {
	width: 100%;
	margin-top: 28px;
}

.single-product .summary .ostenta-product-section {
	width: 100%;
	margin: 0;
	padding: 30px 0;
	border-top: 1px solid #e8e0d5;
}

.single-product .summary .ostenta-product-section:first-child {
	padding-top: 28px;
}

.single-product .summary .ostenta-section-kicker {
	margin-bottom: 7px;
	font-size: 10px;
	letter-spacing: .17em;
}

.single-product .summary .ostenta-product-section > h2 {
	margin: 0 0 22px !important;
	font-size: 31px;
	line-height: 1.08;
}

.single-product .summary .ostenta-product-data__rows,
.single-product .summary .ostenta-fragrance-story__content,
.single-product .summary .ostenta-accords__list {
	width: 100%;
	max-width: none;
}

.single-product .summary .ostenta-product-data__row {
	grid-template-columns: minmax(130px, .72fr) 1.28fr;
	gap: 18px;
	padding: 12px 2px;
	font-size: 14px;
}

.single-product .summary .ostenta-fragrance-story__content {
	font-size: 15px;
	line-height: 1.72;
}

.single-product .summary .ostenta-composition__grid,
.single-product .summary .ostenta-for-me__grid {
	grid-template-columns: 1fr;
	gap: 10px;
}

.single-product .summary .ostenta-composition__group,
.single-product .summary .ostenta-for-me__grid > div {
	padding: 20px;
}

.single-product .summary .ostenta-accords__list {
	gap: 7px;
}

.single-product .summary .ostenta-accord {
	min-width: 0;
	padding: 10px 13px;
	font-size: 13px;
}

.single-product .summary .ostenta-product-assurance {
	padding-top: 22px;
	padding-bottom: 8px;
}

.single-product .summary .ostenta-assurance-toggle {
	padding: 15px 2px !important;
	font-size: 14px;
}

.single-product .summary .ostenta-assurance-content {
	padding: 0 2px 16px;
	font-size: 13px;
	line-height: 1.6;
}

/* Los relacionados continúan ocupando todo el ancho bajo
   la columna que resulte más alta (galería o información). */
.single-product div.product > .ostenta-related {
	grid-column: 1 / -1;
	width: min(100%, 1320px);
	margin-left: auto;
	margin-right: auto;
}

/* Tablet */
@media (max-width: 1100px) {
	.single-product .summary .ostenta-product-editorial {
		margin-top: 24px;
	}

	.single-product .summary .ostenta-product-section {
		padding: 28px 0;
	}
}

/* Móvil */
@media (max-width: 781px) {
	.single-product .summary .ostenta-product-editorial {
		margin-top: 22px;
	}

	.single-product .summary .ostenta-product-section {
		padding: 26px 0;
	}

	.single-product .summary .ostenta-product-section > h2 {
		font-size: 29px;
		margin-bottom: 19px !important;
	}

	.single-product .summary .ostenta-product-data__row {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 11px 1px;
	}

	.single-product .summary .ostenta-product-data__row > div:last-child {
		text-align: left;
	}
}


/* ==========================================================
   v1.0.3 TIGHT
   Compactación vertical de la columna editorial.
   ========================================================== */

/* Acerca la primera sección al bloque de confianza */
.single-product .summary .ostenta-product-editorial {
	margin-top: 12px !important;
}

/* Menos aire arriba y abajo de cada sección */
.single-product .summary .ostenta-product-section {
	padding: 18px 0 !important;
}

/* Primera sección aún más cerca del bloque anterior */
.single-product .summary .ostenta-product-section:first-child {
	padding-top: 14px !important;
}

/* Títulos más compactos */
.single-product .summary .ostenta-product-section > h2 {
	margin: 0 0 14px !important;
	font-size: 27px !important;
	line-height: 1.08 !important;
}

/* Kicker más pegado al título */
.single-product .summary .ostenta-section-kicker {
	margin-bottom: 4px !important;
}

/* Conoce la fragancia: filas más compactas */
.single-product .summary .ostenta-product-data__row {
	padding: 9px 2px !important;
}

/* La fragancia: reduce aire antes/después del texto */
.single-product .summary .ostenta-fragrance-story__content {
	font-size: 15px !important;
	line-height: 1.58 !important;
}

.single-product .summary .ostenta-fragrance-story__content p {
	margin-top: 0 !important;
	margin-bottom: 8px !important;
}

/* Menos separación antes de los acordeones */
.single-product .summary .ostenta-product-assurance {
	padding-top: 12px !important;
	padding-bottom: 4px !important;
}

/* Acordeones un poco más compactos */
.single-product .summary .ostenta-assurance-toggle {
	padding: 12px 2px !important;
}

.single-product .summary .ostenta-assurance-content {
	padding: 0 2px 12px !important;
}

/* Evita márgenes heredados de WooCommerce/Astra */
.single-product .summary .ostenta-product-section:last-child {
	margin-bottom: 0 !important;
}

/* Tablet */
@media (max-width: 1100px) {
	.single-product .summary .ostenta-product-editorial {
		margin-top: 10px !important;
	}

	.single-product .summary .ostenta-product-section {
		padding: 17px 0 !important;
	}
}

/* Móvil */
@media (max-width: 781px) {
	.single-product .summary .ostenta-product-editorial {
		margin-top: 8px !important;
	}

	.single-product .summary .ostenta-product-section {
		padding: 16px 0 !important;
	}

	.single-product .summary .ostenta-product-section > h2 {
		font-size: 26px !important;
		margin-bottom: 12px !important;
	}

	.single-product .summary .ostenta-product-data__row {
		padding: 8px 1px !important;
	}
}


/* ==========================================================
   v1.0.4 TIGHTER
   Overrides más fuertes para eliminar espacios verticales
   heredados de Astra/WooCommerce.
   ========================================================== */

body.single-product div.product .summary.entry-summary .ostenta-product-editorial,
body.single-product div.product .summary .ostenta-product-editorial {
	margin: 4px 0 0 !important;
	padding: 0 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-section,
body.single-product div.product .summary .ostenta-product-section {
	margin: 0 !important;
	padding: 10px 0 !important;
	border-top: 1px solid #e8e0d5 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-section:first-child,
body.single-product div.product .summary .ostenta-product-section:first-child {
	padding-top: 8px !important;
}

/* Mantener muy corto el salto después de la línea de confianza */
body.single-product div.product .summary .ostenta-purchase-trust {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.single-product div.product .summary .ostenta-purchase-trust + .ostenta-product-editorial {
	margin-top: 2px !important;
}

/* Kicker y título */
body.single-product div.product .summary .ostenta-section-kicker {
	margin: 0 0 2px !important;
	padding: 0 !important;
	font-size: 9px !important;
	line-height: 1.2 !important;
}

body.single-product div.product .summary .ostenta-product-section > h2 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 24px !important;
	line-height: 1.05 !important;
}

/* DETALLES */
body.single-product div.product .summary .ostenta-product-data {
	padding-bottom: 8px !important;
}

body.single-product div.product .summary .ostenta-product-data__rows {
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product div.product .summary .ostenta-product-data__row {
	margin: 0 !important;
	padding: 6px 0 !important;
	min-height: 0 !important;
	line-height: 1.35 !important;
	font-size: 13px !important;
}

/* Evitar doble espacio entre Detalles y La fragancia */
body.single-product div.product .summary .ostenta-product-data + .ostenta-fragrance-story {
	margin-top: 0 !important;
	padding-top: 8px !important;
}

/* LA FRAGANCIA */
body.single-product div.product .summary .ostenta-fragrance-story {
	padding-bottom: 10px !important;
}

body.single-product div.product .summary .ostenta-fragrance-story__content {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.48 !important;
}

body.single-product div.product .summary .ostenta-fragrance-story__content p,
body.single-product div.product .summary .ostenta-fragrance-story__content p:first-child,
body.single-product div.product .summary .ostenta-fragrance-story__content p:last-child {
	margin: 0 !important;
	padding: 0 !important;
}

/* Evitar doble espacio antes de confianza */
body.single-product div.product .summary .ostenta-fragrance-story + .ostenta-product-assurance,
body.single-product div.product .summary .ostenta-composition + .ostenta-product-assurance,
body.single-product div.product .summary .ostenta-for-me + .ostenta-product-assurance {
	margin-top: 0 !important;
	padding-top: 6px !important;
}

body.single-product div.product .summary .ostenta-product-assurance {
	padding-bottom: 0 !important;
}

body.single-product div.product .summary .ostenta-assurance-item {
	margin: 0 !important;
}

body.single-product div.product .summary .ostenta-assurance-toggle {
	margin: 0 !important;
	padding: 9px 0 !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
	font-size: 13px !important;
}

body.single-product div.product .summary .ostenta-assurance-content {
	margin: 0 !important;
	padding: 0 0 10px !important;
	font-size: 12.5px !important;
	line-height: 1.48 !important;
}

/* Acordes y composición, cuando existan */
body.single-product div.product .summary .ostenta-accords,
body.single-product div.product .summary .ostenta-composition,
body.single-product div.product .summary .ostenta-for-me {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* Móvil: aún más eficiente sin perder aire */
@media (max-width: 781px) {
	body.single-product div.product .summary .ostenta-product-section {
		padding: 9px 0 !important;
	}

	body.single-product div.product .summary .ostenta-product-section > h2 {
		font-size: 23px !important;
		margin-bottom: 7px !important;
	}

	body.single-product div.product .summary .ostenta-product-data__row {
		padding: 5px 0 !important;
		font-size: 13px !important;
	}

	body.single-product div.product .summary .ostenta-fragrance-story__content {
		font-size: 14px !important;
		line-height: 1.45 !important;
	}
}


/* ==========================================================
   v1.0.5 CLOSER
   Acerca aún más las secciones sin perder elegancia.
   ========================================================== */
body.single-product div.product .summary .ostenta-product-editorial {
	margin-top: 0 !important;
}

body.single-product div.product .summary .ostenta-product-section {
	padding: 6px 0 !important;
}

body.single-product div.product .summary .ostenta-product-section:first-child {
	padding-top: 4px !important;
}

body.single-product div.product .summary .ostenta-section-kicker {
	margin: 0 0 1px !important;
	font-size: 8.5px !important;
}

body.single-product div.product .summary .ostenta-product-section > h2 {
	margin: 0 0 5px !important;
	font-size: 22px !important;
	line-height: 1.04 !important;
}

body.single-product div.product .summary .ostenta-product-data {
	padding-bottom: 4px !important;
}

body.single-product div.product .summary .ostenta-product-data__row {
	padding: 4px 0 !important;
	font-size: 12.5px !important;
	line-height: 1.25 !important;
}

body.single-product div.product .summary .ostenta-product-data + .ostenta-fragrance-story {
	padding-top: 4px !important;
	margin-top: 0 !important;
}

body.single-product div.product .summary .ostenta-fragrance-story {
	padding-bottom: 5px !important;
}

body.single-product div.product .summary .ostenta-fragrance-story__content {
	font-size: 13.5px !important;
	line-height: 1.42 !important;
}

body.single-product div.product .summary .ostenta-fragrance-story__content p {
	margin: 0 !important;
}

body.single-product div.product .summary .ostenta-fragrance-story + .ostenta-product-assurance,
body.single-product div.product .summary .ostenta-composition + .ostenta-product-assurance,
body.single-product div.product .summary .ostenta-for-me + .ostenta-product-assurance {
	padding-top: 3px !important;
}

body.single-product div.product .summary .ostenta-product-assurance {
	padding-bottom: 0 !important;
}

body.single-product div.product .summary .ostenta-assurance-toggle {
	padding: 8px 0 !important;
	font-size: 12.75px !important;
}

body.single-product div.product .summary .ostenta-assurance-content {
	padding: 0 0 8px !important;
	font-size: 12px !important;
	line-height: 1.42 !important;
}

body.single-product div.product .summary .ostenta-accords,
body.single-product div.product .summary .ostenta-composition,
body.single-product div.product .summary .ostenta-for-me {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}

@media (max-width: 781px) {
	body.single-product div.product .summary .ostenta-product-section {
		padding: 5px 0 !important;
	}

	body.single-product div.product .summary .ostenta-product-section > h2 {
		font-size: 21px !important;
		margin-bottom: 4px !important;
	}

	body.single-product div.product .summary .ostenta-product-data__row {
		padding: 4px 0 !important;
		gap: 2px !important;
	}

	body.single-product div.product .summary .ostenta-fragrance-story__content {
		font-size: 13px !important;
		line-height: 1.4 !important;
	}
}


/* ==========================================================
   v1.0.6 CACHEFIX + TRUE COMPACT
   Esta versión fuerza una URL CSS nueva (?ver=1.0.6) y elimina
   el padding vertical grande que seguía cargándose en caché.
   ========================================================== */

body.single-product div.product .summary.entry-summary > .ostenta-product-editorial {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border-top: 1px solid #e8e0d5 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-section:first-child {
    padding-top: 10px !important;
}

body.single-product div.product .summary.entry-summary .ostenta-section-kicker {
    margin: 0 0 3px !important;
    padding: 0 !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-section > h2 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 23px !important;
    line-height: 1.08 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-data__rows {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-data__row {
    margin: 0 !important;
    padding: 6px 0 !important;
    min-height: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-data + .ostenta-fragrance-story {
    margin-top: 0 !important;
    padding-top: 12px !important;
}

body.single-product div.product .summary.entry-summary .ostenta-fragrance-story {
    padding-bottom: 12px !important;
}

body.single-product div.product .summary.entry-summary .ostenta-fragrance-story__content {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-fragrance-story__content p {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-fragrance-story + .ostenta-product-assurance,
body.single-product div.product .summary.entry-summary .ostenta-composition + .ostenta-product-assurance,
body.single-product div.product .summary.entry-summary .ostenta-for-me + .ostenta-product-assurance {
    margin-top: 0 !important;
    padding-top: 8px !important;
}

body.single-product div.product .summary.entry-summary .ostenta-product-assurance {
    padding-bottom: 0 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-assurance-toggle {
    margin: 0 !important;
    padding: 10px 0 !important;
    min-height: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

body.single-product div.product .summary.entry-summary .ostenta-assurance-content {
    margin: 0 !important;
    padding: 0 0 10px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

/* Mantener relacionados con respiración editorial; solo compactamos la columna derecha. */
body.single-product div.product > .ostenta-related {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
}

@media (max-width: 781px) {
    body.single-product div.product .summary.entry-summary .ostenta-product-section {
        padding: 10px 0 !important;
    }

    body.single-product div.product .summary.entry-summary .ostenta-product-section > h2 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }

    body.single-product div.product .summary.entry-summary .ostenta-product-data__row {
        padding: 5px 0 !important;
        gap: 3px !important;
    }
}

/* ==========================================================
   v1.1.0 CLICKABLE DISCOVERY
   ========================================================== */
.ostenta-filter-link,
.ostenta-product-brand a {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.ostenta-filter-link:hover,
.ostenta-product-brand a:hover {
	color: #9a7836 !important;
	border-bottom-color: currentColor;
}

.ostenta-product-brand a {
	color: #9a7836 !important;
}

.ostenta-fact-separator {
	display: inline-block;
	margin: 0 5px;
	color: #9d948b;
}

.ostenta-product-data__row > div:last-child .ostenta-filter-link::after {
	content: '↗';
	margin-left: 5px;
	font-size: .72em;
	opacity: 0;
	display: inline-block;
	transition: opacity .2s ease;
}

.ostenta-product-data__row > div:last-child .ostenta-filter-link:hover::after {
	opacity: .62;
}

a.ostenta-accord {
	display: block;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

a.ostenta-accord:hover {
	transform: translateX(4px);
	filter: saturate(1.04);
	box-shadow: 0 5px 16px rgba(23,19,15,.09);
}

a.ostenta-accord:focus-visible {
	outline: 2px solid #17130f;
	outline-offset: 2px;
}


/* ==========================================================
   v1.1.1 — ENLACES VISIBLES + ACORDES
   ========================================================== */

/* Todos los filtros clicables se reconocen sin hover. */
body.single-product .ostenta-filter-link,
body.single-product .ostenta-product-brand a {
    color: #8f6c2d !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    text-decoration-color: rgba(143,108,45,.52) !important;
    border-bottom: 0 !important;
    font-weight: 500;
}

body.single-product .ostenta-filter-link::after,
body.single-product .ostenta-product-brand a::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: .68em;
    line-height: 1;
    opacity: .68;
    transform: translateY(-1px);
}

body.single-product .ostenta-filter-link:hover,
body.single-product .ostenta-product-brand a:hover {
    color: #6f501c !important;
    text-decoration-color: currentColor !important;
}

/* Evita duplicar la flecha de la versión anterior. */
body.single-product .ostenta-product-data__row > div:last-child .ostenta-filter-link::after {
    opacity: .68 !important;
}

body.single-product .ostenta-link-separator {
    display: inline-block;
    margin: 0 7px;
    color: #b3aaa0;
    text-decoration: none !important;
}

/* Acordes: barra completa clicable + señal visual permanente. */
body.single-product a.ostenta-accord {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    border: 1px solid rgba(23,19,15,.10) !important;
    text-decoration: none !important;
}

body.single-product .ostenta-accord__action {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    opacity: .75;
}

body.single-product a.ostenta-accord:hover .ostenta-accord__action,
body.single-product a.ostenta-accord:focus-visible .ostenta-accord__action {
    opacity: 1;
}

/* Quick facts superiores: los links se ven como acciones sutiles. */
body.single-product .ostenta-product-facts .ostenta-filter-link,
body.single-product .ostenta-product-persistence .ostenta-filter-link {
    font-weight: 500;
}

@media (max-width: 781px) {
    body.single-product .ostenta-filter-link::after,
    body.single-product .ostenta-product-brand a::after {
        font-size: .72em;
    }

    body.single-product .ostenta-accord__action {
        width: 23px;
        height: 23px;
    }
}

/* ==========================================================
   v1.2.0 — JSON MAESTRO + DESCUBRIMIENTO CLICABLE
   ========================================================== */

/* Los valores navegables deben verse navegables incluso sin hover. */
body.single-product .ostenta-product-data__row a.ostenta-filter-link,
body.single-product .ostenta-product-facts a.ostenta-filter-link,
body.single-product .ostenta-product-persistence a.ostenta-filter-link,
body.single-product .ostenta-product-brand a {
    cursor: pointer !important;
    color: #8f6c2d !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    text-decoration-color: rgba(143,108,45,.58) !important;
}

body.single-product .ostenta-product-data__row a.ostenta-filter-link:hover,
body.single-product .ostenta-product-facts a.ostenta-filter-link:hover,
body.single-product .ostenta-product-persistence a.ostenta-filter-link:hover,
body.single-product .ostenta-product-brand a:hover {
    color: #6f501c !important;
    text-decoration-color: #6f501c !important;
}

/* Acordes: mantiene la lectura visual de importancia y deja claro que cada barra abre una búsqueda. */
body.single-product .summary .ostenta-accords {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

body.single-product .summary .ostenta-accords__list {
    gap: 6px !important;
}

body.single-product a.ostenta-accord {
    min-height: 38px;
    padding: 8px 11px !important;
    border-radius: 2px;
}

body.single-product a.ostenta-accord .ostenta-accord__action {
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 781px) {
    body.single-product a.ostenta-accord {
        width: 100% !important;
        min-height: 40px;
    }
}

/* ==========================================================
   v1.2.1 · PRESENTACIÓN ÚNICA
   ========================================================== */
.ostenta-single-presentation {
	margin: 2px 0 18px;
}

.ostenta-single-presentation__label {
	margin-bottom: 7px;
	color: #5f5750;
	font-size: 12px;
	font-weight: 500;
}

.ostenta-single-presentation__value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 74px;
	min-height: 40px;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 1px solid #c7a45d;
	background: #17130f;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

@media (max-width: 781px) {
	.ostenta-single-presentation {
		margin: 2px 0 16px;
	}
	.ostenta-single-presentation__value {
		min-height: 38px;
		padding: 8px 14px;
	}
}


/* v1.3.2 · presentación inmediatamente debajo del precio */
.single-product .summary > .price + .ostenta-single-presentation {
	margin-top: 0 !important;
	margin-bottom: 18px !important;
}



/* ==========================================================
   v1.3.3 · PRESENTACIÓN CLICABLE
   ========================================================== */
body.single-product a.ostenta-single-presentation__value {
	text-decoration: none !important;
	cursor: pointer !important;
	gap: 7px;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

body.single-product a.ostenta-single-presentation__value:hover,
body.single-product a.ostenta-single-presentation__value:focus-visible {
	background: #2a241f;
	border-color: #9a7836;
	color: #fff;
	transform: translateY(-1px);
}

body.single-product .ostenta-single-presentation__arrow {
	font-size: .78em;
	line-height: 1;
	color: #c7a45d;
}

body.single-product .ostenta-product-data__row .ostenta-presentation-filter-link {
	white-space: nowrap;
}

/* ==========================================================
   v1.4.0 · GALERÍA MÓVIL + WHATSAPP + DECANTS
   ========================================================== */

/* El nuevo shell conserva exactamente la posición que antes ocupaba la galería. */
.single-product div.product > .ostenta-gallery-shell {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

.ostenta-gallery-thumbnails {
	display: none;
}

/* Acciones de compra complementarias, debajo del carrito. */
body.single-product .summary .ostenta-purchase-actions {
	margin-top: 12px;
	display: grid;
	gap: 10px;
}

body.single-product .summary .ostenta-whatsapp-button {
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	border: 1px solid #1e9e50;
	background: #25d366;
	color: #102116 !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

body.single-product .summary .ostenta-whatsapp-button:hover,
body.single-product .summary .ostenta-whatsapp-button:focus-visible {
	background: #20c45d;
	border-color: #188943;
	color: #0e1d13 !important;
	transform: translateY(-1px);
}

body.single-product .summary .ostenta-whatsapp-button__icon {
	width: 25px;
	height: 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: -.02em;
}

body.single-product .summary .ostenta-decant-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 4px 2px;
	color: #7d5f28 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration-line: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 3px;
	text-decoration-color: rgba(125,95,40,.45) !important;
}

body.single-product .summary .ostenta-decant-link:hover,
body.single-product .summary .ostenta-decant-link:focus-visible {
	color: #5f4518 !important;
	text-decoration-color: #5f4518 !important;
}

@media (max-width: 1100px) {
	.single-product div.product > .ostenta-gallery-shell {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (max-width: 781px) {
	/* Carrusel nativo: el dedo mueve la imagen principal izquierda/derecha. */
	body.single-product .ostenta-gallery-shell {
		width: 100%;
		overflow: hidden;
	}

	body.single-product .ostenta-gallery-shell .ostenta-product-gallery {
		display: flex !important;
		grid-template-columns: none !important;
		gap: 0 !important;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		touch-action: pan-x pan-y;
	}

	body.single-product .ostenta-gallery-shell .ostenta-product-gallery::-webkit-scrollbar {
		display: none;
	}

	body.single-product .ostenta-gallery-shell .ostenta-gallery-slide,
	body.single-product .ostenta-gallery-shell .ostenta-product-gallery__main,
	body.single-product .ostenta-gallery-shell .ostenta-product-gallery__secondary {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		min-height: 0 !important;
		aspect-ratio: 1 / 1.08;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	body.single-product .ostenta-gallery-shell .ostenta-product-gallery__image {
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		object-fit: cover;
	}

	/* Miniaturas visibles y clicables solo en móvil. */
	body.single-product .ostenta-gallery-thumbnails {
		margin-top: 10px;
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding: 1px 1px 5px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .ostenta-gallery-thumbnails::-webkit-scrollbar {
		display: none;
	}

	body.single-product .ostenta-gallery-thumb {
		flex: 0 0 66px;
		width: 66px;
		height: 72px;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #ddd4c7 !important;
		background: #f8f5ef !important;
		overflow: hidden;
		cursor: pointer;
		opacity: .68;
		transition: opacity .16s ease, border-color .16s ease, box-shadow .16s ease;
	}

	body.single-product .ostenta-gallery-thumb.is-active {
		opacity: 1;
		border-color: #9a7836 !important;
		box-shadow: 0 0 0 1px #9a7836 inset;
	}

	body.single-product .ostenta-gallery-thumb__image {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	body.single-product .summary .ostenta-whatsapp-button {
		min-height: 52px;
		font-size: 15px;
	}

	body.single-product .summary .ostenta-decant-link {
		font-size: 13px;
	}
}

/* v1.4.2 · orden comercial: WhatsApp → Decant → Club */
body.single-product .summary .ostenta-purchase-actions .ostenta-decant-link {
	margin-top: -2px;
}

body.single-product .summary .ostenta-purchase-actions .ostenta-club-price {
	margin: 4px 0 0;
}

/* v1.4.3 · separador visual bajo Decants
   Mantiene aislado el CTA de Decants aunque el producto no tenga Precio Club. */
body.single-product .summary .ostenta-purchase-actions .ostenta-decant-link {
	padding-bottom: 13px;
	margin-bottom: 2px;
	border-bottom: 1px solid #e8e0d5;
}
