/* =========================================================
   TERMOPAR — FICHA TÉCNICA DE PRODUCTO
   Diseño técnico, responsive y sin dependencias externas.
========================================================= */

.page-product {
    background: #ffffff;
}

.product-page,
.product-page * {
    box-sizing: border-box;
}

.product-page {
    --tp-black: #11100f;
    --tp-dark: #21170f;
    --tp-brown: #b66700;
    --tp-orange: #ff7600;
    --tp-orange-strong: #f25300;
    --tp-gold: #ffc400;
    --tp-text: #2f2a26;
    --tp-muted: #776c61;
    --tp-border: #eadfce;
    --tp-border-strong: #dcc5a4;
    --tp-soft: #fff8ef;
    --tp-shadow: rgba(23, 17, 12, .10);

    position: relative;
    padding: 26px 0 88px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #fffaf4 100%);
    color: var(--tp-black);
}

.product-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 360px;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(25, 18, 13, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 18, 13, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.product-page__container {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   NAVEGACIÓN
========================================================= */

.product-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 42px;
    margin-bottom: 18px;
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #544b43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .18s ease, transform .18s ease;
}

.product-back-link svg {
    width: 29px;
    height: 29px;
    padding: 6px;
    border: 1px solid var(--tp-border-strong);
    border-radius: 999px;
    color: var(--tp-orange-strong);
    background: #ffffff;
    transition: border-color .18s ease, background .18s ease;
}

.product-back-link:hover,
.product-back-link:focus-visible {
    color: var(--tp-orange-strong);
    transform: translateX(-2px);
}

.product-back-link:hover svg,
.product-back-link:focus-visible svg {
    border-color: var(--tp-orange);
    background: #fff4e7;
}

.product-back-link:focus-visible,
.product-tab:focus-visible,
.product-action:focus-visible,
.product-gallery__arrow:focus-visible,
.product-gallery__thumbnail:focus-visible,
.product-gallery__image-button:focus-visible,
.product-document-list a:focus-visible {
    outline: 3px solid rgba(255, 118, 0, .23);
    outline-offset: 4px;
}

.product-navigation__path {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a7e72;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

.product-navigation__path span {
    color: var(--tp-orange);
}

/* =========================================================
   CABECERA TÉCNICA
========================================================= */

.product-technical-hero {
    display: grid;
    grid-template-columns: minmax(390px, .88fr) minmax(540px, 1.12fr);
    min-height: 610px;
    border: 1px solid var(--tp-border);
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(25, 18, 13, .07);
}

.product-overview {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(38px, 4vw, 58px);
    overflow: hidden;
    border-right: 1px solid var(--tp-border);
    background:
        linear-gradient(145deg, #ffffff 0%, #fffaf3 100%);
}

.product-overview::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--tp-gold), var(--tp-orange), var(--tp-orange-strong));
}

.product-overview::after {
    content: "TP";
    position: absolute;
    right: -20px;
    bottom: -52px;
    color: rgba(255, 118, 0, .035);
    font-size: 230px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.12em;
    pointer-events: none;
}

.product-overview__heading,
.product-overview__description,
.product-overview__selection-note,
.product-overview__actions {
    position: relative;
    z-index: 1;
}

.product-overview__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--tp-orange-strong);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.product-overview__eyebrow span {
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--tp-orange), var(--tp-gold));
}

.product-overview__brand {
    margin: 0 0 5px;
    color: var(--tp-orange-strong);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-overview h1 {
    max-width: 650px;
    margin: 0;
    color: var(--tp-black);
    font-size: clamp(2.25rem, 3.55vw, 3.65rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.product-overview__lead {
    max-width: 610px;
    margin: 18px 0 0;
    color: var(--tp-brown);
    font-size: clamp(14px, 1.18vw, 17px);
    font-weight: 850;
    line-height: 1.45;
    text-transform: uppercase;
}

.product-overview__description {
    max-width: 620px;
    margin-top: 28px;
    color: var(--tp-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.78;
}

.product-overview__selection-note {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    max-width: 620px;
    margin-top: 26px;
    padding: 15px 17px;
    border: 1px solid #f0dac0;
    border-left: 3px solid var(--tp-orange);
    background: rgba(255, 244, 231, .78);
}

.product-overview__selection-note-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--tp-orange);
    border-radius: 999px;
    color: var(--tp-orange-strong);
    font-size: 13px;
    font-weight: 900;
}

.product-overview__selection-note p {
    margin: 1px 0 0;
    color: #514840;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
}

.product-overview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.product-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    color: var(--tp-black);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.product-action svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.product-action--primary {
    border-color: var(--tp-orange);
    background: linear-gradient(135deg, var(--tp-orange-strong), var(--tp-orange) 62%, var(--tp-gold));
    box-shadow: 0 12px 28px rgba(255, 118, 0, .19);
}

.product-action--secondary {
    border-color: var(--tp-border-strong);
    background: #ffffff;
    color: #3f3731;
}

.product-action:hover {
    transform: translateY(-2px);
}

.product-action--primary:hover {
    box-shadow: 0 17px 36px rgba(255, 118, 0, .27);
}

.product-action--secondary:hover {
    border-color: var(--tp-orange);
    background: var(--tp-soft);
    color: var(--tp-orange-strong);
}

/* =========================================================
   GALERÍA — PRODUCTO GRANDE
========================================================= */

.product-gallery {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 610px;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 196, 0, .10), transparent 37%),
        linear-gradient(145deg, #ffffff 0%, #fbfaf8 100%);
}

.product-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .36;
    background-image:
        linear-gradient(rgba(25, 18, 13, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 18, 13, .045) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
}

.product-gallery::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--tp-orange-strong), var(--tp-orange), var(--tp-gold));
}

