/**
 * Electromania - ToyZone Inspired Modern Theme Styles
 * Exact match styling for Shop by Budget, Shop by Little One, AI Toy Finder, Category Sliders
 * Pixel-perfect responsive styling & ToyZone sliding mobile drawer
 */

:root {
  /* Brand palette sampled from assets/images/logo.jpeg */
  --tz-primary: #e02d2d;        /* logo red */
  --tz-primary-dark: #c92121;
  --tz-blue: #1f4fa2;           /* logo blue */
  --tz-blue-dark: #0b1f40;
  --tz-blue-bright: #1260ae;
  --tz-accent: #fbdb2e;         /* logo yellow accent */
  --tz-dark: #0b1f40;
  --tz-heading: #0b1f40;
  --tz-text: #24324d;
  --tz-muted: #5b6472;
  --tz-bg-grey: #f4f5f7;        /* light grey */
  --tz-bg-grey-2: #eef0f4;
  --tz-bg-red: #fdeeee;
  --tz-bg-blue: #eef2fb;
  --tz-bg-mint: #eef2fb;
  --tz-bg-ice: #f4f5f7;
  --tz-bg-soft: #eef0f4;
}

/* Float animations */
@keyframes tzFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Global mobile guards & scrollbar utility */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.tz-floating {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: tzFloat 5s ease-in-out infinite;
  user-select: none;
}
.tz-floating.tz-delay-1 { animation-delay: 1.2s; }
.tz-floating.tz-delay-2 { animation-delay: 2.5s; }

/* ==========================================================
   1. SHOP BY GENDER / LITTLE ONE SECTION
   ========================================================== */
