/* Ficha Horizont. Todo depende de body.om-hz: sin el interruptor, este archivo no se carga. */
/* La ruta de migas la sustituye la barra de vuelta, sin repetir el título tres veces. */
body.om-hz #omeds-main .omeds-product-navigation { display: none; }
body.om-hz.omeds-product #omeds-main.omeds-product-detail > .omeds-container.omeds-product-shell { width: 100% !important; /* la hoja antigua fija el ancho del teléfono con !important */ max-width: none; padding: 0; }
body.om-hz #omeds-main .woocommerce-notices-wrapper:not(:empty) { padding: 18px var(--hz-pad) 0; background: var(--hz-sky); }
body.om-hz #omeds-main div.product { margin: 0; }

.om-hz-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--hz-pad) 0; background: #f3f0ea; font-size: 16px; }
.om-hz-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; text-decoration: none; }
.om-hz-nav__back:hover { text-decoration: underline; text-underline-offset: 5px; }
.om-hz-nav__step { display: flex; }
.om-hz-nav__step a { border: 1px solid rgba(60, 54, 42, .3); }
.om-hz-nav__step a + a { border-left: 0; }
.om-hz-nav__step a:hover { background: #e6dfd1; }

/* Escena: la botella a la izquierda, sobre su balda; la compra a la derecha. */
body.om-hz #omeds-main .product-entry-wrapper {
    position: relative;
    grid-template: auto auto 1fr / minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: none;
    gap: 0 40px;
    max-width: none;
    margin: 0;
    padding: 18px var(--hz-pad) 72px;
    background: linear-gradient(var(--hz-sky), #f9f7f3 calc(var(--hz-drop) + 20px));
}

/* La misma balda que en el catálogo. */
.om-hz-board { position: absolute; top: calc(var(--hz-drop) + 5px); right: var(--hz-pad); left: var(--hz-pad); height: 22px; border-top: 1px solid #b3a78f; background: linear-gradient(#e2dac9 8px, #c9c0ae 8px); box-sizing: border-box; pointer-events: none; }
.om-hz-board::before, .om-hz-board::after { content: ""; position: absolute; right: 0; left: 0; }
.om-hz-board::before { bottom: 100%; height: 140px; background: linear-gradient(rgba(60, 54, 42, 0), rgba(60, 54, 42, .1)); }
.om-hz-board::after { top: 100%; height: 14px; background: linear-gradient(rgba(60, 54, 42, .22), rgba(60, 54, 42, 0)); }
body.om-hz #omeds-main .om-hz-sea { position: relative; height: 60px; margin: 0 0 -1px; background: #f9f7f3; pointer-events: none; }

body.om-hz #omeds-main div.product div.images {
    grid-area: 1 / 1 / 3 / 2;
    position: relative;
    top: auto;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: var(--hz-drop);
    margin: 0;
    padding: 0;
    background: none;
    mix-blend-mode: multiply;
}
body.om-hz #omeds-main div.product div.images :is(.woocommerce-product-gallery__wrapper, .woocommerce-product-gallery__image, .woocommerce-product-gallery__image > a, .flex-viewport) { height: 100%; border: 0; border-radius: 0; background: none; }
/* Las fotos actuales dejan aire bajo la botella: se apoya el vidrio, no el marco. */
body.om-hz #omeds-main div.product div.images img:not(.zoomImg) { width: 100%; height: 114%; max-height: none; border-radius: 0; background: none; object-fit: contain; object-position: 50% 100%; }
/* Con recorte, el borde inferior de la imagen es la base de la botella. */
body.om-hz #omeds-main div.product div.images img.om-hz-cut:not(.zoomImg) { position: absolute; bottom: 12px; left: 0; height: calc(100% - 36px); transform: none; }
body.om-hz #omeds-main div.product div.images .woocommerce-product-gallery__image:has(.om-hz-cut) { position: static !important; }

body.om-hz #omeds-main .omeds-product-intro {
    grid-area: 1 / 2;
    z-index: 2;
    margin: 0;
    padding: 30px 34px 0;
    border: 1px solid var(--om-brand-line);
    border-bottom: 0;
    background: var(--hz-sky);
}
body.om-hz #omeds-main .omeds-product-availability { gap: 10px; padding: 0; border: 0; background: none; color: var(--om-brand-muted); font-size: 13px; font-weight: 400; }
body.om-hz #omeds-main .omeds-product-availability.is-available > span { color: #7a5c30; }
body.om-hz #omeds-main .omeds-product-availability:not(.is-available) > span { border: 1px solid currentColor; background: none; }
body.om-hz #omeds-main h1.omeds-product-title { margin: 12px 0 0; font-size: 40px; font-weight: 420; line-height: 1.08; letter-spacing: -.028em; }
body.om-hz #omeds-main .om-hz-title__more { display: block; margin-top: 10px; color: var(--om-brand-muted); font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }

