/* ==========================================================================
   JOYLAND KIDS STORE — Stylesheet
   A premium, playful, multi-colour toy-store theme.
   ========================================================================== */

/* ----------------------------- design tokens ----------------------------- */
:root {
  --pink: #962dea;
  --pink-d: #791ec6;
  --pink-soft: #f0e5fc;
  --pink-bg: #f9f5fd;
  --ink: #23233e;
  --ink-soft: #4a4a63;
  --muted: #8a8aa3;
  --line: #eef0f4;
  --cream: #fff8f2;
  --white: #ffffff;
  --footer: #f0f4ff;
  --star: #fe9e03;
  --sale: #fd2f7b;
  --green: #90ca05;
  --blue: #0a8cf9;
  --blue-alt: #0c8ef9;
  --cyan: #0bc2c3;
  --purple: #962dea;
  --orange: #fd6c05;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow-sm: 0 4px 14px rgba(35, 35, 62, 0.05);
  --shadow: 0 12px 30px rgba(35, 35, 62, 0.08);
  --shadow-lg: 0 22px 50px rgba(150, 45, 234, 0.2);
  --shadow-xl: 0 30px 60px rgba(150, 45, 234, 0.24);
  --container: 1280px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fredoka", "Poppins", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------- scroll reveal ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-bounce);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.1s;
}

.stagger-3 {
  transition-delay: 0.15s;
}

.stagger-4 {
  transition-delay: 0.2s;
}

.stagger-5 {
  transition-delay: 0.25s;
}

.stagger-6 {
  transition-delay: 0.3s;
}

/* ----------------------------- shimmer / glow ----------------------------- */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--blue), var(--pink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.3);
  }

  50% {
    box-shadow: 0 0 20px 6px rgba(255, 77, 141, 0.15);
  }
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

/* ----------------------------- decorative blobs ----------------------------- */
.section-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}

.section-decor--pink {
  background: var(--pink);
  width: 300px;
  height: 300px;
}

.section-decor--blue {
  background: var(--blue);
  width: 250px;
  height: 250px;
}

.section-decor--purple {
  background: var(--purple);
  width: 200px;
  height: 200px;
}

/* ----------------------------- section dividers ----------------------------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
}

.section-divider__line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink-soft), transparent);
  border-radius: 999px;
}

.section-divider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* -------------------------------- base ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.filter-search input:focus {
  border-color: var(--pink) !important;
  background: #fff !important;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.text-pink {
  color: var(--pink);
}

svg {
  flex-shrink: 0;
}

/* ------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 26px;
  transition: 0.25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--lg {
  padding: 15px 36px;
  font-size: 1.02rem;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 156, 219, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s var(--ease);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-alt) 0%, var(--purple) 100%);
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(150, 45, 234, 0.35);
}

.btn--ghost {
  background: #fff;
  color: var(--pink);
  border-color: var(--pink-soft);
}

.btn--ghost:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn--block {
  width: 100%;
}

/* ------------------------------- topbar --------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 16px;
}

.topbar__promo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.topbar__ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.topbar a {
  text-decoration: none;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar a:hover {
  opacity: 1;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__link {
  font-weight: 500;
}

.topbar__select {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
}

.topbar__select option {
  color: #23233e;
}

.sep {
  opacity: 0.5;
}

/* ------------------------------- header --------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: 0.3s var(--ease);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 46, 126, 0.08);
  z-index: -1;
  transition: 0.3s var(--ease);

}

.header.is-stuck::before {
  box-shadow: 0 8px 30px rgba(35, 35, 62, 0.06), 0 1px 0 rgba(255, 46, 126, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo__icon {
  display: flex;
  align-items: center;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  transition: 0.3s var(--ease);
}

.logo:hover .logo__text {
  transform: scale(1.03);
}

.logo:hover .logo__icon {
  animation: wiggle 0.5s ease;
}

/* nav */
.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__list>li {
  position: relative;
}

.nav__list>li.has-mega {
  position: static;
}

.nav__list>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  transition: 0.2s;
}

.nav__list>li>a:hover,
.nav__list>li>a.active {
  color: var(--pink) !important;
  background: var(--pink-soft) !important;
}

.caret {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: 0.2s;
}

.has-mega:hover .caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.nav__close {
  display: none;
}

.nav__header {
  display: none;
}

.nav__footer {
  display: none;
}

.nav__ico {
  display: none;
}

/* mega dropdown — full width */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 25px 60px rgba(35, 35, 62, 0.12);
  padding: 36px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s var(--ease);
  z-index: 70;
  border-top: 1.5px solid var(--line);
  display: none;
}

.has-mega:hover>.mega {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr;
  gap: 40px;
  width: 100%;
}

.mega--wide {
  display: block;
}

.mega--wide .mega__inner {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.mega__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega__col h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: var(--font);
  font-weight: 700;
}

.mega__col a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: 0.25s var(--ease);
}

.mega__col a:hover {
  background: var(--pink-soft);
  color: var(--pink);
  transform: translateX(4px);
}

.mega__cat-icon,
.mega__cat-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s var(--ease);
}

.mega__cat-img {
  object-fit: cover;
  border: 1.5px solid var(--line);
  background: #fff;
}

.mega__cat-icon {
  font-size: 1.15rem;
  color: #fff;
}

.mega__col a:hover .mega__cat-icon,
.mega__col a:hover .mega__cat-img {
  transform: scale(1.15) rotate(-6deg);
  border-color: var(--pink-soft);
}

.mega__link-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.mega__link-title {
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.mega__col a:hover .mega__link-title {
  color: var(--pink);
}

.mega__link-sub {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 400;
}

.mega__promo {
  background: linear-gradient(135deg, #fff0d6, #ffe0ee);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  min-width: 180px;
}

.mega__promo-icon {
  margin-bottom: 8px;
}

.mega__promo-img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 10px;
}

.mega__promo strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.mega__promo p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search {
  display: flex;
  align-items: center;
  background: #f4f5f8;
  border-radius: 999px;
  padding: 5px 5px 5px 16px;
  width: 220px;
  transition: 0.25s;
}

.search:focus-within {
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.search input {
  border: none;
  background: none;
  outline: none;
  flex: 1;
  width: 100%;
  font-size: 0.86rem;
}

.search button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.2s;
  flex-shrink: 0;
}

.search button:hover {
  background: var(--pink-d);
}

.iconbtn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f5f8;
  transition: 0.2s;
}

.iconbtn svg {
  color: var(--ink-soft);
}

.iconbtn:hover {
  background: var(--pink-soft);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 77, 141, 0.15);
}

.iconbtn:hover svg {
  color: var(--pink);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.nav__toggle {
  display: none;
}

/* mobile search toggle & dropdown */
.search-toggle {
  display: none;
}

.mobile-search {
  display: none;
  background: #fff;
  padding: 8px 16px 12px;
  border-top: 1px solid var(--line);
}

.mobile-search.is-open {
  display: block;
}

.mobile-search .search {
  display: flex;
  width: 100%;
}

/* -------------------------------- hero slider ---------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 30px;
  min-height: 520px;
  padding-block: 40px 70px;
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero__text {
  max-width: 480px;
  color: var(--ink-soft);
  margin: 18px 0;
  font-size: 1.05rem;
}

.hero__price {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.hero__price strong {
  font-size: 1.7rem;
  color: var(--sale);
  font-family: var(--font-display);
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* slider nav */
.slider__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 77, 141, 0.3);
  transition: 0.3s;
  cursor: pointer;
}

.slider__dot.is-active {
  background: var(--pink);
  border-color: var(--pink);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(255, 77, 141, 0.4);
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 6;
  transition: 0.25s;
  backdrop-filter: blur(6px);
}

.slider__arrow:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.slider__arrow--prev {
  left: 20px;
}

.slider__arrow--next {
  right: 20px;
}

/* hero art */
.hero__art {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero__blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 46% 54% 50% 50%/52% 48% 52% 48%;
  background: radial-gradient(circle at 35% 30%, #fff5fb, #ffd0e4);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.6);
  animation: morph 9s ease-in-out infinite;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 46% 54% 50% 50%/52% 48% 52% 48%;
  }

  50% {
    border-radius: 54% 46% 48% 52%/48% 54% 46% 52%;
  }
}

.hero__emoji {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.16));
}

.hero__emoji--main {
  font-size: 13rem;
  animation: floaty 4.5s ease-in-out infinite;
}

.hero__img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.12));
}

.hero__img--main {
  width: 380px;
  height: 380px;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 50%;
  animation: floaty 4.5s ease-in-out infinite;
}

