.swipe-storefront { background:#fbf8f1; }
.store-header { background:#fbf8f1; border-bottom:1px solid #e7dfce; }
.store-header .wrap { display:flex; align-items:center; justify-content:space-between; min-height:60px; }
.store-brand { color:#211d17; font-size:1.25rem; font-weight:850; letter-spacing:-.055em; text-decoration:none; }
.store-return { color:#285847; font-size:.85rem; font-weight:800; text-underline-offset:.2em; }
.sticker-hero { padding:0; background:#1e283c; color:#fff6e7; overflow:hidden; }
.sticker-hero-inner { display:grid; align-items:center; min-height:380px; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:24px; }
.hero-copy { padding-block:34px; position:relative; z-index:1; }
.hero-copy h1 { font-size:clamp(2.6rem,7vw,5.2rem); line-height:.96; letter-spacing:-.075em; max-width:11ch; }
.hero-copy p { margin-block:16px; max-width:27rem; color:#ffebd5; }
.sticker-hero-actions { display:flex; flex-wrap:wrap; gap:8px; }
.sticker-hero-actions .btn { background:#ffe485; color:#201c17; }
.sticker-hero-actions .ghost { color:#fff6e7; background:transparent; border:1px solid #a7abc1; }
.hero-stickers { position:relative; min-width:0; height:360px; background:radial-gradient(ellipse,#b099dc79,transparent 73%); }
.hero-stickers img { position:absolute; object-fit:contain; height:auto; filter:drop-shadow(0 8px 14px #0d081a5e); }
.hero-race { width:80%; top:7%; left:13%; transform:rotate(-7deg); z-index:1; }
.hero-cat { width:30%; top:41%; left:5%; transform:rotate(-10deg); z-index:2; }
.hero-pixel { width:35%; top:49%; left:36%; transform:rotate(10deg); z-index:2; }
.hero-bow { width:23%; top:45%; left:74%; transform:rotate(13deg); z-index:1; }
.store-sheets { padding-block:clamp(2rem,6vw,4rem); }
.shop-sheets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-block:16px; }
.shop-sheet { border:1px solid #ded5bf; border-radius:18px; overflow:hidden; background:#fffdf7; }
.shop-sheet > a { display:block; background:#f2ecdf; }
.shop-sheet img { width:100%; height:auto; aspect-ratio:297 / 210; object-fit:contain; }
.shop-sheet-info { padding:12px; }
.shop-sheet-info h3 { font-size:1.12rem; line-height:1.15; }
.shop-sheet-info p { margin-block:6px 10px; font-size:.86rem; color:#554f44; }
.shop-sheet-actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.shop-sheet-actions :is(.btn,.chip) { font-size:.75rem; min-height:42px; padding:7px 9px; }
.shop-sheet-actions .btn { background:#215d48; color:#fff; }
.swipe-storefront .review-samples button { min-height:42px; }
@media (max-width:760px) {
  .sticker-hero-inner { grid-template-columns:1fr; gap:0; min-height:0; }
  .hero-copy { padding-block:24px 8px; }
  .hero-copy h1 { max-width:12ch; }
  .hero-copy p { margin-block:10px 14px; }
  .hero-stickers { height:clamp(190px,49vw,320px); }
  .hero-race { width:70%; left:16%; top:3%; }
  .hero-cat { width:24%; top:35%; left:4%; }
  .hero-pixel { width:32%; top:42%; left:35%; }
  .hero-bow { width:21%; top:38%; left:73%; }
  .shop-sheets { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:330px) {
  .shop-sheets { grid-template-columns:minmax(0,1fr); }
}
.swipe-embed,.swipe-embed body { overflow:hidden; }
.swipe-embed .store-header,
.swipe-compact :is(.sticker-hero,.store-sheets),
.swipe-sheets :is(.sticker-hero,#igra) { display:none !important; }
.swipe-embed .swipe-storefront main { display:flow-root; padding:0; }
.swipe-studio :is(#igra,#gotovi,#tray) { scroll-margin-top:85px; }
.swipe-start-play .sticker-hero,.swipe-start-ready .sticker-hero,.swipe-start-selection .sticker-hero { display:none; }
.swipe-start-ready .swipe-storefront main { display:flex; flex-direction:column; }
.swipe-start-ready .store-sheets,.swipe-start-selection #igra .tray { order:-1; }
.swipe-compact,.swipe-compact body { background:#eae5f4; }
.swipe-compact #igra { border:none; margin:0; padding:10px; }
.swipe-compact #igra .wrap { width:100%; padding:0; }
.swipe-compact #igra .game { grid-template-columns:minmax(0,1fr); margin-top:0; }
.swipe-compact #igra .deck { gap:6px; }
.swipe-compact #igra :is(h2,.lead,.tray,.tray-feedback:not([data-collection-end]),#swipe-progress) { display:none; }
.swipe-compact #igra .swipe-toolbar { padding-inline:3px; }
.swipe-compact #igra .tray-feedback[data-collection-end] { margin:0 3px; color:#493d5a; }
.swipe-compact #igra .swipe-stack { padding:0; overflow:clip; }
.swipe-compact #igra .card { border:0; border-radius:0; padding:0 3px 5px; box-shadow:none; background:transparent; }
.swipe-compact #igra .card.back { display:none; }
.swipe-compact #igra .card .series { background:transparent; border-radius:0; padding:3px 0; }
.swipe-compact #igra .card .pic { height:clamp(120px,calc(var(--sticker-viewport-height, 700px) - 420px),260px); aspect-ratio:auto; margin:2px 0 5px; padding:0; }
.swipe-compact #igra .card h3 { font-size:1rem; margin:0; }
.swipe-compact #igra .card .meta { margin-top:3px; }
.swipe-compact #igra .card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 8px; align-items:center; }
.swipe-compact #igra .card :is(.series,.pic) { grid-column:1/-1; }
.swipe-compact #igra .card h3 { font-size:.9rem; line-height:1.25; min-width:0; }
.swipe-compact #igra .card .meta { flex-direction:column-reverse; align-items:flex-end; gap:0; font-size:.68rem; margin:0; }
.swipe-compact #igra .meta span:last-child { font-size:.95rem; }
.swipe-compact #igra .sheet-jump { padding:7px 10px; gap:1px; }
.swipe-compact .sheet-jump-title { font-size:1rem; }
.swipe-compact .sheet-jump-detail { font-size:.7rem; }
.swipe-compact #igra .embed-offer { order:1; }
.swipe-compact #igra .sheet-jump { order:2; }
.swipe-compact #igra .acts button,.swipe-compact #igra .sheet-jump { min-height:44px; }
.swipe-compact #igra .acts .undo { width:44px; }
.swipe-compact #igra .progress { margin:4px 0 2px; }
.embed-offer,.sheet-catalog-selection { display:none; }
.embed-offer strong { white-space:nowrap; }
.embed-offer span { text-align:right; }
.embed-offer progress { grid-column:1/-1; width:100%; height:5px; accent-color:#257258; }
.swipe-sheets .store-sheets { padding:14px 0; }
.swipe-sheets .store-sheets .wrap { width:100%; padding-inline:12px; }
.swipe-storefront .sheet-catalog-selection:not([hidden]) {
  display:inline-flex; align-items:center; min-height:44px; margin-top:10px; padding:7px 14px; border-radius:12px;
  background:#215d48; color:#fff; font-size:.88rem; font-weight:750; text-decoration:none;
}

.shop-sheet .sheet-cover-button {
  position:relative; display:block; width:100%; aspect-ratio:297/210; padding:0; border:0; cursor:zoom-in;
  overflow:hidden; background:radial-gradient(ellipse,#fffdf8 15%,#eee4f3 95%);
}
.shop-sheet .sheet-cover-button .sheet-cover-full { position:absolute; inset:0; width:100%; height:100%; }
.shop-sheet .sheet-cover-button .sheet-cover-motif {
  position:absolute; inset:0; display:flex; justify-content:center; gap:4%; padding:clamp(8px,2vw,19px);
  opacity:0; transition:opacity .18s ease;
}
.sheet-cover-motif img { min-width:0; width:auto; height:100%; aspect-ratio:auto; object-fit:contain; filter:drop-shadow(0 5px 9px #34244832); }
.sheet-cover-motif img:only-child { max-width:100%; }
.sheet-cover-motif img:not(:only-child) { max-width:48%; }
.shop-sheet .sheet-cover-button .sheet-cover-full { opacity:1; transition:opacity .18s ease; }
.sheet-cover-hint {
  position:absolute; right:7px; bottom:7px; padding:4px 8px; background:#fffdf5f5; color:#253b31;
  border-radius:999px; font-size:.72rem; font-weight:760;
}
.shop-sheet .sheet-cover-button:is(:hover,:focus-visible) .sheet-cover-motif { opacity:1; }
.shop-sheet .sheet-cover-button:is(:hover,:focus-visible) .sheet-cover-full { opacity:0; }
.sheet-lightbox {
  box-sizing:border-box; width:min(760px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); border:1px solid #ded5bf;
  border-radius:18px; padding:14px; background:#fffdf7; color:#24362c; overflow:auto; overscroll-behavior:contain;
  font:inherit;
}
.sheet-lightbox::backdrop { background:#1b1727ba; }
html:has(.sheet-lightbox[open]) { overflow:hidden; }
.sheet-lightbox * { box-sizing:border-box; }
.sheet-lightbox-head,.sheet-lightbox-controls,.sheet-lightbox-footer { display:flex; align-items:center; gap:8px; }
.sheet-lightbox-head { justify-content:space-between; margin-bottom:7px; }
.sheet-lightbox-head h2 { font-size:clamp(1.14rem,3vw,1.55rem); margin:0; }
.sheet-lightbox :is(.sheet-close,.sheet-lightbox-controls button) {
  display:grid; place-items:center; flex:none; width:44px; height:44px; border:1px solid #d9d0bd; border-radius:50%;
  background:#f3ecdd; color:inherit; font:700 1.45rem/1 Onest,sans-serif; cursor:pointer;
}
.sheet-lightbox-art {
  height:clamp(160px,calc(62dvh - 24px),560px); display:grid; grid-template:minmax(0,1fr)/minmax(0,1fr); place-items:center;
  border-radius:12px; background:radial-gradient(ellipse,#fffdf8,#eee4f3); padding:8px;
  touch-action:pan-y pinch-zoom;
}
.sheet-lightbox-art img { display:block; min-width:0; min-height:0; width:100%; height:100%; object-fit:contain; }
.sheet-lightbox-art[data-sheet="true"] { padding:2px; }
.sheet-lightbox-art[data-pixel="true"] img { image-rendering:pixelated; }
.sheet-lightbox-controls { justify-content:space-between; margin-block:5px; }
.sheet-caption { min-width:0; text-align:center; font-weight:760; font-size:.85rem; }
.sheet-lightbox-footer { flex-wrap:wrap; border-top:1px solid #ded5bf; padding-top:8px; position:sticky; bottom:-14px; background:#fffdf7; }
.sheet-lightbox-footer strong { margin-left:auto; white-space:nowrap; }
.sheet-lightbox-footer button { min-height:44px; padding:7px 12px; border-radius:10px; font:inherit; font-weight:700; cursor:pointer; }
.sheet-lightbox-footer .btn { background:#215d48; color:white; border:0; }
.sheet-lightbox-footer .chip { background:#fffdf7; color:inherit; border:1px solid #ded5bf; }
@media (hover:none), (pointer:coarse), (max-width:700px) {
  .shop-sheet .sheet-cover-button .sheet-cover-motif { opacity:1; }
  .shop-sheet .sheet-cover-button .sheet-cover-full { opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
  .shop-sheet .sheet-cover-button :is(.sheet-cover-full,.sheet-cover-motif) { transition:none; }
}

.swipe-storefront .sheet-jump,
.swipe-storefront .sheet-catalog-selection { border:0; cursor:pointer; }
.swipe-storefront .embed-offer:not([hidden]) {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 8px;
  padding:9px 10px; border-radius:12px; background:#e0f0e6; color:#184532;
  font-size:.8rem; line-height:1.25;
}
.embed-offer .embed-saved { grid-row:2; grid-column:1/-1; text-align:left; font-weight:760; }
.sheet-lightbox.sticker-order-dialog { width:min(94vw,640px); padding:14px; }
.sticker-order-dialog .tray h3 { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:5px; margin:4px 0; font-size:1rem; }
.sticker-order-dialog .tray h3 small { color:#5b6156; }
.sticker-order-dialog .tray-sheet { position:relative; aspect-ratio:297/210; width:min(100%,max(225px,61dvh)); margin:8px auto; border:1px solid #ded5bf; border-radius:5px; background:#fff; overflow:hidden; }
.sticker-order-dialog .tray-sheet span, .sticker-order-dialog .tray-sheet img { position:absolute; }
.sticker-order-dialog .tray-sheet img { width:100%; height:100%; object-fit:contain; left:50%; top:50%; transform:translate(-50%,-50%); }
.sticker-order-dialog .tier, .sticker-order-dialog .sum { margin:8px 0; font-size:.87rem; }
.sticker-order-dialog .tier { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px; }
.sticker-order-dialog .tier strong,.sticker-order-dialog .saved { color:#176345; }
.sticker-order-dialog .tier .bar { width:100%; height:4px; border-radius:8px; background:#e4eadf; overflow:hidden; }
.sticker-order-dialog .tier i { display:block; height:100%; background:#176345; }
.sticker-order-dialog .sum > div { display:flex; justify-content:space-between; padding:3px 0; }
.sticker-order-dialog .sum .total { font-weight:800; border-top:1px solid #ded5bf; padding-top:7px; }
.sticker-order-dialog button { cursor:pointer; font:inherit; }
.sticker-order-dialog #tray-pages:not([hidden]) { display:flex; gap:4px; overflow:auto; }
.sticker-order-dialog #tray-pages button,.sticker-order-dialog .row button { min-height:44px; padding:4px 9px; border:1px solid #ded5bf; border-radius:8px; background:#fffdf7; }
.sticker-order-dialog #tray-pages button { white-space:nowrap; }
.sticker-order-dialog #tray-pages [aria-pressed="true"] { background:#e0f0e6; font-weight:800; }
.sticker-order-dialog summary { padding:6px 0; cursor:pointer; font-weight:700; }
.sticker-order-dialog .rows { margin:4px 0; padding:0; }
.sticker-order-dialog .row { display:grid; grid-template-columns:34px minmax(0,1fr) auto auto; align-items:center; gap:6px; list-style:none; border-top:1px solid #ded5bf; }
.sticker-order-dialog .row img { width:32px; height:32px; object-fit:contain; }
.sticker-order-dialog .row .txt { display:grid; }
.sticker-order-dialog .qty { display:flex; align-items:center; gap:4px; }
.sticker-order-dialog .checkout-feedback { color:#8f3026; font-size:.88rem; }
.sticker-order-dialog .tray-checkout { position:sticky; bottom:-14px; background:#fffdf7; padding:6px 0 2px; }
.sticker-order-dialog .store-checkout { width:100%; min-height:44px; padding:8px; border:0; border-radius:12px; background:#215d48; color:white; font-weight:800; }
.sticker-order-dialog .store-checkout:disabled { opacity:.6; }
