/* Public commerce surface
 *
 * The shop uses the same blue-led public language as the current Stouter
 * site, while remaining scoped so authenticated Action Center surfaces keep
 * their own layout. This file is loaded only for public shop pages.
 */
:root {
    --shop-navy: #07133d;
    --shop-navy-deep: #04102e;
    --shop-blue: #165dce;
    --shop-blue-dark: #0a3d9c;
    --shop-cyan: #04b9ee;
    --shop-sky: #f1faff;
    --shop-surface: #ffffff;
    --shop-ink: #112044;
    --shop-muted: #52627c;
    --shop-line: #d4e6f3;
    --shop-coral: #ff6b3d;
    --shop-coral-dark: #ef572d;
    --shop-radius: 22px;
    --shop-shadow: 0 18px 42px rgba(7, 19, 61, .10);
}

html[data-site-theme="light"] body.shop-public-shell,
body.shop-public-shell {
    background: var(--shop-sky) !important;
    color: var(--shop-ink) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.shop-public-shell .topbar {
    padding-top: max(.8rem, env(safe-area-inset-top, 0px));
    background: var(--shop-navy) !important;
    backdrop-filter: blur(16px);
}

body.shop-public-shell .public-site-header {
    width: min(1180px, calc(100% - 2rem));
    min-height: 74px;
    margin: .28rem auto 0;
    padding: .55rem .7rem .55rem 1.05rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(.55rem, 1.4vw, 1.1rem);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
}

body.shop-public-shell .public-site-header__brand {
    width: 100%;
    max-width: 320px;
    gap: .75rem;
    overflow: visible;
}

body.shop-public-shell .public-site-header__logo {
    width: 84px !important;
    height: 56px !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.shop-public-shell .public-site-header__copy {
    width: max-content;
    max-width: 100%;
    gap: .1rem;
}

body.shop-public-shell .public-site-header__title {
    color: #fff !important;
    font-size: 1.08rem;
}

body.shop-public-shell .public-site-header__slogan { display: none; }

body.shop-public-shell .public-site-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.65rem, 2vw, 1.7rem);
}

body.shop-public-shell .public-site-header__nav a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .1rem;
    color: #fff !important;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 750;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

body.shop-public-shell .public-site-header__nav a i { display: none; }

body.shop-public-shell .public-site-header__nav a:hover,
body.shop-public-shell .public-site-header__nav a:focus-visible {
    color: #8edcff !important;
    border-color: var(--shop-coral);
    outline: none;
}

body.shop-public-shell .public-site-header__nav a[aria-current="page"] {
    color: #fff !important;
    border-color: var(--shop-coral);
    outline: none;
}

body.shop-public-shell .public-site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.05rem;
    border-radius: 11px;
    background: var(--shop-coral) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(255, 107, 61, .22);
    white-space: nowrap;
}

body.shop-public-shell .public-site-header__cta:hover,
body.shop-public-shell .public-site-header__cta:focus-visible {
    background: var(--shop-coral-dark) !important;
    outline: 3px solid rgba(255, 107, 61, .2);
    outline-offset: 2px;
}

body.shop-public-shell .public-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .42rem;
    min-width: 0;
}

body.shop-public-shell .public-site-header__profile-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .55) !important;
}

body.shop-public-shell .public-site-header__profile-btn:hover,
body.shop-public-shell .public-site-header__profile-btn:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, .1) !important;
    border-color: #fff !important;
    outline: 3px solid rgba(4, 185, 238, .2);
    outline-offset: 2px;
}

body.shop-public-shell .app-shell-content {
    width: 100%;
    max-width: none;
    padding: 0 clamp(1rem, 4vw, 4.5rem) 3rem;
    background: transparent !important;
    color: var(--shop-ink) !important;
}

body.shop-public-shell .app-shell-content > * {
    width: min(100%, 1136px);
    margin-inline: auto;
}

body.shop-public-shell .shop-page,
body.shop-public-shell .shop-detail-page,
body.shop-public-shell .shop-cart-page,
body.shop-public-shell .shop-checkout-page {
    display: grid;
    gap: 1rem;
    padding-top: 0;
}

body.shop-public-shell h1,
body.shop-public-shell h2,
body.shop-public-shell h3 {
    color: var(--shop-navy) !important;
    letter-spacing: -.035em;
}

body.shop-public-shell a { color: var(--shop-blue); }
body.shop-public-shell .muted { color: var(--shop-muted) !important; }

/* Catalog landing uses the same split hero as the other public pages. Keep
   only commerce-specific content styling here; geometry comes from the
   shared .stouter-page-hero contract. */
