/* The Saga Store website. Colours and fonts come from Settings (CSS variables set in index.html). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 68px) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--background); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--background); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--heading-accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  border: 2px solid var(--text); font-weight: 700; text-decoration: none; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--button); color: var(--button-text); box-shadow: 3px 3px 0 var(--text); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--text); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--text); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--highlight); }
.btn-whatsapp { background: #25D366; color: #0B3B23; box-shadow: 3px 3px 0 var(--text); }
.btn-whatsapp:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--text); }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--text);
  background: var(--card); font-size: 22px; line-height: 1; display: inline-grid; place-items: center; padding: 0;
}
.icon-btn:hover { background: var(--highlight); }
.text-btn { background: none; border: 0; text-decoration: underline; font-size: 14px; padding: 8px; opacity: .8; }

/* ---------- announcement + header ---------- */
.announce { background: var(--text); color: var(--background); text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; letter-spacing: .01em; }
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 2px solid var(--text); }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; padding-top: 4px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: var(--logo-h, 52px); width: auto; }
@media (max-width: 700px) { .brand img { height: min(var(--logo-h, 52px), 56px); } }
.mainnav { display: none; gap: 4px; margin-left: auto; }
.mainnav a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.mainnav a:hover { background: var(--highlight); }
@media (min-width: 960px) { .mainnav { display: flex; } }
.list-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 6px 8px 6px 16px; border-radius: 999px; border: 2px solid var(--text);
  background: var(--button); color: var(--button-text); font-weight: 700; box-shadow: 2px 2px 0 var(--text);
}
@media (min-width: 960px) { .list-btn { margin-left: 8px; } }
.list-count { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--card); display: inline-grid; place-items: center; font-size: 14px; }
.list-btn.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* text logo (used until a logo image is added in Settings) */
.text-logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); line-height: 1; color: var(--text); }
.text-logo small { font-family: var(--font-heading); font-size: 13px; letter-spacing: .06em; }
.text-logo .saga { font-size: 32px; letter-spacing: .01em; }
.text-logo .saga b { font-weight: 400; text-shadow: -2px -2px 0 var(--text), 2px -2px 0 var(--text), -2px 2px 0 var(--text), 2px 2px 0 var(--text), 0 2px 0 var(--text), 0 -2px 0 var(--text), 2px 0 0 var(--text), -2px 0 0 var(--text), 3px 4px 0 var(--text); }