.product-gallery__technical-mark {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 30px 0;
    color: #918477;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.product-gallery__technical-mark span {
    color: var(--tp-orange-strong);
    font-size: 10px;
    font-weight: 900;
}

.product-gallery__technical-mark small {
    font-size: inherit;
    font-weight: inherit;
}

.product-gallery__stage {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 500px;
    padding: 12px 72px 18px;
}

.product-gallery__image-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-gallery__image-button img {
    display: block;
    width: min(100%, 610px);
    height: 500px;
    object-fit: contain;
    transform: scale(1.12);
    transform-origin: center;
    filter: drop-shadow(0 26px 34px rgba(21, 17, 13, .15));
    transition: opacity .18s ease, transform .28s ease, filter .28s ease;
}

.product-gallery__image-button:hover img {
    transform: scale(1.16);
    filter: drop-shadow(0 31px 42px rgba(21, 17, 13, .20));
}

.product-gallery__image-button.is-changing img {
    opacity: .15;
    transform: scale(1.08);
}

.product-gallery__zoom-hint {
    position: absolute;
    right: 2px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--tp-border);
    background: rgba(255, 255, 255, .82);
    color: #70655c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.product-gallery__zoom-hint svg {
    width: 16px;
    height: 16px;
    color: var(--tp-orange-strong);
}

.product-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 62px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5a5149;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.product-gallery__arrow svg {
    width: 26px;
    height: 26px;
}

.product-gallery__arrow--previous {
    left: 16px;
}

.product-gallery__arrow--next {
    right: 16px;
}

.product-gallery__arrow:hover {
    background: rgba(255, 118, 0, .08);
    color: var(--tp-orange-strong);
}

.product-gallery__arrow--previous:hover {
    transform: translate(-3px, -50%);
}

.product-gallery__arrow--next:hover {
    transform: translate(3px, -50%);
}

.product-gallery__thumbnails {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 94px;
    padding: 10px 28px 24px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--tp-orange) transparent;
}

.product-gallery__thumbnail {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 5px;
    border: 1px solid var(--tp-border);
    background: #ffffff;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-gallery__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__thumbnail:hover,
.product-gallery__thumbnail.is-active {
    border-color: var(--tp-orange);
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(255, 118, 0, .13);
}

.product-gallery__thumbnail.is-active {
    box-shadow: inset 0 0 0 1px var(--tp-orange), 0 9px 20px rgba(255, 118, 0, .13);
}

.product-gallery__placeholder {
    color: #928579;
    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   DATOS TÉCNICOS ESENCIALES
========================================================= */

.product-critical-data {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #241a13;
    background: #17110d;
    box-shadow: 0 18px 38px rgba(20, 14, 10, .12);
}

.product-critical-data__item {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 22px 20px;
    border-left: 1px solid rgba(255, 255, 255, .085);
}

.product-critical-data__item:first-child {
    border-left: 0;
}

.product-critical-data__item::after {
    content: "";
    position: absolute;
    inset: auto 20px 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tp-orange-strong), var(--tp-gold));
    opacity: .88;
}

.product-critical-data__number {
    color: var(--tp-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.product-critical-data small,
.product-critical-data strong {
    display: block;
}

.product-critical-data small {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .48);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.product-critical-data strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.5;
}


/* =========================================================
   FICHA TÉCNICA: PESTAÑAS Y CONTENIDO
========================================================= */

.product-technical-sheet {
    margin-top: 26px;
    border: 1px solid var(--tp-border);
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(25, 18, 13, .055);
}

.product-tabs {
    display: grid;
    grid-template-columns: 1fr 1.28fr 1fr .82fr;
    background: #21170f;
}

.product-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 18px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .055);
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.product-tab:first-child {
    border-left: 0;
}

.product-tab span {
    color: rgba(255, 255, 255, .36);
    font-size: 9px;
    letter-spacing: .08em;
}

.product-tab::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tp-orange-strong), var(--tp-orange), var(--tp-gold));
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .18s ease, transform .18s ease;
}

.product-tab:hover {
    background: rgba(255, 255, 255, .045);
}

