/* ==========================================================================
   TOY KORNER NG (@toykornerng) — Mobile-First Tactile Playbook Design System
   Curated warm daylight palette, organic cardstock depth, 60fps spring motion
   ========================================================================== */

.tk-app {
  --canvas: #faf7f0;
  --canvas-warm: #f1ede2;
  --surface: #ffffff;
  --surface-subtle: #fcfaf5;
  --ink: #1a1f24;
  --ink-soft: #525b66;
  --ink-muted: #7c8694;
  --hairline: rgba(26, 31, 36, 0.08);
  --hairline-strong: rgba(26, 31, 36, 0.14);

  /* Toy Korner NG Brand Accents (Signature Leaf Green + Sunny Marigold + Coral) */
  --coral: #1f9d55;
  --coral-deep: #15753e;
  --coral-tint: #eaf8f0;
  --marigold: #f7b731;
  --marigold-deep: #d4930d;
  --marigold-tint: #fef7e4;
  --sage: #1f9d55;
  --sage-tint: #eaf8f0;
  --sky: #1971b8;
  --sky-tint: #e8f3fc;

  /* Spring & Physics Curves */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 2px 5px rgba(28, 25, 43, 0.03), 0 12px 28px -8px rgba(28, 25, 43, 0.08);
  --shadow-elevated: 0 8px 20px -4px rgba(28, 25, 43, 0.08), 0 24px 48px -12px rgba(28, 25, 43, 0.14);

  font-family: 'Plus Jakarta Sans', ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--canvas);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

/* Subtle Organic Paper Grain Overlay (gives warm storybook cardstock texture) */
.tk-paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient Sunlit Warmth Blobs (non-intrusive, zero grid clichés) */
.tk-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 620px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 75% 55% at 15% 10%, rgba(31, 157, 85, 0.13), transparent 70%),
    radial-gradient(ellipse 65% 50% at 88% 18%, rgba(247, 183, 49, 0.15), transparent 70%);
}

#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 120;
}

.tk-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 640px) {
  .tk-container {
    padding: 0 20px;
  }
}

.hidden {
  display: none !important;
}

/* Display Typography */
.tk-display {
  font-family: 'Fredoka', ui-rounded, 'SF Pro Rounded', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   TOP LOCATION TICKER BAR
   ========================================================================== */
.tk-Announcement {
  position: relative;
  z-index: 45;
  background: var(--ink);
  color: #faf5ec;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  text-align: center;
}

.tk-Announcement-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tk-Announcement-dot {
  color: var(--marigold);
}

/* ==========================================================================
   STICKY GLASS MOBILE HEADER & ANIMATED MASCOT LOGO
   ========================================================================== */
.tk-header {
  position: sticky;
  top: 0;
  z-index: 44;
  background: rgba(250, 245, 236, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s ease;
}

.tk-header.scrolled {
  box-shadow: 0 8px 24px -10px rgba(28, 25, 43, 0.1);
}

.tk-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}

.tk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.tk-mascot-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.tk-brand:hover .tk-mascot-wrap,
.tk-brand:active .tk-mascot-wrap {
  transform: rotate(-7deg) scale(1.08);
}

@keyframes mascotBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

.mascot-eyes {
  transform-origin: center 21px;
  animation: mascotBlink 4.8s infinite;
}

.tk-brand-text {
  min-width: 0;
}

.tk-brand-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tk-brand-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.tk-ng-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--coral-tint);
  color: var(--coral);
}

.tk-brand-loc {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tk-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tk-icon-pill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(28, 25, 43, 0.04);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.tk-icon-pill-btn:active {
  transform: scale(0.94);
}

.tk-icon-pill-btn.active {
  background: var(--coral-tint);
  border-color: var(--coral);
  color: var(--coral);
}

.tk-box-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

/* Tactile 3D Plush Primary Button */
.tk-plush-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--coral);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 3px 0 var(--coral-deep), 0 8px 18px -4px rgba(31, 157, 85, 0.34);
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s var(--ease-spring), box-shadow 0.16s ease, background 0.16s ease;
}

.tk-plush-btn:hover {
  background: #23ad5f;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--coral-deep), 0 12px 22px -4px rgba(31, 157, 85, 0.4);
}

.tk-plush-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--coral-deep), 0 4px 8px -2px rgba(31, 157, 85, 0.28);
}

