/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* ==========================================================
   ISM - Acceso profesional de clientes
   ========================================================== */

body#authentication #main .page-content {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body#authentication #content-wrapper {
    padding-top: 24px;
    padding-bottom: 50px;
}

.fh-auth-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.fh-auth-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e7ec;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(22, 92, 125, 0.09);
}

.fh-auth-header {
    position: relative;
    overflow: hidden;
    padding: 32px 40px 29px;
    background:
        linear-gradient(
            135deg,
            rgba(22, 92, 125, 1) 0%,
            rgba(18, 72, 98, 1) 100%
        );
    color: #ffffff;
    text-align: center;
}

.fh-auth-header::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -65px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.fh-auth-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 10px;
    color: #f4ad77;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fh-auth-title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 700;
}

.fh-auth-description {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
}

.fh-auth-form-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 36px 38px 26px;
}

.fh-auth-card .login-form {
    margin: 0;
}

.fh-auth-card .login-form .form-group {
    margin-bottom: 20px;
}

.fh-auth-card .login-form .col-form-label {
    color: #263746;
    font-size: 14px;
    font-weight: 600;
}

.fh-auth-card .login-form .form-control {
    min-height: 48px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #d5dce3;
    border-radius: 7px;
    box-shadow: none;
    color: #222222;
}

.fh-auth-card .login-form .form-control:focus {
    background: #ffffff;
    border-color: #165c7d;
    box-shadow: 0 0 0 3px rgba(22, 92, 125, 0.11);
}

.fh-auth-card .login-form .input-group .form-control {
    border-radius: 7px 0 0 7px;
}

.fh-auth-card .login-form .input-group-append .btn {
    min-width: 52px;
    background: #e87722;
    border: 1px solid #e87722;
    border-radius: 0 7px 7px 0;
    color: #ffffff;
}

.fh-auth-card .login-form .input-group-append .btn:hover,
.fh-auth-card .login-form .input-group-append .btn:focus {
    background: #cf6517;
    border-color: #cf6517;
    color: #ffffff;
}

.fh-auth-card .forgot-password {
    margin: 5px 0 22px;
    text-align: center;
}

.fh-auth-card .forgot-password a {
    color: #165c7d;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.fh-auth-card .forgot-password a:hover,
.fh-auth-card .forgot-password a:focus {
    color: #e87722;
    text-decoration: underline;
}

.fh-auth-card .form-footer {
    padding-top: 0;
    text-align: center;
}

.fh-auth-card #submit-login {
    min-width: 250px;
    min-height: 49px;
    padding: 12px 28px;
    background: #e87722;
    border: 1px solid #e87722;
    border-radius: 26px;
    box-shadow: 0 8px 20px rgba(232, 119, 34, 0.2);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.fh-auth-card #submit-login:hover,
.fh-auth-card #submit-login:focus {
    background: #cf6517;
    border-color: #cf6517;
    box-shadow: 0 10px 24px rgba(207, 101, 23, 0.25);
    transform: translateY(-1px);
}

.fh-auth-register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 0 38px 38px;
    padding: 22px 24px;
    background: #f7f9fb;
    border: 1px solid #e1e7ec;
    border-left: 5px solid #e87722;
    border-radius: 10px;
}

.fh-auth-register-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.fh-auth-register-text strong {
    color: #165c7d;
    font-size: 16px;
    font-weight: 700;
}

.fh-auth-register-text span {
    max-width: 620px;
    color: #66727c;
    font-size: 13px;
    line-height: 1.5;
}

.fh-auth-register-button {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #165c7d;
    border-radius: 22px;
    color: #165c7d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.fh-auth-register-button i {
    margin-left: 7px;
}

.fh-auth-register-button:hover,
.fh-auth-register-button:focus {
    background: #165c7d;
    border-color: #165c7d;
    color: #ffffff;
}

@media (max-width: 767px) {
    body#authentication #content-wrapper {
        padding-top: 14px;
        padding-bottom: 30px;
    }

    .fh-auth-card {
        border-radius: 10px;
    }

    .fh-auth-header {
        padding: 27px 20px 25px;
    }

    .fh-auth-title {
        font-size: 25px;
    }

    .fh-auth-description {
        font-size: 14px;
    }

    .fh-auth-form-container {
        padding: 27px 18px 22px;
    }

    .fh-auth-card .login-form .form-group.row {
        display: block;
    }

    .fh-auth-card .login-form .col-form-label,
    .fh-auth-card .login-form .js-input-column,
    .fh-auth-card .login-form .form-control-comment {
        width: 100%;
        max-width: 100%;
    }

    .fh-auth-card .login-form .col-form-label {
        margin-bottom: 7px;
        padding-top: 0;
    }

    .fh-auth-card #submit-login {
        width: 100%;
        min-width: 0;
    }

    .fh-auth-register {
        display: block;
        margin: 0 18px 24px;
        padding: 19px;
        text-align: center;
    }

    .fh-auth-register-button {
        display: block;
        width: 100%;
        margin-top: 17px;
    }
}

/* ==========================================================
   ISM - Área de cliente
   ========================================================== */

.fh-cuenta-cabecera {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #165c7d 0%, #104761 100%);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 9px 28px rgba(22, 92, 125, 0.13);
}

.fh-cuenta-cabecera-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
}

.fh-cuenta-cabecera h1 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.fh-cuenta-cabecera p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.5;
}

.my-account-page-content-wrapper {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.fh-cuenta-estructura {
    align-items: flex-start;
}

.fh-cuenta-lateral {
    margin-bottom: 24px;
}

.fh-cuenta-menu {
    overflow: hidden;
    padding: 12px;
    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 11px;
    box-shadow: 0 5px 20px rgba(31, 50, 65, 0.05);
}

.fh-cuenta-menu-titulo,
.fh-cuenta-menu-separador {
    padding: 9px 12px;
    color: #8a969f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.fh-cuenta-menu-separador {
    margin-top: 8px;
    border-top: 1px solid #edf0f2;
    padding-top: 15px;
}

.fh-cuenta-menu-enlace,
.fh-cuenta-menu-modulos a {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
    min-height: 43px;
    margin: 2px 0;
    padding: 9px 11px !important;
    border: 0;
    border-radius: 7px;
    color: #263746;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fh-cuenta-menu-enlace:hover,
.fh-cuenta-menu-enlace:focus,
.fh-cuenta-menu-modulos a:hover,
.fh-cuenta-menu-modulos a:focus {
    background: #f4f8fa;
    color: #165c7d;
    text-decoration: none;
}

.fh-cuenta-menu-enlace.activo {
    background: #edf6fa;
    color: #165c7d;
    font-weight: 700;
}

.fh-cuenta-menu-icono,
.fh-cuenta-menu-modulos a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-right: 7px;
    border-radius: 7px;
    color: #165c7d;
    font-size: 14px;
}

.fh-cuenta-menu-enlace.activo .fh-cuenta-menu-icono {
    background: #165c7d;
    color: #fff;
}

.fh-cuenta-menu-modulos > a,
.fh-cuenta-menu-modulos > div,
.fh-cuenta-menu-modulos .link-item {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

.fh-cuenta-menu-modulos .link-item {
    display: flex;
    align-items: center;
}

.fh-cuenta-menu-salir {
    margin-top: 10px;
    border-top: 1px solid #edf0f2;
    border-radius: 0 0 7px 7px;
    color: #7a4747;
}

.fh-cuenta-menu-salir .fh-cuenta-menu-icono {
    color: #c65b5b;
}

.fh-cuenta-titulo-pagina {
    margin-bottom: 18px;
}

.fh-cuenta-titulo-pagina h2 {
    margin: 0;
    color: #1d2f3d;
    font-size: 24px;
    font-weight: 700;
}

.fh-cuenta-bienvenida {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff7f0 0%, #fff 100%);
    border: 1px solid #f0d4bf;
    border-left: 5px solid #e87722;
    border-radius: 10px;
}

.fh-cuenta-bienvenida-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #e87722;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
}

.fh-cuenta-bienvenida h3 {
    margin: 0 0 5px;
    color: #165c7d;
    font-size: 19px;
    font-weight: 700;
}

.fh-cuenta-bienvenida p {
    margin: 0;
    color: #65727c;
    font-size: 13px;
    line-height: 1.5;
}

.fh-cuenta-tarjetas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fh-cuenta-tarjeta {
    display: flex;
    align-items: center;
    min-height: 112px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(31, 50, 65, 0.04);
    color: #263746;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-cuenta-tarjeta:hover,
.fh-cuenta-tarjeta:focus {
    transform: translateY(-2px);
    border-color: #c7dce6;
    box-shadow: 0 9px 24px rgba(22, 92, 125, 0.09);
    color: #263746;
    text-decoration: none;
}

.fh-cuenta-tarjeta-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    margin-right: 15px;
    background: #edf6fa;
    border-radius: 10px;
    color: #165c7d;
    font-size: 19px;
}

.fh-cuenta-tarjeta:hover .fh-cuenta-tarjeta-icono {
    background: #165c7d;
    color: #fff;
}

.fh-cuenta-tarjeta-contenido {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.fh-cuenta-tarjeta-contenido strong {
    margin-bottom: 5px;
    color: #1f3443;
    font-size: 15px;
    font-weight: 700;
}

.fh-cuenta-tarjeta-contenido small {
    color: #72808a;
    font-size: 12px;
    line-height: 1.45;
}

.fh-cuenta-tarjeta-flecha {
    margin-left: 12px;
    color: #b3bdc5;
    font-size: 20px;
}

.fh-cuenta-panel-modulos {
    margin-top: 18px;
}

.fh-cuenta-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 11px;
    box-shadow: 0 5px 20px rgba(31, 50, 65, 0.05);
}

.fh-cuenta-panel-cabecera {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 21px 24px;
    background: #f7f9fb;
    border-bottom: 1px solid #e5eaee;
}

.fh-cuenta-panel-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #165c7d;
    border-radius: 9px;
    color: #fff;
    font-size: 18px;
}

.fh-cuenta-panel-cabecera h3 {
    margin: 0 0 4px;
    color: #1f3443;
    font-size: 18px;
    font-weight: 700;
}

.fh-cuenta-panel-cabecera p {
    margin: 0;
    color: #73808a;
    font-size: 12px;
    line-height: 1.5;
}

.fh-cuenta-formulario {
    padding: 25px 24px;
}

.fh-cuenta-formulario .form-group {
    margin-bottom: 18px;
}

.fh-cuenta-formulario .col-form-label {
    color: #314653;
    font-size: 13px;
    font-weight: 600;
}

.fh-cuenta-formulario .form-control {
    min-height: 44px;
    border: 1px solid #d8dfe4;
    border-radius: 6px;
    box-shadow: none;
}

.fh-cuenta-formulario .form-control:disabled,
.fh-cuenta-formulario .form-control[readonly] {
    background: #f5f7f8;
    color: #62717b;
}

.fh-direcciones-grid {
    padding: 22px 16px 6px;
}

.fh-direccion-tarjeta {
    overflow: hidden;
    height: calc(100% - 16px);
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(31, 50, 65, 0.04);
}

.fh-direccion-cabecera {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #f7f9fb;
    border-bottom: 1px solid #e5eaee;
}

.fh-direccion-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #e87722;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
}

.fh-direccion-titulo h4 {
    margin: 0 0 3px;
    color: #1f3443;
    font-size: 15px;
    font-weight: 700;
}

.fh-direccion-titulo span {
    display: inline-block;
    color: #6b7b85;
    font-size: 11px;
}

.fh-direccion-contenido {
    padding: 18px;
}

.fh-direccion-contenido address {
    margin: 0;
    color: #52636e;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.fh-cuenta-vacio {
    padding: 45px 25px;
    text-align: center;
}

.fh-cuenta-vacio-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    background: #edf6fa;
    border-radius: 50%;
    color: #165c7d;
    font-size: 24px;
}

.fh-cuenta-vacio h4 {
    margin: 0 0 8px;
    color: #1f3443;
    font-size: 18px;
}

.fh-cuenta-vacio p {
    margin: 0 0 18px;
    color: #72808a;
    font-size: 13px;
}

/* Integra el aviso del módulo de bloqueo. */
.my-account-page-content-wrapper > .fh-customer-lock-notice {
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .fh-cuenta-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .fh-cuenta-menu-titulo,
    .fh-cuenta-menu-separador {
        grid-column: 1 / -1;
    }

    .fh-cuenta-menu-modulos {
        display: contents;
    }
}

@media (max-width: 767px) {
    .fh-cuenta-cabecera {
        padding: 20px;
    }

    .fh-cuenta-cabecera h1 {
        font-size: 23px;
    }

    .fh-cuenta-cabecera-icono {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .fh-cuenta-tarjetas {
        grid-template-columns: 1fr;
    }

    .fh-cuenta-panel-cabecera {
        align-items: flex-start;
        padding: 18px;
    }

    .fh-cuenta-formulario {
        padding: 20px 16px;
    }
}

@media (max-width: 575px) {
    .fh-cuenta-menu {
        display: block;
    }

    .fh-cuenta-bienvenida {
        align-items: flex-start;
        padding: 18px;
    }

    .fh-cuenta-tarjeta {
        min-height: 100px;
        padding: 15px;
    }

    .fh-cuenta-tarjeta-icono {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================
   ISM - Historial de pedidos
   ========================================================== */

.fh-historial-cabecera {
    position: relative;
}

.fh-historial-cabecera-texto {
    flex: 1;
    min-width: 0;
}

.fh-historial-contador {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 13px;
    background: #edf6fa;
    border: 1px solid #d6e7ef;
    border-radius: 18px;
    color: #165c7d;
    font-size: 12px;
    font-weight: 700;
}

.fh-historial-tabla {
    overflow-x: auto;
}

.fh-historial-tabla .table {
    width: 100%;
    margin: 0;
    border: 0;
    background: #fff;
}

.fh-historial-tabla thead th {
    padding: 15px 14px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #dfe6ea;
    color: #7b8891;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.fh-historial-tabla tbody td {
    padding: 17px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    color: #52636e;
    font-size: 13px;
    vertical-align: middle;
}

.fh-historial-tabla tbody tr:last-child td {
    border-bottom: 0;
}

.fh-historial-tabla tbody tr:hover {
    background: #fafcfd;
}

.fh-historial-referencia a {
    color: #165c7d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.fh-historial-referencia a:hover {
    color: #e87722;
    text-decoration: none;
}

.fh-historial-fecha,
.fh-historial-pago {
    color: #65747e !important;
}

.fh-historial-total {
    color: #1f3443 !important;
    font-weight: 700;
    white-space: nowrap;
}

.fh-historial-estado {
    display: inline-block;
    max-width: 170px;
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
}

.fh-historial-boton-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff4ec;
    border: 1px solid #f1d4bf;
    border-radius: 7px;
    color: #d66317;
    font-size: 16px;
    text-decoration: none;
}

.fh-historial-boton-icono:hover {
    background: #e87722;
    border-color: #e87722;
    color: #fff;
    text-decoration: none;
}

.fh-historial-sin-factura {
    color: #aab3ba;
}

.fh-historial-acciones {
    min-width: 185px;
    white-space: nowrap;
}

.fh-historial-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 2px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #d8e0e5;
    border-radius: 6px;
    color: #52636e;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fh-historial-boton i {
    margin-right: 6px;
}

.fh-historial-boton:hover {
    background: #f4f8fa;
    border-color: #bcd3de;
    color: #165c7d;
    text-decoration: none;
}

.fh-historial-boton-principal {
    background: #165c7d;
    border-color: #165c7d;
    color: #fff;
}

.fh-historial-boton-principal:hover {
    background: #104761;
    border-color: #104761;
    color: #fff;
}

/* Vista móvil. */

.fh-historial-movil {
    padding: 16px;
}

.fh-historial-pedido {
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(31, 50, 65, 0.04);
}

.fh-historial-pedido:last-child {
    margin-bottom: 0;
}

.fh-historial-pedido-cabecera {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    background: #f7f9fb;
    border-bottom: 1px solid #e5eaee;
}

.fh-historial-etiqueta {
    display: block;
    margin-bottom: 3px;
    color: #84919a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fh-historial-pedido-referencia {
    color: #165c7d;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.fh-historial-pedido-datos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 17px 16px;
}

.fh-historial-pedido-datos div:last-child {
    grid-column: 1 / -1;
}

.fh-historial-pedido-datos span {
    display: block;
    margin-bottom: 4px;
    color: #89959e;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fh-historial-pedido-datos strong {
    display: block;
    color: #334854;
    font-size: 13px;
    font-weight: 600;
}

.fh-historial-pedido-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 13px 14px;
    background: #fafcfd;
    border-top: 1px solid #edf0f2;
}

.fh-historial-pedido-acciones .fh-historial-boton {
    flex: 1 1 auto;
    margin: 0;
}

@media (max-width: 767px) {
    .fh-historial-cabecera {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .fh-historial-contador {
        margin-left: 60px;
    }
}

@media (max-width: 575px) {
    .fh-historial-contador {
        width: 100%;
        margin-left: 0;
    }

    .fh-historial-pedido-datos {
        grid-template-columns: 1fr;
    }

    .fh-historial-pedido-datos div:last-child {
        grid-column: auto;
    }

    .fh-historial-pedido-acciones {
        flex-direction: column;
    }
}
/* Icono principal del bloque. */
.fh-historial-panel .fh-cuenta-panel-icono,
.fh-historial-panel .fh-cuenta-panel-icono i {
    color: #fff !important;
}

/* Botón principal. */
.fh-historial-panel .fh-historial-boton-principal,
.fh-historial-panel .fh-historial-boton-principal:visited,
.fh-historial-panel .fh-historial-boton-principal i {
    background: #165c7d !important;
    border-color: #165c7d !important;
    color: #fff !important;
}

.fh-historial-panel .fh-historial-boton-principal:hover,
.fh-historial-panel .fh-historial-boton-principal:focus,
.fh-historial-panel .fh-historial-boton-principal:hover i,
.fh-historial-panel .fh-historial-boton-principal:focus i {
    background: #104761 !important;
    border-color: #104761 !important;
    color: #fff !important;
}

/* Botones secundarios. */
.fh-historial-panel .fh-historial-boton:not(.fh-historial-boton-principal),
.fh-historial-panel .fh-historial-boton:not(.fh-historial-boton-principal) i {
    color: #165c7d !important;
}

/* Botón de factura. */
.fh-historial-panel .fh-historial-boton-icono,
.fh-historial-panel .fh-historial-boton-icono i {
    color: #d66317 !important;
}

.fh-historial-panel .fh-historial-boton-icono:hover,
.fh-historial-panel .fh-historial-boton-icono:focus,
.fh-historial-panel .fh-historial-boton-icono:hover i,
.fh-historial-panel .fh-historial-boton-icono:focus i {
    color: #fff !important;
}

/* Estados: texto blanco y fondo ligeramente oscurecido. */
.fh-historial-panel .fh-historial-estado {
    color: #fff !important;
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.12),
        rgba(0, 0, 0, 0.12)
    ) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   ISM - Detalle del pedido
   ========================================================== */