.tz-gender-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 55px 20px;
  margin: 15px 0;
  border-radius: 48px;
  background:
    radial-gradient(circle at top, #fdeeee 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.35) 100%),
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 45%),
    var(--tz-bg-grey);
  box-shadow: 0 18px 40px rgba(31, 79, 162, 0.10);
}
.tz-gender-section::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 40%;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}
.tz-gender-section .tz-container {
  max-width: 1400px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.tz-gender-eyebrow {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: var(--tz-blue);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.tz-gender-heading {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: #081850;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.tz-gender-subheading {
  margin: 12px auto 35px;
  font-size: clamp(15px, 1.8vw, 20px);
  color: #20325f;
  font-weight: 600;
}
.tz-gender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tz-gender-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  text-decoration: none;
  min-height: 480px;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  display: block;
}
.littleSwiper {
  width: 100%;
  overflow: hidden;
  padding: 8px 2px 16px;
}
.littleSwiper .swiper-slide {
  height: auto;
  display: flex;
}
.littleSwiper .tz-gender-card {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 440px;
}
@media (max-width: 768px) {
  .littleSwiper .tz-gender-card {
    min-height: 370px;
    height: 370px;
  }
  .littleSwiper .tz-gender-card .tz-image-wrap {
    height: 270px;
  }
}
.tz-gender-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}
.tz-gender-card.card-green {
  background: linear-gradient(180deg, #eef2fb 0%, #f7f9fd 100%);
}
.tz-gender-card.card-blue {
  background: linear-gradient(180deg, #dce7fa 0%, #eef2fb 100%);
}
.tz-gender-card.card-pink {
  background: linear-gradient(180deg, #fdeeee 0%, #fef7f7 100%);
}
.tz-gender-card .tz-image-wrap {
  height: 360px;
  position: relative;
  overflow: hidden;
}
.tz-gender-card .tz-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.tz-gender-card:hover .tz-image-wrap img {
  transform: scale(1.06);
}
.tz-gender-card .tz-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 26px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.tz-gender-card .tz-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.tz-gender-card .tz-icon {
  font-size: 32px;
  line-height: 1;
}
.tz-gender-card .tz-title {
  margin: 0;
  line-height: 1.1;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.tz-gender-card.card-green .tz-title { color: var(--tz-blue); }
.tz-gender-card.card-blue .tz-title { color: var(--tz-blue); }
.tz-gender-card.card-pink .tz-title { color: var(--tz-primary); }
.tz-gender-card .tz-desc {
  margin: 4px 0 0;
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}
.tz-gender-card .tz-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #111827;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.tz-gender-card:hover .tz-arrow {
  transform: translateX(4px);
  background: #081850;
  color: #ffffff;
}

/* ==========================================================
   2. SHOP BY BUDGET SECTION (EXACT MATCH TO USER'S IMAGE)
   ========================================================== */
.tz-budget-section {
  background: transparent;
  padding: 25px 0 35px;
  overflow: hidden;
}
.tz-budget-wrap {
  position: relative;
  max-width: 1460px;
  margin: 0 auto;
  padding: 36px 32px 28px;
  background: var(--tz-bg-grey);
  border-radius: 72px;
  text-align: center;
  overflow: hidden;
}
.tz-budget-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.tz-budget-decor svg {
  display: block;
  fill: none;
  stroke: #cbd0d8;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 3 6;
}
.tz-budget-decor--left {
  top: 45px;
  left: 6%;
  color: var(--tz-primary);
}
.tz-budget-decor--left span {
  position: absolute;
  top: -10px;
  left: 4px;
  font-size: 32px;
}
.tz-budget-decor--left svg {
  width: 170px;
}
.tz-budget-decor--right {
  top: 55px;
  right: 6%;
  color: var(--tz-blue);
}
.tz-budget-decor--right span {
  position: absolute;
  top: -16px;
  right: -5px;
  font-size: 32px;
}
.tz-budget-decor--right svg {
  width: 120px;
  stroke: #b9cdf0;
  stroke-dasharray: none;
}
.tz-budget-eyebrow {
  display: inline-flex;
  position: relative;
  z-index: 3;
  background: #ffffff;
  color: var(--tz-blue);
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.tz-budget-heading {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.tz-budget-heading span,
.tz-budget-heading strong {
  display: block;
  font: inherit;
}
.tz-budget-heading span {
  color: var(--tz-blue-dark);
}
.tz-budget-heading strong {
  color: var(--tz-primary);
}
.tz-budget-subheading {
  position: relative;
  z-index: 2;
  margin: 14px auto 30px;
  max-width: 760px;
  color: #24345f;
  font-size: clamp(15px, 1.8vw, 21px);
  line-height: 1.35;
  font-weight: 500;
}
.tz-budget-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tz-budget-card {
  display: block;
  min-height: 520px;
  background: var(--card-bg);
  border-radius: 30px;
  padding: 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #071231;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tz-budget-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 42% 0 0;
  background:
    radial-gradient(circle at 12% 35%, rgba(255,255,255,.55) 0 15%, transparent 16%),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.45) 0 18%, transparent 19%),
    linear-gradient(to bottom, transparent, rgba(255,255,255,.2));
  pointer-events: none;
}
.tz-budget-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(24, 42, 80, 0.16);
}
.tz-budget-pill {
  display: inline-flex;
  flex-direction: column;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 17px 17px 17px 8px;
  padding: 9px 17px 10px;
  position: relative;
  z-index: 4;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.tz-budget-pill::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--pill-bg);
  transform: skewX(38deg);
  border-radius: 0 8px 0 0;
}
.tz-budget-pill span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.tz-budget-pill strong {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 900;
  margin-top: 5px;
}
.tz-budget-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 44px;
  z-index: 4;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.1));
}
.tz-budget-content {
  position: relative;
  z-index: 4;
  margin-top: 24px;
  max-width: 90%;
}
.tz-budget-content h3 {
  margin: 0;
  color: #071231;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.tz-budget-content p {
  margin: 10px 0 0;
  color: #26324f;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}
.tz-budget-image {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 78px;
  width: 100%;
  height: 272px;
  z-index: 2;
  pointer-events: none;
}
.tz-budget-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.4s ease;
}
.tz-budget-card:hover .tz-budget-image img {
  transform: scale(1.04);
}
.tz-budget-btn {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 48px;
  background: #ffffff;
  border-radius: 999px;
  color: var(--button-color);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(24, 42, 80, 0.14);
  transition: background 0.2s, transform 0.2s;
}
.tz-budget-card:hover .tz-budget-btn {
  background: #ffffff;
  transform: scale(1.02);
}
.tz-budget-btn span {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
.tz-budget-card:hover .tz-budget-btn span {
  transform: translateX(4px);
}

/* Desktop: flow layout so the artwork can never sit behind the card text */
@media screen and (min-width: 769px) {
  .tz-budget-card {
    display: flex;
    flex-direction: column;
  }
  .tz-budget-pill {
    align-self: flex-start;
  }
  .tz-budget-content {
    flex: 0 0 auto;
  }
  .tz-budget-image {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: calc(100% + 52px);
    height: auto;
    margin: 10px 0 0 -26px;
    flex: 1 1 0;
    min-height: 170px;
  }
  .tz-budget-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .tz-budget-btn {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    flex: 0 0 auto;
    margin-top: 8px;
  }
}

/* Trust Bar under Budget cards */
.tz-budget-trust {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1260px;
  margin: 30px auto 0;
  padding: 18px 26px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(7, 25, 92, 0.06);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(24, 42, 80, 0.08);
}
.tz-budget-trust__item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  text-align: left;
}
.tz-budget-trust__item + .tz-budget-trust__item {
  border-left: 1px solid #e5e7eb;
}
.tz-budget-trust__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
.tz-budget-trust__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tz-budget-trust__icon--teal { color: var(--tz-blue); }
.tz-budget-trust__icon--pink { color: var(--tz-primary); }
.tz-budget-trust__icon--green { color: var(--tz-blue-bright); }
.tz-budget-trust__icon--orange { color: #c92121; }
.tz-budget-trust p {
  margin: 0;
  color: #20242f;
  font-size: 14px;
  line-height: 1.3;
}
.tz-budget-trust strong {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: #111827;
}
.tz-budget-trust small {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
}

/* ==========================================================
   3. OUR POPULAR CATEGORIES SECTION (EXACT TOYZONE RECTANGULAR CARDS)
   ========================================================== */
.tz-popular-cats-section {
  position: relative;
  padding: 55px 24px 45px;
  margin: 25px 0;
  border-radius: 48px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, .95), transparent 28%),
    radial-gradient(circle at 85% 100%, rgba(253, 238, 238, .9), transparent 30%),
    var(--tz-bg-grey);
  box-shadow: 0 18px 45px rgba(31, 79, 162, 0.10);
  overflow: hidden;
}
.tz-category-card {
  position: relative;
  display: block;
  width: 100%;
  height: 270px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  background: var(--tz-card-bg, #ffffff);
  box-shadow: 0 12px 30px rgba(28, 42, 82, .08);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tz-category-card:hover {
  z-index: 2;
  border-color: var(--tz-accent, var(--tz-blue));
  box-shadow: 0 20px 42px rgba(28, 42, 82, .16);
  transform: translateY(-7px);
}
.tz-category-card__text {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  width: 55%;
  text-align: left;
  pointer-events: none;
}
.tz-category-card__text h3 {
  margin: 0;
  color: #081850;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.tz-category-card__text span {
  display: block;
  margin-top: 8px;
  color: #34436b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.tz-category-card__visual {
  position: absolute;
  inset: 10% 2% 2% 28%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
}
.tz-category-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 10px 14px rgba(37, 41, 67, .15));
  transition: transform .5s cubic-bezier(.2, .75, .25, 1);
  pointer-events: none;
}
.tz-category-card:hover .tz-category-card__image {
  transform: scale(1.08) translateY(-3px);
}
.tz-category-card__arrow {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tz-accent, #081850);
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: .75;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.tz-category-card:hover .tz-category-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .tz-popular-cats-section {
    padding: 28px 14px 22px;
    border-radius: 28px;
    margin: 14px 0;
  }
  .tz-category-card {
    height: 172px;
    border-radius: 20px;
    border-width: 1.5px;
  }
  .tz-category-card:hover {
    transform: translateY(-3px);
  }
  .tz-category-card__text {
    top: 14px;
    left: 14px;
    width: 60%;
  }
  .tz-category-card__text h3 {
    font-size: clamp(16px, 4.2vw, 19px);
    line-height: 1.1;
  }
  .tz-category-card__text span {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.2;
  }
  .tz-category-card__visual {
    inset: 12% 0% 0% 28%;
  }
  .tz-category-card__image {
    max-height: 148px;
    filter: drop-shadow(0 6px 10px rgba(37, 41, 67, .12));
  }
  .tz-category-card__arrow {
    display: none;
  }
}

