/* ==========================================================================
   City of Love — theme.css
   Change the accent colour in one place: --accent (and --accent-ink for text on it)
   ========================================================================== */

:root {
  --accent: #ff4fa3;
  --accent-ink: #2b0418;
  --accent-soft: rgba(255, 79, 163, .13);
  --accent-2: #3fd6ea;            /* the logo's cyan, used sparingly */

  --bg: #0c0a0e;
  --bg-2: #110e13;
  --surface: #161219;
  --surface-2: #1c1720;
  --line: #28212c;
  --line-2: #352c3a;

  --text: #f3eef2;
  --text-2: #b3a9b3;
  --text-3: #786d7a;

  --sale: var(--accent-2);

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --wrap: 1200px;
  --header-h: 68px;

  /* Tebex legal footer (cannot be removed — only styled) */
  --tebex-legal-footer-background-color: var(--bg);
  --tebex-legal-footer-text-color: var(--text-3);
  --tebex-legal-footer-border-color: var(--line);
  --tebex-legal-footer-max-width: var(--wrap);
  --tebex-legal-footer-logo-color: var(--text-3);
}

/* ---------- base ---------- */
/* Homepage vs store view (both live in index.html) */
.col-view-store .col-home, .col-view-support .col-home { display: none !important; }
html:not(.col-view-store) .col-store--view { display: none !important; }
html:not(.col-view-support) .col-support--view { display: none !important; }
/* Old template CSS still loads for checkout etc. — stop its page background art from bleeding into this design */
html:has(body.col) { background: var(--bg) !important; }
body.col { background-image: none !important; }
body.col::before, body.col::after, .col-page::before, .col-page::after { content: none !important; display: none !important; background: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body.col {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "tnum" 0;
}
.col *, .col *::before, .col *::after { box-sizing: border-box; }
.col a { color: inherit; text-decoration: none; }
.col img { max-width: 100%; display: block; }
.col h1, .col h2, .col h3, .col h4 { font-family: var(--f-display); margin: 0; color: var(--text); letter-spacing: -.01em; }
.col ::selection { background: var(--accent); color: var(--accent-ink); }
.col :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.col-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.col-page { min-height: 60vh; }

/* ---------- buttons ---------- */
.col-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: var(--r-sm);
  font: 600 14px/1 var(--f-body);
  letter-spacing: .005em;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.col-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.col-btn--block { width: 100%; height: 48px; font-size: 15px; }
.col-btn--primary { background: var(--accent); color: var(--accent-ink); }
.col-btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
.col-btn--primary:active { transform: translateY(1px); }
.col-btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.col-btn--ghost:hover { border-color: var(--text-3); background: var(--surface); }
.col-btn--soft { background: var(--accent-soft); color: var(--accent); }
.col-btn--soft:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.col-btn--disabled { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }

.col-link { font-size: 13px; color: var(--text-2); transition: color .15s; }
.col-link:hover { color: var(--accent); }

/* ---------- header ---------- */
.col-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 14, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.col-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.col-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.col-brand__logo { height: 44px; width: auto; filter: drop-shadow(0 2px 8px rgba(255, 79, 163, .25)); }
.col-brand__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px var(--accent);
}
.col-brand__name { font: 800 18px/1 var(--f-display); letter-spacing: -.02em; }

.col-nav { display: flex; align-items: center; gap: 4px; }
.col-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: var(--r-sm);
  font: 500 14px/1 var(--f-body); color: var(--text-2);
  background: none; border: 0; cursor: pointer;
  transition: color .15s, background .15s;
}
.col-nav__link:hover, .col-nav__drop.is-open .col-nav__link { color: var(--text); background: var(--surface); }
.col-nav__drop { position: relative; }
.col-nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 6px; display: grid;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.col-nav__drop.is-open .col-nav__menu,
.col-nav__drop:hover .col-nav__menu { opacity: 1; visibility: visible; transform: none; }
/* invisible bridge over the gap so the menu stays open while the mouse moves down */
.col-nav__menu::before { content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px; }
.col-nav__drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.col-nav__menu a { padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.col-nav__menu a:hover { background: var(--surface-2); color: var(--text); }

.col-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.col-basket { height: 40px; padding: 0 14px 0 14px; }
.col-basket__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 4px;
  display: inline-grid; place-items: center;
  background: rgba(43, 4, 24, .18); font: 500 12px/1 var(--f-mono);
}
.col-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.col-user__name { color: var(--text); font-weight: 500; }
.col-user__out { color: var(--text-3); font-size: 13px; }
.col-user__out:hover { color: var(--text); }

.col-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.col-burger span { width: 16px; height: 1.5px; background: var(--text); transition: transform .2s; }
.col-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.col-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.col-mobile { display: none; }

