.db-restock {
    clear: both;
    margin: 22px 0;
    border: 1px solid #e6dddd;
    border-radius: 12px;
    background: #fff;
    color: #222;
    font-size: 14px;
    line-height: 1.55;
    overflow: hidden;
}

.db-restock *,
.db-restock *::before,
.db-restock *::after {
    box-sizing: border-box;
}

.db-restock [hidden] {
    display: none !important;
}

.db-restock__summary {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 17px 18px;
    cursor: pointer;
    list-style: none;
    background: #fcf8f8;
}

.db-restock__summary::-webkit-details-marker {
    display: none;
}

.db-restock__summary:focus-visible {
    outline: 2px solid #d00000;
    outline-offset: -3px;
}

.db-restock__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5e7e7;
    color: #a90000;
}

.db-restock__summary-copy {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.db-restock__summary-copy strong {
    color: #171717;
    font-size: 15px;
    font-weight: 800;
}

.db-restock__toggle {
    position: relative;
    flex: 0 0 14px;
    height: 14px;
    margin-left: 2px;
    color: #8d3030;
}

.db-restock__toggle::before,
.db-restock__toggle::after {
    position: absolute;
    content: '';
    background: currentColor;
}

.db-restock__toggle::before {
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
}

.db-restock__toggle::after {
    left: 6px;
    top: 0;
    width: 2px;
    height: 14px;
}

.db-restock[open] .db-restock__toggle::after {
    display: none;
}

.db-restock[open] .db-restock__summary {
    border-bottom: 1px solid #eee4e4;
}

.db-restock__body {
    padding: 20px;
}

.db-restock__product {
    margin-bottom: 16px;
}

.db-restock__product > strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.db-restock .db-restock__fields,
.db-restock .db-restock__catalog,
.db-restock .db-restock__custom,
.db-restock .db-restock__interest {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.db-restock__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0 12px;
}

.db-restock__field {
    min-width: 0;
    margin-bottom: 14px;
}

.db-restock__field > label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.db-restock .db-restock__field input,
.db-restock .db-restock__field select,
.db-restock .db-restock__field textarea {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #d7d2d2;
    border-radius: 6px;
    background-color: #fff;
    color: #222;
    font: inherit;
    box-shadow: none;
}

.db-restock .db-restock__field input,
.db-restock .db-restock__field select {
    height: 44px;
    padding: 0 12px;
}

.db-restock .db-restock__field select {
    padding-right: 28px;
    -webkit-appearance: auto;
    appearance: auto;
}

.db-restock .db-restock__field textarea {
    min-height: 76px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

.db-restock .db-restock__field textarea::placeholder {
    color: #746b6b;
    opacity: 1;
}

.db-restock .db-restock__field input[readonly] {
    background-color: #f8f5f5;
    color: #5d5555;
}

.db-restock__customer {
    margin: 7px 0 0;
    color: #665d5d;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.db-restock .db-restock__field input:focus,
.db-restock .db-restock__field select:focus,
.db-restock .db-restock__field textarea:focus {
    outline: 2px solid #d00000;
    outline-offset: 2px;
}

.db-restock .db-restock__interest {
    margin: 3px 0 18px;
}

.db-restock__interest > legend {
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.db-restock__choice {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
    padding: 3px 0;
    font-size: 13px;
    cursor: pointer;
}

.db-restock__choice:focus-within {
    outline: 2px solid #d00000;
    outline-offset: 2px;
}

.db-restock__choice input[type="radio"],
.db-restock__other input[type="checkbox"] {
    position: static;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #ba0000;
}

.db-restock__other {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
    cursor: pointer;
}

.db-restock .db-restock__submit {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
}

.db-restock .db-restock__submit:disabled {
    opacity: .6;
    cursor: wait;
}

.db-restock__message {
    margin: 0 0 16px;
    padding: 13px;
    border: 1px solid;
    border-radius: 7px;
    overflow-wrap: anywhere;
}

.db-restock__message--success {
    border-color: #bcd7c6;
    background: #f1f8f3;
    color: #24543a;
}

.db-restock__message--error {
    border-color: #e5bbbb;
    background: #fff5f5;
    color: #922828;
}

.db-restock .db-restock__sr-only,
.db-restock .db-restock__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 479px) {
    .db-restock__summary {
        gap: 10px;
        padding: 15px;
    }

    .db-restock__body {
        padding: 16px;
    }

    .db-restock__options {
        grid-template-columns: 1fr;
    }
}
