/* HTJ Studio sýnishorn: sameiginlegt útlit verslana. Notar /assets/style.css breytur. */
.sh h1, .sh h2, .sh h3 { margin-bottom: 0; max-width: none; }
html.sh-lock, html.sh-lock body { overflow: hidden; }
body.sh { font-size: 1rem; -webkit-tap-highlight-color: transparent; min-height: 100svh; }
:where(.sh) :where(button, input, select) { font: inherit; color: inherit; }
:where(.sh) button { cursor: pointer; background: none; border: 0; padding: 0; }
.sh-top { position: sticky; top: 0; z-index: 40; background: rgba(10,10,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sh-top-in { display: flex; align-items: center; gap: .5rem; padding: .35rem 1rem; min-height: 56px; }
.sh-bk { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; padding-right: .6rem; }
.sh-brand { font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.03em; font-size: 1.25rem; margin-right: auto; }
.sh-brand i { color: var(--accent); font-style: normal; }
.sh-cartbtn { position: relative; min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 0 .9rem; font-family: var(--mono); font-size: .8rem; gap: .4rem; grid-auto-flow: column; }
.sh-cartbtn svg { width: 20px; height: 20px; }
.sh-count { background: var(--accent); color: #0a0a0b; border-radius: 10px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; padding: 0 5px; }
.sh-count[hidden] { display: none; }
.sh-art { aspect-ratio: 1; width: 100%; display: block; overflow: hidden; }
.sh-art svg { width: 100%; height: 100%; display: block; }
.sh-btn { display: block; width: 100%; min-height: 52px; border-radius: 26px; background: var(--accent); color: #0a0a0b; font-weight: 700; letter-spacing: .01em; transition: transform .2s var(--expo); }
.sh-btn:active { transform: scale(.98); }
.sh-btn[disabled] { background: var(--bg2); color: var(--muted); cursor: not-allowed; border: 1px solid var(--line); }
.sh-ghost { border: 1px solid var(--line); border-radius: 22px; min-height: 44px; padding: 0 1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.sh-ov { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.sh-ov.open { opacity: 1; pointer-events: auto; }
.sh-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg2); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .45s var(--expo), visibility 0s .45s; padding: .5rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.sh-sheet.open { transform: none; visibility: visible; transition: transform .45s var(--expo), visibility 0s; }
.sh-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: .3rem auto .6rem; }
.sh-sheet > header { display: flex; justify-content: space-between; align-items: center; }
.sh-sheet h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.sh-x { width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; border-radius: 22px; color: var(--muted); }
.sh-lines { display: grid; gap: .2rem; margin: .4rem 0 1rem; }
.sh-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.sh-lthumb { width: 64px; border-radius: 10px; overflow: hidden; }
.sh-linfo { display: grid; gap: .1rem; min-width: 0; }
.sh-linfo b { font-weight: 600; line-height: 1.25; }
.sh-linfo span { color: var(--muted); font-size: .85rem; }
.sh-linfo em { font-style: normal; font-family: var(--mono); font-size: .85rem; color: var(--accent); }
.sh-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 22px; }
.sh-qty button { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 22px; }
.sh-qty output { min-width: 1.4rem; text-align: center; font-family: var(--mono); }
.sh-empty { text-align: center; padding: 2.4rem 0 2rem; font-size: 1.1rem; list-style: none; }
.sh-empty span { color: var(--muted); font-size: .9rem; }
.sh-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.sh-total b { font-size: 1.5rem; letter-spacing: -.02em; }
.sh-total span { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sh-cfoot[hidden] { display: none; }
.sh-screen { padding: 0; position: fixed; inset: 0; z-index: 110; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); visibility: hidden; transition: transform .5s var(--expo), visibility 0s .5s; }
.sh-screen.open { transform: none; visibility: visible; transition: transform .5s var(--expo), visibility 0s; }
.sh-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: .4rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); min-height: 56px; }
.sh-back { min-height: 44px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.sh-demo { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .4); border-radius: 12px; padding: .25rem .6rem; }
.sh-form, .sh-thanks { padding: 1.2rem 1.1rem 3rem; max-width: 560px; margin: 0 auto; }
.sh-form[hidden], .sh-thanks[hidden] { display: none; }
.sh-form h2 { font-size: 1.8rem; letter-spacing: -.03em; margin-bottom: 1rem; }
.sh-form h3 { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.6rem 0 .5rem; font-weight: 500; }
.sh-form label { display: grid; gap: .3rem; font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.sh-form input:not([type=radio]) { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; min-height: 48px; padding: 0 .9rem; color: var(--fg); font-size: 1rem; width: 100%; }
.sh-form input.bad { border-color: #e0654f; }
.sh-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sh-two { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; }
.sh-form fieldset { border: 0; padding: 0; margin: .6rem 0 0; display: grid; gap: .5rem; }
.sh-form legend { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; padding: 0; }
.sh-opt { grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem !important; border: 1px solid var(--line); border-radius: 14px; padding: .8rem; margin: 0 !important; color: var(--fg) !important; min-height: 60px; cursor: pointer; }
.sh-opt:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.sh-opt input { accent-color: var(--accent); width: 20px; height: 20px; }
.sh-opt span { display: grid; }
.sh-opt small { color: var(--muted); font-size: .8rem; }
.sh-opt em { font-style: normal; font-family: var(--mono); font-size: .85rem; }
.sh-sum { display: grid; gap: .5rem; }
.sh-sum li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.sh-sum small { color: var(--muted); display: block; }
.sh-sum b { font-weight: 500; font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.sh-tot { margin: 1rem 0; border-top: 1px solid var(--line); padding-top: .8rem; display: grid; gap: .3rem; }
.sh-tot div { display: flex; justify-content: space-between; }
.sh-tot dt { color: var(--muted); }
.sh-tot dd { margin: 0; font-family: var(--mono); }
.sh-tot .sh-g { font-size: 1.3rem; margin-top: .3rem; }
.sh-tot .sh-g dt { color: var(--fg); font-weight: 700; }
.sh-err { color: #ff8b78; font-size: .9rem; margin: 0 0 .8rem; }
.sh-err[hidden] { display: none; }
.sh-fine { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 1rem; }
.sh-thanks { text-align: center; padding-top: 18vh; }
.sh-thanks p { color: var(--muted); margin: .8rem 0 2rem; }
.sh-thanks p b { color: var(--fg); font-family: var(--mono); }
.sh-tick { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0a0a0b; font-size: 2rem; font-weight: 800; }
.sh-thanks h2 { font-size: 1.8rem; letter-spacing: -.03em; }
.sh-swatches { display: flex; gap: .4rem; flex-wrap: wrap; }
.sh-sw { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.sh-sw i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); display: block; }
.sh-sw[aria-checked=true] i { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px var(--accent); }
.sh-sizes { display: flex; gap: .4rem; flex-wrap: wrap; }
.sh-sz { min-width: 48px; height: 44px; border: 1px solid var(--line); border-radius: 22px; padding: 0 .8rem; font-family: var(--mono); font-size: .85rem; }
.sh-sz[aria-checked=true] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sh-fl { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.1rem 0 .4rem; display: flex; justify-content: space-between; }
.sh-fl b { color: var(--fg); font-weight: 500; }
.sh-buy { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin-top: 1.3rem; align-items: center; }
.sh-foot { margin-top: 3rem; padding: 2rem 1.1rem calc(2.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; background: var(--bg2); }
.sh-foot p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.sh-pkg { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); display: block; margin-top: .9rem; }
.sh-foot .sh-btn { display: flex; align-items: center; justify-content: center; max-width: 340px; margin: 0 auto; }
@media (min-width: 700px) { .sh-form, .sh-thanks { padding-top: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .sh *, .sh-sheet, .sh-screen, .sh-ov { transition-duration: .01s !important; animation: none !important; } }

/* Karfa: framvindulína fyrir fría sendingu, fastur samtals-botn */
.sh-ship-bar { margin: .2rem 0 .4rem; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; }
.sh-ship-bar[hidden] { display: none; }
.sh-ship-t { font-size: .88rem; margin-bottom: .5rem; }
.sh-prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.sh-prog i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .4s var(--expo); }
.sh-drawer .sh-cfoot { position: sticky; bottom: calc(-1.2rem - env(safe-area-inset-bottom)); background: var(--bg2); border-top: 1px solid var(--line); margin: 0 -1.1rem; padding: .9rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom)); }
/* Afgreiðsla: reitir vinstri, yfirlitskort hægri */
.sh-cols { display: grid; gap: 1.4rem; }
.sh-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; background: var(--bg2); align-self: start; }
.sh-card h3 { margin-top: 0 !important; }
.sh-dark { background: var(--fg); color: var(--bg); }
.sh-dark:hover { background: var(--accent); color: #0a0a0b; }
/* Valkort fyrir stærðir (jafnstór spjöld) */
.sh-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: .5rem; }
.sh-sz { height: 48px; border-radius: 12px; }
.sh-sz[aria-checked=true] { background: rgba(var(--accent-rgb), .12); color: var(--fg); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
/* Vörublað á síma: stór mynd efst, kaupa-stika föst neðst */
.bd-sheet { max-height: 92svh; }
.bd-sheet .bd-head { grid-template-columns: 1fr; gap: .8rem; }
.bd-sheet .bd-head .sh-art { max-height: 38svh; aspect-ratio: 4/3; }
.bd-sheet .bd-head .sh-art svg { height: 100%; }
.bd-sheet .sh-buy { position: sticky; bottom: calc(-1.2rem - env(safe-area-inset-bottom)); background: var(--bg2); margin: 1rem -1.1rem calc(-1.2rem - env(safe-area-inset-bottom)); padding: .8rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 700px) {
  .sh-form { max-width: 900px; }
  .sh-cols { grid-template-columns: 1fr 340px; gap: 2rem; }
  .sh-card { position: sticky; top: 76px; }
  .bd-sheet { max-width: 780px; }
  .bd-sheet .bd-head { grid-template-columns: 1fr 1fr; align-items: start; }
  .bd-sheet .bd-head .sh-art { max-height: none; aspect-ratio: 1; }
}
/* Eyða hlut í körfu, skrefamerki í afgreiðslu, áætluð afhending (eftir Etsy, Zalando, Under Armour) */
.sh-rm { justify-self: start; min-height: 44px; padding: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sh-steps { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sh-steps li { flex: 1; display: flex; align-items: center; gap: .4rem; border-top: 2px solid var(--line); padding-top: .5rem; }
.sh-steps li.on { color: var(--fg); border-color: var(--accent); }
.sh-steps i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid currentColor; font-size: .7rem; flex: none; }
.sh-steps li.on i { background: var(--accent); color: #0a0a0b; border-color: var(--accent); }
.sh-eta dd { margin: 0; font-size: .9rem; }
.sh-stock { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.sh-stock i { width: 8px; height: 8px; border-radius: 50%; background: #5fbf7a; }

/* Checkout on phones: the place-order button sits in a bar fixed to the bottom of the screen */
.sh-stickbar { display: none; }
@media (max-width: 699px) {
  .sh-place { display: none; }
  .sh-stickbar { display: flex; align-items: center; gap: .9rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--bg); border-top: 1px solid var(--line); padding: .7rem 1.1rem calc(.7rem + env(safe-area-inset-bottom)); }
  .sh-stickbar p { margin: 0; display: grid; line-height: 1.2; }
  .sh-stickbar small { color: var(--muted); font-size: .75rem; }
  .sh-stickbar b { font-size: 1.1rem; }
  .sh-stickbar .sh-btn { flex: 1; min-height: 48px; }
  .sh-form { padding-bottom: 7rem; }
}
.sh-photo { background: #e9e7e2; }
.sh-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