.fh-detalle-pedido {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fh-detalle-resumen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    padding: 23px 25px;
    background: linear-gradient(135deg, #f7fbfd 0%, #fff 100%);
    border: 1px solid #dce7ed;
    border-left: 5px solid #e87722;
    border-radius: 11px;
    box-shadow: 0 5px 18px rgba(31, 50, 65, 0.05);
}

.fh-detalle-resumen-principal h3 {
    margin: 4px 0 7px;
    color: #16384a;
    font-size: 24px;
    font-weight: 700;
}

.fh-detalle-resumen-principal p {
    margin: 0;
    color: #6e7d86;
    font-size: 13px;
}

.fh-detalle-resumen-principal p i {
    margin-right: 6px;
    color: #e87722;
}

.fh-detalle-etiqueta {
    color: #84919a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.fh-detalle-resumen-datos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.fh-detalle-total {
    padding-right: 16px;
    border-right: 1px solid #dce5ea;
    text-align: right;
}

.fh-detalle-total span {
    display: block;
    margin-bottom: 2px;
    color: #84919a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fh-detalle-total strong {
    color: #16384a;
    font-size: 20px;
    font-weight: 700;
}

.fh-detalle-estado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    min-height: 31px;
    padding: 6px 12px;
    border-radius: 16px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.fh-detalle-resumen-acciones {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #e2e9ed;
}

.fh-detalle-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.fh-detalle-boton i {
    margin-right: 7px;
}

.fh-detalle-boton-principal,
.fh-detalle-boton-principal:visited,
.fh-detalle-boton-principal i {
    background: #165c7d;
    border-color: #165c7d;
    color: #fff !important;
}

.fh-detalle-boton-principal:hover,
.fh-detalle-boton-principal:focus {
    background: #104761;
    border-color: #104761;
    color: #fff !important;
    text-decoration: none;
}

.fh-detalle-boton-secundario,
.fh-detalle-boton-secundario:visited {
    background: #fff4ec;
    border-color: #f0d2bd;
    color: #d66317 !important;
}

.fh-detalle-boton-secundario:hover,
.fh-detalle-boton-secundario:focus {
    background: #e87722;
    border-color: #e87722;
    color: #fff !important;
    text-decoration: none;
}

.fh-detalle-seccion {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 11px;
    box-shadow: 0 5px 18px rgba(31, 50, 65, 0.04);
}

.fh-detalle-seccion-cabecera {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 22px;
    background: #f7f9fb;
    border-bottom: 1px solid #e4eaee;
}

.fh-detalle-seccion-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    background: #165c7d;
    border-radius: 9px;
    color: #fff !important;
    font-size: 17px;
}

.fh-detalle-seccion-icono i {
    color: #fff !important;
}

.fh-detalle-seccion-cabecera h3 {
    margin: 0 0 3px;
    color: #1f3443;
    font-size: 17px;
    font-weight: 700;
}

.fh-detalle-seccion-cabecera p {
    margin: 0;
    color: #74818a;
    font-size: 12px;
}

.fh-detalle-cronologia {
    padding: 22px 24px;
}

.fh-detalle-cronologia-linea {
    position: relative;
    display: flex;
    min-height: 55px;
    padding-left: 30px;
}

.fh-detalle-cronologia-linea:not(:last-child)::before {
    position: absolute;
    top: 19px;
    bottom: -4px;
    left: 7px;
    width: 2px;
    background: #e2e8ec;
    content: "";
}

.fh-detalle-cronologia-punto {
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d7e0e5;
}

.fh-detalle-cronologia-contenido {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.fh-detalle-cronologia-fecha {
    flex: 0 0 120px;
    padding-top: 7px;
    color: #65747e;
    font-size: 12px;
}

.fh-detalle-datos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fh-detalle-dato {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 10px;
}

.fh-detalle-dato-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    background: #edf6fa;
    border-radius: 9px;
    color: #165c7d;
    font-size: 17px;
}

.fh-detalle-dato span:not(.fh-detalle-dato-icono) {
    display: block;
    margin-bottom: 3px;
    color: #84919a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fh-detalle-dato strong {
    display: block;
    color: #263b48;
    font-size: 13px;
}

.fh-detalle-aviso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    background: #fff9f4;
    border: 1px solid #f0d7c4;
    border-left: 4px solid #e87722;
    border-radius: 8px;
    color: #52636e;
    font-size: 13px;
}

.fh-detalle-aviso > i {
    margin-top: 2px;
    color: #e87722;
    font-size: 17px;
}

.fh-detalle-aviso p {
    margin: 4px 0 0;
}

.fh-detalle-seguimiento {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #f1f8fb;
    border: 1px solid #d4e6ee;
    border-radius: 10px;
}

.fh-detalle-seguimiento-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #165c7d;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
}

.fh-detalle-seguimiento > div {
    flex: 1;
}

.fh-detalle-seguimiento strong {
    color: #1f3443;
    font-size: 14px;
}

.fh-detalle-seguimiento p {
    margin: 3px 0 0;
    color: #71808a;
    font-size: 12px;
}

.fh-detalle-direcciones {
    padding: 20px 14px 5px;
}

.fh-detalle-direccion {
    height: calc(100% - 15px);
    margin-bottom: 15px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 9px;
}

.fh-detalle-direccion header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf0f2;
}

.fh-detalle-direccion header > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #fff1e7;
    border-radius: 50%;
    color: #e87722;
}

.fh-detalle-direccion small {
    display: block;
    color: #84919a;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.fh-detalle-direccion h4 {
    margin: 2px 0 0;
    color: #1f3443;
    font-size: 14px;
    font-weight: 700;
}

.fh-detalle-direccion address {
    margin: 0;
    color: #52636e;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.fh-detalle-productos-contenido,
.fh-detalle-mensajes-contenido {
    padding: 20px;
}

.fh-detalle-productos .box,
.fh-detalle-mensajes .box {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.fh-detalle-productos #order-products {
    width: 100%;
    margin: 0;
    border: 1px solid #e0e6ea;
}

.fh-detalle-productos #order-products thead th {
    padding: 13px 14px;
    background: #f3f6f8;
    border-color: #dfe6ea;
    color: #5d6d77;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.fh-detalle-productos #order-products td {
    padding: 15px 14px;
    border-color: #e5eaed;
    color: #485c68;
    font-size: 12px;
    vertical-align: middle;
}

.fh-detalle-productos #order-products tfoot td {
    background: #fafcfd;
    font-weight: 600;
}

.fh-detalle-productos #order-products tfoot tr:last-child td {
    background: #edf6fa;
    color: #165c7d;
    font-size: 14px;
    font-weight: 700;
}

.fh-detalle-productos .order-items,
.fh-detalle-productos .order-totals {
    border: 1px solid #e0e6ea;
    border-radius: 8px;
}

.fh-detalle-envios-tabla {
    overflow-x: auto;
}

.fh-detalle-envios-tabla .table {
    margin: 0;
}

.fh-detalle-envios-tabla th {
    padding: 13px 16px;
    background: #f3f6f8;
    border: 0;
    border-bottom: 1px solid #dfe6ea;
    color: #64747e;
    font-size: 10px;
    text-transform: uppercase;
}

.fh-detalle-envios-tabla td {
    padding: 15px 16px;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    color: #52636e;
    font-size: 12px;
}

.fh-detalle-envios-movil {
    padding: 16px;
}

.fh-detalle-envios-movil article {
    padding: 16px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
}

.fh-detalle-envios-movil p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #edf0f2;
}

.fh-detalle-envios-movil p:last-child {
    border-bottom: 0;
}

.fh-detalle-envios-movil span {
    color: #84919a;
    font-size: 11px;
}

.fh-detalle-envios-movil strong {
    color: #334854;
    font-size: 11px;
    text-align: right;
}

.fh-detalle-hook:empty {
    display: none;
}

@media (max-width: 991px) {
    .fh-detalle-resumen {
        grid-template-columns: 1fr;
    }

    .fh-detalle-resumen-datos {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .fh-detalle-datos-grid {
        grid-template-columns: 1fr;
    }

    .fh-detalle-cronologia-contenido {
        flex-direction: column;
        gap: 5px;
    }

    .fh-detalle-cronologia-fecha {
        flex-basis: auto;
        padding-top: 0;
    }

    .fh-detalle-seguimiento {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .fh-detalle-seguimiento .fh-detalle-boton {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .fh-detalle-resumen {
        padding: 20px 18px;
    }

    .fh-detalle-resumen-datos {
        align-items: flex-start;
        flex-direction: column;
    }

    .fh-detalle-total {
        padding-right: 0;
        border-right: 0;
        text-align: left;
    }

    .fh-detalle-resumen-acciones {
        flex-direction: column;
    }

    .fh-detalle-resumen-acciones .fh-detalle-boton {
        width: 100%;
    }

    .fh-detalle-productos-contenido,
    .fh-detalle-mensajes-contenido {
        padding: 14px;
    }
}
/* ==========================================================
   ISM - Rediseño compacto del checkout
   ========================================================== */

body#checkout {
    background: #f4f7f9;
}

body#checkout #wrapper {
    background: transparent;
}

/* Separación general. */
body#checkout .checkout-step {
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #dde6eb;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(31, 50, 65, 0.05);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Paso activo. */
body#checkout .checkout-step.-current {
    border-color: #a8c7d6;
    box-shadow: 0 8px 24px rgba(22, 92, 125, 0.10);
}

/* Cabeceras de los pasos. */
body#checkout .checkout-step .step-title {
    display: flex;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 17px 20px;
    background: #fff;
    border: 0;
    color: #1d3a4b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Pasos cerrados más compactos. */
body#checkout .checkout-step:not(.-current) .step-title {
    min-height: 64px;
    padding-top: 13px;
    padding-bottom: 13px;
}

/* Número del paso. */
body#checkout .checkout-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-right: 13px;
    background: #eaf3f7;
    border: 1px solid #c9dce6;
    border-radius: 50%;
    color: #165c7d;
    font-size: 15px;
    font-weight: 700;
}

/* Número del paso activo. */
body#checkout .checkout-step.-current .step-number {
    background: #165c7d;
    border-color: #165c7d;
    color: #fff;
}

/* Icono de paso completado. */
body#checkout .checkout-step .done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-right: 13px;
    background: #eaf7f2;
    border: 1px solid #bfdfd1;
    border-radius: 50%;
    color: #218760;
    font-size: 20px;
}

/* Botón modificar. */
body#checkout .checkout-step .step-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 7px 11px;
    background: #f1f6f9;
    border: 1px solid #d5e2e8;
    border-radius: 6px;
    color: #165c7d !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
}

body#checkout .checkout-step .step-edit:hover {
    background: #165c7d;
    border-color: #165c7d;
    color: #fff !important;
}

body#checkout .checkout-step .step-edit i {
    color: inherit !important;
    font-size: 14px;
}

/* Contenido del paso activo. */
body#checkout .checkout-step .content {
    padding: 4px 24px 24px;
}

body#checkout .checkout-step.-current .content {
    border-top: 1px solid #edf1f3;
    padding-top: 22px;
}

/* Texto auxiliar de los pasos finalizados. */
body#checkout .checkout-step .content,
body#checkout .checkout-step .step-title {
    color: #4f606a;
}

body#checkout .checkout-step .step-title small,
body#checkout .checkout-step .step-title .text-muted {
    color: #75858f !important;
    font-weight: 400;
}

/* Formularios. */
body#checkout .form-control {
    min-height: 44px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid #d5dfe4;
    border-radius: 7px;
    box-shadow: none;
}

body#checkout .form-control:focus {
    border-color: #6ba3bc;
    box-shadow: 0 0 0 3px rgba(22, 92, 125, 0.10);
}

/* Direcciones. */
body#checkout .address-item {
    height: 100%;
    padding: 17px;
    background: #fff;
    border: 1px solid #dce4e8;
    border-radius: 9px;
    box-shadow: none;
}

body#checkout .address-item.selected {
    background: #f2f8fb;
    border: 2px solid #165c7d;
}

body#checkout .address-item .address {
    color: #4f606a;
    font-size: 13px;
    line-height: 1.65;
}

/* Métodos de envío. */
body#checkout .delivery-option,
body#checkout .delivery-option-2 {
    margin-bottom: 10px;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid #dce4e8;
    border-radius: 8px;
}

body#checkout .delivery-option:hover,
body#checkout .delivery-option-2:hover {
    border-color: #9bbdcd;
    background: #f7fbfd;
}

/* Métodos de pago. */
body#checkout .payment-options {
    margin-top: 4px;
}

body#checkout .payment-option {
    display: flex;
    align-items: center;
    min-height: 54px;
    margin-bottom: 9px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #dce4e8;
    border-radius: 8px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

body#checkout .payment-option:hover {
    background: #f6fafc;
    border-color: #9bbdcd;
}

body#checkout .payment-option label {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 0 0 9px;
    color: #263d4b;
    font-size: 13px;
    font-weight: 600;
}

body#checkout .payment-option img {
    max-height: 27px;
    margin-left: 8px;
}

/* Condiciones y confirmación. */
body#checkout .condition-label {
    color: #53646e;
    font-size: 12px;
    line-height: 1.5;
}

body#checkout #payment-confirmation {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8eb;
}

body#checkout #payment-confirmation .btn,
body#checkout .checkout-step .btn-primary {
    min-height: 45px;
    padding: 11px 22px;
    background: #e87722;
    border-color: #e87722;
    border-radius: 7px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

body#checkout #payment-confirmation .btn:hover,
body#checkout .checkout-step .btn-primary:hover {
    background: #c95e16;
    border-color: #c95e16;
    color: #fff !important;
}

/* Resumen lateral. */
body#checkout #js-checkout-summary {
    position: sticky;
    top: 20px;
}

body#checkout #js-checkout-summary > .card,
body#checkout #js-checkout-summary .cart-summary {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(31, 50, 65, 0.07);
}

body#checkout #js-checkout-summary .card-block {
    padding: 20px 24px;
}

body#checkout #js-checkout-summary .cart-summary-products {
    padding-bottom: 15px;
    border-bottom: 1px solid #e6ebee;
}

body#checkout #js-checkout-summary .cart-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 27px;
    margin: 0;
    color: #374b57;
    font-size: 14px;
}

body#checkout #js-checkout-summary .cart-summary-line .label {
    color: #374b57;
    font-weight: 400;
}

body#checkout #js-checkout-summary .cart-summary-line .value {
    color: #263a46;
    font-weight: 600;
    white-space: nowrap;
}

body#checkout #js-checkout-summary .cart-total {
    margin-top: 13px;
    padding-top: 15px;
    border-top: 1px solid #dfe5e8;
}

body#checkout #js-checkout-summary .cart-total .label,
body#checkout #js-checkout-summary .cart-total .value {
    color: #16384a;
    font-size: 20px;
    font-weight: 700;
}

/* Aviso superior del resumen. */
body#checkout .checkout-side-info,
body#checkout .block-promo {
    border-radius: 9px;
}

/* Tabla fiscal integrada. */
body#checkout .fh-iva-tabla-fiscal {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dfe5e8;
}

body#checkout .fh-iva-tabla-titulo {
    margin-bottom: 11px;
    color: #165c7d;
    font-size: 12px;
    font-weight: 700;
}

/* Escritorio. */
@media (min-width: 992px) {
    body#checkout .checkout-left-column {
        padding-right: 18px;
    }
}

/* Tablet y móvil. */
@media (max-width: 991px) {
    body#checkout #js-checkout-summary {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    body#checkout .checkout-step .step-title {
        min-height: 60px;
        padding: 13px 14px;
        font-size: 15px;
    }

    body#checkout .checkout-step .step-number,
    body#checkout .checkout-step .done {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        margin-right: 9px;
        font-size: 13px;
    }

    body#checkout .checkout-step .step-edit {
        padding: 5px 8px;
        font-size: 10px;
    }

    body#checkout .checkout-step .content {
        padding: 16px;
    }

    body#checkout .payment-option {
        padding: 12px;
    }

    body#checkout #js-checkout-summary .card-block {
        padding: 18px;
    }
}


/* ISM - Ajuste final checkout. */

/* Alineación de las cabeceras de los pasos. */
body#checkout .checkout-step .step-title {
    display: flex !important;
    align-items: center !important;
    position: relative;
}

/* Número e icono de paso completado. */
body#checkout .checkout-step .step-number,
body#checkout .checkout-step .done {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    position: static !important;
    box-sizing: border-box;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

/* El tema añade decoración al número; la eliminamos. */
body#checkout .checkout-step .step-number::before,
body#checkout .checkout-step .step-number::after {
    content: none !important;
}

/* Botón Modificar alineado a la derecha. */
body#checkout .checkout-step .step-edit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    position: static !important;
    margin: 0 0 0 auto !important;
    white-space: nowrap;
    line-height: 1.2;
}

/* La información fiscal queda después del total. */
body#checkout #js-checkout-summary .fh-iva-tabla-fiscal {
    margin: 8px 16px 16px !important;
    padding-top: 14px;
    border-top: 1px solid #e3eaee;
}

/* Tabla fiscal adaptada al ancho del resumen. */
body#checkout #js-checkout-summary .fh-iva-tabla {
    width: 100% !important;
    table-layout: fixed;
    margin-bottom: 0;
}

body#checkout #js-checkout-summary .fh-iva-tabla th,
body#checkout #js-checkout-summary .fh-iva-tabla td {
    padding: 9px 8px !important;
    vertical-align: top;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 11px;
    line-height: 1.4;
}

body#checkout #js-checkout-summary .fh-iva-tabla th:nth-child(1),
body#checkout #js-checkout-summary .fh-iva-tabla td:nth-child(1) {
    width: 24%;
}

body#checkout #js-checkout-summary .fh-iva-tabla th:nth-child(2),
body#checkout #js-checkout-summary .fh-iva-tabla td:nth-child(2) {
    width: 56%;
}

body#checkout #js-checkout-summary .fh-iva-tabla th:nth-child(3),
body#checkout #js-checkout-summary .fh-iva-tabla td:nth-child(3) {
    width: 20%;
}

@media (max-width: 767px) {
    body#checkout .checkout-step .step-title {
        min-height: 60px;
        padding: 12px 14px;
        font-size: 16px;
    }

    body#checkout .checkout-step .step-number,
    body#checkout .checkout-step .done {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }

    body#checkout .checkout-step .step-edit {
        padding: 6px 8px;
        font-size: 10px;
    }

    body#checkout #js-checkout-summary .fh-iva-tabla-fiscal {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* =========================================================
   ISM - Resumen checkout definitivo
   ========================================================= */

/* Sin check verde en las cabeceras. */
body#checkout .checkout-step .done {
    display: none !important;
}

/*
 * Los productos y transporte nativos de Warehouse usan
 * etiquetas "IVA incl.". Los sustituimos por nuestro desglose.
 */
body#checkout #cart-subtotal-products,
body#checkout #cart-subtotal-shipping {
    display: none !important;
}

/* Ocultamos los totales nativos para no duplicarlos. */
body#checkout #js-checkout-summary .js-cart-summary-totals {
    display: block !important;
}

/* Sin separadores nativos sobrantes. */
body#checkout #js-checkout-summary hr {
    display: none !important;
}

body#checkout #js-checkout-summary .fh-iva-tabla-fiscal {
    margin: 0 !important;
    padding: 14px 20px 22px !important;
    background: transparent !important;
    border: 0 !important;
}

/* Todas las líneas económicas usan exactamente la misma rejilla. */
body#checkout .fh-checkout-fila {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 24px;
    width: 100%;
    padding: 6px 0;
    border: 0 !important;
}

body#checkout .fh-checkout-fila span {
    min-width: 0;
    color: #586d79;
    font-size: 14px;
    font-weight: 400;
}

body#checkout .fh-checkout-fila strong {
    justify-self: end;
    color: #243f4f;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* Separamos los totales mediante espacio, no mediante otra caja. */
body#checkout .fh-checkout-total-sin {
    margin-top: 10px;
    padding-top: 9px;
}

/* Única línea importante del desglose. */
body#checkout .fh-checkout-total-final {
    margin-top: 8px;
    padding-top: 15px;
    border-top: 1px solid #dfe6ea !important;
}

body#checkout .fh-checkout-total-final span,
body#checkout .fh-checkout-total-final strong {
    color: #173f55;
    font-size: 17px;
    font-weight: 700;
}

/* Información fiscal más legible. */
body#checkout .fh-checkout-fiscal {
    margin-top: 18px;
    padding: 15px 16px;
    background: #f4f7f8;
    border: 0 !important;
    border-radius: 7px;
}

body#checkout .fh-checkout-fiscal-titulo {
    margin-bottom: 9px;
    color: #165c7d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

body#checkout .fh-checkout-fiscal-texto {
    color: #5d707b;
    font-size: 12px;
    line-height: 1.55;
}

/* Restos de diseños fiscales anteriores. */
body#checkout .fh-iva-tabla-titulo,
body#checkout .fh-iva-tabla-contenedor,
body#checkout .fh-iva-tabla,
body#checkout .fh-iva-desglose {
    display: none !important;
}