/* ---------- toast ---------- */
.col-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: 380px;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent);
  font-size: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
  animation: col-rise .3s ease both;
}
.col-toast--error, .col-toast--danger { border-left-color: var(--sale); }
.col-toast__close { margin-left: auto; background: none; border: 0; color: var(--text-3); font-size: 18px; line-height: 1; cursor: pointer; }
@keyframes col-rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- hero ---------- */
.col-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 79, 163, .05), transparent 70%); }
.col-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.col-kicker {
  margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); color: var(--text-2); text-transform: uppercase; letter-spacing: .12em;
}
.col-kicker::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.col-hero__title {
  font: 800 clamp(40px, 6.2vw, 76px)/.98 var(--f-display);
  letter-spacing: -.035em; max-width: 15ch;
  text-wrap: balance;
}
.col-hero__text { margin: 24px 0 0; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.col-hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.col-hero__cta .col-btn { height: 46px; padding: 0 22px; font-size: 15px; }

.col-hero__logo { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 28px; filter: drop-shadow(0 18px 40px rgba(255, 79, 163, .22)); }
.col-hero__index ol { border-top: 1px solid var(--line-2); }
.col-hero__index--logo .col-hero__logo { max-width: 380px; margin-bottom: 0; }
.col-hero__index-label { margin: 0 0 12px; font: 500 11px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; }
.col-hero__index ol { list-style: none; margin: 0; padding: 0; }
.col-hero__index li a {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: padding .2s ease, color .2s;
}
.col-hero__index li a:hover { padding-left: 6px; }
.col-hero__index li a:hover .t { color: var(--accent); }
.col-hero__index .n { font: 400 12px/1 var(--f-mono); color: var(--text-3); }
.col-hero__index .t { font: 700 19px/1.2 var(--f-display); letter-spacing: -.01em; transition: color .2s; }
.col-hero__index .c { font: 400 12px/1 var(--f-mono); color: var(--text-3); }

.col-home-desc { padding-top: 48px; }

/* ---------- toolbar (tabs + search) ---------- */
.col-catalog { padding-bottom: 96px; }
.col-catalog--cats { padding-top: 64px; }
.col-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(12, 10, 14, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.col-toolbar__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.col-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.col-tabs::-webkit-scrollbar { display: none; }
.col-tab {
  position: relative; flex-shrink: 0;
  height: 64px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer;
  font: 500 14px/1 var(--f-body); color: var(--text-3);
  transition: color .15s;
}
.col-tab span { font: 400 11px/1 var(--f-mono); color: var(--text-3); }
.col-tab:hover { color: var(--text); }
.col-tab.is-active { color: var(--text); }
.col-tab.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--accent); }

.col-search {
  flex: 0 0 280px; height: 40px; display: flex; align-items: center; gap: 10px;
  padding: 0 10px 0 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--text-3);
  transition: border-color .15s;
}
.col-search:focus-within { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--text-2); }
.col .col-search input:focus-visible, .col .col-sort select:focus-visible { outline: none; }
.col-sort:focus-within { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.col-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 400 14px var(--f-body); }
.col-search input::placeholder { color: var(--text-3); }
.col-search input::-webkit-search-cancel-button { display: none; }
.col-search kbd { font: 400 11px/1 var(--f-mono); padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text-3); }

/* ---------- groups + grid ---------- */
.col-group + .col-group { margin-top: 64px; }
.col-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.col-group__head h2 { font: 700 26px/1.1 var(--f-display); letter-spacing: -.02em; }
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.col-empty { padding: 64px 0; text-align: center; color: var(--text-3); }

