:root {
    --shop-ink: #10141c;
    --shop-muted: #6b7280;
    --shop-line: #e7e5e0;
    --shop-bg: #fff;
    --shop-navy: #0b1f3a;
    --shop-navy-2: #123056;
    --shop-soft: #f4f5f7;
    --shop-radius: 12px;
    --shop-font: "Inter", "Segoe UI", system-ui, sans-serif;
    --shop-top-h: 64px;
}
* { box-sizing: border-box; }
html { height: 100%; }
body.shop-body {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--shop-ink);
    background: var(--shop-bg);
    font-family: var(--shop-font);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
#shop-main { flex: 1 1 auto; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.shop-skip {
    position: absolute; left: .75rem; top: -3rem; background: #fff; padding: .4rem .7rem; z-index: 40;
}
.shop-skip:focus { top: .5rem; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.shop-header {
    position: sticky; top: 0; z-index: 80;
    background: var(--shop-navy); color: #fff;
}
.shop-header-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .65rem;
    max-width: 1180px; margin: 0 auto; padding: .7rem 1rem;
    min-height: 64px;
}
.shop-brand { order: 1; }
.shop-nav-desktop { order: 3; }
.shop-tools { order: 4; }
.shop-header-search.shop-search {
    order: 5; flex: 1 1 100%;
    max-width: none; margin: 0;
}
.shop-header-search.shop-search input { padding: .6rem .85rem; }
.shop-header-search.shop-search button { width: 44px; font-size: 1rem; }
.shop-brand {
    display: flex; align-items: center; gap: .55rem;
    color: #fff; text-decoration: none; min-width: 0; flex: 1 1 auto;
}
.shop-brand img {
    height: 34px; width: auto; flex: none;
    background: #fff; border-radius: 6px; padding: 2px;
}
.shop-brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; overflow: hidden; }
.shop-brand-text strong {
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shop-brand-text small {
    font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; opacity: .72; font-weight: 600;
}
.shop-tools { display: flex; align-items: center; flex-wrap: nowrap; gap: .15rem; flex: none; }
.shop-tool {
    position: relative; display: inline-flex; align-items: center; gap: .35rem;
    color: #fff; text-decoration: none; padding: .4rem .45rem; border-radius: 8px;
    font-size: .88rem; font-weight: 600; border: 0; background: transparent; cursor: pointer;
}
.shop-tool[hidden] { display: none !important; }
.shop-nav-desktop { display: none; }
.shop-tool i { font-size: 1.2rem; line-height: 1; }
.shop-tool-account {
    display: inline-flex;
    width: 42px; height: 42px; padding: 0;
    justify-content: center; align-items: center;
}
.shop-tool-account .shop-account-label { display: none; }
.shop-account-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 999px;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--shop-navy); font-size: .72rem; font-weight: 800;
    letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.shop-tool-account.is-auth .bi-person { display: none; }
