/* =====================================================
   ForgeHub Buyer Landing — Visual Upgrade (NO JS changes)
   ===================================================== */

/* =====================================================
   Theme / Tokens
   ===================================================== */
:root {
    --brand: #b87333;
    --brand-2: #d39457;

    --bg-main: #f7f7f7;
    --bg-panel: #ffffff;
    --bg-solid: #f1f1f1;

    --text-main: #1a1a1a;
    --text-muted: #6b6b6b;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
    --shadow-brand: 0 10px 26px rgba(184, 115, 51, 0.18);

    --radius-1: 8px;
    --radius-2: 12px;

    --focus: 0 0 0 3px rgba(184, 115, 51, 0.18);
}

/* =====================================================
   Base / Reset
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    color: var(--text-main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Maker-page-like treatment: soft wash + background image */
    /* background:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url("bg-dark.jpg"); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

html,
body {
    overflow-x: hidden;
    height: 100%;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

body > * {
    min-width: 0;
}

.page {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

body {
    position: relative;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

[hidden] {
    display: none !important;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =====================================================
   Layout
   ===================================================== */
.wrap {
    max-width: 1120px; /* closer to maker page */
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* .hero {
    text-align: center;
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
    position: relative;
} */

/* .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--border-subtle);
} */

/* =====================================================
   Buyer Hero Background Image
   ===================================================== */

.hero {
    position: relative;
    text-align: center;
    padding-top: 4.5rem;
    padding-bottom: 3.75rem;
}

.hero-heading {
    margin: 60px 0 0 0;
}

/* Full-width background image */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    /* bleed beyond wrap */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    z-index: -2;

    /* background-image: url("bg-dark.jpg"); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Readability overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    z-index: -1;

    background: linear-gradient(
        rgba(255, 255, 255, 0.88),
        rgba(255, 255, 255, 0.88)
    );

    /* border-bottom: 1px solid var(--border-subtle); */
}


@media (max-width: 600px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }
}

.footer {
    text-align: center;
    padding: 2rem 0 2.25rem;
    color: var(--text-muted);
}


/* =====================================================
   Typography
   ===================================================== */
h1 {
    margin: 0 0 0.8rem;
    font-weight: 750;
    font-size: clamp(2rem, 2.4vw + 1rem, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    margin: 0 0 1rem;
    font-weight: 750;
    font-size: clamp(1.25rem, 1.4vw + 1rem, 1.65rem);
    line-height: 1.2;
}

.sub {
    margin: 0 auto 1.25rem;
    font-size: clamp(1.02rem, 0.6vw + 0.95rem, 1.15rem);
    color: var(--text-muted);
    max-width: 640px;
}

.muted {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    margin-top: 1rem;
}

.optional {
    color: var(--text-muted);
    font-size: 0.95em;
    font-weight: normal;
}

/* =====================================================
   Branding
   ===================================================== */
.logo {
    display: block;
    margin: 0 auto 1.6rem;
    width: 190px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
    border-radius: 10px;
}

/* =====================================================
   Buttons / CTAs
   ===================================================== */
.btn {
    appearance: none;
    padding: 0.85rem 1.15rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #111;
    cursor: pointer;
    font-size: 1rem;
    min-width: 220px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 650;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-brand);
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
    min-height: 49.20px;
}

.btn:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
    filter: brightness(0.96);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow-brand), var(--focus);
}

.btn.secondary {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    box-shadow: none;
}

.btn.secondary:hover {
    background: rgba(184, 115, 51, 0.08);
    transform: translateY(-1px);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    box-shadow: none;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 420px) {
    .btn {
        width: 100%;
        min-width: 0;
    }
}

/* CTA Rows */
.cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

@media (max-width: 640px) {
    .cta-row {
        flex-direction: column;
    }

    .cta-row .btn {
        width: 100%;
        max-width: 360px;
        text-align: center;
    }
}

/* =====================================================
   Buyer hero multi-step flow
   ===================================================== */
.buyer-flow {
    margin: 2rem auto 0;
    max-width: 820px;
}

/* keep behavior: hidden unless .active */
.buyer-flow .flow-step {
    display: none;
    margin-top: 2.25rem; /* was 80px: feels disconnected */
}

.buyer-flow .flow-step.active {
    display: block;
}

/* panel the step content visually without changing structure */
.buyer-flow .flow-step.active {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2);
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
    .buyer-flow .flow-step.active {
        padding: 1.15rem 1rem 1rem;
    }
}

.flow-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.flow-back:hover {
    color: var(--text-main);
    text-decoration: none;
}

.flow-step h2 {
    margin-bottom: 0.85rem;
}

/* =====================================================
   Upload Box
   ===================================================== */
.upload-box {
    margin-top: 1.25rem;
}

.upload-box .drop-target {
    border: 1px dashed rgba(0, 0, 0, 0.16);
    border-radius: var(--radius-2);
    background: rgba(255, 255, 255, 0.8);
    padding: 1.25rem;
}

