/* United / living paper. Composition and feedback, not business behavior. */
:root { --united-ease: cubic-bezier(.2,.7,.2,1); }
.united-store .united-main { padding-top: .25rem; }
.united-store .united-hero-stage { display: grid; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.united-store .hero-copy { display: grid; justify-content: start; gap: 1.5rem; padding: 0; border: 0; }
.united-store .hero-copy h1 { font: 400 clamp(2.5rem, 6vw, 4.75rem)/1.07 var(--united-font-heading); letter-spacing: -.045em; margin: 0; }
.united-highlight { position: relative; isolation: isolate; white-space: nowrap; }
.united-highlight::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: .06em; height: .17em; background: var(--light-accent); transform: rotate(-2deg); }
.united-store .hero-actions { justify-content: start; margin: 0; max-width: none; }
.hero-process-link { justify-self: start; font-size: .875rem; text-decoration: underline; text-underline-offset: .3em; }
.united-supply-scene { position: relative; margin: 0; min-width: 0; }
.hero-artwork { background-position: center; background-size: contain; background-repeat: no-repeat; }
.hero-artwork[data-custom-artwork=true] .supply-scene-art { visibility: hidden; }
.supply-scene-art { width: 100%; height: auto; display: block; }
.united-supply-scene figcaption { margin-top: -.5rem; text-align: center; font: .875rem/1.5 var(--united-font-body); }
.scene-note { position: absolute; right: 0; bottom: 14%; padding: .65rem .875rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--united-radius-control); transform: rotate(4deg); font: .75rem/1.5 var(--united-font-body); box-shadow: 0 4px 16px #12304A0D; }
.united-store .quote-launch-options > .supply-shortcut { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.25rem; min-height: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.supply-shortcut-icon { background: transparent; border: 1px solid var(--line); }
.united-store .supply-shortcut-icon { grid-column: 1; grid-row: 1; }
.united-store .supply-shortcut-copy { grid-column: 2; grid-row: 1; }
.supply-shortcut-arrow { align-self: center; grid-column: 3; grid-row: 1; }
.united-store .supply-shortcut-action { margin-top: .5rem; }
.united-store .hero-art > .edit-button-container { position: static; inset: auto; z-index: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-editor-label { font: .75rem/1.5 var(--united-font-body); color: var(--ink); }
.united-store .hero-art .edit-button { min-height: 44px; padding: .65rem .9rem; font-size: .875rem; }
.united-store .hero-art #imageActionButtons { gap: .5rem; flex-wrap: wrap; }
.united-store .united-catalog-intro { position: relative; overflow: clip; padding: clamp(1.5rem, 4vw, 3rem); }
.united-catalog-intro::before { content: ''; position: absolute; width: 230px; height: 230px; border: 1px solid #DCECF830; border-radius: 50%; left: -140px; bottom: -130px; pointer-events: none; }
.united-store .family-directory { gap: 0; }
.united-store .family-directory small { font-family: var(--united-font-body); }
.united-store .family-directory > a { border: 0; border-bottom: 1px solid #DCECF840; border-radius: 0; padding: 1.25rem .75rem; min-height: 100px; transition: background .2s; }
.united-store .family-directory > a:is(:hover, :focus-visible) { background: var(--light-accent); color: var(--brand); }
.united-store .family-directory > a:is(:hover, :focus-visible) :is(small, .family-number) { color: var(--brand); }
.united-store .process-list { gap: 0; counter-reset: journey; }
.united-store .process-list > li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); border: 0; border-radius: 0; border-left: 1px dashed var(--line); margin-left: 20px; padding: 0 0 2rem 1.5rem; background: transparent; }
.united-store .process-list > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.united-store .process-list .step-number { position: absolute; left: -21px; top: 0; width: 42px; height: 42px; min-width: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--light-accent); font: 1rem var(--united-font-heading); }
.united-store .process-list > li > div { grid-column: 1 / -1; padding-left: .5rem; }
.united-store .process-list h3 { font-size: 1.5rem; }
.united-store .united-video-guide { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--united-radius-panel); background: linear-gradient(115deg, #DCECF880, #FFFFFF 70%); }
.united-video-guide .video-wrapper { border: 1px solid var(--line); background: var(--white); }
.united-store .united-donation { border: 0; }
.united-company-scene { padding: 0; }
.united-store .united-story:nth-of-type(even) { padding: clamp(1rem, 3vw, 2rem); background: #DCECF850; border-radius: var(--united-radius-panel); }
.company-facts > div { border-left: 2px solid var(--light-accent); padding-left: 1rem; }
.united-store :is(.answer-toolbar,.bulk-toolbar,.quote-builder-product,.united-legal-heading) { border-bottom-width: 2px; }
.united-store .answer-card { border-top: 3px solid var(--light-accent); }
.united-store .answer-card::before { width: 30px; height: 30px; display: grid; place-items: center; background: var(--light-accent); border-radius: 50%; }
.united-store .answer-card[data-category=packaging] { background: #DCECF830; }
.united-store .product-identity > img { background: #DCECF840; border-radius: var(--united-radius-panel); padding: .5rem; }
.united-store .product-card { transition: border-color .2s; }
.united-store .product-card:hover { border-color: var(--brand); box-shadow: 0 5px 18px #12304A0D; }
.united-store .quote-builder-step:has(input:checked) > h2 { text-decoration: underline; text-decoration-color: var(--light-accent); text-decoration-thickness: .18em; text-underline-offset: .15em; }
.united-store .united-footer { border-top: 5px solid var(--light-accent); }
.united-store .footer-lead > a { font: 400 clamp(1.4rem, 3vw, 2rem)/1.3 var(--united-font-heading); }
.united-identity .identity-brand { border-bottom: 2px solid var(--light-accent); }
.united-admin .udesk-masthead { border-top: 3px solid var(--light-accent); }
:is(.united-store,.united-identity,.united-admin) :is(button,.united-button,.united-outline,.btn,.identity-button) { transition: background .18s, border-color .18s, transform .18s var(--united-ease); }
:is(.united-store,.united-identity,.united-admin) :is(button,.united-button,.united-outline,.btn,.identity-button):active:not(:disabled) { transform: translateY(1px); }
:is(.united-store,.united-identity,.united-admin) :is(input,textarea,select):focus { border-color: var(--brand); box-shadow: 0 0 0 3px #DCECF8; }
.united-header .nav-links a[aria-current=page] { background: var(--light-accent); color: var(--brand); border-radius: var(--united-radius-control); }
.united-header .nav-group:has(a[aria-current=page]) > summary { text-decoration: underline; text-underline-offset: .4em; }
/* Keep the existing dimmed overlay without sampling/blurring the full page. */
.modal, dialog::backdrop { backdrop-filter: none; }
@media (hover: hover) and (pointer: fine) {
    .quote-launch-options > a { transition: transform .25s var(--united-ease), background .2s; }
    .quote-launch-options > a:hover { transform: translateY(-4px); box-shadow: 0 8px 20px #12304A0D; }
    .supply-shortcut-icon svg { transition: transform .3s var(--united-ease); }
    .supply-shortcut:hover .supply-shortcut-icon svg { transform: rotate(-5deg); }
    .united-supply-scene .scene-check { transform-box: fill-box; transform-origin: center; transition: rotate .4s var(--united-ease); }
    .united-supply-scene:hover .scene-check { rotate: 8deg; }
}
@media (min-width: 40rem) {
    .united-store .united-hero-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
    .united-store .hero-copy h1 { font-size: clamp(2.5rem, 5.3vw, 4.75rem); }
    .united-store .quote-launch-options > .supply-shortcut { grid-template-columns: 48px minmax(0, 1fr); padding: 1rem; gap: .875rem; }
    .supply-shortcut-arrow { display: none; }
    .scene-note { font-size: .75rem; }
}
@media (min-width: 64rem) {
    .united-store .united-hero-stage { gap: 3rem; min-height: 370px; }
    .united-store .quote-launch-options > .supply-shortcut { grid-template-columns: 56px minmax(0, 1fr); padding: 1.5rem; }
    .united-store .process-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
    .united-store .process-list > li { margin-left: 0; padding: 4rem 0 0; display: block; border-left: 0; border-top: 1px dashed var(--line); }
    .united-store .process-list .step-number { left: 0; top: -21px; }
    .united-store .process-list > li > div { padding: 0; }
    .united-store .united-process .section-heading { margin-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.united-store,.united-identity,.united-admin) *, :is(.united-store,.united-identity,.united-admin) *::before, :is(.united-store,.united-identity,.united-admin) *::after { transition: none !important; animation: none !important; }
    .quote-launch-options > a:hover, :is(.united-store,.united-identity,.united-admin) :is(button,.united-button,.united-outline,.btn,.identity-button):active:not(:disabled) { transform: none; }
    .united-supply-scene:hover .scene-check { rotate: none; }
}

/* Footflops-inspired storefront pass.
   This layer changes presentation only; United's Razor routes and workflows stay intact. */
:root {
    --paper: #FFFFFF;
    --ink: #12304A;
    --muted: #12304A;
    --brand: #12304A;
    --contrast: #12304A;
    --surface: #F2F5F8;
    --light-accent: #DCECF8;
    --line: #12304A24;
    --united-radius-control: 0;
    --united-radius-panel: 0;
    --united-font-body: "Poppins", Arial, sans-serif;
    --united-font-heading: "Poppins", Arial, sans-serif;
}

.united-store { background: var(--paper); }
.united-store :is(h1, h2, .title, .feedback-title) { font-weight: 760; letter-spacing: -.055em; }
.united-store h3 { font-weight: 700; }
.united-store p { color: var(--muted); }
.united-store :is(button, .united-button, .united-outline, .btn) { border-radius: 0; text-transform: none; }
.section-kicker, .hero-kicker, .collection-heading > span {
    display: block;
    margin: 0 0 .85rem;
    color: inherit;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Shared #12304A retail shell. */
.united-store .united-promo {
    min-height: 38px;
    padding: .55rem 4%;
    border-bottom: 1px solid #FFFFFF24;
    background: #12304A;
    color: #FFFFFF;
    letter-spacing: .045em;
}
.united-store .united-promo button { color: #FFFFFF; }
.united-store .united-header {
    min-height: 88px;
    padding: 1rem 4%;
    background: #12304A;
    border-color: #FFFFFF20;
}
.united-store .united-brand { font: 750 1.65rem/1 var(--united-font-heading); letter-spacing: -.045em; }
.united-store .brand-caption { margin-top: .22rem; font-weight: 600; letter-spacing: .28em; }
.united-store .nav-links { gap: clamp(.9rem, 1.8vw, 1.8rem); font-size: .82rem; font-weight: 650; }
.united-store .nav-links > a,
.united-store .nav-group > summary { padding-block: .8rem; }
.united-store .nav-group > div { top: calc(100% + 1.15rem); border: 0; border-top: 3px solid #377DB5; border-radius: 0; box-shadow: 0 22px 50px #12304A33; }
.united-store .header-account-link { font-weight: 650; }
.united-store .united-quote-link { padding: .75rem 1rem; background: #FFFFFF; color: #12304A; border-radius: 0; font-weight: 750; }
.united-store .united-quote-link:hover { background: var(--light-accent); color: #12304A; }
.united-store .cart-item-count { background: #12304A; color: #FFFFFF; }

/* Hero: wide campaign art followed by a practical service strip. */
.united-store .united-main { max-width: 1440px; padding-top: 0; }
.united-store .united-main > .united-hero {
    width: 100vw;
    max-width: none;
    margin: 0 0 clamp(4rem, 7vw, 7rem) calc(50% - 50vw);
}
.united-store .united-hero-stage {
    position: relative;
    min-height: 610px;
    margin: 0;
    padding: clamp(3rem, 7vw, 7rem) max(5vw, calc((100vw - 1360px) / 2));
    background: linear-gradient(108deg, #F2F5F8 0 54%, #DCECF8 54% 100%);
    overflow: hidden;
}
.united-store .united-hero-stage::after {
    content: "UNITED";
    position: absolute;
    right: -1.5vw;
    bottom: -4.2vw;
    color: #FFFFFF70;
    font: 850 clamp(6rem, 15vw, 14rem)/.8 var(--united-font-heading);
    letter-spacing: -.08em;
    pointer-events: none;
}
.united-store .hero-copy { position: relative; z-index: 2; gap: 1.15rem; max-width: 670px; }
.united-store .hero-kicker { margin: 0; color: #377DB5; }
.united-store .hero-copy h1 {
    max-width: 760px;
    font: 800 clamp(3.25rem, 6.6vw, 7rem)/.91 var(--united-font-heading);
    letter-spacing: -.07em;
}
.united-store .hero-intro { max-width: 530px; margin: .3rem 0 .8rem; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; }
.united-highlight::after { bottom: .01em; height: .13em; background: #377DB5; transform: none; }
.united-store .hero-actions { gap: 1.4rem; }
.united-store .hero-actions .united-button {
    min-width: 205px;
    padding: 1.05rem 1.35rem;
    background: #12304A;
    color: #FFFFFF;
    border: 1px solid #12304A;
    justify-content: space-between;
}
.united-store .hero-actions .united-button:hover { background: #377DB5; border-color: #377DB5; }
.united-store .hero-actions > a:last-child { font-size: .85rem; font-weight: 700; }
.united-store .united-supply-scene { z-index: 1; align-self: end; }
.united-store .hero-artwork { filter: drop-shadow(0 30px 30px #12304A18); }
.united-store .united-supply-scene figcaption { position: relative; z-index: 2; font-weight: 650; }
.united-store .scene-note { z-index: 3; border: 0; border-left: 4px solid #377DB5; box-shadow: 0 12px 35px #12304A22; transform: rotate(2deg); }
.supply-scene-art [fill="#12304A"] { fill: #12304A; }
.supply-scene-art [fill="#DCECF8"] { fill: #DCECF8; }
.supply-scene-art [stroke="#12304A"] { stroke: #12304A; }
.supply-scene-art [stroke="#DCECF8"] { stroke: #DCECF8; }

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    list-style: none;
    background: #FFFFFF;
}
.hero-benefits li { display: grid; grid-template-columns: 34px 1fr; gap: .15rem 1rem; padding: 1.65rem 1.5rem; border-right: 1px solid var(--line); }
.hero-benefits li:first-child { border-left: 1px solid var(--line); }
.hero-benefits span { grid-row: 1 / 3; color: #377DB5; font: 750 .72rem/1.5 var(--united-font-body); }
.hero-benefits strong { font-size: .92rem; }
.hero-benefits small { color: var(--muted); font-size: .72rem; line-height: 1.45; }

/* Category launch cards borrow the clean merchandising rhythm of Footflops. */
.united-store .hero-art { max-width: 1440px; min-height: 0; margin: 0 auto; padding: clamp(4rem, 7vw, 7rem) 4% 0; background: #FFFFFF; }
.collection-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 2.4rem; }
.collection-heading > span { grid-column: 1 / -1; color: #377DB5; }
.collection-heading h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); }
.collection-heading > a { padding-bottom: .35rem; border-bottom: 1px solid #12304A; font-size: .82rem; font-weight: 700; }
.united-store .quote-launch-options { gap: 1.25rem; }
.united-store .quote-launch-options > .supply-shortcut {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    min-height: 178px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    background: #F2F5F8;
    transition: background .25s, color .25s, transform .25s var(--united-ease);
}
.united-store .supply-shortcut-icon { width: 64px; height: 76px; border: 0; background: #FFFFFF; }
.united-store .supply-shortcut-copy strong { font-size: 1.25rem; }
.united-store .supply-shortcut-copy small { color: var(--muted); }
.united-store .supply-shortcut-action { display: block; color: #377DB5; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.united-store .quote-launch-options > .supply-shortcut:hover { background: #12304A; color: #FFFFFF; border-color: #12304A; }
.united-store .supply-shortcut:hover small { color: #DCECF8; }
.united-store .quote-launch-footer { border-color: #12304A; }

/* High-contrast content bands and sharp product-directory styling. */
.united-store .united-catalog-intro {
    margin-inline: calc(50% - 50vw);
    padding: clamp(4rem, 7vw, 7rem) max(5vw, calc((100vw - 1360px) / 2));
    border: 0;
    border-radius: 0;
    background: #12304A;
}
.united-store .united-catalog-intro::before { display: none; }
.united-store .catalog-intro-copy .section-kicker { color: #DCECF8; }
.united-store .catalog-intro-copy h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
.united-store .catalog-intro-copy p { color: #DCECF8; }
.united-store .united-catalog-intro .united-outline { padding: .9rem 1.1rem; }
.united-store .family-directory > a {
    min-height: 94px;
    padding: 1.3rem 1rem;
    border-bottom-color: #FFFFFF26;
}
.united-store .family-directory strong { font-weight: 720; letter-spacing: -.03em; }
.united-store .family-directory > a:is(:hover, :focus-visible) { background: #FFFFFF; color: #12304A; }

.united-store .united-process .section-heading h2 { max-width: 720px; font-size: clamp(2.1rem, 4vw, 3.8rem); }
.united-store .united-process .section-kicker { color: #377DB5; }
.united-store .process-list > li { border-style: solid; border-color: #12304A; }
.united-store .process-list .step-number { background: #12304A; color: #FFFFFF; border-color: #12304A; font-family: var(--united-font-body); font-size: .74rem; font-weight: 750; }
.united-store .process-list h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -.025em; }

.united-store .united-video-guide {
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 0;
    background: #12304A;
    color: #FFFFFF;
}
.united-store .united-video-guide p { color: #DCECF8; }
.united-store .united-video-guide a { color: #FFFFFF; }
.united-store .united-video-guide .video-wrapper { border: 0; background: #12304A; }
.united-store .play-button { background: #FFFFFF; color: #12304A; }
.united-store .united-donation { padding: 2.5rem; background: var(--light-accent); border-left: 5px solid #377DB5; border-radius: 0; }
.united-store .customer-feedbacks-container { padding-block: clamp(3rem, 6vw, 6rem); }
.united-store .feedback-title { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3.8rem); }
.united-store .feedback-card { border: 1px solid var(--line); border-radius: 0; background: #FFFFFF; }
.united-store .carousel-controls .btn { width: 46px; height: 46px; padding: 0; background: #12304A; }

.united-store .united-footer { margin-top: 0; padding-top: clamp(4rem, 7vw, 7rem); border-top: 0; background: #12304A; }
.united-store .united-footer .footer-lead h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); font-weight: 760; letter-spacing: -.06em; }
.united-store .footer-email input,
.united-store .footer-email button { border-radius: 0 !important; }

@media (max-width: 63.99rem) {
    .united-store .united-header { min-height: 76px; }
    .united-store .united-hero-stage { min-height: 0; padding-block: 4rem; }
    .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-benefits li:nth-child(2) { border-right: 0; }
    .hero-benefits li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .united-store .quote-launch-options > .supply-shortcut { grid-template-columns: 64px minmax(0, 1fr) auto; }
}

@media (max-width: 39.99rem) {
    .united-store .united-header { padding-inline: 1rem; }
    .united-store .united-brand { font-size: 1.35rem; }
    .united-store .united-brand img { width: 36px; height: 36px; }
    .united-store .menu-toggle { border-color: #FFFFFF70; color: #FFFFFF; }
    .united-store .united-header-actions { grid-template-columns: 1fr 1fr; }
    .united-store .united-main > .united-hero { margin-bottom: 4rem; }
    .united-store .united-hero-stage { display: grid; padding: 3.25rem 1.25rem 2rem; background: linear-gradient(180deg, #F2F5F8 0 58%, #DCECF8 58% 100%); }
    .united-store .united-hero-stage::after { bottom: 5%; font-size: 6rem; }
    .united-store .hero-copy h1 { font-size: clamp(3.15rem, 15vw, 4.6rem); }
    .united-store .hero-intro { font-size: .97rem; }
    .united-store .hero-actions { align-items: stretch; }
    .united-store .hero-actions .united-button { width: 100%; }
    .united-store .united-supply-scene { margin-top: 1rem; }
    .united-store .scene-note { right: .25rem; bottom: 11%; }
    .hero-benefits { grid-template-columns: 1fr; padding: 0; }
    .hero-benefits li, .hero-benefits li:first-child { border: 0; border-bottom: 1px solid var(--line); padding: 1.25rem; }
    .collection-heading { display: block; }
    .collection-heading > a { display: inline-block; margin-top: 1rem; }
    .united-store .hero-art { padding: 4rem 1.25rem 0; }
    .united-store .quote-launch-options > .supply-shortcut { grid-template-columns: 58px minmax(0, 1fr) auto; min-height: 126px; padding: 1.2rem; }
    .united-store .supply-shortcut-icon { width: 54px; height: 64px; }
    .united-store .united-catalog-intro { margin-inline: calc(50% - 50vw); padding: 4rem 1.25rem; }
    .united-store .united-video-guide { margin-inline: calc(50% - 50vw); padding: 3rem 1.25rem; }
    .united-store .united-donation { padding: 1.5rem; }
}