.shop-tool-cart span:not(.shop-cart-count) { display: none; }
.shop-currency-wrap { display: inline-flex; align-items: center; margin-right: .1rem; }
.shop-currency {
    height: 34px; min-width: 4.4rem; max-width: 5.5rem; padding: 0 1.6rem 0 .55rem;
    border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
    background: rgba(255,255,255,.08)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E")
        no-repeat right .45rem center;
    color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
    appearance: none; outline: none; cursor: pointer;
}
.shop-currency option { color: var(--shop-ink); background: #fff; }
.shop-cart-count {
    position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
    background: #fff; color: var(--shop-navy); border-radius: 999px; font-size: .65rem;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.shop-cart-count[hidden] { display: none; }
.shop-nav-toggle {
    width: 42px; height: 42px; border: 0; border-radius: 8px; background: transparent; color: #fff;
    font-size: 1.45rem;
}
.shop-nav[hidden] { display: none !important; }
.shop-nav {
    position: fixed; z-index: 100; right: 0; top: 0; bottom: 0; left: auto;
    width: min(300px, 84vw); height: 100dvh;
    display: flex; flex-direction: column;
    background: #fff; color: var(--shop-ink);
    box-shadow: -16px 0 40px rgba(11, 31, 58, .18);
    overflow: auto; overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .28s;
}
.shop-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
.shop-nav-head { display: flex; flex: none; margin: 0; border-bottom: 1px solid var(--shop-line); padding: 1.05rem 1.15rem; }
.shop-nav-head strong { font-size: 1.08rem; font-weight: 750; }
.shop-nav-links { display: flex; flex-direction: column; padding: .35rem 0 1rem; }
.shop-nav a, .shop-nav-desktop a {
    color: var(--shop-ink); text-decoration: none; padding: .85rem 1.2rem;
    font-size: 1rem; font-weight: 600;
}
.shop-nav a:hover, .shop-nav a[aria-current="page"] { color: var(--shop-navy); background: var(--shop-soft); }
.shop-nav-account {
    display: block; width: 100%; text-align: left; border: 0; background: transparent;
    color: var(--shop-ink); text-decoration: none; padding: .85rem 1.2rem;
    font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.shop-nav-account:hover { color: var(--shop-navy); background: var(--shop-soft); }
.shop-account-modal { display: grid; gap: .85rem; }
.shop-account-hero {
    display: flex; align-items: center; gap: .85rem;
    padding: .9rem 1rem; border-radius: 12px; background: var(--shop-soft);
}
.shop-account-hero-av {
    flex: none; width: 48px; height: 48px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--shop-navy); color: #fff; font-weight: 800; font-size: .95rem;
}
.shop-account-hero strong { display: block; font-size: 1.02rem; }
.shop-account-hero .meta { margin: .2rem 0 0; }
.shop-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.1rem .7rem; border-bottom: 1px solid var(--shop-line); margin-bottom: .25rem;
}
.shop-modal-head strong { font-size: 1.05rem; font-weight: 750; }
.shop-nav-x, .shop-filter-close, .shop-dialog-x, .shop-drawer-x {
    width: 36px; height: 36px; border: 0; border-radius: 9px; background: var(--shop-soft);
    color: var(--shop-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}

#view-home { padding-top: 1rem; }
.shop-banner {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
    width: min(1180px, calc(100% - 2rem)); min-height: 104px;
    margin: 0 auto 1rem; padding: .95rem 1rem .95rem 1.2rem;
    border: 1px solid #d5e1ee; border-radius: 16px; overflow: hidden;
    background: linear-gradient(105deg, #ffffff 0%, #f4f8fc 38%, #d4e4f6 100%);
    box-shadow: 0 1px 2px rgba(11, 31, 58, .05);
    scroll-margin-top: calc(var(--shop-top-h) + 12px);
}
.shop-banner-copy { min-width: 0; position: relative; z-index: 1; padding: .1rem 0; }
.shop-banner-visual {
    flex: none; width: 168px; height: 78px;
    display: flex; align-items: center; justify-content: flex-end;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
}
.shop-banner-photo {
    width: 100%; height: 100%; display: block; object-fit: contain; object-position: right center;
}
.shop-banner:not(:has(.shop-banner-visual)) { padding-right: 1.2rem; }
.shop-banner-kicker {
    margin: 0; color: var(--shop-navy); font-size: 1.12rem; font-weight: 800;
    letter-spacing: -.02em; line-height: 1.3;
}
.shop-banner-text {
    margin: .2rem 0 0; color: #5c6778; font-size: .84rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-search {
    display: flex; align-items: stretch; border: 1px solid #d7d3cc; border-radius: 10px;
    background: #fff; overflow: hidden; max-width: 34rem;
}
.shop-search input {
    flex: 1; border: 0; background: transparent; padding: .85rem 1rem; min-width: 0; outline: none;
}
.shop-search button {
    width: 52px; border: 0; background: var(--shop-navy); color: #fff; font-size: 1.1rem; cursor: pointer;
}
.shop-search:focus-within { border-color: #9bb0d4; box-shadow: 0 0 0 3px rgba(11, 31, 58, .12); }

.shop-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1rem 2.4rem; }
.shop-cats-title {
    margin: 0 0 .9rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em;
}
.shop-cats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem .9rem; margin: 0 0 1.5rem;
}
.shop-cats[hidden] { display: none !important; }
.shop-cat {
    display: flex; flex-direction: column; align-items: center; gap: .55rem;
    color: inherit; text-decoration: none; min-width: 0;
}
.shop-cat-media {
    display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
    background: var(--shop-soft); border: 1px solid var(--shop-line);
}
.shop-cat-media img, .shop-cat-media .shop-ph {
    width: 100%; height: 100%; object-fit: cover;
}
.shop-cat-media .shop-ph { display: grid; place-items: center; color: #9aa4b2; font-size: 1.6rem; background: var(--shop-soft); }
.shop-cat-label {
    font-size: .88rem; font-weight: 650; text-align: center; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-cat:hover .shop-cat-media, .shop-cat:focus-visible .shop-cat-media { border-color: var(--shop-navy); }
.shop-cat.is-on .shop-cat-media { outline: 2px solid var(--shop-navy); outline-offset: 2px; border-color: transparent; }

.shop-mode-tabs {
    display: inline-flex; gap: .35rem; margin: 0 0 1rem; padding: .25rem;
    background: #eef2f7; border-radius: 999px;
}
.shop-mode-tab {
    border: 0; background: transparent; color: var(--shop-muted);
    font: inherit; font-weight: 650; font-size: .88rem;
    padding: .45rem 1rem; border-radius: 999px; cursor: pointer;
}
.shop-mode-tab.is-active {
    background: #fff; color: var(--shop-navy); box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.shop-toolbar {
    display: flex; align-items: baseline; gap: .65rem 1rem; flex-wrap: wrap; margin: 0 0 1rem;
}
.shop-toolbar[hidden] { display: none !important; }
.shop-stock-title { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.shop-toolbar p { margin: 0 0 0 auto; color: var(--shop-muted); font-size: .88rem; font-weight: 500; }
.shop-collage {
    display: grid; width: 100%; height: 210px; gap: 2px; background: #e8edf3;
}
.shop-collage-2 { grid-template-columns: 1fr 1fr; }
.shop-collage-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.shop-collage-3 img:first-child { grid-row: 1 / span 2; }
.shop-collage-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.shop-collage img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.shop-kit-comps { list-style: none; padding: 0; margin: .75rem 0 0; }
.shop-kit-comps li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .4rem 0; border-bottom: 1px solid var(--shop-line); font-size: .9rem;
}
.shop-kit-comps li span { min-width: 0; }
.shop-kit-comps li strong { flex: none; }
.shop-crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .75rem;
    margin: 0 0 1rem; color: var(--shop-muted); font-size: .85rem;
}
.shop-crumb-back {
    display: inline-flex; align-items: center; gap: .4rem; border: 0; background: transparent;
    color: var(--shop-navy); font-weight: 700; font-size: .85rem; padding: .3rem 0; cursor: pointer;
}
.shop-crumb-back:hover { text-decoration: underline; }
.shop-crumb-label { font-weight: 650; color: var(--shop-ink); }
.shop-crumb-label::before { content: "/"; margin-right: .75rem; color: var(--shop-line); }

/* Mobile-first: dense 2-column grid of cards (image on top, info below). */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem .6rem; }
.shop-grid[hidden] { display: none !important; }
.shop-grid.is-empty { grid-template-columns: 1fr; }
.shop-card {
    background: #fff; border: 1px solid var(--shop-line); border-radius: 10px; overflow: hidden;
    display: flex; flex-direction: column; min-width: 0;
}
.shop-card-open {
    display: flex; flex-direction: column; min-width: 0;
    border: 0; background: transparent; padding: 0; width: 100%; cursor: pointer; color: inherit; text-align: left;
}
.shop-card-media {
    display: block; background: transparent; aspect-ratio: 1 / 1; flex: none;
}
.shop-card-media img, .shop-card-media .shop-ph {
    width: 100%; height: 100%; object-fit: contain; background: transparent;
}
.shop-ph { display: grid; place-items: center; color: #b0aa9f; font-size: 1.6rem; background: transparent; }
.shop-card-body { padding: .3rem .7rem .75rem; }
.shop-card-info { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .7rem 0; flex: 1; }
.shop-card-brand {
    margin: 0; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 750; color: #4b5563;
}
.shop-card-name {
    margin: 0; font-size: .85rem; line-height: 1.28; font-weight: 700; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.2em;
}
.shop-card-sku { display: block; margin: 0; color: var(--shop-muted); font-size: .72rem; }
.shop-card-row {
    display: flex; flex-direction: column; align-items: stretch; gap: .5rem; margin-top: .55rem;
}
.shop-card-row .stock { margin: 0; font-size: .78rem; }
.shop-card .price, .price { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; }
.shop-card .shop-btn {
    width: 100%; min-height: 36px; padding: .4rem .8rem; border-radius: 999px;
    background: #fff; color: var(--shop-ink); border: 1px solid #cfc9be; font-size: .82rem; font-weight: 650;
}
.shop-card .shop-btn:hover { background: var(--shop-navy); color: #fff; border-color: transparent; }
.shop-card .shop-btn:disabled { background: var(--shop-soft); color: #8b8680; border-color: transparent; }

/* Large screens: keep the Amazon-like horizontal card, but stop wasting the whole row on a single
   item. On wide screens, cards become compact horizontal rows and the grid can place a second
   product beside the first one when available. */
@media (min-width: 700px) {
    .shop-grid { grid-template-columns: 1fr; gap: .85rem; }
    .shop-card {
        display: grid; grid-template-columns: 132px minmax(0, 1fr);
        align-items: center; gap: .85rem 1rem; padding: .75rem .9rem;
    }
    .shop-card-open { width: auto; padding: 0; }
    .shop-card-media { width: 132px; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--shop-soft); }
    .shop-card-side { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; min-width: 0; }
    .shop-card-copy { width: 100%; }
    .shop-card-info { padding: 0; gap: .15rem; }
    .shop-card-name { font-size: 1rem; min-height: 0; -webkit-line-clamp: 2; }
    .shop-card-sku { font-size: .8rem; }
    .shop-card-body { padding: 0; }
    .shop-card-row { flex-direction: column; align-items: flex-start; gap: .4rem; margin-top: .2rem; }
    .shop-card .price, .price { font-size: 1.2rem; }
    .shop-card .shop-btn { width: auto; min-width: 148px; min-height: 38px; padding: .4rem 1.05rem; font-size: .88rem; white-space: nowrap; }
}

.shop-empty {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    min-height: 240px; padding: 2rem 1rem; border: 1px solid var(--shop-line); border-radius: 12px;
}
.shop-empty-icon {
    width: 52px; height: 52px; border-radius: 12px; background: var(--shop-soft); color: var(--shop-navy);
    display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .75rem;
}
.shop-empty-title { margin: 0; font-size: 1.1rem; font-weight: 750; }
.shop-empty-text { margin: .4rem 0 1rem; color: var(--shop-muted); max-width: 28rem; }

.shop-btn {
    border: 0; background: var(--shop-navy); color: #fff; border-radius: 9px; min-height: 44px; padding: .65rem 1rem;
    font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.shop-btn:hover { background: var(--shop-navy-2); }
.shop-btn:disabled { background: #e8e4dc; color: #8b8680; cursor: not-allowed; }
.shop-btn.secondary { background: #fff; color: var(--shop-ink); border: 1px solid #d9d4cb; }
/* Add-to-cart actions: Amazon-style yellow so the primary buying action stands out from navy chrome. */
.shop-btn[data-add]:not(:disabled),
.shop-btn[data-add-kit]:not(:disabled),
#shop-modal-add:not(:disabled),
#shop-modal-add-kit:not(:disabled) {
    background: #FFD814; color: #0F1111; border: 1px solid #FCD200;
}
.shop-btn[data-add]:not(:disabled):hover,
.shop-btn[data-add-kit]:not(:disabled):hover,
#shop-modal-add:not(:disabled):hover,
#shop-modal-add-kit:not(:disabled):hover {
    background: #F7CA00; color: #0F1111; border-color: #F2C200;
}
.shop-pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.shop-pager:empty { display: none; }
.shop-pager[hidden] { display: none !important; }
.shop-pager .shop-btn { min-width: 42px; background: #fff; color: var(--shop-ink); border: 1px solid #d9d4cb; }
.shop-pager .shop-btn[aria-current="page"] { background: var(--shop-navy); color: #fff; border-color: transparent; }

.shop-filters[hidden] { display: none !important; }
.shop-filters {
    display: block;
    position: fixed; z-index: 90; left: 50%; top: 10vh;
    width: min(400px, calc(100vw - 1.5rem)); max-height: 80dvh; overflow: auto;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 31, 58, .22);
    padding: 0 1.1rem 1.1rem;
    transform: translate(-50%, 14px); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s linear .28s;
}
.shop-filters.is-open {
    transform: translate(-50%, 0); opacity: 1;
    visibility: visible; pointer-events: auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s;
}
.shop-filter-block { margin: .85rem 0; }
.shop-filter-block > label, .shop-filter-label {
    display: block; margin-bottom: .4rem; font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: #6b7280;
}
.shop-select, .shop-price-row input, .shop-form input, .shop-form select, .shop-form textarea {
    width: 100%; min-width: 0; height: 46px; border: 1px solid #d9d4cb; border-radius: 10px; background: #fff;
    padding: 0 .9rem; outline: none; appearance: none; font-size: .9rem;
}
.shop-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem;
}
.shop-form textarea { height: auto; min-height: 96px; padding: .75rem .9rem; resize: vertical; }
.shop-select:focus, .shop-price-row input:focus, .shop-form input:focus, .shop-form select:focus, .shop-form textarea:focus {
    border-color: #9bb0d4; box-shadow: 0 0 0 3px rgba(11, 31, 58, .1);
}
.shop-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }

.shop-shade {
    position: fixed; inset: 0; z-index: 70; background: rgba(11, 31, 58, .45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.shop-shade.is-open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .25s ease, visibility 0s;
}
.shop-shade[hidden] { display: none; }

.shop-drawer {
    position: fixed; z-index: 100; top: 0; right: 0; bottom: 0;
    width: min(420px, 100vw); display: flex; flex-direction: column;
    background: #fff; box-shadow: -18px 0 40px rgba(11, 31, 58, .18);
    transform: translateX(105%);
    visibility: hidden; pointer-events: none;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .28s;
}
.shop-drawer.is-open {
    transform: translateX(0);
    visibility: visible; pointer-events: auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
.shop-drawer[hidden] { display: none; }
.shop-drawer-head {
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: 1.05rem 1.15rem; border-bottom: 1px solid var(--shop-line);
}
.shop-drawer-title { margin: 0; font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em; }
.shop-drawer-body {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .85rem 1.15rem 1.1rem;
    scrollbar-width: thin;
}
.shop-drawer-foot {
    flex: none; padding: 1rem 1.15rem 1.2rem; border-top: 1px solid var(--shop-line); background: #fafafa;
}
.shop-drawer-foot[hidden] { display: none; }
.shop-dialog-summary {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .85rem;
}
.shop-dialog-summary dt { margin: 0; font-size: .88rem; font-weight: 650; color: var(--shop-muted); }
.shop-dialog-summary dd { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.shop-drawer-foot .shop-btn { width: 100%; }
.shop-cart-line {
    display: grid; grid-template-columns: 72px 1fr; gap: .85rem; padding: .95rem 0; border-bottom: 1px solid var(--shop-line);
}
.shop-cart-line:last-child { border-bottom: 0; }
.shop-cart-line-media img, .shop-cart-line-media .shop-ph {
    width: 72px; height: 72px; object-fit: contain; background: transparent; border-radius: 10px;
}
.shop-cart-line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.shop-cart-line-top strong { font-size: .94rem; font-weight: 700; line-height: 1.35; }
.shop-cart-line-total { flex: none; font-weight: 750; white-space: nowrap; }
.shop-cart-line-main .meta { margin: .2rem 0 .55rem; font-size: .8rem; color: var(--shop-muted); }
.shop-cart-line-actions { display: flex; align-items: center; gap: .85rem; }
.shop-cart-remove {
    width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #e11d48; cursor: pointer;
}
.shop-cart-note, .shop-note { background: var(--shop-soft); color: var(--shop-muted); border-radius: 10px; padding: .8rem .9rem; }
.shop-alert.warn { background: #fff7ed; color: #9a3412; border-radius: 10px; padding: .8rem .9rem; }
.shop-alert.ok { background: #ecfdf3; color: #166534; padding: 1.2rem; border-radius: 12px; }

/* Pastilles statut commande */
.shop-status-pill {
    display: inline-flex; align-items: center; max-width: 100%;
    padding: .28rem .65rem; border-radius: 999px;
    font-size: .72rem; font-weight: 750; letter-spacing: .02em; line-height: 1.2;
    white-space: nowrap;
}
.shop-status-pill.is-nouvelle { background: #e8f1ff; color: #1d4ed8; }
.shop-status-pill.is-en_cours,
.shop-status-pill.is-a_confirmer { background: #fff7ed; color: #c2410c; }
.shop-status-pill.is-acceptee { background: #ecfdf3; color: #15803d; }
.shop-status-pill.is-convertie { background: #eef2ff; color: #4338ca; }
.shop-status-pill.is-refusee,
.shop-status-pill.is-annulee { background: #fef2f2; color: #b91c1c; }

.shop-order-list { display: grid; gap: .85rem; }
.shop-order-card {
    display: grid; gap: .55rem; text-align: left; width: 100%;
    padding: 1rem 1.05rem 1rem 1rem;
    border: 1px solid var(--shop-line); border-left: 4px solid #94a3b8;
    border-radius: 14px; background: #fff; cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 31, 58, .04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.shop-order-card:hover { border-color: #c9d3e3; box-shadow: 0 8px 22px rgba(11, 31, 58, .08); transform: translateY(-1px); }
.shop-order-card.is-nouvelle { border-left-color: #3b82f6; }
.shop-order-card.is-en_cours,
.shop-order-card.is-a_confirmer { border-left-color: #f59e0b; }
.shop-order-card.is-acceptee { border-left-color: #22c55e; }
.shop-order-card.is-convertie { border-left-color: #6366f1; }
.shop-order-card.is-refusee,
.shop-order-card.is-annulee { border-left-color: #ef4444; }
.shop-order-card-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
}
.shop-order-card-top strong { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.shop-order-card-meta { margin: 0; color: var(--shop-muted); font-size: .82rem; }
.shop-order-card-total { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.shop-order-detail-lines { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .45rem; }
.shop-order-detail-lines li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px solid var(--shop-line); font-size: .9rem;
}
.shop-order-detail-lines li:last-child { border-bottom: 0; }

.shop-dialog {
    position: fixed; z-index: 90; left: 50%; top: 10vh;
    display: flex; flex-direction: column; width: min(520px, calc(100vw - 1.5rem));
    max-height: 80dvh; overflow: hidden; background: #fff; border-radius: 16px;
    box-shadow: 0 24px 60px rgba(11, 31, 58, .22);
    transform: translate(-50%, 14px); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s linear .28s;
}
.shop-dialog.is-open {
    transform: translate(-50%, 0); opacity: 1;
    visibility: visible; pointer-events: auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s;
}
.shop-dialog[hidden] { display: none; }
.shop-dialog-head {
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: 1.05rem 1.2rem .95rem; border-bottom: 1px solid var(--shop-line);
}
.shop-dialog-title { margin: 0; font-size: 1.08rem; font-weight: 750; }
.shop-dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1rem 1.2rem 1.15rem; }
.shop-dialog-foot { flex: none; padding: 1rem 1.2rem 1.2rem; border-top: 1px solid var(--shop-line); }
.shop-dialog-foot[hidden] { display: none; }

.shop-panel {
    background: #fff; border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1.35rem 1.4rem;
}
.shop-page-title { margin: 1.2rem 0 1rem; font-size: 1.65rem; font-weight: 800; letter-spacing: -.035em; }
.shop-form { display: grid; gap: .75rem; }
.shop-form[hidden] { display: none; }
.shop-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 650; }
.shop-form input[type="checkbox"],
.shop-confirm input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    margin: .15rem 0 0;
    padding: 0;
    border: 1px solid #9ca3af;
    border-radius: 3px;
    background: #fff;
    flex: none;
    accent-color: #0b1f3a;
    cursor: pointer;
}
.shop-form label:has(input[type="checkbox"]),
.shop-confirm {
    display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; color: #4b5563;
    line-height: 1.4; padding: .85rem 1rem; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px;
}
.shop-confirm span { flex: 1; }
.shop-line { display: grid; grid-template-columns: 84px 1fr; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--shop-line); }
.shop-total { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.shop-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.shop-tabs .shop-btn { flex: 1; }
.shop-page-copy { display: grid; gap: .85rem; color: #374151; font-size: .98rem; line-height: 1.6; }
.shop-page-copy p { margin: 0; }
.shop-page-contact { color: var(--shop-muted); }
.shop-checkout-grid { display: grid; gap: 1.25rem; }
.shop-checkout-recap {
    background: #fff; border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1.2rem 1.25rem;
}
.shop-meta, .meta { color: var(--shop-muted); font-size: .84rem; }

.shop-fab {
    position: fixed; z-index: 95;
    right: .85rem; bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    pointer-events: none;
}
.shop-fab-btn {
    pointer-events: auto;
    width: 40px; height: 40px; border-radius: 999px; border: 0; padding: 0;
    display: grid; place-items: center; cursor: pointer;
    color: #fff; text-decoration: none; font-size: 1.05rem; line-height: 1;
    box-shadow: 0 6px 16px rgba(11, 31, 58, .22);
    transition: transform .15s ease, box-shadow .15s ease;
    appearance: none; -webkit-appearance: none;
}
.shop-fab-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 31, 58, .28); color: #fff; }
.shop-fab-btn.is-call { background: #0b1f3a; }
.shop-fab-btn.is-wa { background: #25d366; }
.shop-fab-btn.is-mail { background: #1d4e89; }
.shop-fab-btn.is-disabled { opacity: .45; cursor: not-allowed; }

.shop-leave {
    position: fixed; inset: 0; z-index: 120;
    display: grid; place-items: center;
    padding: 1rem;
    background: rgba(11, 31, 58, .45);
}
.shop-leave[hidden] { display: none !important; }
.shop-leave-card {
    width: min(340px, 100%);
    background: #fff; border-radius: 16px;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 18px 40px rgba(11, 31, 58, .28);
}
.shop-leave-kicker {
    margin: 0 0 .35rem; font-size: .68rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--shop-muted);
}
.shop-leave-title { margin: 0 0 .45rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.shop-leave-text { margin: 0 0 1.1rem; color: var(--shop-muted); font-size: .92rem; line-height: 1.45; }
.shop-leave-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.shop-leave-actions .shop-btn { width: 100%; text-align: center; justify-content: center; }

.shop-footer {
    border-top: 1px solid var(--shop-line);
    background: linear-gradient(180deg, #fbfbfc 0%, #f3f5f8 100%);
}
.shop-footer-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 1.15rem 1rem 1.25rem;
    display: grid; gap: .85rem; justify-items: center; text-align: center;
}
.shop-footer-brand {
    display: flex; align-items: center; justify-content: center; flex-wrap: nowrap;
    gap: .7rem; min-width: 0; max-width: 100%;
}
.shop-footer-brand img {
    height: 28px; width: auto; background: #fff; border-radius: 6px; padding: 2px; flex: none;
}
.shop-footer-brand strong {
    font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.shop-made-sep {
    width: 1px; height: 1em; background: #c5ced8; flex: none;
}
.shop-made {
    margin: 0; color: var(--shop-muted); font-size: .78rem; line-height: 1; font-weight: 500;
    white-space: nowrap; flex: none;
}
@media (max-width: 699px) {
    .shop-footer-inner { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px)); }
    .shop-footer-brand { gap: .45rem .5rem; }
    .shop-footer-brand strong { letter-spacing: .06em; font-size: .72rem; }
    .shop-made { font-size: .72rem; }
}

.shop-contact-card {
    display: grid; gap: .9rem;
    padding: 1rem; border-radius: 14px;
    background: linear-gradient(145deg, #0b1f3a 0%, #123056 100%);
    color: #f8fafc;
}
.shop-contact-card .label {
    margin: 0; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    color: #e8c76a; font-weight: 700;
}
.shop-contact-card strong { display: block; font-size: 1.1rem; font-weight: 750; }
.shop-contact-card .role { margin: .2rem 0 0; font-size: .82rem; color: rgba(248,250,252,.7); }
.shop-contact-links { display: grid; gap: .45rem; }
.shop-contact-links a {
    display: flex; align-items: center; gap: .55rem;
    min-height: 40px; padding: .45rem .7rem; border-radius: 10px;
    text-decoration: none; color: #fff; font-size: .88rem; font-weight: 600;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.shop-contact-links a:hover { background: rgba(255,255,255,.14); }
.shop-contact-links a.is-wa { background: rgba(37, 211, 102, .16); border-color: rgba(37, 211, 102, .35); }

.shop-modal-grid { display: grid; gap: 1.15rem; }
.shop-modal-photo {
    background: transparent; border-radius: 12px; min-height: 220px; display: grid; place-items: center; overflow: hidden;
    border: 1px solid var(--shop-line);
}
.shop-modal-photo img, .shop-modal-photo .shop-ph { width: 100%; height: 240px; object-fit: contain; background: transparent; }
.shop-modal-info .price { font-size: 1.7rem; font-weight: 800; }
.stock { display: flex; align-items: center; gap: .4rem; margin: .15rem 0 .55rem; font-size: .82rem; font-weight: 650; }
.stock.is-in { color: #0a9a36; }
.stock.is-low { color: #b12704; }
.stock.is-order { color: #9a3412; }
.stock.is-out { color: #b42318; }
.shop-qty-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.35rem; height: 1.35rem; padding: 0 .4rem; border-radius: 999px;
    background: var(--shop-navy); color: #fff; font-size: .72rem; font-weight: 700;
}
.shop-attrs { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.shop-attrs li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--shop-line); }
.shop-buy { display: flex; flex-direction: column; align-items: stretch; gap: .6rem; margin-top: 1rem; }
.shop-stepper { display: flex; align-items: center; align-self: flex-start; border: 1px solid #d9d4cb; border-radius: 10px; overflow: hidden; background: #fff; }
.shop-stepper button { width: 42px; height: 46px; border: 0; background: #f6f4ef; cursor: pointer; font-size: 1.15rem; }
.shop-stepper input { width: 3.2rem; height: 46px; border: 0; text-align: center; padding: 0; }
.shop-buy .shop-btn { flex: none; width: 100%; white-space: nowrap; }
#shop-modal .modal-content { border: 0; border-radius: 16px; }
.shop-line-step button { width: 36px; height: 38px; }
.shop-line-step span { min-width: 1.6rem; text-align: center; font-weight: 700; }

:focus-visible { outline: 2px solid #9bb0d4; outline-offset: 2px; }
body.shop-lock { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
html:has(body.shop-lock) { overflow: hidden; }

@media (min-width: 700px) {
    .shop-banner { width: min(1180px, calc(100% - 2.8rem)); min-height: 112px; }
    .shop-banner-kicker { font-size: 1.28rem; }
    .shop-banner-visual { width: 220px; height: 92px; }
    .shop-header-bar { flex-wrap: nowrap; }
    .shop-header-search.shop-search {
        order: 2; flex: 1 1 auto; min-width: 0; max-width: 420px; margin: 0;
    }
    .shop-cats { grid-template-columns: repeat(4, 1fr); }
    .shop-grid { grid-template-columns: 1fr; }
    .shop-wrap { padding-left: 1.4rem; padding-right: 1.4rem; }
    .shop-header-bar { padding-left: 1.4rem; padding-right: 1.4rem; }
    .shop-modal-grid { grid-template-columns: 1fr 1fr; }
    .shop-checkout-grid { grid-template-columns: minmax(240px, .42fr) 1fr; }
}
@media (min-width: 900px) {
    .shop-nav-toggle { display: none; }
    .shop-tool-cart span:not(.shop-cart-count) { display: inline; }
    .shop-fab { right: 1.15rem; bottom: 1.15rem; }
    .shop-footer-inner { padding-left: 1.4rem; padding-right: 1.4rem; }
    .shop-cart-count { position: static; margin-left: .15rem; }
    .shop-nav-desktop {
        display: flex; align-items: center; flex: none; white-space: nowrap; gap: .15rem .9rem;
    }
    .shop-nav-desktop a {
        color: rgba(255,255,255,.82); padding: .35rem 0; font-size: .9rem; font-weight: 600; background: transparent;
    }
    .shop-nav-desktop a:hover, .shop-nav-desktop a[aria-current="page"] { color: #fff; background: transparent; }
    .shop-brand { flex: 0 1 auto; min-width: 0; }
    .shop-header-bar { flex-wrap: nowrap; gap: .65rem .85rem; }
    .shop-tools { flex: none; gap: .35rem; }
    .shop-currency { min-width: 4.8rem; }
    .shop-cats { grid-template-columns: repeat(6, 1fr); }
    .shop-grid { grid-template-columns: 1fr; }
    .shop-header-search.shop-search { flex: 1 1 auto; min-width: 0; max-width: 480px; }
}
@media (min-width: 1100px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .shop-card { grid-template-columns: 120px minmax(0, 1fr); }
    .shop-card-media { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-nav, .shop-nav.is-open,
    .shop-drawer, .shop-drawer.is-open,
    .shop-dialog, .shop-dialog.is-open,
    .shop-filters, .shop-filters.is-open,
    .shop-shade, .shop-shade.is-open {
        transition: none !important;
    }
}
