:root {
  --ink: 7 7 8;
  --ink-soft: 18 18 20;
  --ink-mute: 28 28 32;
  --paper: 251 247 244;
  --paper-mute: 232 224 218;
  --blush: 244 168 196;
  --rose: #e56b9a;
  --rose-deep: #c94a7c;
  color-scheme: dark;
}

html[data-theme="light"] {
  --ink: 251 247 244;
  --ink-soft: 243 236 231;
  --ink-mute: 255 252 250;
  --paper: 32 24 28;
  --paper-mute: 92 74 82;
  --blush: 176 72 112;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: rgb(var(--ink));
}

body {
  background: rgb(var(--ink));
  color: rgb(var(--paper));
  overflow-x: hidden;
  max-width: 100%;
}

[x-cloak] {
  display: none !important;
}

::selection {
  background: #e85a8c;
  color: #fff;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.hamburger {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.hamburger span {
  position: absolute;
  left: 0;
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }

.hamburger.is-open span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-glass {
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="light"] .nav-glass {
  background: rgba(251, 247, 244, 0.88);
}

.theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

html[data-theme="light"] .on-photo {
  --ink: 7 7 8;
  --ink-soft: 18 18 20;
  --paper: 251 247 244;
  color: #fbf7f4;
}

html[data-theme="light"] .border-white\/5 {
  border-color: rgba(32, 24, 28, 0.08);
}

html[data-theme="light"] .border-white\/10 {
  border-color: rgba(32, 24, 28, 0.12);
}

html[data-theme="light"] .border-white\/15 {
  border-color: rgba(32, 24, 28, 0.16);
}

html[data-theme="light"] .border-white\/20 {
  border-color: rgba(32, 24, 28, 0.2);
}

html[data-theme="light"] .on-photo.border-white\/5,
html[data-theme="light"] .on-photo .border-white\/5,
html[data-theme="light"] .on-photo.border-white\/10,
html[data-theme="light"] .on-photo .border-white\/10,
html[data-theme="light"] .on-photo.border-white\/15,
html[data-theme="light"] .on-photo .border-white\/15,
html[data-theme="light"] .on-photo.border-white\/20,
html[data-theme="light"] .on-photo .border-white\/20 {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-mask {
  background:
    radial-gradient(circle at 85% 12%, rgba(232, 90, 140, 0.28), transparent 32%),
    radial-gradient(circle at 10% 88%, rgba(244, 184, 204, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(7, 7, 8, 0.2) 0%, rgba(7, 7, 8, 0.55) 58%, #070708 100%);
}

.pink-glow {
  box-shadow: 0 0 0 1px rgba(232, 90, 140, 0.25), 0 20px 60px -20px rgba(232, 90, 140, 0.45);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.card-shine:hover::after {
  transform: translateX(120%);
}

.product-img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.group:hover .product-img {
  transform: scale(1.08);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #070708;
}

::-webkit-scrollbar-thumb {
  background: #e85a8c;
  border-radius: 99px;
  border: 2px solid #070708;
}

.toast {
  animation: toast-in 0.35s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

input, textarea, select {
  color-scheme: dark;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color-scheme: light;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #fbf7f4;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  border-color: #fbf7f4;
}

html[data-theme="light"] .swiper-pagination-bullet {
  background: #20181c !important;
}

html[data-theme="light"] .on-photo .swiper-pagination-bullet {
  background: #fff !important;
}

.hero-swiper {
  width: 100%;
  height: 100svh;
  height: 100dvh;
  margin-top: calc(-1 * (4.5rem + env(safe-area-inset-top, 0px)));
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide {
  background: #070708;
}

.hero-swiper .hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-swiper .swiper-pagination {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
}

.hero-nav {
  color: #f4a8c4 !important;
  width: 42px !important;
  height: 42px !important;
  top: auto !important;
  bottom: 4.5rem !important;
  margin-top: 0 !important;
}

.hero-nav::after {
  font-size: 18px !important;
}

.featured-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.featured-swiper .swiper-slide > article {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-pagination-bullet,
.category-swiper .swiper-pagination-bullet,
.featured-swiper .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.35 !important;
}

.hero-swiper .swiper-pagination-bullet-active,
.category-swiper .swiper-pagination-bullet-active,
.featured-swiper .swiper-pagination-bullet-active {
  background: #e56b9a !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .hero-nav {
    display: none !important;
  }
}

.winter-link {
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ff8a1e;
}

.winter-link span {
  color: #3ec6ff;
}

.winter-link:hover {
  opacity: 0.82;
}