/* ISM - Carrito fiscal final */

/* Información fiscal de la zona izquierda. */
body#cart .fh-iva-tabla-fiscal,
body.page-cart .fh-iva-tabla-fiscal {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body#cart .fh-cart-fiscal,
body.page-cart .fh-cart-fiscal {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f5f7f8;
    border: 0 !important;
    border-left: 3px solid #e87722 !important;
    border-radius: 7px;
}

body#cart .fh-cart-fiscal-titulo,
body.page-cart .fh-cart-fiscal-titulo {
    margin-bottom: 10px;
    color: #165c7d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

body#cart .fh-cart-fiscal-contenido,
body.page-cart .fh-cart-fiscal-contenido {
    display: flex;
    align-items: center;
    gap: 16px;
}

body#cart .fh-cart-fiscal-tipo,
body.page-cart .fh-cart-fiscal-tipo {
    flex: 0 0 auto;
    padding: 7px 11px;
    background: #fff;
    border-radius: 5px;
    color: #536b79;
    font-size: 12px;
    white-space: nowrap;
}

body#cart .fh-cart-fiscal-tipo strong,
body.page-cart .fh-cart-fiscal-tipo strong {
    margin-left: 4px;
    color: #173f55;
    font-weight: 700;
}

body#cart .fh-cart-fiscal-texto,
body.page-cart .fh-cart-fiscal-texto {
    color: #536772;
    font-size: 12px;
    line-height: 1.5;
}


/* Resumen de importes de la tarjeta derecha. */
body#cart .fh-cart-totales,
body.page-cart .fh-cart-totales {
    padding-top: 6px !important;
}

body#cart .fh-cart-totales .cart-summary-line,
body.page-cart .fh-cart-totales .cart-summary-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 0 !important;
    border: 0 !important;
}

body#cart .fh-cart-totales .label,
body.page-cart .fh-cart-totales .label {
    color: #4e606b;
    font-size: 14px;
    font-weight: 400;
}

body#cart .fh-cart-totales .value,
body.page-cart .fh-cart-totales .value {
    margin-left: auto;
    color: #263f4d;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

/* Solo destacamos el importe final. */
body#cart .fh-cart-totales .cart-total,
body.page-cart .fh-cart-totales .cart-total {
    margin-top: 9px;
    padding-top: 14px !important;
    border-top: 1px solid #e1e7ea !important;
}

body#cart .fh-cart-totales .cart-total .label,
body#cart .fh-cart-totales .cart-total .value,
body.page-cart .fh-cart-totales .cart-total .label,
body.page-cart .fh-cart-totales .cart-total .value {
    color: #173f55;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 767px) {
    body#cart .fh-cart-fiscal-contenido,
    body.page-cart .fh-cart-fiscal-contenido {
        display: block;
    }

    body#cart .fh-cart-fiscal-tipo,
    body.page-cart .fh-cart-fiscal-tipo {
        display: inline-block;
        margin-bottom: 10px;
    }
}


/* ISM - Alineación final resumen carrito. */

/* Ambos bloques usan exactamente el mismo ancho interior. */
body#cart #js-checkout-summary .cart-detailed-subtotals,
body.page-cart #js-checkout-summary .cart-detailed-subtotals,
body#cart #js-checkout-summary .fh-cart-totales,
body.page-cart #js-checkout-summary .fh-cart-totales {
    box-sizing: border-box;
    width: 100%;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

/* Misma rejilla para TODAS las líneas económicas. */
body#cart #js-checkout-summary .cart-detailed-subtotals .cart-summary-line,
body.page-cart #js-checkout-summary .cart-detailed-subtotals .cart-summary-line,
body#cart #js-checkout-summary .fh-cart-totales .cart-summary-line,
body.page-cart #js-checkout-summary .fh-cart-totales .cart-summary-line {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 100px;
    align-items: baseline;
    column-gap: 20px;
    width: 100%;
}

/* Todos los importes terminan en la misma vertical. */
body#cart #js-checkout-summary .cart-detailed-subtotals .value,
body.page-cart #js-checkout-summary .cart-detailed-subtotals .value,
body#cart #js-checkout-summary .fh-cart-totales .value,
body.page-cart #js-checkout-summary .fh-cart-totales .value {
    width: auto !important;
    margin: 0 !important;
    justify-self: end;
    text-align: right !important;
    white-space: nowrap;
}

/* Las etiquetas empiezan igualmente alineadas. */
body#cart #js-checkout-summary .cart-detailed-subtotals .label,
body.page-cart #js-checkout-summary .cart-detailed-subtotals .label,
body#cart #js-checkout-summary .fh-cart-totales .label,
body.page-cart #js-checkout-summary .fh-cart-totales .label {
    width: auto !important;
    margin: 0 !important;
    justify-self: start;
}



/* =========================================================
   ISM - Revisión final del pedido
   ========================================================= */

/* Cabecera principal. */
body#checkout #order-summary-content > .row:first-child h4 {
    margin: 0 0 22px;
    padding: 4px 0 4px 12px;
    border: 0 !important;
    border-left: 3px solid #e87722 !important;
    color: #173f55;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

/* Títulos de las secciones. */
body#checkout #order-summary-content h5.h5 {
    margin: 20px 0 11px;
    color: #173f55;
    font-size: 14px;
    font-weight: 700;
}

/* Modificar más discreto y alineado. */
body#checkout #order-summary-content h5 .step-edit {
    float: right;
    margin: -4px 0 0 12px !important;
    padding: 6px 10px !important;
    background: #f1f5f7;
    border: 1px solid #dce5e9;
    border-radius: 6px;
    color: #165c7d !important;
    font-size: 11px;
    font-weight: 600;
}

/* Tarjetas de direcciones. */
body#checkout #order-summary-content .address-block {
    height: 100%;
    margin: 0;
    background: #f8fafb;
    border: 1px solid #e1e8ec !important;
    border-radius: 9px;
    box-shadow: none !important;
}

body#checkout #order-summary-content .address-block .card-body {
    padding: 17px 18px;
    color: #566a76;
    font-size: 12px;
    line-height: 1.6;
}

body#checkout #order-summary-content .addresshead {
    margin: 0 0 10px;
    color: #165c7d;
    font-size: 12px;
    font-weight: 700;
}

/* Método de envío. */
body#checkout #order-summary-content .summary-selected-carrier {
    margin: 0;
    padding: 15px 17px;
    background: #f8fafb;
    border: 1px solid #e1e8ec !important;
    border-radius: 9px;
}

body#checkout #order-summary-content .carrier-name {
    display: block;
    color: #263f4d;
    font-size: 13px;
    font-weight: 700;
}

body#checkout #order-summary-content .summary-selected-carrier .text-muted {
    display: block;
    margin-top: 3px;
    color: #71818a !important;
    font-size: 11px;
}

body#checkout #order-summary-content .carrier-price {
    color: #173f55;
    font-size: 13px;
    font-weight: 700;
}

/* Bloque de artículos. */
body#checkout #order-summary-content #order-items {
    margin-top: 20px;
    padding: 18px 20px;
    background: #f8fafb;
    border: 1px solid #e1e8ec;
    border-radius: 9px;
}

body#checkout #order-summary-content #order-items > .card-title {
    margin-top: 0;
    margin-bottom: 17px;
    color: #173f55;
    font-size: 14px;
    font-weight: 700;
}

/*
 * El padre de Warehouse añade después de los productos
 * una tabla de totales nativa. La ocultamos porque ahora
 * usamos exactamente el mismo desglose fiscal del lateral.
 */
body#checkout #order-summary-content #order-items > hr,
body#checkout #order-summary-content #order-items > table {
    display: none !important;
}

/* Productos: mejor separación cuando hay varios. */
body#checkout #order-summary-content #order-items > .row {
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7edef;
}

body#checkout #order-summary-content #order-items > .row:last-of-type {
    border-bottom: 0;
}

/* Precio / cantidad / importe. */
body#checkout #order-summary-content #order-items .qty {
    color: #536873;
    font-size: 12px;
}

body#checkout #order-summary-content #order-items .qty .bold {
    color: #263f4d;
    font-weight: 700;
}

/* =========================================================
   Resumen económico final
   ========================================================= */

body#checkout .fh-order-final-totals {
    margin-top: 18px;
    padding: 18px 20px;
    background: #f8fafb;
    border: 1px solid #e1e8ec;
    border-radius: 9px;
}

/* Quitamos márgenes pensados para la columna lateral. */
body#checkout .fh-order-final-totals .fh-iva-tabla-fiscal {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/*
 * La cláusula fiscal ya aparece en el lateral.
 * Aquí solo queremos la revisión económica.
 */
body#checkout .fh-order-final-totals .fh-checkout-fiscal {
    display: none !important;
}

/* Más aire que en el lateral. */
body#checkout .fh-order-final-totals .fh-checkout-fila {
    padding: 7px 0;
    font-size: 13px;
}

/* Total final algo más destacado. */
body#checkout .fh-order-final-totals .fh-checkout-total-final {
    margin-top: 10px;
    padding-top: 15px;
}

body#checkout .fh-order-final-totals .fh-checkout-total-final span,
body#checkout .fh-order-final-totals .fh-checkout-total-final strong {
    font-size: 18px;
}

/* Responsive. */
@media (max-width: 767px) {

    body#checkout #order-summary-content .address-block {
        margin-bottom: 12px;
    }

    body#checkout #order-summary-content h5 .step-edit {
        float: none;
        margin-left: 8px !important;
    }

    body#checkout #order-summary-content #order-items,
    body#checkout .fh-order-final-totals {
        padding-left: 14px;
        padding-right: 14px;
    }
}



/* ISM CART REDESIGN 2026 */

/* =========================================================
   ESTRUCTURA GENERAL
   ========================================================= */

body#cart .fh-cart-layout {
    align-items: flex-start;
    margin-left: -18px;
    margin-right: -18px;
}

body#cart .fh-cart-layout > .cart-grid-body,
body#cart .fh-cart-layout > .cart-grid-right {
    padding-left: 18px;
    padding-right: 18px;
}


/* =========================================================
   TITULO
   ========================================================= */

body#cart .fh-cart-main .page-title {
    margin: 0 0 24px;
    color: #12395d;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

body#cart .fh-cart-main .page-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 10px;
    background: #ef7417;
    border-radius: 10px;
}


/* =========================================================
   ENVIO GRATUITO
   ========================================================= */

body#cart .fh-cart-main .iqitfreedeliverycount {
    position: relative;
    min-height: 82px;
    margin: 0 0 22px !important;
    padding: 18px 22px 18px 76px !important;

    background: #fffaf6 !important;
    border: 1px solid #f1d3ba !important;
    border-radius: 9px;

    color: #263c51 !important;
}

body#cart .fh-cart-main .iqitfreedeliverycount::before {
    content: "\f0d1";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);

    color: #ef7417;
    font-family: FontAwesome;
    font-size: 25px;
}

body#cart .fh-cart-main .iqitfreedeliverycount-title {
    width: 100%;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
}

body#cart .fh-cart-main .ifdc-remaining-price,
body#cart .fh-cart-main .gratuito {
    color: #ef7417;
}


/* =========================================================
   CABECERA DE PRODUCTOS
   ========================================================= */

body#cart .fh-cart-product-head {
    display: grid;
    grid-template-columns: 50% 15% 14% 16% 5%;
    align-items: center;

    min-height: 46px;
    padding: 0 16px;

    background: #12395d;
    border-radius: 8px 8px 0 0;

    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

body#cart .fh-cart-product-head > div:not(:first-child) {
    text-align: center;
}


/* =========================================================
   LINEAS DE PRODUCTO
   ========================================================= */

body#cart .cart-items {
    margin-bottom: 18px;
}

body#cart .cart-item {
    margin: 0;
    padding: 0;

    background: #fff;
    border: 1px solid #dce4ea;
    border-top: 0;
}

body#cart .cart-item:last-child {
    border-radius: 0 0 8px 8px;
}

body#cart .cart-item .product-line-grid {
    min-height: 125px;
    margin: 0;
    padding: 17px 16px;
}

body#cart .cart-item .product-line-grid-body {
    flex: 0 0 50%;
    max-width: 50%;
}

body#cart .cart-item .product-line-actions {
    flex: 0 0 50%;
    max-width: 50%;
}

body#cart .cart-item .product-line-actions > .row {
    display: grid;
    grid-template-columns: 30% 28% 32% 10%;
    align-items: center;

    width: 100%;
    margin: 0;
}

body#cart .cart-item .product-line-actions > .row > .col {
    width: auto;
    max-width: none;
    padding-left: 5px;
    padding-right: 5px;
}


/* Imagen */

body#cart .cart-item .product-image {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 110px;
    max-width: 110px;
    height: 90px;
}

body#cart .cart-item .product-image img {
    max-width: 98px;
    max-height: 80px;
    object-fit: contain;
}


/* Nombre producto */

body#cart .cart-item .product-line-info .label {
    color: #163b5d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body#cart .cart-item .product-line-info-secondary {
    margin-top: 5px;

    color: #778895 !important;
    font-size: 12px;
}


/* Precio / cantidad / total */

body#cart .cart-item .unit-price,
body#cart .cart-item .qty,
body#cart .cart-item .price {
    text-align: center;
}

body#cart .cart-item .unit-price > .value {
    color: #3d5367;
    font-size: 14px;
}

body#cart .cart-item .price .product-price {
    color: #12395d;
    font-size: 15px;
    font-weight: 700;
}

body#cart .cart-item .bootstrap-touchspin {
    max-width: 76px;
    margin: 0 auto;
}

body#cart .cart-item .js-cart-line-product-quantity {
    min-height: 42px;

    text-align: center;

    background: #fff;
    border: 1px solid #d6dfe6;
}

body#cart .cart-item .remove-from-cart {
    color: #73818d;
    font-size: 17px;
}

body#cart .cart-item .remove-from-cart:hover {
    color: #ef7417;
}


/* =========================================================
   CONTINUAR COMPRANDO
   ========================================================= */

body#cart .fh-cart-continue {
    display: inline-flex;
    align-items: center;

    margin: 4px 0 24px !important;
    padding: 9px 14px;

    background: #fff;
    border: 1px solid #b8c7d4;
    border-radius: 6px;

    color: #174f7b;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

body#cart .fh-cart-continue:hover {
    background: #f7fafc;
    border-color: #174f7b;
    color: #174f7b;
}


/* =========================================================
   INFORMACION FISCAL
   ========================================================= */

body#cart .fh-cart-fiscal {
    position: relative;

    min-height: 108px;
    margin-bottom: 22px;
    padding: 21px 24px 21px 82px !important;

    background: #f8fafc !important;

    border: 1px solid #dfe6ec !important;
    border-left: 4px solid #174f7b !important;
    border-radius: 9px !important;

    box-shadow: none !important;
}

body#cart .fh-cart-fiscal::before {
    content: "\f15c";

    position: absolute;
    left: 24px;
    top: 26px;

    width: 40px;
    height: 40px;
    line-height: 39px;

    background: #fff;
    border: 1px solid #aec1d0;
    border-radius: 50%;

    color: #174f7b;
    font-family: FontAwesome;
    font-size: 17px;
    text-align: center;
}

body#cart .fh-cart-fiscal-titulo {
    margin-bottom: 11px !important;

    color: #12395d !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

body#cart .fh-cart-fiscal-contenido {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}

body#cart .fh-cart-fiscal-tipo {
    flex: 0 0 auto;

    margin: 0 !important;
    padding: 8px 13px !important;

    background: #fff3e9 !important;
    border: 0 !important;
    border-radius: 6px !important;

    color: #df6813 !important;
}

body#cart .fh-cart-fiscal-texto {
    flex: 1 1 300px;

    margin: 0 !important;

    color: #687b8b !important;
    font-size: 12px !important;
    line-height: 1.45;
}


/* =========================================================
   RESUMEN DEL PEDIDO
   ========================================================= */

body#cart .fh-cart-summary-card {
    position: sticky;
    top: 20px;

    padding: 25px 27px 20px;

    background: #fff;

    border: 1px solid #dce4ea;
    border-radius: 11px;

    box-shadow: 0 8px 28px rgba(18, 49, 75, .08);
}

body#cart .fh-cart-summary-card .totals-title {
    margin: 0 0 19px;
    padding: 0 0 14px;

    border-bottom: 1px solid #dfe5ea;

    color: #12395d;

    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Aviso plazos */

body#cart .fh-cart-delivery-note {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 82px;
    margin-bottom: 24px;
    padding: 18px 18px 18px 56px;

    background: #fffaf6;

    border: 1px solid #f1b581;
    border-radius: 8px;

    color: #df6813;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body#cart .fh-cart-delivery-note::before {
    content: "\f073";

    position: absolute;
    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #ef7417;

    font-family: FontAwesome;
    font-size: 21px;
}


/* =========================================================
   TOTALES
   ========================================================= */

body#cart .fh-cart-summary-card .cart-detailed-subtotals {
    margin: 0 !important;
    padding: 0 0 17px !important;
}

body#cart .fh-cart-summary-card .fh-cart-totales {
    margin: 0 !important;
    padding: 17px 0 0 !important;

    border-top: 1px solid #dfe5ea;
}

body#cart .fh-cart-summary-card .cart-summary-line {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    width: 100%;
    min-height: 29px;

    margin: 0 0 6px !important;
    padding: 0 !important;
}

body#cart .fh-cart-summary-card .cart-summary-line .label {
    float: none !important;

    flex: 1 1 auto;

    margin: 0 !important;

    color: #2a4053;

    font-size: 13px;
    text-align: left;
}

body#cart .fh-cart-summary-card .cart-summary-line .value {
    float: none !important;

    flex: 0 0 auto;
    min-width: 82px;

    margin: 0 !important;

    color: #2a4053;

    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

body#cart .fh-cart-summary-card .fh-cart-totales .cart-total {
    min-height: 52px;

    margin-top: 8px !important;
    padding-top: 14px !important;

    border-top: 1px solid #dfe5ea;
}

body#cart .fh-cart-summary-card .fh-cart-totales .cart-total .label {
    color: #12395d;

    font-size: 18px;
    font-weight: 700;
}

body#cart .fh-cart-summary-card .fh-cart-totales .cart-total .value {
    color: #12395d;

    font-size: 20px;
    font-weight: 700;
}


/* =========================================================
   CTA
   ========================================================= */

body#cart .fh-cart-summary-card .cart-detailed-actions {
    padding: 14px 0 0 !important;
}

body#cart .fh-cart-summary-card .cart-detailed-actions .btn-primary {
    min-height: 54px;
    padding: 15px 18px;

    background: #ef7417;
    border: 1px solid #ef7417;
    border-radius: 8px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 5px 14px rgba(239, 116, 23, .18);
}

body#cart .fh-cart-summary-card .cart-detailed-actions .btn-primary:hover {
    background: #dc6810;
    border-color: #dc6810;
}

body#cart .fh-cart-secure {
    margin-top: 10px;

    color: #81909d;

    font-size: 11px;
    text-align: center;
}

body#cart .fh-cart-secure i {
    margin-right: 5px;
}


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

@media (max-width: 991px) {

    body#cart .fh-cart-summary-card {
        position: static;
        margin-top: 25px;
    }
}

@media (max-width: 767px) {

    body#cart .fh-cart-product-head {
        display: none;
    }

    body#cart .cart-item {
        margin-bottom: 12px;

        border-top: 1px solid #dce4ea;
        border-radius: 8px;
    }

    body#cart .cart-item .product-line-grid-body,
    body#cart .cart-item .product-line-actions {
        flex: 0 0 100%;
        max-width: 100%;
    }

    body#cart .cart-item .product-line-actions > .row {
        display: flex;

        width: auto;
        margin-top: 15px;
    }

    body#cart .fh-cart-fiscal {
        padding: 20px 18px !important;
    }

    body#cart .fh-cart-fiscal::before {
        display: none;
    }

    body#cart .fh-cart-summary-card {
        padding: 22px 20px 18px;
    }
}


/* ISM CART REDESIGN 2026 - PHASE 2 */


/* =========================================================
   ENVIO GRATUITO: BARRA REAL
   ========================================================= */

