.oneclickorder-button-wrapper {
    margin: 10px 0;
    clear: both;
}

.oneclickorder-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    cursor: pointer;
}

.oco-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2147483600;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.oco-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.oco-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}

.oco-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.oco-x {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0 6px;
}

.oco-body {
    padding: 18px 20px;
}

.oco-fg {
    margin-bottom: 14px;
}

.oco-fg label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 13px;
    color: #333;
}

.oco-fg input,
.oco-fg textarea {
    display: block;
    width: 100%;
    padding: 8px 11px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font-family: inherit;
}

.oco-fg textarea {
    min-height: 60px;
    resize: vertical;
}

.oco-fg input:focus,
.oco-fg textarea:focus {
    outline: none;
    border-color: #5a6772;
}

.oco-req {
    color: #d00;
}

.oco-copy {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #777;
    font-weight: normal;
    cursor: pointer;
}

.oco-copy input {
    margin-right: 5px;
    vertical-align: middle;
    width: auto !important;
    display: inline-block !important;
}

.oco-prod {
    background: #f7f7f7;
    padding: 9px 12px;
    border-radius: 5px;
    margin-bottom: 14px;
    font-size: 13px;
}

.oco-pname {
    font-weight: 600;
    margin-bottom: 3px;
}

.oco-pmeta {
    color: #777;
}

.oco-err {
    background: #f2dede;
    color: #a94442;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
}

.oco-policy {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    line-height: 1.4;
}

.oco-foot.oco-chans {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    border-top: 1px solid #eee;
    padding: 12px 20px;
    text-align: center;
}

.oco-btn {
    flex: 0 1 30%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    font-weight: 600;
    border-radius: 6px;
    color: #fff !important;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0 12px;
    font-family: inherit;
}

.oco-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.oco-btn.oco-wa { background: #25d366; }
.oco-btn.oco-tg { background: #229ed9; }
.oco-btn.oco-mx { background: #ff7a00; }
.oco-btn.oco-gray { background: #888; flex: 1 1 100%; }
.oco-btn:hover { filter: brightness(1.08); }

.oco-ok {
    text-align: center;
}

.oco-ok-text {
    color: #3c763d;
    background: #dff0d8;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 14px;
}

@media (max-width: 480px) {
    .oco-btn:not(.oco-gray) { flex: 1 1 100%; }
}