.upload-box .drop-target p {
    margin: 0 0 0.85rem;
    color: var(--text-main);
}

.upload-box .drop-target small {
    color: var(--text-muted);
}

#file-meta {
    margin-top: 0.85rem;
}

#file-browse.selected {
    outline: none;
    box-shadow: var(--focus);
}

/* Selected file pill (already good; slight polish) */
.file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0.65rem 0 0.95rem;
    padding: 6px 12px;

    background: rgba(46, 204, 113, 0.12);
    color: #1e7e34;
    border: 1px solid rgba(46, 204, 113, 0.35);
    border-radius: 999px;

    font-size: 0.92rem;
}

.file-pill-remove {
    appearance: none;
    border: none;
    background: none;

    color: #1e7e34;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;

    width: 18px;
    height: 18px;
}

.file-pill-remove:hover {
    color: #c0392b;
}

/* =====================================================
   Forms
   ===================================================== */
.fh-form {
    max-width: 620px;
    margin: 0 auto; /* flow-step already provides spacing */
    padding: 0; /* keep inner spacing on fields */
    border: none;
    border-radius: 0;
    background: transparent;
}

/* Labels + inputs */
label {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--text-main);
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 12px;
    margin-top: 6px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    transition: box-shadow 0.12s ease, border-color 0.12s ease,
        background-color 0.12s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(184, 115, 51, 0.55);
    box-shadow: var(--focus);
    background: #fff;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    margin-top: 16px;
    width: 100%;
    max-width: 360px;
}

@media (min-width: 640px) {
    button[type="submit"] {
        width: auto;
    }
}

.status {
    margin-top: 10px;
    color: var(--text-muted);
    min-height: 1.1em;
}

.status.error {
    color: #c0392b;
    font-weight: 650;
}

.hp {
    position: absolute;
    left: -50000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Validation */
.fh-form input.invalid,
.fh-form textarea.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.14);
}

#quick-notes.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.14);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: 0.88rem;
    font-weight: 600;
}

.field-error[hidden] {
    display: none;
}

/* =====================================================
   Suburb combobox (LIGHT theme alignment)
   (Preserves all IDs and behavior)
   ===================================================== */
.suburb-combobox {
    position: relative;
}

.suburb-combobox input {
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.suburb-combobox input.suburb-freetyped {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.14);
}

.suburb-combobox input.suburb-selected {
    border-color: #2ecc71;
}

.suburb-combobox input.suburb-selected:focus,
.suburb-combobox input.suburb-selected:focus-visible {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

/* dropdown surface */
.suburb-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;

    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;

    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;

    box-shadow: var(--shadow-soft);
}

.suburb-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 600;
}

.suburb-dropdown button:hover {
    background: rgba(0, 0, 0, 0.04);
}

.suburb-combobox .tick {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2ecc71;
    font-size: 16px;
    pointer-events: none;
}

/* Native hidden select (kept hidden but also safe if toggled) */
#suburb-options {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 6px;

    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 6px;
    color: var(--text-main);
    outline: none;

    overflow-y: auto;
    box-shadow: var(--shadow-soft);
}

/* =====================================================
   Modal (LIGHT theme alignment)
   ===================================================== */
.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 520px;
    margin: 0 16px;

    background: rgba(255, 255, 255, 0.96);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2);

    padding: 20px;
    box-sizing: border-box;
    box-shadow: var(--shadow-soft);
}

.modal-panel h3 {
    margin: 0 0 10px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-actions .btn {
    min-width: 0;
}

/* =====================================================
   Gallery
   ===================================================== */
#gallery {
    text-align: center;
    padding: 3.25rem 0 2.75rem;
    border-top: 1px solid var(--border-subtle);
}

#gallery h2 {
    margin-bottom: 1rem;
}

.gallery-toolbar {
    margin: 0.85rem 0 1.25rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.gallery-filters .btn.ghost {
    min-width: 0;
    padding: 10px 14px;
    border-radius: 999px;
}

.gallery-filters .btn.active {
    border-color: rgba(184, 115, 51, 0.45);
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.12);
}

/* Grid stays exactly as you set it */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: left;
}

