/* Custom order request page */
.custom-hero {
    background: linear-gradient(135deg, #db2777 0%, #9d174d 55%, #831843 100%);
    min-height: 42vh;
}

.custom-notice {
    background: #fff5f9;
    border-bottom: 1px solid #fce7f3;
    padding: 2rem 1.5rem;
}

.custom-notice-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.custom-notice h2 {
    font-family: var(--font-display);
    color: #831843;
    margin: 0 0 0.75rem;
}

.custom-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.custom-form-panel {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(219, 39, 119, 0.08);
    border: 1px solid #fce7f3;
}

.custom-form-panel h3 {
    font-family: var(--font-display);
    color: #831843;
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.custom-hint {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.custom-input,
.custom-select,
.custom-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
    outline: none;
    border-color: #db2777;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row-2 { grid-template-columns: 1fr; }
}

.fulfillment-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 500px) {
    .fulfillment-cards { grid-template-columns: 1fr; }
}

.fulfillment-card {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.fulfillment-card input { display: none; }

.fulfillment-card.active {
    border-color: #db2777;
    background: #fff5f9;
}

.fulfillment-card strong {
    display: block;
    color: #831843;
    margin-bottom: 0.25rem;
}

#delivery-address-panel[hidden] { display: none !important; }

.address-search-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.address-search-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.35rem;
}

.custom-item-card {
    border: 1px solid #fce7f3;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #fffbfd;
    position: relative;
}

.custom-item-card h4 {
    margin: 0 0 1rem;
    color: #db2777;
    font-family: var(--font-display);
}

.custom-item-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9ca3af;
    cursor: pointer;
}

.custom-item-remove:hover { color: #dc2626; }

.custom-add-set-btn {
    width: 100%;
    padding: 0.85rem;
    border: 2px dashed #f9a8d4;
    background: #fff;
    border-radius: 12px;
    color: #db2777;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.custom-add-set-btn:hover {
    background: #fff5f9;
}

.custom-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #db2777, #be185d);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(219, 39, 119, 0.35);
}

.custom-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#custom-status.success { color: #166534; margin-top: 1rem; }
#custom-status.error { color: #dc2626; margin-top: 1rem; }

.file-upload-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fce7f3;
    color: #9d174d;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.file-upload-label input { display: none; }

.file-preview-name {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.35rem;
}
