/* Diamond Dragon merch store MOCKUP (store.html only). Mobile-first; reuses styles.css variables. */
html.store-lock, html.store-lock body { overflow: hidden; }
.store-hero { padding: 2.75rem 0 0.5rem; }
.store-hero-inner { text-align: center; }
.store-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.95rem; margin: 0 0 1rem;
  background: linear-gradient(90deg, rgba(176,38,255,.25), rgba(0,229,255,.12)); border: 1px solid rgba(255,43,214,.45); color: #f5d0fe;
  font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 0 20px rgba(176,38,255,.25); clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.store-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); transform: rotate(45deg); }
.store-hero .section-lead { margin-bottom: 1rem; }
.store-hero .section-lead strong { color: var(--cyan-hot); }
.store-merch-note { margin: 0 auto; max-width: 560px; font-size: .8rem; color: #5a6280; }
.store-section { padding-top: 1.5rem; }

.store-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 .9rem; scrollbar-width: none; justify-content: flex-start; }
.store-chips::-webkit-scrollbar { display: none; }
.store-chip { flex: 0 0 auto; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: rgba(0,229,255,.04); border: 1px solid rgba(0,229,255,.3); border-radius: var(--radius-pill); padding: .55rem 1rem; cursor: pointer; transition: all .18s ease; }
.store-chip:hover { color: var(--cyan-hot); border-color: var(--cyan-hot); }
.store-chip.is-active { color: #02040a; background: linear-gradient(120deg, var(--cyan-hot), var(--cyan) 40%, var(--purple-bright)); border-color: transparent; box-shadow: 0 0 18px rgba(0,229,255,.4); }
.store-status { color: var(--muted); font-size: .85rem; margin: 0 0 1rem; text-align: center; }

.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.store-card { position: relative; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid rgba(0,229,255,.22);
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.store-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.75); box-shadow: 0 0 0 1px rgba(255,43,214,.35), 0 0 32px rgba(0,229,255,.35); }
.store-card[hidden] { display: none; }
.store-card-hit { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.store-card-meta { padding: .7rem .75rem .85rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.store-card-meta h3 { margin: 0; font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; color: var(--silver); }
.store-card-price { margin: .15rem 0 0; font-family: var(--font-display); font-weight: 800; color: var(--cyan-hot); font-size: .95rem; }
.price-label { font-family: var(--font-body); font-weight: 700; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #f5d0fe; background: rgba(176,38,255,.22); border: 1px solid rgba(255,43,214,.4); padding: .1rem .35rem; border-radius: 4px; vertical-align: middle; }
.store-card-status { margin: 0; font-size: .7rem; color: var(--muted); }
.store-qv { margin-top: auto; align-self: stretch; }
.sample-badge { position: absolute; top: 8px; left: 8px; z-index: 3; font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: #02040a; background: linear-gradient(90deg, var(--cyan-hot), var(--magenta)); padding: .3rem .55rem; clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px); box-shadow: 0 0 14px rgba(255,43,214,.5); }
.sample-tag { margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 800; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }

/* ---------- CSS product mockups (shape + real site art) ---------- */
.mock { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; --garment: #0b0d18;
  background: radial-gradient(60% 60% at 50% 45%, rgba(0,229,255,.16), transparent 70%), radial-gradient(50% 50% at 80% 90%, rgba(255,43,214,.12), transparent 70%), linear-gradient(160deg, #0a0e1f, #03050c); }
.mock::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,229,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.mock-shape { position: relative; display: grid; place-items: center; background: var(--garment); filter: drop-shadow(0 0 1px rgba(0,229,255,.9)) drop-shadow(0 0 12px rgba(0,229,255,.35)) drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.mock-art { width: 34%; height: auto; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,229,255,.6)); }
.mock.is-light .mock-art { filter: drop-shadow(0 0 2px rgba(0,0,0,.5)); }
/* tee */
.mock-tee .mock-shape { width: 74%; aspect-ratio: 1 / 1; clip-path: polygon(31% 0, 40% 5%, 60% 5%, 69% 0, 100% 17%, 89% 37%, 79% 32%, 79% 100%, 21% 100%, 21% 32%, 11% 37%, 0 17%); }
.mock-tee .mock-art { width: 30%; margin-top: -12%; }
/* hoodie */
.mock-hoodie .mock-shape { width: 78%; aspect-ratio: 1 / 1; clip-path: polygon(36% 0, 64% 0, 70% 9%, 92% 22%, 100% 86%, 88% 88%, 81% 42%, 81% 100%, 19% 100%, 19% 42%, 12% 88%, 0 86%, 8% 22%, 30% 9%); }
.mock-hoodie .mock-art { width: 28%; margin-top: 2%; }
/* snapback */
.mock-hat .mock-shape { width: 58%; aspect-ratio: 1.45 / 1; border-radius: 50% 50% 8% 8% / 92% 92% 8% 8%; margin-top: -8%; }
.mock-hat .mock-shape::after { content: ""; position: absolute; left: 30%; right: -22%; bottom: -12%; height: 18%; background: var(--garment); border-radius: 0 60% 40% 0 / 0 100% 100% 0; filter: brightness(1.35); }
.mock-hat .mock-art { width: 38%; margin-top: 12%; }
/* beanie */
.mock-beanie .mock-shape { width: 52%; aspect-ratio: 1 / 1.05; border-radius: 50% 50% 6% 6% / 70% 70% 6% 6%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 3px, transparent 3px 9px), var(--garment); margin-top: 6%; }
.mock-beanie .mock-shape::before { content: ""; position: absolute; top: -14%; left: 50%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--garment); filter: brightness(1.4); }
.mock-beanie .mock-shape::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: 0; height: 32%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 3px, transparent 3px 8px), var(--garment); filter: brightness(1.25); border-radius: 4px; }
.mock-beanie .mock-art { position: relative; z-index: 1; width: 34%; margin-top: 46%; }
/* mug */
.mock-mug .mock-shape { width: 44%; aspect-ratio: 1 / 1.1; border-radius: 6px 6px 14px 14px; margin-right: 10%; }
.mock-mug .mock-shape::after { content: ""; position: absolute; right: -30%; top: 20%; width: 34%; height: 50%; border: 9px solid var(--garment); border-left: 0; border-radius: 0 50% 50% 0; }
.mock-mug .mock-art { width: 58%; }
/* phone case */
.mock-case .mock-shape { width: 40%; aspect-ratio: 1 / 2; border-radius: 16% / 8%; overflow: hidden; border: 3px solid var(--garment); }
.mock-case .mock-art { width: 100%; height: 100%; object-fit: cover; filter: none; }
.mock-case .mock-shape::after { content: ""; position: absolute; top: 5%; left: 8%; width: 30%; aspect-ratio: 1; border-radius: 22%; background: rgba(2,4,10,.85); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
/* sticker pack */
.mock-stickers .mock-shape { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 0 0 2px rgba(0,229,255,.6); transform: rotate(-8deg) translate(-18%, -8%); }
.mock-stickers .mock-art { width: 78%; filter: none; }
.mock-stickers .stk { position: absolute; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 2px rgba(255,43,214,.6), 0 8px 16px rgba(0,0,0,.5); }
.mock-stickers .stk2 { width: 30%; aspect-ratio: 1; border-radius: 18%; right: 14%; bottom: 16%; transform: rotate(10deg); background: var(--garment); }
.mock-stickers .stk2 img { width: 74%; }
.mock-stickers .stk3 { width: 18%; aspect-ratio: 1; right: 22%; top: 16%; transform: rotate(45deg); background: linear-gradient(135deg, var(--cyan-hot), var(--purple-bright), var(--magenta)); }
/* poster */
.mock-poster .mock-shape { width: 52%; aspect-ratio: 2 / 3; padding: 4%; background: #f3f5fb; }
.mock-poster .mock-art { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; filter: none; }

/* ---------- Quick view & cart (modals) ---------- */
.store-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.store-modal[hidden] { display: none; }
.store-backdrop { position: absolute; inset: 0; background: rgba(2,4,10,.82); backdrop-filter: blur(6px); }
.store-dialog { position: relative; width: min(860px, 100%); max-height: calc(100dvh - 2rem); overflow-y: scroll; scrollbar-width: auto; scrollbar-color: #000 #3a4058; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: linear-gradient(160deg, #0a0e1f, #04060f);
  border: 1px solid rgba(0,229,255,.4); box-shadow: 0 0 48px rgba(0,229,255,.25), 0 0 40px rgba(255,43,214,.18); padding: 1rem; border-radius: var(--radius); }
.store-dialog::-webkit-scrollbar { display: block; width: 14px; }
.store-dialog::-webkit-scrollbar-track { background: #3a4058; border-radius: 0 18px 18px 0; }
.store-dialog::-webkit-scrollbar-thumb { background: #000; border: 3px solid #3a4058; border-radius: 10px; min-height: 48px; }
.store-dialog::-webkit-scrollbar-thumb:hover { background: #111; }
.store-close { position: absolute; top: .4rem; right: .6rem; z-index: 4; width: 40px; height: 40px; border: 0; background: none; color: var(--silver); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.store-close:hover { color: var(--cyan-hot); }
.qv-grid { display: grid; gap: 1rem; }
.qv-art .mock { border-radius: var(--radius-sm); border: 1px solid rgba(0,229,255,.2); }
.qv-title { margin: 0 0 .35rem; font-family: var(--font-display); font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1.15; }
.qv-price { margin: 0 0 .6rem; }
.qv-price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--cyan-hot); text-shadow: 0 0 14px rgba(0,229,255,.4); }
.qv-desc { color: var(--muted); font-size: .92rem; margin: 0 0 .9rem; }
.qv-field { display: grid; gap: .35rem; margin: 0 0 .8rem; padding: 0; border: 0; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qv-field legend { padding: 0; margin-bottom: .35rem; }
.qv-field legend span { color: var(--silver); }
.swatches { display: flex; gap: .55rem; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: var(--sw, #6b7280) center / cover no-repeat; cursor: pointer; }
.swatch[aria-pressed="true"] { border-color: var(--cyan-hot); box-shadow: 0 0 0 2px #02040a, 0 0 0 4px var(--cyan-hot), 0 0 14px rgba(0,229,255,.6); }
.store-select { width: 100%; font: 500 1rem var(--font-body); color: var(--silver); background: #02040a; border: 1px solid rgba(0,229,255,.35); border-radius: var(--radius-sm); padding: .75rem; text-transform: none; letter-spacing: 0; }
.store-select:focus { outline: none; border-color: var(--cyan-hot); box-shadow: 0 0 0 3px rgba(0,229,255,.2); }
.qv-msg { min-height: 1.2em; margin: 0 0 .6rem; font-size: .85rem; color: var(--cyan-bright); }
.qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.qv-actions .btn {
  flex: 1 1 140px;
  min-width: 0;
}
.qv-add, .qv-buy-now { width: 100%; }
.qv-buy-now.is-loading,
.store-buy-now.is-loading {
  opacity: .75;
  pointer-events: none;
}
.store-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
}
.store-card-actions .btn {
  flex: 1 1 calc(50% - .25rem);
  min-width: 0;
}
@media (max-width: 389px) {
  .qv-actions { flex-direction: column; }
  .qv-actions .btn { flex: 1 1 auto; }
  .store-card-actions { flex-direction: column; }
  .store-card-actions .btn { flex: 1 1 auto; }
}

/* Keep the product sheet above the sticky mobile bar so Add to cart
   and Buy now are both fully visible on phones. */
@media (max-width: 760px) {
  .store-modal:not(.cart-drawer) {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px) + 0.5rem);
  }
  .store-dialog {
    max-height: calc(100dvh - var(--mobile-bar-h) - env(safe-area-inset-bottom, 0px) - 1.5rem);
  }
}

.cart-drawer { place-items: stretch end; padding: 0; }
.cart-panel { position: relative; width: min(420px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: 1rem 1rem 1.25rem; overflow-y: auto; scrollbar-width: none;
  background: linear-gradient(180deg, #0a0e1f, #02040a); border-left: 1px solid rgba(0,229,255,.35); box-shadow: -10px 0 48px rgba(0,229,255,.18); }
.cart-panel::-webkit-scrollbar { display: none; }
.cart-head { position: relative; padding-right: 44px; }
.cart-head h2 { margin: .3rem 0 .8rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cart-head .store-close { top: -.1rem; right: -.4rem; }
.cart-empty { color: var(--muted); }
.cart-items { list-style: none; margin: 0; padding: 0; flex: 1; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid rgba(0,229,255,.12); }
.cart-thumb .mock { width: 72px; border: 1px solid rgba(0,229,255,.2); }
.cart-thumb .mock::before { background-size: 10px 10px; }
.cart-info { display: grid; gap: .15rem; font-size: .85rem; }
.cart-info span { color: var(--muted); }
.cart-info .cart-price { color: var(--cyan-hot); font-weight: 700; }
.cart-qty { display: flex; align-items: center; gap: .6rem; margin-top: .3rem; }
.qty-btn { width: 30px; height: 30px; border-radius: 6px; border: 1px solid rgba(0,229,255,.45); background: rgba(0,229,255,.06); color: var(--cyan-hot); font-weight: 800; cursor: pointer; }
.cart-remove { margin-left: auto; border: 0; background: none; color: var(--danger); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cart-foot { display: grid; gap: .7rem; padding-top: 1rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); }
.cart-total strong { font-size: 1.3rem; color: var(--cyan-hot); }
.cart-note { margin: 0; font-size: .75rem; color: #5a6280; }
.cart-checkout[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(.4); transform: none; }

.cart-fab { position: fixed; right: 1rem; bottom: calc(var(--mobile-bar-h) + 1rem); z-index: 120; display: inline-flex; align-items: center; gap: .4rem; padding: .75rem 1rem;
  font-family: var(--font-display); font-weight: 800; color: #02040a; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: linear-gradient(120deg, var(--cyan-hot), var(--cyan) 40%, var(--purple-bright) 80%, var(--magenta)); box-shadow: 0 0 24px rgba(0,229,255,.5), 0 8px 20px rgba(0,0,0,.5); }

@media (min-width: 640px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } .store-chips { justify-content: center; } }
@media (min-width: 761px) { .cart-fab { bottom: 1.5rem; } .qv-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; } .store-dialog { padding: 1.5rem; } }
@media (min-width: 1000px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


/* Real Shopify product images (same card aspect as CSS mocks) */
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(0,229,255,.16), transparent 70%),
    radial-gradient(50% 50% at 80% 90%, rgba(255,43,214,.12), transparent 70%),
    linear-gradient(160deg, #0a0e1f, #03050c);
}
.product-thumb img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0,229,255,.35)) drop-shadow(0 10px 18px rgba(0,0,0,.55));
}
/* Local lifestyle/override photos: fill the square, no white letterbox */
.product-thumb.is-photo {
  background: #0a0e1f;
}
.product-thumb.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.cart-thumb .product-thumb { aspect-ratio: 1 / 1; }
.cart-thumb .product-thumb img { width: 92%; height: 92%; }
.cart-thumb .product-thumb.is-photo img { width: 100%; height: 100%; }
.qv-gallery {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin: .65rem 0 0;
}
.qv-gallery[hidden] { display: none !important; }
.qv-gallery-btn {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(0,229,255,.35);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0e1f;
  cursor: pointer;
}
.qv-gallery-btn[aria-pressed="true"] {
  border-color: var(--cyan-hot);
  box-shadow: 0 0 12px rgba(0,229,255,.45);
}
.qv-gallery-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-unavailable {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  border: 1px dashed rgba(0,229,255,.3);
  border-radius: 12px;
}
.cart-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.qv-field[hidden], .qv-field-color[hidden] { display: none !important; }

/* Card hover second image (local thumb 2) */
.store-card-hit.has-hover { position: relative; }
.store-card-hit.has-hover .product-thumb-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
.store-card-hit.has-hover:hover .product-thumb-hover,
.store-card-hit.has-hover:focus-visible .product-thumb-hover {
  opacity: 1;
}
.store-card-hit.has-hover:hover .product-thumb:not(.product-thumb-hover),
.store-card-hit.has-hover:focus-visible .product-thumb:not(.product-thumb-hover) {
  opacity: 0;
}
.store-card-hit.has-hover .product-thumb:not(.product-thumb-hover) {
  transition: opacity .22s ease;
}


/* Header cart link */
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--silver);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  padding: .35rem .55rem;
  border: 1px solid rgba(0,229,255,.35);
  border-radius: var(--radius-pill);
}
.header-cart:hover { color: var(--cyan-hot); border-color: var(--cyan-hot); }
.header-cart .js-cart-count {
  min-width: 1.2em;
  text-align: center;
  color: var(--cyan-hot);
}

/* Full cart page */
.cart-page-wrap { max-width: 820px; }
.cart-page-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cart-page-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: .9rem;
  padding: .9rem;
  background: var(--bg-card);
  border: 1px solid rgba(0,229,255,.22);
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
.cart-page-line .cart-thumb .product-thumb { border-radius: 8px; overflow: hidden; }
.cart-page-meta { display: grid; gap: .25rem; align-content: start; }
.cart-page-meta strong { font-family: var(--font-display); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.cart-page-meta .cart-variant { color: var(--muted); font-size: .85rem; }
.cart-page-meta .cart-unit { color: var(--muted); font-size: .8rem; }
.cart-page-row { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .35rem; }
.cart-page-line-total { margin-left: auto; font-family: var(--font-display); font-weight: 800; color: var(--cyan-hot); font-size: 1.05rem; }
.cart-page-foot { margin-top: 1.25rem; display: grid; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(0,229,255,.2); }
.cart-page-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.cart-page-actions .btn { flex: 1 1 160px; }
.cart-page-body .mobile-bar { display: none; }
@media (max-width: 520px) {
  .cart-page-line { grid-template-columns: 72px 1fr; }
  .cart-page-line-total { margin-left: 0; width: 100%; }
}

/* Shop Pay checkout button (Shopify brand purple #5A31F4) */
.shoppay-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  max-width: 22rem;
  text-align: center;
}
.cart-foot .shoppay-btn,
.cart-page-actions .shoppay-btn { width: 100%; flex: 1 1 100%; }
.shoppay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 6px;
  background: #5a31f4;
  color: #fff;
  font: 600 1rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.shoppay-btn:hover:not(:disabled) { background: #390ced; }
.shoppay-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.shoppay-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.shoppay-logo { display: block; height: 20px; width: auto; }
.shoppay-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

