/* Yleinen toimitusaikatyyli */
.toimitusaika {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 5px 10px 0 !important;
    border-radius: 5px;
    margin-top: 0 !important;
    margin-bottom: 0;
}

.toimitusaika.vihrea {
    color: #232323 !important;
}

.toimitusaika.keltainen {
    color: #232323 !important;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.toimitusaika.harmaa {
    color: #232323 !important;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1px 15px 15px 1px;
}

.tampere,
.haameenlinna {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.wdt-supplier-request-trigger {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 10px !important;
    border: 1px solid #d7bc61;
    background: #f7e8a7;
    cursor: pointer;
    text-align: left;
    gap: 6px;
    align-self: flex-start;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wdt-supplier-request-trigger:hover,
.wdt-supplier-request-trigger:focus {
    background: #f3df8b;
    border-color: #caa742;
    outline: none;
}

.wdt-supplier-request-message {
    display: block;
    white-space: normal;
}

.wdt-supplier-request-cta {
    display: block;
    text-decoration: underline;
    white-space: normal;
}

.wdt-modal-open {
    overflow: hidden;
}

.wdt-modal[hidden] {
    display: none !important;
}

.wdt-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.wdt-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.wdt-modal__dialog {
    position: relative;
    width: min(92vw, 520px);
    margin: 8vh auto 0;
    padding: 28px 24px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.wdt-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #232323;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wdt-modal__title {
    margin: 0 0 8px;
    color: #232323;
    font-size: 24px;
}

.wdt-modal__description {
    margin: 0 0 16px;
    color: #4b4b4b;
}

.wdt-modal__product {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #232323;
    font-size: 14px;
    line-height: 1.5;
}

.wdt-modal__status {
    min-height: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.wdt-modal__status.is-success {
    color: #1f7a32;
}

.wdt-modal__status.is-error {
    color: #b42318;
}

.wdt-modal__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wdt-modal__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wdt-modal__label {
    font-weight: 600;
    color: #232323;
}

.wdt-modal__input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    color: #232323;
}

.wdt-modal__hint {
    margin: 4px 0 0;
    color: #666;
    font-size: 13px;
}

.wdt-modal__submit {
    margin-top: 10px;
    min-height: 44px;
}

@media (max-width: 640px) {
    .wdt-modal__dialog {
        margin-top: 5vh;
        padding: 22px 18px 18px;
    }

    .wdt-modal__title {
        font-size: 21px;
    }
}
