.bouquet-order { --custom-gap: clamp(24px, 3.33vw, 48px); }
.bouquet-wrap { width: min(100% - 2 * var(--page-gutter), 1344px); margin-inline: auto; }
.custom-mobile { display: none !important; }
.custom-intro { padding-block: 40px 64px; }
.custom-breadcrumb { margin-bottom: 32px; color: var(--df-muted); font-size: 13px; line-height: 18px; }
.custom-breadcrumb a { margin-right: 4px; }
.custom-breadcrumb a:hover { text-decoration: underline; }
.custom-breadcrumb span { margin-left: 4px; }
.custom-onboarding {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--custom-gap);
    grid-template-areas: "lead visual" "process visual" "actions visual"; grid-template-rows: auto 1fr auto;
}
.custom-lead { grid-area: lead; }
.custom-lead .custom-kicker { margin-bottom: 12px; color: var(--df-muted); font-size: 12px; line-height: 16px; text-transform: uppercase; }
.custom-lead h1 { margin-bottom: 16px; font-size: clamp(38px, 3.89vw, 56px); line-height: 1.215; font-weight: 600; }
.custom-lead > p { max-width: 648px; }
.custom-process { grid-area: process; align-self: center; padding-block: 20px; }
.custom-process h2 { margin-bottom: 8px; color: var(--df-muted); font: 400 12px/16px var(--df-font); }
.custom-steps { display: grid; gap: 8px; }
.custom-step {
    display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 11px 12px;
    border: 1px solid transparent; border-radius: 26px; background: transparent; text-align: left;
    transition: background var(--df-motion), border-color var(--df-motion);
}
.custom-step[aria-pressed="true"] { min-height: 112px; border-color: var(--line); background: var(--df-soft); }
.custom-step-icon {
    display: grid; place-items: center; flex: 0 0 40px; height: 40px;
    border-radius: 50%; background: var(--df-soft);
}
.custom-step-icon img { display: block; }
.custom-step[aria-pressed="true"] .custom-step-icon { background: var(--df-soft-hover); }
.custom-step-label { display: flex; align-items: baseline; gap: 8px; font-weight: 500; }
.custom-step-number { font: 400 12px/16px var(--df-font); color: var(--df-muted); }
.custom-step-description { display: none; margin-top: 4px; }
.custom-step[aria-pressed="true"] .custom-step-description { display: block; }
.custom-visual { grid-area: visual; min-width: 0; }
.custom-visual figure { position: relative; margin: 0; width: 100%; min-height: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 36px; }
.custom-visual figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom-visual figcaption {
    position: absolute; inset: auto 24px 24px; display: grid; gap: 8px; padding: 16px;
    border: 1px solid rgb(244 237 229 / 28%); border-radius: 26px; background: rgb(247 248 245 / 94%);
    backdrop-filter: blur(12px);
}
.custom-visual figcaption strong { font: 500 24px/32px var(--df-font); }
.custom-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.custom-actions .df-button { width: 248px; }
.custom-example-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.custom-example-link:hover { text-decoration: underline; }
.custom-request { padding-block: 64px 80px; background: var(--df-sage); }
.custom-request-intro { margin-bottom: 40px; }
.custom-request-intro h2 { margin-bottom: 12px; font: 400 32px/40px var(--df-font); }
.custom-request-intro p, .custom-examples > p, .custom-form-note { color: var(--df-muted); }
.custom-request-grid { display: grid; grid-template-columns: minmax(0, 704fr) minmax(0, 592fr); gap: var(--custom-gap); align-items: start; }
.custom-form {
    display: grid; align-content: start; gap: 24px; padding: clamp(20px, 2.22vw, 32px);
    border: 1px solid var(--line); border-radius: 36px; background: var(--df-glass);
}
.custom-form h3, .custom-examples h3 { font: 500 24px/32px var(--df-font); }
.custom-form-grid > .df-preferred-contact { grid-column: 1 / -1; }
.custom-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.custom-preferences { grid-column: 1 / -1; }
.custom-preferences summary { display: none; }
.custom-preferences-fields { display: grid; gap: 24px; }
.bouquet-order select.df-control {
    appearance: none; padding-right: 44px; background: var(--df-glass) url("chevron.svg") right 14px center no-repeat;
}
.bouquet-order select:has(option:checked[value=""]) { color: rgb(7 37 33 / 55%); }
.bouquet-order select option { color: var(--df-deep); }
.bouquet-order .custom-palette { grid-column: 1 / -1; }
.custom-schedule {
    display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px;
}
.custom-schedule-field { position: relative; }
.bouquet-order .custom-picker-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 16px; text-align: left; scroll-margin-top: 12px;
}
.custom-picker-trigger img { display: block; flex-shrink: 0; }
.custom-picker-trigger:not([data-filled], [aria-expanded="true"]) span { color: rgb(7 37 33 / 55%); }
.bouquet-order .custom-picker-trigger[aria-expanded="true"] { border-color: var(--df-green); box-shadow: inset 0 0 0 1px var(--df-green); }
.custom-picker {
    position: absolute; z-index: 5; inset: calc(100% + 8px) auto auto 0;
    display: grid; gap: 16px; width: min(392px, calc(100vw - 32px)); max-height: min(671px, calc(100dvh - 96px));
    padding: 24px 23px; overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid var(--line); border-radius: 26px; background: var(--porcelain);
    box-shadow: 0 3px 12px rgb(7 37 33 / 5%); font: 400 13px/18px var(--df-font);
}
.custom-picker:is([data-mode="time"], [data-mode="occasion"]) { inset-inline: auto 0; }
.custom-picker-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.custom-picker-header h4 { margin: 0; font: 500 24px/32px var(--df-font); }
.custom-picker-header h4:focus { outline: none; }
.custom-picker-month-nav { display: flex; gap: 12px; }
.custom-picker-header button {
    display: grid; place-items: center; min-width: 28px; min-height: 32px;
    padding: 0; border: 0; border-radius: 16px; background: transparent;
}
.custom-picker-header button img { display: block; }
.custom-picker button:disabled { opacity: .35; }
.custom-picker-calendar { display: grid; gap: 16px; }
.custom-picker-weekdays, .custom-picker-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.custom-picker-weekdays { color: var(--df-muted); }
.custom-picker-days button, .custom-picker-slots button {
    min-width: 0; padding: 0; border: 1px solid transparent; background: transparent;
    transition: background var(--df-motion);
}
.custom-picker-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.custom-picker-days button { height: 40px; border-radius: 20px; }
.custom-picker-days button[aria-current="date"] { border-color: rgb(7 37 33 / 28%); }
.custom-picker[data-mode="date"] .custom-picker-slots { padding-top: 16px; border-top: 1px solid var(--line); }
.custom-picker-slots p { margin-bottom: 16px; }
.custom-picker-slots > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.custom-picker-slots button {
    min-height: 36px; border-color: var(--line); border-radius: 18px;
    background: var(--df-glass); font-size: clamp(11px, 3.15vw, 13px); white-space: nowrap;
}
.custom-picker .custom-picker-options button { padding: 6px; white-space: normal; }
.custom-picker button[aria-pressed="true"] { background: var(--df-soft-pressed); }
@media (hover: hover) {
    .custom-picker :is(.custom-picker-days, .custom-picker-slots) button:not(:disabled, [aria-pressed="true"]):hover { background: var(--df-soft-hover); }
}
.custom-picker .custom-picker-days button:not(:disabled):active { background: var(--df-soft-hover); }
.custom-picker-selection { display: grid; gap: 4px; }
.custom-picker-apply.df-button { width: 100%; }
.bouquet-order textarea.df-control { min-height: 112px; border-radius: 26px; }
.custom-upload {
    position: relative; display: flex; align-items: center; gap: 16px; min-height: 112px; padding: 24px;
    border: 1px solid var(--line); border-radius: 26px; background: var(--df-glass); cursor: pointer;
}
.custom-upload:focus-within { outline: 2px solid var(--df-green); outline-offset: 2px; }
.custom-upload:has([aria-invalid="true"]) { border-color: var(--df-error); }
.custom-upload input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.custom-upload strong, .custom-upload small { display: block; }
.custom-upload strong { font-weight: 500; }
.custom-upload small, .custom-form-note, .custom-consent { font-size: 13px; line-height: 18px; }
.custom-upload small { color: var(--df-muted); }
.custom-files { margin: 0; padding-left: 20px; font-size: 13px; overflow-wrap: anywhere; }
.bouquet-order .custom-consent { min-height: 24px; padding: 0; align-items: center; }
.bouquet-order .custom-consent input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; appearance: none; border: 1px solid var(--df-green); border-radius: 6px; background-color: var(--df-glass); cursor: pointer; }
.custom-consent input:checked { background: var(--df-soft-hover) url("../order-success/check.svg") center no-repeat; }
.custom-consent input[aria-invalid="true"] { border-color: var(--df-error); }
.custom-consent label { cursor: pointer; }
.custom-consent a:hover { text-decoration: underline; }
.custom-submit { width: 264px; }
.custom-examples > p { margin-top: 12px; }
.custom-example-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.custom-example-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; border: 1px solid rgb(244 237 229 / 28%); }
.custom-examples-note {
    display: flex; align-items: center; gap: 12px; margin-top: 24px; min-height: 72px; padding: 16px 24px;
    border-radius: 26px; background: var(--df-soft); font-size: 13px; line-height: 18px;
}
.custom-success {
    width: min(648px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
    border: 1px solid var(--df-soft-hover); border-radius: 30px; background: var(--df-sage); color: var(--df-deep);
}
.custom-success::backdrop { background: rgb(7 37 33 / 32%); }
.custom-success > div { display: grid; gap: 24px; justify-items: start; align-content: center; min-height: min(650px, calc(100dvh - 36px)); padding: 32px; }
.custom-success h2 { font: 400 32px/40px var(--df-font); }
.custom-success .df-button { width: 228px; }
@media (hover: hover) {
    .custom-step:not([aria-pressed="true"]):hover { background: var(--df-soft); }
    .custom-upload:hover { border-color: var(--df-soft-pressed); }
}

@media (max-width: 767px) {
    .bouquet-order .custom-desktop, .custom-breadcrumb, .custom-kicker, .custom-step-icon, .custom-step-description, .custom-example-link { display: none !important; }
    .custom-mobile { display: inline !important; }
    .bouquet-wrap { width: calc(100% - 32px); }
    .custom-intro { padding-block: 24px 32px; }
    .custom-onboarding { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "actions" "process" "visual"; }
    .custom-lead h1, .custom-process h2 { margin-bottom: 16px; font: 400 28px/36px var(--df-font); }
    .custom-actions { margin-top: 16px; }
    .custom-actions .df-button, .custom-form .df-button { min-height: 52px; width: 100%; }
    .custom-process { padding-block: 40px 16px; }
    .custom-process h2 { margin-bottom: 20px; color: var(--df-deep); }
    .custom-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 7px; border: 1px solid var(--df-soft); border-radius: 30px; }
    .custom-step, .custom-step[aria-pressed="true"] { justify-content: center; min-height: 64px; padding: 8px 0; }
    .custom-step-label { flex-direction: column; align-items: center; gap: 4px; font: 400 12px/16px var(--df-font); }
    .custom-step-number { font: 500 20px/28px var(--df-font); color: inherit; }
    .custom-visual figure { display: grid; gap: 16px; min-height: 0; aspect-ratio: auto; border-radius: 0; }
    .custom-visual figure > img { position: static; width: 100%; height: 240px; border-radius: 14px; }
    .custom-visual figcaption { position: static; min-height: 152px; align-content: start; border: 0; border-radius: 14px; background: var(--df-soft); backdrop-filter: none; }
    .custom-visual figcaption strong { font-size: 20px; line-height: 28px; }
    .custom-request { padding: 0 0 40px; background: transparent; }
    .custom-request-grid, .custom-form-grid { grid-template-columns: minmax(0, 1fr); }
    .custom-request-grid { gap: 40px; }
    .custom-request-intro, .custom-form {
        margin-inline: -16px; border: 1px solid var(--df-soft-hover); background: transparent;
    }
    .custom-request-intro { margin-bottom: 0; padding: 32px 15px 24px; border-bottom: 0; border-radius: 14px 14px 0 0; }
    .custom-request-intro h2, .custom-examples h3 { font: 400 24px/36px var(--df-font); }
    .custom-request-intro p, .custom-examples > p, .custom-form-note { color: var(--df-deep); }
    .custom-form { padding: 0 15px 32px; border-top: 0; border-radius: 0 0 14px 14px; }
    .custom-form-grid { gap: 24px; }
    .bouquet-order .custom-palette { display: none !important; }
    .custom-schedule { grid-template-columns: minmax(0, 1fr); }
    .custom-picker { padding-inline: clamp(12px, 5.9vw, 23px); }
    .custom-picker-header h4 { font-size: clamp(19px, 6.15vw, 24px); }
    .custom-preferences summary {
        display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px;
        font-weight: 500; list-style: none; cursor: pointer;
    }
    .custom-preferences summary::-webkit-details-marker { display: none; }
    .custom-preferences summary::after { display: block; width: 24px; height: 24px; background: url("plus.svg") center no-repeat; content: ""; }
    .custom-preferences[open] summary::after { background-image: url("minus.svg"); }
    .custom-preferences-fields { margin-top: 12px; }
    .custom-form-note, .custom-consent { font-size: 12px; line-height: 16px; }
    .custom-examples > p.custom-mobile { display: block !important; }
    .custom-example-photos {
        display: flex; gap: 12px; margin: 20px -16px 0; padding: 0 16px; overflow: auto hidden;
        scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
    }
    .custom-example-photos::-webkit-scrollbar { display: none; }
    .custom-example-photos img { flex: 0 0 200px; width: 200px; border-radius: 14px; scroll-snap-align: start; }
    .custom-success > div { min-height: min(390px, calc(100dvh - 36px)); padding: 24px; }
    .custom-success h2 { font-size: 28px; line-height: 36px; }
    .custom-success form, .custom-success .df-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .bouquet-order { --df-motion: 0s; }
}
