:root {
  --bg: #0b0b0c;
  --surface: #161617;
  --text: #f7f2f4;
  --text-dim: #9a9094;
  --accent: #f2a7c0;
  --card-bg: #efefef;
  --card-ink: #1c1c1d;
  --card-dim: #8d8d8d;
  --gutter: clamp(16px, 4vw, 64px);
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(10px);
}

.header-side { display: flex; align-items: center; gap: 6px; }
.header-right { justify-content: flex-end; }

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transition: color 0.2s ease;
}

.icon-btn:hover { color: var(--accent); }

.pill {
  height: 28px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid rgba(247, 242, 244, 0.7);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pill:hover { border-color: var(--accent); color: var(--accent); }

.badge-wrap .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  pointer-events: none;
  transform: translateZ(0);
}

.page-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: var(--dim, 0);
  will-change: opacity;
}

.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: url("../assets/bg/hero-smoke.jpg") 100% 50% / cover no-repeat;
}

.page-bg::before { left: 0; transform: scaleX(-1); }
.page-bg::after { right: 0; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 50% at 50% 50%, rgba(11, 11, 12, 0.55), transparent 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.45), transparent 22%, transparent 78%, rgba(11, 11, 12, 0.7));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--gutter);
}

.hero-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: default;
  user-select: none;
}

.hero-title .line { display: block; }
.hero-title .line-small { font-size: 0.78em; line-height: 1.02; }

.hero-title .ch,
.glow-title .ch {
  --g: 0;
  position: relative;
  isolation: isolate;
  display: inline-block;
  color: color-mix(in srgb, var(--accent) calc(var(--g) * 100%), var(--text));
  transition: color 0.3s ease;
}

/* The glow is a blurred copy of the letter whose opacity is animated, so it is
   composited on the GPU instead of repainting big text-shadows on every move. */
.hero-title .ch::before,
.hero-title .ch::after,
.glow-title .ch::before,
.glow-title .ch::after {
  content: attr(data-c);
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease;
}

.hero-title .ch::before,
.glow-title .ch::before {
  color: rgb(242, 130, 175);
  filter: blur(26px);
  opacity: calc(var(--g) * 0.9);
}

.hero-title .ch::after,
.glow-title .ch::after {
  color: rgb(255, 190, 214);
  filter: blur(8px);
  opacity: var(--g);
}

.hero-sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(247, 242, 244, 0.62);
}

.btn-light {
  margin-top: 34px;
  padding: 18px 44px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.btn-light:hover {
  background: var(--accent);
  box-shadow: 0 0 32px rgba(242, 167, 192, 0.45);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 242, 244, 0.5);
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Categories strip */

.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247, 242, 244, 0.18);
  border-bottom: 1px solid rgba(247, 242, 244, 0.18);
}

.cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gutter) 12px 16px;
  border-right: 1px solid rgba(247, 242, 244, 0.18);
  transition: background 0.25s ease;
}

.cat:last-child { border-right: 0; }
.cat:hover { background: var(--surface); }
.cat:hover .cat-name { color: var(--accent); }

.cat-thumb {
  flex: none;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(247, 242, 244, 0.28);
  background: var(--card-bg);
  overflow: hidden;
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cat-thumb-empty {
  display: grid;
  place-items: center;
  background: var(--surface);
}

.cat-name {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

/* Sections and cards */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--gutter);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.link {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.link:hover { color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card { text-align: center; }

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: radial-gradient(circle at 50% 45%, #fafafa, var(--card-bg) 70%);
  overflow: hidden;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.5s ease;
}

.card:hover .card-media img { transform: scale(1.04); }

.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--card-dim);
  transition: color 0.2s ease;
}

.heart:hover, .heart.on { color: #ff5c8d; }
.heart.on svg { fill: currentColor; }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-title {
  margin: 16px 0 4px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.price {
  margin: 0;
  font-size: 16px;
  color: var(--text-dim);
}

.card-media.empty {
  display: grid;
  place-items: center;
  background: var(--surface);
}

.photo-soon {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-wide { max-width: none; }

/* Custom banner */

.band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 1.1fr) 1fr;
  border-top: 1px solid rgba(247, 242, 244, 0.18);
  border-bottom: 1px solid rgba(247, 242, 244, 0.18);
}

.band-photo {
  margin: 0;
  background: var(--card-bg);
  overflow: hidden;
}

.band-photo img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.band-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 48px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(242, 167, 192, 0.12), transparent 70%), var(--surface);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.band-panel h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.band-text {
  margin: 0;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
}

.btn-accent {
  margin-top: 8px;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-accent:hover {
  box-shadow: 0 0 32px rgba(242, 167, 192, 0.5);
  transform: translateY(-2px);
}

/* Lifestyle photo bands */

.photos {
  display: grid;
  gap: 8px;
  padding: 0 8px;
}

.photos-3 { grid-template-columns: repeat(3, 1fr); }
.photos-2 { grid-template-columns: repeat(2, 1fr); }

.photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}

.photos-2 { max-width: 1456px; margin-inline: auto; }
.photos-2 .photo { aspect-ratio: 3 / 4; }

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.photo:hover img { transform: scale(1.04); }

.photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 12, 0.72));
  pointer-events: none;
}

