.tmpro-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.tmpro-order-summary-column h3 {
    margin-bottom: 0px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.tmpro-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed;
}

.tmpro-summary-value {
    text-align: right;
	font-weight: 700;
	font-size: 18px;
	background: #e4a514;
    border-radius: 4px;
    padding: 0px 8px;
    box-shadow: 0 0 10px 0 #e4a514;
    border: solid 2px #ffcd5a;
}

.tmpro-summary-total {
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tmpro-checkout-form-column h3 {
	padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.tmpro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#tmpro_buyer_address {
    grid-column: 1 / -1;
}

.tmpro-label-file {
    display: block !important;
    margin-top: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px 15px;
    border: 2px dashed #b0c4de;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tmpro-label-file:hover {
    border-color: #6a96c3;
    transform: translateY(-2px);
}

.tmpro-submit-row {
    margin-top: 20px;
    text-align: center;
}

.tmpro-button-submit {
    width: 100%;
}

.tmpro-hidden-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.tmpro-file-info {
    display: block !important;
    margin-top: 5px;
    font-size: 0.85em;
}


@media (max-width: 992px) {
    .tmpro-grid-layout {
        /* Colapsa las dos columnas a una sola */
        grid-template-columns: 1fr;
    }
    
    .tmpro-form-grid {
        /* Los campos del formulario también se colapsan a una columna */
        grid-template-columns: 1fr;
    }

    /* Regla crucial para asegurar que todo el contenido se ajuste al ancho de la pantalla */
    .tmpro-order-summary-column,
    .tmpro-checkout-form-column {
        width: 100%;
        max-width: 100%;
    }

    input#tmpro_transaction_proof {
        max-width: 250px !important;
    }
}