.hero__emoji--girl {
  position: absolute;
  font-size: 6rem;
  bottom: 34px;
  right: 60px;
  z-index: 3;
  animation: floaty 4s ease-in-out 0.5s infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.float {
  position: absolute;
  z-index: 4;
  font-size: 2rem;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
}

.float--1 {
  top: 18px;
  left: 30px;
  animation: floaty 5s ease-in-out infinite;
}

.float--2 {
  top: 60px;
  right: 24px;
  font-size: 2.6rem;
  animation: floaty 6s ease-in-out 0.8s infinite;
}

.float--3 {
  bottom: 90px;
  left: 0;
  font-size: 2.4rem;
  animation: floaty 5.5s ease-in-out 0.4s infinite;
}

.float--4 {
  bottom: 30px;
  left: 90px;
  font-size: 2.2rem;
  animation: floaty 6.5s ease-in-out 1s infinite;
}

/* ------------------------------ scallops -------------------------------- */
.scallop {
  position: absolute;
  left: 0;
  width: 100%;
  height: 28px;
  background-repeat: repeat-x;
  pointer-events: none;
  z-index: 5;
}

.scallop--cream {
  bottom: -1px;
  background-image: radial-gradient(circle at 50% 0,
      var(--cream) 15px,
      transparent 16px);
  background-size: 48px 28px;
}

.scallop--pink.scallop--bottom {
  bottom: -1px;
  background-image: radial-gradient(circle at 50% 0,
      var(--pink-bg) 15px,
      transparent 16px);
  background-size: 48px 28px;
}

.scallop--footer {
  top: -27px;
  background-image: radial-gradient(circle at 50% 100%,
      var(--footer) 15px,
      transparent 16px);
  background-size: 48px 28px;
}

/* ------------------------------ features -------------------------------- */
.features {
  margin-top: 40px;
  position: relative;
  z-index: 6;
}

.features__grid {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 1.5px solid var(--pink-soft);
  position: relative;
  overflow: hidden;
}

.features__grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--blue), var(--green), var(--orange), var(--yellow), var(--sale));
  border-radius: 999px 999px 0 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-right: 1px solid var(--line);
  border-radius: 16px;
  transition: 0.3s var(--ease);
}

.feature:hover {
  background: var(--fc, var(--pink-soft));
  transform: translateY(-3px);
}

.feature:last-child {
  border-right: none;
}

.feature__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--fc, var(--pink-soft));
  display: grid;
  place-items: center;
  transition: 0.3s var(--ease);
}

.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature h3 {
  font-size: 0.95rem;
  font-family: var(--font);
  font-weight: 700;
}

.feature p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------------------------------- sections ------------------------------- */
.section {
  padding-block: 72px;
  position: relative;
  overflow: hidden;
}

.section--overflow-visible {
  overflow: visible;
}

.section--tight {
  padding-block: 32px;
}

.section--cream {
  background: var(--cream);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  gap: 20px;
  flex-wrap: wrap;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 8px;
  background: var(--pink-soft);
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.section__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  position: relative;
}

.section__head:not(.section__head--row) .section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  margin: 14px auto 0;
}

.section__sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
}

.link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.25s var(--ease);
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--pink-soft);
}

.link-all:hover {
  gap: 10px;
  background: var(--pink);
  color: #fff;
  transform: translateX(4px);
}

.link-all:hover svg {
  transform: translateX(3px);
}

.link-all svg {
  transition: 0.25s var(--ease);
}

/* --------------------------- shop by category (slider) ------------------- */
.cat-slider {
  position: relative;
}

.cat-slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.cat-slider__track::-webkit-scrollbar {
  display: none;
}

.cat-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: 0.25s;
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 120px;
  min-width: 120px;
}

.cat__ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: 0.3s var(--ease);
}

.cat__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  overflow: hidden;
}

.cat:hover {
  transform: translateY(-8px);
}

.cat:hover .cat__ring {
  transform: rotate(8deg) scale(1.1);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.cat:hover .cat__name {
  color: var(--pink);
}

.cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cat__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  max-width: 110px;
}

/* ---------------------------- promo banners ----------------------------- */
.promo3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.promo {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  overflow: hidden;
  color: #fff;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: var(--promo-bg);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px, transparent 10px),
    var(--promo-bg);
  will-change: transform;
}

.promo::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  right: -20px;
  bottom: -20px;
  z-index: 1;
  pointer-events: none;
}

.promo:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12),
    0 8px 16px var(--glow-color, rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.25);
}

.promo small {
  font-size: 0.84rem;
  opacity: 0.92;
}

.promo h3 {
  color: #fff;
  font-size: 1.7rem;
  margin: 2px 0 14px;
}

.promo .price {
  font-weight: 700;
  font-size: 1.15rem;
}

.promo .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  margin-top: 6px;
}

.promo__emoji {
  position: absolute;
  right: 14px;
  bottom: -6px;
  font-size: 5rem;
  opacity: 0.9;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
  transition: 0.4s var(--ease-bounce);
}

.promo__img {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s var(--ease-bounce);
  pointer-events: none;
}

.promo:hover .promo__img {
  transform: scale(1.1) rotate(-8deg);
}

/* ----------------------------- product card ----------------------------- */
.product-grid {
  display: grid;
  gap: 20px;
}

.product-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.product-grid--edu {
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e2e4ea;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.35s var(--ease);
  position: relative;
  box-shadow: 0 2px 8px rgba(35, 35, 62, 0.04);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.35s var(--ease);
  z-index: 3;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(150, 45, 234, 0.15), 0 0 16px rgba(150, 45, 234, 0.1);
  border-color: transparent;
}

.product-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--sale), var(--pink), var(--cyan));
}

.pc-media {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  overflow: hidden;
  border-bottom: 2px solid var(--line);
}

.pc-emoji {
  font-size: 4.2rem;
  transition: 0.35s var(--ease);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.12));
}

.product-card:hover .pc-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-card:hover .pc-img {
  transform: scale(1.06);
  transition: 0.4s var(--ease);
}

.pc-img {
  transition: 0.4s var(--ease);
}

.pc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sale);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(239, 47, 86, 0.3);
}

.pc-badge--new {
  background: var(--green);
}

.pc-badge--hot {
  background: var(--blue);
}

.pc-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: 0.2s;
}

.pc-wish svg {
  color: #c8c8d4;
  transition: 0.2s;
}

.pc-wish:hover svg {
  color: var(--pink);
  transform: scale(1.2);
}

.pc-wish:hover {
  background: var(--pink-soft);
  box-shadow: 0 4px 12px rgba(255, 77, 141, 0.2);
}

.pc-wish.is-active svg {
  color: var(--pink);
  fill: var(--pink);
}

.pc-wish.is-active {
  animation: wiggle 0.4s ease;
}

.pc-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pc-cat {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.pc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 5px;
  font-size: 0.76rem;
  color: var(--muted);
}

.stars {
  color: var(--star);
  letter-spacing: 1px;
  font-size: 0.78rem;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
}

.pc-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45em;
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 12px;
}

.pc-price .now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.pc-price .was {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
}

/* Bottom action row */
.pc-bottom-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.pc-bottom-actions .pc-act-btn {
  height: 38px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: 0.22s var(--ease);
  cursor: pointer;
  border: none;
}

.pc-bottom-actions .pc-act-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pc-bottom-actions .pc-act-ico {
  width: 38px;
  min-width: 38px;
  background: #f4f5f8;
  color: var(--ink-soft);
}

.pc-bottom-actions .pc-act-ico svg {
  color: var(--ink-soft);
}

.pc-bottom-actions .pc-act-ico:hover {
  background: var(--pink-soft);
}

.pc-bottom-actions .pc-act-ico:hover svg {
  color: var(--pink);
}

.pc-bottom-actions .pc-act-cart {
  flex: 1;
  background: var(--pink-soft);
  color: var(--pink);
  padding: 0 14px;
}

.pc-bottom-actions .pc-act-cart svg {
  color: var(--pink);
}

.pc-bottom-actions .pc-act-cart:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 77, 141, 0.3);
}

.pc-bottom-actions .pc-act-cart:hover svg {
  color: #fff;
}

.pc-add {
  margin-top: auto;
  width: 100%;
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 600;
  border-radius: 999px;
  padding: 10px;
  font-size: 0.88rem;
  transition: 0.2s;
}

.pc-add:hover {
  background: var(--pink);
  color: #fff;
}

/* Product card image */
.pc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------------------------- deal of the day --------------------------- */
.deal {
  background: linear-gradient(135deg, var(--pink-bg) 0%, var(--pink-soft) 100%);
}

.countdown {
  display: flex;
  gap: 10px;
}

.cd {
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 64px;
  transition: 0.3s var(--ease);
  border: 2px solid var(--pink-soft);
}

.cd:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--pink);
}

