/* Labsny: midnight, mint and a little local character. Loaded after style.css. */
:root {
  --navy: #172b3a;
  --navy-light: #274353;
  --mint: #bce8d3;
  --mint-soft: #e7f2ec;
  --apricot: #eeb69a;
  --paper: #f5f4ed;
  --ink: var(--navy);
  --muted: #677780;
  --line: #d8e0dc;
  --lime: var(--mint);
  --olive: #377263;
  --radius: 18px;
  --display: Georgia, "Times New Roman", serif;
  --font-display: var(--display);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

html { scroll-padding-top: 104px; }
body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--mint); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main { width: calc(100% - 64px); max-width: 1180px; margin: 0 auto; padding: 0; }
h1, h2, .serif { font-family: var(--display); font-weight: 400; font-style: normal; }
h3, h4 { font-family: "DM Sans", sans-serif; }
h2 { letter-spacing: -1.3px; line-height: 1.12; }
.serif { letter-spacing: inherit; }
.eyebrow { color: var(--olive); letter-spacing: 1.6px; font-size: 10px; line-height: 1.5; }
.muted, .page-subtitle { color: var(--muted); }
.page-title { letter-spacing: -2.3px; }
.section { padding-top: 64px; }
.section-heading { margin-bottom: 26px; gap: 24px; }
.section-heading h2 { font-family: var(--display); font-size: clamp(34px, 3.3vw, 46px); font-weight: 400; letter-spacing: -1.5px; }
.section-heading .eyebrow { color: var(--olive); font-size: 9px; letter-spacing: 1.8px; margin-bottom: 12px; }
.heading-aside { color: var(--muted); line-height: 1.6; font-size: 12px; }
.heading-aside .icon { color: var(--olive); }
.text-link, .inline-link { color: var(--navy); font-size: 12px; font-weight: 600; }
.text-link:hover, .inline-link:hover { color: var(--olive); }
.text-link { gap: 10px; min-height: 40px; }

:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid #4a9380; outline-offset: 4px; }
.button { border-radius: 12px; min-height: 48px; padding: 13px 22px; font-size: 13px; font-weight: 600; gap: 12px; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: not-allowed; box-shadow: none; transform: none; }
.primary, .button.mint { color: var(--navy); background: var(--mint); }
.primary:hover, .button.mint:hover { color: var(--navy); background: #a5ddc2; box-shadow: 0 4px 12px #172b3a0d; }
.dark { background: var(--navy); color: var(--paper); }
.dark:hover { background: var(--navy-light); }
.quiet { color: var(--olive); }
.icon-button:hover { background: var(--mint-soft); }
.inline-link .icon { flex: none; }
.microcopy { color: var(--muted) !important; font-size: 10px !important; }
.spinner { border-color: #b8cec4; border-top-color: var(--navy); }

/* A quiet, compact header keeps the shop and personal tools in reach. */
.header { height: 78px; position: sticky; top: 0; z-index: 30; background: var(--navy); border-bottom: 1px solid #ffffff14; color: var(--paper); }
.nav-wrap { width: 100%; max-width: 1244px; padding: 0 32px; gap: 24px; }
.wordmark { font-family: "DM Sans", sans-serif; font-size: 36px; font-weight: 700; letter-spacing: -2.3px; color: var(--paper); }
.brand-star { color: var(--mint); font-size: 27px; padding: 3px 0 0 5px; }
.arabic { color: #dce9e6; font-size: 17px; border-color: #ffffff26; padding-left: 13px; margin-left: 15px; }
.desktop-nav { gap: 5px; height: auto; }
.nav-link { font-size: 12px; font-weight: 500; min-height: 40px; padding: 10px 15px; border-radius: 999px; color: #d5dedf; transition: background .18s, color .18s; }
.nav-link:hover { background: #ffffff0f; color: #fff; }
.nav-link.active { color: var(--navy); background: var(--mint); font-weight: 600; }
.nav-link.active::after { display: none; }
.header :focus-visible, .search-hero button:focus-visible, .catalog-search-section button:focus-visible { outline-color: var(--mint); }
.nav-actions { gap: 11px; }
.nav-actions .icon-button { width: 38px; height: 38px; color: #e7efed; }
.nav-actions .icon-button:hover { background: #ffffff13; }
.nav-actions .location { color: #b6c5c9; font-size: 10px; gap: 5px; }
.nav-dot { color: #81979e; }
.profile-button { min-height: 40px; padding: 9px 12px; color: var(--paper); background: #ffffff08; border: 1px solid #ffffff30; border-radius: 999px; font-size: 11px; }
.profile-button:hover { background: #ffffff15; }
.bag-count { border-color: var(--navy); background: var(--apricot); color: var(--navy); min-width: 19px; height: 19px; top: -2px; right: -3px; }
.tiny-count { background: var(--navy); color: var(--mint); }
.mobile-nav { display: none; }

/* Shared catalog search controls, with radial detail for the secondary browse panel. */
.hero.search-hero { display: block; grid-template-columns: none; gap: 0; position: relative; isolation: isolate; overflow: hidden; margin: 24px 0 0; padding: 70px 36px 46px; min-height: 0; background: var(--navy); color: var(--paper); border: 1px solid #ffffff16; border-radius: 28px; }
.search-hero::before { content: ""; position: absolute; inset: -35% -10%; z-index: -1; pointer-events: none; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 89px, #bdded310 90px 91px, transparent 92px 130px); opacity: .65; }
.search-hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: -210px; bottom: -180px; border-radius: 50%; background: #bce8d308; z-index: -1; pointer-events: none; }
.search-hero .hero-copy { position: relative; z-index: 1; width: 100%; max-width: 840px; padding: 0; margin: 0 auto; text-align: center; }
.hero-kicker { display: flex; justify-content: center; align-items: center; gap: 11px; color: #dce8e2; font-size: 10px; font-weight: 600; letter-spacing: 2.1px; line-height: 1.5; }
.search-hero .live-dot { width: 6px; height: 6px; background: var(--apricot); box-shadow: 0 0 0 5px #eeb69a12; margin: 0; }
.search-hero h1 { font-family: var(--display); font-size: clamp(62px, 7.1vw, 94px); font-weight: 400; line-height: .99; letter-spacing: -4px; margin: 30px 0 23px; }
.search-hero h1 em { font-style: normal; color: var(--mint); }
.search-hero .hero-copy > p { max-width: 540px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: #c8d5d9; letter-spacing: 0; }
.hero-search { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; max-width: 700px; margin: 30px auto 0; padding: 9px 10px 9px 22px; background: #fffef9; border: 2px solid var(--mint); border-radius: 17px; box-shadow: 0 10px 34px #07151d26; text-align: left; }
.hero-search > .icon, .hero-search > span > .icon { width: 23px; height: 23px; color: var(--olive); }
.hero-search input { display: block; width: 100%; min-width: 0; height: 48px; padding: 8px 0; border: 0; border-radius: 4px; background: transparent; color: var(--navy); font-size: 15px; }
.hero-search input::placeholder { color: #75827f; opacity: 1; }
.hero-search input:focus-visible { outline: 0; }
.hero-search:focus-within { box-shadow: 0 0 0 4px #bce8d333, 0 10px 34px #07151d26; }
.hero-search .button.primary { min-height: 50px; border-radius: 11px; background: var(--navy); color: var(--mint); padding: 12px 20px; white-space: nowrap; }
.hero-search .button.primary:hover { background: var(--navy-light); box-shadow: none; }
.hero-tags { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 14px auto 0; font-size: 11px; }
.hero-tags > span { color: #9fb4ba; margin-right: 3px; }
.hero-tags > button { display: inline-flex; align-items: center; gap: 5px; color: #d4e3df; background: #ffffff07; border: 1px solid #ffffff20; border-radius: 999px; padding: 7px 12px; font-size: 11px; min-height: 32px; transition: background .18s; }
.hero-tags .icon { width: 11px; height: 11px; }
.hero-tags > button:hover { background: #ffffff16; border-color: #ffffff44; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 27px; }
.hero-actions .button { padding: 12px 22px; min-height: 46px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 9px; color: var(--paper); font-size: 12px; font-weight: 500; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #ffffff54; }
.hero-secondary:hover { color: var(--mint); }
.hero-metrics { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 32px; color: #9eb4ba; font-size: 10px; letter-spacing: .3px; line-height: 1.5; }
.hero-metrics > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-metrics .icon { width: 12px; height: 12px; }
.hero-metrics > span + span { border-left: 1px solid #ffffff23; margin-left: 18px; padding-left: 18px; }
.hero-orbit { position: absolute; z-index: 0; pointer-events: none; border: 1px solid #bce8d31a; border-radius: 50%; color: transparent; font-size: 0; }
.hero-orbit.orbit-a { width: 400px; height: 400px; left: -280px; top: 55px; }
.hero-orbit.orbit-b { width: 500px; height: 500px; right: -360px; bottom: -60px; }
.hero-orbit.orbit-c { width: 300px; height: 300px; left: calc(50% - 150px); top: -260px; border-color: #eeb69a21; }

/* Browsing supports the stylist instead of competing for the first screen. */
.catalog-search-section { position: relative; isolation: isolate; overflow: hidden; margin-top: 32px; padding: 32px; background: var(--navy); color: var(--paper); border: 1px solid #ffffff16; border-radius: 24px; }
.catalog-search-section::before { content: ""; position: absolute; inset: -130% -30%; z-index: -1; pointer-events: none; background: repeating-radial-gradient(ellipse at 80% 45%, transparent 0 100px, #bdded30c 101px 102px, transparent 103px 150px); }
.catalog-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.catalog-search-heading > div { min-width: 0; }
.catalog-search-heading .eyebrow { margin-bottom: 8px; color: var(--mint); font-size: 9px; letter-spacing: 1.6px; }
.catalog-search-heading h2 { margin: 0; font-family: var(--display); font-size: 36px; font-weight: 400; line-height: 1.1; letter-spacing: -1.1px; }
.catalog-search-heading p { margin-top: 9px; color: #c8d5d9; font-size: 12px; line-height: 1.6; }
.catalog-search-heading .hero-secondary { flex: none; justify-content: flex-end; gap: 8px; }
.catalog-search-section .hero-search { max-width: none; margin-top: 20px; padding-top: 7px; padding-bottom: 7px; box-shadow: none; }
.catalog-search-section .hero-search input { height: 44px; }
.catalog-search-section .hero-search .button { min-height: 44px; }
.catalog-search-section .hero-tags { justify-content: flex-start; margin-top: 12px; }
.catalog-search-section .hero-tags > span { color: #bfd1d3; }
.catalog-search-section .hero-tags > button { color: #e0eee8; }

/* A compact rail gives each local label the same, simple place. */
.brand-strip { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 12px; padding: 23px 0; margin: 0; border-top: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.brand-strip::-webkit-scrollbar { display: none; }
.brand-strip > * { flex-shrink: 0; }
.strip-label { color: var(--muted); font-size: 8px; letter-spacing: 1.2px; line-height: 1.8; padding-right: 16px; }
.strip-label strong { color: var(--navy); font-size: 9px; font-weight: 600; }
.strip-label .icon { color: var(--olive); }
.brand-strip .brand-logo, .brand-strip .local-logo { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; min-width: 110px; padding: 10px 19px; margin: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fffef9; font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 12px; line-height: 1.2; letter-spacing: -.1px; white-space: nowrap; }
.brand-strip .brand-logo:hover, .brand-strip .local-logo:hover { border-color: #9abcb0; background: var(--mint-soft); }
.brand-strip .text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 4px 10px 12px; margin-left: auto; font-size: 11px; white-space: nowrap; }

/* One contained conversation, with the existing form controls kept intact. */
.builder.section { padding: 34px 36px 27px; margin: 42px 0 0; background: #fffef9; border: 1px solid #cbdcd2; border-radius: 24px; box-shadow: 0 4px 0 #e6ece4; scroll-margin-top: 103px; }
.builder .section-heading { align-items: flex-start; margin-bottom: 15px; }
.builder .section-heading h2 { font-size: 41px; line-height: 1.12; }
.builder.stylist-entry { margin-top: 24px; }
.stylist-entry .section-heading h1 { margin: 0; font-family: var(--display); font-size: 52px; font-weight: 400; line-height: 1.08; letter-spacing: -1.9px; }
.stylist-entry .section-heading { align-items: center; }
.builder .section-heading .eyebrow { font-size: 9px; margin-bottom: 9px; }
.builder .heading-aside { max-width: 250px; padding-top: 4px; }
.stylist-intro-copy { flex: 1; min-width: 0; }
.stylist-badge { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border: 1px solid #bddccc; background: var(--mint-soft); color: var(--olive); font-size: 10px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.stylist-badge .icon { width: 15px; height: 15px; }
.builder-intro { max-width: 620px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.stylist-mode { color: var(--muted); font-size: 11px; margin: -12px 0 20px; }
.occasion-row { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.occasion { padding: 10px 15px; min-height: 43px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #5b6e75; font-size: 11px; gap: 7px; }
.occasion .icon { width: 15px; height: 15px; color: #6b827e; }
.occasion:hover { background: var(--mint-soft); border-color: #b1cbbb; }
.occasion.selected { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.occasion.selected .icon { color: var(--mint); }
.or-label { color: var(--muted); font-size: 10px; margin-left: 9px; }
.prompt-box { border: 1px solid #b9ccc1; border-radius: 16px; background: #fff; box-shadow: none; }
.prompt-box:focus-within { border-color: var(--olive); box-shadow: 0 0 0 3px #37726312; }
.prompt-input-wrap { gap: 12px; padding: 21px 22px 15px; }
.prompt-input-wrap > .icon { color: var(--olive); width: 20px; height: 20px; margin-top: 3px; }
.prompt-input-wrap textarea { min-height: 65px; max-height: 180px; font-size: 15px; line-height: 1.75; color: var(--navy); }
.prompt-input-wrap textarea::placeholder { color: #82918e; opacity: 1; }
.prompt-bottom { border-top: 1px solid #e4ebe6; padding: 15px 17px 15px 22px; background: #fbfcf8; gap: 20px; }
.prompt-controls { gap: 24px; flex-wrap: wrap; }
.select-control { display: flex; gap: 11px; font-size: 11px; }
.select-control > span { color: var(--muted); }
.select-control select { color: var(--navy); font-size: 12px; min-height: 35px; padding: 5px 18px 5px 0; }
.budget-input { gap: 6px; }
.budget-input input { color: var(--navy); border-color: #a6bdb2; min-height: 34px; font-size: 13px; width: 74px; }
.budget-input > span { font-size: 10px; color: var(--muted); }
.control-divider { background: var(--line); height: 28px; }
.prompt-bottom .button { border-radius: 10px; min-height: 46px; min-width: 152px; font-size: 12px; }
.builder-note { margin-top: 16px; font-size: 10px; color: var(--muted); line-height: 1.65; flex-wrap: wrap; gap: 10px 20px; }
.builder-note > span { flex-wrap: wrap; gap: 5px; }
.builder-note > span > .icon { color: var(--olive); }
.builder-note .inline-link { font-size: inherit; }
.stylist-error { color: #a04636; }

/* Outfit boards read as complete edits, with practical information underneath. */
.looks-section { padding-top: 64px; }
.look-grid { gap: 22px; }
.look-card { padding: 12px 12px 15px; border: 1px solid var(--line); border-radius: 21px; background: #fffef9; overflow: hidden; }
.card-image-wrap { border-radius: 13px; background: #e8ece6; }
.look-art { height: 308px; }
.card-tag { background: #fffef8eb; color: var(--navy); border: 1px solid #172b3a0d; font-size: 8px; padding: 7px 9px; border-radius: 999px; top: 12px; left: 11px; }
.save-button { background: #fffef8ef; color: var(--navy); border: 1px solid #172b3a0a; width: 33px; height: 33px; top: 10px; right: 10px; }
.save-button.is-saved { background: var(--mint); color: var(--navy); }
.save-button.is-saved .icon { fill: var(--navy); stroke: var(--navy); }
.image-cta { border-radius: 10px; color: var(--navy); }
.card-meta { margin: 19px 3px 11px; gap: 8px; }
.card-meta > span { color: var(--muted); font-size: 8px; letter-spacing: 1px; line-height: 1.5; }
.card-title-row { align-items: flex-start; gap: 12px; padding: 0 3px; }
.card-title-row h3 { font-family: var(--display); font-size: 24px; line-height: 1.12; font-weight: 400; letter-spacing: -.65px; }
.card-title-row > span { color: var(--navy); font-size: 12px; padding-top: 4px; line-height: 1.5; }
.look-card > p, .look-card .outfit-rationale { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 11px 3px 0; }
.outfit-board { gap: 7px; padding: 48px 10px 10px; background: #e9eee8; }
.outfit-board-piece { border-radius: 8px; background: #fffefb; }
.outfit-piece-number { color: var(--muted); }
.outfit-piece-brand { color: var(--navy); font-size: 8px; }
.ranked-look-card { padding: 16px; border-radius: 22px; background: #fffef9; }
.best-match-card { border-color: #78a991; background: #f9fcf6; box-shadow: 0 0 0 2px #bce8d33b; }
.outfit-rank { margin-bottom: 16px; min-height: 40px; }
.outfit-rank-number { background: #e8eee8; color: #5b7373; }
.outfit-rank-best .outfit-rank-number { background: var(--navy); color: var(--mint); }
.outfit-rank-copy strong { font-size: 12px; }
.outfit-rank-copy small, .outfit-piece-list small { color: var(--muted); }
.outfit-rank > .icon { color: var(--olive); }
.outfit-piece-list { margin: 16px 3px 0; border-color: var(--line); }
.outfit-piece-list li { padding: 12px 0; font-size: 11px; border-color: var(--line); }
.outfit-budget-note { color: var(--olive); font-size: 10px; margin: 15px 3px; }
.outfit-choose { margin-top: 18px; font-size: 11px; min-height: 45px; padding: 12px; }
.styled-look-card .outfit-choose { margin-top: auto; }
.stylist-summary { background: var(--mint-soft); border-color: #c1d9cd; border-radius: 16px; padding: 20px 22px; }
.stylist-summary-icon { color: var(--olive); }
.stylist-summary p, .stylist-loading { color: #58716a; }
.empty-state { background: #eef2ea; border-color: #bdcec3; border-radius: 20px; }
.empty-state > .icon { color: var(--olive); }
.empty-state h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.7px; }

.profile-banner { background: var(--mint-soft); border: 1px solid #c7dcd0; border-radius: 24px; padding: 35px 38px; margin: 64px 0; gap: 30px; }
.profile-banner .eyebrow { color: var(--olive); font-size: 9px; letter-spacing: 1.5px; }
.profile-banner h2 { font-family: var(--display); font-weight: 400; font-size: 38px; letter-spacing: -1.5px; }
.profile-banner h2 .serif { font-style: normal; }
.profile-banner p { color: #657c72; font-size: 12px; line-height: 1.8; }
.profile-banner > .button { min-height: 47px; font-size: 12px; }
.banner-art { width: 112px; height: 118px; }
.banner-art > .icon { color: var(--navy); width: 43px; height: 57px; }
.banner-star { color: var(--olive); }
.banner-art .orbit { border-color: #99bbaa; }

footer { background: var(--navy); color: #d6e1df; padding: 38px 32px 0; border-top: 0; }
.footer-top, .footer-bottom { width: 100%; max-width: 1180px; margin: 0 auto; }
.footer-top { padding: 0 0 30px; border-color: #ffffff18; gap: 30px; }
.footer-brand { color: var(--paper); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 37px; letter-spacing: -2px; }
.footer-brand > span { color: var(--mint); }
.footer-brand p { color: #aebfc3; font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1.6; margin-top: 10px; }
.footer-copy { color: #adc0c5; font-size: 12px; line-height: 1.8; }
.footer-badge { color: var(--mint); border: 1px solid #bce8d333; border-radius: 999px; padding: 11px 15px; font-size: 9px; letter-spacing: 1.1px; }
.footer-bottom { padding: 21px 0 26px; color: #9eb4ba; gap: 18px; flex-wrap: wrap; font-size: 10px; line-height: 1.7; }
.footer-bottom button { font-size: 10px; color: #c3d3d5; min-height: 32px; margin-left: 0; }
.footer-bottom button:hover { color: var(--mint); }

/* Supporting flows use the same materials, without recoloring product imagery. */
.modal { background: #fffef9; border: 1px solid #dfe7df; border-radius: 22px; box-shadow: 0 30px 100px #09182240; }
.modal::backdrop { background: #091a2678; backdrop-filter: blur(7px); }
.modal h2 { font-family: var(--display); font-size: 35px; font-weight: 400; letter-spacing: -1.1px; }
.modal .eyebrow { color: var(--olive); }
.modal-close { background: #fffefaee; border-color: var(--line); color: var(--navy); width: 37px; height: 37px; }
.detail-visual, .item-art { background: #e9eee8; }
.detail-content > p, .drawer-description, .item-brand, .size-label, .detail-total small { color: var(--muted); }
.why-box { color: #416b5c; background: var(--mint-soft); border-radius: 11px; font-size: 11px; }
.detail-item, .detail-content > .outfit-rank { border-color: var(--line); }
.item-info h4 { font-size: 12px; line-height: 1.45; }
.size-label select, .size-label input { color: var(--navy); border-color: #bfcec6; border-radius: 5px; }
.swap-button, .try-on-button { color: var(--olive); }
.mini-badge { border-color: #a9cabb; color: var(--olive); }
.detail-total strong { font-family: "DM Sans", sans-serif; font-size: 23px; letter-spacing: -.8px; }
.bag-brand { background: var(--mint-soft); color: var(--navy); border-radius: 9px; padding: 12px; font-size: 10px; }
.bag-brand > span, .bag-summary > div { color: var(--muted); }
.bag-summary .grand-total { color: var(--navy); font-size: 23px; }
.quantity-control { border-color: #cbd8d0; border-radius: 7px; }
.quantity-control button { min-width: 30px; min-height: 30px; }
.bag-item .icon-button .icon { color: var(--muted); }
.notice, .connection-result { background: #edf2eb; color: #5d7368; border-radius: 10px; }
.checkout-step > span, .checkout-step > .icon, .success-icon { color: var(--olive); }
.checkout-step p, .success-content > p, .photo-privacy, .privacy-content p { color: var(--muted); }
.success-icon { background: var(--mint); color: var(--navy); }
.profile-steps > span { color: #8b9999; }
.profile-steps b { background: #e8eeea; color: #60756d; }
.profile-steps .done { color: var(--olive); }
.profile-steps .done b { background: var(--mint); color: var(--navy); }
.field { font-size: 12px; }
.field > input, .field > select, .field textarea, .unit-input { background: #fff; border-color: #c7d4cb; border-radius: 10px; color: var(--navy); min-height: 46px; font-size: 13px; }
.field input::placeholder { color: #8b9a95; }
.unit-input > span { color: var(--muted); }
.unit-input:focus-within { outline-color: var(--olive); }
.skin-tones input:checked + span, .skin-tones input:focus-visible + span { outline-color: var(--olive); }
.upload-zone { background: var(--mint-soft); border-color: #98bbac; border-radius: 14px; }
.upload-zone > .icon, .upload-zone > span { color: var(--olive); }
.upload-zone:focus-within { outline-color: var(--olive); }
.measurement-guide, .tone-no-preference, .custom-tone-row label, .consent-check { color: #5d736a; }
.tone-no-preference input, .custom-tone-row input[type="radio"], .consent-check input { accent-color: var(--olive); }
.custom-tone-row input[type="color"] { background: #fff; border-color: var(--line); }
.profile-palette { background: var(--mint-soft); border-color: #c8ded1; border-radius: 12px; }
.profile-palette-colors > span, .profile-palette > p { color: #60776c; }
.size-advice, .size-advice > strong { color: var(--muted); }
.size-advice-match > strong { color: var(--olive); }
.product-size-advice { background: var(--mint-soft); }
.size-guide { border-color: #cbdacf; background: #f4f8f2; border-radius: 12px; }
.size-guide-estimate { background: #fcf5eb; border-color: #e6d4bf; }
.size-guide > summary, .size-guide th { color: #355849; }
.size-guide > summary > small, .size-guide-content { color: #66796e; }
.size-guide-table-wrap, .size-guide th, .size-guide td { border-color: #dce6dc; }
.size-guide thead th { background: #e5efe5; }
.size-guide-estimate thead th { background: #f1e6d5; }
.size-guide-estimate > summary { color: #765940; }
.size-guide-estimate .size-guide-content { color: #806b54; }
.account-email, .order-top, .order-card > p, .shipment-row small, .integration-row small, .integration-panel > p, .inventory-item p, .inventory-form label, .metric-grid span { color: var(--muted); }
.order-card { background: #fffef9; border-radius: 15px; }
.status-pill { background: #e7ede7; color: #607468; }
.status-pill.ready, .connection-success { color: #2f6652; background: var(--mint-soft); }
.connection-error { color: #974a3e; background: #faeee7; }
.metric-grid > div { background: var(--mint-soft); border-radius: 14px; }
.metric-grid strong { font-family: "DM Sans", sans-serif; color: var(--navy); }
.integration-panel a, .inventory-form .icon { color: var(--olive); }
.inventory-form, .access-key { border-color: #bfd4c7; background: #f7faf4; }

@media (max-width: 1120px) {
  .nav-wrap { gap: 14px; }
  .desktop-nav { gap: 2px; }
  .nav-link { padding: 10px 12px; font-size: 11px; }
  .nav-actions { gap: 7px; }
  .nav-actions .location { display: none; }
  .profile-button { padding: 9px 11px; }
  .hero.search-hero { padding-top: 62px; padding-bottom: 42px; }
  .search-hero h1 { font-size: 80px; }
  .prompt-controls { gap: 15px; }
  .select-control { gap: 7px; }
  .profile-banner { padding: 30px; gap: 22px; }
  .profile-banner h2 { font-size: 33px; }
  .profile-banner > .button { max-width: 210px; }
}

@media (max-width: 900px) {
  .arabic { display: none; }
  .profile-button { width: 39px; height: 39px; padding: 0; justify-content: center; }
  .profile-button > span { display: none; }
  .nav-actions > .icon-button:not(.bag-button) { display: grid; }
  .search-hero h1 { font-size: 74px; }
  .builder.section { padding: 30px 26px 24px; }
  .builder .heading-aside { max-width: 180px; font-size: 11px; }
  .prompt-controls { gap: 12px; }
  .select-control { display: grid; gap: 3px; }
  .control-divider { display: none; }
  .look-grid { gap: 14px; }
  .look-art { height: 255px; }
  .card-title-row { flex-wrap: wrap; gap: 4px; }
  .card-title-row > span { padding-top: 0; text-align: left; }
  .profile-banner { gap: 20px; }
  .banner-art { display: none; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 86px; }
  main { width: calc(100% - 40px); max-width: 1180px; padding: 0; }
  .header { height: 68px; }
  .nav-wrap { padding: 0 20px; gap: 12px; }
  .wordmark { font-size: 32px; letter-spacing: -2px; }
  .brand-star { font-size: 24px; padding-top: 3px; }
  .arabic { display: block; font-size: 16px; margin-left: 13px; padding-left: 12px; }
  .desktop-nav { display: none; }
  .profile-button { display: inline-flex; min-height: 35px; width: 35px; height: 35px; border-radius: 50%; }
  .nav-actions { gap: 8px; }
  .nav-actions > .icon-button:not(.bag-button) { display: grid; }
  .nav-actions .icon-button { width: 35px; height: 35px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; position: fixed; z-index: 35; bottom: calc(12px + env(safe-area-inset-bottom)); left: 16px; right: 16px; max-width: 460px; margin: auto; padding: 7px; border: 1px solid #49625f; border-radius: 21px; background: #172b3af5; color: #c1d0d2; box-shadow: 0 10px 35px #07172038; backdrop-filter: blur(18px); }
  .mobile-nav > button { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; min-height: 50px; padding: 7px 3px; border-radius: 14px; font-size: 9px; font-weight: 500; line-height: 1.2; gap: 5px; color: #b6cbd0; }
  .mobile-nav > button.active { background: var(--mint); color: var(--navy); }
  .mobile-nav > .mobile-style-action { color: var(--mint); background: #bce8d30c; }
  .mobile-nav > button.active .icon { stroke-width: 1.8; }
  .mobile-nav .icon { width: 19px; height: 19px; }
  .mobile-nav > button:focus-visible { outline-color: var(--mint); outline-offset: 2px; }
  .hero.search-hero { display: block; grid-template-columns: none; width: 100%; margin-top: 18px; padding: 42px 24px 29px; gap: 0; border-radius: 22px; }
  .search-hero .hero-copy { width: 100%; max-width: none; padding: 0; text-align: center; }
  .hero-kicker { font-size: 8px; letter-spacing: 1.45px; gap: 9px; }
  .search-hero h1 { font-size: clamp(48px, 8.8vw, 65px); line-height: 1.02; letter-spacing: -2.7px; margin: 25px 0 19px; }
  .search-hero .hero-copy > p { max-width: 430px; font-size: 13px; line-height: 1.75; }
  .hero-search { margin-top: 25px; padding: 7px 8px 7px 15px; gap: 11px; grid-template-columns: 20px minmax(0, 1fr) auto; border-radius: 14px; }
  .hero-search > .icon, .hero-search > span > .icon { width: 20px; height: 20px; }
  .hero-search input { height: 42px; font-size: 16px; }
  .hero-search input::placeholder { font-size: 13px; }
  .hero-search .button.primary { font-size: 0; gap: 0; padding: 12px; min-height: 42px; min-width: 42px; border-radius: 9px; }
  .hero-search .button.primary .icon { width: 18px; height: 18px; }
  .hero-tags { gap: 6px; margin-top: 12px; font-size: 10px; }
  .hero-tags > button { font-size: 10px; padding: 6px 10px; min-height: 30px; }
  .hero-actions { margin-top: 23px; gap: 11px 18px; }
  .hero-actions .button { min-height: 44px; font-size: 11px; padding: 12px 17px; }
  .hero-secondary { font-size: 11px; }
  .hero-metrics { margin-top: 23px; font-size: 9px; letter-spacing: 0; }
  .hero-metrics > span + span { margin-left: 11px; padding-left: 11px; }
  .brand-strip { padding: 18px 0; gap: 9px; }
  .strip-label { padding-right: 9px; font-size: 7px; letter-spacing: .8px; }
  .strip-label strong { font-size: 8px; }
  .brand-strip .brand-logo, .brand-strip .local-logo { font-size: 11px; min-height: 40px; min-width: 95px; padding: 9px 15px; }
  .brand-strip > .text-link { display: inline-flex; font-size: 10px; }
  .section, .looks-section { padding-top: 43px; }
  .section-heading { gap: 15px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 34px; letter-spacing: -1.2px; }
  .section-heading .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .section-heading .text-link { font-size: 11px; }
  .builder.section { margin-top: 28px; padding: 26px 20px 21px; border-radius: 21px; scroll-margin-top: 90px; }
  .builder .section-heading { margin-bottom: 13px; gap: 12px; }
  .builder .section-heading h2 { font-size: 34px; letter-spacing: -1.3px; }
  .builder .heading-aside { display: none; }
  .builder-intro { font-size: 12px; margin-bottom: 19px; line-height: 1.7; }
  .stylist-badge { font-size: 9px; padding: 8px 9px; gap: 4px; }
  .stylist-badge .icon { width: 13px; height: 13px; }
  .occasion-row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1px 7px; margin-bottom: 12px; gap: 7px; scrollbar-width: none; }
  .occasion-row::-webkit-scrollbar { display: none; }
  .occasion { padding: 9px 12px; min-height: 40px; flex: none; font-size: 10px; gap: 6px; }
  .occasion .icon { width: 14px; height: 14px; }
  .or-label { display: none; }
  .prompt-input-wrap { padding: 17px 15px 13px; gap: 9px; }
  .prompt-input-wrap > .icon { width: 17px; height: 17px; }
  .prompt-input-wrap textarea { font-size: 16px; min-height: 81px; line-height: 1.65; }
  .prompt-bottom { display: grid; grid-template-columns: 1fr; padding: 13px 14px 14px; gap: 15px; }
  .prompt-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; width: 100%; }
  .select-control { display: grid; gap: 5px; min-width: 0; font-size: 10px; }
  .select-control select { max-width: 100%; width: 100%; min-height: 36px; font-size: 16px; }
  .budget-input { min-height: 36px; }
  .budget-input input { width: 72px; font-size: 16px; }
  .prompt-bottom .button { width: 100%; min-height: 46px; font-size: 12px; }
  .builder-note { display: flex; flex-direction: column; gap: 9px; font-size: 9px; margin-top: 14px; }
  .builder-note > span { display: flex; line-height: 1.6; }
  .builder.stylist-entry { margin-top: 18px; padding: 24px 20px 21px; }
  .stylist-entry .section-heading { margin-bottom: 12px; }
  .stylist-entry .section-heading h1 { font-size: 36px; line-height: 1.1; letter-spacing: -1.3px; }
  .stylist-entry .stylist-badge { display: none; }
  .stylist-entry .builder-intro { margin-bottom: 17px; }
  .stylist-entry .prompt-input-wrap { padding-top: 15px; padding-bottom: 12px; }
  .stylist-entry .prompt-input-wrap textarea { min-height: 72px; }
  .stylist-entry .prompt-bottom { gap: 12px; }
  .stylist-entry .builder-note { gap: 7px; margin-top: 13px; }
  .catalog-search-section { padding: 22px; margin-top: 24px; border-radius: 21px; }
  .catalog-search-heading { align-items: flex-start; gap: 14px; }
  .catalog-search-heading h2 { font-size: 29px; letter-spacing: -.9px; line-height: 1.1; }
  .catalog-search-heading .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 8px; }
  .catalog-search-heading p { font-size: 11px; margin-top: 8px; line-height: 1.6; }
  .catalog-search-heading .hero-secondary { max-width: 88px; min-height: 44px; margin-top: 17px; padding: 8px 0; font-size: 11px; line-height: 1.5; gap: 7px; text-align: left; }
  .catalog-search-heading .hero-secondary .icon { flex: none; width: 16px; height: 16px; }
  .catalog-search-section .hero-search { margin-top: 18px; gap: 8px; padding: 7px 8px 7px 11px; }
  .catalog-search-section .hero-search input { height: 42px; font-size: 16px; }
  .catalog-search-section .hero-search .button { min-height: 42px; }
  .catalog-search-section .hero-tags { column-gap: 6px; row-gap: 8px; }
  .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .look-card { padding: 9px 9px 12px; border-radius: 17px; }
  .look-art { height: 265px; }
  .card-title-row h3 { font-size: 22px; }
  .ranked-look-card { padding: 12px; }
  .look-card .outfit-rationale { font-size: 11px; }
  .outfit-piece-list { margin-top: 13px; }
  .outfit-piece-list li { font-size: 10px; gap: 7px; }
  .outfit-budget-note { font-size: 9px; }
  .outfit-choose { font-size: 10px; min-height: 44px; padding: 10px 8px; gap: 7px; }
  .outfit-choose .icon { width: 16px; height: 16px; }
  .profile-banner { display: grid; grid-template-columns: 1fr; gap: 21px; padding: 27px 24px; margin: 43px 0; border-radius: 21px; }
  .profile-banner > div:nth-child(2) { grid-column: auto; grid-row: auto; }
  .profile-banner h2 { font-size: 34px; }
  .profile-banner .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .profile-banner p { font-size: 12px; }
  .profile-banner > .button { grid-column: auto; margin: 0; width: fit-content; max-width: none; padding: 12px 19px; font-size: 11px; }
  footer { padding: 30px 20px 0; }
  .footer-top { gap: 25px; padding-bottom: 26px; }
  .footer-brand { font-size: 34px; }
  .footer-brand p { font-size: 10px; }
  .footer-copy { font-size: 10px; }
  .footer-badge { display: none; }
  .footer-bottom { justify-content: flex-start; gap: 8px 18px; padding: 20px 0 calc(104px + env(safe-area-inset-bottom)); font-size: 9px; }
  .footer-bottom > span:nth-child(2) { order: 0; width: 100%; }
  .footer-bottom button { margin: 0; font-size: 9px; }
  .modal { border-radius: 19px; }
  .modal h2 { font-size: 31px; }
  .drawer { margin: 10px; width: calc(100vw - 20px); max-width: 480px; height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); }
  .bag-content, .profile-modal-content, .checkout-content, .success-content, .privacy-content { padding: 38px 23px 25px; }
  .bag-brand { font-size: 10px; }
  .bag-summary .grand-total { font-size: 22px; }
  .field > input, .field > select, .field textarea, .unit-input { font-size: 16px; }
  .unit-input input { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero.search-hero { padding: 36px 17px 26px; }
  .hero-kicker { font-size: 7px; letter-spacing: 1.25px; }
  .search-hero h1 { font-size: clamp(42px, 11.6vw, 55px); letter-spacing: -2.3px; }
  .search-hero .hero-copy > p { font-size: 12px; max-width: 290px; }
  .hero-search { gap: 8px; padding-left: 11px; margin-top: 24px; }
  .hero-search input::placeholder { font-size: 12px; }
  .hero-tags > span { display: none; }
  .hero-tags > button { font-size: 9px; padding: 6px 9px; }
  .hero-actions { gap: 7px 15px; }
  .hero-actions .button { font-size: 10px; padding: 11px 14px; }
  .hero-secondary { font-size: 10px; }
  .hero-metrics { font-size: 8px; }
  .hero-metrics > span + span { margin-left: 8px; padding-left: 8px; }
  .builder.section { padding: 23px 16px 19px; }
  .builder .section-heading h2 { font-size: 32px; }
  .builder.stylist-entry { padding: 23px 16px 19px; }
  .stylist-entry .section-heading h1 { font-size: 36px; }
  .builder .section-heading { flex-wrap: wrap; row-gap: 10px; }
  .builder .section-heading .eyebrow { font-size: 7px; letter-spacing: 1.4px; }
  .stylist-badge { font-size: 8px; padding: 7px 8px; }
  .look-grid { grid-template-columns: 1fr; gap: 22px; }
  .look-card { padding: 12px 12px 16px; border-radius: 20px; }
  .look-art { height: 330px; }
  .card-title-row { flex-wrap: nowrap; gap: 12px; }
  .card-title-row h3 { font-size: 25px; }
  .card-title-row > span { padding-top: 3px; }
  .look-card .outfit-rationale { font-size: 12px; }
  .outfit-piece-list li { font-size: 12px; }
  .outfit-budget-note { font-size: 10px; }
  .outfit-choose { font-size: 12px; min-height: 47px; }
  .profile-banner { padding: 27px 21px; }
  .profile-banner h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 360px) {
  .arabic { display: none; }
  .nav-actions { gap: 6px; }
  .hero-metrics { flex-wrap: wrap; gap: 8px; }
  .stylist-entry .section-heading h1 { font-size: 34px; }
  .catalog-search-heading { flex-direction: column; gap: 3px; }
  .catalog-search-heading .hero-secondary { margin-top: 0; max-width: none; justify-content: flex-start; }
  .hero-metrics > span + span { border-left: 0; padding-left: 0; margin-left: 0; }
}
