/* ============ MASH T-shirts — styles ============ */

:root {
  --plum: #1b1b22;
  --plum-dark: #0b0b0f;
  --gold: #d7ff3e;
  --gold-light: #eaff9c;
  --ink: #141418;
  --cream: #f7f7f3;
  --cream-2: #ecece6;
  --white: #fff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

.grad-text {
  background: linear-gradient(120deg, var(--gold), #9cff2e, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { margin-top: 10px; color: #5c5c66; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.4px;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), #b8e62a);
  color: #141414;
  box-shadow: 0 10px 25px rgba(215, 255, 62, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(215, 255, 62, 0.45); }

.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.btn-dark { background: var(--plum-dark); color: var(--gold-light); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--plum-dark);
  color: #dce9a8;
  font-size: 0.85rem;
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 60;
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 8px;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

.topbar-link { color: var(--gold-light); border-bottom: 1px dotted; }
.topbar-link:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 35px;
  z-index: 55;
  background: rgba(247, 247, 243, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.brand-mark {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--plum-dark); }
.brand-tag { font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: #4d4d56;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--plum));
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--plum); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
  position: relative;
  color: var(--plum-dark);
}

.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.icon-btn:hover { transform: translateY(-2px); background: var(--plum); color: var(--gold); }

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: #141414;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump 0.4s ease; }

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 26px; height: 3px; border-radius: 3px; background: var(--plum-dark); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 35px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(215, 255, 62, 0.10), transparent 60%),
    radial-gradient(700px 450px at 10% 85%, rgba(215, 255, 62, 0.08), transparent 60%),
    linear-gradient(135deg, #15151b 0%, #1d1d26 45%, #0d0d12 100%);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 24px 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.6px);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 860px; animation: heroIn 1s ease both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-size: 0.82rem;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.05);
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title em { color: var(--gold-light); font-style: italic; }

.hero-sub { max-width: 580px; margin: 0 auto 34px; color: #c9c9d4; font-size: 1.12rem; font-weight: 300; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }

.hero-stats { display: flex; justify-content: center; gap: clamp(28px, 7vw, 80px); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold-light); }
.hero-stats span { font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; color: #c9c9d4; }

.hero-shapes .floaty {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0.35;
  z-index: 1;
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}

.f1 { top: 18%; left: 8%; }
.f2 { top: 30%; right: 10%; animation-delay: 1.2s; }
.f3 { bottom: 24%; left: 14%; animation-delay: 2.4s; }
.f4 { bottom: 16%; right: 16%; animation-delay: 0.6s; }
.f5 { top: 12%; right: 30%; animation-delay: 3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9c9d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1.5px; height: 42px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scrolldrop 1.6s infinite;
}

@keyframes scrolldrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: tick 22s linear infinite;
  white-space: nowrap;
  font-weight: 600;
  color: #141414;
  letter-spacing: 0.5px;
}

.ticker-track b { color: var(--plum-dark); }

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

/* ---------- Deal ---------- */
.deal { padding: 80px 24px; }

.deal-card {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 26px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(215, 255, 62, 0.14), transparent 60%),
    linear-gradient(120deg, var(--plum), var(--plum-dark));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.deal-card::after {
  content: "👕";
  position: absolute;
  right: -30px; bottom: -36px;
  font-size: 12rem;
  opacity: 0.08;
}

.deal-tag {
  display: inline-block;
  background: var(--gold);
  color: #141414;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.deal-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 8px; }
.deal-info p { color: #cfcfda; }

.deal-timer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }

.timer-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 74px;
  text-align: center;
}

.timer-box strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-light); display: block; }
.timer-box span { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: #cfcfda; }
.timer-sep { font-size: 1.6rem; color: var(--gold-light); font-weight: 700; }

/* ---------- Collections ---------- */
.collections { padding: 60px 24px 90px; }

.cat-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cat-card {
  border-radius: var(--radius);
  padding: 34px 22px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 200px at 50% -10%, rgba(255,255,255,0.22), transparent 65%);
}