/* ==========================================================
   4. BIRTHDAY CLUB BANNER
   ========================================================== */
.tz-birthday-banner {
  background: linear-gradient(135deg, #e02d2d 0%, #b3244f 38%, #1f4fa2 100%);
  border-radius: 40px;
  padding: 38px 48px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(31, 79, 162, 0.25);
}
.tz-birthday-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* ==========================================================
   5. AI TOY FINDER BANNER
   ========================================================== */
.tz-tfb-wrap {
  max-width: 1400px;
  margin: 25px auto;
  padding: 36px 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
  border-radius: 48px;
  background: #ffffff;
  border: 1px solid rgba(31, 79, 162, 0.14);
  box-shadow: 0 20px 50px rgba(11, 31, 64, 0.08);
  overflow: hidden;
}
.tz-tfb-wrap::before {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--tz-bg-blue);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}
.tz-tfb-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(31, 79, 162, 0.10);
  color: var(--tz-blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.tz-tfb-heading {
  margin: 0;
  color: #07195c;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.tz-tfb-heading strong {
  color: var(--tz-primary);
}
.tz-tfb-desc {
  margin: 14px 0 24px;
  color: #52545c;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.tz-tfb-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  border-radius: 20px;
  background: linear-gradient(180deg, #e02d2d, #c92121);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(224, 45, 45, 0.30);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 10;
}
.tz-tfb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(224, 45, 45, 0.40);
}
.tz-tfb-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tz-tfb-feature {
  text-align: center;
}
.tz-tfb-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(31, 79, 162, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 20px;
  color: var(--tz-blue);
}
.tz-tfb-feature-text {
  font-size: 11px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}
.tz-tfb-phone {
  width: 320px;
  margin: 0 auto;
  background: #ffffff;
  border: 10px solid #0f172a;
  border-radius: 40px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  position: relative;
  z-index: 2;
}

/* ==========================================================
   6. TOYZONE SLIDING MOBILE DRAWER NAVIGATION
   ========================================================== */
#mobileDrawerOverlay,
#tzDrawerOverlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
#mobileDrawerOverlay.is-open,
#tzDrawerOverlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#mobileDrawer,
#tzMobileDrawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 86vw !important;
  max-width: 350px !important;
  height: 100% !important;
  height: 100dvh !important;
  background: #ffffff !important;
  z-index: 999999 !important;
  transform: translateX(-100%) !important;
  -webkit-transform: translateX(-100%) !important;
  transition: transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden !important;
  will-change: transform !important;
}
#mobileDrawer.is-open,
#tzMobileDrawer.is-open {
  transform: translateX(0) !important;
  -webkit-transform: translateX(0) !important;
}

