.cd-order-section {
    max-width: 720px;
    margin: 3rem auto 4rem;
    padding: 0 5%;
}

.cd-order-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cd-order-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    color: #222;
}

.cd-order-lead {
    margin: 0 0 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #444;
}

.cd-order-summary {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.cd-order-summary-empty {
    margin: 0;
    color: #777;
    font-size: 0.95rem;
}

.cd-order-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cd-order-summary-table th,
.cd-order-summary-table td {
    padding: 0.4rem 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cd-order-summary-table th {
    font-weight: normal;
    color: #666;
    width: 40%;
}

.cd-order-summary-table tr:last-child th,
.cd-order-summary-table tr:last-child td {
    border-bottom: none;
}

.cd-order-total {
    text-align: right;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
}

.cd-order-total strong {
    font-size: 1.5rem;
    color: #222;
}

.cd-order-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cd-order-form .form-group {
    margin-bottom: 1rem;
    flex: 1 1 100%;
}

.cd-order-form .form-group.half {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
}

.cd-order-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.cd-order-form input,
.cd-order-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.cd-order-form .required-mark {
    color: #c00;
    font-size: 0.85em;
}

.cd-order-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background: #555;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.cd-order-submit-btn:hover:not(:disabled) {
    background: #333;
}

.cd-order-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cd-order-form-error {
    color: #a33;
    font-size: 0.9rem;
    margin: 0 0 1rem;
    min-height: 1.2em;
}

.cd-order-success {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #eef8ee;
    border: 1px solid #b8ddb8;
    border-radius: 8px;
    line-height: 1.8;
}

.cd-order-success h3 {
    margin: 0 0 0.75rem;
    color: #2a5a2a;
}

.cd-order-success .order-id {
    font-weight: bold;
}

.cd-order-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cd-order-qty-row .cd-qty-label {
    font-size: 0.9rem;
}

.cd-order-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cd-order-qty-controls button {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.cd-order-qty-controls button:hover {
    background: #eee;
}

.cd-order-qty-controls input {
    width: 48px;
    text-align: center;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.shop-box .shop-scroll-hint {
    font-size: 0.8rem;
    color: #666;
    margin: 8px 0 0;
    line-height: 1.4;
}

.cd-order-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 600px) {
    .cd-order-form .form-group.half {
        flex: 1 1 100%;
    }
}