.photo-cap {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.photo-cap b {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.photo-cap u {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}

.photo-wide {
  position: relative;
  margin: clamp(56px, 8vw, 100px) 0;
  aspect-ratio: 21 / 9;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.photo-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.photo-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 11, 12, 0.5);
}

.photo-wide-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  text-align: center;
}

.photo-wide-text h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Our work tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--card-bg);
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s ease;
}

.tile:hover img { transform: scale(1.05); }

.tile-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--card-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Reviews */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 12;
  padding: 24px;
  border: 1px dashed rgba(247, 242, 244, 0.25);
  background: var(--surface);
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Footer */

.footer {
  padding: clamp(48px, 7vw, 88px) var(--gutter) 28px;
  background: var(--surface);
  border-top: 1px solid rgba(247, 242, 244, 0.12);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr;
  gap: 32px;
}

.footer-logo {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer-text { margin: 0; max-width: 32ch; line-height: 1.6; color: var(--text-dim); }

.footer h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-grid a:hover { color: var(--accent); }

.footer-copy {
  max-width: 1280px;
  margin: 40px auto 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Responsive */

@media (max-width: 860px) {
  .logo { font-size: 15px; letter-spacing: 0.1em; }
  .pill { min-width: 0; padding: 0 9px; }
  .header-right .icon-btn { width: 34px; }
  .categories { grid-template-columns: 1fr; }
  .cat { border-right: 0; border-bottom: 1px solid rgba(247, 242, 244, 0.18); }
  .cat:last-child { border-bottom: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr 1fr; }
  .band-panel { grid-column: 1 / -1; order: -1; }
  .band-photo img { min-height: 320px; }
  .photos-3 { grid-template-columns: 1fr; }
  .photos-3 .photo { aspect-ratio: 1; }
  .photo-wide { aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 1; }
  .reviews { grid-template-columns: 1fr; }
  .review { aspect-ratio: 16 / 7; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .header { grid-template-columns: auto 1fr auto; padding: 10px 12px; }
  .logo { display: none; }
  .header-side:first-child .icon-btn:nth-child(2) { display: none; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .card-media img, .hero-title .ch, .glow-title .ch { transition: none; }
}

/* Wide banner on desktop: photo shown whole, text beside it */
@media (min-width: 861px) {
  .photo-wide {
    aspect-ratio: auto;
    min-height: 0;
    grid-template-columns: 12vw 22vw 28vw 22vw 12vw;
    justify-content: center;
    place-items: stretch;
    background: rgba(11, 11, 12, 0.72);
  }
  .photo-wide::before { display: none; }
  .photo-wide img {
    position: static;
    aspect-ratio: 3 / 4;
    object-position: 50% 55%;
  }
  .photo-wide-text h2 { font-size: clamp(26px, 3vw, 46px); }
  .photo-wide-text {
    justify-content: center;
    padding: 0 32px;
    text-align: center;
    align-items: center;
  }
}

.band-photo-cover img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.photo-wide .photo-wide-side { display: none; }

@media (min-width: 861px) {
  .photo-wide .photo-wide-side { display: block; }
}

/* Custom order steps */
.steps {
  list-style: none;
  margin: 8px 0 8px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 460px;
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--text);
}

.step-n {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .steps li { justify-content: center; }
  .cta-row { justify-content: center; }
}

@media (min-width: 861px) {
  .photo-wide .steps li { justify-content: flex-start; }
  .photo-wide .cta-row { justify-content: center; }
}

.photo-wide .photo-wide-peek { display: none; }

@media (min-width: 861px) {
  .photo-wide .photo-wide-peek {
    display: block;
    aspect-ratio: auto;
    width: 22vw;
    max-width: none;
    height: 100%;
    min-height: 0;
  }
  .photo-wide .peek-l { justify-self: end; }
  .photo-wide .peek-r { justify-self: start; }
}

/* Middle cell of the wide banner: photo behind the text */
@media (min-width: 861px) {
  .photo-wide-text {
    background:
      linear-gradient(rgba(11, 11, 12, 0.6), rgba(11, 11, 12, 0.6)),
      var(--bg) center / cover;
  }
}

/* Match the brightness of the middle cell (60% dark overlay) */
@media (min-width: 861px) {
  .photo-wide img { filter: brightness(0.4); }
}

/* Wide banner title */
.glow-title .word { display: inline-block; white-space: nowrap; }

@media (min-width: 861px) {
  .photo-wide-text h2.glow-title {
    font-size: clamp(34px, 3.9vw, 76px);
    line-height: 1.05;
    font-weight: 500;
    text-wrap: balance;
  }
}

/* Custom band: photo behind the text in the middle cell */
.band-panel {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--bg) 50% 40% / cover;
}

/* Same 50% dim on the side photos so the three cells match */
.band-photo-cover img { filter: brightness(0.5); }

.band-panel h2,
.band-panel .eyebrow,
.band-panel .band-text {
  text-shadow: 0 1px 14px rgba(11, 11, 12, 0.55);
}

.band-panel .band-text { color: var(--text); }

/* Works tiles with full photos */
.tile-cover { background: var(--surface); }

.tile-cover img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.tile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(11, 11, 12, 0.55));
  pointer-events: none;
}