.tz-drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfc;
}
.tz-drawer-tabs {
  display: flex;
  border-bottom: 1px solid #f1f3f5;
  background: #f8fafc;
}
.tz-drawer-tab {
  flex: 1;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tz-drawer-tab.is-active {
  color: var(--tz-blue);
  border-bottom-color: #008c8c;
  background: #ffffff;
}

.tz-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px;
}
.tz-drawer-tab-pane {
  display: none;
}
.tz-drawer-tab-pane.is-active {
  display: block;
}

.tz-drawer-footer {
  padding: 14px 16px;
  border-top: 1px solid #f1f3f5;
  background: #fafbfc;
}

/* ==========================================================
   7. MOBILE HORIZONTAL FILTER BAR FOR SHOP.PHP
   ========================================================== */
.shop-mobile-cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shop-mobile-cat-scroll::-webkit-scrollbar {
  display: none;
}
.shop-cat-chip {
  flex: 0 0 auto;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.shop-cat-chip.active {
  background: #00a6a4;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 166, 164, 0.3);
}
.shop-cat-chip:not(.active) {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.shop-cat-chip:not(.active):hover {
  background: #e6fffa;
  border-color: #00a6a4;
  color: var(--tz-blue);
}

/* Mobile filter bottom sheet */
#mobileFilterSheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9990;
  display: none;
  align-items: flex-end;
}
#mobileFilterSheet.is-open {
  display: flex;
}
.mobile-filter-panel {
  background: #ffffff;
  width: 100%;
  max-height: 85vh;
  border-radius: 28px 28px 0 0;
  padding: 20px 20px 30px;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================
   8. PIXEL-PERFECT MOBILE MEDIA QUERIES (NO OVERLAPS)
   ========================================================== */
@media screen and (max-width: 1024px) {
  .tz-budget-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tz-gender-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tz-budget-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tz-budget-trust__item + .tz-budget-trust__item {
    border-left: none;
  }
  .tz-tfb-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }
  .tz-tfb-features {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  /* Wrap container */
  .tz-budget-wrap {
    padding: 20px 14px 16px;
    border-radius: 32px;
  }
  .tz-budget-decor {
    display: none;
  }
  .tz-budget-heading {
    font-size: 34px;
    line-height: 0.95;
  }
  .tz-budget-subheading {
    font-size: 14px;
    margin: 8px auto 16px;
  }

  /* Budget cards horizontal swipe with PERFECT ZERO-OVERLAP pixel layout */
  .tz-budget-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 10px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tz-budget-grid::-webkit-scrollbar {
    display: none;
  }
  .tz-budget-card {
    flex: 0 0 84vw;
    max-width: 330px;
    height: auto;
    min-height: 470px;
    max-height: none;
    scroll-snap-align: center;
    padding: 20px;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .tz-budget-pill {
    padding: 7px 14px 8px;
    border-radius: 14px 14px 14px 6px;
    z-index: 6;
    align-self: flex-start;
    max-width: calc(100% - 52px);
  }
  .tz-budget-pill span {
    font-size: 11px;
  }
  .tz-budget-pill strong {
    font-size: 22px;
    margin-top: 3px;
  }
  .tz-budget-icon {
    top: 20px;
    right: 20px;
    font-size: 34px;
    z-index: 6;
  }
  .tz-budget-content {
    margin-top: 12px;
    max-width: 85%;
    position: relative;
    z-index: 5;
  }
  .tz-budget-content h3 {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
  }
  .tz-budget-content p {
    font-size: 12.5px;
    line-height: 1.35;
    margin-top: 5px;
  }
  /* Kid toy visual positioned with safe buffer so it NEVER touches the text */
  .tz-budget-image {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 66px;
    height: 208px;
    width: 100%;
    z-index: 2;
    pointer-events: none;
  }
  .tz-budget-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
  /* Explore button pinned safely at bottom without overlapping anything */
  .tz-budget-btn {
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 900;
    border-radius: 999px;
    z-index: 10;
  }

  /* Trust badges 2x2 grid on mobile */
  .tz-budget-trust {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
    gap: 12px;
    border-radius: 20px;
    margin-top: 18px;
  }
  .tz-budget-trust__item {
    padding: 0 4px;
    gap: 10px;
    justify-content: flex-start;
  }
  .tz-budget-trust__item + .tz-budget-trust__item {
    border-left: none;
  }
  .tz-budget-trust__icon {
    width: 32px;
    height: 32px;
  }
  .tz-budget-trust strong {
    font-size: 13px;
  }
  .tz-budget-trust small {
    font-size: 11px;
  }

  /* Little One section horizontal scroll */
  .tz-gender-section {
    padding: 30px 12px;
    border-radius: 30px;
    margin: 12px 0;
  }
  .tz-gender-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 6px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tz-gender-grid::-webkit-scrollbar {
    display: none;
  }
  .tz-gender-card {
    flex: 0 0 80vw;
    max-width: 310px;
    min-height: 420px;
    height: 420px;
    scroll-snap-align: center;
    border-radius: 26px;
  }
  .tz-gender-card .tz-image-wrap {
    height: 320px;
  }
  .tz-gender-card .tz-content {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    border-radius: 20px;
  }
  .tz-gender-card .tz-title {
    font-size: 22px;
  }
  .tz-gender-card .tz-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* AI Toy Finder - Full mobile fix */
  .tz-tfb-wrap {
    padding: 24px 18px;
    border-radius: 28px;
    margin: 12px auto;
    gap: 20px;
    text-align: center;
  }
  .tz-tfb-wrap > div:first-child {
    position: relative;
    z-index: 5;
  }
  .tz-tfb-badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }
  .tz-tfb-heading {
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
  .tz-tfb-desc {
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 16px;
  }
  .tz-tfb-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 16px;
    position: relative;
    z-index: 20 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(0, 166, 164, 0.2);
  }
  .tz-tfb-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
  }
  .tz-tfb-feature {
    background: var(--tz-bg-grey);
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    padding: 10px 8px;
  }
  .tz-tfb-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }
  .tz-tfb-feature-text {
    font-size: 10px;
  }

  /* Categories slider */
  .tz-popular-cats-section {
    padding: 24px 14px 20px;
    border-radius: 26px;
    margin: 12px 0;
  }
  .tz-category-card {
    height: 230px;
    border-radius: 20px;
  }
  .tz-category-card__text {
    top: 14px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  .tz-category-card__text h3 {
    font-size: 19px;
    line-height: 1.1;
  }
  .tz-category-card__text span {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tz-category-card__visual {
    inset: 24% 2% 4% 2%;
    align-items: flex-end;
    justify-content: center;
  }
  .tz-category-card__image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 6px 10px rgba(37, 41, 67, .12));
  }

  /* Birthday banner mobile */
  .tz-birthday-banner {
    border-radius: 24px;
    padding: 24px 18px;
  }
}

