.field-tooltip { display: none !important; }

.field[name="shippingAddress.telephone"] .control,
.field[name="shippingAddress.telephone"] input,
#customer-email-fieldset .field .control,
#customer-email-fieldset .field input {
    width: 100% !important;
}

/* ===== Mostrar botón Social Login en login y create (revierte display:none de Porto) ===== */
body.customer-account-create .page-main .account-social-login,
body.customer-account-login .page-main .account-social-login {
    display: block !important;
}

/* Reordenar totales del checkout: Subtotal > IVA > Despacho > Total */
.opc-block-summary .table-totals tbody,
.opc-block-summary .table-totals tfoot {
    display: contents;
}
.opc-block-summary .table-totals {
    display: flex;
    flex-direction: column;
}
.opc-block-summary .table-totals .totals.sub { order: 1; }
.opc-block-summary .table-totals .sdn-gt-iva { order: 2; }
.opc-block-summary .table-totals .totals.shipping { order: 3; }
.opc-block-summary .table-totals .sdn-gt-total { order: 4; }

/* Diseño ordenado de filas de totales del checkout */
.opc-block-summary .table-totals .totals.sub,
.opc-block-summary .table-totals .sdn-gt-iva,
.opc-block-summary .table-totals .totals.shipping,
.opc-block-summary .table-totals .sdn-gt-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    width: 100% !important;
    padding: 8px 0 !important;
    margin: 0 !important;
}
.opc-block-summary .table-totals .totals.sub th,
.opc-block-summary .table-totals .totals.sub td,
.opc-block-summary .table-totals .sdn-gt-iva th,
.opc-block-summary .table-totals .sdn-gt-iva td,
.opc-block-summary .table-totals .totals.shipping th,
.opc-block-summary .table-totals .totals.shipping td,
.opc-block-summary .table-totals .sdn-gt-total th,
.opc-block-summary .table-totals .sdn-gt-total td {
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    background: none !important;
}
.opc-block-summary .table-totals .mark {
    font-weight: 400 !important;
    color: #555 !important;
}
.opc-block-summary .table-totals .amount {
    text-align: right !important;
    font-weight: 600 !important;
    color: #222 !important;
    white-space: nowrap !important;
}
/* IVA destacado */
.opc-block-summary .table-totals .sdn-gt-iva .mark,
.opc-block-summary .table-totals .sdn-gt-iva .amount {
    font-weight: 700 !important;
    color: #003da5 !important;
}
/* Total destacado con separador */
.opc-block-summary .table-totals .sdn-gt-total {
    border-top: 2px solid #eef0f4 !important;
    margin-top: 6px !important;
    padding-top: 12px !important;
}
.opc-block-summary .table-totals .sdn-gt-total .mark,
.opc-block-summary .table-totals .sdn-gt-total .amount {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #003da5 !important;
}
/* Subtexto del método de envío (Samex) */
.opc-block-summary .table-totals .totals.shipping .value {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 400;
}


/* Mostrar labels de Mageplaza en tarjetas de listado (el JS solo los activa en página de producto vía Fotorama) */
.products-grid .mpproductlabel-label,
.products-list .mpproductlabel-label,
.product-item .mpproductlabel-label,
.product-item-photo .mpproductlabel-label,
.product-item-info .mpproductlabel-label {
    display: block !important;
}
.product-item-photo,
.product-item .product-image-container,
.product-image-container {
    position: relative !important;
}
.product-item .mpproductlabel-img-label {
    display: block !important;
}