/* Subtle periodic sheen across CTA buttons */
@keyframes buttonSheen {
  0%, 75%, 100% { transform: translateX(-140%) skewX(-20deg); }
  88% { transform: translateX(220%) skewX(-20deg); }
}

.tk-plush-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-140%) skewX(-20deg);
  animation: buttonSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

.tk-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(28, 25, 43, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s var(--ease-spring), box-shadow 0.16s ease;
}

.tk-secondary-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(28, 25, 43, 0.08);
}

/* ==========================================================================
   INSTAGRAM-STYLE "KORNER STORIES" HIGHLIGHT REELS BAR
   ========================================================================== */
.tk-stories-section {
  padding: 12px 0 6px;
}

.tk-stories-rail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
}

.tk-stories-rail::-webkit-scrollbar {
  display: none;
}

.tk-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 68px;
  scroll-snap-align: start;
}

.tk-story-ring {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 45deg, #eb3b5a, #f7b731, #ff7a45, #eb3b5a);
  transition: transform 0.24s var(--ease-spring);
}

.tk-story-item.viewed .tk-story-ring {
  background: var(--hairline-strong);
}

.tk-story-item:hover .tk-story-ring,
.tk-story-item:active .tk-story-ring {
  transform: scale(0.93);
}

.tk-story-thumb-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2.5px solid var(--canvas);
  overflow: hidden;
  background: var(--surface);
}

.tk-story-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tk-story-live-tag {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 999px;
  border: 2px solid var(--canvas);
}

.tk-story-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   KINETIC HERO STAGE + TOUCH-SWIPEABLE 3D TOY CARD STACK
   ========================================================================== */
.tk-hero {
  padding: 10px 0 18px;
}

.tk-hero-card {
  position: relative;
  background: linear-gradient(155deg, #ffffff 0%, #fffaf0 60%, #fef1ec 100%);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 20px 16px 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

@media (min-width: 768px) {
  .tk-hero-card {
    padding: 34px 36px;
    border-radius: 32px;
  }
}

/* Floating SVG Paper Plane & Wooden Star Parallax Doodles */
@keyframes floatPlane {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(8px, -9px) rotate(3deg); }
}

.tk-hero-plane {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  opacity: 0.85;
  pointer-events: none;
  animation: floatPlane 5.2s ease-in-out infinite;
}

.tk-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@media (min-width: 820px) {
  .tk-hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 32px;
  }
}

/* Staggered Word Entrance */
@keyframes wordSpringUp {
  0% {
    opacity: 0;
    transform: translateY(18px) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.tk-hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 8px;
}

.tk-hero-title {
  font-size: clamp(26px, 6.8vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tk-word {
  display: inline-block;
  animation: wordSpringUp 0.65s var(--ease-out-expo) both;
}

.tk-squiggle-wrap {
  position: relative;
  display: inline-block;
  color: var(--coral);
}

@keyframes drawSquiggle {
  from { stroke-dashoffset: 180; }
  to { stroke-dashoffset: 0; }
}

.tk-squiggle-svg {
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 12px;
  pointer-events: none;
}

.tk-squiggle-svg path {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawSquiggle 0.9s 0.45s var(--ease-out-expo) forwards;
}

.tk-hero-lead {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 16px;
}

.tk-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tk-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.tk-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Interactive 3D Touch-Swipeable Toy Stack */
.tk-deck-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 8px 10px 6px;
  user-select: none;
}

.tk-deck-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.45;
  touch-action: pan-y;
}

.tk-deck-card {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 22px;
  padding: 9px 9px 12px;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: grab;
  transition: transform 0.45s var(--ease-spring), opacity 0.35s ease;
  will-change: transform;
}

.tk-deck-card:active {
  cursor: grabbing;
}

.tk-deck-card[data-pos="0"] {
  z-index: 4;
  transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
  opacity: 1;
}

.tk-deck-card[data-pos="1"] {
  z-index: 3;
  transform: translate3d(10px, 8px, 0) rotate(3.5deg) scale(0.95);
  opacity: 0.92;
  pointer-events: none;
}

.tk-deck-card[data-pos="2"] {
  z-index: 2;
  transform: translate3d(-10px, 14px, 0) rotate(-4.5deg) scale(0.9);
  opacity: 0.75;
  pointer-events: none;
}

.tk-deck-card[data-pos="hidden"] {
  z-index: 1;
  transform: translate3d(0, 18px, 0) scale(0.85);
  opacity: 0;
  pointer-events: none;
}

.tk-deck-card.swiping-out-left {
  transform: translate3d(-125%, 12px, 0) rotate(-18deg) !important;
  opacity: 0 !important;
}

.tk-deck-card.swiping-out-right {
  transform: translate3d(125%, 12px, 0) rotate(18deg) !important;
  opacity: 0 !important;
}

.tk-deck-img-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  background: var(--canvas-warm);
}