/* ==========================================================
   EXTRA SMALL MOBILE (≤480px) — TIGHT PHONE SCREENS
   ========================================================== */
@media screen and (max-width: 480px) {
  .tz-gender-section .flex.items-center.justify-between,
  .tz-popular-cats-section .flex.items-center.justify-between {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Gender section tighter */
  .tz-gender-section {
    padding: 22px 10px;
    border-radius: 24px;
    margin: 8px 0;
  }
  .tz-gender-eyebrow {
    font-size: 11px;
    padding: 5px 14px;
    margin-bottom: 8px;
  }
  .tz-gender-card {
    flex: 0 0 78vw;
    max-width: 300px;
    min-height: 360px;
    height: 360px;
    border-radius: 22px;
  }
  .tz-gender-card .tz-image-wrap {
    height: 260px;
  }
  .tz-gender-card .tz-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
    border-radius: 18px;
    gap: 8px;
  }
  .tz-gender-card .tz-icon {
    font-size: 24px;
  }
  .tz-gender-card .tz-title {
    font-size: 18px;
  }
  .tz-gender-card .tz-desc {
    font-size: 11px;
    margin-top: 2px;
  }
  .tz-gender-card .tz-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Budget section tighter */
  .tz-budget-wrap {
    padding: 16px 10px 14px;
    border-radius: 26px;
  }
  .tz-budget-heading {
    font-size: 28px;
  }
  .tz-budget-subheading {
    font-size: 13px;
    margin: 6px auto 12px;
  }
  .tz-budget-card {
    flex: 0 0 80vw;
    max-width: 300px;
    min-height: 420px;
    padding: 16px;
    border-radius: 22px;
  }
  .tz-budget-pill strong {
    font-size: 20px;
  }
  .tz-budget-pill span {
    font-size: 10px;
  }
  .tz-budget-icon {
    font-size: 28px;
    top: 16px;
    right: 16px;
  }
  .tz-budget-content h3 {
    font-size: 19px;
  }
  .tz-budget-content p {
    font-size: 11.5px;
  }
  .tz-budget-image {
    height: 188px;
    bottom: 58px;
  }
  .tz-budget-btn {
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 40px;
    font-size: 13px;
    padding: 0 14px;
  }

  /* Trust badges stacked on tiny screens */
  .tz-budget-trust {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 8px;
    border-radius: 16px;
    margin-top: 14px;
  }
  .tz-budget-trust__icon {
    width: 28px;
    height: 28px;
  }
  .tz-budget-trust strong {
    font-size: 11px;
  }
  .tz-budget-trust small {
    font-size: 10px;
  }

  /* Popular categories tighter */
  .tz-popular-cats-section {
    padding: 20px 10px 16px;
    border-radius: 22px;
  }
  .tz-category-card {
    height: 222px;
    border-radius: 18px;
  }
  .tz-category-card__text {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .tz-category-card__text h3 {
    font-size: 17px;
  }
  .tz-category-card__text span {
    font-size: 10px;
    margin-top: 2px;
  }
  .tz-category-card__visual {
    inset: 23% 2% 3% 2%;
  }

  /* AI Toy Finder tighter */
  .tz-tfb-wrap {
    padding: 20px 14px;
    border-radius: 24px;
    gap: 16px;
  }
  .tz-tfb-heading {
    font-size: 22px;
    line-height: 1.15;
  }
  .tz-tfb-desc {
    font-size: 12px;
    margin: 6px 0 14px;
  }
  .tz-tfb-btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 14px;
    gap: 8px;
  }
  .tz-tfb-features {
    gap: 8px;
    margin-top: 14px;
  }
  .tz-tfb-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 4px;
  }
  .tz-tfb-feature-text {
    font-size: 9px;
  }

  /* Birthday banner tighter */
  .tz-birthday-banner {
    border-radius: 20px;
    padding: 20px 14px;
  }
}

