/**
 * Personal Shopping request form (/pre-orders/).
 *
 * Sits directly above the page's existing contact band, so it follows the
 * surrounding info-section palette (#1a1a1a text, #2d1f1f accents, Inter body,
 * Canela headings) rather than introducing a look of its own.
 */

.ps-section {
    padding: 0 40px 56px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
}
@media (max-width: 1023px) {
    .ps-section { padding: 0 16px 40px; }
}

.ps-inner {
    max-width: 640px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.ps-title {
    margin: 0 0 8px;
    font-family: 'Canela Text', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: #2d1f1f;
}

.ps-intro {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.6;
    color: #727272;
}

/* ── fields ──────────────────────────────────────────────────────── */

.ps-form { display: flex; flex-direction: column; gap: 20px; }
.ps-field { display: flex; flex-direction: column; gap: 8px; }

.ps-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a1a;
}

.ps-form textarea,
.ps-form input[type="text"],
.ps-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.ps-form textarea { resize: vertical; min-height: 96px; }
.ps-form textarea:focus,
.ps-form input:focus { outline: none; border-color: #2d1f1f; }

.ps-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) {
    .ps-row { grid-template-columns: 1fr 1fr; }
}

/* ── the photo ───────────────────────────────────────────────────── */

.ps-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hidden until a photo exists -- usually carried over from the search the
   customer just ran, occasionally chosen here. */
.ps-photo-preview {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #f7f7f7;
}

.ps-photo-pick {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2d1f1f;
    background: transparent;
    border: 1px solid #2d1f1f;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.ps-photo-pick:hover { background: rgba(45, 31, 31, 0.05); }

/* ── actions and feedback ────────────────────────────────────────── */

.ps-submit {
    align-self: flex-start;
    height: 48px;
    padding: 0 32px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: #2d1f1f;
    border: 1px solid #2d1f1f;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.ps-submit:hover:not(:disabled) { background: #000; }
.ps-submit:disabled { opacity: 0.55; cursor: default; }

.ps-error {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #c0392b;
}

/* ── success ─────────────────────────────────────────────────────── */

.ps-success {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 8px;
}

.ps-success-title {
    margin: 0 0 12px;
    font-family: 'Canela Text', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #2d1f1f;
}

/* The reference is the join key between the WhatsApp chat and the stored
   request, so it is the most important thing on this screen. */
.ps-reference {
    margin: 0 0 12px;
    font-family: 'Inter', monospace;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #1a1a1a;
}

.ps-success-body {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #727272;
}

.ps-whatsapp {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: #fff;
    background: #25d366;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}
.ps-whatsapp:hover { background: #1db954; }