/* ---------- home banner (slides) ---------- */
.banner { padding: 18px 0 22px; }
@media (min-width: 900px) { .banner { padding: 28px 0 32px; } }
.banner .wrap { padding-left: 12px; padding-right: 12px; }
@media (min-width: 900px) { .banner .wrap { padding-left: 32px; padding-right: 32px; } }
.banner-frame { position: relative; border: 2px solid var(--text); border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: 5px 6px 0 var(--text); }
.banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.banner-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow: hidden; display: flex; }
.slide-inner { display: grid; grid-template-rows: auto 1fr; gap: 6px; width: 100%; padding: 26px 22px 58px; min-height: 560px; }
@media (min-width: 760px) { .slide-inner { grid-template-columns: 1.05fr .95fr; grid-template-rows: none; align-items: center; gap: 24px; padding: 44px 56px 64px; min-height: 470px; } }
@media (min-width: 1100px) { .slide-inner { min-height: 500px; padding-left: 72px; } }
.slide-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 2px solid currentColor; margin-bottom: 14px; }
.slide-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(36px, 9vw, 72px); line-height: 1.02; margin: 0 0 12px; letter-spacing: -.005em; }
.slide-title mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
.slide-title mark::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .42em; background: var(--mark, var(--highlight)); z-index: -1; border-radius: .12em; transform: rotate(-1.5deg); }
.slide-copy { font-size: 17px; margin: 0 0 20px; max-width: 30em; }
@media (min-width: 760px) { .slide-copy { font-size: 19px; } }
/* slide colours */
.bg-cream { background: var(--background); color: var(--text); --mark: var(--highlight); }
.bg-yellow { background: var(--highlight); color: var(--text); --mark: var(--tag); }
.bg-pink { background: var(--tag); color: var(--text); --mark: var(--highlight); }
.bg-orange { background: var(--button); color: var(--text); --mark: var(--highlight); }
.bg-plum { background: var(--text); color: var(--background); }
.bg-plum .slide-title mark { color: var(--highlight); }
.bg-plum .slide-title mark::before { display: none; }
.bg-plum .slide-tag { color: var(--highlight); }
.bg-plum .btn-primary { box-shadow: 3px 3px 0 var(--highlight); border-color: var(--background); }
.btn-dark { background: var(--text); color: var(--background); box-shadow: 3px 3px 0 var(--background); }
.btn-dark:hover { transform: translate(-1px, -1px); }
/* posters on a slide */
.slide-art { position: relative; min-height: 250px; }
@media (min-width: 760px) { .slide-art { min-height: 380px; height: 100%; } }
.slide-art .fan-card { border: 0; cursor: pointer; width: 40%; max-width: 210px; }
@media (min-width: 760px) { .slide-art .fan-card { width: 44%; max-width: 230px; } }
.fan-card {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 3 / 4;
  background: #fff; padding: 6px; border-radius: 6px;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.45), 0 0 0 2px var(--text);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform .3s ease;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.fan-card:hover, .fan-card:focus-visible { transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) - 10px)) rotate(var(--r)) scale(1.04); z-index: 20 !important; }
.slide-art-image { display: grid; place-items: center; }
.slide-art-image img { max-height: 380px; width: auto; max-width: 100%; border-radius: 12px; }
/* photo frames when a slide has no posters */
.slide-art-frames .frame-card { position: absolute; left: 50%; top: 50%; width: 46%; max-width: 230px; aspect-ratio: 4 / 5; background: #fff; padding: 10px 10px 34px; border-radius: 4px; box-shadow: 0 0 0 2px var(--text), 0 16px 28px -14px rgba(0,0,0,.5); }
.slide-art-frames .frame-1 span { font-size: 0; }
.slide-art-frames .frame-card span { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--tag), var(--highlight) 55%, var(--button)); color: var(--text); font-weight: 600; font-size: 13px; text-align: center; padding: 6px; }
.frame-1 { transform: translate(-50%, -50%) translate(-26%, 6%) rotate(-8deg); }
.frame-2 { transform: translate(-50%, -50%) translate(26%, -4%) rotate(7deg); }
/* a slide that is one picture (made in Photoshop etc.) */
.slide-full-link { display: block; width: 100%; }
.slide-full img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; display: block; }
@media (min-width: 760px) { .slide-full img { min-height: 470px; } }
/* arrows, dots, pause */
.banner-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--text); background: var(--card); font-size: 28px; line-height: 1; padding: 0 0 4px; z-index: 5; box-shadow: 2px 2px 0 var(--text); }
.banner-prev { left: 14px; } .banner-next { right: 14px; }
.banner-arrow:hover { background: var(--highlight); }
@media (hover: hover) and (min-width: 760px) { .banner-arrow { display: grid; place-items: center; opacity: 0; transition: opacity .2s; } .banner-frame:hover .banner-arrow, .banner-arrow:focus-visible { opacity: 1; } }
.banner-controls { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; z-index: 5; pointer-events: none; }
.banner-dots { display: flex; gap: 0; background: var(--card); border: 2px solid var(--text); border-radius: 999px; padding: 0 4px; pointer-events: auto; }
.banner-dot { box-sizing: content-box; width: 10px; height: 10px; border-radius: 999px; border: 6px solid transparent; background-clip: content-box; padding: 0; background: color-mix(in srgb, var(--text) 30%, transparent); transition: width .25s, background .25s; }
.banner-dot[aria-current="true"] { width: 26px; background: var(--button); }
.banner-pause { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--text); background: var(--card); font-size: 11px; padding: 0; pointer-events: auto; color: var(--text); }
.banner-frame.single .banner-controls, .banner-frame.single .banner-arrow { display: none !important; }

/* ---------- quick facts strip ---------- */
.ticker { background: var(--text); color: var(--background); border-top: 2px solid var(--text); border-bottom: 2px solid var(--text); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: inline-flex; }
.ticker-item { padding: 12px 22px; font-weight: 600; font-size: 15px; position: relative; }
.ticker-item::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--highlight); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { white-space: normal; } .ticker-group[aria-hidden="true"] { display: none; } .ticker-group { flex-wrap: wrap; justify-content: center; } }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; margin: 0 0 8px; }
.section-lead { margin: 0 0 24px; font-size: 17px; max-width: 40em; }
.price-note { font-size: 14px; margin: 18px 0 0; opacity: .85; }