body#cart .fh-cart-main .iqitfreedeliverycount {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.25fr);
    align-items: center;
    column-gap: 30px;
}

body#cart .fh-free-delivery-copy {
    min-width: 0;
}

body#cart .fh-free-delivery-extra {
    margin-top: 4px;
    color: #758593;
    font-size: 11px;
    line-height: 1.35;
}

body#cart .fh-free-delivery-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

body#cart .fh-free-delivery-progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 8px;
    overflow: hidden;

    background: #e5e9ed;
    border-radius: 20px;
}

body#cart .fh-free-delivery-progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    display: block;
    min-width: 0;

    background: #ef7417;
    border-radius: 20px;

    transition: width .35s ease;
}

body#cart .fh-free-delivery-progress-amount {
    flex: 0 0 auto;

    color: #34495c;

    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


/* =========================================================
   TRANSPORTE: DETALLE DEL HOOK EN SEGUNDA LINEA
   ========================================================= */

body#cart .fh-cart-summary-card #cart-subtotal-shipping {
    flex-wrap: wrap;
}

body#cart .fh-cart-summary-card #cart-subtotal-shipping > div {
    flex: 0 0 100%;
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left;
}

body#cart .fh-cart-summary-card #cart-subtotal-shipping > div > small.value {
    display: block;

    min-width: 0;
    margin: 2px 0 0 !important;

    color: #81909d;

    font-size: 10px;
    text-align: left;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body#cart .fh-cart-main .iqitfreedeliverycount {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 12px;

        padding-left: 64px !important;
    }

    body#cart .fh-free-delivery-progress {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body#cart .fh-free-delivery-progress-amount {
        text-align: right;
    }
}


/* ISM CART ALIGN FIX 2026 */

/*
 * Warehouse añade un ::after para clearfix.
 * Al convertir cart-summary-line en flex, ese pseudo-elemento
 * pasa a comportarse como un tercer flex-item y desplaza 18px
 * los importes.
 */
body#cart .fh-cart-summary-card .cart-summary-line::after {
    display: none !important;
    content: none !important;
}


/* ISM CART REDESIGN 2026 - PHASE 3 */


/* =========================================================
   CANTIDAD: SELECTOR HORIZONTAL  -  4  +
   Reutiliza el TouchSpin existente de Warehouse.
   ========================================================= */

body#cart .cart-item .qty .bootstrap-touchspin {
    display: grid !important;
    grid-template-columns: 34px 42px 34px;
    grid-template-rows: 40px;

    align-items: stretch;

    width: 110px !important;
    max-width: 110px !important;
    height: 40px;

    margin: 0 auto;

    background: #fff;

    border: 1px solid #d5dee6;
    border-radius: 6px;

    overflow: hidden;
}


/* Ocultar prefijo/postfijo vacíos */

body#cart .cart-item .qty .bootstrap-touchspin-prefix,
body#cart .cart-item .qty .bootstrap-touchspin-postfix {
    display: none !important;
}


/*
 * El span vertical deja de participar como caja.
 * Sus botones pasan a ser elementos directos del grid.
 */

body#cart .cart-item .qty .input-group-btn-vertical {
    display: contents !important;
}


/* Input central */

body#cart .cart-item .qty .js-cart-line-product-quantity {
    grid-column: 2;
    grid-row: 1;

    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;
    border-left: 1px solid #e0e6eb !important;
    border-right: 1px solid #e0e6eb !important;
    border-radius: 0 !important;

    color: #183953;

    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;

    box-shadow: none !important;
}


/* Botón + */

body#cart .cart-item .qty .bootstrap-touchspin-up {
    grid-column: 3;
    grid-row: 1;

    width: 34px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #183953 !important;

    box-shadow: none !important;
}


/* Botón - */

body#cart .cart-item .qty .bootstrap-touchspin-down {
    grid-column: 1;
    grid-row: 1;

    width: 34px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #183953 !important;

    box-shadow: none !important;
}


/* Sustituir flechas por + y - */

body#cart .cart-item .qty .bootstrap-touchspin-up i,
body#cart .cart-item .qty .bootstrap-touchspin-down i {
    position: static !important;

    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    font-size: 0 !important;
    line-height: 40px !important;

    pointer-events: none;
}

body#cart .cart-item .qty .bootstrap-touchspin-up i::before {
    content: "\f067";

    font-family: FontAwesome;
    font-size: 11px;
}

body#cart .cart-item .qty .bootstrap-touchspin-down i::before {
    content: "\f068";

    font-family: FontAwesome;
    font-size: 11px;
}


/* Hover discreto */

body#cart .cart-item .qty .bootstrap-touchspin-up:hover,
body#cart .cart-item .qty .bootstrap-touchspin-down:hover {
    background: #f4f7f9 !important;
    color: #ef7417 !important;
}


/* =========================================================
   CONTINUAR COMPRANDO
   ========================================================= */

body#cart .fh-cart-continue {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    margin: 5px 0 27px !important;
    padding: 9px 14px !important;

    background: #fff !important;

    border: 1px solid #a9bdcc !important;
    border-radius: 6px !important;

    color: #174f7b !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;

    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
}

body#cart .fh-cart-continue i {
    margin: 0 !important;

    color: #174f7b;

    font-size: 15px;
}

body#cart .fh-cart-continue:hover {
    background: #f5f8fa !important;

    border-color: #174f7b !important;

    color: #174f7b !important;

    text-decoration: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body#cart .cart-item .qty .bootstrap-touchspin {
        margin-left: auto;
        margin-right: auto;
    }
}


/* ISM CART REDESIGN 2026 - PHASE 4 COLUMN ALIGN */

/*
 * La cabecera utiliza:
 * 50% | 15% | 14% | 16% | 5%
 *
 * La mitad derecha del producto utiliza:
 * 30% | 28% | 32% | 10%
 *
 * que equivalen exactamente a:
 * 15% | 14% | 16% | 5% del ancho total.
 *
 * Warehouse añade gutters/anchos Bootstrap a las celdas.
 * Los anulamos para que cada celda ocupe exactamente su track.
 */

body#cart .cart-item .product-line-actions > .row {
    display: grid !important;

    grid-template-columns:
        30%
        28%
        32%
        10% !important;

    column-gap: 0 !important;
    row-gap: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Las cuatro celdas deben llenar completamente su track */

body#cart .cart-item .product-line-actions > .row > .col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    justify-self: stretch !important;

    box-sizing: border-box;
}


/* Precio unitario */

body#cart .cart-item .product-line-actions .unit-price {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* Cantidad */

body#cart .cart-item .product-line-actions .qty {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Total */

body#cart .cart-item .product-line-actions .price {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* Papelera */

body#cart .cart-item .product-line-actions > .row > .col:last-child {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

body#cart .cart-item .cart-line-product-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 0;
    padding: 0;
}


/* ISM CART TOUCHSPIN FINAL ALIGN 2026 */


/* Precio unitario centrado dentro de su columna */
body#cart .cart-item .product-line-actions .unit-price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Botones - y + perfectamente centrados */
body#cart .cart-item .qty .bootstrap-touchspin-up,
body#cart .cart-item .qty .bootstrap-touchspin-down {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;
}


/* Eliminar cualquier subrayado heredado también del icono */
body#cart .cart-item .qty .bootstrap-touchspin-up i,
body#cart .cart-item .qty .bootstrap-touchspin-down i {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;

    text-decoration: none !important;
}


/* Evitar que FontAwesome herede decoración de texto */
body#cart .cart-item .qty .bootstrap-touchspin-up i::before,
body#cart .cart-item .qty .bootstrap-touchspin-down i::before {
    text-decoration: none !important;
}


/* ISM CHECKOUT REDESIGN 2026 - PHASE 1 */


/* =========================================================
   ESTRUCTURA
   ========================================================= */

.bloquecheckout .fh-checkout-layout {
    align-items: flex-start;
}

.bloquecheckout .fh-checkout-main {
    padding-right: 22px;
}

.bloquecheckout .page-title {
    margin: 0 0 22px !important;
    color: #173b57;
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.bloquecheckout .page-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.bloquecheckout .page-title span::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: #ef7417;
    border-radius: 2px;
    content: "";
}


/* =========================================================
   PASOS
   ========================================================= */

.bloquecheckout .checkout-step {
    margin: 0 0 14px !important;
    background: #fff !important;
    border: 1px solid #dfe6ec !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden;
}

.bloquecheckout .checkout-step.-current {
    border-color: #cbd9e3 !important;
    box-shadow: 0 4px 16px rgba(23,59,87,.07) !important;
}

.bloquecheckout .checkout-step .step-title {
    display: flex !important;
    align-items: center;
    min-height: 60px;
    margin: 0 !important;
    padding: 15px 18px !important;
    background: #fff !important;
    color: #173b57 !important;
    border: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.bloquecheckout .checkout-step.-current .step-title {
    border-bottom: 1px solid #edf1f4 !important;
}

.bloquecheckout .checkout-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    margin: 0 11px 0 0 !important;
    background: #eef3f7;
    border-radius: 50%;
    color: #174f7b;
    font-size: 13px;
    font-weight: 700;
    line-height: 29px;
}

.bloquecheckout .checkout-step.-current .step-number {
    background: #ef7417;
    color: #fff;
}

.bloquecheckout .checkout-step .done {
    margin-left: 9px;
    color: #458866 !important;
    font-size: 13px;
}

.bloquecheckout .checkout-step .step-edit {
    margin-left: auto !important;
    color: #638096 !important;
    font-size: 12px !important;
    font-weight: 500;
    text-decoration: none !important;
}

.bloquecheckout .checkout-step .step-edit:hover {
    color: #ef7417 !important;
}

.bloquecheckout .checkout-step .content {
    padding: 20px 18px !important;
}


/* =========================================================
   DIRECCIONES
   ========================================================= */

.bloquecheckout .address-selector .address-item {
    background: #fff;
    border: 1px solid #dfe6ec !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

.bloquecheckout .address-selector .address-item.selected {
    border-color: #9fb7c8 !important;
}

.bloquecheckout .add-address a {
    color: #174f7b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bloquecheckout .add-address a:hover {
    color: #ef7417;
}


/* =========================================================
   TRANSPORTE
   ========================================================= */

.bloquecheckout .delivery-options .delivery-option.js-delivery-option {
    align-items: center;
    margin: 0 0 10px !important;
    padding: 13px 12px !important;
    background: #fff;
    border: 1px solid #dfe6ec;
    border-radius: 7px;
}

.bloquecheckout .delivery-options .delivery-option.js-delivery-option:hover {
    border-color: #a9bdcc;
}

.bloquecheckout .delivery-option label.delivery-option-2 {
    margin: 0 !important;
    cursor: pointer;
}

.bloquecheckout .carrier-name {
    color: #173b57;
    font-weight: 700;
}

.bloquecheckout .carrier-delay {
    color: #637989;
    font-size: 13px;
}

.bloquecheckout .carrier-price {
    color: #173b57;
    font-weight: 700;
}

.bloquecheckout .contact-delivery-option {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bloquecheckout .contact-delivery-option .alert-info {
    background: #f4f8fb !important;
    border: 1px solid #d9e5ed !important;
    border-radius: 7px;
    color: #294f69 !important;
}


/* =========================================================
   PAGO
   ========================================================= */

.bloquecheckout .payment-options > div {
    margin-bottom: 10px;
}

.bloquecheckout .payment-option {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px !important;
    background: #fff;
    border: 1px solid #dfe6ec;
    border-radius: 7px;
    cursor: pointer;
}

.bloquecheckout .payment-option:hover {
    border-color: #a9bdcc;
}

.bloquecheckout .payment-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin: 0 0 0 10px !important;
    color: #173b57;
    font-weight: 600;
    cursor: pointer;
}

.bloquecheckout .payment-option img {
    max-height: 32px;
    margin-left: 15px;
}

.bloquecheckout .additional-information {
    margin: -3px 0 12px;
    padding: 12px 15px;
    background: #f7f9fb;
    border: 1px solid #e2e8ed;
    border-top: 0;
    border-radius: 0 0 7px 7px;
    color: #536c7e;
    font-size: 13px;
}


/* =========================================================
   CONDICIONES
   ========================================================= */

.bloquecheckout #conditions-to-approve {
    margin-top: 18px;
    padding: 14px 15px;
    background: #f7f9fb;
    border: 1px solid #e1e7ec;
    border-radius: 7px;
}

.bloquecheckout #conditions-to-approve ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   BOTONES
   ========================================================= */

.bloquecheckout .checkout-step .continue.btn-primary,
.bloquecheckout #payment-confirmation .btn-primary {
    min-height: 46px;
    background: #ef7417 !important;
    border: 1px solid #ef7417 !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.bloquecheckout .checkout-step .continue.btn-primary:hover,
.bloquecheckout #payment-confirmation .btn-primary:hover {
    background: #db6510 !important;
    border-color: #db6510 !important;
}


/* =========================================================
   RESUMEN DERECHO
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell {
    padding: 19px 19px 17px;
    background: #fff;
    border: 1px solid #dfe6ec;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(23,59,87,.07);
}

.bloquecheckout .fh-checkout-summary-shell .totals-title {
    margin: 0 0 4px !important;
    color: #173b57;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.bloquecheckout .fh-checkout-summary-shell .tiempo-envio {
    margin: 0 0 17px;
    color: #6f8392;
    font-size: 12px;
    line-height: 1.45;
}

.bloquecheckout .fh-checkout-summary-shell #js-checkout-summary {
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bloquecheckout .fh-checkout-summary-shell #js-checkout-summary > .card-body {
    padding: 0 !important;
}

.bloquecheckout .fh-checkout-summary-shell #js-checkout-summary hr {
    margin: 14px 0 !important;
    border-color: #e7ecef !important;
}

.bloquecheckout .cart-summary-products {
    color: #294f69;
    font-size: 13px;
}

.bloquecheckout .cart-summary-products > div:first-child {
    font-weight: 600;
}


/* =========================================================
   IMPORTES
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell .cart-summary-line {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0 0 9px !important;
    color: #405e73;
    font-size: 13px;
}

.bloquecheckout .fh-checkout-summary-shell .cart-summary-line::after {
    display: none !important;
    content: none !important;
}

.bloquecheckout .fh-checkout-summary-shell .cart-summary-line .label {
    flex: 1 1 auto;
}

.bloquecheckout .fh-checkout-summary-shell .cart-summary-line .value {
    flex: 0 0 auto;
    margin-left: auto;
    color: #173b57;
    font-weight: 600;
    text-align: right;
}

.bloquecheckout .fh-checkout-summary-shell .fh-cart-totales {
    padding: 0 !important;
}

.bloquecheckout .fh-checkout-summary-shell .fh-cart-totales .cart-total {
    margin-top: 13px !important;
    padding-top: 14px;
    border-top: 1px solid #dfe6ec;
}

.bloquecheckout .fh-checkout-summary-shell .fh-cart-totales .cart-total .label,
.bloquecheckout .fh-checkout-summary-shell .fh-cart-totales .cart-total .value {
    color: #173b57;
    font-size: 16px;
    font-weight: 800;
}


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

@media (max-width: 767px) {

    .bloquecheckout .fh-checkout-main {
        padding-right: 15px;
    }

    .bloquecheckout .fh-checkout-side {
        margin-top: 22px;
    }

    .bloquecheckout .checkout-step .step-title {
        padding: 14px !important;
        font-size: 14px !important;
    }

    .bloquecheckout .checkout-step .content {
        padding: 16px 14px !important;
    }

    .bloquecheckout .fh-checkout-summary-shell {
        padding: 16px;
    }
}

/* ISM CHECKOUT SUMMARY CORRECTED 2026 */


/* =========================================================
   NORMALIZAR EL FLUJO DEL RESUMEN
   Warehouse deja cart-summary-line flotado.
   Si no se elimina el float, los contenedores colapsan.
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell #js-checkout-summary {
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

.bloquecheckout .fh-checkout-summary-shell
.js-cart-summary-subtotals-container,
.bloquecheckout .fh-checkout-summary-shell
.fh-cart-totales {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
    clear: both !important;

    overflow: visible !important;
}


/* Las filas vuelven al flujo normal */
.bloquecheckout .fh-checkout-summary-shell .cart-summary-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;

    float: none !important;
    clear: none !important;

    position: static !important;

    width: 100% !important;
    min-height: 20px;

    margin: 0 0 9px !important;
    padding: 0 !important;

    gap: 18px;

    color: #405e73;

    font-size: 13px;
}


/* El clearfix de Warehouse no debe convertirse en flex-item */
.bloquecheckout .fh-checkout-summary-shell .cart-summary-line::after {
    display: none !important;
    content: none !important;
}


.bloquecheckout .fh-checkout-summary-shell .cart-summary-line .label {
    flex: 1 1 auto;

    float: none !important;

    margin: 0 !important;
}


.bloquecheckout .fh-checkout-summary-shell .cart-summary-line .value {
    flex: 0 0 auto;

    float: none !important;

    margin: 0 0 0 auto !important;

    color: #173b57;

    font-weight: 600;
    text-align: right;
}


/* =========================================================
   SEPARADORES
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell #js-checkout-summary > hr {
    display: block;

    clear: both !important;

    width: 100%;

    margin: 13px 0 !important;

    border-color: #e1e7ec !important;
}


/* No necesitamos separador entre total final e info fiscal */
.bloquecheckout .fh-checkout-summary-shell
#js-checkout-summary > hr:last-of-type {
    display: none !important;
}


/* =========================================================
   TOTAL FINAL
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell
.fh-cart-totales .cart-total {
    margin: 13px 0 0 !important;
    padding: 14px 0 0 !important;

    border-top: 1px solid #dfe6ec !important;
}


.bloquecheckout .fh-checkout-summary-shell
.fh-cart-totales .cart-total .label,
.bloquecheckout .fh-checkout-summary-shell
.fh-cart-totales .cart-total .value {
    color: #173b57 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}


/* =========================================================
   DESGLOSE FISCAL DUPLICADO
   Los cinco importes ya están arriba.
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell
.fh-iva-tabla-fiscal .fh-checkout-desglose {
    display: none !important;
}


.bloquecheckout .fh-checkout-summary-shell
.fh-iva-tabla-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    clear: both !important;
}


/* =========================================================
   INFORMACIÓN FISCAL
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell
.fh-checkout-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 15px 0 0 !important;
    padding: 12px 14px !important;

    background: #f5f8fa !important;

    border: 0 !important;
    border-radius: 7px !important;
}


.bloquecheckout .fh-checkout-summary-shell
.fh-checkout-fiscal-titulo {
    margin: 0 0 5px !important;

    color: #174f7b !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    text-transform: uppercase;
}


.bloquecheckout .fh-checkout-summary-shell
.fh-checkout-fiscal-texto {
    margin: 0 !important;

    color: #637989 !important;

    font-size: 12px !important;
    line-height: 1.45 !important;
}


/* =========================================================
   AVISO DE PLAZOS
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell .tiempo-envio {
    display: flex !important;
    align-items: center !important;

    min-height: 50px;

    margin: 3px 0 17px !important;
    padding: 11px 12px !important;

    gap: 10px;

    background: #fffaf6 !important;

    border: 1px solid #f4b686 !important;
    border-radius: 7px !important;

    color: #df6711 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


.bloquecheckout .fh-checkout-summary-shell .tiempo-envio::before {
    flex: 0 0 auto;

    content: "\f073";

    color: #ef7417;

    font-family: FontAwesome;
    font-size: 16px;
    font-weight: normal;
}


/* =========================================================
   CABECERA PRODUCTOS
   ========================================================= */

.bloquecheckout .fh-checkout-summary-shell
.cart-summary-products {
    padding: 0 !important;
}


.bloquecheckout .fh-checkout-summary-shell
.cart-summary-products > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}



/* ISM CHECKOUT SUMMARY CASCADE FINAL 2026 */

/*
 * Especificidad deliberadamente superior a los estilos B2B
 * antiguos del checkout.
 */