body.shop-public-shell .shop-page-hero h1 { color: #fff !important; }
body.shop-public-shell .shop-page-hero .stouter-kicker { color: #54c7ff !important; }
body.shop-public-shell .shop-page-hero .stouter-page-hero__visual img { width: min(100%, 520px); }

body.shop-public-shell .shop-toolbar__actions,
body.shop-public-shell .shop-toolbar,
body.shop-public-shell .shop-cart-actions,
body.shop-public-shell .shop-detail__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

body.shop-public-shell .shop-toolbar__actions { justify-content: flex-end; }

body.shop-public-shell .shop-toolbar__manage,
body.shop-public-shell .shop-card button,
body.shop-public-shell .shop-card__external,
body.shop-public-shell .shop-toolbar button,
body.shop-public-shell .shop-action-primary,
body.shop-public-shell .shop-add-form button,
body.shop-public-shell .shop-checkout-page button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: auto !important;
    min-height: 42px;
    margin: 0 !important;
    padding: .68rem .92rem !important;
    border: 1px solid var(--shop-coral) !important;
    border-radius: 11px !important;
    background: var(--shop-coral) !important;
    color: #fff !important;
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(255, 107, 61, .16);
    cursor: pointer;
}

body.shop-public-shell .shop-toolbar__manage:hover,
body.shop-public-shell .shop-toolbar__manage:focus-visible,
body.shop-public-shell .shop-card button:hover,
body.shop-public-shell .shop-card button:focus-visible,
body.shop-public-shell .shop-action-primary:hover,
body.shop-public-shell .shop-action-primary:focus-visible,
body.shop-public-shell .shop-add-form button:hover,
body.shop-public-shell .shop-add-form button:focus-visible,
body.shop-public-shell .shop-checkout-page button[type="submit"]:hover,
body.shop-public-shell .shop-checkout-page button[type="submit"]:focus-visible {
    background: var(--shop-coral-dark) !important;
    border-color: var(--shop-coral-dark) !important;
    outline: 3px solid rgba(255, 107, 61, .18);
    outline-offset: 2px;
}

body.shop-public-shell .shop-toolbar__manage {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .65) !important;
    box-shadow: none;
}

body.shop-public-shell .shop-toolbar__manage:hover,
body.shop-public-shell .shop-toolbar__manage:focus-visible {
    background: rgba(255, 255, 255, .1) !important;
    border-color: #fff !important;
}

body.shop-public-shell .shop-toolbar__cart {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 42px;
    padding: .62rem .85rem;
    border: 1px solid var(--shop-line);
    border-radius: 11px;
    background: var(--shop-surface);
    color: var(--shop-navy) !important;
    font-weight: 850;
    text-decoration: none;
}

body.shop-public-shell .shop-toolbar__cart:hover,
body.shop-public-shell .shop-toolbar__cart:focus-visible {
    border-color: #93baf4;
    background: #eaf5ff;
    outline: 3px solid rgba(22, 93, 206, .12);
    outline-offset: 2px;
}

body.shop-public-shell .shop-policy-strip,
body.shop-public-shell .shop-toolbar,
body.shop-public-shell .shop-categories {
    padding: .9rem 1rem;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 24px rgba(7, 19, 61, .05);
}

