:root {
  --bg: #0D0D0D;
  --bg-card: #141414;
  --bg-elevated: #1C1C1C;
  --bg-glass: rgba(13,13,13,0.92);
  --text: #FFFFFF;
  --text-muted: #777777;
  --text-dim: #444444;
  --border: rgba(255,255,255,0.1);
  --border-active: rgba(255,255,255,0.3);
  --font-d: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-s: 'Inter', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-s);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

#root {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding-bottom: var(--safe-bottom);
}

/* ── ANNOUNCEMENT ── */
.anc {
  background: #111;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
  padding-top: calc(0.45rem + var(--safe-top));
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── HEADER (56px) ── */
.hdr {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem;
}

.hdr-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-logo-gif {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.touch-btn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}
.touch-btn:active { background: var(--bg-elevated); }

.cart-dot {
  position: absolute;
  top: 7px; right: 7px;
  background: #fff;
  color: #0D0D0D;
  font-size: 0.55rem;
  font-weight: 900;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 280px;
  overflow: hidden;
  background: var(--bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(0.92) translateY(8%);
  transform-origin: center center;
}

.hero-dots {
  position: absolute;
  bottom: 4.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 10;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.hero {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.1) 0%,
    rgba(13,13,13,0.25) 50%,
    rgba(13,13,13,0.45) 100%
  );
  pointer-events: none;
}

.btn-hero-transparent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  min-height: 36px;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  font-family: var(--font-d);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-hero-transparent:active {
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem;
}

.hero-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.hero-title {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.hero-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn-primary {
  width: 100%;
  min-height: 48px;
  background: #fff;
  color: #0D0D0D;
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-primary:active { background: #ddd; transform: scale(0.98); }

.btn-outline {
  width: 100%;
  min-height: 48px;
  background: transparent;
  color: #fff;
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-outline:active { background: rgba(255,255,255,0.06); }

/* ── SECTION HEADER ── */
.sec-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.5rem 1rem 0.75rem;
}
.sec-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.sec-count { font-size: 0.68rem; color: var(--text-muted); }

/* ── PILLS ── */
.cats {
  display: flex;
  gap: 0.4rem;
  padding: 0 1rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cats::-webkit-scrollbar { display: none; }

.pill {
  padding: 0.4rem 0.9rem;
  min-height: 36px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
}
.pill.active {
  background: #fff;
  color: #0D0D0D;
  border-color: #fff;
}

/* ── PRODUCT CARDS ── */
.products {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 1rem 2.5rem;
}

.pcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.pcard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2.5;
  overflow: hidden;
  cursor: pointer;
  background: #0f0f0f;
}

.pcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pcard:hover .pcard-img { transform: scale(1.04); }

.pcard-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #181818 0%, #0d0d0d 100%);
  gap: 0.25rem;
}

.pcard-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: rgba(13,13,13,0.88);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.22rem 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.pcard-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pcard-name {
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.pcard-price {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 900;
}

.sz-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.sz-row { display: flex; gap: 0.35rem; }

.sz-chip {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
}
.sz-chip.sel {
  background: #fff;
  color: #0D0D0D;
  border-color: #fff;
}

/* ── DRAWERS ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1);
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: 82%;
  max-width: 320px;
  background: var(--bg);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}
.drawer.left  { left: 0; transform: translateX(-100%); border-right: 1px solid var(--border); }
.drawer.right { right: 0; transform: translateX(100%);  border-left:  1px solid var(--border); }
.overlay.open .drawer { transform: translateX(0); }

.drw-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drw-title {
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.drw-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
}

.nav-link {
  display: block;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}

/* ── CART ITEM ── */
.ci {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ci-img {
  width: 58px; height: 70px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--bg-elevated);
  flex-shrink: 0;
  display: block;
}
.ci-no-img {
  width: 58px; height: 70px;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-info { flex: 1; }
.ci-name  { font-family: var(--font-d); font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.ci-meta  { font-size: 0.65rem; color: var(--text-muted); margin-top: 0.2rem; }
.ci-price { font-family: var(--font-d); font-size: 0.88rem; font-weight: 900; margin-top: 0.3rem; }

.drw-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ── PRODUCT BOTTOM SHEET ── */
.sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-top: 1px solid var(--border);
  padding: 0 1.25rem calc(1.5rem + var(--safe-bottom));
  z-index: 300;
  max-height: 88vh;
  overflow-y: auto;
}

.sheet-handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 99px;
  margin: 0.75rem auto 1.25rem;
}

.sheet-gallery {
  width: 100%;
  aspect-ratio: 3/2.5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #0f0f0f;
}
.sheet-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sheet-name  { font-family: var(--font-d); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.3rem; }
.sheet-price { font-family: var(--font-d); font-size: 1.3rem; font-weight: 900; margin-bottom: 0.85rem; }
.sheet-desc  { font-size: 0.76rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1rem; }

.qty-row { display: flex; align-items: center; width: fit-content; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }
.qty-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-elevated); color: var(--text); border: none; font-size: 1rem; font-weight: 700; cursor: pointer; }
.qty-val { width: 36px; text-align: center; font-family: var(--font-d); font-size: 0.85rem; font-weight: 800; background: var(--bg-card); color: var(--text); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 40px; }

.sheet-actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* ── ABOUT SECTION ── */
.about-sec {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.about-title {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
}
.about-body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}
.about-stat-n {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 900;
  display: block;
}
.about-stat-l {
  font-size: 0.58rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  display: block;
}

/* ── SIZE GUIDE ── */
.size-sec {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
}
.size-sec-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.size-sec-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}
.size-table th {
  font-family: var(--font-d);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.size-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text);
}
.size-table tr:last-child td { border-bottom: none; }
.sz-tag {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 800;
}