/* sizes */
#sizes { border-top: 2px solid var(--text); }
.size-row { display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; padding: 8px 4px 14px; scroll-snap-type: x mandatory; --scale: .45px; }
@media (min-width: 700px) { .size-row { --scale: .55px; gap: 22px; } }
@media (min-width: 1100px) { .size-row { --scale: .62px; justify-content: space-between; overflow: visible; } }
.size { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; scroll-snap-align: start; min-width: 96px; }
.size-sheet {
  width: calc(var(--w) * var(--scale)); height: calc(var(--h) * var(--scale)); min-width: 22px; min-height: 31px;
  background: var(--card); border: 2px solid var(--text); border-radius: 3px; position: relative; overflow: hidden;
  box-shadow: 3px 3px 0 color-mix(in srgb, var(--text) 25%, transparent);
}
.size-sheet img { width: 100%; height: 100%; object-fit: cover; }
.size-info { text-align: center; margin-top: 10px; }
.size-name { font-family: var(--font-heading); font-size: 26px; line-height: 1; }
.size-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--heading-accent); }
.size-mm { font-size: 12px; opacity: .8; }
.size-price { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 14px; background: var(--highlight); border: 2px solid var(--text); border-radius: 999px; padding: 1px 10px; }
.size-price.muted { background: transparent; font-weight: 600; font-size: 12px; }
.size-custom .size-sheet { border-style: dashed; background: transparent; display: grid; place-items: center; font-family: var(--font-heading); font-size: 28px; box-shadow: none; }
.size-note { font-size: 12px; max-width: 140px; margin: 4px auto 0; opacity: .85; line-height: 1.35; }

/* designs */
.section-designs { padding-bottom: 32px; background: color-mix(in srgb, var(--highlight) 22%, var(--background)); border-top: 2px solid var(--text); border-bottom: 2px solid var(--text); }
.designs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.designs-count { margin: 0 0 8px; font-weight: 600; }
.filters { position: sticky; top: var(--header-h, 68px); z-index: 30; background: color-mix(in srgb, var(--highlight) 22%, var(--background)); padding: 12px 0; margin-bottom: 18px; }
.filters.stuck { box-shadow: 0 8px 16px -14px var(--text); }
.filters-inner { display: grid; gap: 10px; }
@media (min-width: 900px) { .filters-inner { grid-template-columns: 340px 1fr; align-items: center; } }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 2px solid var(--text); border-radius: 999px; padding: 0 16px; min-height: 46px; }
.search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; flex-shrink: 0; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-height: 42px; font-size: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -20px; padding: 2px 20px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { margin: 0; padding: 2px; flex-wrap: wrap; } }
.chip {
  flex: 0 0 auto; border: 2px solid var(--text); background: var(--card); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; min-height: 40px; white-space: nowrap;
}
.chip span { opacity: .6; font-weight: 500; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--background); }
.chip[aria-pressed="true"] span { opacity: .8; }
.chip:hover:not([aria-pressed="true"]) { background: var(--highlight); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card { background: var(--card); border: 2px solid var(--text); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -16px var(--text); }
/* whole poster shown (no cropping), like a print on a wall */
.card-img { position: relative; border: 0; padding: 0; background: color-mix(in srgb, var(--text) 7%, var(--background)); aspect-ratio: 3 / 4; display: block; width: 100%; overflow: hidden; border-bottom: 2px solid var(--text); }
.card-img img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: calc(100% - 28px); max-height: calc(100% - 24px); box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--text) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--text) 15%, transparent); transition: transform .2s ease; }
.card:hover .card-img img { transform: translate(-50%, -50%) scale(1.03); }
.tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; border: 2px solid var(--text); background: var(--highlight); color: var(--text); }
.tag-custom { background: var(--tag); }
.tag-sold { background: var(--text); color: var(--background); }
.card.sold .card-img img { filter: grayscale(.9); opacity: .55; }
.card-body { padding: 10px 12px 4px; flex: 1; }
.code { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--heading-accent); }
.card-name { font-size: 15px; font-weight: 700; line-height: 1.25; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; }
.card-sizes { font-weight: 600; opacity: .8; }
.card-from { font-weight: 700; }
.card-add { margin: 8px 12px 12px; min-height: 40px; border-radius: 999px; border: 2px solid var(--text); background: var(--button); color: var(--button-text); font-weight: 700; font-size: 14px; }
.card-add:hover { filter: brightness(1.05); }
.card.sold .card-add { background: transparent; }
.empty { text-align: center; padding: 40px 0; font-size: 17px; }