body#checkout .fh-checkout-summary-shell
#js-checkout-summary .js-cart-summary-subtotals-container,
body#checkout .fh-checkout-summary-shell
#js-checkout-summary .js-cart-summary-totals {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
    clear: both !important;

    overflow: visible !important;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .cart-summary-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;

    width: 100% !important;
    height: auto !important;
    min-height: 20px !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    float: none !important;
    clear: none !important;

    gap: 18px;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .cart-summary-line::after {
    display: none !important;
    content: none !important;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .cart-summary-line .label {
    flex: 1 1 auto !important;

    float: none !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .cart-summary-line .value {
    flex: 0 0 auto !important;

    float: none !important;

    width: auto !important;

    margin: 0 0 0 auto !important;
    padding: 0 !important;

    color: #173b57 !important;

    font-weight: 600 !important;
    text-align: right !important;
}


/* Total principal */

body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-cart-totales .cart-total {
    margin-top: 13px !important;
    padding-top: 14px !important;

    border-top: 1px solid #dfe6ec !important;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-cart-totales .cart-total .label,
body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-cart-totales .cart-total .value {
    color: #173b57 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}


/* El desglose fiscal antiguo sí se oculta porque duplica las cifras */

body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-iva-tabla-fiscal .fh-checkout-desglose {
    display: none !important;
}


/* Pero mantenemos su información fiscal */

body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-iva-tabla-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


body#checkout .fh-checkout-summary-shell
#js-checkout-summary .fh-checkout-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 15px 0 0 !important;
    padding: 12px 14px !important;

    background: #f5f8fa !important;

    border: 0 !important;
    border-radius: 7px !important;
}

/* ISM CHECKOUT SUMMARY VISUAL FINAL 2026 */

/* Contenedor general */
body#checkout .fh-checkout-summary-shell {
    padding: 24px 22px 20px !important;
}

/* Título */
body#checkout .fh-checkout-summary-shell .totals-title {
    margin: 0 0 14px !important;

    color: #173b57 !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Aviso de plazos */
body#checkout .fh-checkout-summary-shell .tiempo-envio {
    min-height: 50px !important;

    margin: 0 0 18px !important;
    padding: 12px 14px !important;

    background: #fffaf6 !important;

    border: 1px solid #f4b686 !important;
    border-radius: 7px !important;

    color: #df6711 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


/* =========================================================
   CONTENIDO GENERAL
   ========================================================= */

body#checkout .fh-checkout-summary-shell #js-checkout-summary {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* Quitamos HR nativos y creamos separación con los propios bloques */
body#checkout .fh-checkout-summary-shell #js-checkout-summary > hr {
    display: none !important;
}


/* =========================================================
   CABECERA DE PRODUCTOS
   ========================================================= */

body#checkout .fh-checkout-summary-shell
#js-checkout-summary > .card-body {
    padding: 0 !important;
}

body#checkout .fh-checkout-summary-shell
.cart-summary-products > div:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 15px;

    min-height: 42px;

    padding: 0 0 13px !important;

    border-bottom: 1px solid #e2e8ed;

    color: #294f69 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}

body#checkout .fh-checkout-summary-shell
.cart-summary-products > div:first-child a {
    margin-left: auto;

    color: #58758a !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    text-decoration: none !important;
}


/* Lista desplegada de productos */
body#checkout .fh-checkout-summary-shell
#cart-summary-product-list {
    padding: 10px 0 2px !important;
}

body#checkout .fh-checkout-summary-shell
#cart-summary-product-list .cart-summary-product {
    padding: 10px 0 !important;
}


/* =========================================================
   PRODUCTOS + TRANSPORTE
   ========================================================= */

body#checkout .fh-checkout-summary-shell
.js-cart-summary-subtotals-container {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 16px 0 12px !important;

    border-bottom: 1px solid #e2e8ed;
}


/* =========================================================
   TOTALES
   ========================================================= */

body#checkout .fh-checkout-summary-shell
.js-cart-summary-totals {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 14px 0 0 !important;
}


/* Todas las líneas */
body#checkout .fh-checkout-summary-shell
.cart-summary-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;

    width: 100% !important;
    height: auto !important;
    min-height: 24px !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    float: none !important;
    clear: none !important;

    gap: 20px;

    color: #405e73 !important;

    font-size: 13px !important;
    line-height: 1.35 !important;
}

body#checkout .fh-checkout-summary-shell
.cart-summary-line::after {
    display: none !important;

    content: none !important;
}

body#checkout .fh-checkout-summary-shell
.cart-summary-line .label {
    flex: 1 1 auto !important;

    float: none !important;

    margin: 0 !important;

    color: #405e73 !important;
}

body#checkout .fh-checkout-summary-shell
.cart-summary-line .value {
    flex: 0 0 auto !important;

    float: none !important;

    margin: 0 0 0 auto !important;

    color: #173b57 !important;

    font-weight: 600 !important;
    text-align: right !important;
}


/* =========================================================
   TOTAL FINAL
   ========================================================= */

body#checkout .fh-checkout-summary-shell
.fh-cart-totales .cart-total {
    margin: 14px 0 0 !important;
    padding: 16px 0 0 !important;

    border-top: 1px solid #d4dee6 !important;
}

body#checkout .fh-checkout-summary-shell
.fh-cart-totales .cart-total .label {
    color: #173b57 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}

body#checkout .fh-checkout-summary-shell
.fh-cart-totales .cart-total .value {
    color: #173b57 !important;

    font-size: 18px !important;
    font-weight: 800 !important;
}


/* =========================================================
   INFORMACIÓN FISCAL
   ========================================================= */

/* El desglose duplicado NO se muestra */
body#checkout .fh-checkout-summary-shell
.fh-iva-tabla-fiscal .fh-checkout-desglose {
    display: none !important;
}

body#checkout .fh-checkout-summary-shell
.fh-iva-tabla-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}

body#checkout .fh-checkout-summary-shell
.fh-checkout-fiscal {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 18px 0 0 !important;
    padding: 13px 15px !important;

    background: #f4f7f9 !important;

    border: 1px solid #e5ebef !important;
    border-radius: 7px !important;
}

body#checkout .fh-checkout-summary-shell
.fh-checkout-fiscal-titulo {
    margin: 0 0 5px !important;

    color: #174f7b !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}

body#checkout .fh-checkout-summary-shell
.fh-checkout-fiscal-texto {
    margin: 0 !important;

    color: #647b8c !important;

    font-size: 12px !important;
    line-height: 1.45 !important;
}


/* ============================================================
   ISM CHECKOUT SUMMARY CLEAN 2026
   Resumen construido desde cero.
   No reutiliza cart-summary-line/cart-summary-totals de Warehouse.
   ============================================================ */


body#checkout .fh-checkout-summary-shell {
    padding: 22px 22px 20px !important;
}


/* ------------------------------------------------------------
   CABECERA EXTERIOR
   ------------------------------------------------------------ */

body#checkout .fh-checkout-summary-shell .totals-title {
    margin: 0 0 14px !important;

    color: #173b57 !important;

    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


body#checkout .fh-checkout-summary-shell .tiempo-envio {
    display: flex !important;
    align-items: center !important;

    min-height: 50px;

    margin: 0 0 19px !important;
    padding: 12px 14px !important;

    gap: 11px;

    background: #fffaf6 !important;

    border: 1px solid #f3ae79 !important;
    border-radius: 7px !important;

    color: #df6711 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}


body#checkout .fh-checkout-summary-shell .tiempo-envio::before {
    content: "\f073";

    flex: 0 0 auto;

    color: #ef7417;

    font-family: FontAwesome;
    font-size: 17px;
    font-weight: normal;
}


/* ------------------------------------------------------------
   NUEVO RESUMEN
   ------------------------------------------------------------ */

body#checkout .fh-order-summary {
    display: block !important;

    width: 100%;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    box-shadow: none;

    color: #405e73;
}


/* ------------------------------------------------------------
   PRODUCTOS
   ------------------------------------------------------------ */

body#checkout .fh-order-summary__products {
    margin: 0 0 17px;
}


body#checkout .fh-order-summary__products-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 34px;

    gap: 16px;

    padding: 0 0 13px;

    border-bottom: 1px solid #dfe6ec;
}


body#checkout .fh-order-summary__count {
    color: #294f69;

    font-size: 13px;
    font-weight: 700;
}


body#checkout .fh-order-summary__details-toggle {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #58758a !important;

    font-size: 11px;
    font-weight: 500;

    text-decoration: none !important;
}


body#checkout .fh-order-summary__details-toggle:hover {
    color: #ef7417 !important;
}


body#checkout .fh-order-summary__details-toggle i {
    margin: 0 !important;

    transition: transform .2s ease;
}


body#checkout .fh-order-summary__details-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}


/* Lista de productos abierta */

body#checkout .fh-order-summary__product-list {
    padding: 8px 0 0;
}


body#checkout .fh-order-summary__product {
    margin: 0 !important;
    padding: 11px 0 !important;

    border-bottom: 1px solid #edf1f4 !important;
}


body#checkout .fh-order-summary__product:last-child {
    border-bottom: 0 !important;
}


body#checkout .fh-order-summary__product .media-left {
    width: 46px;
    max-width: 46px;

    margin-right: 11px !important;
}


body#checkout .fh-order-summary__product .product-name {
    color: #294f69;

    font-size: 12px;
    line-height: 1.35;
}


body#checkout .fh-order-summary__modify {
    padding: 8px 0 3px;

    text-align: right;
}


body#checkout .fh-order-summary__modify a {
    color: #58758a !important;

    font-size: 11px;

    text-decoration: none !important;
}


body#checkout .fh-order-summary__modify a:hover {
    color: #ef7417 !important;
}


/* ------------------------------------------------------------
   FILAS ECONÓMICAS
   ------------------------------------------------------------ */

body#checkout .fh-order-summary__subtotals {
    margin: 0;
    padding: 0 0 13px;

    border-bottom: 1px solid #dfe6ec;
}


body#checkout .fh-order-summary__totals {
    padding: 14px 0 0;
}


body#checkout .fh-order-summary__row {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: baseline;

    column-gap: 22px;

    width: 100%;

    min-height: 27px;

    margin: 0;
    padding: 3px 0;
}


body#checkout .fh-order-summary__label {
    color: #405e73;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}


body#checkout .fh-order-summary__label small {
    color: #6d8190;

    font-size: 11px;
    font-weight: 400;
}


body#checkout .fh-order-summary__value {
    color: #173b57;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;

    text-align: right;
    white-space: nowrap;
}


/* ------------------------------------------------------------
   TOTAL FINAL
   ------------------------------------------------------------ */

body#checkout .fh-order-summary__grand-total {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;

    column-gap: 22px;

    margin-top: 10px;
    padding-top: 16px;

    border-top: 1px solid #cfdbe4;

    color: #173b57;
}


body#checkout .fh-order-summary__grand-total > span {
    font-size: 16px;
    font-weight: 800;
}


body#checkout .fh-order-summary__grand-total > strong {
    color: #173b57;

    font-size: 19px;
    font-weight: 800;

    text-align: right;
    white-space: nowrap;
}


/* ------------------------------------------------------------
   INFORMACIÓN FISCAL
   ------------------------------------------------------------ */

body#checkout .fh-order-summary__fiscal {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 20px;
    padding: 14px 15px;

    background: #f5f8fa;

    border: 1px solid #dfe7ed;
    border-left: 3px solid #174f7b;
    border-radius: 7px;
}


body#checkout .fh-order-summary__fiscal-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    background: #fff;

    border: 1px solid #bfd0dc;
    border-radius: 50%;

    color: #174f7b;

    font-size: 14px;
}


body#checkout .fh-order-summary__fiscal-content {
    flex: 1;

    min-width: 0;
}


body#checkout .fh-order-summary__fiscal-title {
    margin-bottom: 7px;

    color: #174f7b;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
}


body#checkout .fh-order-summary__fiscal-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}


body#checkout .fh-order-summary__tax-badge {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 5px 8px;

    background: #fff4eb;

    border-radius: 5px;

    color: #ef7417;

    font-size: 11px;
}


body#checkout .fh-order-summary__tax-badge strong {
    color: #173b57;

    font-weight: 700;
}


body#checkout .fh-order-summary__fiscal-text {
    color: #637989;

    font-size: 11px;
    line-height: 1.4;
}


/* ------------------------------------------------------------
   CUPONES
   ------------------------------------------------------------ */

body#checkout .fh-order-summary__voucher:empty {
    display: none;
}


body#checkout .fh-order-summary__voucher {
    margin-top: 15px;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    body#checkout .fh-checkout-summary-shell {
        padding: 18px 16px !important;
    }

    body#checkout .fh-order-summary__row,
    body#checkout .fh-order-summary__grand-total {
        column-gap: 14px;
    }

    body#checkout .fh-order-summary__fiscal {
        align-items: flex-start;
    }

}


/* ============================================================
   ISM SIDE CART CLEAN 2026
   Carrito lateral B2B
   ============================================================ */


/* ============================================================
   CONTENEDOR
   ============================================================ */

.ps-shoppingcart.side-cart #blockcart-content.fh-sidecart {
    width: 390px !important;
    max-width: 100vw !important;

    padding: 0 !important;
    padding-bottom: 0 !important;

    background: #fff;

    color: #294f69;

    box-shadow: -10px 0 35px rgba(23,59,87,.14);
}


/* ============================================================
   CABECERA
   ============================================================ */

#blockcart-content.fh-sidecart .fh-sidecart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex: 0 0 auto;

    min-height: 66px;

    margin: 0;
    padding: 17px 20px;

    border-bottom: 1px solid #dfe6ec;
}


#blockcart-content.fh-sidecart .fh-sidecart__header .modal-title {
    color: #173b57;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}


#blockcart-content.fh-sidecart .fh-sidecart__close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin: 0 !important;
    padding: 0 !important;

    color: #728696;

    font-size: 28px;
    font-weight: 400;
    line-height: 1;

    text-decoration: none;

    opacity: 1;
}


#blockcart-content.fh-sidecart .fh-sidecart__close:hover {
    color: #ef7417;
}


/* ============================================================
   PRODUCTOS - ZONA SCROLL
   ============================================================ */

.ps-shoppingcart.side-cart
#blockcart-content.fh-sidecart
.cart-products.fh-sidecart__products {
    flex: 1 1 auto !important;

    min-height: 0;

    margin: 0 !important;
    padding: 6px 18px !important;

    overflow-y: auto;
}


#blockcart-content.fh-sidecart
.fh-sidecart__product-item {
    margin: 0 !important;
    padding: 16px 0 !important;

    border-bottom: 1px solid #e5ebef !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart__product-item:last-child {
    border-bottom: 0 !important;
}


/* ============================================================
   PRODUCTO
   ============================================================ */