.tk-deck-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.tk-deck-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}

.tk-deck-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
}

.tk-deck-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tk-deck-ask-btn {
  flex-shrink: 0;
  background: var(--coral-tint);
  color: var(--coral);
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tk-deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.tk-deck-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(28, 25, 43, 0.06);
  transition: transform 0.18s var(--ease-spring);
}

.tk-deck-nav-btn:active {
  transform: scale(0.9);
}

.tk-deck-hint {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ==========================================================================
   STICKY MOBILE SEARCH, GLIDING SEGMENTED AGE FILTER & CATEGORY CHIPS
   ========================================================================== */
.tk-search-shell {
  padding: 6px 0 8px;
}

.tk-filter-sticky {
  position: sticky;
  top: 62px;
  z-index: 38;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 0 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.tk-search-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tk-search-input-wrap {
  position: relative;
  flex: 1;
}

.tk-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}

.tk-search-input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 38px;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(28, 25, 43, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tk-search-input::placeholder {
  color: var(--ink-muted);
  font-weight: 500;
}

.tk-search-input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(235, 59, 90, 0.14);
}

.tk-clear-btn {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--canvas-warm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tk-layout-switch-btn {
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .tk-layout-switch-btn {
    display: none;
  }
}

/* Gliding Spring Segmented Age Control */
.tk-age-segmented-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.tk-age-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--canvas-warm);
  padding: 3px;
  border-radius: 13px;
  width: 100%;
  max-width: 440px;
}

.tk-age-glider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 4);
  background: var(--ink);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(28, 25, 43, 0.18);
  transition: transform 0.34s var(--ease-spring);
  pointer-events: none;
}

.tk-age-seg-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 7px 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.tk-age-seg-btn.active {
  color: #ffffff;
}

.tk-count-label {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .tk-count-label {
    display: block;
  }
}

/* Category Scroll Rail */
.tk-cat-rail {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tk-cat-rail::-webkit-scrollbar {
  display: none;
}

.tk-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease-spring), background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tk-cat-chip:active {
  transform: scale(0.95);
}

.tk-cat-chip.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(235, 59, 90, 0.35);
}

/* ==========================================================================
   TOY CATALOG GRID & SCROLL-CHOREOGRAPHED CARDS
   ========================================================================== */
.tk-catalog-grid {
  display: grid;
  gap: 10px;
}

.tk-catalog-grid.mobile-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tk-catalog-grid.mobile-1col {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 768px) {
  .tk-catalog-grid.mobile-2col,
  .tk-catalog-grid.mobile-1col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1040px) {
  .tk-catalog-grid.mobile-2col,
  .tk-catalog-grid.mobile-1col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.tk-toy-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.25s ease;
}

.tk-toy-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (hover: hover) {
  .tk-toy-card.revealed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
  }
}

.tk-card-media {
  position: relative;
  margin: 7px 7px 0;
  border-radius: 16px;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  background: var(--canvas-warm);
  cursor: pointer;
}

.tk-catalog-grid.mobile-1col .tk-card-media {
  aspect-ratio: 16 / 11;
}

@media (min-width: 768px) {
  .tk-catalog-grid.mobile-1col .tk-card-media {
    aspect-ratio: 4 / 3.1;
  }
}

.tk-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out-expo);
}

@media (hover: hover) {
  .tk-toy-card:hover .tk-card-img {
    transform: scale(1.06);
  }
}

.tk-age-chip-overlay {
  position: absolute;
  top: 7px;
  left: 7px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(28, 25, 43, 0.08);
}

.tk-shortlist-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 25, 43, 0.1);
  transition: transform 0.24s var(--ease-spring), background 0.2s ease, color 0.2s ease;
}

.tk-shortlist-btn:active {
  transform: scale(0.85);
}

.tk-shortlist-btn.saved {
  background: var(--coral);
  color: #ffffff;
}

.tk-card-body {
  padding: 10px 10px 8px;
}