/* ==========================================================
   GLOBAL MOBILE ALIGNMENT HELPERS
   ========================================================== */
@media screen and (max-width: 768px) {
  /* Prevent any horizontal scroll caused by oversized elements */
  .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Toy Finder modal always on top */
  #toyFinderModal {
    z-index: 999990 !important;
  }
  
  /* Deal Spotlight section mobile fixes */
  .hero-slider .swiper-slide img {
    min-height: 220px;
    height: 240px;
  }
  
  /* Product cards in Action Collection / grid sections */
  .splashSwiper .swiper-slide .bg-white,
  .exclSwiper .swiper-slide a {
    border-radius: 20px;
  }
}

/* ==========================================================
   FANCY TOY PARADISE SPLASH SCREEN LOADER
   ========================================================== */
#pageLoader.tz-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 35%, rgba(255, 238, 245, 0.95) 0%, rgba(230, 255, 250, 0.92) 50%, #ffffff 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s ease,
              visibility 0.5s ease;
  will-change: opacity, transform, filter;
}

#pageLoader.tz-splash-screen.hide {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(8px);
  visibility: hidden;
  pointer-events: none;
}

/* Floating background doodles */
.tz-splash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tz-splash-doodle {
  position: absolute;
  display: inline-block;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  animation: tzFloatDoodle 6s ease-in-out infinite alternate;
}