#blockcart-content.fh-sidecart .fh-sidecart-product {
    display: grid;

    grid-template-columns: 78px minmax(0,1fr);

    align-items: start;

    column-gap: 14px;

    width: 100%;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    background: #fff;

    border: 1px solid #edf1f4;
    border-radius: 7px;

    overflow: hidden;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__image img {
    display: block;

    max-width: 100%;
    max-height: 72px;

    width: auto;
    height: auto;

    margin: auto;

    object-fit: contain;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__body {
    min-width: 0;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__name {
    display: block;

    margin: 1px 0 7px;

    color: #173b57 !important;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.38;

    text-decoration: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__name:hover {
    color: #ef7417 !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__attributes {
    margin-bottom: 6px;

    color: #718493;

    font-size: 11px;
    line-height: 1.35;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__unit-price {
    display: flex;
    align-items: baseline;

    gap: 6px;

    margin-bottom: 10px;

    color: #718493;

    font-size: 11px;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__unit-price strong {
    color: #294f69;

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   CONTROLES PRODUCTO
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart-product__controls {
    display: grid;

    grid-template-columns: 104px minmax(0,1fr) 28px;

    align-items: center;

    column-gap: 10px;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__line-total {
    color: #173b57;

    font-size: 13px;
    font-weight: 700;

    text-align: right;
    white-space: nowrap;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__remove {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 32px;

    color: #8294a1 !important;

    font-size: 14px;

    text-decoration: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__remove:hover {
    color: #d9534f !important;
}


/* ============================================================
   TOUCHSPIN HORIZONTAL
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty .bootstrap-touchspin {
    display: grid !important;

    grid-template-columns: 32px 40px 32px;
    grid-template-rows: 36px;

    width: 104px !important;
    max-width: 104px !important;
    min-height: 36px !important;

    margin: 0 !important;

    background: #fff;

    border: 1px solid #d5dee6;
    border-radius: 6px;

    overflow: hidden;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-prefix,

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-postfix {
    display: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.input-group-btn-vertical {
    display: contents !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.js-cart-line-product-quantity {
    grid-column: 2;
    grid-row: 1;

    width: 40px !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;
    border-left: 1px solid #e0e6eb !important;
    border-right: 1px solid #e0e6eb !important;

    color: #173b57 !important;

    font-size: 13px;

    text-align: center !important;

    box-shadow: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up,

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 32px !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;

    color: #174f7b !important;

    line-height: 1 !important;

    text-decoration: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down {
    grid-column: 1;
    grid-row: 1;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up {
    grid-column: 3;
    grid-row: 1;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up i,

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down i {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;

    text-decoration: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up i::before {
    content: "\f067" !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down i::before {
    content: "\f068" !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up:hover,

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down:hover {
    background: #f5f8fa !important;

    color: #ef7417 !important;
}


/* ============================================================
   FOOTER FIJO EN EL FLUJO
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__footer {
    flex: 0 0 auto;

    padding: 15px 20px 18px;

    background: #fff;

    border-top: 1px solid #dfe6ec;
}


/* ============================================================
   CANTIDAD ARTÍCULOS
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__count-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 11px;
    padding-bottom: 11px;

    border-bottom: 1px solid #e4eaee;

    color: #405e73;

    font-size: 12px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__count-row strong {
    color: #173b57;

    font-size: 13px;
    font-weight: 700;
}


/* ============================================================
   DESGLOSE ECONÓMICO
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__subtotals {
    padding-bottom: 9px;

    border-bottom: 1px solid #e4eaee;
}


#blockcart-content.fh-sidecart
.fh-sidecart__totals {
    padding-top: 9px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__row {
    display: grid;

    grid-template-columns: minmax(0,1fr) auto;

    align-items: baseline;

    column-gap: 18px;

    min-height: 25px;

    padding: 3px 0;
}


#blockcart-content.fh-sidecart
.fh-sidecart__label {
    color: #405e73;

    font-size: 12px;
    font-weight: 400;
}


#blockcart-content.fh-sidecart
.fh-sidecart__label small {
    color: #718493;

    font-size: 10px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__value {
    color: #173b57;

    font-size: 12px;
    font-weight: 600;

    text-align: right;
    white-space: nowrap;
}


/* ============================================================
   TOTAL FINAL
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__grand-total {
    display: grid;

    grid-template-columns: minmax(0,1fr) auto;

    align-items: center;

    column-gap: 18px;

    margin-top: 8px;
    padding-top: 13px;

    border-top: 1px solid #cfdbe4;

    color: #173b57;
}


#blockcart-content.fh-sidecart
.fh-sidecart__grand-total span {
    font-size: 15px;
    font-weight: 800;
}


#blockcart-content.fh-sidecart
.fh-sidecart__grand-total strong {
    font-size: 19px;
    font-weight: 800;

    text-align: right;
    white-space: nowrap;
}


/* ============================================================
   ENVÍO GRATUITO
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping {
    margin-top: 13px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.iqitfreedeliverycount {
    margin: 0 !important;
    padding: 11px 12px !important;

    background: #fffaf6 !important;

    border: 1px solid #f3b27f !important;
    border-radius: 7px !important;

    color: #294f69 !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.iqitfreedeliverycount-title {
    margin: 0 !important;

    color: #294f69;

    font-size: 11px;
    line-height: 1.35;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.iqitfreedeliverycount-title strong {
    font-weight: 600;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.ifdc-remaining-price,

#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.gratuito {
    color: #ef7417;
}


/* Barra del módulo que ya añadimos anteriormente */

#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.fh-free-delivery-progress {
    display: block !important;

    margin-top: 8px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.fh-free-delivery-progress-track {
    width: 100%;
    height: 6px;

    background: #e2e8ed;

    border-radius: 999px;

    overflow: hidden;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.fh-free-delivery-progress-bar {
    display: block;

    height: 100%;

    background: #ef7417;

    border-radius: inherit;
}


#blockcart-content.fh-sidecart
.fh-sidecart__free-shipping
.fh-free-delivery-progress-amount {
    margin-top: 5px;

    color: #637989;

    font-size: 10px;

    text-align: right;
}


/* ============================================================
   BOTONES
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__buttons {
    margin-top: 14px;
}


#blockcart-content.fh-sidecart
.fh-sidecart__checkout {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    padding: 10px 18px !important;

    background: #ef7417 !important;

    border: 1px solid #ef7417 !important;
    border-radius: 7px !important;

    color: #fff !important;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;

    text-decoration: none !important;

    box-shadow: 0 5px 14px rgba(239,116,23,.18);
}


#blockcart-content.fh-sidecart
.fh-sidecart__checkout:hover {
    background: #db6510 !important;
    border-color: #db6510 !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart__view-cart {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    margin-top: 9px;
    padding: 9px 18px !important;

    background: #fff !important;

    border: 1px solid #aec2d1 !important;
    border-radius: 7px !important;

    color: #174f7b !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;
}


#blockcart-content.fh-sidecart
.fh-sidecart__view-cart:hover {
    background: #f5f8fa !important;

    border-color: #174f7b !important;
}


/* ============================================================
   VACÍO
   ============================================================ */

#blockcart-content.fh-sidecart
.fh-sidecart__empty {
    display: flex;
    flex: 1;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 30px;

    color: #637989;

    text-align: center;
}


#blockcart-content.fh-sidecart
.fh-sidecart__empty i {
    color: #c1ced7;

    font-size: 40px;
}


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

@media (max-width: 575px) {

    .ps-shoppingcart.side-cart
    #blockcart-content.fh-sidecart {
        width: 100vw !important;
    }

    #blockcart-content.fh-sidecart
    .fh-sidecart__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/* ISM SIDE CART TOUCHSPIN ICON ALIGN 2026 */

/*
 * Warehouse posiciona los iconos del TouchSpin con offsets
 * absolutos. Los botones ya son flex, así que devolvemos los
 * iconos al flujo normal para que el propio flex los centre.
 */

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-up i,

#blockcart-content.fh-sidecart
.fh-sidecart-product__qty
.bootstrap-touchspin-down i {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    line-height: 1 !important;

    text-decoration: none !important;
}


/* ISM ORDER CONFIRMATION PROFESSIONAL 2026 */

body#order-confirmation .fh-confirmation {
    max-width: 1380px;
    margin: 0 auto;
    padding-bottom: 2rem;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-hero {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.6rem 1.75rem;
    margin-bottom: 1.5rem;
    background: #f7fafb;
    border: 1px solid #dce5e9;
    border-left: 4px solid #167a95;
    border-radius: 10px;
}

body#order-confirmation .fh-confirmation-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #167a95;
    color: #fff;
    font-size: 1.35rem;
}

body#order-confirmation .fh-confirmation-hero__content {
    min-width: 0;
}

body#order-confirmation .fh-confirmation-hero__eyebrow {
    display: block;
    margin-bottom: .25rem;
    color: #167a95;
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body#order-confirmation .fh-confirmation-hero h1 {
    margin: 0 0 .35rem;
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 700;
    color: #16242b;
}

body#order-confirmation .fh-confirmation-hero p {
    margin: 0;
    color: #61717a;
    font-size: .92rem;
}


/* ----------------------------------------------------------
   OVERVIEW
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-overview {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: stretch;
}

body#order-confirmation .fh-confirmation-card {
    background: #fff;
    border: 1px solid #dce5e9;
    border-radius: 10px;
    overflow: hidden;
}

body#order-confirmation .fh-confirmation-card__header,
body#order-confirmation .fh-confirmation-products__header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e5ecef;
    background: #f8fafb;
}

body#order-confirmation .fh-confirmation-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eaf5f8;
    color: #167a95;
    font-size: 1rem;
}

body#order-confirmation .fh-confirmation-card h2,
body#order-confirmation .fh-confirmation-products__header h2 {
    margin: 0 0 .1rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #192a32;
}

body#order-confirmation .fh-confirmation-card small,
body#order-confirmation .fh-confirmation-products__header small {
    display: block;
    color: #809099;
    font-size: .74rem;
}


/* ----------------------------------------------------------
   META DEL PEDIDO
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-meta {
    padding: .35rem 1.2rem .75rem;
}

body#order-confirmation .fh-confirmation-meta__row {
    display: grid;
    grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr);
    gap: 1rem;
    align-items: start;
    padding: .8rem 0;
    border-bottom: 1px solid #edf1f3;
}

body#order-confirmation .fh-confirmation-meta__row:last-of-type {
    border-bottom: 0;
}

body#order-confirmation .fh-confirmation-meta__row span {
    color: #71818a;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .035em;
}

body#order-confirmation .fh-confirmation-meta__row strong {
    color: #182830;
    font-size: .88rem;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

body#order-confirmation .fh-confirmation-meta__note {
    margin: .3rem 0 .6rem;
    padding: .6rem .75rem;
    background: #f7f9fa;
    color: #75848b;
    font-size: .76rem;
    line-height: 1.45;
    border-radius: 6px;
}


/* ----------------------------------------------------------
   FISCAL
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-fiscal {
    min-width: 0;
}

body#order-confirmation .fh-confirmation-fiscal .fh-iva-pedido {
    height: 100%;
    margin: 0;
}

body#order-confirmation .fh-confirmation-fiscal .fh-iva-resumen {
    border-radius: 10px;
}


/* ----------------------------------------------------------
   PAYMENT RETURN
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-payment-return {
    margin: 0 0 1.25rem;
}

body#order-confirmation .fh-confirmation-payment-return .row {
    margin: 0;
}

body#order-confirmation .fh-confirmation-payment-return .row > [class*="col-"] {
    padding: 0;
}

body#order-confirmation .fh-confirmation-payment-return .alert {
    margin: 0;
    padding: 1rem 1.2rem;
    border-radius: 8px;
}

body#order-confirmation .fh-confirmation-extra:empty {
    display: none;
}


/* ----------------------------------------------------------
   PRODUCTOS
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-products {
    background: #fff;
    border: 1px solid #dce5e9;
    border-radius: 10px;
    overflow: hidden;
}

body#order-confirmation .fh-confirmation-products__title {
    display: flex;
    align-items: center;
    gap: .85rem;
}

body#order-confirmation .fh-confirmation-products__list {
    padding: 0 1.25rem;
}

body#order-confirmation .fh-confirmation-product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) minmax(280px, 360px);
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid #e8edef;
}

body#order-confirmation .fh-confirmation-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 76px;
    padding: .4rem;
    background: #fff;
    border: 1px solid #edf1f3;
    border-radius: 7px;
    overflow: hidden;
}

body#order-confirmation .fh-confirmation-product__image img {
    display: block;
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body#order-confirmation .fh-confirmation-product__name {
    margin-bottom: .35rem;
    color: #182830;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
}

body#order-confirmation .fh-confirmation-product__name a {
    color: inherit;
}

body#order-confirmation .fh-confirmation-product__attribute {
    display: flex;
    gap: .35rem;
    margin-top: .18rem;
    color: #7a8a92;
    font-size: .75rem;
}

body#order-confirmation .fh-confirmation-product__attribute strong {
    color: #58676e;
    font-weight: 600;
}

body#order-confirmation .fh-confirmation-product__pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .45rem;
}

body#order-confirmation .fh-confirmation-product__pricing > div {
    min-width: 0;
    padding-left: .9rem;
    border-left: 1px solid #e5ebee;
}

body#order-confirmation .fh-confirmation-product__pricing span {
    display: block;
    margin-bottom: .25rem;
    color: #829198;
    font-size: .68rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body#order-confirmation .fh-confirmation-product__pricing strong {
    color: #25343b;
    font-size: .88rem;
    font-weight: 600;
}

body#order-confirmation .fh-confirmation-product__total strong {
    color: #162a34;
    font-size: 1rem;
}


/* ----------------------------------------------------------
   RESUMEN ECONÓMICO
   ---------------------------------------------------------- */

body#order-confirmation .fh-confirmation-summary {
    width: min(100%, 510px);
    margin-left: auto;
    padding: 1.25rem 1.4rem 1.4rem;
    background: #f8fafb;
    border-left: 1px solid #e5ebee;
}

body#order-confirmation .fh-confirmation-summary__header {
    margin-bottom: .65rem;
}

body#order-confirmation .fh-confirmation-summary__header h3 {
    margin: 0;
    color: #1b2c34;
    font-size: .95rem;
    font-weight: 700;
}

body#order-confirmation .fh-confirmation-summary__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .42rem 0;
    color: #53646c;
    font-size: .83rem;
}

body#order-confirmation .fh-confirmation-summary__row strong {
    color: #25343b;
    font-weight: 600;
    white-space: nowrap;
}

body#order-confirmation .fh-confirmation-summary__subtotal {
    margin-top: .35rem;
    padding-top: .75rem;
    border-top: 1px solid #dfe6e9;
}

body#order-confirmation .fh-confirmation-summary__total {
    margin-top: .5rem;
    padding-top: .9rem;
    border-top: 2px solid #ccd9de;
    color: #172930;
    font-size: .95rem;
    font-weight: 700;
}

body#order-confirmation .fh-confirmation-summary__total strong {
    color: #167a95;
    font-size: 1.25rem;
    font-weight: 700;
}


/* ----------------------------------------------------------
   FOOTER HOOK
   ---------------------------------------------------------- */

body#order-confirmation #content-hook-order-confirmation-footer {
    margin-top: 1.5rem;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 991px) {

    body#order-confirmation .fh-confirmation-overview {
        grid-template-columns: 1fr;
    }

    body#order-confirmation .fh-confirmation-product {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    body#order-confirmation .fh-confirmation-product__image {
        width: 78px;
        height: 68px;
    }

    body#order-confirmation .fh-confirmation-product__pricing {
        grid-column: 1 / -1;
        padding-left: 98px;
    }

    body#order-confirmation .fh-confirmation-summary {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #e5ebee;
    }

}


/* ----------------------------------------------------------
   MÓVIL
   ---------------------------------------------------------- */

@media (max-width: 575px) {

    body#order-confirmation .fh-confirmation-hero {
        align-items: flex-start;
        padding: 1.2rem;
    }

    body#order-confirmation .fh-confirmation-hero__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    body#order-confirmation .fh-confirmation-hero h1 {
        font-size: 1.2rem;
    }

    body#order-confirmation .fh-confirmation-meta__row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    body#order-confirmation .fh-confirmation-meta__row strong {
        text-align: left;
    }

    body#order-confirmation .fh-confirmation-products__list {
        padding: 0 1rem;
    }

    body#order-confirmation .fh-confirmation-product {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: .8rem;
    }

    body#order-confirmation .fh-confirmation-product__image {
        width: 64px;
        height: 60px;
    }

    body#order-confirmation .fh-confirmation-product__pricing {
        grid-column: 1 / -1;
        padding-left: 0;
        margin-top: .35rem;
    }

    body#order-confirmation .fh-confirmation-product__pricing > div {
        padding-left: .55rem;
    }

    body#order-confirmation .fh-confirmation-summary {
        padding: 1.1rem;
    }

}


/* ISM PRODUCT PAGE PROFESSIONAL 2026 */

/* ==========================================================
   ESTRUCTURA GENERAL
   ========================================================== */

body#product .fh-product-pro {
    --fh-product-accent: #e87722;
    --fh-product-dark: #202b33;
    --fh-product-muted: #74828a;
    --fh-product-border: #dfe6e9;
    --fh-product-soft: #f7f9fa;
    --fh-product-orange-soft: #fff7f1;
}

body#product .fh-product-pro .product-info-row {
    align-items: flex-start;
}

@media (min-width: 992px) {

    body#product .fh-product-pro .product-info-row > .col-product-image {
        flex: 0 0 47%;
        max-width: 47%;
        padding-right: 24px;
    }

    body#product .fh-product-pro .product-info-row > .col-product-info {
        flex: 0 0 53%;
        max-width: 53%;
        padding-left: 24px;
    }

}


/* ==========================================================
   GALERÍA
   ========================================================== */

body#product .fh-product-pro .col-product-image .product-cover {
    position: relative;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--fh-product-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(27, 49, 61, .055);
}

body#product .fh-product-pro #product-images-large {
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
}

body#product .fh-product-pro #product-images-large .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 455px;
}

body#product .fh-product-pro #product-images-large img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 92%;
    max-height: 455px;
    margin: auto;
    object-fit: contain;
}

body#product .fh-product-pro .expander {
    top: 12px;
    right: 12px;
    border-radius: 7px;
}


/* ==========================================================
   MINIATURAS
   ========================================================== */

body#product .fh-product-pro .product-thumbs {
    margin-top: 14px;
}

body#product .fh-product-pro .product-thumbs .swiper-slide,
body#product .fh-product-pro .js-thumb {
    border-radius: 7px;
    overflow: hidden;
}

body#product .fh-product-pro .product-thumbs img {
    border-radius: 7px;
}


/* ==========================================================
   PANEL DERECHO
   ========================================================== */

body#product .fh-product-pro #col-product-info {
    padding: 25px 27px 27px;
    background: #fff;
    border: 1px solid var(--fh-product-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(27, 49, 61, .055);
}


/* ==========================================================
   MARCA / TÍTULO
   ========================================================== */

body#product .fh-product-pro .product-manufacturer-next {
    margin: 0 0 7px;
}

body#product .fh-product-pro .product-manufacturer-next a {
    color: var(--fh-product-accent);
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

body#product .fh-product-pro .page-title {
    margin: 0 0 6px;
    color: var(--fh-product-dark);
    font-size: 1.85rem;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.025em;
}

body#product .fh-product-pro .product-original-title {
    margin: 0 0 15px;
    color: #5d6c74;
    font-size: .95rem;
    line-height: 1.45;
}

body#product .fh-product-pro .product_header_container > hr {
    margin: 16px 0 18px;
    border-color: #e7edef;
}


/* ==========================================================
   DESCRIPCIÓN CORTA
   ========================================================== */

body#product .fh-product-pro .product-information .product-description {
    margin: 0 0 18px;
    color: #5d6b72;
    font-size: .9rem;
    line-height: 1.55;
}

body#product .fh-product-pro .product-information .product-description p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   LOTES DISPONIBLES
   ========================================================== */

body#product .fh-product-pro .batch-zone-right {
    margin: 0 0 18px !important;
}

body#product .fh-product-pro .batch-info {
    padding: 0 !important;
    margin-bottom: 13px !important;
    background: #fff !important;
    border: 1px solid var(--fh-product-border) !important;
    border-left: 1px solid var(--fh-product-border) !important;
    border-radius: 9px !important;
    overflow: hidden;
}

body#product .fh-product-pro .batch-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 12px 15px !important;
    background: var(--fh-product-soft);
    border-bottom: 1px solid var(--fh-product-border);
    color: var(--fh-product-accent) !important;
    font-size: .77rem !important;
    line-height: 1.3;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase;
}

body#product .fh-product-pro .batch-info h4 i {
    font-size: .9rem;
}

body#product .fh-product-pro .batch-info table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
}

body#product .fh-product-pro .batch-info thead tr {
    border-bottom: 1px solid var(--fh-product-border) !important;
    background: #fff;
    color: #7c8a91 !important;
    font-size: .68rem !important;
    letter-spacing: .04em;
}

body#product .fh-product-pro .batch-info th {
    padding: 9px 14px !important;
    font-weight: 600;
}

body#product .fh-product-pro .batch-info tbody {
    font-size: .82rem !important;
}

body#product .fh-product-pro .batch-info tbody tr {
    border-bottom: 1px solid #edf1f3 !important;
    transition: background .15s ease;
}

body#product .fh-product-pro .batch-info tbody tr:last-child {
    border-bottom: 0 !important;
}

body#product .fh-product-pro .batch-info tbody tr:hover {
    background: #fbfcfc;
}

body#product .fh-product-pro .batch-info td {
    padding: 11px 14px !important;
    color: #526169;
}

body#product .fh-product-pro .batch-info td:first-child {
    color: #25343b;
    font-weight: 600 !important;
}


/* ==========================================================
   SELECTOR DE LOTE
   ========================================================== */

body#product .fh-product-pro .batch-selection-container {
    padding: 14px 15px 15px !important;
    background: var(--fh-product-orange-soft) !important;
    border: 1px solid #f1c5a5 !important;
    border-radius: 9px !important;
}

body#product .fh-product-pro .batch-selection-container > label {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px !important;
    color: #b55714 !important;
    font-size: .78rem;
    font-weight: 700 !important;
}

body#product .fh-product-pro #batch_selector_input {
    width: 100%;
    min-height: 44px;
    padding: 10px 38px 10px 13px;
    background-color: #fff;
    border: 1px solid #d9e0e3;
    border-radius: 7px;
    color: #34444c;
    font-size: .86rem;
    box-shadow: none;
}

body#product .fh-product-pro #batch_selector_input:focus {
    border-color: var(--fh-product-accent);
    box-shadow: 0 0 0 3px rgba(232,119,34,.10);
}


/* ==========================================================
   RESUMEN DEL LOTE SELECCIONADO
   ========================================================== */

body#product .fh-product-pro #selected_batch_summary {
    margin-top: 12px !important;
    padding: 12px 14px !important;
    background: #fff !important;
    border: 1px solid #e2e7ea !important;
    border-radius: 7px !important;
    color: #56666e;
    font-size: .78rem;
    line-height: 1.7;
}

body#product .fh-product-pro #selected_batch_summary strong {
    color: #25343b;
}


/* ==========================================================
   ADVERTENCIA STOCK
   ========================================================== */

body#product .fh-product-pro #ism_batch_stock_warning {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    background: #fff6ef !important;
    border: 1px solid #f1b88e !important;
    border-radius: 7px !important;
    color: #9b4a11 !important;
    font-size: .78rem !important;
}


/* ==========================================================
   PRECIO DINÁMICO DEL LOTE
   ========================================================== */

body#product .fh-product-pro #batch_price_container {
    margin: 17px 0 5px !important;
}

body#product .fh-product-pro #batch_price_container .product-price {
    color: #1f2e35;
    font-size: 1.65rem;
    font-weight: 700;
}

body#product .fh-product-pro #batch_price_container .tax-shipping-delivery-label {
    margin-top: 3px;
    color: #7d8b92;
    font-size: .72rem;
}


/* ==========================================================
   COMPRA
   ========================================================== */

body#product .fh-product-pro .product-add-to-cart {
    padding-top: 18px !important;
    margin-top: 4px;
    border-top: 1px solid #e5ebee;
}

body#product .fh-product-pro .product-add-to-cart .product-quantity {
    align-items: stretch;
    margin-left: -5px;
    margin-right: -5px;
}

body#product .fh-product-pro .product-add-to-cart .product-quantity > [class*="col"] {
    padding-left: 5px;
    padding-right: 5px;
}

body#product .fh-product-pro #quantity_wanted {
    min-width: 88px;
    height: 48px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d9e1e4;
    border-radius: 7px;
    text-align: center;
    font-weight: 600;
}

body#product .fh-product-pro .add-to-cart {
    min-height: 48px;
    padding: 11px 25px;
    border: 0;
    border-radius: 7px;
    background: var(--fh-product-accent);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 5px 15px rgba(232,119,34,.18);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

body#product .fh-product-pro .add-to-cart:hover:not(:disabled) {
    background: #d7681b;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(232,119,34,.24);
}

body#product .fh-product-pro .add-to-cart:disabled {
    background: #d6dadd;
    box-shadow: none;
}

body#product .fh-product-pro .shipping-time {
    margin-bottom: 10px;
    color: #75848c;
    font-size: .78rem;
}


/* ==========================================================
   WISHLIST / ACCIONES
   ========================================================== */

