.coh-wrap {
    max-width: 820px;
    margin: 30px auto;
    padding: 15px;
    font-family: inherit;
}

.coh-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.coh-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.coh-header p {
    margin: 0 0 22px;
    color: #667085;
}

.coh-wrap label {
    display: block;
    font-weight: 600;
    margin: 0 0 7px;
}

.coh-wrap input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 16px;
}

.coh-button {
    border: 0;
    border-radius: 8px;
    min-height: 48px;
    padding: 0 20px;
    background: #111827;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.coh-button:disabled {
    opacity: .6;
    cursor: wait;
}

.coh-link-button {
    display: block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #2563eb;
    cursor: pointer;
}

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

.coh-message {
    display: none;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
}

.coh-success {
    display: block;
    background: #ecfdf3;
    color: #067647;
}

.coh-error {
    display: block;
    background: #fef3f2;
    color: #b42318;
}

.coh-info {
    display: block;
    background: #eff8ff;
    color: #175cd3;
}

.coh-orders {
    margin-top: 25px;
}

.coh-order-count {
    margin-bottom: 12px;
    font-weight: 600;
}

.coh-order {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.coh-order-top,
.coh-order-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding: 16px;
}

.coh-order-top {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.coh-date {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
}

.coh-status {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 10px;
    background: #f2f4f7;
    color: #344054;
    font-size: 13px;
    white-space: nowrap;
}

.coh-items {
    padding: 5px 16px;
}

.coh-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}

.coh-item:last-child {
    border-bottom: 0;
}

.coh-item img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 7px;
}

.coh-item-info {
    flex: 1;
}

.coh-item-info span {
    display: block;
    color: #667085;
    font-size: 13px;
    margin-top: 3px;
}

.coh-item-total {
    font-weight: 600;
}

.coh-order-bottom {
    border-top: 1px solid #e5e7eb;
    color: #667085;
    font-size: 14px;
}

.coh-order-bottom strong {
    color: #111827;
}

.coh-empty {
    text-align: center;
    padding: 30px 15px;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
}

.coh-empty h3 {
    margin-top: 0;
}

.coh-notice {
    padding: 15px;
    border-radius: 8px;
}

.coh-error {
    background: #fef3f2;
}

@media (max-width: 600px) {
    .coh-card {
        padding: 18px;
    }

    .coh-order-top,
    .coh-order-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .coh-status {
        align-self: flex-start;
    }

    .coh-button {
        width: 100%;
    }
}