.tile-cover .tile-label {
  z-index: 1;
  color: var(--text);
}

/* Review screenshots that rotate inside a cell */
.review.has-img {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.review.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.review.has-img img.on { opacity: 1; }

/* Category chooser panel */
.no-scroll { overflow: hidden; }

.chooser {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px var(--gutter);
  background: rgba(11, 11, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.chooser[hidden] { display: none; }
.chooser.open { opacity: 1; }

.chooser-inner {
  position: relative;
  width: min(1180px, 100%);
  padding: 56px 0 24px;
  transform: translateY(14px);
  transition: transform 0.3s ease;
}

.chooser.open .chooser-inner { transform: none; }

.chooser-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
}

.chooser-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.chooser-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

.chooser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.chooser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(11, 11, 12, 0.7));
  pointer-events: none;
}

.chooser-card.empty {
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 242, 244, 0.18);
}

.chooser-card.empty::after { display: none; }

.chooser-card:hover img { transform: scale(1.05); }
.chooser-card:hover .chooser-name { color: var(--accent); }

.chooser-name {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s ease;
}

.chooser-card.empty .chooser-name {
  position: static;
}

@media (max-width: 860px) {
  .chooser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Catalog page */
.catalog-page .section { padding-top: clamp(110px, 14vw, 150px); }

.crumbs {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crumbs a { color: var(--text-dim); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--accent); }

.cat-title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.cat-tab {
  padding: 10px 20px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid rgba(247, 242, 244, 0.22);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cat-tab:hover { color: var(--text); border-color: var(--text); }

.cat-tab.on {
  color: #0b0b0c;
  background: var(--accent);
  border-color: var(--accent);
}

.cat-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  #catGrid { grid-template-columns: repeat(2, 1fr); }
}

/* Catalog drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.drawer[hidden] { display: none; }
.drawer.open { background: rgba(0, 0, 0, 0.55); }

.drawer-panel {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: #1d1d1d;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.drawer.open .drawer-panel { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(247, 242, 244, 0.12);
}

.drawer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: none;
  border: 1px solid rgba(247, 242, 244, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.drawer-close:hover { border-color: var(--accent); }

.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px 0;
}

.drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(247, 242, 244, 0.12);
  cursor: pointer;
  transition: color 0.2s ease;
}

.drawer-row:hover { color: var(--accent); }

.drawer-row i {
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: transform 0.25s ease;
}

.drawer-row[aria-expanded="true"] i { transform: rotate(90deg); }

.drawer-sub {
  display: grid;
  padding: 6px 0 12px 16px;
  border-bottom: 1px solid rgba(247, 242, 244, 0.12);
}

.drawer-sub[hidden] { display: none; }

.drawer-sub a {
  padding: 12px 0;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.drawer-sub a:hover { color: var(--accent); }

.drawer-foot {
  padding: 20px 28px 26px;
  border-top: 1px solid rgba(247, 242, 244, 0.12);
}

.drawer-lang {
  display: flex;
  margin-bottom: 22px;
}

.drawer-lang button {
  flex: 1;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.drawer-lang button.on {
  color: var(--text);
  background: rgba(247, 242, 244, 0.1);
}

.drawer-lang button:hover { color: var(--text); }

.drawer-social {
  display: flex;
  gap: 22px;
  color: var(--text-dim);
}

.drawer-social a { transition: color 0.2s ease; }
.drawer-social a:hover { color: var(--accent); }

/* Search panel */
.search {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.search[hidden] { display: none; }
.search.open { background: rgba(0, 0, 0, 0.55); }

.search-panel {
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px var(--gutter) 32px;
  background: #1d1d1d;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
}

.search.open .search-panel { transform: none; }

.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(247, 242, 244, 0.22);
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  font-family: inherit;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--text);
  background: none;
  border: 0;
  outline: 0;
}