body#product .fh-product-pro .product-additional-info,
body#product .fh-product-pro .product-actions + .product-additional-info {
    margin-top: 12px;
}

body#product .fh-product-pro .wishlist-button-add {
    border-radius: 7px;
}


/* ==========================================================
   INFORMACIÓN TÉCNICA / EXTRA CONTENT
   ========================================================== */

body#product .fh-product-pro .extra-data,
body#product .fh-product-pro #product-details {
    margin-top: 16px;
    padding: 16px 17px;
    background: #fff;
    border: 1px solid var(--fh-product-border);
    border-radius: 9px;
}

body#product .fh-product-pro .extra-data h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8edef;
    color: var(--fh-product-dark);
    font-size: .9rem;
    font-weight: 700;
}

body#product .fh-product-pro .product-features .data-sheet {
    margin: 0;
}

body#product .fh-product-pro .product-features .data-sheet dt,
body#product .fh-product-pro .product-features .data-sheet dd {
    margin: 0;
    padding: 9px 0;
    background: transparent;
    border-bottom: 1px solid #edf1f3;
    font-size: .8rem;
}

body#product .fh-product-pro .product-features .data-sheet dt {
    color: #77868e;
    font-weight: 500;
}

body#product .fh-product-pro .product-features .data-sheet dd {
    color: #27363d;
    font-weight: 600;
    text-align: right;
}


/* ==========================================================
   DESCRIPCIÓN BAJO GALERÍA
   ========================================================== */

body#product .fh-product-pro .col-product-image > .description,
body#product .fh-product-pro .col-product-image .description {
    margin-top: 20px;
    padding: 19px 21px;
    background: #fff;
    border: 1px solid var(--fh-product-border);
    border-radius: 10px;
}

body#product .fh-product-pro .description > h3 {
    margin: 0 0 13px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8edef;
    color: var(--fh-product-dark);
    font-size: 1rem;
    font-weight: 700;
}

body#product .fh-product-pro .description .rte-content {
    color: #5e6e76;
    font-size: .86rem;
    line-height: 1.65;
}


/* ==========================================================
   PRODUCTO SIN LOTES DISPONIBLES
   ========================================================== */

body#product .fh-product-pro .batch-no-stock-container {
    margin-bottom: 18px !important;
    padding: 16px !important;
    background: var(--fh-product-orange-soft) !important;
    border: 1px solid #f1c5a5 !important;
    border-radius: 9px !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    body#product .fh-product-pro .col-product-image {
        margin-bottom: 22px;
    }

    body#product .fh-product-pro #col-product-info {
        padding: 21px;
    }

    body#product .fh-product-pro #product-images-large .swiper-slide {
        min-height: 380px;
    }

    body#product .fh-product-pro #product-images-large img {
        max-height: 380px;
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 575px) {

    body#product .fh-product-pro .col-product-image .product-cover {
        padding: 12px;
        border-radius: 9px;
    }

    body#product .fh-product-pro #product-images-large .swiper-slide {
        min-height: 300px;
    }

    body#product .fh-product-pro #product-images-large img {
        max-height: 300px;
    }

    body#product .fh-product-pro #col-product-info {
        padding: 17px 15px;
        border-radius: 9px;
    }

    body#product .fh-product-pro .page-title {
        font-size: 1.45rem;
    }

    body#product .fh-product-pro .batch-info {
        overflow-x: auto;
    }

    body#product .fh-product-pro .batch-info table {
        min-width: 430px;
    }

    body#product .fh-product-pro .product-add-to-cart .col-add-qty,
    body#product .fh-product-pro .product-add-to-cart .col-add-btn {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    body#product .fh-product-pro .product-add-to-cart .col-add-btn {
        margin-top: 8px;
    }

    body#product .fh-product-pro #quantity_wanted,
    body#product .fh-product-pro .add-to-cart {
        width: 100%;
    }

    body#product .fh-product-pro .extra-data,
    body#product .fh-product-pro #product-details {
        padding: 14px;
    }

}




/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - PHASE 2
   Compra prioritaria + desktop compacto + quantity premium
   ========================================================== */


/* ----------------------------------------------------------
   1. PANEL PRINCIPAL
   Menos efecto "tarjeta flotante"
   ---------------------------------------------------------- */

body#product .fh-product-pro .col-product-image .product-cover,
body#product .fh-product-pro #col-product-info {
    box-shadow: none !important;
    border-color: #e1e7ea !important;
}

body#product .fh-product-pro #col-product-info {
    position: relative;
    border-top: 3px solid var(--fh-product-accent) !important;
}


/* ----------------------------------------------------------
   2. ZONA DE COMPRA
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-add-to-cart {
    margin-top: 2px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e5ebee !important;
}

body#product .fh-product-pro .product-add-to-cart .product-quantity {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0 !important;
}

body#product .fh-product-pro .product-add-to-cart .col-add-qty,
body#product .fh-product-pro .product-add-to-cart .col-add-btn {
    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    padding: 0 !important;
}

body#product .fh-product-pro .product-add-to-cart .add {
    height: 100%;
}

body#product .fh-product-pro .add-to-cart {
    min-width: 220px;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ----------------------------------------------------------
   3. CANTIDAD
   Selector horizontal:  -  1  +
   ---------------------------------------------------------- */

/* Quitar flechas nativas del navegador */

body#product .fh-product-pro #quantity_wanted::-webkit-outer-spin-button,
body#product .fh-product-pro #quantity_wanted::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body#product .fh-product-pro #quantity_wanted {
    -moz-appearance: textfield;
}


/* TouchSpin generado por Warehouse */

body#product .fh-product-pro .qty .bootstrap-touchspin {
    display: grid !important;

    grid-template-columns: 38px 54px 38px;
    grid-template-rows: 48px;

    width: 130px !important;
    max-width: 130px !important;
    height: 48px !important;

    margin: 0 !important;

    background: #fff;

    border: 1px solid #d7e0e4 !important;
    border-radius: 8px !important;

    overflow: hidden;

    box-shadow: none !important;
}


/* Elementos vacíos del TouchSpin */

body#product .fh-product-pro .qty .bootstrap-touchspin-prefix,
body#product .fh-product-pro .qty .bootstrap-touchspin-postfix {
    display: none !important;
}


/* Los botones verticales pasan al grid horizontal */

body#product .fh-product-pro .qty .input-group-btn-vertical {
    display: contents !important;
}


/* Input central */

body#product .fh-product-pro .qty .bootstrap-touchspin #quantity_wanted {
    grid-column: 2;
    grid-row: 1;

    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;

    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 4px !important;

    background: #fff !important;

    border: 0 !important;
    border-left: 1px solid #e1e7ea !important;
    border-right: 1px solid #e1e7ea !important;

    border-radius: 0 !important;

    color: #263840 !important;

    font-size: .9rem;
    font-weight: 700;

    line-height: 48px;
    text-align: center;

    box-shadow: none !important;
}


/* Botón menos */

body#product .fh-product-pro .qty .bootstrap-touchspin-down {
    grid-column: 1;
    grid-row: 1;
}


/* Botón más */

body#product .fh-product-pro .qty .bootstrap-touchspin-up {
    grid-column: 3;
    grid-row: 1;
}


/* Ambos botones */

body#product .fh-product-pro .qty .bootstrap-touchspin-up,
body#product .fh-product-pro .qty .bootstrap-touchspin-down {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    min-width: 38px !important;

    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #354952 !important;

    text-align: center !important;
    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background .15s ease,
        color .15s ease;
}


/* Ocultamos la flecha original */

body#product .fh-product-pro .qty .bootstrap-touchspin-up i,
body#product .fh-product-pro .qty .bootstrap-touchspin-down i {
    position: static !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 0 !important;
    line-height: 1 !important;

    pointer-events: none;
}


/* Nuevo símbolo + */

body#product .fh-product-pro .qty .bootstrap-touchspin-up i::before {
    content: "+";

    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;

    line-height: 1 !important;
}


/* Nuevo símbolo - */

body#product .fh-product-pro .qty .bootstrap-touchspin-down i::before {
    content: "\2212";

    font-family: Arial, sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;

    line-height: 1 !important;
}


/* Hover */

body#product .fh-product-pro .qty .bootstrap-touchspin-up:hover,
body#product .fh-product-pro .qty .bootstrap-touchspin-down:hover {
    background: #fff4ec !important;
    color: var(--fh-product-accent) !important;
}


/* ----------------------------------------------------------
   4. INFORMACIÓN TÉCNICA
   Menos "caja flotante", más sección profesional
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-features {
    margin-top: 17px !important;
    padding-top: 15px !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 1px solid #e5ebee !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}

body#product .fh-product-pro .product-features > h3 {
    margin: 0 0 8px !important;

    color: var(--fh-product-dark);

    font-size: .9rem !important;
    font-weight: 700;
}

body#product .fh-product-pro .product-features .data-sheet dt,
body#product .fh-product-pro .product-features .data-sheet dd {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}


/* ----------------------------------------------------------
   5. DESKTOP DE POCA ALTURA
   Muy importante para monitores 1080p.

   Se basa en ALTURA de viewport, no simplemente en anchura.
   Así el monitor 2K conserva el diseño más espacioso.
   ---------------------------------------------------------- */

@media (min-width: 992px) and (max-height: 950px) {

    /* Galería */

    body#product .fh-product-pro .col-product-image .product-cover {
        padding: 16px !important;
    }

    body#product .fh-product-pro #product-images-large .swiper-slide {
        min-height: 350px !important;
    }

    body#product .fh-product-pro #product-images-large img {
        max-width: 88% !important;
        max-height: 340px !important;
    }

    body#product .fh-product-pro .product-thumbs {
        margin-top: 9px !important;
    }


    /* Panel derecho */

    body#product .fh-product-pro #col-product-info {
        padding: 17px 21px 19px !important;
    }


    /* Cabecera */

    body#product .fh-product-pro .product-manufacturer-next {
        margin-bottom: 4px !important;
    }

    body#product .fh-product-pro .page-title {
        margin-bottom: 4px !important;

        font-size: 1.63rem !important;
        line-height: 1.08 !important;
    }

    body#product .fh-product-pro .product-original-title {
        margin-bottom: 9px !important;

        font-size: .88rem !important;
        line-height: 1.35 !important;
    }

    body#product .fh-product-pro .product_header_container > hr {
        margin: 10px 0 11px !important;
    }


    /* Descripción corta */

    body#product .fh-product-pro .product-information .product-description {
        margin-bottom: 11px !important;

        font-size: .84rem !important;
        line-height: 1.43 !important;
    }


    /* Lotes */

    body#product .fh-product-pro .batch-zone-right {
        margin-bottom: 10px !important;
    }

    body#product .fh-product-pro .batch-info {
        margin-bottom: 9px !important;
    }

    body#product .fh-product-pro .batch-info h4 {
        padding: 9px 12px !important;
    }

    body#product .fh-product-pro .batch-info th {
        padding: 7px 11px !important;
    }

    body#product .fh-product-pro .batch-info td {
        padding: 8px 11px !important;
    }


    /* Selector lote */

    body#product .fh-product-pro .batch-selection-container {
        padding: 10px 12px 11px !important;
    }

    body#product .fh-product-pro .batch-selection-container > label {
        margin-bottom: 6px !important;
    }

    body#product .fh-product-pro #batch_selector_input {
        min-height: 40px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }


    /* Resumen lote */

    body#product .fh-product-pro #selected_batch_summary {
        margin-top: 8px !important;
        padding: 8px 11px !important;

        line-height: 1.5 !important;
    }


    /* Precio */

    body#product .fh-product-pro #batch_price_container {
        margin: 10px 0 3px !important;
    }

    body#product .fh-product-pro #batch_price_container .product-price {
        font-size: 1.45rem !important;
    }


    /* Compra */

    body#product .fh-product-pro .product-add-to-cart {
        padding-top: 11px !important;
    }

    body#product .fh-product-pro .shipping-time {
        margin-bottom: 7px !important;
    }


    /* Técnica */

    body#product .fh-product-pro .product-features {
        margin-top: 12px !important;
        padding-top: 11px !important;
    }

    body#product .fh-product-pro .product-features .data-sheet dt,
    body#product .fh-product-pro .product-features .data-sheet dd {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

}


/* ----------------------------------------------------------
   6. MÓVIL
   ---------------------------------------------------------- */

@media (max-width: 575px) {

    body#product .fh-product-pro .product-add-to-cart .product-quantity {
        display: grid !important;

        grid-template-columns: 130px minmax(0, 1fr);

        gap: 8px;
    }

    body#product .fh-product-pro .product-add-to-cart .col-add-qty,
    body#product .fh-product-pro .product-add-to-cart .col-add-btn {
        width: auto !important;
        max-width: none !important;
    }

    body#product .fh-product-pro .add-to-cart {
        width: 100% !important;
        min-width: 0 !important;
    }

}



/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - PHASE 2.1
   Fix ancho selector cantidad / evitar solape con carrito
   ========================================================== */


/*
 * Warehouse fuerza .product-quantity .qty a 80px.
 * Nuestro selector horizontal necesita 130px reales.
 */

body#product .fh-product-pro .product-add-to-cart .col-add-qty {
    flex: 0 0 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
}

body#product .fh-product-pro .product-add-to-cart .qty {
    display: block !important;

    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;

    height: 48px !important;

    overflow: visible !important;
}


/* TouchSpin ocupa exactamente su columna */

body#product .fh-product-pro .qty .bootstrap-touchspin {
    box-sizing: border-box !important;

    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;

    flex: none !important;
}


/*
 * Neutralizar propiedades heredadas del TouchSpin original
 * vertical de Warehouse.
 */

body#product .fh-product-pro
.qty .input-group-btn-vertical {
    position: static !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;

    float: none !important;

    white-space: normal !important;
}

body#product .fh-product-pro
.qty .input-group-btn-vertical > .btn {
    position: static !important;

    float: none !important;

    max-width: none !important;

    margin-left: 0 !important;
    margin-top: 0 !important;
}


/* Asegurar las tres celdas: - | cantidad | + */

body#product .fh-product-pro
.qty .bootstrap-touchspin-down {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
}

body#product .fh-product-pro
.qty #quantity_wanted {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
}

body#product .fh-product-pro
.qty .bootstrap-touchspin-up {
    grid-column: 3 !important;
    grid-row: 1 !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
}


/* El carrito empieza únicamente después de los 130px */

body#product .fh-product-pro .product-add-to-cart .col-add-btn {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin-left: 0 !important;
}


/* Separación física y visual entre cantidad y CTA */

body#product .fh-product-pro
.product-add-to-cart .product-quantity {
    column-gap: 12px !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 575px) {

    body#product .fh-product-pro
    .product-add-to-cart .col-add-qty {
        flex-basis: 130px !important;

        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
    }

}



/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - PHASE 3
   Resumen compacto + documentos + purchase bar final
   ========================================================== */


/* ----------------------------------------------------------
   1. SELECTOR DE LOTE
   ---------------------------------------------------------- */

body#product .fh-product-pro .batch-selection-container {
    padding: 11px 12px 12px !important;

    background: #fff9f5 !important;

    border-color: #efbf9d !important;
}

body#product .fh-product-pro .batch-selection-container > label {
    margin-bottom: 7px !important;
}


/* ----------------------------------------------------------
   2. RESUMEN DEL LOTE
   ---------------------------------------------------------- */

body#product .fh-product-pro #selected_batch_summary {
    margin-top: 9px !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #50616a;

    font-size: .75rem !important;
    line-height: 1.25 !important;
}


/* Referencia necesaria para JS pero visualmente redundante */

body#product .fh-product-pro .fh-batch-reference-sync {
    display: none !important;
}


/* Una sola banda informativa */

body#product .fh-product-pro .fh-batch-summary-grid {
    display: grid;

    grid-template-columns:
        minmax(135px, 1.25fr)
        minmax(115px, 1fr)
        minmax(80px, .72fr)
        minmax(80px, .72fr);

    background: #fff;

    border: 1px solid #e0e6e9;
    border-radius: 7px;

    overflow: hidden;
}


/* Cuando no se muestra precio quedan 3 columnas */

body#product .fh-product-pro
.fh-batch-summary-grid:has(.fh-batch-summary-item:nth-child(3):last-child) {
    grid-template-columns:
        minmax(135px, 1.3fr)
        minmax(115px, 1fr)
        minmax(90px, .7fr);
}


body#product .fh-product-pro .fh-batch-summary-item {
    min-width: 0;

    padding: 8px 10px;

    border-right: 1px solid #edf1f3;
}

body#product .fh-product-pro .fh-batch-summary-item:last-child {
    border-right: 0;
}


/* Etiqueta pequeña */

body#product .fh-product-pro .fh-batch-summary-label {
    display: block;

    margin-bottom: 3px;

    color: #89969c;

    font-size: .61rem;
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: .045em;

    text-transform: uppercase;
}


/* Valor */

body#product .fh-product-pro .fh-batch-summary-item strong {
    display: block;

    overflow: hidden;

    color: #25363e !important;

    font-size: .75rem;

    font-weight: 600;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Stock destacado sin convertirlo en una alerta */

body#product .fh-product-pro
.fh-batch-summary-item:last-child strong {
    color: #16833a !important;
}


/* ----------------------------------------------------------
   3. DOCUMENTOS DEL LOTE
   ---------------------------------------------------------- */

body#product .fh-product-pro #attachments_area {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 8px !important;
}


/* El PDF deja de ser una pastilla naranja pesada */

body#product .fh-product-pro #attachments_area .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 31px;

    margin: 0 !important;
    padding: 5px 9px !important;

    background: #fff !important;

    border: 1px solid #dce4e7 !important;
    border-radius: 6px !important;

    color: #44565f !important;

    font-size: .69rem !important;
    line-height: 1.15;

    font-weight: 600;

    box-shadow: none !important;

    transition:
        border-color .15s ease,
        color .15s ease,
        background .15s ease;
}


body#product .fh-product-pro #attachments_area .btn i {
    margin: 0 !important;

    color: var(--fh-product-accent) !important;

    font-size: .73rem;
}


body#product .fh-product-pro #attachments_area .btn:hover {
    background: #fff7f1 !important;

    border-color: #efb88f !important;

    color: #b85a18 !important;
}


/* ----------------------------------------------------------
   4. PURCHASE BAR
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-add-to-cart {
    margin-top: 10px !important;
    padding-top: 12px !important;
}


body#product .fh-product-pro
.product-add-to-cart .product-quantity {
    display: flex !important;

    align-items: center !important;

    flex-wrap: nowrap !important;

    gap: 10px !important;

    min-height: 48px;
}


/* Cantidad */

body#product .fh-product-pro
.product-add-to-cart .col-add-qty {
    flex: 0 0 130px !important;
}


/* CTA principal */

body#product .fh-product-pro
.product-add-to-cart .col-add-btn {
    flex: 0 0 auto !important;
}


body#product .fh-product-pro .add-to-cart {
    min-width: 220px !important;

    height: 48px !important;
    min-height: 48px !important;

    padding-left: 25px !important;
    padding-right: 25px !important;

    border-radius: 7px !important;
}


/* ----------------------------------------------------------
   5. BOTÓN DESHABILITADO
   Warehouse usa opacity:.05.
   Lo hacemos visible pero claramente inactivo.
   ---------------------------------------------------------- */

body#product .fh-product-pro
.product-quantity .add-to-cart:disabled,
body#product .fh-product-pro
.product-quantity .add-to-cart[disabled] {
    opacity: 1 !important;

    background: #edf1f3 !important;

    border: 1px solid #dce3e6 !important;

    color: #8c999f !important;

    box-shadow: none !important;

    cursor: not-allowed !important;

    transform: none !important;
}


/* ----------------------------------------------------------
   6. WISHLIST
   Integrarlo en la misma línea de acción
   ---------------------------------------------------------- */

body#product .fh-product-pro
.product-add-to-cart .wishlist-button-add {
    width: 48px !important;
    min-width: 48px !important;

    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;

    border-radius: 7px !important;

    box-shadow: none !important;
}


/* ----------------------------------------------------------
   7. DESKTOP 1080
   ---------------------------------------------------------- */

