.datc-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.datc-product-info {
    flex: 0 1 auto;
    min-width: 195px;
}

.datc-price {
    margin: 0;
    color: #006837;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
}

.datc-price del {
    opacity: .5;
    margin-inline-end: 6px;
}

.datc-price ins {
    text-decoration: none;
}

.datc-product-name {
    margin-top: 8px;
    color: #4f5964;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.datc-quantity {
    flex: 0 0 auto;
}

.datc-quantity .quantity {
    display: flex !important;
    align-items: center !important;
    overflow: hidden;
    height: 62px;
    margin: 0 !important;
    border: 1px solid #e5e7ea !important;
    border-radius: 12px !important;
    background: #f4f5f6 !important;
    box-shadow: none !important;
}

.datc-quantity .quantity input.qty,
.datc-quantity .quantity .minus,
.datc-quantity .quantity .plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #2f3b45 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 60px !important;
}

.datc-quantity .quantity input.qty {
    border-right: 1px solid rgba(0,0,0,.055) !important;
    border-left: 1px solid rgba(0,0,0,.055) !important;
    text-align: center !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.datc-quantity .quantity input.qty::-webkit-outer-spin-button,
.datc-quantity .quantity input.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.datc-button {
    display: inline-flex !important;
    flex: 1 1 300px;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px;
    min-width: 220px;
    min-height: 62px;
    margin: 0 !important;
    padding: 12px 34px !important;
    border: 1px solid #238c3d !important;
    border-radius: 12px !important;
    background: #238c3d !important;
    box-shadow: none !important;
    color: #fff !important;
    text-align: center;
    text-transform: none !important;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.datc-button:hover,
.datc-button:focus {
    border-color: #187330 !important;
    background: #187330 !important;
    color: #fff !important;
}

.datc-button.loading {
    opacity: .72;
    pointer-events: none;
}

.datc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 26px;
    line-height: 1;
}

.datc-icon i {
    display: block;
    color: currentColor;
    font-size: inherit;
}

.datc-icon svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: currentColor;
    color: currentColor;
}

/* Nunca mostrar enlaces/mensajes automáticos junto al widget. */
.datc-wrap .added_to_cart,
.datc-wrap .wc-forward,
.datc-wrap .woocommerce-message,
.datc-wrap .woocommerce-notices-wrapper,
.datc-wrap .datc-message {
    display: none !important;
}

.datc-editor-note {
    padding: 14px 16px;
    border: 1px dashed rgba(0,0,0,.25);
    border-radius: 8px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .datc-wrap {
        flex-wrap: wrap;
        gap: 14px;
    }

    .datc-product-info {
        flex: 1 1 100%;
        min-width: 0;
    }

    .datc-price {
        font-size: 32px;
    }

    .datc-quantity {
        flex: 0 0 auto;
    }

    .datc-button {
        flex: 1 1 220px;
    }
}

@media (max-width: 479px) {
    .datc-button {
        flex-basis: 100%;
        width: 100%;
    }
}