.search-input::placeholder { color: var(--text-dim); }
.search-input::-webkit-search-cancel-button { display: none; }

.search-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: none;
  border: 1px solid rgba(247, 242, 244, 0.22);
  border-radius: 50%;
  cursor: pointer;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 26px auto 0;
}

.search-results:empty { display: none; }

.search-all {
  display: block;
  width: fit-content;
  margin: 26px auto 0;
  max-width: 1180px;
  padding-bottom: 3px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.search-all[hidden] { display: none; }

@media (max-width: 860px) {
  .search-results { grid-template-columns: repeat(2, 1fr); }
}

/* Search panel: compact version, a small box under the header */
.search { display: grid; justify-items: center; align-items: start; }
.search[hidden] { display: none; }

.search-panel {
  width: min(520px, calc(100% - 24px));
  margin-top: 64px;
  max-height: calc(100vh - 88px);
  padding: 14px 18px 18px;
  border: 1px solid rgba(247, 242, 244, 0.14);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.search.open .search-panel { transform: none; opacity: 1; }

.search-form { gap: 12px; padding-bottom: 10px; }
.search-form > svg { width: 20px; height: 20px; flex: none; }

.search-input { font-size: 18px; padding: 4px 0; }

.search-close { width: 32px; height: 32px; }
.search-close svg { width: 16px; height: 16px; }

.search-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 12px;
}

.search-results .card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.search-results .card:hover { background: rgba(247, 242, 244, 0.06); }

.search-results .card-media {
  aspect-ratio: 1 / 1;
  width: 56px;
  background: #efefef;
}

.search-results .card-media img { padding: 2px; }
.search-results .heart, .search-results .tag { display: none; }

.search-results .card-title {
  margin: 0;
  font-size: 14px;
  text-align: left;
}

.search-results .price {
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text-dim);
}

.search-results .cat-empty { padding: 22px 0; font-size: 14px; }

.search-all {
  margin: 14px 0 0;
  font-size: 12px;
}

/* Search panel: minimal, just a line and text results */
.search.open { background: rgba(0, 0, 0, 0.4); }