.tz-splash-doodle.d1 { top: 12%; left: 10%; font-size: 38px; animation-duration: 5s; animation-delay: 0s; }
.tz-splash-doodle.d2 { top: 18%; right: 12%; font-size: 42px; animation-duration: 6.5s; animation-delay: 0.5s; }
.tz-splash-doodle.d3 { top: 48%; left: 6%; font-size: 30px; animation-duration: 4.8s; animation-delay: 1s; }
.tz-splash-doodle.d4 { top: 45%; right: 8%; font-size: 36px; animation-duration: 5.8s; animation-delay: 1.5s; }
.tz-splash-doodle.d5 { bottom: 15%; left: 14%; font-size: 36px; animation-duration: 6.2s; animation-delay: 0.8s; }
.tz-splash-doodle.d6 { bottom: 12%; right: 15%; font-size: 40px; animation-duration: 5.2s; animation-delay: 1.2s; }
.tz-splash-doodle.d7 { top: 8%; left: 45%; font-size: 26px; animation-duration: 4.5s; animation-delay: 2s; }
.tz-splash-doodle.d8 { bottom: 8%; left: 48%; font-size: 32px; animation-duration: 5.5s; animation-delay: 0.3s; }

@keyframes tzFloatDoodle {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-16px) rotate(8deg) scale(1.08); }
  100% { transform: translateY(12px) rotate(-8deg) scale(0.96); }
}