.cd span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--pink), var(--sale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cd small {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.deal__wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--pink-soft);
  position: relative;
  overflow: hidden;
}

.deal__wrap::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink-soft) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.deal__media {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  position: relative;
  overflow: hidden;
}

.deal__media .pc-emoji {
  font-size: 8rem;
}

.deal__media .pc-badge {
  font-size: 0.9rem;
  padding: 6px 14px;
}

.deal__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.deal__info .pc-cat {
  font-size: 0.8rem;
}

.deal__info h3 {
  font-size: 1.8rem;
  margin: 8px 0;
}

.deal__info .deal-desc {
  color: var(--ink-soft);
  margin: 6px 0 16px;
  max-width: 420px;
}

.deal__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.deal__price .now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--sale);
}

.deal__price .was {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.deal__price .off {
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.deal__stock {
  margin: 14px 0;
  max-width: 380px;
}

.deal__bar {
  height: 8px;
  border-radius: 999px;
  background: #f0e3e9;
  overflow: hidden;
  margin-top: 6px;
}

.deal__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--pink));
  background-size: 200% 100%;
  border-radius: 999px;
  animation: shimmer 2s linear infinite;
}

.deal__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ----------------------------- best sellers ----------------------------- */
.bestsellers__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: stretch;
}

.feature-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 34px 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--sale) 0%, var(--orange) 50%, var(--pink) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(150, 45, 234, 0.2);
}

.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: -1;
  opacity: 0.95;
}

.feature-banner__tag {
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 10px;
}

.feature-banner h3 {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.1;
  z-index: 1;
}

.feature-banner p {
  margin: 14px 0 22px;
  font-size: 0.92rem;
  opacity: 0.95;
  z-index: 1;
}

.feature-banner .btn {
  align-self: flex-start;
  z-index: 1;
}

.feature-banner__img {
  position: absolute;
  right: -5px;
  bottom: -15px;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
  animation: float-gentle 5s ease-in-out infinite;
  z-index: 0;
  transition: 0.3s var(--ease);
}

/* ------------------------------ shop by age ----------------------------- */
.age-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.age {
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  transition: 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.age::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: 0.35s;
}

.age:hover::before {
  opacity: 1;
}

.age:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.age__emoji {
  font-size: 2.8rem;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12));
  transition: 0.35s var(--ease-bounce);
}

.age__img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s var(--ease-bounce);
}

.age:hover .age__emoji,
.age:hover .age__img {
  transform: scale(1.18) rotate(-8deg);
}

.age__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 10px;
  color: var(--ink);
}

.age__sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ------------------------------- BOGO row ------------------------------- */
.promo-bogo {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 22px;
}

.bogo {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.bogo:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.bogo--red {
  background: linear-gradient(135deg, #FF0844 0%, #FFB199 100%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #FF0844 0%, #FFB199 100%);
  background-size: 14px 14px, auto;
}

.bogo--blue {
  background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
  background-size: 14px 14px, auto;
}

.bogo--green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  background-size: 14px 14px, auto;
}

.bogo__label {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.bogo h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.bogo--wide h3 {
  font-size: 2rem;
}

.bogo p {
  font-size: 0.88rem;
  opacity: 0.94;
  margin-bottom: 14px;
  max-width: 280px;
}

.bogo .btn {
  background: #fff;
  color: var(--ink);
}

.bogo__emoji {
  position: absolute;
  right: 16px;
  bottom: -8px;
  font-size: 5rem;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.2));
  transition: 0.4s var(--ease-bounce);
}

.bogo__img {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s var(--ease-bounce);
  pointer-events: none;
  z-index: 3;
}

.bogo__img--big {
  width: 110px;
  height: 110px;
  right: 22px;
  bottom: 15px;
}

.bogo:hover .bogo__emoji,
.bogo:hover .bogo__img {
  transform: scale(1.15) rotate(-8deg);
}

.bogo--wide {
  align-items: center;
}

/* ----------------------------- educational ------------------------------ */
.edu__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.edu__intro p {
  color: var(--ink-soft);
  margin: 14px 0;
}

.edu__list {
  margin: 0 0 22px;
}

.edu__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--ink-soft);
}

.edu__ico {
  flex-shrink: 0;
}

.edu__grid {
  align-self: stretch;
}

.edu-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.product-grid--edu {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 16px;
  width: 100%;
}

.product-grid--edu::-webkit-scrollbar {
  display: none;
}

.product-grid--edu .product-card {
  flex: 0 0 calc((100% - 20px) / 2);
  scroll-snap-align: start;
}

.edu-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.edu-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid;
  place-items: center;
  transition: 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
}

.edu-slider__btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 77, 141, 0.3);
}

/* ----------------------------- banner CTA ------------------------------ */
.banner-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.banner-cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
  transition: 0.3s;
  min-height: 200px;
  z-index: 1;
}

.banner-cta--outdoor {
  background: linear-gradient(135deg, var(--sale) 0%, var(--pink) 50%, var(--blue) 100%);
}

.banner-cta--outdoor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-radial-gradient(circle at 0 0, transparent, transparent 18px, rgba(255, 255, 255, 0.05) 18px, rgba(255, 255, 255, 0.05) 20px);
  z-index: -1;
  opacity: 0.95;
}

.banner-cta--robot {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
}

.banner-cta--robot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 10px 10px;
  z-index: -1;
  opacity: 0.95;
}

.banner-cta:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.banner-cta__content {
  flex: 1;
  z-index: 2;
}

.banner-cta__tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.banner-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.banner-cta p {
  font-size: 0.88rem;
  opacity: 0.92;
  margin-bottom: 16px;
  max-width: 280px;
}

.banner-cta__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  z-index: 1;
  transition: 0.4s var(--ease-bounce);
}

.banner-cta:hover .banner-cta__img {
  transform: scale(1.1) rotate(-5deg);
}

/* ----------------------------- video products --------------------------- */
.video-slider {
  position: relative;
}

.video-slider__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.video-slider__track::-webkit-scrollbar {
  display: none;
}

.video-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.video-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 66px) / 4);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.video-card__media {
  position: relative;
  aspect-ratio: 9/14;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 3;
  transition: 0.35s var(--ease);
  animation: pulse-glow 2s ease-in-out infinite;
}

.video-card__play svg {
  color: var(--pink);
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  background: var(--pink);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .video-card__play svg {
  color: #fff;
}

.video-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 75%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-card__name {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.video-card__price {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.video-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.video-card__actions .btn {
  padding: 7px 14px;
  font-size: 0.78rem;
}

.video-card__actions .btn--vid-cart {
  background: var(--pink);
  color: #fff;
  border: none;
}

.video-card__actions .btn--vid-cart:hover {
  background: var(--pink-d);
}

.video-card__actions .btn--vid-share {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.video-card__actions .btn--vid-share:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* -------------------------------- tabs ---------------------------------- */
.tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-soft) transparent;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.tabs__nav::-webkit-scrollbar {
  height: 5px;
}

.tabs__nav::-webkit-scrollbar-track {
  background: transparent;
}

.tabs__nav::-webkit-scrollbar-thumb {
  background: var(--pink-soft);
  border-radius: 999px;
}

.tabs__nav::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

.tab {
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: 999px;
  background: #f4f5f8;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: 0.3s var(--ease);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.tab:hover {
  background: var(--pink-soft);
  color: var(--pink);
  transform: translateY(-2px);
  border-color: var(--pink-soft);
}

.tab.is-active {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 77, 141, 0.3);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ------------------------------- reviews -------------------------------- */
.review-slider {
  position: relative;
}

.review-slider__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.review-slider__track::-webkit-scrollbar {
  display: none;
}

.review-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.review-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid;
  place-items: center;
  transition: 0.25s;
  border: 2px solid transparent;
}

.review-slider__btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 77, 141, 0.3);
}

.review {
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: 0.35s var(--ease);
  position: relative;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--pink-soft);
  line-height: 1;
  pointer-events: none;
}

.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.review__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink-bg));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--pink);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.review__name {
  font-weight: 700;
  font-size: 0.96rem;
}

.review__meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.review__stars {
  color: var(--star);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.review__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  flex: 1;
}

.review__product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.review__product .rp-emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.review__product .rp-name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.review__product .rp-price {
  font-size: 0.82rem;
  color: var(--sale);
  font-weight: 700;
}

/* -------------------------------- brands -------------------------------- */
.brand-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

.brand {
  height: 90px;
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  transition: 0.35s var(--ease);
  filter: grayscale(0.3);
  position: relative;
  overflow: hidden;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-soft), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: 0.35s;
}

.brand:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-lg);
  filter: none;
  border-color: var(--pink-soft);
}

.brand:hover::after {
  opacity: 1;
}