/* custom */
.section-custom { background: var(--text); color: var(--background); }
.section-custom .section-title { color: var(--highlight); }
.section-custom .btn-ghost { color: var(--background); border-color: var(--background); }
.section-custom .btn-ghost:hover { background: transparent; text-decoration: underline; }
.section-custom .btn-primary { box-shadow: 3px 3px 0 var(--highlight); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border: 2px solid currentColor; border-radius: 14px; padding: 16px 16px 18px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--highlight); color: var(--text); border: 2px solid var(--text); font-family: var(--font-heading); font-size: 22px; margin-bottom: 10px; }
.steps h3 { font-size: 17px; margin: 0 0 4px; }
.steps p { margin: 0; font-size: 15px; opacity: .9; }
.examples { display: flex; gap: 12px; overflow-x: auto; margin-top: 20px; }
.examples figure { margin: 0; flex: 0 0 180px; }
.examples img { border-radius: 8px; border: 2px solid var(--background); aspect-ratio: 3/4; object-fit: cover; }
.examples figcaption { font-size: 13px; margin-top: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* polaroids */
.polaroid-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.polaroid-row .polaroid { flex: 0 1 250px; }
.polaroid-side { flex: 1 1 280px; max-width: 520px; }
.polaroid-side p { margin: 0 0 12px; font-size: 17px; }
.polaroid-big { font-family: var(--font-heading); font-size: clamp(26px, 4vw, 40px) !important; line-height: 1.1; }
.polaroid-big b { font-weight: 400; background: var(--highlight); border: 2px solid var(--text); border-radius: 14px; padding: 0 10px; display: inline-block; transform: rotate(-2deg); }
.polaroid { background: #fff; padding: 12px 12px 14px; border-radius: 4px; box-shadow: 0 0 0 2px var(--text), 0 18px 28px -18px var(--text); transform: rotate(var(--r, -1.5deg)); display: flex; flex-direction: column; }
.polaroid:nth-child(even) { --r: 1.8deg; }
.polaroid-photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--tag), var(--highlight) 55%, var(--button)); display: grid; place-items: center; overflow: hidden; }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid-photo span { font-weight: 600; font-size: 14px; color: var(--text); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 999px; }
.polaroid h3 { font-family: var(--font-heading); font-weight: 400; font-size: 22px; margin: 14px 0 2px; line-height: 1.1; }
.polaroid p { margin: 0 0 4px; font-size: 14px; }
.polaroid .card-add { margin: 10px 0 0; }

/* combos */
.section-combos { border-top: 2px solid var(--text); }
.combo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.combo { background: var(--card); border: 2px solid var(--text); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.combo-img { aspect-ratio: 4 / 3; background: var(--highlight); border-bottom: 2px solid var(--text); }
.combo-img img { width: 100%; height: 100%; object-fit: cover; }
.combo-body { padding: 14px 16px 4px; flex: 1; }
.combo h3 { font-family: var(--font-heading); font-weight: 400; font-size: 24px; margin: 0 0 4px; line-height: 1.1; }
.combo p { margin: 0 0 6px; }
.combo-price { font-weight: 700; }
.combo .card-add { margin: 8px 16px 16px; }

/* order */
#order { border-top: 2px solid var(--text); }
.steps-order li { background: var(--card); border-color: var(--text); }
.find-us { margin-top: 28px; border: 2px dashed var(--text); border-radius: 16px; padding: 20px; display: grid; gap: 14px; }
@media (min-width: 800px) { .find-us { grid-template-columns: 1fr auto; align-items: center; } }
.find-us p { margin: 0; font-size: 17px; }
.find-us .cta-row { margin: 0; }

/* footer */
.footer { background: var(--footer); color: var(--footer-text); padding: 40px 0 120px; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer-inner { display: grid; gap: 18px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }
.footer-logo { width: 220px; height: auto; margin-bottom: 14px; }
.footer-big { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 44px); line-height: 1.05; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 600; }
.footer-links a { text-decoration: none; border-bottom: 2px solid currentColor; }
.footer small { opacity: .7; display: block; margin-top: 6px; }
.footer .text-logo { color: var(--footer-text); }
.footer .text-logo .saga b { text-shadow: none; }

/* bottom bar (phones) */
.bottom-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; }
.bottom-bar-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--text); background: var(--text); color: var(--background); font-weight: 700; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.bottom-cta { background: var(--button); color: var(--button-text); padding: 6px 14px; border-radius: 999px; }
@media (min-width: 960px) { .bottom-bar { display: none !important; } }