body.om-hz #omeds-main div.product .summary.entry-summary {
    grid-area: 2 / 2 / 4 / 3;
    align-self: start;
    z-index: 2;
    margin: 0;
    padding: 22px 34px 30px;
    border: 1px solid var(--om-brand-line);
    border-top: 0;
    background: var(--hz-sky);
}
body.om-hz #omeds-main .summary.entry-summary > p.price:not(.price-unit) { font-size: 30px; font-weight: 420; letter-spacing: -.028em; }
body.om-hz #omeds-main .summary :is(.price-unit, .omux-tax-notice, .legal-price-info, .om-sku, .om-price-per-liter) { margin-block: 3px; font-size: 13px; }
body.om-hz #omeds-main .summary :is(.legal-price-info, .om-restock, .om-inquiry-form) :is(p, span, small, label) { font-size: 13px; }
body.om-hz #omeds-main :is(.om-mhd-notice, .om-inquiry-notice, .om-inquiry-overview) { margin: 10px 0 12px; padding: 0 0 0 14px; border: 0; border-left: 2px solid #7a5c30; background: none; color: #1c1b18; font-size: 16px; line-height: 1.5; }
body.om-hz #omeds-main .ct-product-add-to-cart > .stock { margin: 18px 0 0; color: #7a5c30; font-size: 13px; }

body.om-hz #omeds-main :is(.single_add_to_cart_button, .om-restock__submit .button, .om-inquiry-form button) { min-height: 52px; border: 1px solid #1c1b18; border-radius: 0; background: #1c1b18; color: #f6f2e9; font-size: 16px; font-weight: 500; }
body.om-hz #omeds-main :is(.single_add_to_cart_button, .om-restock__submit .button, .om-inquiry-form button):hover { border-color: #7a5c30; background: #7a5c30; color: #fff; }
body.om-hz #omeds-main .om-restock__submit .button { width: 100%; }
body.om-hz #omeds-main .om-trust { font-size: 13px; }
body.om-hz #omeds-main .om-trust li::before { background: #7a5c30; }
body.om-hz #omeds-main :is(.om-trust-pay, .om-trust-pay *) { font-size: 13px; }
body.om-hz #omeds-main .om-trust-pay__item { padding: 0; border: 0; border-radius: 0; background: none; }

body.om-hz #omeds-main :is(.om-restock, #vorbestellung-anfragen) { margin: 22px 0 0; padding: 22px 0 0; border: 0; border-radius: 0; border-top: 1px solid var(--om-brand-line); background: none; }
body.om-hz #omeds-main :is(.om-restock__title, .om-inquiry-form-heading h2) { font-size: 26px; }
body.om-hz #omeds-main :is(.om-restock__intro, .om-inquiry-form-heading > p) { font-size: 16px; }
body.om-hz #omeds-main .om-inquiry-form-heading .om-eyebrow { color: #7a5c30; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
body.om-hz #omeds-main :is(.om-restock__field input, .om-inquiry-form input:not([type="checkbox"]), .om-inquiry-form textarea) { min-height: 48px; border: 1px solid #706b60; border-radius: 0; background: #f9f7f3; }
body.om-hz #omeds-main :is(.om-restock, .om-inquiry-form) input[type="checkbox"] { width: 20px; height: 20px; accent-color: #1c1b18; }
body.om-hz #omeds-main :is(.om-restock__consent, .om-inquiry-form .om-privacy-field label, .om-inquiry-form .om-form-small) { color: var(--om-brand-muted); font-size: 13px; }