/* ------------------------------ newsletter ------------------------------ */
.newsletter {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  background-size: 200% 200%;
  animation: shimmer 6s ease infinite;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  animation: spin-slow 20s linear infinite;
  pointer-events: none;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 48px;
  flex-wrap: wrap;
}

.newsletter__text h2 {
  color: #fff;
  font-size: 2rem;
}

.newsletter__text p {
  opacity: 0.95;
  max-width: 480px;
  margin-top: 6px;
}

.newsletter__form {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
}

/* --------------------------------- blog --------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.blog-card__media {
  overflow: hidden;
}

.blog-card:hover .blog-card__media>* {
  transform: scale(1.05);
  transition: 0.4s var(--ease);
}

.blog-card__media {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  position: relative;
}

.blog-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.blog-card__body {
  padding: 18px;
}

.blog-card__meta {
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.blog-card__meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.blog-card__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.blog-card:hover .blog-card__title {
  color: var(--pink);
}

/* -------------------------------- footer -------------------------------- */
.footer {
  position: relative;
  background: var(--footer);
  margin-top: 40px;
  padding-top: 50px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 30px;
}

.logo--footer .logo__text {
  font-size: 1.5rem;
}

.footer__addr {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer__addr a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__addr a:hover {
  color: var(--pink);
}

.footer__ico {
  flex-shrink: 0;
  margin-top: 2px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.25s;
}

.socials a svg {
  width: 16px;
  height: 16px;
}

.socials a:hover {
  transform: translateY(-4px) scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.footer__col h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: 0.25s var(--ease);
  position: relative;
}

.footer__col a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--pink);
  border-radius: 999px;
  transition: 0.25s var(--ease);
}

.footer__col a:hover {
  color: var(--pink);
  transform: translateX(6px);
}

.footer__col a:hover::before {
  height: 18px;
}

.footer__subscribe p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.footer__form {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}

.footer__form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.footer__form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: 0.2s;
}

.footer__form button:hover {
  background: var(--pink-d);
}

/* payment logos */
.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  align-items: center;
}

.pay-logo {
  height: 32px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-logo svg {
  height: 18px;
  width: auto;
}

.pay-logo img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.footer__bar {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 18px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------- drawers -------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 35, 62, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 1000;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 50px rgba(35, 35, 62, 0.15);
  border-radius: 24px 0 0 24px;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--pink-bg), var(--white));
}

.drawer__head h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
}

.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f5f8;
  display: grid;
  place-items: center;
  transition: 0.25s;
}

.drawer__close:hover {
  background: var(--pink);
  transform: rotate(90deg);
}

.drawer__close:hover svg {
  color: #fff;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}

.drawer__foot {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__media {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item__price {
  color: var(--sale);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 2px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #f4f5f8;
  font-size: 1rem;
  transition: 0.2s;
}

.qty button:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.qty span {
  min-width: 34px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
}

.cart-item__remove {
  align-self: flex-start;
  color: var(--muted);
  transition: 0.2s;
  display: grid;
  place-items: center;
}

.cart-item__remove svg {
  width: 18px;
  height: 18px;
}

.cart-item__remove:hover {
  color: var(--sale);
}

.cart-item__remove:hover svg {
  color: var(--sale);
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 50px 0;
}

.cart-empty svg {
  display: block;
  margin: 0 auto 10px;
  opacity: 0.5;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.cart-total strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

/* -------------------------------- modal --------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(35, 35, 62, 0.55);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1010;
  backdrop-filter: blur(3px);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__box {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  transform: scale(0.92);
  transition: 0.3s var(--ease);
}

.modal.is-open .modal__box {
  transform: scale(1);
}

.qv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.qv__media {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  position: relative;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
}

.qv__media .pc-emoji {
  font-size: 8rem;
}

.qv__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.qv__body {
  padding: 34px;
  position: relative;
}

.qv__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f5f8;
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.qv__close svg {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
}

.qv__close:hover {
  background: var(--pink-soft);
}

.qv__close:hover svg {
  color: var(--pink);
}

.qv__body h3 {
  font-size: 1.6rem;
  margin: 6px 0 10px;
}

.qv__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0;
}

.qv__price .now {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--sale);
  font-weight: 700;
}

.qv__price .was {
  text-decoration: line-through;
  color: var(--muted);
}

.qv__desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.qv__meta {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.qv__cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* -------------------------------- toast --------------------------------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 130;
  box-shadow: var(--shadow-lg);
  transition: 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ------------------------------ back to top ----------------------------- */
.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.3s;
  z-index: 80;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--pink-d);
  transform: translateY(-4px) scale(1.1);
  animation: pulse-glow 1s ease-in-out infinite;
}

/* ============================= PAGE HERO (inner pages) ============================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 50px 80px;
}

.page-hero__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-top: 12px;
}

.page-hero__text {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
}

/* breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
  transition: 0.2s;
}

.breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.breadcrumb span {
  color: var(--pink);
  font-weight: 600;
}

/* ============================= SHOP PAGE ============================= */
.shop-hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 50px;
  background: linear-gradient(160deg, var(--pink-bg) 0%, var(--pink-soft) 55%, #eef2ff 100%);
}

.shop-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.shop-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 10px;
}

.shop-hero__text {
  color: var(--ink-soft);
  margin-top: 10px;
  max-width: 500px;
}

.shop-hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat-pill {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 100px;
  transition: 0.3s var(--ease);
  border: 1.5px solid var(--pink-soft);
}

.stat-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-pill__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--pink);
}

.stat-pill__label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

/* active filters tags bar */
.shop-active-filters {
  margin-bottom: 18px;
  animation: fadeSlideDown 0.3s var(--ease);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.active-filters__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--pink-bg), var(--pink-soft));
  border-radius: 14px;
  border: 1.5px solid var(--pink-soft);
}

.active-filters__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.active-filters__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fff;
  border: 1.5px solid var(--pink-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  animation: fadeSlideDown 0.2s var(--ease);
}

.active-filter-tag__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink-soft);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
  color: var(--pink);
}

.active-filter-tag__remove:hover {
  background: var(--pink);
  color: #fff;
}

.active-filters__clear {
  background: none;
  border: none;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: 0.2s;
  margin-left: auto;
}

.active-filters__clear:hover {
  background: var(--pink);
  color: #fff;
}

/* shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

/* sidebar filters */
.shop-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-soft) transparent;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--pink-soft);
  border-radius: 4px;
}

.filter-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pink-soft);
  color: var(--pink);
  border: 1.5px solid var(--pink-soft);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s;
  cursor: pointer;
  position: relative;
}

.filter-toggle-btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  transform: translateY(-2px);
}

.filter-toggle-btn__count {
  background: var(--pink);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.filter-toggle-btn:hover .filter-toggle-btn__count {
  background: #fff;
  color: var(--pink);
}

.filter-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f5f8;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.25s;
  flex-shrink: 0;
}

.filter-close-btn:hover {
  background: var(--pink);
  color: #fff;
  transform: rotate(90deg);
}

.filter-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.filter-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.filter-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.filter-card__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-clear-all-btn {
  background: none;
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-clear-all-btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* shop loader spinner */
.shop-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  width: 100%;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid var(--pink-soft);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.filter-group__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink);
}

.filter-group__label svg {
  color: var(--pink);
  flex-shrink: 0;
}

.filter-group__clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pink-soft);
  border: none;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filter-group__clear:hover {
  background: var(--pink);
  color: #fff;
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-soft) transparent;
}

.filter-group__options::-webkit-scrollbar {
  width: 4px;
}

.filter-group__options::-webkit-scrollbar-thumb {
  background: var(--pink-soft);
  border-radius: 4px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: 0.2s;
  border: 1.5px solid transparent;
}

.filter-check:hover {
  background: var(--pink-soft);
  color: var(--pink);
  border-color: var(--pink-soft);
}

.filter-check.is-active {
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 600;
  border-color: rgba(255, 77, 141, 0.2);
}

.filter-check input {
  display: none;
}

.filter-check__box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #b0b0c5;
  transition: 0.2s;
  flex-shrink: 0;
  position: relative;
}

.filter-check:hover .filter-check__box {
  border-color: var(--pink);
}

.filter-check input:checked~.filter-check__box {
  background: var(--pink);
  border-color: var(--pink);
}

.filter-check input:checked~.filter-check__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* price slider */
.price-range {
  padding: 4px 0;
}

.price-range__value {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
  transition: 0.2s;
}

.price-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(255, 77, 141, 0.35);
  cursor: pointer;
  margin-top: -8px;
  transition: 0.15s;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 14px rgba(255, 77, 141, 0.45);
}

.price-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(255, 77, 141, 0.35);
  cursor: pointer;
}