/* ---------- card ---------- */
.col-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.col-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.col-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.col-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.col-card:hover .col-card__media img { transform: scale(1.03); }
.col-card__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font: 800 64px/1 var(--f-display); color: var(--line-2);
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 10px, var(--surface) 10px 20px);
}
.col-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 8px; border-radius: 4px;
  background: rgba(12,10,14,.85); color: var(--text); border: 1px solid var(--line-2);
  font: 500 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
}
.col-tag--sale { background: var(--sale); color: #03181c; border-color: transparent; }
.col-tag--inline { position: static; }

.col-card__body { padding: 18px 20px 0; flex: 1; }
.col-card__eyebrow { display: block; margin-bottom: 8px; font: 500 11px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.col-card__title { font: 700 18px/1.25 var(--f-display); letter-spacing: -.01em; }
.col-card__title a { transition: color .15s; }
.col-card__title a:hover { color: var(--accent); }
.col-card__excerpt {
  margin-top: 8px; color: var(--text-2); font-size: 14px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 3.1em;
}
.col-card__excerpt :is(img, iframe, video, h1, h2, h3, h4, h5, h6, hr, table) { display: none; }
.col-card__excerpt * { margin: 0; font-size: inherit; display: inline; }

.col-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 18px 20px 0; padding: 16px 0 18px; border-top: 1px solid var(--line);
}
.col-price { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.col-price__now { font: 700 20px/1 var(--f-body); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.col-price__now small { margin-left: 4px; font: 400 11px/1 var(--f-mono); color: var(--text-3); letter-spacing: .04em; }
.col-price__was { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }

/* list display type */
.col-grid--list { grid-template-columns: 1fr; }
.col-grid--list .col-card { flex-direction: row; align-items: stretch; }
.col-grid--list .col-card__media { width: 300px; flex-shrink: 0; border-bottom: 0; border-right: 1px solid var(--line); }
.col-grid--list .col-card__body { padding: 20px 24px; }
.col-grid--list .col-card__foot { margin: 0; padding: 20px 24px; border-top: 0; border-left: 1px solid var(--line); flex-direction: column; align-items: flex-end; justify-content: center; }

/* category tiles fallback */
.col-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.col-cat { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 30px 24px; background: var(--bg); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.col-cat:hover { background: var(--surface); }
.col-cat:hover .col-cat__name { color: var(--accent); }
.col-cat__name { transition: color .2s; }
.col-cat__n { font: 400 12px var(--f-mono); color: var(--text-3); }
.col-cat__name { font: 700 20px/1.2 var(--f-display); }
.col-cat__go { color: var(--text-3); transition: transform .2s, color .2s; }
.col-cat:hover .col-cat__go { color: var(--accent); transform: translateX(4px); }

/* ---------- page head (category) ---------- */
.col-pagehead { padding: 48px 0 36px; }
.col-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.col-crumbs a:hover { color: var(--text); }
.col-crumbs [aria-current] { color: var(--text-2); }
.col-pagehead__row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.col-pagehead__title { font: 800 clamp(34px, 4.5vw, 52px)/1 var(--f-display); letter-spacing: -.03em; }
.col-pagehead__count { font: 400 12px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.col-pagehead__desc { margin-top: 16px; max-width: 70ch; color: var(--text-2); }
.col-pagehead + .col-catalog .col-toolbar { border-top: 1px solid var(--line); }

/* ---------- product page ---------- */
.col-product { padding: 40px 0 96px; }
.col-product__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.col-gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.col-gallery__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .25s; }
.col-gallery__slide.is-active { opacity: 1; visibility: visible; }
.col-gallery__slide img, .col-gallery__slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.col-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.col-gallery__thumb {
  position: relative; flex: 0 0 112px; aspect-ratio: 16 / 9; padding: 0;
  border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.col-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-gallery__thumb:hover { opacity: .9; }
.col-gallery__thumb.is-active { opacity: 1; border-color: var(--accent); }
.col-gallery__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

.col-buy {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px;
}
.col-buy__title { font: 800 30px/1.1 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.col-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.col-buy__price .col-price__now { font-size: 32px; }
.col-buy__actions { display: grid; gap: 10px; }
.col-buy__note { margin: 4px 0 0; font-size: 13px; color: var(--text-3); }
.col-buy__facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; font-size: 13px; }
.col-buy__facts li { display: flex; justify-content: space-between; gap: 12px; }
.col-buy__facts span { color: var(--text-3); }
.col-buy__facts strong { font-weight: 500; color: var(--text-2); }

.col-product__desc { margin-top: 64px; max-width: 780px; }
.col-section-label { font: 500 12px/1 var(--f-mono) !important; color: var(--text-3) !important; text-transform: uppercase; letter-spacing: .12em !important; padding-bottom: 16px; margin-bottom: 28px !important; border-bottom: 1px solid var(--line); }

/* ---------- prose (package / category descriptions from Tebex editor) ---------- */
.col-prose { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.col-prose > *:first-child { margin-top: 0; }
.col-prose :is(h1, h2, h3, h4) { color: var(--text); margin: 2em 0 .6em; line-height: 1.2; }
.col-prose h1 { font-size: 28px; } .col-prose h2 { font-size: 24px; } .col-prose h3 { font-size: 19px; } .col-prose h4 { font-size: 16px; }
.col-prose p { margin: 0 0 1.1em; }
.col-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.col-prose strong, .col-prose b { color: var(--text); font-weight: 700; }
.col-prose ul, .col-prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.col-prose li { margin: .35em 0; }
.col-prose li::marker { color: var(--text-3); }
.col-prose img { border-radius: var(--r); margin: 1.5em 0; border: 1px solid var(--line); height: auto; }
.col-prose code { font: 400 .88em var(--f-mono); background: var(--surface-2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 4px; color: var(--text); }
.col-prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; overflow-x: auto; font: 400 13px/1.6 var(--f-mono); }
.col-prose pre code { background: none; border: 0; padding: 0; }
.col-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent); color: var(--text); }
.col-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.col-prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1.5em 0; }
.col-prose th, .col-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.col-prose th { color: var(--text); font-weight: 600; }
.col-prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r); }

/* ---------- footer ---------- */
.col-footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: 56px; }
.col-footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.col-footer__brand { max-width: 340px; }
.col-footer__name { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; }
.col-footer__brand p { margin: 14px 0 0; color: var(--text-3); font-size: 14px; }
.col-footer__cols { display: flex; gap: 72px; }
.col-footer__cols h4 { font: 500 11px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.col-footer__cols a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; transition: color .15s; }
.col-footer__cols a:hover { color: var(--text); }
.col-footer__base { position: relative; display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: var(--text-3); }
.col-footer__base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--line); }
.col-footer__top:hover { color: var(--text); }

/* ==========================================================================
   Store page + category pages + popular row
   ========================================================================== */