.product-tab.is-active {
    background: linear-gradient(120deg, var(--tp-orange-strong), var(--tp-orange) 64%, var(--tp-gold));
    color: var(--tp-black);
}

.product-tab.is-active span {
    color: rgba(17, 16, 15, .48);
}

.product-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.product-panels {
    min-height: 340px;
    padding: clamp(34px, 4vw, 54px);
    background:
        linear-gradient(145deg, #ffffff 0%, #fffaf4 100%);
}

.product-panel[hidden] {
    display: none;
}

.product-panel.is-active {
    animation: tpProductPanelIn .24s ease both;
}

@keyframes tpProductPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-panel__header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--tp-border);
}

.product-panel__header p {
    margin: 0;
    color: var(--tp-orange-strong);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.product-panel__header h2 {
    margin: 0;
    color: var(--tp-black);
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.product-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-feature-list li {
    position: relative;
    min-height: 48px;
    padding: 13px 0 13px 26px;
    border-bottom: 1px solid #eee5da;
    color: var(--tp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.product-feature-list li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 21px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--tp-orange);
    transform: rotate(45deg);
}

.product-specification-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--tp-border);
    border-left: 1px solid var(--tp-border);
}

.product-specification-list > div {
    display: grid;
    grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
    min-height: 58px;
    border-right: 1px solid var(--tp-border);
    border-bottom: 1px solid var(--tp-border);
}

.product-specification-list dt,
.product-specification-list dd {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 13px 16px;
}

.product-specification-list dt {
    color: #8b7e72;
    background: #fffaf3;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-specification-list dd {
    color: var(--tp-black);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.product-application-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-application-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--tp-border);
}

.product-application-list li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--tp-border-strong);
    color: var(--tp-orange-strong);
    font-size: 10px;
    font-weight: 900;
}

.product-application-list p {
    margin: 6px 0 0;
    color: var(--tp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

.product-document-list {
    border-top: 1px solid var(--tp-border);
}

.product-document-list a {
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    gap: 16px;
    align-items: center;
    min-height: 76px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--tp-border);
    color: var(--tp-black);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, padding .18s ease;
}

.product-document-list a:hover {
    padding-left: 22px;
    background: #fff5e8;
    color: var(--tp-orange-strong);
}

.product-document-list__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--tp-border-strong);
    background: #ffffff;
    color: var(--tp-orange-strong);
}

.product-document-list__icon svg {
    width: 22px;
    height: 22px;
}

.product-document-list small,
.product-document-list strong {
    display: block;
}

.product-document-list small {
    margin-bottom: 4px;
    color: #97897c;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
}

.product-document-list strong {
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.product-document-list__arrow {
    width: 20px;
    height: 20px;
}

.product-panel__empty {
    margin: 0;
    padding: 26px;
    border: 1px dashed var(--tp-border-strong);
    color: #7f7368;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.product-lightbox[hidden] {
    display: none;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 30px;
}

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(8, 7, 6, .88);
    cursor: zoom-out;
    backdrop-filter: blur(6px);
}

.product-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(1120px, 94vw);
    height: min(830px, 88vh);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #ffffff;
    box-shadow: 0 36px 100px rgba(0, 0, 0, .45);
}

.product-lightbox__dialog img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: #17110c;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

body.has-product-lightbox {
    overflow: hidden;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {
    .product-technical-hero {
        grid-template-columns: minmax(350px, .92fr) minmax(470px, 1.08fr);
    }

    .product-overview {
        padding: 40px 36px;
    }

    .product-gallery__stage {
        padding-inline: 58px;
    }

    .product-gallery__image-button img {
        width: min(100%, 520px);
        height: 470px;
    }
}

@media (max-width: 900px) {
    .product-page {
        padding-top: 20px;
    }

    .product-technical-hero {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        order: -1;
        min-height: 560px;
        border-bottom: 1px solid var(--tp-border);
    }

    .product-overview {
        border-right: 0;
    }

    .product-gallery__stage {
        min-height: 440px;
    }

    .product-gallery__image-button img {
        height: 430px;
    }

    .product-critical-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-critical-data__item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .085);
    }

    .product-critical-data__item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .085);
    }

    .product-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-tab:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .055);
    }

    .product-tab:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .055);
    }
}