.cat-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow); }

.cat-emoji { font-size: 3rem; display: block; margin-bottom: 14px; position: relative; z-index: 1; }

.cat-card h3 { font-size: 1.4rem; margin-bottom: 6px; position: relative; z-index: 1; }
.cat-card p { font-size: 0.9rem; opacity: 0.9; position: relative; z-index: 1; }

.c-m { background: linear-gradient(140deg, #1e3a8a, #312e81); }
.c-w { background: linear-gradient(140deg, #be185d, #831843); }
.c-k { background: linear-gradient(140deg, #b45309, #d97706); }
.c-s { background: linear-gradient(140deg, #3f3f46, #27272a); }

/* ---------- Shop ---------- */
.shop { padding: 90px 24px; background: var(--cream-2); }

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  color: var(--plum-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.filter-btn:hover { border-color: var(--plum); }

.filter-btn.active {
  background: linear-gradient(120deg, var(--plum), var(--plum-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.product-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardIn 0.5s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16); }

.product-img {
  height: 210px;
  display: grid;
  place-items: center;
  font-size: 4.6rem;
  position: relative;
  transition: transform 0.4s ease;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55) 0%, transparent 50%),
    var(--bg, #ecece6);
}

.p-img-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .product-img { transform: scale(1.03); }

.product-img .p-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #141414;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

.product-img .p-wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.25s ease;
}

.product-card:hover .p-wish { opacity: 1; transform: translateY(0); }
.p-wish.liked { filter: none; }

.product-info { padding: 18px 20px 22px; }

.p-cat { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.p-name { font-family: var(--font-head); font-size: 1.15rem; margin: 4px 0 6px; color: var(--plum-dark); }

.p-meta { font-size: 0.83rem; color: #8a8a94; margin-bottom: 12px; }

.p-row { display: flex; justify-content: space-between; align-items: center; }

.p-price { font-family: var(--font-head); font-size: 1.2rem; color: var(--plum); font-weight: 700; }
.p-price s { font-size: 0.85rem; color: #b3b3bd; margin-left: 8px; font-family: var(--font-body); }

.p-add {
  border: none;
  background: linear-gradient(120deg, var(--plum), var(--plum-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.p-add:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35); }
.p-add.added { background: linear-gradient(120deg, #15803d, #166534); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 24px;
}

.about-visual {
  position: relative;
  height: 420px;
  border-radius: 30px;
  background:
    radial-gradient(400px 300px at 30% 20%, rgba(215, 255, 62, 0.10), transparent 60%),
    linear-gradient(140deg, var(--plum), var(--plum-dark));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.about-emoji { font-size: 7rem; filter: drop-shadow(0 14px 20px rgba(0,0,0,0.35)); animation: floaty 6s ease-in-out infinite; }

.about-card {
  position: absolute;
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--plum-dark);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  animation: floaty 7s ease-in-out infinite;
}

.about-card-1 { top: 26px; left: -20px; }
.about-card-2 { top: 50%; right: -26px; animation-delay: 1.4s; }
.about-card-3 { bottom: 26px; left: -6px; animation-delay: 2.6s; }

.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 18px; }
.about-text p { color: #5c5c66; font-size: 1.05rem; margin-bottom: 22px; }

.about-list { list-style: none; margin-bottom: 30px; display: grid; gap: 12px; }
.about-list li { color: #4d4d56; font-size: 0.98rem; }

/* ---------- Reviews ---------- */
.reviews { padding: 90px 24px 110px; background: var(--cream-2); text-align: center; }

.slider {
  max-width: 720px;
  margin: 0 auto 26px;
  position: relative;
  min-height: 190px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.slide p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--plum-dark);
  margin-bottom: 18px;
  line-height: 1.55;
}

.slide strong { color: #5c5c66; letter-spacing: 0.5px; }

.stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 14px; letter-spacing: 4px; }

.slider-dots { display: flex; justify-content: center; gap: 10px; }

.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.slider-dots button.active { background: var(--plum); width: 30px; border-radius: 8px; }

/* ---------- Contact ---------- */
.contact { padding: 90px 24px; }

.contact-card {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow);
}

.contact-info {
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(231, 201, 107, 0.22), transparent 60%),
    linear-gradient(140deg, var(--plum), var(--plum-dark));
  color: #fff;
  padding: 52px 46px;
}

.contact-info h2 { font-size: 2.1rem; margin-bottom: 24px; }
.contact-info p { margin-bottom: 14px; font-size: 1.02rem; color: #f0dee6; }

.open-hours {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
}

.newsletter {
  background: #fff;
  padding: 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter h3 { font-size: 1.6rem; color: var(--plum-dark); margin-bottom: 10px; }
.newsletter p { color: #5c5c66; margin-bottom: 20px; }

.nl-row { display: flex; gap: 10px; }

.nl-row input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.nl-row input:focus { border-color: var(--plum); }

.nl-ok { display: none; color: #15803d !important; font-weight: 600; }
.nl-ok.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: #0d0d12; color: #cfcfda; padding: 70px 24px 26px; }

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.footer-brand p { font-size: 0.9rem; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.95rem; letter-spacing: 1.5px; margin-bottom: 8px; text-transform: uppercase; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.to-top {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: var(--plum);
  color: var(--gold-light);
  font-size: 1.2rem;
  transition: transform 0.25s, background 0.25s;
}

.to-top:hover { transform: translateY(-4px);   background: var(--gold);
  color: #141414; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 90;
}

.cart-overlay.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: #fff;
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid #eee2e9; /* soft divider */
}

.cart-head h3 { color: var(--plum-dark); font-size: 1.4rem; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: grid; gap: 16px; align-content: start; }

.cart-empty { text-align: center; color: #8a8a94; margin-top: 40px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  padding: 12px;
  animation: cardIn 0.3s ease both;
}

.cart-item .ci-img {
  width: 62px; height: 62px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  background: var(--bg, #ecece6);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.cart-item .ci-img .p-img-real { position: absolute; }



.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-name { font-weight: 600; color: var(--plum-dark); font-size: 0.95rem; }
.cart-item .ci-price { color: var(--gold); font-weight: 700; font-size: 0.88rem; margin-top: 2px; }

.ci-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }

.ci-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  color: var(--plum);
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.ci-qty button:hover { background: var(--plum); color: #fff; }
.ci-qty span { font-weight: 600; min-width: 20px; text-align: center; }

.ci-remove {
  border: none;
  background: none;
  color: #c98a9e;
  font-size: 0.95rem;
  transition: color 0.2s, transform 0.2s;
}

.ci-remove:hover { color: #dc2626; transform: scale(1.15); }

.cart-foot {
  border-top: 1px solid #eee2e9;
  padding: 20px 24px;
  display: grid;
  gap: 14px;
}

.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total span { color: #5c5c66; }
.cart-total strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--plum); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 22, 0.6);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 110;
}

.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal {
  background: #fff;
  border-radius: 24px;
  max-width: 620px;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.show .modal { transform: scale(1) translateY(0); }

.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; }

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

.modal-img {
  min-height: 300px;
  display: grid;
  place-items: center;
  font-size: 6rem;
  background: var(--bg, #ecece6);
}

.modal-info { padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.modal-info .p-name { font-size: 1.5rem; }
.modal-info .p-price { font-size: 1.5rem; margin-bottom: 4px; }
.modal-info p { color: #5c5c66; font-size: 0.92rem; line-height: 1.6; }
.modal-info .btn { align-self: flex-start; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--plum-dark);
  color: #fff;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  z-index: 120;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  font-size: 0.95rem;
}

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

/* ---------- Leave confirmation ---------- */
.leave-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 22, 0.65);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.leave-overlay.show { opacity: 1; pointer-events: auto; }

.leave-box {
  background: #fff;
  border-radius: 22px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  padding: 40px 32px;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.leave-overlay.show .leave-box { transform: scale(1) translateY(0); }

.leave-emoji { font-size: 3.4rem; display: block; margin-bottom: 14px; }

.leave-box h3 { font-size: 1.5rem; color: var(--plum-dark); margin-bottom: 10px; }
.leave-box p { color: #5c5c66; font-size: 0.96rem; margin-bottom: 24px; }

.leave-actions { display: flex; flex-direction: column; gap: 10px; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.pulse-danger { animation: dangerPulse 0.8s ease-in-out infinite; }

@keyframes dangerPulse {
  0%, 100% { box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4); }
  50% { box-shadow: 0 10px 32px rgba(220, 38, 38, 0.75); transform: scale(1.04); }
}

.btn-ghost-leave {
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  color: var(--plum-dark);
}
.btn-ghost-leave:hover { background: var(--cream); }

/* ---------- Fullscreen black & white blink (JS-driven, mobile-safe) ---------- */
.fs-flash {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.fs-flash.on { opacity: 1; }

.fs-img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  animation: fs-img-blink 0.26s steps(2, jump-none) infinite;
  pointer-events: none;
}

@keyframes fs-img-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.fs-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8b5cf6;
  -webkit-text-stroke: 1.5px #10150a;
  text-shadow:
    0 0 0 3px #10150a,
    0 0 30px rgba(139, 92, 246, 0.9),
    0 0 70px rgba(139, 92, 246, 0.6),
    0 6px 0 #10150a;
  opacity: 0;
  transform: scale(1.06);
  transition: transform 0.16s ease-out;
}

.fs-word.show { opacity: 1; transform: scale(1); }

body { transition: filter 0.25s ease; }

body.grayscale { filter: grayscale(1) contrast(1.15); }

html.locked, body.locked { overflow: hidden; height: 100dvh; }

/* ---------- Mobile bottom nav ---------- */
.mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 1.25rem;
  padding: 6px 0;
  color: #8a8a94;
  border-radius: 14px;
  transition: color 0.2s, transform 0.2s;
}

.mobile-nav a span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.5px; }

.mobile-nav a.active { color: var(--plum); transform: translateY(-2px); }
.mobile-nav a.active span { color: var(--gold); }

/* ---------- Startup gate ---------- */
.start-gate {
  position: fixed;
  inset: 0;
  z-index: 128;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.start-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-hint {
  background: rgba(13, 13, 18, 0.92);
  color: #fff;
  padding: 18px 32px;
  border-radius: 60px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1.5px solid rgba(215, 255, 62, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: gatePulse 1.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gatePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ---------- Fullscreen hint ---------- */
.fs-hint {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  background: var(--plum-dark);
  color: #fff;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.fs-hint.show { opacity: 1; transform: translateY(0); }

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

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(300px, 78%);
    background: #fff;
    flex-direction: column;
    padding: 90px 34px 30px;
    gap: 22px;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.15);
    z-index: 80;
  }

  .nav-links.open { transform: translateX(0); }

  .hamburger { display: flex; z-index: 81; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-visual { height: 320px; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img { min-height: 210px; }
}

@media (max-width: 640px) {
  .mobile-nav { display: grid; }
  body { padding-bottom: 66px; }
  .hero { padding: 60px 20px 110px; min-height: 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-img { height: 150px; font-size: 3.4rem; }
  .product-info { padding: 12px 12px 16px; }
  .p-add { padding: 8px 12px; font-size: 0.75rem; }
  .p-price { font-size: 1rem; }
  .section-head { margin-bottom: 32px; }
  .topbar-inner { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .deal-card { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .topbar-link { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .deal-timer { justify-content: center; }
  .nl-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .timer-box { min-width: 62px; padding: 10px 12px; }
}