.price-range__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}

/* shop filter overlay (mobile) */
.shop-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(35, 35, 62, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  backdrop-filter: blur(2px);
}

.shop-filter-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* shop toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.shop-toolbar__count {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.shop-toolbar__count span {
  font-weight: 700;
  color: var(--pink);
}

.shop-sort {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.88rem;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.shop-sort:focus {
  border-color: var(--pink);
  outline: none;
  box-shadow: 0 0 0 3px var(--pink-soft);
}

/* shop empty */
.shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1.5px dashed var(--line);
}

.shop-empty__icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.shop-empty h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.shop-empty p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* shop CTA */
.shop-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.shop-cta h2 {
  color: #fff;
  font-size: 1.4rem;
}

.shop-cta p {
  opacity: 0.92;
  margin-top: 6px;
  max-width: 500px;
}

.shop-cta .btn {
  flex-shrink: 0;
}

/* ============================= CONTACT PAGE ============================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  transition: 0.35s var(--ease);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  transition: 0.3s var(--ease);
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card__link {
  font-size: 0.88rem;
  color: var(--pink);
  font-weight: 600;
  display: block;
  transition: 0.2s;
  word-break: break-word;
}

a.contact-card__link:hover {
  color: var(--pink-d);
}

/* contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

/* contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--sale);
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  transition: 0.25s;
}

.pwd-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  z-index: 2;
  transition: 0.2s;
}

.pwd-toggle:hover svg {
  stroke: var(--pink) !important;
}

.input-wrap:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.input-wrap svg {
  flex-shrink: 0;
  color: var(--muted);
}

.input-wrap input,
.input-wrap select {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.92rem;
  font-family: var(--font);
  background: none;
  color: var(--ink);
}

.input-wrap select {
  cursor: pointer;
}

.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-family: var(--font);
  resize: vertical;
  min-height: 120px;
  transition: 0.25s;
  outline: none;
}

.contact-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

/* map card */
.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  margin-bottom: 20px;
}

/* contact info box */
.contact-info-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  margin-bottom: 20px;
}

.contact-info-box h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.contact-info-box ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info-box li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* contact social */
.contact-social-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}

.contact-social-box h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-social-box p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: 0.3s var(--ease);
}

.faq:hover {
  border-color: var(--pink-soft);
}

.faq.is-open {
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}

.faq__q svg {
  flex-shrink: 0;
  transition: 0.3s;
  color: var(--pink);
}

.faq.is-open .faq__q svg {
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
  padding: 0 22px;
}

.faq.is-open .faq__a {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq__a p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================= TRACK PAGE ============================= */
.track-card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--pink-soft);
  text-align: center;
  box-sizing: border-box;
}

.track-card__icon {
  margin-bottom: 16px;
}

.track-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.track-card>p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 28px;
}

.track-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* track result */
.track-result {
  max-width: 800px;
  margin: 40px auto 0;
}

.track-result__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.track-result__header h3 {
  font-size: 1.2rem;
}

.track-result__header p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 4px;
}

.track-status {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.track-status--transit {
  background: #eef7ff;
  color: var(--blue);
}

.track-status--delivered {
  background: #e6fbe9;
  color: var(--green);
}

/* timeline */
.track-timeline {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
}

.track-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line);
  border-radius: 999px;
}

.track-step {
  position: relative;
  padding-bottom: 28px;
  padding-left: 24px;
}

.track-step:last-child {
  padding-bottom: 0;
}

.track-step__dot {
  position: absolute;
  left: -23px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--line);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
  transition: 0.3s;
}

.track-step.is-done .track-step__dot {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.track-step.is-active .track-step__dot {
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  animation: pulse-glow 2s ease-in-out infinite;
}

.track-step__content h4 {
  font-size: 0.95rem;
  font-family: var(--font);
}

.track-step__content p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.track-step__content span {
  font-size: 0.86rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

.track-step.is-done .track-step__content h4 {
  color: var(--green);
}

.track-step.is-active .track-step__content h4 {
  color: var(--blue);
}

/* track items */
.track-items {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}

.track-items h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.track-item:last-child {
  border-bottom: none;
}

.track-item__media {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  flex-shrink: 0;
  overflow: hidden;
}

.track-item__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.track-item__meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.track-item__price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
}

/* help grid */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.help-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  transition: 0.35s var(--ease);
}

.help-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.help-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  transition: 0.3s var(--ease);
}

.help-card:hover .help-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.help-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.help-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ============================= CONTACT FORM WRAP ============================= */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

/* ============================= ABOUT PAGE ============================= */
.about-mission {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.about-mission__content p {
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.8;
}

.about-visual-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  aspect-ratio: 1/1;
  width: 100%;
  transition: 0.35s var(--ease);
}

.about-visual-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.about-stat {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--pink-soft);
  transition: 0.35s var(--ease);
}

.about-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink);
}

.about-stat__label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

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

.about-value {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  transition: 0.35s var(--ease);
}

.about-value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.about-value__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  transition: 0.3s var(--ease);
}

.about-value:hover .about-value__icon {
  transform: scale(1.1) rotate(-5deg);
}

.about-value h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-value p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-story__text p {
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.8;
}

.about-story__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-story-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  transition: 0.3s var(--ease);
}

.about-story-card:hover {
  border-color: var(--pink-soft);
  transform: translateX(6px);
}

.about-story-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.about-story-card__icon svg {
  width: 20px;
  height: 20px;
}

.about-story-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-story-card p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============================= SHIPPING / POLICY PAGE ============================= */
.policy-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.policy-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.policy-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  transition: 0.35s var(--ease);
}

.policy-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--pink-soft);
}

.policy-highlight__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.policy-highlight h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.policy-highlight p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.policy-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.policy-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.policy-table-wrap {
  overflow-x: auto;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.policy-table th {
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
}

.policy-table th:first-child {
  border-radius: 12px 0 0 12px;
}

.policy-table th:last-child {
  border-radius: 0 12px 12px 0;
}

.policy-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-table tr:hover td {
  background: rgba(255, 77, 141, 0.03);
}

.policy-note {
  margin-top: 14px;
  padding: 12px 16px;
  background: #eff6ff;
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--blue);
  font-weight: 500;
}

.policy-charges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-charge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg);
  border: 1.5px solid var(--line);
}

.policy-charge__range {
  font-weight: 600;
  color: var(--ink);
}

.policy-charge__fee {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
}

.policy-charge--free {
  background: #e6fbe9;
  border-color: #b8e6c0;
}

.policy-charge--free .policy-charge__fee {
  color: var(--green);
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.policy-list li svg {
  flex-shrink: 0;
}

/* return steps */
.return-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.return-step {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
  transition: 0.35s var(--ease);
  position: relative;
}

.return-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-soft);
}

.return-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #ff8a3d);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.return-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.return-step p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================= FAQ PAGE SECTIONS ============================= */
.faq-section {
  margin-bottom: 40px;
}

.faq-section:last-child {
  margin-bottom: 0;
}

.faq-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-section__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.faq-section__header h2 {
  font-size: 1.4rem;
}

/* ============================= LEGAL / PRIVACY PAGE ============================= */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.legal-updated {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
}

.legal-section h3 {
  font-size: 1.05rem;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-section p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 8px;
}

.legal-section ul {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-section li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal-contact {
  background: var(--bg);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 14px;
  border: 1.5px solid var(--line);
}

.legal-contact p {
  margin-top: 4px;
}

/* ============================= AUTH / LOGIN PAGE ============================= */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 40px 0 80px;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--pink-soft);
}

.auth-card__header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-card__header h1 {
  font-size: 1.6rem;
}

.auth-card__header p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.92rem;
}

.auth-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 11px;
  border: none;
  background: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: 0.25s;
}

.auth-tab.is-active {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 77, 141, 0.3);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

.auth-forgot {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.86rem;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 8px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.auth-social-btns {
  display: flex;
  gap: 12px;
}

.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: 0.25s;
}

.auth-social-btn:hover {
  border-color: var(--pink-soft);
  background: var(--bg);
}

/* ============================= ACCOUNT LAYOUT ============================= */
.acc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.acc-main {
  min-width: 0;
  overflow: hidden;
}

/* account sidebar */
.acc-sidebar {
  position: sticky;
  top: 90px;
}

.acc-profile-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  margin-bottom: 16px;
}

.acc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.acc-profile-name {
  font-size: 1.05rem;
}

.acc-profile-email {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.acc-nav {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  overflow: hidden;
}

.acc-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
  transition: 0.2s;
}

.acc-nav__link:hover {
  background: var(--bg);
  color: var(--pink);
}

.acc-nav__link.is-active {
  background: var(--pink-soft);
  color: var(--pink);
  border-left-color: var(--pink);
  font-weight: 600;
}