body.shop-public-shell .shop-policy-strip {
    display: flex;
    align-items: center;
    gap: .45rem .85rem;
    background: linear-gradient(100deg, #e9f8ff, #f2fbff);
    color: var(--shop-ink);
}

body.shop-public-shell .shop-policy-strip strong { margin-right: auto; color: var(--shop-navy); }
body.shop-public-shell .shop-policy-strip a { font-weight: 800; line-height: 1.25; text-underline-offset: 3px; white-space: nowrap; }

body.shop-public-shell .shop-toolbar { align-items: stretch; }
body.shop-public-shell .shop-toolbar form { display: flex; flex: 1 1 300px; gap: .55rem; }
body.shop-public-shell .shop-toolbar form input { flex: 1 1 auto; margin: 0 !important; }

body.shop-public-shell .shop-categories {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

body.shop-public-shell .shop-categories strong { width: 100%; color: var(--shop-navy); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

body.shop-public-shell .shop-category-link {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: .38rem .72rem;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    background: #fff;
    color: var(--shop-blue) !important;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

body.shop-public-shell .shop-category-link:hover,
body.shop-public-shell .shop-category-link:focus-visible,
body.shop-public-shell .shop-category-link.is-active {
    border-color: var(--shop-blue);
    background: #eaf5ff;
    color: var(--shop-blue-dark) !important;
    outline: none;
}

body.shop-public-shell .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

body.shop-public-shell .shop-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    background: var(--shop-surface);
    box-shadow: 0 10px 24px rgba(7, 19, 61, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.shop-public-shell .shop-card:hover {
    transform: translateY(-2px);
    border-color: #93baf4;
    box-shadow: 0 18px 34px rgba(7, 19, 61, .12);
}

body.shop-public-shell .shop-card__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eaf5ff;
}

body.shop-public-shell .shop-card__image--placeholder {
    display: grid;
    place-items: center;
    color: var(--shop-blue);
    font-size: 2rem;
}

body.shop-public-shell .shop-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

body.shop-public-shell .shop-card__type,
body.shop-public-shell .shop-detail__type {
    margin: 0 0 .25rem;
    color: var(--shop-blue) !important;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.shop-public-shell .shop-card h2 { margin: .1rem 0 .3rem; font-size: 1.08rem; line-height: 1.15; }
body.shop-public-shell .shop-card h2 a { color: var(--shop-navy) !important; text-decoration: none; }
body.shop-public-shell .shop-card h2 a:hover,
body.shop-public-shell .shop-card h2 a:focus-visible { color: var(--shop-blue) !important; text-decoration: underline; text-underline-offset: 3px; }
body.shop-public-shell .shop-card__sku { margin: .05rem 0 .4rem; color: var(--shop-muted); font-size: .78rem; }
body.shop-public-shell .shop-card__body > .muted { margin: 0; }
body.shop-public-shell .shop-card__price { margin: auto 0 .7rem; color: var(--shop-navy); font-size: 1.25rem; font-weight: 900; }
body.shop-public-shell .shop-card__body form { margin: 0; }
body.shop-public-shell .shop-card__out { margin: auto 0 0; color: #b42318; font-weight: 800; }
body.shop-public-shell .shop-card__external { margin-top: auto !important; background: #eaf5ff !important; border-color: #bfdbfe !important; color: var(--shop-blue-dark) !important; box-shadow: none; }
body.shop-public-shell .shop-card__external:hover,
body.shop-public-shell .shop-card__external:focus-visible { background: #dbeafe !important; border-color: #93baf4 !important; outline: 3px solid rgba(22, 93, 206, .12); outline-offset: 2px; }

/* Product detail */
body.shop-public-shell .shop-detail-page > p:first-child,
body.shop-public-shell .shop-back-link { margin: 0; }
body.shop-public-shell .shop-detail-page > p:first-child a,
body.shop-public-shell .shop-back-link a,
body.shop-public-shell .shop-cart-page > p:first-child a,
body.shop-public-shell .shop-checkout-page > p:first-child a { font-size: .82rem; font-weight: 800; text-decoration: none; }

body.shop-public-shell .shop-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: 1.2rem;
    align-items: start;
}

body.shop-public-shell .shop-detail__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

body.shop-public-shell .shop-detail__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    background: #eaf5ff;
    box-shadow: 0 10px 24px rgba(7, 19, 61, .07);
}

body.shop-public-shell .shop-detail__info,
body.shop-public-shell .shop-checkout__panel {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow);
}

body.shop-public-shell .shop-detail__info { position: sticky; top: 1rem; }
body.shop-public-shell .shop-detail__info h1 { margin: .25rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
body.shop-public-shell .shop-detail__price { margin: .75rem 0; color: var(--shop-navy); font-size: 1.55rem; font-weight: 900; }
body.shop-public-shell .shop-detail__description { line-height: 1.65; }
body.shop-public-shell .shop-add-form { display: grid; grid-template-columns: 100px auto; align-items: end; gap: .6rem; }
body.shop-public-shell .shop-add-form label { color: var(--shop-ink); font-size: .8rem; font-weight: 800; }
body.shop-public-shell .shop-add-form input { margin: .25rem 0 0 !important; }
body.shop-public-shell .shop-detail__external { display: inline-flex; align-items: center; min-height: 42px; padding: .68rem .92rem; border: 1px solid #bfdbfe; border-radius: 11px; background: #eaf5ff; color: var(--shop-blue-dark) !important; font-weight: 850; text-decoration: none; }
body.shop-public-shell .shop-detail__external:hover,
body.shop-public-shell .shop-detail__external:focus-visible { background: #dbeafe; outline: 3px solid rgba(22, 93, 206, .12); outline-offset: 2px; }
body.shop-public-shell .shop-detail__out { color: #b42318; font-weight: 800; }
body.shop-public-shell .shop-detail__sources,
body.shop-public-shell .shop-detail__policies { margin-top: 1.15rem; padding-top: .85rem; border-top: 1px solid var(--shop-line); font-size: .86rem; }
body.shop-public-shell .shop-detail__sources a { display: block; overflow-wrap: anywhere; }
body.shop-public-shell .shop-detail__policies h2 { margin: .05rem 0 .4rem; font-size: 1rem; }
body.shop-public-shell .shop-detail__policies ul { margin: .35rem 0; padding-left: 1.15rem; }
body.shop-public-shell .shop-detail__policies p { margin: .45rem 0; }

/* Cart and checkout */
body.shop-public-shell .shop-cart-page h1,
body.shop-public-shell .shop-checkout-page h1 { margin: .1rem 0 .15rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; }
body.shop-public-shell .shop-cart-page > p:not(:first-child),
body.shop-public-shell .shop-checkout-page > p:not(:first-child) { margin: 0; }
body.shop-public-shell .shop-cart { display: grid; gap: .7rem; }
body.shop-public-shell .shop-cart-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; gap: .85rem; padding: .85rem; border: 1px solid var(--shop-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(7, 19, 61, .06); }
body.shop-public-shell .shop-cart-row img,
body.shop-public-shell .shop-cart-row__placeholder { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 13px; object-fit: cover; background: #eaf5ff; color: var(--shop-blue); font-size: 1.45rem; }
body.shop-public-shell .shop-cart-row p { margin: .15rem 0 0; }
body.shop-public-shell .shop-cart-row__qty { display: grid; grid-template-columns: 74px auto; align-items: end; gap: .7rem; }
body.shop-public-shell .shop-cart-row__qty label { color: var(--shop-ink); font-size: .75rem; font-weight: 800; }
body.shop-public-shell .shop-cart-row__qty input { margin: .2rem 0 0 !important; }
body.shop-public-shell .shop-cart-remove { width: auto !important; margin: 0 !important; padding: .55rem .7rem !important; border: 1px solid #fecaca !important; border-radius: 10px !important; background: #fff !important; color: #b42318 !important; box-shadow: none !important; }
body.shop-public-shell .shop-cart-remove:hover,
body.shop-public-shell .shop-cart-remove:focus-visible { background: #fff1f2 !important; border-color: #fca5a5 !important; outline: 3px solid rgba(180, 35, 24, .12); outline-offset: 2px; }
body.shop-public-shell .shop-cart-summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem 0; border-top: 1px solid var(--shop-line); }
body.shop-public-shell .shop-cart-summary strong { color: var(--shop-navy); font-size: 1.3rem; }
body.shop-public-shell .shop-cart-actions a:not(.shop-action-primary) { display: inline-flex; align-items: center; min-height: 42px; padding: .68rem .92rem; border: 1px solid var(--shop-line); border-radius: 11px; background: #fff; color: var(--shop-blue-dark) !important; font-weight: 850; text-decoration: none; }
body.shop-public-shell .shop-cart-actions a:not(.shop-action-primary):hover,
body.shop-public-shell .shop-cart-actions a:not(.shop-action-primary):focus-visible { background: #eaf5ff; outline: 3px solid rgba(22, 93, 206, .12); outline-offset: 2px; }

body.shop-public-shell .shop-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 1.2rem; align-items: start; }
body.shop-public-shell .shop-checkout__panel h2 { margin: .05rem 0 .7rem; font-size: 1.15rem; }
body.shop-public-shell .shop-checkout__panel label { display: grid; gap: .25rem; color: var(--shop-ink); font-size: .82rem; font-weight: 800; }
body.shop-public-shell .shop-checkout__panel label + label { margin-top: .65rem; }
body.shop-public-shell .shop-checkout__summary { position: sticky; top: 1rem; height: max-content; }
body.shop-public-shell .shop-checkout__address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .65rem; }
body.shop-public-shell .shop-checkout__address-grid label + label { margin-top: 0; }
body.shop-public-shell .shop-checkout__item { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: .35rem 0; }
body.shop-public-shell .shop-checkout__item span { color: var(--shop-muted); }
body.shop-public-shell .shop-checkout__total { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: .8rem; padding-top: .75rem; border-top: 1px solid var(--shop-line); font-size: 1.1rem; font-weight: 850; }
body.shop-public-shell .shop-checkout__total--delivery { margin-top: .35rem; padding-top: 0; border-top: 0; font-size: .98rem; }
body.shop-public-shell .shop-checkout__total strong { color: var(--shop-navy); }
body.shop-public-shell .shop-rate-list { display: grid; gap: .45rem; margin-top: .6rem; }
body.shop-public-shell .shop-rate-list label { display: flex; align-items: flex-start; gap: .5rem; padding: .65rem .7rem; border: 1px solid var(--shop-line); border-radius: 11px; background: #f8fcff; }
body.shop-public-shell .shop-rate-list label + label { margin-top: 0; }
body.shop-public-shell .shop-rate-list input { width: auto; margin: .18rem 0 0 !important; }
body.shop-public-shell #shop-get-rates { width: auto !important; margin-top: .7rem !important; background: var(--shop-blue-dark) !important; border-color: var(--shop-blue-dark) !important; box-shadow: none; }
body.shop-public-shell #shop-get-rates:hover,
body.shop-public-shell #shop-get-rates:focus-visible { background: var(--shop-blue) !important; border-color: var(--shop-blue) !important; }
body.shop-public-shell .shop-confirmation { max-width: 720px; margin: clamp(2rem, 8vw, 6rem) auto 0; }

/* Public footer parity */
body.shop-public-shell .footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid #d5e8f4 !important;
    background: linear-gradient(180deg, #eef8fd 0%, #e7f3fb 100%) !important;
    color: var(--shop-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
}
body.shop-public-shell .footer__inner {
    width: min(1180px, calc(100% - clamp(2rem, 8vw, 9rem)));
    margin: 0 auto;
    padding: 2.4rem 0 1.15rem;
}
body.shop-public-shell .footer__top {
    display: grid;
    grid-template-columns: minmax(240px, 1.05fr) minmax(360px, .95fr);
    gap: clamp(2rem, 6vw, 5rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid #cfe3f0;
}
body.shop-public-shell .footer__brand-block { display: grid; align-content: start; justify-items: start; gap: .85rem; }
body.shop-public-shell .footer__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem; width: max-content; max-width: 100%; color: var(--shop-navy); }
body.shop-public-shell .footer__brand-home { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
body.shop-public-shell .footer__brand-title-link { color: inherit; text-decoration: none; }
body.shop-public-shell .footer__logo { display: block; width: 58px; height: 48px; object-fit: contain; object-position: center; }
body.shop-public-shell .footer__brand-copy { display: grid; gap: .25rem; min-width: 0; }
body.shop-public-shell .footer__title { display: inline-flex; align-items: baseline; gap: .18em; color: var(--shop-navy); font-size: 1.08rem; letter-spacing: -.025em; line-height: 1; }
body.shop-public-shell .footer__title-brand { font-weight: 850; }
body.shop-public-shell .footer__title-tech { font-weight: 500; }
body.shop-public-shell .footer__eyebrow,
body.shop-public-shell .footer__group-label { color: var(--shop-blue); font-size: .68rem; font-weight: 850; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
body.shop-public-shell .footer__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .12rem .32rem; color: var(--shop-blue); font-size: .68rem; font-weight: 850; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
body.shop-public-shell .footer__eyebrow a { color: inherit; text-decoration: none; }
body.shop-public-shell .footer__eyebrow a:hover,
body.shop-public-shell .footer__eyebrow a:focus-visible { color: var(--shop-navy); text-decoration: underline; text-underline-offset: 3px; outline: none; }
body.shop-public-shell .footer__slogan { max-width: 34ch; margin: 0; color: var(--shop-muted); font-size: .9rem; line-height: 1.5; }
body.shop-public-shell .footer__contact { max-width: 34ch; margin: -.25rem 0 0; color: var(--shop-muted); font-size: .82rem; line-height: 1.45; }
body.shop-public-shell .footer__contact a { color: var(--shop-blue) !important; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
body.shop-public-shell .footer__cta { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .62rem .88rem; border: 1px solid var(--shop-coral); border-radius: 10px; background: var(--shop-coral); color: #fff !important; font-size: .8rem; font-weight: 850; text-decoration: none; box-shadow: 0 8px 18px rgba(255, 107, 61, .18); }
body.shop-public-shell .footer__cta:hover,
body.shop-public-shell .footer__cta:focus-visible { background: var(--shop-coral-dark); border-color: var(--shop-coral-dark); outline: 3px solid rgba(255, 107, 61, .18); outline-offset: 2px; }
body.shop-public-shell .footer__link-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 1.1rem; }
body.shop-public-shell .footer__link-group { display: grid; align-content: start; justify-items: start; gap: .42rem; }
body.shop-public-shell .footer__group-label { margin: 0 0 .18rem; color: var(--shop-navy); }
body.shop-public-shell .footer__link-group a { color: var(--shop-muted) !important; font-size: .8rem; line-height: 1.35; text-decoration: none; }
body.shop-public-shell .footer__link-group a:hover,
body.shop-public-shell .footer__link-group a:focus-visible { color: var(--shop-blue) !important; text-decoration: underline; text-underline-offset: 3px; outline: none; }
body.shop-public-shell .footer__bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-top: 1rem; }
body.shop-public-shell .footer__copyright,
body.shop-public-shell .footer__made-for { margin: 0; color: #6b8199; font-size: .72rem; line-height: 1.4; }
body.shop-public-shell .footer__made-for { text-align: center; }

@media (max-width: 900px) {
    body.shop-public-shell .shop-detail,
    body.shop-public-shell .shop-checkout { grid-template-columns: 1fr; }
    body.shop-public-shell .shop-detail__info,
    body.shop-public-shell .shop-checkout__summary { position: static; }
    body.shop-public-shell .public-site-header { grid-template-columns: auto minmax(0, 1fr) auto !important; gap: .45rem; }
    body.shop-public-shell .public-site-header__nav { gap: .12rem; overflow: hidden; }
    body.shop-public-shell .public-site-header__nav a { padding-inline: .42rem; font-size: .77rem; }
    body.shop-public-shell .public-site-header__cta { padding-inline: .78rem; font-size: .78rem; }
    body.shop-public-shell .footer__top { grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 1.6rem; }
    body.shop-public-shell .footer__brand-block { justify-items: center; text-align: center; }
    body.shop-public-shell .footer__brand { justify-content: center; width: min(100%, 24rem); }
    body.shop-public-shell .footer__brand-copy { justify-items: center; }
    body.shop-public-shell .footer__slogan,
    body.shop-public-shell .footer__contact { max-width: 40ch; }
    body.shop-public-shell .footer__cta { justify-self: center; }
    body.shop-public-shell .footer__link-groups { width: min(100%, 36rem); justify-self: center; }
    body.shop-public-shell .footer__link-group { justify-items: center; text-align: center; }
    body.shop-public-shell .footer__made-for { text-align: center; justify-self: center; }
}

@media (max-width: 760px) {
    body.shop-public-shell .app-shell-content { padding-inline: .9rem; }
    body.shop-public-shell .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
    body.shop-public-shell .shop-toolbar__actions { justify-content: flex-start; }
    body.shop-public-shell .shop-policy-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: .55rem .8rem;
    }
    body.shop-public-shell .shop-policy-strip strong { grid-column: 1 / -1; grid-row: auto; margin-right: 0; }
    body.shop-public-shell .shop-policy-strip a { grid-row: auto; justify-self: start; }
    body.shop-public-shell .shop-policy-strip a:nth-of-type(1),
    body.shop-public-shell .shop-policy-strip a:nth-of-type(2) { grid-column: auto; }
    body.shop-public-shell .shop-policy-strip a:nth-of-type(3) { grid-column: 1 / -1; }
    body.shop-public-shell .public-site-header {
        width: calc(100% - .75rem);
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "brand actions";
        gap: .45rem;
        padding: .48rem .52rem;
        margin-bottom: 0;
    }
    body.shop-public-shell .public-site-header__brand { grid-area: brand; max-width: none; }
    body.shop-public-shell .public-site-header__nav { display: none; }
    body.shop-public-shell .public-site-header__actions { grid-area: actions; gap: .34rem; }
    body.shop-public-shell .public-site-header__logo { width: 50px !important; height: 42px !important; }
    body.shop-public-shell .public-site-header__title { font-size: .82rem; }
    body.shop-public-shell .public-site-header__cta { padding: .58rem .68rem; font-size: .74rem; }
    body.shop-public-shell .public-site-header__profile-btn { display: inline-flex !important; align-items: center; justify-content: center; }
    body.shop-public-shell .public-site-header__cta i { display: none; }
    body.shop-public-shell .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    body.shop-public-shell .shop-card__image { height: 155px; }
    body.shop-public-shell .shop-card__body { padding: .75rem; }
    body.shop-public-shell .shop-card h2 { font-size: .96rem; }
    body.shop-public-shell .shop-card__price { font-size: 1.05rem; }
    body.shop-public-shell .shop-card button,
    body.shop-public-shell .shop-card__external { width: 100% !important; min-height: 40px; padding-inline: .55rem !important; font-size: .74rem; }
    body.shop-public-shell .shop-detail__gallery { gap: .45rem; }
    body.shop-public-shell .shop-detail__gallery img { border-radius: 13px; }
    body.shop-public-shell .shop-add-form { grid-template-columns: 88px 1fr; }
    body.shop-public-shell .shop-add-form button { width: 100% !important; }
    body.shop-public-shell .shop-cart-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: .65rem; }
    body.shop-public-shell .shop-cart-row img,
    body.shop-public-shell .shop-cart-row__placeholder { width: 56px; height: 56px; }
    body.shop-public-shell .shop-cart-row__qty { grid-column: 2 / -1; grid-template-columns: 74px auto; }
    body.shop-public-shell .shop-cart-remove { grid-column: 3; grid-row: 1; }
    body.shop-public-shell .shop-checkout__address-grid { grid-template-columns: 1fr; }
    body.shop-public-shell .shop-checkout__address-grid label + label { margin-top: .65rem; }
    body.shop-public-shell .footer__link-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
    body.shop-public-shell .footer__link-group { justify-items: center; text-align: center; }
    body.shop-public-shell .footer__bottom { grid-template-columns: 1fr auto; gap: .65rem; }
    body.shop-public-shell .footer__made-for { grid-column: 1 / -1; grid-row: 2; text-align: center; justify-self: center; }
}

@media (max-width: 460px) {
    body.shop-public-shell .footer__brand-copy { gap: .4rem; }
    body.shop-public-shell .footer__brand-block { gap: 1rem; }
    body.shop-public-shell .footer__slogan { margin-top: .15rem; }
    body.shop-public-shell .footer__contact { margin-top: 0; }
    body.shop-public-shell .footer__link-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .7rem; row-gap: .8rem; }
    body.shop-public-shell .footer__link-group { justify-items: center; text-align: center; }
    body.shop-public-shell .footer__link-group:nth-child(3) { grid-column: auto; }
    body.shop-public-shell .footer__bottom { gap: .65rem; }
    body.shop-public-shell .footer__copyright { font-size: .68rem; }
}

@media (max-width: 340px) {
    body.shop-public-shell .footer__link-groups { grid-template-columns: 1fr; row-gap: 1rem; }
    body.shop-public-shell .footer__bottom { grid-template-columns: 1fr; align-items: center; text-align: center; }
    body.shop-public-shell .footer__made-for { grid-column: auto; grid-row: auto; text-align: center; justify-self: center; }
    body.shop-public-shell .footer-refresh-btn { justify-self: center; }
}

@media (max-width: 430px) {
    body.shop-public-shell .shop-grid { gap: .55rem; }
    body.shop-public-shell .shop-card__image { height: 132px; }
    body.shop-public-shell .shop-card__body { padding: .65rem; }
    body.shop-public-shell .shop-card__type { font-size: .61rem; letter-spacing: .07em; }
    body.shop-public-shell .shop-card h2 { font-size: .88rem; }
    body.shop-public-shell .shop-card__body > .muted { font-size: .78rem; }
    body.shop-public-shell .shop-detail__info,
    body.shop-public-shell .shop-checkout__panel { padding: 1rem; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    body.shop-public-shell .shop-card { transition: none; }
    body.shop-public-shell .shop-card:hover { transform: none; }
}

/* Final public-shell contrast guard. This intentionally sits at the end of
   the file because the shared header contains legacy light/dark theme rules
   that otherwise win on existing installs. */
body.shop-public-shell .public-site-header__nav a,
body.shop-public-shell .public-site-header__nav a:visited {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.shop-public-shell .public-site-header__nav a:hover,
body.shop-public-shell .public-site-header__nav a:focus-visible {
    color: #8edcff !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: var(--shop-coral) !important;
    box-shadow: none !important;
}

body.shop-public-shell .public-site-header__nav a[aria-current="page"],
body.shop-public-shell .public-site-header__nav a[aria-current="page"]:hover,
body.shop-public-shell .public-site-header__nav a[aria-current="page"]:focus-visible {
    color: #fff !important;
    background: transparent !important;
    border-color: var(--shop-coral) !important;
    box-shadow: inset 0 -2px var(--shop-coral) !important;
}

body.shop-public-shell .shop-page-hero h1,
body.shop-public-shell .shop-page-hero h1 strong,
body.shop-public-shell .shop-page-hero h1 span {
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

body.shop-public-shell .shop-page-hero .eyebrow,
body.shop-public-shell .shop-page-hero .shop-kicker,
body.shop-public-shell .shop-page-hero .section-kicker {
    color: #8edcff !important;
}

body.shop-public-shell .shop-toolbar form button,
body.shop-public-shell .shop-search button {
    width: auto !important;
    min-width: 78px;
    flex: 0 0 auto;
    white-space: nowrap !important;
}

/* The public theme bootstrap adds this attribute before paint. Include it in
   the selector so the light-theme app-shell heading rule cannot leak into the
   navy shop hero on an existing install. */
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero h1,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero h1 strong,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero h1 span,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .eyebrow,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .shop-kicker,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .section-kicker {
    color: #fff !important;
}

html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .eyebrow,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .shop-kicker,
html[data-site-theme="light"] body.public-app-shell.shop-public-shell .shop-page-hero .section-kicker {
    color: #8edcff !important;
}

/* Match the shared public shell at tablet widths. The full site map moves to
   the drawer/compact control at the same breakpoint as the other public pages. */
@media (max-width: 1080px) and (min-width: 761px) {
    body.shop-public-shell .public-site-header {
        grid-template-columns: minmax(0, 1fr) auto !important;
        row-gap: .45rem;
        padding-bottom: .56rem;
    }
    body.shop-public-shell .public-site-header__brand { grid-column: 1; grid-row: 1; }
    body.shop-public-shell .public-site-header__nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-top: .34rem;
        border-top: 1px solid rgba(255, 255, 255, .16) !important;
    }
    body.shop-public-shell .public-site-header__actions { grid-column: 2; grid-row: 1; }
}

/* At the compact tablet size the reference public pages show the brand, CTA,
   and menu control in one clean row. Keep Shop on that exact wrapper contract. */
@media (max-width: 900px) and (min-width: 761px) {
    body.shop-public-shell .public-site-header {
        width: min(1180px, calc(100% - 2rem)) !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "brand actions";
        min-height: 68px !important;
        margin: .28rem auto 0;
        padding: .48rem .72rem .48rem 1rem;
        row-gap: 0;
    }
    body.shop-public-shell .public-site-header__brand {
        grid-area: brand;
        grid-column: auto;
        grid-row: auto;
        max-width: none;
    }
    body.shop-public-shell .public-site-header__logo { width: 70px !important; height: 50px !important; }
    body.shop-public-shell .public-site-header__title { font-size: 1rem; }
    body.shop-public-shell .public-site-header__nav { display: none !important; }
    body.shop-public-shell .public-site-header__actions {
        grid-area: actions;
        grid-column: auto;
        grid-row: auto;
    }
    body.shop-public-shell .public-site-header__cta {
        padding: .6rem .92rem;
        font-size: .8rem;
    }
    body.shop-public-shell .public-site-header__profile-btn {
        display: inline-flex !important;
        width: 40px;
        min-width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }
    body.shop-public-shell .public-site-header__profile-btn-label { display: none !important; }
}

/* Keep Shop on the same transparent Stouter lockup as the shared public
   shell, with the light variant available for any light commerce chrome. */
body.shop-public-shell .public-site-header__brand--wordmark {
    display: flex;
    align-items: center;
    gap: 0;
    width: clamp(210px, 25vw, 300px);
    max-width: clamp(210px, 25vw, 300px);
}
body.shop-public-shell .public-site-header__wordmark {
    position: relative;
    display: block;
    width: min(100%, 290px);
    aspect-ratio: 1200 / 480;
    min-width: 0;
    flex: 1 1 150px;
}
body.shop-public-shell .public-site-header__wordmark > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
body.shop-public-shell .public-site-header__wordmark > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.shop-public-shell .public-site-header__wordmark-dark { display: none !important; }
body.shop-public-shell .public-profile-drawer__head-main--wordmark { flex: 1 1 auto; }
body.shop-public-shell .public-profile-drawer__wordmark {
    position: relative;
    display: block;
    width: min(220px, 100%);
    aspect-ratio: 1200 / 480;
    min-width: 0;
    flex: 1 1 150px;
}
body.shop-public-shell .public-profile-drawer__wordmark > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
body.shop-public-shell .public-profile-drawer__wordmark > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.shop-public-shell .public-profile-drawer__wordmark-dark { display: none !important; }
body.shop-public-shell .footer__brand--wordmark {
    grid-template-columns: minmax(0, 1fr);
    gap: .72rem;
    width: min(100%, 360px);
}
body.shop-public-shell .footer__brand--wordmark .footer__brand-home {
    display: flex;
    width: min(100%, 350px);
}
body.shop-public-shell .footer__logo-picture--wordmark {
    display: block;
    width: min(100%, 350px);
    aspect-ratio: 1200 / 480;
}
body.shop-public-shell .footer__logo--wordmark {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.shop-public-shell .footer__brand--wordmark .footer__brand-copy { display: block; }
@media (max-width: 760px) {
    body.shop-public-shell .public-site-header__brand--wordmark { width: min(100%, 230px); max-width: min(100%, 230px); }
    body.shop-public-shell .public-site-header__brand--wordmark .public-site-header__wordmark { width: min(100%, 220px); }
    body.shop-public-shell .public-profile-drawer__wordmark { width: min(180px, 100%); }
}
