/* Pawapps site styles. One file for every page. */

:root {
  --bg: #FFFFFF; --surface: #FAFAFA; --card: #FFFFFF;
  --text: #18181B; --text-2: #52525B; --text-3: #71717A; --border: #E4E4E7;
  --btn-bg: #18181B; --btn-fg: #FFFFFF; --btn-sub: #A1A1AA; --btn-div: rgba(255,255,255,.22);
  --focus: #7C3AED; --quote: rgba(255,255,255,.95);
  --grad: linear-gradient(120deg, #E9D5FF 0%, #C7D2FE 28%, #BAE6FD 55%, #FBCFE8 82%, #FDE68A 100%);
  --sun: none; --moon: block; --show-l: block; --show-d: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090B; --surface: #18181B; --card: #18181B;
    --text: #FAFAFA; --text-2: #A1A1AA; --text-3: #8B8B94; --border: #27272A;
    --btn-bg: #FAFAFA; --btn-fg: #18181B; --btn-sub: #52525B; --btn-div: rgba(0,0,0,.18);
    --focus: #A78BFA; --quote: rgba(24,24,27,.94);
    --grad: linear-gradient(120deg, #3B1D5E 0%, #1E2A5E 30%, #0C3B52 58%, #4A1D3F 85%, #4A3A12 100%);
    --sun: block; --moon: none; --show-l: none; --show-d: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #09090B; --surface: #18181B; --card: #18181B;
  --text: #FAFAFA; --text-2: #A1A1AA; --text-3: #8B8B94; --border: #27272A;
  --btn-bg: #FAFAFA; --btn-fg: #18181B; --btn-sub: #52525B; --btn-div: rgba(0,0,0,.18);
  --focus: #A78BFA; --quote: rgba(24,24,27,.94);
  --grad: linear-gradient(120deg, #3B1D5E 0%, #1E2A5E 30%, #0C3B52 58%, #4A1D3F 85%, #4A3A12 100%);
  --sun: block; --moon: none; --show-l: none; --show-d: block;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.625; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; object-fit: contain; } /* never distort a screenshot */
/* Screenshots with a dark-mode twin: show the one matching the theme. */
img.v-l { display: var(--show-l); }
img.v-d { display: var(--show-d); }
a { color: var(--text); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, .field:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 12px;
}
h1, h2, h3 { margin: 0; font-family: "Gabarito", sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
p { margin: 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 720px; }
.article { max-width: 760px; }
.sec { padding-top: 128px; }
.sec-sm { padding-top: 80px; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split-57 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split-75 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.display { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.h2 { font-size: 34px; }
.h3 { font-size: 26px; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 13px; color: var(--text-3); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--border); }
.hdr-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.crumbs { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; }
.crumbs .sep { flex: none; color: var(--border); font-size: 20px; }
.crumbs .brand { flex: none; }
.crumbs .here, .crumbs a.nav { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs .here { font-weight: 600; }
.crumbs .here img, .crumbs a.nav img { display: inline-block; vertical-align: -6px; margin-right: 8px; border-radius: 22%; }
.hdr-in > nav { flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Gabarito", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.paw { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--btn-bg); color: var(--btn-fg); display: inline-flex; align-items: center; justify-content: center; }
.paw svg { width: 19px; height: 19px; }
.hdr-in > nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.navlinks { display: flex; gap: 20px; }
a.nav, a.more { color: var(--text-2); }
a.nav:hover, a.more:hover { color: var(--text); }
.tbtn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text-2); padding: 0; cursor: pointer; }
.tbtn:hover { color: var(--text); }
.tbtn .i-sun { display: var(--sun); }
.tbtn .i-moon { display: var(--moon); }

/* Buttons */
.btn, .btn-o, .soon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
a.btn:hover, button.btn:hover { opacity: .88; }
.btn .div { width: 1px; height: 18px; background: var(--btn-div); }
.btn .sub { font-weight: 500; color: var(--btn-sub); }
.btn-o { border: 1px solid var(--border); color: var(--text-2); font-size: 14px; font-weight: 500; padding: 0 20px; }
.btn-o:hover { background: var(--surface); color: var(--text); }
.soon { border: 2px dashed var(--border); color: var(--text-2); }
.soon .div { width: 1px; height: 18px; background: var(--border); }
.soon .sub { font-weight: 500; color: var(--text-3); }
.lg { height: 48px; padding: 0 24px; font-size: 16px; }
.sm { height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: none; }
.soon.sm { padding: 0 12px; color: var(--text-3); }
.full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.center .btn-row { justify-content: center; }
button.btn { border: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* Cards */
.card { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
a.card:hover { border-color: var(--text-3); }
a.mini { transition: border-color .2s ease; }
a.mini:hover { border-color: var(--text-3); }
a.mini:hover .btn-o { background: var(--surface); color: var(--text); }
.card-sm { border-radius: 12px; padding: 16px 18px; gap: 4px; }
.card .t { font-family: "Gabarito", sans-serif; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.card .d { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.card .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }
.card-sm .t { font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.card-sm .d { font-size: 13px; color: var(--text-3); }
.icon { flex: none; border-radius: 22%; }
.app-row { display: flex; align-items: center; gap: 14px; }
.app-row .name { font-family: "Gabarito", sans-serif; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.app-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.app-tile { padding: 20px; gap: 14px; }
.app-tile .blurb { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.app-tile .ctas { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.app-tile a.more { align-self: center; font-size: 13px; padding: 6px 0; }
.mini { border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.mini .name { font-size: 16px; font-weight: 600; }
.mini .line { font-size: 14px; color: var(--text-2); }
.mini .txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mini .chip-soon { flex: none; white-space: nowrap; font-size: 13px; color: var(--text-3); border: 2px dashed var(--border); border-radius: 10px; padding: 6px 10px; }
.btn-o.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 500; }

/* Panels and screenshots */
.grad { background: var(--grad); border-radius: 24px; }
.hero-panel { margin-top: 56px; width: 100%; padding: 48px 6% 0; overflow: hidden; }
.hero-shots { display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.media { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; height: 460px; overflow: hidden; display: flex; }
.media.phone-m { padding: 40px 0 0; justify-content: center; align-items: flex-start; }
.media.mac-m { padding: 40px 0 0 40px; align-items: flex-start; }
.media img { flex: none; height: auto; } /* keep each screenshot's own shape inside its panel */
.media.mac-m img { width: 150%; max-width: none; border-radius: 12px 0 0 0; }
.media.strip-m { padding: 0 0 0 32px; align-items: center; }
.media.strip-m img { width: 160%; max-width: none; border-radius: 12px; }
.media.ipad-m { padding: 40px 0 0; justify-content: center; align-items: flex-start; }
.media.ipad-m img { width: 280px; border-radius: 18px 18px 0 0; border: 6px solid #111113; border-bottom: 0; }
.phone { width: 240px; border-radius: 28px 28px 0 0; border: 6px solid #111113; border-bottom: 0; }
.shot { border: 1px solid rgba(0,0,0,.08); }
.lift { box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.lift-lg { box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.combo { position: relative; max-width: 960px; margin: 0 auto; }
.combo .mac { width: 84%; border-radius: 14px 14px 0 0; }
.combo .ph { position: absolute; right: 0; bottom: -40px; width: 26%; border-radius: 28px; border: 6px solid #111113; box-shadow: 0 24px 60px rgba(0,0,0,.28); }

/* Feature lists */
.ticks { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.ticks svg { flex: none; margin-top: 2px; color: var(--text); }
.pairs { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 14px; color: var(--text-2); }
.feats { display: flex; flex-direction: column; gap: 112px; }
.feats > .split:nth-child(even) > .media { order: -1; }
.boxed { border: 1px solid var(--border); border-radius: 16px; display: grid; overflow: hidden; }
.boxed.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.boxed > div { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.boxed.c3 > div:nth-child(3n) { border-right: 0; }
.boxed.r1 > div, .boxed.r2 > div:nth-last-child(-n+3) { border-bottom: 0; }
.boxed .k { font-size: 13px; color: var(--text-3); }
.boxed .t { font-size: 15px; font-weight: 600; }
.boxed .d { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* Tables */
.rows { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.rows > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.rows > div:last-child { border-bottom: 0; }
.rows .k { font-weight: 600; }
.rows .v { color: var(--text-2); text-align: right; }
.price { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.price .amt { display: flex; align-items: baseline; gap: 8px; }
.price .amt b { font-family: "Gabarito", sans-serif; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.price ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }

/* Questions */
.qs { display: flex; flex-direction: column; gap: 8px; }
.q { border: 1px solid var(--border); border-radius: 12px; }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 15px; font-weight: 600; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--text-3); }
.q[open] summary::after { content: "\2212"; }
.q > p { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.q > ul { margin: 0; padding: 0 20px 18px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.q > ul li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.5; }
.q > ul b { font-weight: 600; }
.q > ul span { color: var(--text-2); text-align: right; }

/* Hire */
.hire { padding: 64px 6%; }
.quote-card { max-width: 640px; margin: 0 auto; background: var(--quote); border-radius: 16px; padding: 36px; box-shadow: 0 10px 30px rgba(0,0,0,.08); gap: 14px; }
.quote-card blockquote { margin: 10px 0 0; font-size: 15px; line-height: 1.6; }

/* Forms */
.form-box { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 28px; }
form { display: flex; flex-direction: column; gap: 16px; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; font-weight: 400; }
textarea.field { min-height: 140px; resize: vertical; }
.hp { display: none; }
.sent { display: none; padding: 24px 0; flex-direction: column; gap: 8px; }
.sent b { font-family: "Gabarito", sans-serif; font-size: 22px; }
.is-sent .sent { display: flex; }
.is-sent form { display: none; }

/* Guides */
.steps { margin-top: 56px; display: flex; flex-direction: column; gap: 64px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-h { display: flex; align-items: center; gap: 14px; }
.num { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.step p, .prose p { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.step-shots { margin-top: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px 24px 0; display: flex; justify-content: center; gap: 24px; overflow: hidden; height: 400px; }
.step-shots img { width: 230px; align-self: flex-start; border-radius: 28px 28px 0 0; border: 6px solid #111113; border-bottom: 0; }
.step-shots.wide { height: auto; padding: 28px 0 0 28px; justify-content: flex-start; }
.step-shots.wide img { width: 100%; border: 1px solid rgba(0,0,0,.08); border-radius: 12px 0 0 0; border-right: 0; }
.codebox { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.codebox > div { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.codebox > div:last-child { border-bottom: 0; }
.codebox code { font-size: 15px; }
.keys { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.keys > div { display: flex; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 15px; }
.keys > div:last-child { border-bottom: 0; }
.keys kbd { flex: none; width: 42%; font-family: inherit; font-weight: 600; }
.keys span { color: var(--text-2); }
.tip { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 20px 22px; }
.tip b { font-size: 15px; font-weight: 600; }
.tip p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.bar { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.promo { border: 1px solid var(--border); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.promo > span { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.promo .name { font-family: "Gabarito", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

/* Legal text */
.legal h2 { margin-top: 48px; font-size: 24px; letter-spacing: -.02em; }
.legal h3 { margin-top: 28px; font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.toc { margin-top: 32px; }
.legal-sec { padding-top: 24px; margin-top: 48px; border-top: 1px solid var(--border); }
.legal-sec > h2:first-child { margin-top: 0; display: flex; align-items: center; gap: 12px; }

/* Sitemap */
.smap { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.smap nav { display: flex; flex-direction: column; gap: 12px; }
.smap .head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.smap .head .paw { width: 28px; height: 28px; border-radius: 8px; }
.smap .head .paw svg { width: 17px; height: 17px; }
.smap h2 { font-size: 19px; letter-spacing: -.015em; }
.smap a { font-size: 15px; line-height: 1.4; }
.smap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.smap .label { display: block; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-size: 13px; font-weight: 600; }

/* Footer */
.ftr { margin-top: 140px; border-top: 1px solid var(--border); }
.ftr-in { padding: 48px 32px 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 64px; font-size: 14px; }
.ftr-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.ftr-in > div:first-child, .ftr-in nav { display: flex; flex-direction: column; gap: 10px; }
.ftr-in .bn { font-family: "Gabarito", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.ftr-in .small { font-size: 14px; }

/* Small screens */
@media (max-width: 860px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .g2, .g3, .g4, .split, .split-57, .split-75, .boxed.c3, .smap { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 32px; }
  .feats > .split > .media, .feats > .split:nth-child(even) > .media, .split > .media { order: -1; }
  .boxed > div { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .boxed > div:last-child { border-bottom: 0 !important; }
  .sec { padding-top: 88px; }
  .navlinks { display: none; }
  .crumbs .hide-sm { display: none; }
  .one-line { white-space: normal !important; }
  .media { height: 380px; }
  .combo .ph { width: 30%; right: 4%; }
  .hero-shots img:nth-child(2) { display: none; }
  .ftr-in { padding-left: 24px; padding-right: 24px; }
  .h2 { font-size: 30px; }
}
@media (max-width: 480px) {
  .btn, .soon { white-space: normal; text-align: center; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
  .sm { min-height: 34px; padding-top: 0; padding-bottom: 0; }
  .crumbs .brand-name { display: none; }
  .keys > div { flex-direction: column; gap: 2px; }
  .keys kbd { width: auto; }
}

.form-err { font-size: 14px; color: var(--text-2); }
form .btn { align-self: flex-start; }

/* Screenshot strip under product heroes */
.gallery-sec { max-width: 1180px; margin: 0 auto; padding-top: 32px; }
.gallery {
  display: flex; gap: 16px; overflow-x: auto; justify-content: safe center;
  padding: 4px 32px 14px; scroll-snap-type: x proximity; scroll-padding: 0 32px;
  scrollbar-width: thin;
}
.thumb {
  flex: none; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--surface); cursor: zoom-in; scroll-snap-align: start;
  transition: transform .2s ease, border-color .2s ease;
}
.thumb:hover { transform: translateY(-2px); border-color: var(--text-3); }
.thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.thumb img { height: 220px; width: auto; max-width: none; }
.thumb.is-open { visibility: hidden; }

/* Full-size viewer */
.lb { position: fixed; inset: 0; z-index: 50; }
.lb-back {
  position: absolute; inset: 0; background: rgba(9, 9, 11, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .34s ease;
}
.lb.is-on .lb-back { opacity: 1; }
.lb-img {
  position: fixed; margin: 0; max-width: none; transform-origin: 0 0; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45); cursor: zoom-out; will-change: transform; background: #111113;
  object-fit: contain;
}
.lb-close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .34s ease;
}
.lb.is-on .lb-close { opacity: 1; }
.lb-close:hover { background: rgba(255, 255, 255, .24); }
.lb-close:focus-visible { outline: 2px solid #A78BFA; outline-offset: 3px; }

@media (max-width: 860px) {
  .gallery { justify-content: flex-start; padding-left: 24px; padding-right: 24px; scroll-padding: 0 24px; }
  .thumb img { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .thumb, .lb-back, .lb-close { transition: none; }
}

/* Product picker in the product page header */
.switch { position: relative; min-width: 0; }
.switch summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-width: 0; padding: 6px 10px; margin: -6px -10px; border-radius: 8px; font-weight: 600; white-space: nowrap;
}
.switch summary::-webkit-details-marker { display: none; }
.switch summary:hover, .switch[open] summary { background: var(--surface); }
.switch summary img { flex: none; border-radius: 22%; }
.switch .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.switch .chev { flex: none; color: var(--text-3); transition: transform .2s ease; }
.switch[open] .chev { transform: rotate(180deg); }
.switch-menu {
  position: absolute; top: calc(100% + 12px); left: -10px; z-index: 10; width: max-content; min-width: 220px; max-width: calc(100vw - 32px);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12); display: flex; flex-direction: column; gap: 2px;
}
.switch-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.switch-menu a:hover { background: var(--surface); }
.switch-menu a > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.switch-menu b { font-size: 14px; font-weight: 600; }
.switch-menu small { font-size: 13px; color: var(--text-3); }
.switch-menu .tick { flex: none; margin-left: 4px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .switch .chev { transition: none; } }

/* Phones: let a card's label drop under its text instead of squeezing it */
@media (max-width: 480px) {
  .mini { flex-wrap: wrap; row-gap: 10px; }
  .mini .txt { flex-basis: calc(100% - 62px); }
  .mini .chip-soon, .mini .btn-o.chip { margin-left: 62px; }
}
