.ddse-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: 0;
    max-width: 100% !important;
    gap: 12px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 5px;
    background: #00e5ff;
    color: #002d33;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .01);
    box-sizing: border-box;
    vertical-align: middle;
}

.ddse-badge-icon {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    max-width: none !important;
}

.ddse-badge-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    max-width: none !important;
}

.ddse-badge-content {
    display: flex;
    min-width: 0;
    max-width: none !important;
    flex: 1 1 auto;
    flex-direction: column;
}

.ddse-badge-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .5px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.ddse-badge-subtitle {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    opacity: .85;
    overflow-wrap: anywhere;
}

.ddse-badge-on_request {
    background: #00e5ff;
    color: #002d33;
}

.ddse-badge-outofstock {
    background: #ff0055;
    color: #fff;
}

.ddse-badge-onbackorder {
    background: #ffaa00;
    color: #332100;
}

.ddse-badge-instock {
    background: #00ff66;
    color: #003311;
}

.ddse-native-status-slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.ddse-native-status-slot .ddse-badge {
    width: fit-content;
    min-width: min(256px, 100%);
    align-self: flex-start;
}

.ddse-shortcode-badge-slot {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.ddse-shortcode-badge-slot .ddse-badge {
    width: 100%;
    min-width: 0;
    max-width: 100% !important;
}

.ddse-shortcode-message {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid #d8e2ef;
    border-radius: 14px;
    background: #f8fbff;
    color: #425466;
    line-height: 1.5;
}

.ddse-stock-message {
    margin: 10px 0;
    padding: 11px 13px;
    border: 1px solid #d8e2ef;
    border-radius: 12px;
    background: #f8fbff;
    color: #425466;
    line-height: 1.45;
}

.ddse-native-status-slot .ddse-stock-message {
    margin: 0;
}

.ddse-hidden {
    display: none !important;
}

.ddse-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.ddse-modal.is-open {
    display: block;
}

.ddse-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.ddse-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px));
    margin: 6vh auto;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.ddse-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #eef4fb;
    cursor: pointer;
}

.ddse-modal-head p,
.ddse-inquiry-product span {
    color: #64748b;
}

.ddse-inquiry-form {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.ddse-inquiry-product {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #d8e2ef;
    border-radius: 18px;
    background: #f8fbff;
}

.ddse-inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ddse-inquiry-form .ddse-field {
    display: grid;
    gap: 6px;
}

.ddse-inquiry-form .ddse-field input,
.ddse-inquiry-form .ddse-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d8e2ef;
    border-radius: 14px;
    background: #f8fbff;
}

.ddse-inquiry-form .ddse-field textarea {
    min-height: 120px;
    padding: 12px;
}

.ddse-inquiry-actions {
    display: flex;
    justify-content: flex-end;
}

.ddse-inquiry-feedback {
    min-height: 22px;
    color: #64748b;
}

.ddse-inquiry-feedback.is-success {
    color: #1f8f5f;
}

.ddse-inquiry-feedback.is-error {
    color: #cb4b4b;
}

@media (max-width: 720px) {
    .ddse-inquiry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 320px) {
    .ddse-badge {
        width: 100%;
        min-width: 0;
    }
}