/* Splash Central Card */
.tz-splash-card {
  position: relative;
  z-index: 2;
  width: min(90vw, 420px);
  padding: 36px 28px 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  box-shadow: 
    0 24px 60px -12px rgba(220, 38, 38, 0.18),
    0 8px 24px -4px rgba(0, 169, 206, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: tzCardPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes tzCardPop {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Rainbow Spinning Halo */
.tz-splash-halo {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ff4c8b,
    #f2a900,
    #0ab85f,
    #00a9ce,
    #7f4eff,
    #ff4c8b
  );
  filter: blur(20px);
  opacity: 0.6;
  animation: tzHaloSpin 5s linear infinite;
  pointer-events: none;
}

@keyframes tzHaloSpin {
  100% { transform: translateX(-50%) rotate(360deg); }
}

/* Logo Box */
.tz-splash-logo-box {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
  box-shadow: 
    0 12px 28px rgba(220, 38, 38, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.95);
  animation: tzLogoBounce 2.4s ease-in-out infinite;
}

@keyframes tzLogoBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

.tz-splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

/* Title */
.tz-splash-title {
  margin: 0 0 16px;
}
.tz-splash-title__brand {
  display: block;
  font-family: 'Fredoka', 'Work Sans', sans-serif;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #dc2626 0%, #db2777 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.tz-splash-title__sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
}

/* Bouncing toy emojis wave */
.tz-splash-toys {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 20px;
}
.tz-toy-bounce {
  display: inline-block;
  font-size: 24px;
  animation: tzWaveJump 1.4s ease-in-out infinite;
}
.tz-toy-bounce.b1 { animation-delay: 0s; }
.tz-toy-bounce.b2 { animation-delay: 0.15s; }
.tz-toy-bounce.b3 { animation-delay: 0.3s; }
.tz-toy-bounce.b4 { animation-delay: 0.45s; }
.tz-toy-bounce.b5 { animation-delay: 0.6s; }

@keyframes tzWaveJump {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-12px) scale(1.25) rotate(-6deg); }
  50% { transform: translateY(0) scale(0.95); }
}

/* Progress bar wrap */
.tz-splash-progress-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.tz-splash-progress-track {
  position: relative;
  width: 100%;
  height: 12px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.tz-splash-progress-bar {
  position: relative;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4c8b 0%, #f59e0b 35%, #10b981 70%, #06b6d4 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: tzBarGradient 2.5s linear infinite;
  overflow: hidden;
}

@keyframes tzBarGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.tz-splash-progress-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  animation: tzShimmer 1.5s infinite;
}

@keyframes tzShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.tz-splash-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
}
.tz-splash-status {
  color: #475569;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}
.tz-splash-percent {
  color: #dc2626;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 640px) {
  .tz-splash-card {
    padding: 28px 20px 24px;
    border-radius: 28px;
  }
  .tz-splash-logo-box {
    width: 82px;
    height: 82px;
    margin-bottom: 12px;
  }
  .tz-splash-doodle {
    font-size: 24px !important;
  }
}