@media (max-width: 680px) {
    .product-page {
        padding: 14px 0 58px;
    }

    .product-page__container {
        width: min(100% - 20px, 1240px);
    }

    .product-navigation {
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .product-navigation__path {
        display: none;
    }

    .product-back-link {
        font-size: 9px;
    }

    .product-technical-hero {
        min-height: 0;
    }

    .product-gallery {
        min-height: 420px;
    }

    .product-gallery__technical-mark {
        padding: 18px 18px 0;
    }

    .product-gallery__technical-mark small {
        display: none;
    }

    .product-gallery__stage {
        min-height: 330px;
        padding: 8px 42px 10px;
    }

    .product-gallery__image-button img {
        width: 100%;
        height: 330px;
        transform: scale(1.1);
    }

    .product-gallery__image-button:hover img {
        transform: scale(1.1);
    }

    .product-gallery__zoom-hint {
        right: -25px;
        bottom: 0;
        padding: 7px;
    }

    .product-gallery__zoom-hint span {
        display: none;
    }

    .product-gallery__arrow {
        width: 34px;
        height: 50px;
    }

    .product-gallery__arrow--previous {
        left: 2px;
    }

    .product-gallery__arrow--next {
        right: 2px;
    }

    .product-gallery__thumbnails {
        min-height: 78px;
        padding: 8px 16px 18px;
    }

    .product-gallery__thumbnail {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .product-overview {
        padding: 32px 25px 34px;
    }

    .product-overview h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .product-overview__lead {
        font-size: 13px;
    }

    .product-overview__description {
        margin-top: 22px;
        font-size: 13px;
        line-height: 1.7;
    }

    .product-overview__selection-note {
        grid-template-columns: 30px minmax(0, 1fr);
        margin-top: 22px;
        padding: 13px 14px;
    }

    .product-overview__selection-note-icon {
        width: 27px;
        height: 27px;
    }

    .product-overview__actions,
    .product-action {
        width: 100%;
    }

    .product-critical-data {
        grid-template-columns: 1fr;
    }

    .product-critical-data__item,
    .product-critical-data__item:nth-child(3),
    .product-critical-data__item:nth-child(4) {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 16px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .085);
    }

    .product-critical-data__item:first-child {
        border-top: 0;
    }

    .product-tabs {
        grid-template-columns: 1fr;
    }

    .product-tab,
    .product-tab:nth-child(3),
    .product-tab:nth-child(4) {
        justify-content: flex-start;
        min-height: 48px;
        padding-inline: 18px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .055);
        text-align: left;
    }

    .product-tab:first-child {
        border-top: 0;
    }

    .product-panels {
        min-height: 280px;
        padding: 30px 22px;
    }

    .product-panel__header {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 22px;
    }

    .product-feature-list,
    .product-specification-list,
    .product-application-list {
        grid-template-columns: 1fr;
    }

    .product-specification-list > div {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .product-lightbox {
        padding: 12px;
    }

    .product-lightbox__dialog {
        width: 100%;
        height: 78vh;
        padding: 18px;
    }

    .product-lightbox__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 390px) {
    .product-gallery__stage {
        min-height: 300px;
    }

    .product-gallery__image-button img {
        height: 295px;
    }

    .product-specification-list > div {
        grid-template-columns: 1fr;
    }

    .product-specification-list dt {
        padding-bottom: 5px;
    }

    .product-specification-list dd {
        padding-top: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-back-link,
    .product-back-link svg,
    .product-action,
    .product-gallery__image-button img,
    .product-gallery__arrow,
    .product-gallery__thumbnail,
    .product-tab,
    .product-tab::after,
    .product-document-list a {
        transition: none;
    }

    .product-panel.is-active {
        animation: none;
    }
}

/* =========================================================
   ANÁLISIS TÉCNICO EN MODAL · ESM-4410 DEMO
   Mantiene intacta la ficha principal y concentra la
   información avanzada dentro de una sola pantalla.
========================================================= */

.product-action--analysis {
    border-color: #211812;
    background: #211812;
    color: #ffffff;
    cursor: pointer;
}

.product-action--analysis:hover {
    border-color: var(--tp-orange);
    background: #17110d;
    box-shadow: 0 14px 30px rgba(28, 19, 13, .18);
}

body.has-product-analysis-modal {
    overflow: hidden;
}

.product-analysis-modal,
.product-analysis-modal * {
    box-sizing: border-box;
}

.product-analysis-modal[hidden] {
    display: none !important;
}

.product-analysis-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    padding: clamp(10px, 2vw, 26px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.product-analysis-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.product-analysis-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(8, 7, 6, .78);
    backdrop-filter: blur(7px);
    cursor: pointer;
}

.product-analysis-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1320px, 96vw);
    height: min(900px, 92dvh);
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 0, .55);
    border-top: 4px solid var(--tp-orange);
    background: #ffffff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .46);
    transform: translateY(14px) scale(.985);
    outline: none;
    transition: transform .18s ease;
}

.product-analysis-modal.is-open .product-analysis-modal__dialog {
    transform: translateY(0) scale(1);
}

.product-analysis-modal__header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px) 46px;
    gap: 24px;
    align-items: center;
    min-height: 92px;
    padding: 18px 22px 18px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background:
        linear-gradient(115deg, #12100e 0%, #201710 66%, #2a1a10 100%);
    color: #ffffff;
}

.product-analysis-modal__header::after {
    content: "TECHNICAL ANALYSIS";
    position: absolute;
    right: 90px;
    bottom: -3px;
    color: rgba(255, 255, 255, .035);
    font-size: clamp(34px, 4.4vw, 66px);
    font-weight: 900;
    letter-spacing: -.06em;
    pointer-events: none;
}