@media (min-width: 640px) {
  .tk-card-body {
    padding: 12px 13px 9px;
  }
}

.tk-card-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 4px;
}

.tk-skill-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tk-stock-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-tint);
}

.tk-card-title {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
}

@media (min-width: 640px) {
  .tk-card-title {
    font-size: 14.5px;
  }
}

.tk-card-desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.42;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dedicated "Send Us a Message" Button Below Every Toy */
.tk-card-cta-wrap {
  padding: 4px 8px 9px;
}

@media (min-width: 640px) {
  .tk-card-cta-wrap {
    padding: 4px 12px 12px;
  }
}

.send-message-btn {
  width: 100%;
  padding: 9.5px 8px;
  font-size: 12px;
  border-radius: 13px;
  white-space: nowrap;
}

@media (min-width: 400px) {
  .send-message-btn {
    font-size: 12.5px;
    padding: 10px 10px;
  }
}

/* ==========================================================================
   INTERACTIVE 10-SECOND GIFT MATCHER CONCIERGE
   ========================================================================== */
.tk-matcher-section {
  margin-top: 28px;
}

.tk-matcher-card {
  background: linear-gradient(145deg, #1c192b 0%, #2a2442 100%);
  color: #faf5ec;
  border-radius: 28px;
  padding: 22px 16px;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 768px) {
  .tk-matcher-card {
    padding: 30px 32px;
  }
}

.tk-matcher-header {
  max-width: 560px;
  margin-bottom: 16px;
}

.tk-matcher-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marigold);
}

.tk-matcher-title {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 6px;
}

.tk-matcher-sub {
  font-size: 13px;
  color: rgba(250, 245, 236, 0.78);
}

.tk-matcher-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .tk-matcher-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.tk-step-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px;
}

.tk-step-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--marigold);
  margin-bottom: 8px;
  display: block;
}

.tk-step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tk-quiz-pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #faf5ec;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s var(--ease-spring), background 0.18s ease, color 0.18s ease;
}

.tk-quiz-pill.active {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--ink);
}

.tk-matcher-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .tk-matcher-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tk-match-mini-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.tk-match-mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tk-match-mini-img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.tk-match-mini-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.tk-match-mini-age {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ==========================================================================
   STORE VISIT & LOCATION FOOTER CARD
   ========================================================================== */
.tk-store-footer {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .tk-store-footer {
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 26px 28px;
  }
}

.tk-footer-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}

.tk-footer-heading {
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 6px;
}

.tk-footer-copy {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tk-contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tk-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 10px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.16s var(--ease-spring);
}

.tk-contact-chip:active {
  transform: scale(0.96);
}

/* ==========================================================================
   FLOATING MOBILE THUMB-ZONE DOCK / TOY BOX TRAY
   ========================================================================== */
.tk-mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 46;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(28, 25, 43, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-radius: 20px;
  padding: 9px 10px 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(28, 25, 43, 0.32);
  transition: transform 0.3s var(--ease-spring);
}

@media (min-width: 768px) {
  .tk-mobile-dock {
    display: none;
  }
  .tk-app {
    padding-bottom: 48px;
  }
}

.tk-dock-info {
  min-width: 0;
}

.tk-dock-title {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tk-dock-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   FULL-SCREEN INSTAGRAM STORY VIEWER MODAL
   ========================================================================== */
.tk-story-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 13, 24, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.tk-story-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.tk-story-stage {
  position: relative;
  width: 100%;
  max-width: 410px;
  height: 100%;
  max-height: 740px;
  background: #141220;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.94);
  transition: transform 0.28s var(--ease-spring);
}

@media (min-width: 500px) {
  .tk-story-stage {
    height: 88vh;
    border-radius: 28px;
  }
}

.tk-story-modal.open .tk-story-stage {
  transform: scale(1);
}

@keyframes storyKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}

.tk-story-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: storyKenBurns 5.5s linear infinite alternate;
}

.tk-story-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 13, 24, 0.68) 0%,
    rgba(15, 13, 24, 0.06) 32%,
    rgba(15, 13, 24, 0.15) 60%,
    rgba(15, 13, 24, 0.88) 100%
  );
  pointer-events: none;
}

.tk-story-top {
  position: relative;
  z-index: 4;
  padding: 14px 14px 0;
}

.tk-story-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.tk-story-bar-bg {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.tk-story-bar-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 999px;
}