/* ── REVIEWS ── */
.reviews-sec {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
}
.reviews-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  letter-spacing: 0.04em;
}
.reviews-avg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.stars { color: #fff; font-size: 0.8rem; letter-spacing: 0.05em; }
.reviews-avg-n {
  font-family: var(--font-d);
  font-size: 0.9rem;
  font-weight: 900;
}
.reviews-avg-l {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.review-name {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 800;
}
.review-prod {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.review-stars { font-size: 0.72rem; letter-spacing: 0.05em; }
.review-body {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── STAR RATING PICKER ── */
.star-picker-row {
  display: flex;
  gap: 0.35rem;
  font-size: 1.4rem;
  cursor: pointer;
  user-select: none;
}
.star-picker-item {
  color: var(--text-dim);
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-picker-item.active {
  color: #fff;
}
.star-picker-item:hover {
  transform: scale(1.2);
}

/* ── NEWSLETTER ── */
.nl-sec {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.nl-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.nl-title {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.nl-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nl-input {
  width: 100%;
  min-height: 48px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 1rem;
  font-family: var(--font-s);
  font-size: 0.8rem;
  outline: none;
}
.nl-input:focus { border-color: rgba(255,255,255,0.4); }
.nl-input::placeholder { color: var(--text-dim); }
.nl-ok {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}
.nl-ok-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
.nl-ok-msg {
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.nl-ok-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ── FOOTER ── */
.ftr {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 2rem 1rem calc(2rem + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ftr-logo { font-family: var(--font-d); font-size: 1.4rem; font-weight: 900; letter-spacing: 0.2em; margin-bottom: 0.3rem; }
.ftr-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.55; }

.ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ftr-col h4 { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }
.ftr-col a  { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.4rem; text-decoration: none; }

.ftr-select { width: 100%; min-height: 44px; background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); padding: 0.6rem 0.75rem; font-family: var(--font-d); font-size: 0.72rem; border-radius: 3px; }

.ftr-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: 0.62rem; color: var(--text-dim); }

/* ── BOTTOM NAV BAR ── */
.bot-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(58px + var(--safe-bottom));
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
  z-index: 150;
}
.bot-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0 0;
  min-height: 44px;
}
.bot-tab.active { color: var(--text); }
.bot-tab-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── INFO PAGE ── */
.info-page {
  min-height: 100%;
  padding-bottom: 1rem;
}
.info-page-hero {
  padding: 2rem 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.info-page-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.info-page-title {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: calc(4.5rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: #fff;
  color: #0D0D0D;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-family: var(--font-d);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  animation: toastIn 0.2s ease-out;
}
@keyframes toastIn {
  from { opacity:0; transform: translateX(-50%) translateY(8px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}

body.no-scroll { overflow: hidden; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 1rem 3rem;
}
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:active img {
  transform: scale(1.05);
}

/* ── OLED THEME OVERRIDE ── */
html[data-theme="oled"], html[data-theme="oled"] body, html[data-theme="oled"] #root {
  --bg: #000000;
  --bg-card: #080808;
  --bg-elevated: #121212;
  --bg-glass: rgba(0,0,0,0.95);
  background: #000000 !important;
}

/* ── PAGE SWITCH ANIMATION ── */
.page-animate {
  animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SETTINGS PAGE STYLING ── */
.settings-grid {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.setting-btn {
  flex: 1;
  min-height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.setting-btn.active {
  background: var(--bg-elevated);
  border-color: #ffffff;
  color: #ffffff;
}
.setting-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
}
.setting-btn.active .setting-dot {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.setting-label {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.setting-sub {
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.setting-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 800;
}

/* TOGGLE SWITCH */
.toggle-sw {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-sw input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: 0.3s;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: 0.3s;
  border-radius: 50%;
}
.toggle-sw input:checked + .toggle-slider {
  background-color: #ffffff;
}
.toggle-sw input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: #0d0d0d;
}

/* ── MINI SEARCH BAR ── */
.search-box-wrap {
  position: relative;
  margin: 0 1rem 0.85rem;
  display: flex;
  align-items: center;
}
.search-box-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
}
.search-box-input {
  width: 100%;
  min-height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-s);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0 2.2rem 0 2.5rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.search-box-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--bg-elevated);
}
.search-box-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-d);
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.search-box-clear {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SKETCH DOODLE THEME ── */
html[data-theme="sketch"] {
  --bg: #F8F8F5;
  --bg-card: #FFFFFF;
  --bg-elevated: #EEEEEE;
  --bg-glass: rgba(248, 248, 245, 0.94);
  --text: #111111;
  --text-muted: #555555;
  --text-dim: #888888;
  --border: #111111;
  --border-active: #000000;
}
html[data-theme="sketch"] body, html[data-theme="sketch"] #root {
  background: #F8F8F5 !important;
  background-image: 
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0, rgba(0,0,0,0.04) 1px, transparent 0, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.03) 0, rgba(0,0,0,0.03) 1px, transparent 0, transparent 14px) !important;
  color: #111111 !important;
}
html[data-theme="sketch"] .pcard,
html[data-theme="sketch"] .about-stat,
html[data-theme="sketch"] .review-card,
html[data-theme="sketch"] .nl-input,
html[data-theme="sketch"] .setting-btn,
html[data-theme="sketch"] .search-box-input {
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0 #111111 !important;
}
html[data-theme="sketch"] .btn-primary {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0 #111111 !important;
}
html[data-theme="sketch"] .btn-primary:active {
  box-shadow: 1px 1px 0 #111111 !important;
  transform: translate(2px, 2px) !important;
}
html[data-theme="sketch"] .btn-hero-transparent {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0 #111111 !important;
}
html[data-theme="sketch"] .pill.active {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
}
html[data-theme="sketch"] .sz-chip.sel {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
}
html[data-theme="sketch"] .hdr,
html[data-theme="sketch"] .anc {
  background: #FFFFFF !important;
  border-bottom: 2px solid #111111 !important;
}
html[data-theme="sketch"] .anc #cd-timer {
  color: #111111 !important;
}

/* ── GIF PAGE ── */
.gif-page-intro {
  padding: 0 1.25rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.gif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 1rem 2rem;
}

.gif-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gif-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.gif-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gif-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gif-card-body {
  padding: 0.75rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.gif-card-name {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1.3;
}

.gif-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  color: #0D0D0D;
  font-family: var(--font-d);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.gif-dl-btn:active {
  background: #ddd;
  transform: scale(0.97);
}

/* sketch theme overrides for gif page */
html[data-theme="sketch"] .gif-card {
  border: 2px solid #111 !important;
  background: #fff !important;
}
html[data-theme="sketch"] .gif-dl-btn {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
}