body.om-hz #omeds-main .omeds-soldout-actions a.omeds-primary-button { width: 100%; min-height: 48px; border: 1px solid #706b60; border-radius: 0 !important; background: none; color: #1c1b18; font-size: 16px; font-weight: 420; }

/* Bajo la balda. */
body.om-hz #omeds-main .om-hz-info { grid-area: 3 / 1; z-index: 1; padding-top: 56px; color: #1c1b18; }
body.om-hz #omeds-main .om-hz-info .woocommerce-product-details__short-description { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
body.om-hz #omeds-main .omeds-product-facts { grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--om-brand-line); }
body.om-hz #omeds-main .omeds-product-facts > div { padding: 12px 0; border: 0; border-bottom: 1px solid var(--om-brand-line); }
body.om-hz #omeds-main .omeds-product-facts dt { margin: 0; color: var(--hz-sea-mist); font-size: 13px; font-weight: 400; }
body.om-hz #omeds-main .omeds-product-facts dd { font-size: 16px; font-weight: 500; }
body.om-hz #omeds-main .omeds-product-contact { margin-top: 24px; padding: 0; border: 0; color: #1c1b18; font-size: 16px; }
body.om-hz #omeds-main .omeds-product-contact > p { color: inherit; }
body.om-hz #omeds-main .omeds-product-contact .omeds-whatsapp-button { border: 1px solid #3f3b32; border-radius: 0; background: none; color: #1c1b18; font-size: 16px; font-weight: 420; }
body.om-hz #omeds-main .omeds-external-note { color: var(--hz-sea-mist); font-size: 13px; }

body.om-hz #omeds-main .woocommerce-tabs { margin: 0; padding: 0 var(--hz-pad) 84px; background: linear-gradient(var(--hz-sea), #b8ad97); }
body.om-hz #omeds-main div.product .woocommerce-tabs ul.tabs { gap: 4px 28px; padding: 0; border: 0; border-top: 1px solid var(--om-brand-line); border-bottom: 1px solid var(--om-brand-line); background: none; }
body.om-hz #omeds-main div.product .woocommerce-tabs ul.tabs li a { min-height: 52px; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--hz-sea-mist); font-size: 16px; font-weight: 420; }
body.om-hz #omeds-main div.product .woocommerce-tabs ul.tabs li.active a { border-bottom-color: #1c1b18; background: none; color: #1c1b18; }
body.om-hz #omeds-main .woocommerce-Tabs-panel { color: #1c1b18; font-size: 16px; }
body.om-hz #omeds-main .woocommerce-Tabs-panel h2 { font-size: 26px; }
body.om-hz #omeds-main .woocommerce-Tabs-panel h3 { font-size: 18px; }
body.om-hz #omeds-main .woocommerce-Tabs-panel :is(p, li, td, th, dd, dt, label, a, caption, small) { font-size: max(1em, 13px); }
body.om-hz #omeds-main .woocommerce-Tabs-panel :is(table, caption, tr, th, td, tr:nth-child(even)) { border-color: var(--om-brand-line); background: none; color: #1c1b18; }
body.om-hz #omeds-main .woocommerce-Tabs-panel :is(table, th, td) { border-width: 0 0 1px; }
body.om-hz #omeds-main .woocommerce-Tabs-panel :is(th, td, caption) { padding-inline: 0; font-weight: 420; }