.tk-story-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.tk-story-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tk-story-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tk-story-tap-zones {
  position: absolute;
  inset: 70px 0 120px;
  z-index: 3;
  display: grid;
  grid-template-columns: 35% 65%;
}

.tk-story-bottom {
  position: relative;
  z-index: 4;
  padding: 16px;
  color: #ffffff;
}

.tk-story-tag {
  display: inline-block;
  background: var(--marigold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tk-story-caption-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.tk-story-caption-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

/* ==========================================================================
   QUICK-PEEK PHOTO SHEET & "SEND US A MESSAGE" SPRING BOTTOM SHEET
   ========================================================================== */
.tk-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(20, 18, 32, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tk-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.tk-sheet-panel {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  padding: 12px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(104%);
  transition: transform 0.36s var(--ease-out-expo);
  box-shadow: 0 -10px 40px rgba(20, 18, 32, 0.24);
}

.tk-sheet-backdrop.open .tk-sheet-panel {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .tk-sheet-backdrop {
    align-items: center;
    padding: 16px;
  }
  .tk-sheet-panel {
    border-radius: 26px;
    padding: 22px 24px;
  }
}

.tk-sheet-grabber {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: var(--hairline-strong);
  margin: 0 auto 12px;
}

@media (min-width: 640px) {
  .tk-sheet-grabber {
    display: none;
  }
}

.tk-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tk-close-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--canvas);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

/* Toy Preview Card inside Message Sheet */
.tk-inquiry-toy-preview {
  margin: 12px 0;
  padding: 10px;
  border-radius: 16px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tk-inquiry-toy-img {
  width: 62px;
  height: 52px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 1-Tap Quick Question Chips for Mobile Speed */
.tk-quick-prompts-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.tk-quick-prompts-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.tk-quick-prompts-rail::-webkit-scrollbar {
  display: none;
}

.tk-prompt-chip {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface-subtle);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tk-prompt-chip:active {
  transform: scale(0.95);
}

.tk-prompt-chip.selected {
  background: var(--coral-tint);
  border-color: var(--coral);
  color: var(--coral);
}

.tk-field-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 5px;
}

.tk-input,
.tk-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface-subtle);
  padding: 10px 13px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tk-input:focus,
.tk-textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(235, 59, 90, 0.14);
}

/* Paper-Plane Launch Animation on Submit */
@keyframes planeTakeoff {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  45% { transform: translate(18px, -16px) scale(1.2); opacity: 0; }
  46% { transform: translate(-16px, 14px) scale(0.8); opacity: 0; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

.launching .plane-svg {
  animation: planeTakeoff 0.65s var(--ease-out-expo);
}

.tk-feedback-banner {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  background: var(--sage-tint);
  border: 1px solid rgba(20, 122, 82, 0.25);
  color: var(--sage);
  font-size: 12.5px;
  font-weight: 600;
}

/* Quick-Peek Photo Inspector */
.tk-peek-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--canvas-warm);
  margin: 10px 0 14px;
}

.tk-peek-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tk-peek-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.tk-peek-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink);
}

/* Empty Filter State */
.tk-empty-box {
  text-align: center;
  padding: 40px 18px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px dashed var(--hairline-strong);
  margin: 12px 0;
}

/* ==========================================================================
   SEO / AI SEARCH: BRANDS DIRECTORY & LAGOS FAQ ACCORDION
   ========================================================================== */
.tk-brands-section {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .tk-brands-section {
    padding: 24px 28px;
  }
}

.tk-brands-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tk-brand-pill {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s var(--ease-spring), background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tk-brand-pill:hover,
.tk-brand-pill:active {
  background: var(--coral-tint);
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-1px);
}

.tk-faq-section {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .tk-faq-section {
    padding: 26px 28px;
  }
}

.tk-faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.tk-faq-item {
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: var(--surface-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tk-faq-item[open] {
  background: var(--surface);
  border-color: var(--coral);
}

.tk-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.tk-faq-q::-webkit-details-marker {
  display: none;
}

.tk-faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  transition: transform 0.24s var(--ease-spring), background 0.2s ease, color 0.2s ease;
}

.tk-faq-item[open] .tk-faq-chevron {
  transform: rotate(180deg);
  background: var(--coral-tint);
  color: var(--coral);
}

.tk-faq-a {
  padding: 0 16px 15px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