/* design modal */
.modal { border: 0; padding: 0; background: transparent; max-width: min(920px, 100vw); width: 100%; max-height: 100dvh; color: var(--text); }
.modal::backdrop { background: color-mix(in srgb, var(--text) 70%, transparent); backdrop-filter: blur(2px); }
.modal-inner { background: var(--background); border: 2px solid var(--text); border-radius: 18px; display: grid; position: relative; max-height: calc(100dvh - 24px); overflow: auto; margin: 12px; }
@media (min-width: 760px) { .modal-inner { grid-template-columns: 1fr 1fr; } .modal-media img { max-height: 70vh; } }
.modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; }
.modal-media { background: color-mix(in srgb, var(--text) 8%, var(--background)); display: grid; place-items: center; padding: 18px; }
.modal-media img { max-height: 42vh; width: auto; border-radius: 4px; box-shadow: 0 0 0 2px var(--text), 0 18px 30px -16px var(--text); background: #fff; }
.modal-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.dm-code { margin: 0; font-weight: 700; color: var(--heading-accent); letter-spacing: .06em; font-size: 14px; }
.dm-name { font-family: var(--font-heading); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0; padding-right: 40px; }
.dm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-tags:empty, .dm-note:empty { display: none; }
.dm-note { margin: 0; font-size: 15px; }
.size-pick { border: 0; padding: 0; margin: 0; }
.size-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.size-pick-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-opt span { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 8px 12px; border: 2px solid var(--text); border-radius: 12px; background: var(--card); line-height: 1.2; }
.size-opt b { font-family: var(--font-heading); font-weight: 400; font-size: 20px; }
.size-opt small { font-size: 12px; font-weight: 600; }
.size-opt input:checked + span { background: var(--text); color: var(--background); }
.size-opt input:focus-visible + span { outline: 3px solid var(--heading-accent); outline-offset: 2px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty-label { font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 10px; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: 18px; }
.dm-sold { margin: 0; font-weight: 600; background: var(--highlight); border-radius: 10px; padding: 10px 12px; }
.dm-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.dm-links a, .dm-links button { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 600; font-size: 14px; }

/* list panel */
.panel-backdrop { position: fixed; inset: 0; background: color-mix(in srgb, var(--text) 60%, transparent); z-index: 60; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 61; background: var(--background); border-left: 2px solid var(--text); display: flex; flex-direction: column; animation: slidein .22s ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid var(--text); }
.panel-head h2 { font-family: var(--font-heading); font-weight: 400; margin: 0; font-size: 28px; }
.panel-body { flex: 1; overflow: auto; padding: 8px 20px 16px; }
.panel-foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 2px solid var(--text); display: grid; gap: 10px; background: var(--card); }
.ig-hint { margin: -4px 0 0; font-size: 12px; text-align: center; opacity: .8; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 25%, transparent); }
.list-thumb { width: 56px; height: 72px; border-radius: 6px; border: 2px solid var(--text); overflow: hidden; background: var(--highlight); display: grid; place-items: center; font-family: var(--font-heading); font-size: 18px; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-title { font-weight: 700; line-height: 1.25; font-size: 15px; }
.list-sub { font-size: 13px; opacity: .85; }
.list-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.list-ctrl .qty { gap: 6px; }
.list-ctrl .icon-btn { width: 32px; height: 32px; font-size: 18px; }
.list-remove { background: none; border: 0; font-size: 12px; text-decoration: underline; padding: 2px; }
.list-empty { padding: 28px 0; text-align: center; }
.list-total { margin: 16px 0 6px; padding: 12px 14px; background: var(--highlight); border: 2px solid var(--text); border-radius: 12px; font-weight: 700; }
.list-total small { display: block; font-weight: 500; font-size: 13px; }
.field { display: grid; gap: 4px; margin-top: 12px; font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { border: 2px solid var(--text); border-radius: 10px; padding: 10px 12px; background: var(--card); font-size: 16px; font-weight: 400; width: 100%; }

/* toast */
.toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); transform: translate(-50%, -12px); opacity: 0; pointer-events: none; z-index: 80; background: var(--text); color: var(--background); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { top: auto; bottom: 28px; transform: translate(-50%, 12px); } }
.noscript { padding: 20px; text-align: center; }