.search-panel {
  width: min(440px, calc(100% - 24px));
  margin-top: 70px;
  padding: 6px 4px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.search-form { padding-bottom: 8px; border-bottom-color: rgba(247, 242, 244, 0.4); }
.search-form > svg { display: none; }
.search-input { font-size: 20px; letter-spacing: 0.02em; }

.search-close {
  width: 28px;
  height: 28px;
  border: 0;
  color: var(--text-dim);
}

.search-close:hover { color: var(--text); }

.search-results { gap: 0; margin-top: 8px; }

.search-results .card {
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 11px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(247, 242, 244, 0.1);
}

.search-results .card:hover { background: none; }
.search-results .card-media { display: none; }
.search-results .card-title { font-size: 15px; letter-spacing: 0.03em; }
.search-results .card:hover .card-title { color: var(--accent); }

.search-all {
  margin: 14px 0 0;
  font-size: 11px;
  border-bottom: 0;
  color: var(--text-dim);
}

.search-all:hover { color: var(--accent); }

/* keep the results readable over the page behind */
.search-panel {
  padding: 12px 22px 18px;
  background: rgba(22, 22, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Cart drawer (slides in from the right) */
.drawer-right { display: flex; justify-content: flex-end; }
.drawer-right .drawer-panel { transform: translateX(100%); }
.drawer-right.open .drawer-panel { transform: none; }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 80px 0;
  text-align: center;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.cart-item,
.sum-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 242, 244, 0.12);
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #efefef;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-thumb .photo-soon { font-size: 9px; color: #777; text-align: center; }

.cart-info { display: grid; align-content: start; gap: 6px; }

.cart-name {
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

a.cart-name:hover { color: var(--accent); }
.cart-size { font-size: 13px; color: var(--text-dim); }

.cart-qty {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  border: 1px solid rgba(247, 242, 244, 0.22);
}

.cart-qty button {
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
}

.cart-qty button:hover { color: var(--accent); }
.cart-qty span { min-width: 28px; text-align: center; font-size: 14px; }

.cart-side { display: grid; justify-items: end; align-content: space-between; }
.cart-side .price { margin: 0; font-size: 14px; }

.cart-remove {
  width: 26px;
  height: 26px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-dim);
  background: none;
  border: 0;
  cursor: pointer;
}

.cart-remove:hover { color: var(--accent); }

.cart-foot { padding: 0 28px 26px; }
.cart-foot:empty { display: none; }

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-total .price { margin: 0; font-size: 20px; letter-spacing: 0.02em; }
.cart-checkout { display: block; width: 100%; text-align: center; }

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--card-bg);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-media.empty { background: var(--surface); }
.product-info { display: grid; gap: 18px; align-content: start; }

.tag-static {
  position: static;
  width: fit-content;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.product-price { margin: 0; font-size: 24px; letter-spacing: 0.04em; }

.product-label {
  margin: 8px 0 -6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.size {
  min-width: 52px;
  padding: 12px 14px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: none;
  border: 1px solid rgba(247, 242, 244, 0.25);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.size:hover { border-color: var(--text); }
.size.on { color: #0b0b0c; background: var(--accent); border-color: var(--accent); }

.size-hint { margin: -6px 0 0; font-size: 14px; color: var(--accent); }
.size-hint[hidden] { display: none; }

.product-add { width: 100%; text-align: center; cursor: pointer; border: 0; }
.product-note { margin: 0; font-size: 14px; color: var(--text-dim); letter-spacing: 0.04em; }

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.co-form { display: grid; gap: 26px; }
.co-form fieldset { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; }

.co-form legend {
  margin-bottom: 14px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.np-fields, .courier-fields { display: grid; gap: 14px; margin-top: 6px; }
.np-fields[hidden], .courier-fields[hidden] { display: none; }

.field { display: grid; gap: 8px; }
.field span { font-size: 13px; letter-spacing: 0.06em; color: var(--text-dim); }

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(247, 242, 244, 0.16);
  border-radius: 0;
  outline: 0;
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field.bad input { border-color: #e5677d; }
.field textarea { resize: vertical; }

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid rgba(247, 242, 244, 0.16);
}

.choice input { accent-color: var(--accent); }
.choice.is-off { opacity: 0.5; cursor: not-allowed; }
.choice em { font-style: normal; font-size: 12px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }

.co-error { margin: 0; font-size: 14px; color: #e5677d; }
.co-error[hidden] { display: none; }
.co-submit { width: 100%; cursor: pointer; border: 0; }

.co-summary {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(247, 242, 244, 0.12);
}

.co-summary .product-label { margin: 0 0 8px; }
.co-summary .sum-row:first-of-type { padding-top: 10px; }
.co-summary .price { margin: 0; font-size: 14px; white-space: nowrap; }

.co-done { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; padding: 40px 0; }
.co-done .cat-title { margin: 0; }
.co-order-no { margin: 0; font-size: 18px; letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .product-layout, .checkout-grid { grid-template-columns: 1fr; }
  .co-summary { order: -1; }
}

/* Smooth drawers: the dim layer fades by opacity (GPU) instead of animating a background colour,
   the panel is its own layer, and the page keeps its scrollbar space so nothing reflows on open */
html { scrollbar-gutter: stable; }

.drawer,
.drawer.open { background: none; transition: none; }

.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer.open::before { opacity: 1; }

.drawer-panel {
  position: relative;
  will-change: transform;
  contain: layout paint;
}

.cart-thumb { isolation: isolate; }

/* Favorites */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 10px;
}

.heart-lg {
  position: static;
  width: 56px;
  height: auto;
  min-height: 56px;
  color: var(--text);
  background: none;
  border: 1px solid rgba(247, 242, 244, 0.25);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.heart-lg svg { width: 24px; height: 24px; }
.heart-lg:hover, .heart-lg.on { color: #ff5c8d; border-color: #ff5c8d; }

.fav-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 80px 0;
  text-align: center;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.fav-empty p { margin: 0; font-size: 20px; color: var(--text); }

@media (max-width: 860px) {
  #favGrid { grid-template-columns: repeat(2, 1fr); }
}

/* Inter everywhere; big headings are bold like the reference */
.section-head h2,
.cat-title,
.product-name,
.band-panel h2,
.photo-wide-text h2,
.glow-title,
.drawer-title { font-weight: 700; letter-spacing: 0.015em; }

/* Heart on product cards: dark round button with a light outline heart */
.card .heart {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  color: #f7f2f4;
  background: #1d1d1d;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.card .heart svg { width: 24px; height: 24px; stroke-width: 1.5; }
.card .heart:hover { background: #2b2b2b; transform: scale(1.06); }
.card .heart.on { color: #f2a7c0; }
.card .heart.on svg { fill: currentColor; }

/* ===== Buttons (adapted from Uiverse.io, MIT licence) ===== */

/* Glow button with reflection: hero "Каталог" (ShrinilDhorda) */
.btn-glow {
  display: inline-block;
  padding: 18px 46px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eaeaea;
  background: #0e0e10;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 60px rgba(242, 167, 192, 0.38);
  transition: 0.6s;
}

.btn-glow:hover {
  color: #0b0b0c;
  background: linear-gradient(270deg, rgba(242, 167, 192, 0.7) 0%, rgba(255, 220, 232, 0.95) 60%);
}

.btn-glow:active { scale: 0.94; }

/* Sparkling frame: "Замовити кастом" (SelfMadeSystem) */
.btn-spark {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 17px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #0b0b0c;
  border: 0;
  cursor: pointer;
}

.btn-spark .text { position: relative; z-index: 1; }

.btn-spark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, #0000 0, #0000 20%, #0b0b0caa 50%),
    radial-gradient(ellipse 100% 100%, #f2a7c0, #f2a7c000);
  background-size: 3px 3px, auto auto;
  transition: 0.3s;
}

.btn-spark:hover::before { opacity: 0.35; }

.btn-spark .a {
  pointer-events: none;
  position: absolute;
  --w: 2px;
  --t: -40px;
  --s: calc(var(--t) * -1);
  --e: calc(100% + var(--t));
  --g: #f2a7c000, #f2a7c033 var(--s), #f2a7c0aa var(--s), #f7c6d8, #f2a7c0aa var(--e), #f2a7c033 var(--e), #f2a7c000;
}

.btn-spark .a::before,
.btn-spark .a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}

.btn-spark .a::before { filter: blur(4px) url(#unopaq); }

.btn-spark .a::after {
  filter: blur(10px) url(#unopaq);
  opacity: 0;
  transition: 0.3s;
}

.btn-spark:hover .a::after { opacity: 1; }

.btn-spark .l { left: -2px; }
.btn-spark .r { right: -2px; }

.btn-spark .l,
.btn-spark .r {
  top: var(--t);
  bottom: var(--t);
  width: var(--w);
  background: linear-gradient(var(--g));
}

.btn-spark .t { top: -2px; }
.btn-spark .b { bottom: -2px; }

.btn-spark .t,
.btn-spark .b {
  left: var(--t);
  right: var(--t);
  height: var(--w);
  background: linear-gradient(90deg, var(--g));
}

/* Slash button: add to cart, checkout, confirm order (mrhyddenn) */
.btn-slash {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-block;
  padding: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-slash::before,
.btn-slash::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.btn-slash::before { top: 0; border-bottom-width: 0; }
.btn-slash::after { bottom: 0; border-top-width: 0; }

.btn-slash:active::before,
.btn-slash:active::after { right: 3px; left: 3px; }
.btn-slash:active::before { top: 3px; }
.btn-slash:active::after { bottom: 3px; }

.btn-slash .button_lg {
  position: relative;
  display: block;
  padding: 15px 28px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-color: #1d1d1d;
}

.btn-slash .button_lg::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0b0b0c;
}

.btn-slash .button_lg::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0b0b0c;
  transition: all 0.2s ease;
}

.btn-slash .button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: var(--accent);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.btn-slash .button_text { position: relative; transition: color 0.2s ease; }

.btn-slash:hover .button_sl { width: calc(100% + 15px); }
.btn-slash:hover .button_lg { color: #0b0b0c; }
.btn-slash:hover .button_lg::after { background-color: #fff; }

.product-add,
.cart-checkout,
.co-submit { display: block; width: 100%; }

.product-actions .product-add { display: block; }

/* Moving shine on small text links (neerajbaniwal) */
.section-head .link {
  background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
  background-position: 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% { background-position: 0; }
  60% { background-position: 180px; }
  100% { background-position: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-head .link { animation: none; }
}

/* ===== Catalog grid, as on Sterling & Co ===== */
#catalogPage .section {
  max-width: none;
  padding: 96px clamp(16px, 4vw, 80px) 80px;
}

.cat-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 26px;
}

#catalogPage .cat-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cat-crumbs {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--text-dim);
}

.cat-crumbs a { transition: color 0.2s ease; }
.cat-crumbs a:hover { color: var(--accent); }
.cat-crumbs b { font-weight: 500; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }

.filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  align-self: center;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filters-btn:hover { color: var(--accent); }

#catGrid { gap: 12px; }

#catGrid .card-media { aspect-ratio: 3 / 4; }

/* shoes sit in the lower middle of the card, clothes and accessories in the centre */
#catGrid .card-media img { object-position: 50% 70%; }
#catGrid .card[data-cat="clothing"] .card-media img,
#catGrid .card[data-cat="accessories"] .card-media img { object-position: 50% 50%; }

#catGrid .card-title {
  margin: 14px 0 4px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#catGrid .price { margin-bottom: 18px; }

/* Filters drawer */
.filters-body { padding-top: 22px; display: grid; align-content: start; gap: 14px; }
.filter-list { display: grid; gap: 8px; }
.filters-foot { display: grid; gap: 12px; }
.filters-show { width: 100%; }
.filters-reset {
  padding: 8px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: 0;
  cursor: pointer;
}
.filters-reset:hover { color: var(--accent); }

@media (max-width: 860px) {
  .cat-head { flex-wrap: wrap; gap: 8px 16px; }
  .cat-crumbs { order: 3; width: 100%; }
}

.cat-tabs[hidden] { display: none; }

#catGrid .card-media img { box-sizing: border-box; padding: 0 9%; }

/* cards without a photo yet look like the others: light card, grey note */
#catGrid .card-media.empty {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #fafafa, var(--card-bg) 70%);
}

#catGrid .card-media .photo-soon {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a9a9a;
}

/* Header icons: outline heart and bag with the count as a plain number beside them */
.icon-btn.badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0 6px;
}

.badge-wrap .badge {
  position: static;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
}

/* Heart on a product: dark round button; on hover it turns into a plain grey outline */
.card .heart:hover {
  background: transparent;
  color: #7a7a7a;
  transform: none;
}

.card .heart.on:hover { color: #ff5c8d; }

/* Heart on a product: plain grey outline, no background (final look) */
.card .heart,
.card .heart:hover {
  background: none;
  transform: none;
}

.card .heart { color: #7a7a7a; }
.card .heart:hover { color: #3d3d3d; }
.card .heart svg { width: 30px; height: 30px; stroke-width: 1.7; }
.card .heart.on,
.card .heart.on:hover { color: #ff5c8d; }
.card .heart.on svg { fill: currentColor; }

/* Smaller, finer icons */
.icon-btn.badge-wrap { gap: 6px; padding: 0 4px; }
.badge-wrap .badge { font-size: 15px; }
.card .heart { width: 38px; height: 38px; }
.card .heart svg { width: 22px; height: 22px; stroke-width: 1.4; }

.heart-lg { position: relative; }

/* Heart next to "Add to cart": no frame, centred on the button's row */
.product-actions { align-items: center; }

.heart-lg {
  position: relative;
  top: auto;
  right: auto;
  align-self: center;
  width: 48px;
  height: 48px;
  min-height: 0;
  border: 0;
  background: none;
}

.heart-lg:hover,
.heart-lg.on { border: 0; }

/* Size buttons use the same slash animation as "Add to cart" */
.size.btn-slash,
.size.btn-slash:hover,
.size.btn-slash.on {
  min-width: 0;
  padding: 6px;
  border: 0;
  background: none;
  color: #fff;
}

.size.btn-slash .button_lg {
  min-width: 46px;
  padding: 11px 16px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.size.btn-slash.on .button_sl { width: calc(100% + 15px); }
.size.btn-slash.on .button_lg { color: #0b0b0c; }
.size.btn-slash.on .button_lg::after { background-color: #fff; }

.sizes { gap: 4px; }

/* Titles stay plain white: no pointer glow on the letters */
.hero-title .ch,
.glow-title .ch {
  color: var(--text);
  transition: none;
}

.hero-title .ch::before,
.hero-title .ch::after,
.glow-title .ch::before,
.glow-title .ch::after { content: none; }

/* How to order a custom: text only */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 44px;
}

.how-item {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 244, 0.22);
}

.how-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.how-item p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}

.how-cta { display: inline-block; }

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* "Message on Instagram" sits in the middle, under the text */
.how-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Plain text hint with a down arrow (not a link) */
.band-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

/* Payment choice: two options with a short explanation */
.choice-two { align-items: flex-start; }
.choice-two input { margin-top: 3px; }

.choice-body { display: grid; gap: 6px; }
.choice-body > b { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.choice-body > span { font-size: 14px; color: var(--text); }
.choice-body em { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--text-dim); text-transform: none; letter-spacing: 0; }
.choice-body .price { margin: 0; font-size: inherit; }

/* Summary: what to pay now and what on delivery */
.pay-split {
  display: grid;
  gap: 6px;
  padding: 4px 0 14px;
  font-size: 14px;
  color: var(--text-dim);
}

.pay-split > div { display: flex; justify-content: space-between; gap: 12px; }
.pay-split b { color: var(--text); font-weight: 600; }
.pay-split .price { margin: 0; font-size: inherit; }

/* Sizes that are out of stock */
.size.btn-slash:disabled { opacity: 0.35; cursor: not-allowed; }
.size.btn-slash:disabled .button_text { text-decoration: line-through; }
.size.btn-slash:disabled:hover .button_sl { width: 0; }
.size.btn-slash:disabled:hover .button_lg { color: #fff; }

.btn-slash:disabled { cursor: not-allowed; opacity: 0.55; }

.product-desc { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--text-dim); white-space: pre-line; }

/* ---- Tablet and phone fixes ---- */

/* Tablets keep the photo and the info side by side, so "Add to cart" is visible without scrolling */
@media (min-width: 641px) and (max-width: 860px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}

/* Phones and tablets: the info column is narrow, all six sizes fit in one row */
@media (max-width: 860px) {
  .sizes { gap: 0; }
  .size.btn-slash { padding: 4px; }
  .size.btn-slash .button_lg { min-width: 0; padding: 11px 9px; font-size: 13px; letter-spacing: 0.02em; }
  .size.btn-slash::before, .size.btn-slash::after { height: calc(50% - 4px); }
}

/* a little air between the hero text and the "Catalog" button */
.hero-inner .btn-glow { margin-top: 16px; }

/* phones with a home indicator: keep drawer buttons clear of it */
.cart-foot,
.drawer-foot { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
