/* Scoped Merch layout; shared theme/navigation remain owned by the site. */
.united-shop{--shop-surface:var(--appearance-surface,#121820);--shop-soft:var(--appearance-subtle,#19222d);--shop-ink:var(--appearance-ink,#f3f6fa);--shop-muted:var(--appearance-muted,#acb8c8);--shop-border:var(--appearance-border,#303d4b);--shop-blue:var(--appearance-action,#64b4ff);color:var(--shop-ink)}
.united-shop #shop-main{padding-top:24px;padding-bottom:40px;max-width:1200px}
.united-shop [hidden]{display:none!important}
.united-shop :where(button,a,input,textarea,select):focus-visible{outline:3px solid var(--shop-blue);outline-offset:3px}
.united-shop button,.united-shop input,.united-shop textarea{font-family:inherit}
.united-shop button{cursor:pointer}
.united-shop button:disabled{opacity:.55;cursor:not-allowed}
.shop-product-form>p,.shop-cart p{color:var(--shop-muted);line-height:1.55}
.shop-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 18px;border:1px solid var(--shop-border);border-radius:10px;background:var(--shop-surface);color:var(--shop-ink);text-align:center;font-weight:750;font-size:14px;line-height:1.35;text-decoration:none}
.united-shop .shop-primary{background:#076dca;border-color:#076dca;color:white}
.shop-cart-launch{flex-shrink:0;gap:16px}
.shop-cart-launch [data-cart-count]{display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:var(--shop-soft);color:var(--shop-blue)}
.shop-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--shop-border)}
.shop-toolbar>span,.shop-catalog-note{font-size:13px;color:var(--shop-muted)}
.shop-filters,.shop-swatches{display:flex;gap:6px;flex-wrap:wrap}
.shop-filters button{padding:10px 20px;min-height:44px;border:1px solid transparent;border-radius:24px;background:transparent;color:var(--shop-muted);font-weight:750}
.shop-filters button[aria-pressed=true]{background:var(--shop-surface);border-color:var(--shop-blue);color:var(--shop-blue)}
.shop-catalog-note{margin:0 0 20px;line-height:1.5}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.shop-card{min-width:0;border:1px solid var(--shop-border);border-radius:16px;background:var(--shop-surface);overflow:hidden;transition:border-color .16s}
.shop-card:hover{border-color:var(--shop-blue)}
.shop-card-link{display:block;color:inherit;text-decoration:none}
.shop-card-image{position:relative;aspect-ratio:1;background:#e4e0da;overflow:hidden}
.shop-card-image img{display:block;width:100%;height:100%;object-fit:contain;filter:none}
.shop-card-image>span{position:absolute;right:10px;bottom:10px;background:#ffffffed;color:#162333;font-weight:750;border-radius:8px;padding:7px 10px;font-size:12px}
.shop-card-copy{padding:18px 18px 0}
.shop-card-copy p{min-height:36px;font-size:12px;line-height:1.45;color:var(--shop-muted);margin:0 0 5px}
.shop-card-copy h2{font-size:25px;letter-spacing:-.04em;line-height:1.15;margin:0 0 10px}
.shop-card-copy strong{font-size:14px;font-weight:650;color:var(--shop-muted)}
.shop-card-options{padding:8px 18px 18px;min-height:90px}
.shop-card-options>span{display:block;font-size:12px;color:var(--shop-muted);line-height:1.35}
.shop-swatch{width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:8px}
.shop-swatch i,.shop-variants i{width:19px;height:19px;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #7d8793;flex:none}
.shop-swatch[aria-pressed=true] i{outline:2px solid var(--shop-blue);outline-offset:4px}
.shop-benefit{margin:34px 0 20px;padding:22px 24px;background:var(--shop-surface);border:1px solid var(--shop-border);border-radius:14px}
.shop-benefit>div{display:flex;align-items:center;justify-content:space-between;gap:20px}
.shop-benefit h2{font-size:23px;margin:8px 0}
.shop-benefit p,.shop-benefit small,.shop-disclaimer{font-size:13px;color:var(--shop-muted);line-height:1.5}
.shop-points{height:4px;background:var(--shop-soft);margin:10px 0;max-width:250px}
.shop-points i{display:block;height:100%;background:var(--shop-blue)}
.shop-footer{display:flex;align-items:center;flex-wrap:wrap;gap:25px;font-size:13px}
.shop-footer .appearance-control{margin-left:auto}
.shop-dialog{margin:auto;padding:0;border:1px solid var(--shop-border);border-radius:20px;background:var(--shop-surface);color:var(--shop-ink);box-shadow:0 28px 100px #0005;max-height:calc(100dvh - 32px);overscroll-behavior:contain;width:calc(100% - 32px);max-width:1080px}
.shop-dialog::backdrop{background:#061322b8;backdrop-filter:blur(4px)}
.shop-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;background:var(--shop-surface);border-bottom:1px solid var(--shop-border);position:sticky;top:0;z-index:2}
.shop-dialog-bar h2{font-size:25px;letter-spacing:-.035em}
.shop-icon{border:1px solid var(--shop-border);background:var(--shop-surface);color:var(--shop-ink);border-radius:50%;width:44px;height:44px;flex:none;font-size:25px!important}
.shop-text-button{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--shop-blue);font-weight:700;font-size:14px;text-align:left}
.shop-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;padding:24px}
.shop-media{min-width:0}
.shop-image-open{position:relative;display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:#e4e0da}
.shop-image-open img{display:block;aspect-ratio:1;width:100%;height:auto;object-fit:contain;filter:none;touch-action:pan-y pinch-zoom}
.shop-image-open>span{position:absolute;right:12px;bottom:12px;padding:8px 12px;background:#fff;color:#172331;border-radius:8px;font-size:13px;font-weight:750}
.shop-thumbnails{display:flex;gap:10px;overflow:auto;padding:12px 2px;scroll-snap-type:x proximity}
.shop-thumbnails button{border:1px solid var(--shop-border);border-radius:8px;background:var(--shop-soft);padding:3px;flex:0 0 72px;scroll-snap-align:start;overflow:hidden}
.shop-thumbnails button[aria-pressed=true]{border-color:var(--shop-blue);box-shadow:0 0 0 1px var(--shop-blue)}
.shop-thumbnails img{display:block;object-fit:contain;max-width:100%;height:66px;filter:none}
.shop-media>small{color:var(--shop-muted);font-size:12px}
.shop-product-form{min-width:0;display:flex;flex-direction:column;gap:14px}
.shop-product-form h2{font-size:40px;line-height:1.05;letter-spacing:-.045em;margin:0}
.shop-product-form .shop-price{font-size:22px;font-weight:800;margin:0;color:var(--shop-ink)}
.shop-product-form p{margin:0;font-size:14px}
.shop-product-form fieldset{border:0;padding:0;margin:5px 0;min-width:0}
.shop-product-form legend{font-weight:750;margin-bottom:9px;font-size:14px}
.shop-product-form legend strong{display:block;margin-top:3px;color:var(--shop-muted);font-size:13px;font-weight:500}
.shop-variants,.shop-sizes{display:flex;flex-wrap:wrap;gap:8px}
.shop-variants button,.shop-sizes button{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;background:var(--shop-soft);color:var(--shop-ink);border:1px solid var(--shop-border);border-radius:8px;font-size:13px;font-weight:650}
.shop-variants [aria-pressed=true],.shop-sizes [aria-pressed=true]{border-color:var(--shop-blue);color:var(--shop-blue);box-shadow:inset 0 0 0 1px var(--shop-blue)}
.shop-quantity{display:flex;align-items:center;gap:16px;font-size:14px}
.united-shop :is(.shop-quantity,.shop-line-controls) input{width:76px;min-height:44px;border:1px solid var(--shop-border);background:var(--shop-surface);color:var(--shop-ink);border-radius:8px;padding:8px}
.shop-notice{border-left:3px solid var(--shop-blue);padding:10px 13px;background:var(--shop-soft);border-radius:0 8px 8px 0}
.united-shop .shop-error{color:var(--appearance-danger,#ff9d9d);font-size:14px;line-height:1.5}
.shop-error:empty{display:none}
.shop-zoom{max-width:1100px;text-align:center;padding:18px}
.shop-zoom>button{position:sticky;top:0;margin-left:auto;display:block;z-index:2}
.shop-zoom img{display:block;margin:auto;width:auto;max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain;filter:none}
.shop-zoom p{font-size:14px;padding-top:12px}
.shop-cart{margin:0 0 0 auto;max-width:540px;max-height:100dvh;height:100dvh;border-radius:18px 0 0 18px;padding:0 24px 24px;scroll-padding-top:90px}
.shop-cart .shop-dialog-bar{margin:0 -24px 16px;padding:14px 24px}
.shop-cart>.shop-button{width:100%}
.shop-cart-line{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:20px 0;border-bottom:1px solid var(--shop-border)}
.shop-cart-line>img{width:90px;height:115px;object-fit:contain;background:#e4e0da;border-radius:8px;filter:none}
.shop-cart-line h3{font-size:18px;margin:0 0 6px}
.shop-cart-line p,.shop-cart-line small{font-size:12px;line-height:1.5;color:var(--shop-muted)}
.shop-line-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:10px}
.shop-line-controls label{font-size:12px;display:flex;align-items:center;gap:6px}
.shop-line-controls strong{font-size:14px;margin-left:auto}
.shop-cart-total{display:flex;justify-content:space-between;align-items:center;padding:24px 0;font-size:18px;gap:16px}
.shop-cart-total strong{font-size:25px}
.shop-empty{text-align:center;padding:50px 16px}
.shop-empty>span{display:block;color:var(--shop-blue);font-size:40px}
.shop-empty h3{font-size:26px;margin:12px 0}
.shop-cart form{display:grid;gap:16px;margin-top:20px}
.shop-cart form label,.shop-review label{display:grid;gap:7px;font-size:14px;font-weight:700}
.shop-cart :is(form,.shop-review) :is(input,textarea){width:100%;padding:12px;border:1px solid var(--shop-border);border-radius:8px;background:var(--shop-surface);color:var(--shop-ink);font-size:16px;resize:vertical}
.shop-cart hr{border:0;border-top:1px solid var(--shop-border);margin:18px 0}
.shop-review{display:grid;gap:16px;border-top:1px solid var(--shop-border);padding-top:20px}
.shop-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 var(--font-body,Arial,sans-serif);padding:16px;border-radius:10px;background:var(--shop-soft)}
.shop-review h3{font-size:24px;line-height:1.2;margin:0}
.shop-review details summary{min-height:44px;cursor:pointer;color:var(--shop-muted);font-size:13px}
.shop-review-contact{padding:14px;background:var(--shop-soft);border-radius:10px;font-size:14px;overflow-wrap:anywhere}
.shop-review-contact p{margin:5px 0}
.shop-review .shop-cart-line{padding:12px 0}
.shop-review>.shop-button{width:100%}
.shop-toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:10000;padding:14px 20px;border-radius:12px;background:#086bc2;color:white;box-shadow:0 8px 32px #0004;font-size:14px;max-width:calc(100% - 24px);pointer-events:none}
.shop-toast:empty{display:none}
@media(max-width:700px){
 .united-shop #shop-main{padding-top:16px;width:calc(100% - 28px)}
 .shop-cart-launch{padding:8px 10px;gap:6px;font-size:12px;min-height:44px;margin-top:28px}
 .shop-cart-launch>span:last-child{display:none}
 .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .shop-toolbar{padding:12px 0}
 .shop-filters button{padding:9px 16px}
 .shop-card{border-radius:12px}
 .shop-card-copy{padding:12px 10px 0}
 .shop-card-copy h2{font-size:21px}
 .shop-card-copy p{font-size:11px;min-height:34px}
 .shop-card-copy strong{font-size:12px}
 .shop-card-image>span{font-size:10px;padding:5px 7px;right:6px;bottom:6px}
 .shop-card-options{padding:5px 8px 12px;min-height:92px}
 .shop-swatches{gap:0}
 .shop-swatch{width:44px;height:44px}
 .shop-card-options>span{font-size:11px}
 .shop-benefit{padding:18px}
 .shop-benefit>div{flex-direction:column;align-items:flex-start;gap:14px}
 .shop-benefit h2{font-size:22px}
 .shop-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:14px}
 .shop-dialog-bar{padding:10px 14px}
 .shop-detail-grid{grid-template-columns:minmax(0,1fr);padding:16px;gap:22px}
 .shop-product-form h2{font-size:34px}
 .shop-image-open img{max-height:48dvh}
 .shop-cart{width:100%;max-height:100dvh;border-radius:0;padding:0 16px 24px}
 .shop-cart .shop-dialog-bar{margin:0 -16px 12px;padding:12px 16px}
 .shop-cart-line{grid-template-columns:72px minmax(0,1fr);gap:12px}
 .shop-cart-line>img{width:72px;height:96px}
 .shop-line-controls{gap:9px}
 .shop-line-controls input{width:60px!important}
 .shop-footer{gap:20px;font-size:12px}
 .shop-footer .appearance-control{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.united-shop *{scroll-behavior:auto!important;transition:none!important}}