/* Tablet */
@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large mobile */
@media (max-width: 720px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery card polish */
.gcard {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.gcard img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gcard .meta {
    padding: 0.75rem 0.9rem 0.6rem;
}

.gcard .meta .name {
    font-weight: 750;
    margin-bottom: 0.25rem;
}

.gcard .meta .desc,
.gcard .meta p {
    color: var(--text-muted);
}

/* Actions: keep your centered outlined CTA, polish it */
.gcard .actions {
    display: flex;
    justify-content: center;
    padding: 10px 16px 16px;
}

.gcard .actions .btn.inquire {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    min-width: auto;
    padding: 8px 14px;
    font-size: 0.95rem;
    box-shadow: none;
    border-radius: 999px;
    font-weight: 700;
}

.gcard .actions .btn.inquire:hover,
.gcard .actions .btn.inquire:focus-visible {
    background: rgba(184, 115, 51, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.14);
}

/* Loading */
.gallery-loading {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

/* Sort menu (kept, lightly polished) */
.gallery-sort {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.gallery-sort-menu {
    position: absolute;
    width: 100%;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    z-index: 2000;
    box-shadow: var(--shadow-soft);
}

.gallery-sort-menu button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 650;
}

.gallery-sort-menu button:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* =====================================================
   Success checkmark (Step 4)
   ===================================================== */
.success-check {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.success-check-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 4px solid #2ecc71;
    color: #2ecc71;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 52px;
    font-weight: 800;
    line-height: 1;

    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.12);
}

.success-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* =====================================================
   Back to top
   ===================================================== */
#toTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #111;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 999;
}

#toTopBtn.show {
    display: block;
}

#toTopBtn:focus-visible {
    outline: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), var(--focus);
}

/* =====================================================
   Accessibility
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* =====================================================
   ForgeHub Gallery Lightbox (authoritative)
   (Keep dark; it's a focused media viewer)
   ===================================================== */
#gh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.92);
}

#gh-lightbox.is-open {
    display: flex;
}

#gh-lightbox img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    display: block;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Caption */
#gh-lightbox__caption,
#gh-lightbox .gh-lightbox__caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);

    color: #eee;
    font-size: 0.95rem;
    text-align: center;
    max-width: 90vw;
}

/* Close button */
#gh-lightbox .gh-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;

    background: none;
    border: none;
    color: #fff;

    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

/* Prevent background scroll */
html.gh-no-scroll,
body.gh-no-scroll {
    overflow: hidden !important;
}

@media (max-width: 420px) {
    #gallery {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* =====================================================
   Button loader (submission state)
   ===================================================== */

.btn[disabled] {
  opacity: 0.85;
  cursor: not-allowed;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #111;
  border-radius: 50%;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
}

.btn.secondary .btn-loader {
  border-color: rgba(184,115,51,0.35);
  border-top-color: #b87333;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =====================================================
   STEP 1 — Intent-first styling (NO card / panel)
   ===================================================== */

.buyer-flow .flow-step[data-step="1"].active {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* STEP 1 spacing: label → textarea */
.buyer-flow .flow-step[data-step="1"] label {
    margin-bottom: 0.75rem;
}

textarea {
    resize: vertical;
}

/* STEP 1 textarea: fixed size */
.buyer-flow .flow-step[data-step="1"] textarea#quick-notes {
    resize: none;
}


/* =====================================================
   STEP 1 — Primary intent textarea (strong visual lift)
   ===================================================== */
.buyer-flow .flow-step[data-step="1"] #quick-notes {
    box-sizing: border-box;

    display: block;
    margin: 0 auto;

    width: 100%;
    max-width: 840px;

    /* min-height: 86px; */
    padding: 15px 25px 0 15px;

    /* font-size: 1.05rem;
    line-height: 56px; */

    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.03);

    resize: none;
    overflow: hidden;            /* critical */
}

@media (max-width: 640px) {
    .buyer-flow .flow-step[data-step="1"] #quick-notes {
        height: 52px;
        line-height: 52px;
        border-radius: 22px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .buyer-flow .flow-step[data-step="1"] #quick-notes {
        height: 52px;
        line-height: 52px;
        border-radius: 22px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .buyer-flow .flow-step[data-step="1"] #quick-notes {
        padding: 14px 28px; /* reduce vertical padding only */
    }

    .buyer-flow .flow-step[data-step="1"] #quick-notes::placeholder {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }
}


/* Focus state */
.buyer-flow .flow-step[data-step="1"] #quick-notes:focus {
    border-color: rgba(184, 115, 51, 0.7);
    box-shadow:
        0 14px 34px rgba(184, 115, 51, 0.25),
        var(--focus);
}

/* Validation still wins */
.buyer-flow .flow-step[data-step="1"] #quick-notes.invalid {
    /* border-color: transparent; */
    /* box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.14); */
}

@media (max-width: 640px) {
    /* Button row in Step 1 */
    .buyer-flow .flow-step[data-step="1"] > div > div {
        display: flex;
        flex-direction: column;
        gap: 10px; /* spacing between buttons */
        align-items: center;
    }

    /* Swap order: Continue first, Gallery second */
    #quick-notes-continue {
        order: 1;
    }

    #view-gallery-btn {
        order: 2;
    }
}

.buyer-flow .flow-step[data-step="1"] #quick-notes {
    /* line-height: 1.4;
    padding: 30px 30px; */
}


@media (max-width: 640px) {
   .buyer-flow .flow-step[data-step="1"] #quick-notes {
        line-height: 1.4;
        padding: 13px 20px;
    }
}

.example-searches {
  margin-top: 62px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.example-label {
  color: #6b7280;
  margin-right: 4px;
}

.example-chip {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.example-chip:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}
