/* Customer journey screens, using the approved Flo palette and typography. */
.journey-main { --journey-accent: #80548e; }
.journey-main [hidden], [data-journal-page][hidden], .cookie-dialog [hidden] { display: none !important; }
.journey-preview { padding: 10px var(--gutter); display: flex; justify-content: space-between; gap: 20px; background: #f5eff7; color: #6f5875; font-size: 11px; letter-spacing: .02em; }
.journey-preview a { text-decoration: underline; text-underline-offset: 3px; }
.journey-heading { margin-bottom: 36px; }
.journey-heading .shop-eyebrow { margin-bottom: 22px; color: #74657a; }
.journey-heading h1 { font-size: clamp(38px, 4.5vw, 70px); font-weight: 400; letter-spacing: -.055em; line-height: 1.08; }
.journey-heading > p:last-child { max-width: 600px; margin-top: 23px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.journey-main > .journey-heading { padding: 65px var(--gutter) 28px; }
.journey-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.journey-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 21px; min-height: 52px; background: #292b27; border: 1px solid #292b27; color: #fff; font: inherit; font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.journey-button:hover { background: #4a454c; }
.journey-button.secondary { background: transparent; border-color: #cbc5cb; color: var(--ink); }
.journey-button.secondary:hover { background: #f5eff7; border-color: #9b82a3; }
.journey-button:disabled { opacity: .5; cursor: wait; }
.journey-button:focus-visible, .journey-text-link:focus-visible { outline: 2px solid #80548e; outline-offset: 4px; }
.journey-text-link { display: inline-block; width: fit-content; background: none; border: 0; padding: 4px 0; margin: 17px 0; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.journey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.journey-section { padding: 45px var(--gutter) 80px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; }
.auth-content { width: 100%; max-width: 650px; margin: auto; padding: 65px clamp(24px, 5vw, 80px) 75px; }
.auth-content .journey-heading h1 { font-size: clamp(38px, 4vw, 60px); }
.auth-image { position: relative; background: #ddd4cb; overflow: hidden; min-height: 100%; }
.auth-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #171911b8); }
.auth-image > div { position: absolute; z-index: 1; bottom: 0; padding: 50px; color: white; }
.auth-image h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.045em; margin: 18px 0; font-weight: 400; }
.auth-image > div > p:last-child { max-width: 340px; font-size: 14px; opacity: .85; }
.auth-switch { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 28px; font-size: 13px; }
.auth-switch a { text-decoration: underline; text-underline-offset: 5px; }
.journey-form { max-width: 650px; }
.journey-form > fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.journey-form .journey-note { margin: 14px 0 24px; }
.journey-form .journey-button[type="submit"] { width: 100%; margin-top: 20px; }
.journey-field { min-width: 0; margin-bottom: 20px; }
.journey-field label { display: block; font-size: 13px; margin-bottom: 8px; }
.journey-optional { color: var(--muted); font-size: 11px; }
.journey-field input, .journey-field textarea, .journey-field select, .journey-search input { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 51px; border: 1px solid #d8d3cd; border-radius: 0; padding: 13px; font: inherit; font-size: 15px; color: var(--ink); background: white; }
.journey-field input::placeholder { color: #8c8882; font-size: 13px; }
.journey-field textarea { resize: vertical; }
.journey-field input:focus, .journey-field textarea:focus, .journey-field select:focus, .journey-search input:focus { outline: 1px solid #80548e; outline-offset: 0; border-color: #80548e; }
.journey-field [aria-invalid="true"] { border-color: #ab5246; }
.journey-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.password-input { position: relative; }
.password-input input { padding-right: 64px; }
.password-input button { position: absolute; right: 0; top: 0; bottom: 0; width: 61px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 11px; }
.field-error { display: block; color: #9d443d; font-size: 12px; margin-top: 6px; }
.journey-check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 12px; line-height: 1.8; }
.journey-check input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; accent-color: #80548e; }
.journey-check a { text-decoration: underline; text-underline-offset: 3px; }
.journey-alert { border-left: 2px solid #95829a; padding: 16px 18px; margin: 20px 0; background: #f4eef6; font-size: 13px; line-height: 1.7; }
.journey-alert.error { color: #8a443d; background: #fbf0ec; border-color: #ad6c60; }
.journey-alert.success { color: #4b654c; background: #f0f4ed; border-color: #799373; }
.journey-alert:focus { outline: 1px solid currentColor; outline-offset: 3px; }
.journey-status { max-width: 800px; margin: auto; padding: 80px 24px 95px; text-align: center; }
.status-symbol { display: grid; place-items: center; margin: 0 auto 30px; width: 76px; height: 76px; border-radius: 50%; border: 1px solid #d9cce0; background: #f8f3fa; color: #80548e; font-size: 30px; font-weight: 300; }
.journey-status .journey-heading > p { margin-left: auto; margin-right: auto; }
.journey-status .journey-actions { justify-content: center; }
.journey-status > .journey-text-link { display: block; margin: 25px auto 0; }
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 5vw, 85px); max-width: 1450px; margin: auto; padding: 64px var(--gutter) 95px; }
.account-sidebar { align-self: start; }
.account-name { font-size: 26px; letter-spacing: -.04em; margin-top: 20px; }
.account-sidebar nav { margin: 30px 0 35px; border-top: 1px solid var(--line); }
.account-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.account-sidebar nav a[aria-current] { color: #80548e; font-weight: 600; }
.account-sidebar nav a:hover { color: #80548e; }
.account-help { display: flex; gap: 14px; align-items: center; font-size: 12px; }
.account-help img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.account-help strong { font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.account-content { min-width: 0; }
.account-content .journey-heading h1 { font-size: clamp(38px, 4vw, 58px); }
.account-feature { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--paper); }
.account-feature > div { padding: 32px; align-self: center; }
.account-feature h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: -.04em; font-weight: 400; margin: 14px 0; }
.account-feature p:not(.shop-eyebrow) { font-size: 13px; color: var(--muted); margin: 15px 0 23px; }
.account-feature img { width: 100%; height: 100%; object-fit: cover; }
.journey-section-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 15px; margin: 42px 0 24px; }
.journey-section-title h2, .journey-panel h2, .address-grid h2 { font-size: 23px; font-weight: 400; letter-spacing: -.03em; line-height: 1.3; }
.journey-section-title a, .journey-section-title > span { font-size: 12px; color: var(--muted); }
.order-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-row h2 { font-size: 17px; font-weight: 400; margin: 9px 0; }
.order-row p:not(.shop-eyebrow) { font-size: 13px; color: var(--muted); }
.status-label { display: inline-block; border-radius: 1px; padding: 6px 12px; background: #f1edf3; color: #765580; font-size: 11px; }
.account-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.account-tiles > a { position: relative; border-bottom: 1px solid var(--line); padding: 20px 30px 25px 0; }
.account-tiles > a > span:first-child { font-size: 11px; color: var(--muted); }
.account-tiles h2 { font-weight: 400; font-size: 24px; margin: 14px 0; letter-spacing: -.035em; }
.account-tiles p { font-size: 13px; color: var(--muted); }
.account-tiles > a > span:last-child { position: absolute; right: 0; top: 40px; }
.journey-empty { padding: 60px 24px; text-align: center; background: var(--paper); }
.journey-empty > span { font-size: 44px; color: #80548e; }
.journey-empty h2 { font-size: 28px; letter-spacing: -.04em; font-weight: 400; margin: 15px 0; }
.journey-empty p { max-width: 380px; margin: 0 auto 25px; color: var(--muted); font-size: 14px; }
.order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; font-size: 12px; margin-bottom: 35px; }
.order-timeline { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 30px 0 45px; }
.order-timeline li { border-top: 1px solid #ded9df; position: relative; padding: 30px 15px 0 0; color: var(--muted); }
.order-timeline li > span { position: absolute; display: grid; place-items: center; top: -14px; background: white; width: 28px; height: 28px; border: 1px solid #ded9df; border-radius: 50%; font-size: 10px; }
.order-timeline li.done > span, .order-timeline li.current > span { background: #80548e; color: white; border-color: #80548e; }
.order-timeline strong { font-size: 13px; font-weight: 400; color: var(--ink); }
.order-timeline p { font-size: 11px; margin-top: 5px; }
.journey-panel { background: var(--paper); padding: 30px; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.sample-items article { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sample-items img { width: 72px; aspect-ratio: 4/5; object-fit: cover; mix-blend-mode: multiply; }
.sample-items h3, .sample-items strong { font-size: 14px; font-weight: 400; }
.sample-items p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.journey-totals { margin-top: 22px; font-size: 13px; }
.journey-totals > div { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; }
.journey-totals .total { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 18px; }
.journey-totals small { display: block; font-size: 10px; color: var(--muted); }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 30px 0; }
.address-grid p { font-size: 14px; line-height: 1.9; margin-top: 18px; color: var(--muted); }
.address-grid .shop-eyebrow { margin: 0 0 16px; font-size: 10px; }
.order-result, .journey-two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 100px); max-width: 1350px; margin: auto; padding: 65px var(--gutter) 95px; align-items: start; }
.order-result .journey-status { text-align: left; padding: 10px 0; }
.order-result .status-symbol { margin-left: 0; }
.order-result .journey-heading h1 { font-size: clamp(38px, 4vw, 62px); }
.order-result .journey-heading > p { margin-left: 0; }
.order-result .journey-text-link { margin-left: 0; }
.journey-options { border: 0; padding: 0; margin: 15px 0; }
.journey-options legend { font-size: 13px; margin-bottom: 15px; }
.journey-options label { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); margin-top: 10px; font-size: 14px; cursor: pointer; }
.journey-options label:has(input:checked) { border-color: #aa91b3; background: #faf6fb; }
.journey-options input { accent-color: #80548e; }
.journey-options img { width: 55px; height: 28px; object-fit: contain; margin-left: auto; }
.contact-portrait { background: var(--paper); padding-bottom: 35px; }
.contact-portrait > img { width: 100%; max-height: 470px; object-fit: cover; object-position: center 25%; }
.contact-portrait blockquote { margin: 0; font-size: 25px; line-height: 1.4; letter-spacing: -.03em; padding: 30px 30px 15px; }
.contact-portrait > p, .contact-portrait > a { padding: 0 30px; font-size: 12px; color: var(--muted); }
.contact-portrait > a { display: block; margin-top: 10px; text-decoration: underline; text-underline-offset: 4px; }
.attachment-preview { width: 140px; max-height: 160px; object-fit: contain; margin: 15px 0; }
.journey-search { text-align: left; max-width: 480px; margin: 35px auto; }
.journey-search label { display: block; font-size: 13px; margin-bottom: 8px; }
.journey-search > div { display: flex; gap: 8px; }
.journey-search input { flex: 1; width: 0; }
.cookie-banner { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 60px; padding: 42px; background: var(--paper); border: 1px solid var(--line); }
.cookie-banner h2 { font-size: 38px; line-height: 1.1; font-weight: 400; letter-spacing: -.04em; margin: 20px 0; }
.cookie-banner p:not(.shop-eyebrow) { max-width: 650px; font-size: 14px; color: var(--muted); }
.cookie-banner-actions { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.cookie-banner-actions .journey-text-link { margin: 10px auto 0; }
.cookie-dialog { width: calc(100% - 32px); max-width: 600px; max-height: calc(100dvh - 40px); margin: auto; border: 0; padding: 36px; background: #fff; color: var(--ink); }
.cookie-dialog::backdrop { background: #29272d88; }
.cookie-dialog h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.035em; font-weight: 400; }
.cookie-dialog .cookie-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.cookie-dialog .cookie-heading button { background: none; border: 0; cursor: pointer; width: 40px; height: 40px; font-size: 25px; }
.cookie-dialog > p { font-size: 13px; color: var(--muted); }
.cookie-option { border-top: 1px solid var(--line); padding: 22px 0; }
.cookie-option:first-of-type { margin-top: 24px; }
.cookie-option label { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 15px; }
.cookie-option input { appearance: none; flex-shrink: 0; width: 40px; height: 24px; border: 1px solid #a49d9f; border-radius: 20px; background: #eee9ee; cursor: pointer; position: relative; }
.cookie-option input::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: white; top: 3px; left: 3px; box-shadow: 0 1px 2px #0003; }
.cookie-option input:checked { background: #80548e; border-color: #80548e; }
.cookie-option input:checked::after { left: 19px; }
.cookie-option p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.cookie-option small { font-size: 10px; color: #80548e; }
.cookie-dialog .journey-button { width: 100%; }
.cookie-footer-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.cookie-footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.journey-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 45px 0 0; }
.journey-pagination a { display: grid; place-items: center; width: 45px; min-height: 45px; border: 1px solid var(--line); font-size: 13px; }
.journey-pagination a[aria-current] { background: var(--ink); color: white; border-color: var(--ink); }
.journey-pagination a:hover { border-color: #80548e; }
.look-detail { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); }
.look-detail-image img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; object-position: 40% center; }
.look-detail > div:last-child { align-self: center; padding: 60px clamp(25px, 5vw, 75px); }
.look-detail > div:last-child > p { color: var(--muted); font-size: 14px; }
.design-index { padding: 0 var(--gutter) 80px; }
.design-group { display: grid; grid-template-columns: .8fr 1.4fr; gap: 60px; padding: 55px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.design-group h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -.04em; margin-top: 18px; }
.design-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.design-links a { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); padding: 17px 0; font-size: 13px; }
.design-links a:hover { color: #80548e; }
.preview-stock-note { margin: 18px 0; }
.product-purchase[aria-disabled="true"] { background: #e6e2de; color: #77716d; cursor: not-allowed; }
.color-button:disabled { opacity: .35; cursor: not-allowed; background-image: linear-gradient(45deg, transparent 46%, #fff 47%, #fff 53%, transparent 54%); }
.coupon-box { border-top: 1px solid var(--line); margin: 20px 0; padding-top: 16px; }
.coupon-box summary { font-size: 13px; cursor: pointer; }
.coupon-controls { display: flex; gap: 8px; margin-top: 15px; }
.coupon-controls input { min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--line); font: inherit; font-size: 13px; background: white; }
.coupon-controls button { background: #292b27; color: white; border: 0; padding: 10px 15px; font: inherit; font-size: 12px; cursor: pointer; }
.coupon-box .journey-note { margin-top: 10px; }
.shipping-options { margin: 25px 0 0; padding: 0; border: 0; }
.shipping-options legend { font-size: 13px; margin-bottom: 12px; }
.shipping-options label { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); font-size: 13px; margin-top: 10px; cursor: pointer; }
.shipping-options label:has(input:checked) { border-color: #a08ba8; background: #faf6fb; }
.shipping-options input { accent-color: #80548e; }
.shipping-options small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
@media (max-width: 1000px) {
  .account-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
  .order-result, .journey-two-col { gap: 35px; }
  .design-group { grid-template-columns: 1fr; gap: 30px; }
  .auth-image > div { padding: 30px; }
  .account-feature > div { padding: 25px; }
}
@media (max-width: 760px) {
  .journey-preview { font-size: 10px; gap: 12px; padding: 10px 20px; }
  .journey-preview span { max-width: 175px; }
  .journey-preview a { flex-shrink: 0; align-self: center; }
  .auth-layout, .account-layout, .order-result, .journey-two-col, .look-detail { grid-template-columns: 1fr; }
  .auth-content { padding: 45px 24px 50px; max-width: 600px; }
  .auth-image { min-height: 320px; }
  .auth-image > div { padding: 28px; }
  .account-layout { padding: 30px 24px 60px; gap: 30px; }
  .account-sidebar > .shop-eyebrow, .account-name, .account-sidebar > .journey-note, .account-help { display: none; }
  .account-sidebar nav { display: flex; gap: 6px; flex-wrap: wrap; border: 0; margin: 0; }
  .account-sidebar nav a { font-size: 11px; padding: 8px 11px; border: 1px solid var(--line); }
  .account-sidebar nav a span { display: none; }
  .account-sidebar nav a[aria-current] { background: #f5eff7; border-color: #d8c8df; }
  .account-feature { grid-template-columns: 1.3fr 1fr; }
  .account-feature > div { padding: 22px; }
  .account-feature .journey-button { font-size: 11px; padding: 10px; gap: 10px; }
  .account-tiles { gap: 20px; }
  .address-grid { gap: 20px; }
  .journey-panel { padding: 23px; }
  .sample-items article { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .sample-items img { width: 58px; }
  .sample-items h3, .sample-items strong { font-size: 12px; }
  .sample-items p { font-size: 11px; }
  .order-result, .journey-two-col { padding: 45px 24px 60px; }
  .journey-status { padding: 55px 24px 65px; }
  .order-result .journey-status { padding: 0; }
  .journey-heading { margin-bottom: 28px; }
  .journey-heading h1, .account-content .journey-heading h1, .order-result .journey-heading h1 { font-size: 43px; }
  .journey-heading > p:last-child { font-size: 14px; }
  .journey-main > .journey-heading { padding: 45px 24px 15px; }
  .cookie-banner { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .cookie-dialog { padding: 25px; }
  .journey-section { padding: 35px 24px 55px; }
  .look-detail-image img { min-height: 0; max-height: 480px; aspect-ratio: 1; }
  .look-detail > div:last-child { padding: 35px 24px; }
  .design-index { padding: 0 24px 55px; }
  .design-links { gap: 0 20px; }
  .contact-portrait > img { max-height: 420px; }
}
@media (max-width: 440px) {
  .journey-fields, .address-grid, .account-tiles, .design-links { grid-template-columns: 1fr; }
  .journey-fields { gap: 0; }
  .account-feature { grid-template-columns: 1fr; }
  .account-feature > img { height: 220px; }
  .order-row { gap: 16px; }
  .order-row > .journey-button { width: 100%; }
  .journey-heading h1, .account-content .journey-heading h1, .order-result .journey-heading h1 { font-size: 38px; }
  .order-timeline strong { font-size: 11px; }
  .order-timeline p { font-size: 10px; }
  .journey-actions > .journey-button { width: 100%; }
  .journey-search > div { flex-direction: column; }
  .journey-search input { width: 100%; }
  .journey-search .journey-button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-button { transition: none; }
}