.acc-nav__link--logout {
  color: var(--sale);
}

.acc-nav__link--logout:hover {
  background: #fff5f5;
  color: var(--sale);
}

.acc-nav__link svg {
  flex-shrink: 0;
}

/* account stats */
.acc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.acc-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  transition: 0.3s var(--ease);
}

.acc-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.acc-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.acc-stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}

.acc-stat-card__label {
  font-size: 0.78rem;
  color: var(--muted);
}

/* account sections */
.acc-section {}

.acc-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.acc-section__head h2 {
  font-size: 1.3rem;
}

/* orders list (compact) */
.acc-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acc-order {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  flex-wrap: wrap;
  transition: 0.25s;
}

.acc-order:hover {
  border-color: var(--pink-soft);
}

.acc-order__info {
  flex: 1;
  min-width: 140px;
}

.acc-order__id {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.acc-order__date {
  font-size: 0.8rem;
  color: var(--muted);
}

.acc-order__items {
  font-size: 0.86rem;
  color: var(--ink-soft);
  min-width: 60px;
}

.acc-order__total {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  min-width: 80px;
}

/* order detail cards */
.acc-order-detail {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  overflow: hidden;
  margin-bottom: 16px;
  transition: 0.25s;
}

.acc-order-detail:hover {
  border-color: var(--pink-soft);
  box-shadow: var(--shadow);
}

.acc-order-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}

.acc-order-detail__items {
  padding: 16px 22px;
}

.acc-order-detail__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}

.acc-order-detail__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================= ADDRESS CARDS ============================= */
.addr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.addr-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
  position: relative;
  transition: 0.3s var(--ease);
}