/* Importe, precio por litro, impuestos y envío van seguidos; el resto conserva el orden del HTML. */
body.om-hz #omeds-main div.product .summary.entry-summary { display: flex; flex-direction: column; align-items: stretch; }
body.om-hz #omeds-main .summary > p.price:not(.price-unit) { order: -5; margin-bottom: 2px; }
body.om-hz #omeds-main .summary > :is(.price-unit, .om-price-per-liter) { order: -4; }
body.om-hz #omeds-main .summary > .omux-tax-notice { order: -3; }
body.om-hz #omeds-main .summary > .legal-price-info { order: -2; }
body.om-hz #omeds-main .summary .om-mhd-notice { order: -1; }
body.om-hz #omeds-main .summary :is(.om-sku, .om-sku *, .om-trust-pay__label) { color: var(--om-brand-muted); font-weight: 400; opacity: 1; }
body.om-hz #omeds-main .quantity { border-radius: 0; }

@media (min-width: 981px) {
    /* Agranda la botella desde su base; el recorte evita que la foto tape la barra superior. */
    body.om-hz #omeds-main div.product div.images { clip-path: inset(0 -100vw -60px); }
    body.om-hz #omeds-main div.product div.images img:not(.zoomImg) { transform: scale(1.32); transform-origin: 50% 88%; }
}