@media (min-width: 992px) and (max-height: 950px) {

    body#product .fh-product-pro
    .fh-batch-summary-item {
        padding: 6px 9px;
    }

    body#product .fh-product-pro
    .fh-batch-summary-label {
        margin-bottom: 2px;

        font-size: .58rem;
    }

    body#product .fh-product-pro
    #attachments_area {
        margin-top: 6px !important;
    }

    body#product .fh-product-pro
    .product-add-to-cart {
        margin-top: 8px !important;
        padding-top: 10px !important;
    }

}


/* ----------------------------------------------------------
   8. TABLET
   ---------------------------------------------------------- */

@media (max-width: 991px) {

    body#product .fh-product-pro
    .fh-batch-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body#product .fh-product-pro
    .fh-batch-summary-item {
        border-bottom: 1px solid #edf1f3;
    }

}


/* ----------------------------------------------------------
   9. MÓVIL
   ---------------------------------------------------------- */

@media (max-width: 575px) {

    body#product .fh-product-pro
    .fh-batch-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    body#product .fh-product-pro
    .product-add-to-cart .product-quantity {
        display: grid !important;

        grid-template-columns: 130px minmax(0, 1fr) 48px;

        gap: 7px !important;
    }


    body#product .fh-product-pro
    .product-add-to-cart .col-add-btn {
        width: auto !important;
        min-width: 0 !important;
    }


    body#product .fh-product-pro
    .add-to-cart {
        width: 100% !important;
        min-width: 0 !important;

        padding-left: 12px !important;
        padding-right: 12px !important;
    }

}



/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - PHASE 4
   Visual contrast / hierarchy polish
   ========================================================== */


/* ----------------------------------------------------------
   1. PALETA / JERARQUÍA GENERAL
   ---------------------------------------------------------- */

body#product .fh-product-pro {
    color: #31454d;
}

body#product .fh-product-pro .page-title,
body#product .fh-product-pro h1,
body#product .fh-product-pro h2,
body#product .fh-product-pro h3,
body#product .fh-product-pro h4 {
    color: #18313a !important;
}

body#product .fh-product-pro .product-original-title,
body#product .fh-product-pro .product-reference,
body#product .fh-product-pro .product-manufacturer-next,
body#product .fh-product-pro .product-description,
body#product .fh-product-pro .product-description p {
    color: #4e646d !important;
}


/* ----------------------------------------------------------
   2. PANEL DERECHO E IMAGEN
   ---------------------------------------------------------- */

body#product .fh-product-pro #col-product-info {
    background: #ffffff !important;
    border: 1px solid #d6e0e5 !important;
    box-shadow: none !important;
}

body#product .fh-product-pro .col-product-image .product-cover {
    background: #ffffff !important;
    border: 1px solid #d8e2e7 !important;
}


/* ----------------------------------------------------------
   3. TABLA DE LOTES
   ---------------------------------------------------------- */

body#product .fh-product-pro .batch-info {
    border: 1px solid #d6e1e6 !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #fff !important;
}

body#product .fh-product-pro .batch-info h4 {
    background: #eef3f5 !important;
    color: #18313a !important;
    border-bottom: 1px solid #d8e3e7 !important;
    position: relative;
}

body#product .fh-product-pro .batch-info h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--fh-product-accent);
}

body#product .fh-product-pro .batch-info table thead tr,
body#product .fh-product-pro .batch-info table thead th {
    background: #f7fafb !important;
    color: #51656d !important;
    border-bottom: 1px solid #dde6ea !important;
}

body#product .fh-product-pro .batch-info tbody tr:nth-child(even) {
    background: #fcfdfd !important;
}

body#product .fh-product-pro .batch-info tbody tr:hover {
    background: #f6fafc !important;
}

body#product .fh-product-pro .batch-info td {
    color: #31454d !important;
    border-bottom-color: #edf2f4 !important;
}


/* ----------------------------------------------------------
   4. SELECTOR DE LOTE
   ---------------------------------------------------------- */

body#product .fh-product-pro .batch-selection-container {
    background: #fff7f1 !important;
    border: 1px solid #ebb48e !important;
    border-radius: 8px !important;
}

body#product .fh-product-pro .batch-selection-container > label {
    color: #b65d1d !important;
    font-weight: 700 !important;
}

body#product .fh-product-pro #batch_selector_input {
    background: #fff !important;
    border: 1px solid #d5dfe4 !important;
    color: #243840 !important;
    box-shadow: none !important;
}

body#product .fh-product-pro #batch_selector_input:focus {
    border-color: #e87722 !important;
    box-shadow: 0 0 0 3px rgba(232,119,34,.10) !important;
}


/* ----------------------------------------------------------
   5. RESUMEN DEL LOTE SELECCIONADO
   ---------------------------------------------------------- */

body#product .fh-product-pro .fh-batch-summary-grid {
    background: #f4f8fa !important;
    border: 1px solid #d8e3e8 !important;
}

body#product .fh-product-pro .fh-batch-summary-item {
    background: transparent !important;
}

body#product .fh-product-pro .fh-batch-summary-label {
    color: #71858d !important;
}

body#product .fh-product-pro .fh-batch-summary-item strong {
    color: #1f3540 !important;
}

body#product .fh-product-pro .fh-batch-summary-item:last-child strong {
    color: #16793a !important;
}


/* ----------------------------------------------------------
   6. DOCUMENTOS / PDF
   ---------------------------------------------------------- */

body#product .fh-product-pro #attachments_area .btn {
    background: #fff !important;
    border: 1px solid #d4dfe4 !important;
    color: #40545d !important;
}

body#product .fh-product-pro #attachments_area .btn:hover {
    background: #fff7f1 !important;
    border-color: #e8b089 !important;
    color: #ad581d !important;
}


/* ----------------------------------------------------------
   7. BARRA DE COMPRA
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-add-to-cart {
    border-top: 1px solid #dfe7ea !important;
}

body#product .fh-product-pro .qty .bootstrap-touchspin {
    border: 1px solid #cfdbe0 !important;
    background: #fff !important;
}

body#product .fh-product-pro .qty .bootstrap-touchspin #quantity_wanted {
    color: #1f3540 !important;
    background: #fff !important;
    border-left: 1px solid #dde5e9 !important;
    border-right: 1px solid #dde5e9 !important;
}

body#product .fh-product-pro .qty .bootstrap-touchspin-up,
body#product .fh-product-pro .qty .bootstrap-touchspin-down {
    color: #30454e !important;
}

body#product .fh-product-pro .qty .bootstrap-touchspin-up:hover,
body#product .fh-product-pro .qty .bootstrap-touchspin-down:hover {
    background: #fef2e9 !important;
    color: var(--fh-product-accent) !important;
}


/* ----------------------------------------------------------
   8. BOTÓN PRINCIPAL
   ---------------------------------------------------------- */

body#product .fh-product-pro .add-to-cart {
    box-shadow: none !important;
}

body#product .fh-product-pro .add-to-cart:hover:not(:disabled) {
    box-shadow: 0 4px 14px rgba(232,119,34,.16) !important;
}

body#product .fh-product-pro .product-quantity .add-to-cart:disabled,
body#product .fh-product-pro .product-quantity .add-to-cart[disabled] {
    background: #e9eef1 !important;
    border-color: #d7e0e4 !important;
    color: #7f8f96 !important;
    opacity: 1 !important;
}


/* ----------------------------------------------------------
   9. WISHLIST
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-add-to-cart .wishlist-button-add {
    background: #fff !important;
    border: 1px solid #d2dde2 !important;
    color: #50646d !important;
}

body#product .fh-product-pro .product-add-to-cart .wishlist-button-add:hover {
    background: #f6fafb !important;
    border-color: #c5d4db !important;
    color: #1f3540 !important;
}


/* ----------------------------------------------------------
   10. INFORMACIÓN TÉCNICA
   ---------------------------------------------------------- */

body#product .fh-product-pro .product-features {
    background: #f8fbfc !important;
    border-top: 1px solid #dbe5e9 !important;
    padding-top: 14px !important;
    padding-bottom: 4px !important;
}

body#product .fh-product-pro .product-features > h3 {
    color: #18313a !important;
}

body#product .fh-product-pro .product-features .data-sheet dt {
    color: #5c7078 !important;
    font-weight: 600 !important;
}

body#product .fh-product-pro .product-features .data-sheet dd {
    color: #243840 !important;
    font-weight: 500 !important;
}


/* ----------------------------------------------------------
   11. AVISO STOCK
   ---------------------------------------------------------- */

body#product .fh-product-pro #ism_batch_stock_warning {
    background: #fff4ec !important;
    border: 1px solid #efbf9d !important;
    color: #9d4e16 !important;
}


/* ----------------------------------------------------------
   12. 1080P
   ---------------------------------------------------------- */

@media (min-width: 992px) and (max-height: 950px) {
    body#product .fh-product-pro .batch-info h4 {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }

    body#product .fh-product-pro .product-features {
        padding-top: 11px !important;
    }
}



/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - BLUE BRAND TEST
   Corporate blue: #165C7D
   Keep orange for CTA
   ========================================================== */

body#product .fh-product-pro {
    --fh-brand-blue: #165C7D;
}


/* Cabeceras y títulos */
body#product .fh-product-pro .page-title,
body#product .fh-product-pro h1,
body#product .fh-product-pro h2,
body#product .fh-product-pro h3,
body#product .fh-product-pro h4 {
    color: var(--fh-brand-blue) !important;
}


/* Panel derecho */
body#product .fh-product-pro #col-product-info {
    border-top: 3px solid var(--fh-brand-blue) !important;
}


/* Tabla de lotes */
body#product .fh-product-pro .batch-info h4 {
    background: #eef5f8 !important;
    color: var(--fh-brand-blue) !important;
    border-bottom: 1px solid #d6e3e9 !important;
}

body#product .fh-product-pro .batch-info h4::before {
    background: var(--fh-brand-blue) !important;
}

body#product .fh-product-pro .batch-info table thead tr,
body#product .fh-product-pro .batch-info table thead th {
    background: #f5f9fb !important;
    color: #42626f !important;
}


/* Selector de lote */
body#product .fh-product-pro .batch-selection-container {
    background: #f3f8fa !important;
    border: 1px solid #9fc0cf !important;
}

body#product .fh-product-pro .batch-selection-container > label {
    color: var(--fh-brand-blue) !important;
}

body#product .fh-product-pro #batch_selector_input:focus {
    border-color: var(--fh-brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(22,92,125,.12) !important;
}


/* Resumen del lote seleccionado */
body#product .fh-product-pro .fh-batch-summary-grid {
    background: #f2f7f9 !important;
    border: 1px solid #d4e1e7 !important;
}

body#product .fh-product-pro .fh-batch-summary-item strong {
    color: #1e3f4b !important;
}


/* Documentos/PDF */
body#product .fh-product-pro #attachments_area .btn i {
    color: var(--fh-brand-blue) !important;
}

body#product .fh-product-pro #attachments_area .btn:hover {
    background: #f2f7f9 !important;
    border-color: #b8cfd9 !important;
    color: var(--fh-brand-blue) !important;
}


/* Cantidad */
body#product .fh-product-pro .qty .bootstrap-touchspin-up:hover,
body#product .fh-product-pro .qty .bootstrap-touchspin-down:hover {
    background: #f1f7fa !important;
    color: var(--fh-brand-blue) !important;
}


/* Wishlist */
body#product .fh-product-pro .product-add-to-cart .wishlist-button-add:hover {
    background: #f1f7fa !important;
    border-color: #b8cfd9 !important;
    color: var(--fh-brand-blue) !important;
}


/* Información técnica */
body#product .fh-product-pro .product-features {
    background: #f7fafb !important;
    border-top: 1px solid #d8e4e9 !important;
}

body#product .fh-product-pro .product-features > h3 {
    color: var(--fh-brand-blue) !important;
}


/* Avisos */
body#product .fh-product-pro #ism_batch_stock_warning {
    background: #eef6fa !important;
    border: 1px solid #bdd5df !important;
    color: #1f4d60 !important;
}



/* ==========================================================
   ISM PRODUCT PAGE PROFESSIONAL 2026 - PHASE 4.1
   Fix padding información técnica / bloques inferiores
   ========================================================== */

/* INFORMACIÓN TÉCNICA */
body#product .fh-product-pro .product-features {
    margin-top: 12px !important;
    padding: 14px 16px 12px !important;

    background: #f7fafb !important;

    border: 1px solid #d8e4e9 !important;
    border-radius: 8px !important;

    box-shadow: none !important;
}

body#product .fh-product-pro .product-features > h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body#product .fh-product-pro .product-features .data-sheet {
    margin: 0 !important;
}

body#product .fh-product-pro .product-features .data-sheet dt,
body#product .fh-product-pro .product-features .data-sheet dd {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

body#product .fh-product-pro .product-features .data-sheet dt:first-child,
body#product .fh-product-pro .product-features .data-sheet dd:first-child {
    padding-top: 0 !important;
}

/* INFORMACIÓN DE ENVÍO - para que acompañe visualmente */
body#product .fh-product-pro .shipping-information {
    margin-top: 14px !important;
    padding: 14px 16px !important;

    background: #fff !important;

    border: 1px solid #d8e4e9 !important;
    border-radius: 8px !important;

    box-shadow: none !important;
}

body#product .fh-product-pro .shipping-information .block-title,
body#product .fh-product-pro .shipping-information h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #165C7D !important;
}

/* 1080p */
@media (min-width: 992px) and (max-height: 950px) {
    body#product .fh-product-pro .product-features,
    body#product .fh-product-pro .shipping-information {
        padding: 12px 14px 10px !important;
    }

    body#product .fh-product-pro .product-features > h3,
    body#product .fh-product-pro .shipping-information .block-title,
    body#product .fh-product-pro .shipping-information h3 {
        margin-bottom: 8px !important;
    }
}



/* =====================================================
   FH CUSTOMER WELCOME HEADER
   ===================================================== */

.fh-welcome-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 0;
}

.fh-welcome-icon {
    font-size: 22px;
    line-height: 1;
}

.fh-welcome-text {
    text-align: left;
}

.fh-welcome-title {
    font-size: 15px;
    line-height: 18px;
}

.fh-welcome-subtitle {
    font-size: 12px;
    line-height: 15px;
    opacity: .85;
}



/* =====================================================
   FH CUSTOMER WELCOME CLEAN
   ===================================================== */

.fh-welcome-user {
    text-align: center;
    padding: 6px 0;
}

.fh-welcome-title {
    font-size: 18px;
    line-height: 22px;
}

.fh-welcome-title strong {
    font-weight: 700;
}

.fh-welcome-subtitle {
    font-size: 13px;
    line-height: 16px;
    margin-top: 2px;
}

/* ==========================================================
   FICHA DATOS DE CUENTA B2B
   ========================================================== */

/*
 * Panel principal
 */

.fh-datos-empresa {
    background: #fff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(24, 50, 74, .04);
}


/*
 * Cada sección interior
 */

.fh-datos-empresa > .fh-cuenta-seccion-cabecera,
.fh-datos-empresa > .fh-cuenta-readonly,
.fh-datos-empresa > .fh-cuenta-acceso {
    padding-left: 30px;
    padding-right: 30px;
}

.fh-datos-empresa > .fh-cuenta-seccion-cabecera {
    padding-top: 25px;
}


/*
 * Cabeceras Datos empresa / Datos acceso
 */

.fh-cuenta-seccion-cabecera {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 25px;
}

.fh-cuenta-seccion-icono {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf6fa;
    border-radius: 7px;

    color: #08739a;
    font-size: 18px;
}

.fh-cuenta-seccion-texto {
    min-width: 0;
}

.fh-cuenta-seccion-texto h3 {
    margin: 0 0 3px;

    color: #102e45;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.fh-cuenta-seccion-texto p {
    margin: 0;

    color: #71808d;
    font-size: 12.5px;
    line-height: 1.45;
}


/*
 * Datos de empresa
 */

.fh-cuenta-readonly {
    padding-bottom: 29px;
}

.fh-cuenta-fila {
    display: grid;
    grid-template-columns: 170px minmax(0, 720px);
    align-items: center;

    column-gap: 22px;
    margin-bottom: 11px;
}

.fh-cuenta-fila:last-child {
    margin-bottom: 0;
}

.fh-cuenta-etiqueta {
    margin: 0;

    color: #223c50;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 600;
}

.fh-cuenta-valor {
    width: 100%;
    min-height: 41px;

    display: flex;
    align-items: center;

    padding: 9px 14px;

    background: #f7f9fa;
    border: 1px solid #dfe5e9;
    border-radius: 5px;

    color: #173b57;
    font-size: 13px;
    line-height: 1.35;
}


/*
 * Separación entre empresa y acceso
 */

.fh-cuenta-separacion {
    height: 1px;
    margin: 0;

    background: #e3e9ed;
}


/*
 * Datos de acceso
 */

.fh-cuenta-acceso {
    padding-top: 27px;
    padding-bottom: 29px;
}

.fh-cuenta-acceso .fh-cuenta-seccion-cabecera {
    margin-bottom: 25px;
}

.fh-password-form {
    width: 100%;
}


/*
 * Inputs de contraseña
 */

.fh-password-campo {
    position: relative;

    width: 100%;
    max-width: 720px;
}

.fh-password-campo input {
    width: 100%;
    height: 41px;

    padding: 9px 44px 9px 14px;

    background: #fff;
    border: 1px solid #d9e1e6;
    border-radius: 5px;

    color: #173b57;
    font-size: 13px;

    outline: none;
    box-shadow: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.fh-password-campo input:hover {
    border-color: #bdcbd4;
}

.fh-password-campo input:focus {
    border-color: #08739a;
    box-shadow: 0 0 0 3px rgba(8, 115, 154, .08);
}


/*
 * Botón ojo
 */

.fh-password-toggle {
    position: absolute;
    top: 0;
    right: 0;

    width: 41px;
    height: 41px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    background: transparent;

    color: #668397;
    font-size: 13px;
    cursor: pointer;
}

.fh-password-toggle:hover,
.fh-password-toggle:focus {
    color: #08739a;
    background: transparent;
    outline: none;
}


/*
 * Guardar contraseña
 */

.fh-password-acciones {
    margin-top: 19px;
    padding-left: 192px;
}

.fh-password-guardar {
    min-width: 175px;

    padding: 11px 21px !important;

    background: #f47721 !important;
    border: 1px solid #f47721 !important;
    border-radius: 4px !important;

    color: #fff !important;

    font-size: 11.5px !important;
    line-height: 1.2;
    font-weight: 700 !important;
    text-transform: uppercase;

    box-shadow: none !important;
}

.fh-password-guardar:hover,
.fh-password-guardar:focus {
    background: #dc6817 !important;
    border-color: #dc6817 !important;
    color: #fff !important;
}


/*
 * Tablet
 */

@media (max-width: 1100px) {

    .fh-cuenta-fila {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .fh-password-acciones {
        padding-left: 167px;
    }

}


/*
 * Móvil
 */

@media (max-width: 767px) {

    .fh-datos-empresa > .fh-cuenta-seccion-cabecera,
    .fh-datos-empresa > .fh-cuenta-readonly,
    .fh-datos-empresa > .fh-cuenta-acceso {
        padding-left: 18px;
        padding-right: 18px;
    }

    .fh-datos-empresa > .fh-cuenta-seccion-cabecera {
        padding-top: 20px;
    }

    .fh-cuenta-seccion-cabecera {
        align-items: flex-start;
        margin-bottom: 21px;
    }

    .fh-cuenta-seccion-icono {
        width: 39px;
        height: 39px;
        min-width: 39px;
    }

    .fh-cuenta-fila {
        display: block;
        margin-bottom: 16px;
    }

    .fh-cuenta-etiqueta {
        display: block;
        margin-bottom: 7px;
    }

    .fh-cuenta-valor,
    .fh-password-campo {
        max-width: none;
    }

    .fh-password-acciones {
        padding-left: 0;
        margin-top: 20px;
    }

    .fh-password-guardar {
        width: 100%;
    }

}