.addr-card:hover {
  border-color: var(--pink-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.addr-card__badge {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.addr-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.addr-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.addr-card__phone {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.84rem;
}

.addr-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.addr-card__default {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e6fbe9;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.addr-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-style: dashed;
  cursor: pointer;
  min-height: 200px;
}

.addr-card--add p {
  font-size: 0.88rem;
  color: var(--muted);
}

.addr-card--add:hover {
  border-color: var(--pink);
  background: var(--pink-soft);
}

/* ============================= NOTIFICATION TOGGLES ============================= */
.notif-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  gap: 16px;
}

.notif-toggle:last-child {
  border-bottom: none;
}

.notif-toggle strong {
  font-size: 0.92rem;
  display: block;
}

.notif-toggle p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.notif-switch {
  -webkit-appearance: none;
  width: 48px;
  height: 26px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: 0.25s;
  flex-shrink: 0;
}

.notif-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.notif-switch:checked {
  background: var(--pink);
}

.notif-switch:checked::after {
  transform: translateX(22px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet landscape / small desktop */
@media (max-width: 1100px) {
  .cat {
    min-width: 120px;
  }

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

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

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

  .brand-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .search {
    width: 180px;
  }

  .features__grid {
    padding: 22px;
  }

  .slider__arrow {
    width: 42px;
    height: 42px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .header__inner {
    justify-content: space-between;
  }

  .header__actions {
    margin-left: auto;
  }

  /* mobile nav sidebar — redesigned */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    z-index: 1000;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    box-shadow: -10px 0 50px rgba(35, 35, 62, 0.18);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border-radius: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  /* sidebar header with logo and close */
  .nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #fff5f8, #fff);
    flex-shrink: 0;
  }

  .nav__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f4f5f8;
    transition: 0.25s;
    position: static;
  }

  .nav__close:hover {
    background: var(--pink);
    transform: rotate(90deg);
  }

  .nav__close:hover svg {
    color: #fff;
  }

  /* nav icons visible on mobile */
  .nav__ico {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 16px 24px;
    flex: 1;
  }

  .nav__list>li>a {
    padding: 14px 16px;
    font-size: 1rem;
    justify-content: flex-start;
    gap: 10px;
    border-radius: 14px;
    margin: 2px 0;
  }

  .nav__list>li>a:hover,
  .nav__list>li>a.active {
    background: var(--pink-soft);
    color: var(--pink);
  }

  .nav__toggle {
    display: grid;
  }

  /* mega mobile — with smooth toggle */
  .mega,
  .mega--wide {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0 0 0 8px;
    display: none;
    grid-template-columns: 1fr;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-mega.is-expanded .mega {
    display: grid;
    max-height: 2000px;
    padding: 6px 0 10px 8px;
  }

  .mega__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
    width: 100%;
  }

  .mega--wide .mega__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mega__col--promo {
    display: none;
  }

  .mega__col {
    gap: 4px;
  }

  .mega__col h4 {
    margin-bottom: 8px;
    font-size: 0.72rem;
    padding-left: 8px;
  }

  .mega__col a {
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 0.86rem;
    gap: 10px;
  }

  .mega__link-sub {
    display: none;
  }

  /* dropdown arrow animation */
  .has-mega.is-expanded>.nav__list>li>a .caret,
  .has-mega.is-expanded>a .caret {
    transform: rotate(-135deg);
    margin-top: 3px;
  }

  /* sidebar footer */
  .nav__footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
    background: #fafafa;
    border-radius: 0 0 0 24px;
  }

  .nav__footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f4f5f8;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: 0.2s;
    flex: 1;
    justify-content: center;
  }

  .nav__footer-link:hover {
    background: var(--pink-soft);
    color: var(--pink);
  }

  .feature {
    border-right: none;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .deal__wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .deal__media {
    max-width: 320px;
    margin: 0 auto;
  }

  .deal__info .deal-desc,
  .deal__stock {
    margin-inline: auto;
  }

  .deal__cta,
  .deal__price {
    justify-content: center;
  }

  .bestsellers__layout {
    grid-template-columns: 1fr;
  }

  .video-card {
    flex: 0 0 220px;
  }

  .feature-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
  }

  .feature-banner__img {
    position: absolute;
    width: 110px;
    right: 15px;
    bottom: -10px;
  }

  .edu__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .promo-bogo {
    grid-template-columns: 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer__brand {
    grid-column: 1/-1;
  }

  .banner-cta-grid {
    grid-template-columns: 1fr;
  }

  /* New pages — tablet */
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: 340px;
    max-width: 88vw;
    max-height: none;
    background: #fff;
    z-index: 1000;
    box-shadow: -16px 0 50px rgba(35, 35, 62, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    overflow-y: auto;
    border-radius: 24px 0 0 24px;
    padding: 0;
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .shop-sidebar .filter-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    height: 100%;
    padding: 24px;
    padding-top: 20px;
    overflow-y: auto;
  }

  .shop-sidebar .filter-card__head {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding-top: 4px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }

  .shop-filter-overlay {
    display: block;
  }

  .filter-toggle-btn {
    display: inline-flex !important;
  }

  .filter-close-btn {
    display: flex !important;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reveal-left {
    transform: translateY(30px);
  }

  .reveal-right {
    transform: translateY(30px);
  }

  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: translateY(0);
  }

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

  .about-mission {
    grid-template-columns: 1fr;
  }

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

  .about-story {
    grid-template-columns: 1fr;
  }

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

  .policy-highlights {
    grid-template-columns: 1fr;
  }

  .return-steps {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .acc-layout {
    grid-template-columns: 1fr;
  }

  .acc-sidebar {
    position: static;
  }

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

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

/* Mobile */
/* Addr grid 1col on mobile is handled below */
@media (max-width: 760px) {
  
  .toast {
    width: calc(100% - 30px);
    max-width: 320px;
    text-align: center;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .topbar__right {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__promo {
    font-size: 10px;
  }

  .header__inner {
    gap: 8px;
    height: 60px;
  }

  .logo__text {
    font-size: 1.25rem;
  }

  .logo__icon svg {
    width: 30px;
    height: 30px;
  }

  .iconbtn {
    width: 38px;
    height: 38px;
  }

  .search {
    width: 160px;
    padding: 4px 4px 4px 12px;
  }

  .search button {
    width: 32px;
    height: 32px;
  }

  .badge {
    min-width: 17px;
    height: 17px;
    font-size: 0.62rem;
  }

  /* hero slider mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 20px 60px;
    min-height: auto;
    gap: 10px;
  }

  .hero__art {
    order: -1;
    min-height: 240px;
  }

  .hero__emoji--main {
    font-size: 8rem;
  }

  .hero__img--main {
    width: 220px;
    height: 220px;
  }

  .hero__emoji--girl {
    font-size: 4rem;
    bottom: 20px;
    right: 30px;
  }

  .hero__blob {
    width: 220px;
    height: 220px;
  }

  .hero__text,
  .hero__cta {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .slider__arrow {
    width: 36px;
    height: 36px;
    display: none;
  }

  .slider__dots {
    bottom: 24px;
  }

  .slider__dot {
    width: 10px;
    height: 10px;
  }

  /* features — 2 per line properly aligned */
  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px;
  }

  .features {
    margin-top: 24px;
  }

  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    gap: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature:nth-child(2n) {
    border-right: none;
  }

  .feature:nth-child(3),
  .feature:nth-child(4) {
    border-bottom: none;
  }

  .feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 2px;
  }

  .feature__icon svg {
    width: 22px;
    height: 22px;
  }

  .feature h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .feature p {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 4px;
  }

  /* category slider mobile */
  .cat-slider__track {
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .cat {
    width: 160px;
    min-width: 160px;
  }

  .cat__ring {
    width: 110px;
    height: 110px;
  }

  .cat__name {
    font-size: 14px;
  }

  .cat__inner {
    font-size: 2rem;
  }

  .cat__name {
    font-size: 0.8rem;
  }

  .promo3 {
    grid-template-columns: 1fr;
  }

  .product-grid--5,
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-grid--edu {
    display: flex;
    gap: 16px;
  }

  .product-grid--edu .product-card {
    flex: 0 0 calc(50% - 8px);
  }

  .product-grid {
    gap: 10px;
  }

  /* old gridRelated styles removed — now using .related-slider */

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

  .section__head--row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
  }

  .section__kicker {
    font-size: 0.72rem;
    padding: 3px 10px;
    margin-bottom: 4px;
  }

  .section__title {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    line-height: 1.25;
  }

  .link-all {
    font-size: 0.78rem;
    padding: 5px 12px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .section {
    padding-block: 40px;
  }

  /* newsletter mobile fix */
  .newsletter__inner {
    flex-direction: column;
    text-align: center;
    padding-block: 36px;
  }

  .newsletter__text h2 {
    font-size: 1.5rem;
  }

  .newsletter__text p {
    margin-inline: auto;
    font-size: 0.9rem;
  }

  .newsletter__form {
    max-width: 100%;
    min-width: 0;
    padding: 6px;
  }

  .newsletter__form input {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* review slider mobile */
  .review {
    min-width: 260px;
    max-width: 280px;
    padding: 18px;
  }

  .qv {
    grid-template-columns: 1fr;
  }

  .qv__media {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    aspect-ratio: 16/10;
  }

  /* drawer mobile */
  .drawer {
    width: 100%;
    max-width: 100vw;
    border-radius: 0;
  }

  .drawer__head {
    padding: 18px 20px;
  }

  .drawer__body {
    padding: 14px 18px;
  }

  .drawer__foot {
    padding: 18px 20px;
  }

  .pc-bottom-actions .pc-act-cart span {
    display: none;
  }

  /* compact product cards on mobile */
  .pc-media {
    aspect-ratio: 4/3;
  }

  .pc-body {
    padding: 10px 12px 12px;
  }

  .pc-title {
    font-size: 0.82rem;
    min-height: 2.2em;
  }

  .pc-price {
    margin: 6px 0 10px;
  }

  .pc-price .now {
    font-size: 1rem;
  }

  .pc-price .was {
    font-size: 0.76rem;
  }

  .pc-bottom-actions .pc-act-btn {
    height: 34px;
    font-size: 0.78rem;
  }

  .pc-bottom-actions .pc-act-ico {
    width: 34px;
    min-width: 34px;
  }



  /* banner CTA mobile */
  .banner-cta {
    flex-direction: column;
    min-height: auto;
    padding: 24px;
    text-align: center;
  }

  .banner-cta__img {
    width: 120px;
    height: 120px;
  }

  .banner-cta__content {
    text-align: center;
  }

  .banner-cta p {
    margin-inline: auto;
  }

  /* video cards mobile */
  .video-card {
    flex: 0 0 170px;
  }

  .video-card__name {
    font-size: 0.8rem;
  }

  .video-card__price {
    font-size: 0.88rem;
  }

  .video-card__play {
    width: 44px;
    height: 44px;
    top: 38%;
    transform: translate(-50%, -38%);
  }

  .video-card:hover .video-card__play {
    transform: translate(-50%, -38%) scale(1.1);
  }

  /* New pages — mobile */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    width: 300px;
  }

  .shop-sidebar .filter-card {
    padding: 20px;
  }

  .shop-sidebar .filter-card__head {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .filter-card {
    padding: 20px;
  }

  .shop-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .shop-hero__stats {
    justify-content: center;
  }

  .shop-toolbar {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .shop-cta {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .active-filters__inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .active-filter-tag {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .track-card {
    padding: 30px 24px;
  }

  .track-result__header {
    flex-direction: column;
    text-align: center;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .input-wrap input,
  .input-wrap select,
  textarea {
    font-size: 16px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-stat {
    padding: 24px 16px;
  }

  .about-emoji-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-emoji {
    width: 72px;
    height: 72px;
    font-size: 2.4rem;
  }

  .legal-content {
    padding: 28px 22px;
  }

  .policy-card {
    padding: 24px;
  }

  .faq-section__header h2 {
    font-size: 1.2rem;
  }

  .acc-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .acc-stat-card {
    padding: 10px 12px;
    gap: 8px;
  }

  .acc-stat-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .acc-stat-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .acc-stat-card__num {
    font-size: 1.15rem;
  }

  .acc-stat-card__label {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .acc-order {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .acc-order-detail__head {
    flex-direction: column;
  }

  .acc-order-detail__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .addr-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .auth-social-btns {
    flex-direction: column;
  }
}

/* Small mobile */
@media (max-width: 460px) {
  .container {
    padding-inline: 12px;
  }


  .search {
    display: none;
  }

  .search-toggle {
    display: grid;
    order: 1;
  }

  #openWishlist {
    order: 2;
  }

  #openCart {
    order: 3;
  }

  .iconbtn--account {
    display: grid;
    order: 4;
  }

  #navToggle {
    order: 5;
  }

  .header__inner {
    gap: 6px;
  }

  .iconbtn {
    width: 36px;
    height: 36px;
  }

  .cat {
    min-width: 90px;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--5,
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__pay {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .pay-logo {
    height: 28px;
    padding: 3px 6px;
    border-radius: 6px;
  }

  .pay-logo svg {
    height: 14px;
  }

  .cd {
    min-width: 48px;
    padding: 6px 10px;
  }

  .feature-banner {
    flex-direction: column;
    text-align: center;
  }

  .feature-banner .btn {
    align-self: center;
  }

  .feature-banner__img {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 15px;
    width: 120px;
    align-self: center;
  }

  .hero__art {
    min-height: 200px;
  }

  .hero__emoji--main {
    font-size: 6rem;
  }

  .hero__img--main {
    width: 170px;
    height: 170px;
  }

  .hero__emoji--girl {
    font-size: 3rem;
    bottom: 10px;
    right: 20px;
  }

  .hero__blob {
    width: 170px;
    height: 170px;
  }

  .review {
    min-width: 240px;
    max-width: 260px;
    padding: 16px;
  }

  .newsletter__text h2 {
    font-size: 1.3rem;
  }

  .bogo h3 {
    font-size: 1.2rem;
  }

  .bogo--wide h3 {
    font-size: 1.4rem;
  }

  .bogo__emoji {
    font-size: 3.5rem;
  }

  .promo h3 {
    font-size: 1.3rem;
  }



  /* New pages — small mobile */
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .stat-pill {
    min-width: 80px;
    padding: 12px 16px;
  }

  .stat-pill__num {
    font-size: 1.3rem;
  }

  .track-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* Track Page Mobile Fix */
.track-card,
.track-form,
.form-group,
.input-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.input-wrap input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width:768px) {

  .track-card {
    padding: 20px 15px !important;
  }

  .track-form {
    max-width: 100% !important;
  }

  .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .input-wrap {
    width: 100% !important;
  }

  .input-wrap input {
    width: 100% !important;
    font-size: 16px !important;
  }
}

/* ============================== CUSTOM RESPONSIVE TABLE ============================== */
.table-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font);
}

.custom-table th {
  background-color: #fafbfc;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-bottom: 1.5px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-table td {
  padding: 18px 20px;
  border-bottom: 1.5px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink);
  vertical-align: middle;
}

.custom-table tbody tr:last-child td {
  border-bottom: none;
}

.custom-table tbody tr {
  transition: background-color 0.2s;
}

.custom-table tbody tr:hover {
  background-color: rgba(255, 77, 141, 0.02);
}

/* Responsive Table styling: Keeps rows as a single horizontal line on mobile, hiding columns marked with hide-mobile */
@media (max-width: 768px) {
  .table-wrap {
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    border-width: 1px;
  }

  .custom-table th {
    padding: 12px 10px !important;
    font-size: 0.78rem !important;
  }

  .custom-table td {
    padding: 12px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Hide columns on mobile to ensure rows stay on a single line */
  .custom-table .hide-mobile {
    display: none !important;
  }

  /* Make action buttons slightly smaller on mobile */
  .custom-table td .btn {
    padding: 0 12px !important;
    font-size: 0.76rem !important;
    height: 30px !important;
    line-height: 28px !important;
  }
}

/* ================================ PRODUCT DETAIL PAGE ================================ */
.prod-detail {
  padding-block: 50px;
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.prod-gallery {
  position: relative;
  background: linear-gradient(135deg, var(--g1, #ffe3ee), var(--g2, #ffe9f1));
  border-radius: var(--radius-xl);
  aspect-ratio: 1.1/1;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.prod-gallery__emoji {
  font-size: 8rem;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  animation: float 4s ease-in-out infinite;
}

.prod-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prod-info__cat {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pink);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.prod-info__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.prod-info__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.prod-info__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.prod-info__price .now {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink);
}

.prod-info__price .was {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--muted);
}

.prod-info__price .off {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  padding: 4px 10px;
  border-radius: 99px;
  margin-left: 4px;
}

.prod-info__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.prod-info__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.prod-info__meta strong {
  color: var(--ink);
}

.prod-info__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  align-items: center;
}

.prod-info__qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  height: 48px;
}

.prod-info__qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--ink-soft);
  transition: 0.2s;
}

.prod-info__qty-btn:hover {
  background: var(--line);
  color: var(--ink);
}

.prod-info__qty-input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: none;
}

.prod-info__btn-cart {
  flex: 1;
  height: 48px;
  font-weight: 700;
}

.prod-info__btn-wish {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
}

.prod-info__btn-wish:hover {
  border-color: var(--pink-soft);
  color: var(--pink);
}

.prod-info__btn-wish.is-active {
  background: var(--pink-soft);
  border-color: var(--pink-soft);
  color: var(--pink);
}

.prod-policy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #f4f6fc;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
}

.prod-policy__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.prod-policy__item svg {
  color: var(--blue);
}

/* Tabs */
.prod-tabs {
  margin-top: 40px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.prod-tabs__nav {
  display: flex;
  background: #f4f6fc;
  border-bottom: 1.5px solid var(--line);
}

.prod-tabs__btn {
  flex: 1;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
  border-bottom: 3px solid transparent;
}

.prod-tabs__btn:hover {
  color: var(--blue);
}

.prod-tabs__btn.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: #fff;
}

.prod-tabs__content {
  padding: 30px;
}

.prod-tabs__panel {
  display: none;
}

.prod-tabs__panel.is-active {
  display: block;
}

.prod-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.prod-specs-table tr {
  border-bottom: 1px solid var(--line);
}

.prod-specs-table tr:last-child {
  border-bottom: none;
}

.prod-specs-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
}

.prod-specs-table td.label {
  font-weight: 700;
  color: var(--ink);
  width: 35%;
}

.prod-specs-table td.value {
  color: var(--ink-soft);
}

.prod-review {
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.prod-review:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.prod-review__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.prod-review__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.prod-review__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.prod-review__comment {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.prod-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  width: 100%;
}

.prod-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.prod-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  transition: 0.2s;
  position: relative;
}

.prod-thumb:hover,
.prod-thumb.is-active {
  border-color: var(--blue);
}

.prod-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.prod-thumb--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="24" height="24" fill="white"><path d="M8 5v14l11-7z"/></svg>') no-repeat center;
  border-radius: 10px;
}

.prod-thumb--instagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="24" height="24" fill="white" stroke="none"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051C.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"/></svg>') no-repeat center;
  border-radius: 10px;
}

#prodGalleryMedia {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prodGalleryMedia img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  animation: float 4s ease-in-out infinite;
}

#prodGalleryMedia iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Thumbnails slider wrapper */
.prod-thumbs-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.prod-thumbs-slider__nav {
  display: none;
}

/* Related products slider wrapper */
.related-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.related-slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 16px;
}

.related-slider__track::-webkit-scrollbar {
  display: none;
}

.related-slider__track .product-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .related-slider__track .product-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

.related-slider__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.related-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid;
  place-items: center;
  transition: 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
}