.col-store { padding: 40px 0 96px; }
.col-store .col-crumbs span:not([aria-current]) { color: var(--text-3); }
.col-store__title { font: 800 clamp(34px, 4.4vw, 52px)/1.02 var(--f-display); letter-spacing: -.03em; }
.col-store__text { margin: 12px 0 0; max-width: 62ch; color: var(--text-2); font-size: 16px; }
.col-store__text.col-prose > *:last-child { margin-bottom: 0; }

.col-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 22px; }
.col-chip {
  display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(255, 79, 163, .05);
  border: 1px solid rgba(255, 79, 163, .16);
  color: var(--text-2);
  font: 500 14px/1 var(--f-body); letter-spacing: .005em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.col-chip:hover { color: var(--text); border-color: rgba(255, 79, 163, .42); background: rgba(255, 79, 163, .09); transform: translateY(-1px); }
.col-chip__badge {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255, 140, 196, .22), rgba(255, 79, 163, .10));
  box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .18);
  transition: background .2s ease, box-shadow .2s ease;
}
.col-chip__icon { color: #ff7ab8; transition: color .2s ease, transform .25s ease; }
.col-chip:hover .col-chip__icon { transform: scale(1.1) rotate(-6deg); }
.col-chip span:not(.col-chip__badge) {
  font: 600 11px/1 var(--f-body); color: #ff9ccb;
  background: rgba(255, 79, 163, .12); padding: 4px 8px; border-radius: 999px;
}
.col-chip.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #ff7cbc 0%, #ff4fa3 55%, #f0348c 100%);
  box-shadow: 0 8px 22px -10px rgba(255, 79, 163, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.col-chip.is-active .col-chip__badge { background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.col-chip.is-active .col-chip__icon { color: #fff; }
.col-chip.is-active span:not(.col-chip__badge) { color: #fff; background: rgba(255, 255, 255, .24); }

.col-store__bar { display: flex; gap: 12px; }
.col-search--wide { flex: 1; height: 46px; }
.col-sort {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--text-3); font-size: 14px;
  cursor: pointer;
}
.col-sort:hover { border-color: var(--line-2); }
.col-sort select {
  appearance: none; -webkit-appearance: none; background: none; border: 0; outline: 0;
  color: var(--text); font: 500 14px var(--f-body); cursor: pointer;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23b3a9b3' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center;
}
.col-sort select option { background: var(--surface); color: var(--text); }

.col-store__meta { margin: 18px 0 16px; font-size: 13px; color: var(--text-3); }
.col-store__meta strong { color: var(--text-2); font-weight: 500; }
.col-store__more { display: flex; justify-content: center; margin-top: 32px; }
.col-store__more .col-btn[hidden] { display: none; }

/* cards: square art, title, price + action */
.col-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.col-card__media { aspect-ratio: 1 / 1; }
.col-card__body { padding: 14px 16px 0; }
.col-card__title { font: 700 16px/1.3 var(--f-body); letter-spacing: 0; }
.col-card__foot { margin: 14px 16px 0; padding: 0 0 16px; border-top: 0; }
.col-card .col-price { flex-direction: column; align-items: flex-start; gap: 2px; }
.col-card .col-price__now { font-size: 18px; }
.col-price__now small { font: 400 12px var(--f-body); color: var(--text-3); margin-left: 2px; letter-spacing: 0; }
.col-price__now--sm { font-size: 14px !important; font-weight: 600; }
.col-card .col-btn--sm { height: 38px; padding: 0 16px; }
.col-tag--sub { right: auto; left: 12px; background: rgba(12,10,14,.8); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); text-transform: none; letter-spacing: 0; font: 500 12px/1 var(--f-body); padding: 6px 8px; }
.col-tag--free { background: var(--accent-2); color: #03181c; border-color: transparent; }

/* loading placeholders */
.col-skel { aspect-ratio: 3 / 4; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: col-shimmer 1.4s linear infinite; }
.col-skel--pop { aspect-ratio: 1 / 1; }
@keyframes col-shimmer { to { background-position: -150% 0; } }

/* homepage: popular right now */
.col-popular { padding: 64px 0 96px; }
.col-pop-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.col-pop {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.col-pop img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.col-pop::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(12,10,14,.92), transparent); pointer-events: none; }
.col-pop:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.col-pop:hover img { transform: scale(1.04); }
.col-pop__info { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.col-pop__name { font: 600 14px/1.25 var(--f-body); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-pop__price { font: 700 14px/1.2 var(--f-body); color: var(--accent); font-variant-numeric: tabular-nums; }
.col-pop .col-tag { z-index: 1; }

/* homepage: purchase disclaimer */
.col-popular { padding-bottom: 64px; }
.col-disclaimer { padding: 0 0 88px; }
.col-disclaimer__card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 79, 163, .035), transparent 60%), var(--bg-2);
  padding: 28px 32px 30px;
}
.col-disclaimer__head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.col-disclaimer__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #ff7ab8; background: rgba(255, 79, 163, .12); box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .18); }
.col-disclaimer__head h2 { font: 700 17px/1.2 var(--f-display); letter-spacing: -.005em; }
.col-disclaimer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.col-disclaimer__list strong { display: block; margin-bottom: 6px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #ff8cc4; }
.col-disclaimer__list p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }

/* homepage: creator codes card */
.col-codes {
  width: 100%; max-width: 380px; margin: 22px auto 0; text-align: center;
  padding: 16px 18px 14px; border-radius: var(--r-lg);
  background: rgba(255, 79, 163, .045);
  border: 1px solid rgba(255, 79, 163, .16);
}
.col-codes__title { margin: 0 0 12px; display: flex; align-items: center; justify-content: center; gap: 7px; font: 600 13px/1 var(--f-body); color: var(--text); }
.col-codes__title svg { color: #ff7ab8; }
.col-codes__title strong { color: #ff8cc4; font-weight: 700; }
.col-codes__dot { color: var(--text-3); }
.col-codes__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.col-code {
  height: 28px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .02em; color: #ffc2de;
  background: rgba(255, 79, 163, .10); border: 1px solid rgba(255, 79, 163, .2);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.col-code:hover { background: rgba(255, 79, 163, .18); border-color: rgba(255, 79, 163, .45); color: #fff; }
.col-code:active { transform: scale(.96); }
.col-code.is-copied { background: linear-gradient(135deg, #ff7cbc, #ff4fa3); border-color: transparent; color: #fff; }
.col-codes__hint { margin: 10px 0 0; font-size: 11.5px; color: var(--text-3); min-height: 1em; transition: color .2s; }
.col-codes__hint.is-copied { color: #ff8cc4; }
.col-hero__index--logo .col-hero__logo { max-width: 340px; }

/* ---------- basket drawer ---------- */
.col-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.col-drawer.is-open { visibility: visible; pointer-events: auto; }
.col-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(8, 6, 10, .55);
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0; transition: opacity .3s ease;
}
.col-drawer.is-open .col-drawer__backdrop { opacity: 1; }
.col-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .6);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.col-drawer.is-open .col-drawer__panel { transform: none; }
.col-drawer__head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.col-drawer__title-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #ff7ab8; background: rgba(255, 79, 163, .12); box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .18); }
.col-drawer__head h2 { font: 700 18px/1 var(--f-display); letter-spacing: -.01em; }
.col-drawer__count { font: 600 11px/1 var(--f-body); color: #ff9ccb; background: rgba(255, 79, 163, .12); padding: 4px 8px; border-radius: 999px; }
.col-drawer__close { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: none; color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.col-drawer__close:hover { color: var(--text); border-color: rgba(255, 79, 163, .4); background: rgba(255, 79, 163, .08); }

.col-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.col-drawer__empty { height: 100%; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.col-drawer__empty-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #ff7ab8; background: rgba(255, 79, 163, .08); box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .16); margin-bottom: 10px; }
.col-drawer__empty-title { margin: 0; font: 600 15px/1.3 var(--f-body); color: var(--text); }
.col-drawer__empty-text { margin: 0 0 14px; font-size: 13px; color: var(--text-3); }

.col-drawer__list { list-style: none; margin: 0; padding: 0; }
.col-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.col-line__img { width: 56px; height: 56px; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.col-line__img img { width: 100%; height: 100%; object-fit: cover; }
.col-line__img span { font: 800 20px var(--f-display); color: var(--line-2); }
.col-line__info { min-width: 0; display: grid; gap: 4px; }
.col-line__name { font: 600 14px/1.3 var(--f-body); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-line__name:hover { color: #ff8cc4; }
.col-line__meta { font-size: 12px; color: var(--text-3); }
.col-line__side { display: grid; justify-items: end; gap: 6px; }
.col-line__price { font: 700 14px/1 var(--f-body); color: var(--text); font-variant-numeric: tabular-nums; }
.col-line__remove { font-size: 12px; color: var(--text-3); transition: color .15s; }
.col-line__remove:hover { color: #ff8cc4; }

.col-drawer__foot { padding: 18px 20px 20px; border-top: 1px solid var(--line); background: linear-gradient(0deg, rgba(255, 79, 163, .04), transparent); }
.col-drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.col-drawer__total span { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.col-drawer__total strong { font: 700 24px/1 var(--f-body); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.col-drawer__total small { font-size: 12px; color: var(--text-3); font-weight: 400; }
.col-drawer__checkout { background: linear-gradient(135deg, #ff7cbc 0%, #ff4fa3 55%, #f0348c 100%); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 79, 163, .9); }
.col-drawer__checkout:hover { background: linear-gradient(135deg, #ff8cc4 0%, #ff5daa 55%, #f5439a 100%); }
.col-drawer__checkout svg { transition: transform .2s; }
.col-drawer__checkout:hover svg { transform: translateX(3px); }
.col-drawer__note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-3); text-align: center; }
html.col-lock, html.col-lock body { overflow: hidden; }

/* ---------- checkout redirect page ---------- */
.col-checkout { padding: 120px 0 140px; }
.col-checkout__card { max-width: 440px; margin: 0 auto; text-align: center; padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.col-checkout__spinner { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 79, 163, .18); border-top-color: var(--accent); animation: col-spin .8s linear infinite; margin-bottom: 18px; }
.col-checkout.is-error .col-checkout__spinner { display: none; }
@keyframes col-spin { to { transform: rotate(360deg); } }
.col-checkout__title { font: 700 22px/1.25 var(--f-display); letter-spacing: -.01em; }
.col-checkout__text { margin: 10px 0 0; color: var(--text-2); font-size: 14px; }
.col-checkout__actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.col-checkout__actions[hidden] { display: none; }
.col-drawer__checkout.is-loading { opacity: .75; pointer-events: none; }

/* ---------- support page ---------- */
.col-support { padding: 72px 0 112px; }
.col-support__wrap { max-width: 760px; }
.col-support__head { text-align: center; margin-bottom: 40px; }
.col-support__eyebrow {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px;
  font: 600 12.5px/1 var(--f-body); letter-spacing: .02em; color: #ff8cc4;
  background: rgba(255, 79, 163, .08); border: 1px solid rgba(255, 79, 163, .2);
}
.col-support__title { margin-top: 18px; font: 800 clamp(34px, 5vw, 50px)/1.05 var(--f-display); letter-spacing: -.03em; }
.col-support__text { margin: 14px auto 0; max-width: 54ch; color: var(--text-2); font-size: 16px; line-height: 1.65; text-wrap: pretty; }

.col-faq { display: grid; gap: 10px; }
.col-faq__item {
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.col-faq__item:hover { border-color: var(--line-2); }
.col-faq__item[open] {
  border-color: rgba(255, 79, 163, .38);
  background: linear-gradient(180deg, rgba(255, 79, 163, .05), transparent 70%), var(--surface);
  box-shadow: 0 16px 36px -22px rgba(255, 79, 163, .45);
}
.col-faq__item summary {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none;
  border-radius: inherit; user-select: none;
}
.col-faq__item summary::-webkit-details-marker { display: none; }
.col-faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.col-faq__icon {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  color: #ff7ab8; background: rgba(255, 79, 163, .1); box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .16);
  transition: background .25s, color .25s;
}
.col-faq__item[open] .col-faq__icon { color: #fff; background: linear-gradient(135deg, #ff7cbc, #ff4fa3); box-shadow: none; }
.col-faq__q { flex: 1; font: 600 15.5px/1.35 var(--f-body); color: var(--text); transition: color .2s; }
.col-faq__item[open] .col-faq__q { color: #ff9ccb; }
.col-faq__chev {
  width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .2s, border-color .2s;
}
.col-faq__item[open] .col-faq__chev { transform: rotate(180deg); color: #ff8cc4; border-color: rgba(255, 79, 163, .35); }
.col-faq__a { padding: 0 20px 18px 66px; }
.col-faq__a p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.7; text-wrap: pretty; }
.col-faq__item[open] .col-faq__a { animation: faqIn .3s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

.col-help {
  margin-top: 36px; padding: 34px 28px 30px; text-align: center; border-radius: 18px;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(255, 79, 163, .12), transparent 70%), var(--bg-2);
  border: 1px solid rgba(255, 79, 163, .22);
}
.col-help__icon {
  width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 14px;
  color: #ff7ab8; background: rgba(255, 79, 163, .1); box-shadow: inset 0 0 0 1px rgba(255, 140, 196, .2);
}
.col-help__title { font: 750 22px/1.2 var(--f-display); letter-spacing: -.01em; }
.col-help__text { margin: 10px auto 22px; max-width: 50ch; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.col-help__btn {
  height: 48px; padding: 0 22px; font-size: 15px; gap: 10px;
  background: linear-gradient(135deg, #ff7cbc 0%, #ff4fa3 55%, #f0348c 100%); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(255, 79, 163, .9);
}
.col-help__btn:hover { background: linear-gradient(135deg, #ff8cc4 0%, #ff5daa 55%, #f5439a 100%); transform: translateY(-1px); }
.col-help__note { display: block; margin-top: 12px; font-size: 12px; color: var(--text-3); }

@media (max-width: 760px) {
  .col-support { padding: 44px 0 80px; }
  .col-faq__item summary { padding: 14px; gap: 12px; }
  .col-faq__a { padding: 0 16px 16px 16px; }
  .col-faq__q { font-size: 14.5px; }
  .col-help { padding: 28px 18px 24px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .col-grid, .col-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-pop-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-pop-row > :nth-child(n+4) { display: none; }
  .col-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .col-product__grid { grid-template-columns: 1fr; }
  .col-buy { position: static; }
}
@media (max-width: 760px) {
  .col-hero__logo { max-width: 220px; margin: 0 auto; }
  .col-hero__grid { gap: 32px; }
  .col-hero__index { order: -1; }
  .col-hero__index-label, .col-hero__index ol { display: none; }
  .col-hero { padding-top: 32px; }
  .col-brand__logo { height: 38px; }
  .col-brand__name { font-size: 16px; }
  :root { --header-h: 60px; }
  .col-wrap { padding: 0 16px; }
  .col-nav, .col-header__actions .col-btn--ghost, .col-user { display: none; }
  .col-burger { display: inline-flex; }
  .col-basket span:not(.col-basket__count) { display: none; }
  .col-mobile { display: none; flex-direction: column; padding: 8px 16px 16px; border-top: 1px solid var(--line); }
  .col-header.is-open .col-mobile { display: flex; }
  .col-mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
  .col-hero { padding: 56px 0 48px; }
  .col-hero__text { font-size: 16px; }
  .col-toolbar__inner { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .col-tab { height: 52px; }
  .col-search { flex: none; width: 100%; }
  .col-search kbd { display: none; }
  .col-grid, .col-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col-pop-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col-pop-row > :nth-child(n+4) { display: block; }
  .col-pop-row > :nth-child(n+5) { display: none; }
  .col-store__bar { flex-direction: column; }
  .col-disclaimer__card { padding: 22px 20px 24px; }
  .col-disclaimer__list { grid-template-columns: 1fr; gap: 18px; }
  .col-sort select { margin-left: auto; }
  .col-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .col-chips::-webkit-scrollbar { display: none; }
  .col-card__body { padding: 12px 12px 0; }
  .col-card__title { font-size: 14px; }
  .col-card__foot { margin: 10px 12px 0; padding-bottom: 12px; flex-direction: column; align-items: stretch; gap: 10px; }
  .col-card .col-btn--sm { width: 100%; }
  .col-grid--list .col-card { flex-direction: column; }
  .col-grid--list .col-card__media { width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .col-grid--list .col-card__foot { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; margin: 0 20px; padding: 16px 0 18px; }
  .col-footer__cols { gap: 48px; }
  .col-footer__base::before { left: 16px; right: 16px; }
  .col-buy { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .col *, .col *::before, .col *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════
   PHONES ONLY — everything below applies at 760px wide or less.
   The PC layout is untouched.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  html { -webkit-text-size-adjust: 100%; }
  .col a, .col button, .col summary { -webkit-tap-highlight-color: transparent; }
  .col-wrap { padding: 0 20px; }
  /* 16px inputs stop iPhones zooming in when you tap search */
  .col-search input, .col-sort select { font-size: 16px; }

  /* ── header ── */
  .col-header__inner { gap: 12px; }
  .col-brand__logo { height: 36px; }
  .col-brand__name { font-size: 16px; }
  .col-basket { height: 40px; padding: 0 12px; }
  .col-burger { width: 40px; height: 40px; }

  /* ── menu ── */
  .col-mobile {
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 20px 28px;
  }
  .col-mobile__main { display: flex; flex-direction: column; }
  .col-mobile__main a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--text); font: 600 17px/1.2 var(--f-body); }
  .col-mobile__main a::after { content: '›'; color: var(--text-3); font-size: 20px; line-height: 1; }
  .col-mobile__label { margin: 26px 2px 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
  .col-mobile__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .col-mobile .col-mobile__cats a {
    padding: 13px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-2);
    background: rgba(255, 79, 163, .05); border: 1px solid rgba(255, 79, 163, .14);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .col-mobile a.col-mobile__login { margin-top: 22px; width: 100%; height: 50px; padding: 0 18px; border: 1px solid var(--line-2); color: var(--text); font-size: 15px; }
  .col-mobile__user { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
  .col-mobile .col-mobile__user a { padding: 0; border: 0; color: var(--text-3); font-size: 14px; font-weight: 500; }

  /* ── homepage hero: logo, title, text, stacked buttons, codes ── */
  .col-hero { padding: 36px 0 56px; }
  .col-hero__grid { gap: 28px; }
  .col-hero__index { display: contents; }
  .col-hero__index-label, .col-hero__index ol { display: none; }
  .col-hero .col-hero__index .col-hero__logo { order: -1; width: 100%; max-width: 168px; margin: 0 auto; }
  .col-hero__copy { order: 1; text-align: center; }
  .col-kicker { justify-content: center; margin-bottom: 16px; }
  .col-kicker::before { display: none; }
  .col-hero__title { font-size: clamp(34px, 9.6vw, 40px); line-height: 1.04; margin: 0 auto; }
  .col-hero__text { font-size: 15.5px; line-height: 1.65; max-width: 32ch; margin: 18px auto 0; }
  .col-hero__cta { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .col-hero__cta .col-btn { width: 100%; height: 52px; font-size: 15.5px; border-radius: 12px; }
  .col-codes { order: 2; max-width: none; margin: 8px 0 0; padding: 20px 18px 16px; border-radius: 16px; }
  .col-codes__title { margin-bottom: 14px; font-size: 14px; }
  .col-codes__list { gap: 8px; }
  .col-code { height: 34px; padding: 0 14px; font-size: 13px; }
  .col-codes__hint { margin-top: 12px; }

  /* ── popular: swipeable row instead of a squashed grid ── */
  .col-popular { padding: 52px 0 56px; }
  .col-group__head { margin-bottom: 18px; }
  .col-group__head h2 { font-size: 23px; }
  .col-pop-row {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 20px; scrollbar-width: none;
  }
  .col-pop-row::-webkit-scrollbar { display: none; }
  .col-pop-row > *:nth-child(n) { display: block; flex: 0 0 66%; scroll-snap-align: start; }
  .col-pop__name { font-size: 15px; }
  .col-pop__price { font-size: 15px; }

  /* ── disclaimer ── */
  .col-disclaimer { padding-bottom: 64px; }
  .col-disclaimer__card { padding: 24px 20px 26px; border-radius: 16px; }
  .col-disclaimer__head { padding-bottom: 18px; margin-bottom: 20px; }
  .col-disclaimer__list { grid-template-columns: 1fr; gap: 20px; }
  .col-disclaimer__list p { font-size: 14px; line-height: 1.7; }

  /* ── store + category pages ── */
  .col-store { padding: 32px 0 72px; }
  .col-crumbs { font-size: 12.5px; margin-bottom: 16px; }
  .col-store__title { font-size: 34px; }
  .col-store__text { font-size: 15px; line-height: 1.6; margin-top: 10px; }
  .col-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 26px -20px 18px; padding: 0 20px 4px; scroll-padding: 20px; gap: 10px; }
  .col-chips::-webkit-scrollbar { display: none; }
  .col-chip { height: 42px; flex: none; }
  .col-store__bar { flex-direction: row; gap: 10px; }
  .col-store__bar .col-search--wide { width: auto; flex: 1 1 auto; min-width: 0; height: 48px; }
  .col-sort { flex: none; }
  .col-sort { position: relative; height: 48px; width: 48px; padding: 0; justify-content: center; color: var(--text-2); }
  .col-sort > span { display: none; }
  .col-sort select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; }
  .col-store__meta { margin: 20px 0 14px; }

  /* product cards: two per row, roomy and even */
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .col-grid .col-card { border-radius: 16px; }
  .col-grid .col-card:hover { transform: none; }
  .col-grid .col-card__media { aspect-ratio: 1 / 1; }
  .col-grid .col-card__body { padding: 12px 12px 0; }
  .col-grid .col-card__title {
    font-size: 14px; line-height: 1.3; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .col-grid .col-card__foot { margin: 0; padding: 8px 12px 12px; flex-direction: column; align-items: stretch; gap: 10px; }
  .col-grid .col-card .col-price { flex-direction: row; align-items: baseline; gap: 6px; }
  .col-grid .col-card .col-price__now { font-size: 17px; }
  .col-grid .col-card .col-btn--sm { width: 100%; height: 40px; padding: 0 10px; font-size: 13px; border-radius: 10px; }
  .col-grid .col-tag { top: 8px; right: 8px; padding: 4px 6px; font-size: 10px; }
  .col-grid .col-tag--sub { left: 8px; right: auto; }
  .col-skel { aspect-ratio: 3 / 4; border-radius: 16px; }

  /* ── product page ── */
  .col-product { padding: 24px 0 72px; }
  .col-gallery__stage { border-radius: 14px; }
  .col-gallery__thumbs { gap: 8px; margin-top: 10px; }
  .col-gallery__thumb { flex-basis: 84px; }
  .col-product__grid { gap: 22px; }
  .col-buy { padding: 22px 20px; border-radius: 16px; }
  .col-buy__title { font-size: 27px; }
  .col-buy__price { margin: 16px 0 20px; padding-bottom: 20px; }
  .col-buy__price .col-price__now { font-size: 30px; }
  .col-product__desc { margin-top: 44px; }
  .col-prose { font-size: 15px; line-height: 1.75; }

  /* ── support page ── */
  .col-support { padding: 40px 0 80px; }
  .col-support__head { margin-bottom: 30px; }
  .col-support__title { font-size: 34px; margin-top: 16px; }
  .col-support__text { font-size: 15px; max-width: 34ch; }
  .col-faq { gap: 12px; }
  .col-faq__item { border-radius: 16px; }
  .col-faq__item summary { padding: 16px; gap: 12px; }
  .col-faq__icon { width: 34px; height: 34px; }
  .col-faq__q { font-size: 15px; }
  .col-faq__a { padding: 0 18px 18px; }
  .col-faq__a p { font-size: 14.5px; }
  .col-help { margin-top: 32px; padding: 30px 20px 26px; }
  .col-help__title { font-size: 21px; }
  .col-help__text { font-size: 14.5px; }
  .col-help__btn { width: 100%; height: 52px; border-radius: 12px; }

  /* ── basket ── */
  .col-drawer__panel { width: 100%; border-left: 0; }
  .col-drawer__head, .col-drawer__body, .col-drawer__foot { padding-left: 20px; padding-right: 20px; }
  .col-drawer__foot { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .col-drawer__checkout { height: 54px; border-radius: 12px; }

  /* ── footer: brand + help only (categories live in the menu) ── */
  .col-footer { padding-top: 44px; }
  .col-footer__inner { gap: 28px; padding-bottom: 32px; }
  .col-footer__cols { width: 100%; display: block; }
  .col-footer__cols > div:first-child { display: none; }
  .col-footer__cols > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .col-footer__cols h4 { width: 100%; margin-bottom: 4px; }
  .col-footer__cols a { padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
  .col-footer__base { padding-top: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

  .col-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