@media (max-width: 980px) {
    body.om-hz #omeds-main div.product div.images img.om-hz-cut:not(.zoomImg) { bottom: -2px; }
    body.om-hz #omeds-main { --hz-pad: 16px; --hz-drop: 330px; }
    /* Teléfono: nombre, botella, balda, compra. */
    body.om-hz #omeds-main .product-entry-wrapper { display: block; padding: 4px 0 0; background: linear-gradient(var(--hz-sky), #f9f7f3 480px); }
    body.om-hz #omeds-main .omeds-product-intro { padding: 12px 16px 0; border: 0; background: none; }
    body.om-hz #omeds-main h1.omeds-product-title { font-size: 30px; }
    body.om-hz #omeds-main .om-hz-title__more { margin-top: 6px; font-size: 16px; }
    .om-hz-board { position: relative; top: auto; right: auto; left: auto; margin: 0 16px; }
    body.om-hz #omeds-main .om-hz-sea { height: 46px; }
    body.om-hz #omeds-main div.product .summary.entry-summary { padding: 26px 16px 32px; border: 0; background: none; }
    body.om-hz #omeds-main .summary { --om-brand-muted: var(--hz-sea-mist); --omeds-muted: var(--hz-sea-mist); }
    body.om-hz #omeds-main .summary :is(.price-unit, .oma17f-unit-price, .omux-tax-notice, .legal-price-info, .om-price-per-liter, .om-trust-pay__label, .om-privacy-field label, .om-form-small) { color: var(--hz-sea-mist); }
    body.om-hz #omeds-main :is(.om-mhd-notice, .om-inquiry-notice, .om-inquiry-overview) { border-left-color: #5c4420; }
    body.om-hz #omeds-main .summary :is(.stock, .om-eyebrow) { color: #4f3a1b; }
    body.om-hz #omeds-main .om-hz-info { padding: 28px 16px 40px; border-top: 1px solid var(--om-brand-line); }
    body.om-hz #omeds-main .om-restock__consent { color: var(--hz-sea-mist); }
    body.om-hz #omeds-main .om-form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Ficha: ideas de impacto 11, 12, 13 y 16 ===== */
/* 11 · Los datos, como la etiqueta de una botella: doble línea, categoría arriba en Tenor Sans, filas con puntos guía. */
body.om-hz #omeds-main .omeds-product-facts { position: relative; padding: 46px 18px 14px; border: 1.5px solid #1c1b18; outline: 1px solid #1c1b18; outline-offset: 3px; background: #f7f4ee; }
body.om-hz #omeds-main .omeds-product-facts::before { content: attr(data-label); position: absolute; top: 12px; left: 18px; right: 18px; padding-bottom: 6px; border-bottom: 1px solid #a5824c; font: 400 18px/1.2 var(--om-hz-head, var(--oma-font-body)); letter-spacing: .02em; }
body.om-hz #omeds-main .omeds-product-facts dt { color: #5d594f; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* 12 · De dónde viene · 13 sabor · 16 cómo usarlo: bloques sobrios bajo la ficha. */
body.om-hz #omeds-main .om-hz-more-info { display: grid; gap: 32px 48px; padding: 8px var(--hz-pad) 40px; }
body.om-hz #omeds-main .om-hz-more-info h2 { margin: 0 0 12px; font-size: 26px; }
body.om-hz #omeds-main .om-hz-origin svg { display: block; width: 100%; max-width: 520px; height: auto; overflow: visible; }
body.om-hz #omeds-main .om-hz-origin circle { fill: #b8ad97; }
body.om-hz #omeds-main .om-hz-origin text { fill: #5d594f; font: 400 12px var(--oma-font-body); }
body.om-hz #omeds-main .om-hz-origin .is-origin circle { fill: #a5824c; stroke: #1c1b18; stroke-width: 1.5; }
body.om-hz #omeds-main .om-hz-origin .is-origin text { fill: #1c1b18; font-size: 14px; font-weight: 600; }
body.om-hz #omeds-main :is(.om-hz-origin, .om-hz-taste) > p { margin: 8px 0 0; color: #5d594f; font-size: 14px; }
body.om-hz #omeds-main .om-hz-taste dl { display: grid; gap: 10px; margin: 0; }
body.om-hz #omeds-main .om-hz-taste dl div { display: grid; grid-template-columns: 6.5em 1fr; align-items: center; gap: 12px; }
body.om-hz #omeds-main .om-hz-taste dd { display: flex; align-items: center; gap: 12px; margin: 0; }
body.om-hz #omeds-main .om-hz-taste__bar { flex: none; width: 120px; height: 6px; background: linear-gradient(90deg, #a5824c calc(var(--v) / 3 * 100%), #d9d2c3 0); }
body.om-hz #omeds-main .om-hz-use ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
body.om-hz #omeds-main .om-hz-use li { padding: 8px 14px; border: 1px solid rgba(60, 54, 42, .35); background: #f7f4ee; font-size: 16px; }
@media (min-width: 981px) { body.om-hz #omeds-main .om-hz-more-info { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: 8px 0 48px; } }
@media (max-width: 980px) { body.om-hz #omeds-main .om-hz-more-info { padding: 8px 16px 32px; } }

/* ===== Textos 2026-12: idea A «Auf einen Blick» bajo el nombre e idea E «Häufige Fragen» ===== */
body.om-hz #omeds-main .om-hz-glance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 14px 0 2px; border-top: 1px solid var(--om-brand-line); }
body.om-hz #omeds-main .om-hz-glance > div { display: grid; gap: 2px; min-width: 0; }
body.om-hz #omeds-main .om-hz-glance dt { margin: 0; color: var(--om-brand-muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
body.om-hz #omeds-main .om-hz-glance dd { margin: 0; color: #1c1b18; font-size: 14px; font-weight: 500; line-height: 1.35; }
body.om-hz #omeds-main .om-hz-glance .is-empty dd { color: var(--om-brand-muted); font-weight: 400; }
body.om-hz #omeds-main .om-hz-faq details { padding: 12px 0; border-top: 1px solid var(--om-brand-line); }
body.om-hz #omeds-main .om-hz-faq details:last-of-type { border-bottom: 1px solid var(--om-brand-line); }
body.om-hz #omeds-main .om-hz-faq summary { min-height: 24px; color: #1c1b18; font-size: 16px; font-weight: 500; cursor: pointer; }
body.om-hz #omeds-main .om-hz-faq summary:focus-visible { outline: 2px solid #7a5c30; outline-offset: 3px; }
body.om-hz #omeds-main .om-hz-faq details p { margin: 8px 0 0; color: #5d594f; font-size: 16px; line-height: 1.5; }
body.om-hz #omeds-main .om-hz-faq .om-hz-link { display: inline-block; margin-top: 14px; }
@media (max-width: 980px) {
    body.om-hz #omeds-main .om-hz-glance { gap: 8px 18px; margin-top: 12px; padding-top: 10px; }
    body.om-hz #omeds-main .om-hz-glance dt { color: var(--hz-sea-mist); }
}