.product-analysis-modal__identity,
.product-analysis-modal__description,
.product-analysis-modal__close {
    position: relative;
    z-index: 1;
}

.product-analysis-modal__identity {
    min-width: 0;
}

.product-analysis-modal__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--tp-orange);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.product-analysis-modal__identity > div {
    display: flex;
    gap: 12px;
    align-items: baseline;
    min-width: 0;
}

.product-analysis-modal__identity p {
    margin: 0;
    color: var(--tp-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.product-analysis-modal__identity h2 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(20px, 2.2vw, 31px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-analysis-modal__description {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
}

.product-analysis-modal__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #ffffff;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.product-analysis-modal__close svg {
    width: 22px;
    height: 22px;
}

.product-analysis-modal__close:hover {
    border-color: var(--tp-orange);
    background: var(--tp-orange);
    color: #17110d;
    transform: rotate(4deg);
}

.product-analysis-modal__body {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
}

.product-analysis-nav {
    min-height: 0;
    overflow: auto;
    border-right: 1px solid #35271e;
    background: #171310;
    scrollbar-width: thin;
    scrollbar-color: #60432f #171310;
}

.product-analysis-nav__item {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 75px;
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
    background: transparent;
    color: rgba(255, 255, 255, .72);
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.product-analysis-nav__item::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: transparent;
}

.product-analysis-nav__item > span {
    color: rgba(255, 132, 0, .52);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.product-analysis-nav__item strong,
.product-analysis-nav__item small {
    display: block;
}

.product-analysis-nav__item strong {
    color: inherit;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
}

.product-analysis-nav__item small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .38);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .05em;
}

.product-analysis-nav__item:hover,
.product-analysis-nav__item.is-active {
    background: linear-gradient(90deg, rgba(255, 112, 0, .17), rgba(255, 112, 0, .035));
    color: #ffffff;
}

.product-analysis-nav__item.is-active::after {
    background: linear-gradient(180deg, var(--tp-gold), var(--tp-orange));
}

.product-analysis-nav__item.is-active > span {
    color: var(--tp-gold);
}

.product-analysis-content {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 132, 0, .075), transparent 28%),
        #ffffff;
    scrollbar-width: thin;
    scrollbar-color: #d8c4ae #f3eee8;
}

.product-analysis-panel {
    min-height: 100%;
    padding: clamp(24px, 3vw, 42px);
}

.product-analysis-panel[hidden] {
    display: none !important;
}

.product-analysis-panel__heading {
    max-width: 900px;
    margin-bottom: 24px;
}

.product-analysis-panel__heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--tp-orange-strong);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.product-analysis-panel__heading h3 {
    margin: 0;
    color: #15110e;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.product-analysis-panel__heading p {
    max-width: 740px;
    margin: 10px 0 0;
    color: #665a51;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.65;
}

.product-analysis-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.product-analysis-media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5d7c8;
    background: #fffdfa;
    box-shadow: 0 15px 42px rgba(53, 37, 25, .07);
}

.product-analysis-media-card > header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px 15px;
    border-bottom: 1px solid #eadfd4;
    background: linear-gradient(90deg, #fff9f1, #ffffff);
}

.product-analysis-media-card header small,
.product-analysis-media-card header h4 {
    display: block;
    margin: 0;
}