.related-slider__btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-d));
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 77, 141, 0.3);
}

/* Gallery Zoom Trigger Styling */
.pc-zoom-trigger {
  position: absolute;
  top: 52px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.pc-zoom-trigger svg {
  color: #c8c8d4;
  transition: 0.2s;
}

.pc-zoom-trigger:hover svg {
  color: var(--pink);
  transform: scale(1.2);
}

.pc-zoom-trigger:hover {
  background: var(--pink-soft);
  box-shadow: 0 4px 12px rgba(255, 77, 141, 0.2);
}

#prodGalleryMedia {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prodGalleryMedia img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  animation: float 4s ease-in-out infinite;
  cursor: zoom-in;
}

#prodGalleryMedia iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Lightbox Modal CSS */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
}

.lightbox__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  color: #fff;
}

.lightbox__counter {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
}

.lightbox__controls {
  display: flex;
  gap: 12px;
}

.lightbox__btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox__btn:hover:not(:disabled) {
  background: #fff;
  color: #111;
  transform: scale(1.08);
}

.lightbox__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.25s ease;
}

.lightbox__arrow:hover {
  background: #fff;
  color: #111;
  transform: translateY(-50%) scale(1.08);
}

.lightbox__arrow--left {
  left: 24px;
}

.lightbox__arrow--right {
  right: 24px;
}

.lightbox__content {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  user-select: none;
  pointer-events: auto;
}

.lightbox__img.zoomed {
  cursor: grab;
}

.lightbox__img.zoomed:active {
  cursor: grabbing;
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
  .lightbox__arrow {
    width: 40px;
    height: 40px;
  }
  .lightbox__arrow--left {
    left: 12px;
  }
  .lightbox__arrow--right {
    right: 12px;
  }
  .lightbox__content {
    width: 90%;
    height: 70%;
  }
  .lightbox__header {
    padding: 0 16px;
  }
}

/* Review Modal CSS */
.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 12px;
}

.btn-write-review:hover {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(150, 45, 234, 0.2);
}

.btn-write-review svg {
  transition: transform 0.2s ease;
}

.btn-write-review:hover svg {
  transform: translateY(-1px) rotate(10deg);
}

@media (max-width: 576px) {
  .btn-write-review {
    margin-left: 0;
    margin-top: 4px;
  }
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.review-modal__content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 30px;
  z-index: 1;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.review-modal.is-open .review-modal__content {
  transform: translateY(0);
}

.review-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--pink-soft);
  color: var(--pink);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.review-modal__close:hover {
  background: var(--pink);
  color: #fff;
  transform: rotate(90deg);
}

.review-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.review-modal__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.review-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-modal__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.review-modal__stars {
  display: flex;
  gap: 6px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #e0e0ea;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.15s ease;
}

.star-btn.is-active,
.star-btn:hover {
  color: #feae07;
  transform: scale(1.15);
}

.review-modal__input,
.review-modal__textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}

.review-modal__input:focus,
.review-modal__textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.1);
}

.review-modal__submit-btn {
  margin-top: 10px;
  padding: 14px;
  font-weight: 600;
}

/* Product Details Responsive Improvements */
@media (max-width: 768px) {
  /* Breadcrumb: horizontal scroll, no wrap, no cut-off */
  .breadcrumb {
    display: inline-flex;
    max-width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    margin-bottom: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb a,
  .breadcrumb span {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .breadcrumb svg {
    flex-shrink: 0;
  }

  /* Thumbnail slider: contained, scrollable row */
  .prod-thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
    width: 100%;
    gap: 10px;
  }

  .prod-thumbs::-webkit-scrollbar {
    display: none;
  }

  .prod-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    scroll-snap-align: start;
  }

  .prod-thumbs-slider__nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .prod-thumbs-slider__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--pink);
    display: grid;
    place-items: center;
    transition: 0.25s;
    border: 2px solid transparent;
    cursor: pointer;
  }

  .prod-thumbs-slider__btn:hover {
    background: linear-gradient(135deg, var(--pink), var(--pink-d));
    color: #fff;
  }

  /* Tabs: equal width, no overflow */
  .prod-tabs__nav {
    gap: 0;
  }

  .prod-tabs__btn {
    padding: 14px 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: center;
    min-width: 0;
  }

  .prod-tabs__content {
    padding: 20px 16px;
  }

  .prod-specs-table td {
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .prod-specs-table td.label {
    width: 40%;
  }

  /* Related slider: 2 cards per view on mobile */
  .related-slider__track .product-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .related-slider__track {
    gap: 16px;
  }
}