.product-analysis-media-card header small {
    color: var(--tp-orange-strong);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.product-analysis-media-card header h4 {
    margin-top: 3px;
    color: #1d1713;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
}

.product-analysis-segmented {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid #dfcbb8;
    background: #ffffff;
}

.product-analysis-segmented button {
    min-width: 47px;
    height: 28px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: #74675d;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.product-analysis-segmented button.is-active {
    background: linear-gradient(135deg, var(--tp-orange-strong), var(--tp-gold));
    color: #1b120c;
}

.product-analysis-diagram-stage {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 12px;
    background: #ffffff;
}

.product-analysis-diagram-stage img {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.product-analysis-diagram-stage img[hidden] {
    display: none !important;
}

.product-analysis-terminal-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 11px 14px;
    border-top: 1px solid #eadfd4;
    background: #211812;
    color: rgba(255, 255, 255, .72);
    font-size: 9px;
    line-height: 1.45;
}

.product-analysis-terminal-note strong {
    color: var(--tp-gold);
    font-size: 9px;
    text-transform: uppercase;
}

.product-analysis-gallery-count {
    color: #7c6b5d;
    font-size: 9px;
    font-weight: 900;
}

.product-analysis-gallery-stage {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 5px;
    align-items: center;
    min-height: 300px;
    padding: 12px 8px;
    background:
        radial-gradient(circle at 50% 48%, #ffffff 0%, #fbf8f4 68%, #f4ede5 100%);
}

.product-analysis-gallery-stage > button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 50px;
    padding: 0;
    border: 1px solid #decab6;
    background: rgba(255, 255, 255, .82);
    color: #655345;
    cursor: pointer;
}

.product-analysis-gallery-stage > button:hover {
    border-color: var(--tp-orange);
    color: var(--tp-orange-strong);
}

.product-analysis-gallery-stage button svg {
    width: 19px;
    height: 19px;
}

.product-analysis-gallery-stage > img {
    display: block;
    width: 100%;
    height: 276px;
    object-fit: contain;
    transition: opacity .12s ease, transform .12s ease;
}

.product-analysis-gallery-stage > img.is-changing {
    opacity: .2;
    transform: scale(.985);
}

.product-analysis-gallery-thumbs {
    display: flex;
    gap: 7px;
    min-height: 76px;
    padding: 9px 12px 12px;
    overflow-x: auto;
    border-top: 1px solid #eadfd4;
    background: #ffffff;
}

.product-analysis-gallery-thumbs button {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    padding: 3px;
    border: 1px solid #dfd0c0;
    background: #ffffff;
    cursor: pointer;
}

.product-analysis-gallery-thumbs button.is-active {
    border-color: var(--tp-orange);
    box-shadow: inset 0 0 0 1px var(--tp-orange);
}

.product-analysis-gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-analysis-key-data {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    border: 1px solid #292019;
    background: #1d1713;
}

.product-analysis-key-data article {
    min-width: 0;
    padding: 16px;
    border-left: 1px solid rgba(255, 255, 255, .09);
}

.product-analysis-key-data article:first-child {
    border-left: 0;
}

.product-analysis-key-data small,
.product-analysis-key-data strong,
.product-analysis-key-data span {
    display: block;
}

.product-analysis-key-data small {
    color: var(--tp-gold);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.product-analysis-key-data strong {
    margin-top: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.product-analysis-key-data span {
    margin-top: 4px;
    overflow: hidden;
    color: rgba(255, 255, 255, .48);
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-analysis-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-analysis-comparison article {
    position: relative;
    padding: 27px;
    overflow: hidden;
    border: 1px solid #e3d2c2;
    background: linear-gradient(145deg, #ffffff, #fff8ef);
}

.product-analysis-comparison article::after {
    content: "TC";
    position: absolute;
    right: -12px;
    bottom: -38px;
    color: rgba(255, 112, 0, .045);
    font-size: 150px;
    font-weight: 900;
    pointer-events: none;
}

.product-analysis-comparison__badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 17px;
    background: linear-gradient(135deg, var(--tp-orange-strong), var(--tp-gold));
    color: #1d130d;
    font-size: 25px;
    font-weight: 900;
}

.product-analysis-comparison small {
    color: #9c5b19;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-analysis-comparison h4 {
    margin: 6px 0 8px;
    color: #1a1511;
    font-size: 22px;
    font-weight: 900;
}

.product-analysis-comparison > article > strong {
    display: block;
    color: var(--tp-orange-strong);
    font-size: 28px;
    font-weight: 900;
}

.product-analysis-comparison p,
.product-analysis-comparison li {
    position: relative;
    z-index: 1;
    color: #5c5148;
    font-size: 11px;
    line-height: 1.65;
}

.product-analysis-comparison ul {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding-left: 17px;
}

.product-analysis-comparison li::marker {
    color: var(--tp-orange);
}

.product-analysis-callout {
    margin-top: 18px;
    padding: 17px 20px;
    border: 1px solid #e6c9a8;
    border-left: 4px solid var(--tp-orange);
    background: #fff7ed;
}

.product-analysis-callout span {
    display: block;
    margin-bottom: 5px;
    color: var(--tp-orange-strong);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.product-analysis-callout p {
    margin: 0;
    color: #51473e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.product-analysis-callout--dark {
    border-color: #2c211a;
    background: #1d1713;
}

.product-analysis-callout--dark p {
    color: rgba(255, 255, 255, .72);
}

.product-analysis-spec-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.product-analysis-spec-groups article {
    border: 1px solid #e4d6c7;
    background: #ffffff;
}

.product-analysis-spec-groups h4 {
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid #e7d9cc;
    background: #211812;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.product-analysis-spec-groups dl {
    margin: 0;
}

.product-analysis-spec-groups dl > div {
    display: grid;
    grid-template-columns: minmax(115px, .42fr) minmax(0, .58fr);
    gap: 14px;
    padding: 10px 14px;
    border-top: 1px solid #eee5dc;
}

.product-analysis-spec-groups dl > div:first-child {
    border-top: 0;
}

.product-analysis-spec-groups dt,
.product-analysis-spec-groups dd {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
}

.product-analysis-spec-groups dt {
    color: #8b7767;
    font-weight: 700;
}

.product-analysis-spec-groups dd {
    color: #241c17;
    font-weight: 800;
}

.product-analysis-parameter-table {
    overflow: hidden;
    border: 1px solid #dfd0c1;
    background: #ffffff;
}

.product-analysis-parameter-table > div {
    display: grid;
    grid-template-columns: minmax(130px, .24fr) minmax(220px, .46fr) minmax(160px, .30fr);
    gap: 16px;
    align-items: center;
    min-height: 52px;
    padding: 10px 15px;
    border-top: 1px solid #eee5dd;
}

.product-analysis-parameter-table > div:first-child {
    border-top: 0;
}

.product-analysis-parameter-table__head {
    background: #211812;
    color: #ffffff;
}

.product-analysis-parameter-table__head span {
    color: var(--tp-gold);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.product-analysis-parameter-table strong,
.product-analysis-parameter-table p,
.product-analysis-parameter-table > div > span {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
}

.product-analysis-parameter-table strong {
    color: #231a14;
    font-weight: 900;
}

.product-analysis-parameter-table p {
    color: #61554c;
}

.product-analysis-parameter-table > div > span {
    color: #9b5715;
    font-weight: 800;
}

.product-analysis-operation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.product-analysis-operation-grid article {
    padding: 17px;
    border: 1px solid #e1d4c6;
    background: #fffaf4;
}

.product-analysis-operation-grid span {
    color: var(--tp-orange-strong);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.product-analysis-operation-grid h4 {
    margin: 6px 0 9px;
    color: #201812;
    font-size: 13px;
    font-weight: 900;
}

.product-analysis-operation-grid p,
.product-analysis-operation-grid li {
    color: #62564d;
    font-size: 9px;
    line-height: 1.55;
}

.product-analysis-operation-grid p {
    margin: 0;
}

.product-analysis-operation-grid ol {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 16px;
}

.product-analysis-installation-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-analysis-installation-media figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dfd2c5;
    background: #ffffff;
}

.product-analysis-installation-media img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: contain;
    padding: 8px;
}

.product-analysis-installation-media figcaption {
    padding: 9px 12px;
    border-top: 1px solid #e8ded4;
    color: #382b22;
    font-size: 9px;
    font-weight: 850;
}

.product-analysis-installation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.product-analysis-installation-grid article {
    padding: 17px;
    border-top: 3px solid var(--tp-orange);
    background: #211812;
}

.product-analysis-installation-grid h4 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.product-analysis-installation-grid ol,
.product-analysis-installation-grid ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 16px;
}

.product-analysis-installation-grid li {
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    line-height: 1.5;
}

.product-analysis-installation-grid li::marker {
    color: var(--tp-gold);
}

.product-analysis-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product-analysis-fit-card {
    padding: 24px;
    border: 1px solid #e0d2c5;
    background: #ffffff;
}

.product-analysis-fit-card > span {
    display: inline-block;
    padding: 5px 8px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-analysis-fit-card--yes > span {
    background: #e8f5e9;
    color: #256b2d;
}

.product-analysis-fit-card--no > span {
    background: #fff0e8;
    color: #9a4317;
}

.product-analysis-fit-card h4 {
    margin: 12px 0 13px;
    color: #1e1712;
    font-size: 20px;
    font-weight: 900;
}

.product-analysis-fit-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
}

.product-analysis-fit-card li {
    color: #5f534a;
    font-size: 10px;
    line-height: 1.55;
}

.product-analysis-fit-card li::marker {
    color: var(--tp-orange);
}

.product-analysis-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 18px;
}

.product-analysis-order-checklist {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-analysis-order-checklist li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 14px;
    border: 1px solid #e1d4c7;
    background: #ffffff;
}

.product-analysis-order-checklist li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #211812;
    color: var(--tp-gold);
    font-size: 9px;
    font-weight: 900;
}

.product-analysis-order-checklist strong,
.product-analysis-order-checklist p {
    display: block;
    margin: 0;
}

.product-analysis-order-checklist strong {
    color: #201812;
    font-size: 11px;
    font-weight: 900;
}

.product-analysis-order-checklist p {
    margin-top: 4px;
    color: #66594f;
    font-size: 9px;
    line-height: 1.5;
}

.product-analysis-safety {
    padding: 22px;
    border-top: 4px solid var(--tp-orange);
    background: #211812;
    color: #ffffff;
}

.product-analysis-safety h4 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.product-analysis-safety ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 17px;
}

.product-analysis-safety li,
.product-analysis-safety p {
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    line-height: 1.55;
}

.product-analysis-safety li::marker {
    color: var(--tp-gold);
}

.product-analysis-safety p {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.product-analysis-safety strong {
    color: var(--tp-gold);
}

.product-analysis-modal__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.product-analysis-modal button:focus-visible,
.product-analysis-modal a:focus-visible {
    outline: 3px solid rgba(255, 122, 0, .45);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .product-analysis-modal__header {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .product-analysis-modal__description {
        display: none;
    }

    .product-analysis-modal__body {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .product-analysis-operation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-analysis-installation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .product-analysis-modal {
        padding: 0;
    }

    .product-analysis-modal__dialog {
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-top: 4px solid var(--tp-orange);
    }

    .product-analysis-modal__header {
        min-height: 74px;
        padding: 12px 13px 12px 16px;
    }

    .product-analysis-modal__identity > div {
        display: block;
    }

    .product-analysis-modal__identity p {
        margin-bottom: 3px;
        font-size: 8px;
    }

    .product-analysis-modal__identity h2 {
        font-size: 21px;
    }

    .product-analysis-modal__close {
        width: 40px;
        height: 40px;
    }

    .product-analysis-modal__body {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .product-analysis-nav {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-bottom: 1px solid #35271e;
    }

    .product-analysis-nav__item {
        flex: 0 0 auto;
        grid-template-columns: 24px auto;
        width: auto;
        min-width: 138px;
        min-height: 58px;
        padding: 10px 12px;
        border-right: 1px solid rgba(255, 255, 255, .065);
        border-bottom: 0;
    }

    .product-analysis-nav__item::after {
        inset: auto 0 0 0;
        width: 100%;
        height: 3px;
    }

    .product-analysis-nav__item small {
        display: none;
    }

    .product-analysis-panel {
        padding: 19px 14px 28px;
    }

    .product-analysis-panel__heading {
        margin-bottom: 16px;
    }

    .product-analysis-panel__heading h3 {
        font-size: 27px;
    }

    .product-analysis-panel__heading p {
        font-size: 10px;
    }

    /* Se mantiene diagrama + galería lado a lado en móvil. */
    .product-analysis-visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .product-analysis-media-card > header {
        display: block;
        min-height: 79px;
        padding: 9px;
    }

    .product-analysis-media-card header h4 {
        font-size: 11px;
    }

    .product-analysis-segmented {
        margin-top: 7px;
    }

    .product-analysis-segmented button {
        min-width: 38px;
        height: 25px;
        padding-inline: 6px;
        font-size: 7px;
    }

    .product-analysis-diagram-stage,
    .product-analysis-gallery-stage {
        min-height: 190px;
    }

    .product-analysis-diagram-stage {
        padding: 4px;
    }

    .product-analysis-diagram-stage img {
        max-height: 188px;
    }

    .product-analysis-terminal-note {
        display: block;
        min-height: 67px;
        padding: 8px;
        font-size: 7px;
    }

    .product-analysis-terminal-note strong {
        display: block;
        margin-bottom: 3px;
        font-size: 7px;
    }

    .product-analysis-gallery-stage {
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        padding: 4px 2px;
    }

    .product-analysis-gallery-stage > button {
        width: 24px;
        height: 40px;
        border: 0;
        background: transparent;
    }

    .product-analysis-gallery-stage button svg {
        width: 16px;
        height: 16px;
    }

    .product-analysis-gallery-stage > img {
        height: 182px;
    }

    .product-analysis-gallery-thumbs {
        min-height: 55px;
        gap: 4px;
        padding: 6px;
    }

    .product-analysis-gallery-thumbs button {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .product-analysis-key-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 8px;
    }

    .product-analysis-key-data article {
        padding: 11px;
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .product-analysis-key-data article:nth-child(1),
    .product-analysis-key-data article:nth-child(2) {
        border-top: 0;
    }

    .product-analysis-key-data article:nth-child(3) {
        border-left: 0;
    }

    .product-analysis-key-data strong {
        font-size: 11px;
    }

    .product-analysis-key-data span {
        font-size: 7px;
    }

    .product-analysis-comparison,
    .product-analysis-spec-groups,
    .product-analysis-fit-grid,
    .product-analysis-order-layout {
        grid-template-columns: 1fr;
    }

    .product-analysis-comparison article {
        padding: 20px;
    }

    .product-analysis-parameter-table {
        overflow-x: auto;
    }

    .product-analysis-parameter-table > div {
        grid-template-columns: 115px 220px 155px;
        min-width: 530px;
    }

    .product-analysis-operation-grid {
        grid-template-columns: 1fr;
    }

    .product-analysis-installation-media {
        grid-template-columns: repeat(3, minmax(165px, 1fr));
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .product-analysis-installation-media img {
        height: 180px;
    }

    .product-analysis-modal__footer-actions,
    .product-analysis-modal__footer-actions .product-action {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .product-analysis-modal__eyebrow {
        font-size: 7px;
    }

    .product-analysis-modal__identity h2 {
        font-size: 18px;
    }

    .product-analysis-visual-grid {
        gap: 4px;
    }

    .product-analysis-media-card header small {
        font-size: 6px;
    }

    .product-analysis-media-card header h4 {
        font-size: 9px;
    }

    .product-analysis-diagram-stage,
    .product-analysis-gallery-stage {
        min-height: 158px;
    }

    .product-analysis-diagram-stage img {
        max-height: 155px;
    }

    .product-analysis-gallery-stage > img {
        height: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-analysis-modal,
    .product-analysis-modal__dialog,
    .product-analysis-gallery-stage > img,
    .product-analysis-modal__close {
        transition: none !important;
    }
}
