/* ============================================================
   NickAviz — Quiet Luxury Boutique
   Editorial · Minimal · Expensive
   ============================================================ */

:root {
  --nx-bg: #FFF9FB;
  --nx-bg-2: #FBF3F6;
  --nx-cream: #F7F1EC;
  --nx-blush: #F7D7E6;
  --nx-soft: #FCEEF5;
  --nx-accent: #EFB4CC;
  --nx-rose: #C86B96;
  --nx-ink: #2F2430;
  --nx-mute: #7A6570;
  --nx-faint: #BCA8B3;
  --nx-line: #F0D8E4;
  --nx-white: #FFFFFF;
  --nx-ok: #7ABF8E;
  --nx-err: #D66A7D;
  --nx-shadow: 0 18px 48px rgba(47, 36, 48, 0.07);
  --nx-shadow-lg: 0 28px 70px rgba(47, 36, 48, 0.11);
  --nx-r: 22px;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-font: 'Vazirmatn', Tahoma, sans-serif;
  --nx-display: 'Markazi Text', 'Peyda', 'Vazirmatn', serif;
  --header: 68px;
  --announce: 34px;
  --tabbar: 0px;
}

html[data-theme="light"] {
  --bg-0: #FFF8FB;
  --bg-1: #FBF3F6;
  --bg-2: #F7D7E6;
  --bg-card: #FFFFFF;
  --bg-hover: #FCEEF5;
  --gold: #D97FA8;
  --gold-mid: #EFB4CC;
  --gold-light: #D97FA8;
  --gold-glow: rgba(217, 127, 168, 0.2);
  --text: #3A2A33;
  --text-soft: #7A6570;
  --text-dim: #BCA8B3;
  --line: #F3DDE8;
  --line-strong: #EFB4CC;
  --font: var(--nx-font);
  --font-display: var(--nx-display);
  --radius: 22px;
  --shadow: var(--nx-shadow);
}

html[data-theme="dark"] {
  --nx-bg: #1a1418;
  --nx-bg-2: #221a20;
  --nx-cream: #2a2026;
  --nx-blush: #3a2832;
  --nx-soft: #2e222a;
  --nx-accent: #8a5a70;
  --nx-rose: #EFB4CC;
  --nx-ink: #FFF8FB;
  --nx-mute: #C8B4BE;
  --nx-faint: #8A7480;
  --nx-line: rgba(243, 221, 232, 0.14);
  --nx-white: #241c22;
  --bg-0: #1a1418;
  --bg-1: #221a20;
  --bg-2: #2e222a;
  --bg-card: #241c22;
  --bg-hover: #2e222a;
  --gold: #EFB4CC;
  --gold-mid: #D97FA8;
  --gold-light: #F7D7E6;
  --text: #FFF8FB;
  --text-soft: #C8B4BE;
  --text-dim: #8A7480;
  --line: rgba(243, 221, 232, 0.14);
}

/* ---- Base ---- */
body {
  font-family: var(--nx-font);
  font-weight: 400;
  background: var(--nx-bg) !important;
  background-image: none !important;
  color: var(--nx-ink);
}

#main-content {
  padding-top: calc(var(--header) + var(--announce));
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, .nx-head h2, .section-title h2, .logo {
  font-family: var(--nx-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- Announce ---- */
.announce-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1001;
  height: var(--announce);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2F2430;
  border-bottom: none;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 248, 251, 0.88);
  letter-spacing: 0.04em;
}
.announce-bar p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.announce-dot { opacity: 0.45; }

/* ---- Nav ---- */
.site-header.nx-nav {
  top: var(--announce);
  height: var(--header);
  background: rgba(255, 249, 251, 0.78) !important;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(240, 216, 228, 0.7) !important;
  box-shadow: 0 10px 40px rgba(47, 36, 48, 0.04) !important;
}
.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
}
.menu-toggle,
#menu-toggle,
.mobile-nav,
#btn-theme {
  display: none !important;
}

.logo {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  background: none !important;
  color: var(--nx-ink) !important;
  -webkit-text-fill-color: var(--nx-ink);
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #EFB4CC, #C86B96);
  font-family: var(--nx-font);
  box-shadow: 0 8px 20px rgba(200, 107, 150, 0.28);
  object-fit: cover;
  flex-shrink: 0;
}
img.logo-mark,
.logo-img {
  padding: 0;
  background: #fff;
  border: 1px solid var(--nx-line);
  box-shadow: 0 6px 16px rgba(47, 36, 48, 0.08);
}
.logo-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.logo .logo-full { display: inline; font-family: var(--nx-display); font-size: 1.2rem; letter-spacing: 0.04em; }
.logo .logo-short { display: none; font-family: var(--nx-display); font-size: 1.05rem; }
@media (max-width: 640px) {
  .logo .logo-full { display: none; }
  .logo .logo-short { display: inline; }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-desktop a {
  color: var(--nx-mute);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.35s var(--nx-ease), background 0.35s var(--nx-ease);
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--nx-ink);
  background: rgba(247, 215, 230, 0.55);
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--nx-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--nx-mute);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.35s var(--nx-ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover {
  color: var(--nx-rose);
  border-color: var(--nx-accent);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 107, 150, 0.12);
}
.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #EFB4CC, #C86B96) !important;
  color: #fff !important;
  border: 2px solid #fff;
}

/* ---- Buttons ---- */
.btn {
  border-radius: 999px !important;
  font-weight: 500 !important;
  padding: 0.95rem 1.85rem !important;
  transition: transform 0.35s var(--nx-ease), box-shadow 0.35s var(--nx-ease), filter 0.35s var(--nx-ease) !important;
}
.btn-gold {
  background: linear-gradient(135deg, #EFB4CC 0%, #C86B96 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 14px 34px rgba(200, 107, 150, 0.32) !important;
}
.btn-gold:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04);
  box-shadow: 0 18px 40px rgba(200, 107, 150, 0.38) !important;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1.5px solid var(--nx-line) !important;
  color: var(--nx-ink) !important;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--nx-soft) !important;
  border-color: var(--nx-accent) !important;
  color: var(--nx-ink) !important;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #FFF8FB !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
}

/* ---- Hero ---- */
.nx-hero,
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}
.nx-hero .hero-slide,
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.35s var(--nx-ease), transform 14s linear;
  transform: scale(1.06);
}
.nx-hero .hero-slide.active,
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.nx-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(200, 107, 150, 0.28), transparent 55%),
    linear-gradient(105deg, rgba(30, 22, 32, 0.78) 0%, rgba(30, 22, 32, 0.35) 48%, rgba(255, 248, 251, 0.05) 100%),
    linear-gradient(0deg, var(--nx-bg) 0%, transparent 38%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}
.nx-hero-inner { max-width: 620px; }
.nx-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nx-rose);
  margin-bottom: 1rem;
}
.nx-hero .nx-kicker {
  color: rgba(247, 215, 230, 0.95);
  animation: nxFade 0.9s var(--nx-ease) both;
}
.nx-hero-inner h1 {
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 1.05;
  color: #FFF8FB;
  font-weight: 600;
  margin-bottom: 1.25rem;
  animation: nxFade 1s 0.08s var(--nx-ease) both;
}
.nx-hero-inner h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #F7D7E6, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.nx-hero-lead {
  color: rgba(255, 248, 251, 0.86);
  font-size: 1.05rem;
  max-width: 400px;
  margin-bottom: 2rem;
  line-height: 1.85;
  animation: nxFade 1s 0.16s var(--nx-ease) both;
}
.nx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: nxFade 1s 0.22s var(--nx-ease) both;
}
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.hero-dot {
  width: 26px;
  height: 2px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.35s, background 0.35s;
}
.hero-dot.active { width: 44px; background: #F7D7E6; }
.nx-hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 1.75rem;
  z-index: 2;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.nx-hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: #F7D7E6;
  animation: nxScrollDot 1.6s ease-in-out infinite;
}
@keyframes nxScrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

/* ---- Ticker ---- */
.nx-ticker .marquee-wrap {
  background: var(--nx-cream) !important;
  border-color: var(--nx-line) !important;
  padding: 1rem 0 !important;
}
.nx-ticker .marquee span {
  color: var(--nx-mute) !important;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ---- Sections ---- */
.nx-section { padding: 5.5rem 0; }
.nx-head { margin-bottom: 2.75rem; }
.nx-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: var(--nx-ink);
  font-weight: 600;
}
.nx-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.nx-link {
  color: var(--nx-rose);
  font-weight: 500;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nx-link:hover { border-color: var(--nx-rose); color: var(--nx-rose); }

/* ---- Categories ---- */
.nx-cat-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
@media (max-width: 1000px) {
  .nx-cat-grid, .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nx-cat-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow);
  background: var(--nx-soft);
  transition: transform 0.45s var(--nx-ease), box-shadow 0.45s var(--nx-ease);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(58, 42, 51, 0.55) 100%);
  pointer-events: none;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--nx-ease);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nx-shadow-lg);
}
.category-card:hover img { transform: scale(1.08); }
.cat-label {
  position: absolute;
  bottom: 1.1rem;
  right: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  color: #fff;
  font-family: var(--nx-display);
  font-size: 1.25rem;
  font-weight: 600;
  background: none !important;
  text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.cat-count {
  display: block;
  font-family: var(--nx-font);
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.2rem;
  letter-spacing: 0.06em;
}

/* ---- Products ---- */
.products-grid.nx-products,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: var(--nx-white);
  border: 1px solid var(--nx-line);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--nx-shadow);
  transition: transform 0.45s var(--nx-ease), box-shadow 0.45s var(--nx-ease), border-color 0.45s var(--nx-ease);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--nx-shadow-lg);
  border-color: var(--nx-accent);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--nx-cream);
  overflow: hidden;
}
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58,42,51,0.08));
  pointer-events: none;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--nx-ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.product-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s var(--nx-ease);
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: none;
}
.pc-act {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--nx-line);
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--nx-ink);
  transition: background 0.25s, color 0.25s;
}
.pc-act:hover { background: var(--nx-rose); color: #fff; border-color: var(--nx-rose); }
.pc-act svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.product-info { padding: 1.25rem 1.3rem 1.45rem; }
.product-info h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--nx-ink);
  margin-bottom: 0.45rem;
  line-height: 1.45;
}
.price-current {
  font-weight: 600;
  color: var(--nx-rose);
  font-size: 1.02rem;
}
.price-old {
  color: var(--nx-faint);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}
.product-cta {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--nx-mute);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover .product-cta { opacity: 1; color: var(--nx-rose); }

.badge-discount, .badge-new, .product-badge {
  border-radius: 999px !important;
  font-weight: 500 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.04em;
}
.badge-discount { background: var(--nx-rose) !important; color: #fff !important; border: none !important; }
.badge-new { background: var(--nx-blush) !important; color: var(--nx-ink) !important; border: 1px solid var(--nx-line) !important; }

/* ---- Gift banner ---- */
.nx-banner {
  padding: 2rem 0 5rem;
}
.nx-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  min-height: 380px;
  background: var(--nx-white);
  box-shadow: var(--nx-shadow);
}
.nx-banner-copy {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #FFF8FB, #FCEEF5 60%, #F7F1EC);
}
.nx-banner-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--nx-ink);
}
.nx-banner-copy p {
  color: var(--nx-mute);
  margin-bottom: 1.75rem;
  max-width: 360px;
  line-height: 1.8;
}
.nx-banner-visual {
  background:
    linear-gradient(135deg, rgba(247, 215, 230, 0.35), rgba(58, 42, 51, 0.15)),
    url('assets/images/hero2.jpg') center/cover;
}
@media (max-width: 800px) {
  .nx-banner-grid { grid-template-columns: 1fr; }
  .nx-banner-visual { min-height: 220px; }
}

/* ---- Promise ---- */
.nx-promise { background: var(--nx-cream); }
.nx-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .nx-promise-grid { grid-template-columns: repeat(2, 1fr); }
}
.nx-promise-card {
  background: var(--nx-white);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--nx-shadow);
  transition: transform 0.35s var(--nx-ease);
}
.nx-promise-card:hover { transform: translateY(-4px); }
.nx-promise-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--nx-ink);
}
.nx-promise-card p {
  color: var(--nx-mute);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Editorial ---- */
.nx-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.nx-edit-img {
  border-radius: 24px;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--nx-line);
}
.nx-edit-a { background-image: linear-gradient(rgba(58,42,51,0.1), rgba(58,42,51,0.25)), url('assets/images/hero1.jpg'); }
.nx-edit-b { background-image: linear-gradient(rgba(58,42,51,0.1), rgba(58,42,51,0.25)), url('assets/images/hero3.jpg'); }
.nx-edit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.nx-edit-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  color: var(--nx-ink);
}
.nx-edit-copy p {
  color: var(--nx-mute);
  margin-bottom: 1.75rem;
  line-height: 1.85;
}
@media (max-width: 900px) {
  .nx-editorial-grid { grid-template-columns: 1fr; }
  .nx-edit-img { min-height: 260px; }
}

/* ---- Reviews ---- */
.nx-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .nx-review-grid { grid-template-columns: 1fr; }
}
.nx-review {
  background: var(--nx-white);
  border: 1px solid var(--nx-line);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  box-shadow: var(--nx-shadow);
  margin: 0;
}
.nx-review p {
  color: var(--nx-ink);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-family: var(--nx-display);
  font-weight: 500;
}
.nx-review cite {
  color: var(--nx-faint);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---- Newsletter ---- */
.nx-newsletter { padding-bottom: 6rem; }
.nx-news-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3rem;
  border-radius: 28px;
  border: 1px solid var(--nx-line);
  background: linear-gradient(135deg, #FFF8FB, #FCEEF5 50%, #F7F1EC);
  box-shadow: var(--nx-shadow);
}
.nx-news-box h2 {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
  color: var(--nx-ink);
}
.nx-news-box p { color: var(--nx-mute); }
.nx-news-form {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-width: min(100%, 360px);
}
.nx-news-form input {
  flex: 1;
  min-width: 200px;
  border-radius: 999px !important;
  border: 1.5px solid var(--nx-line) !important;
  padding: 0.9rem 1.2rem !important;
  background: #fff !important;
}

/* ---- Shop / shared pages ---- */
.section-title h2,
.section-title .eyebrow {
  color: var(--nx-ink);
}
.section-title .eyebrow,
.eyebrow {
  color: var(--nx-rose) !important;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.shop-toolbar,
.summary-box,
.auth-box,
.card-info-box,
.track-box,
.account-panel,
.order-card-modern {
  background: var(--nx-white) !important;
  border: 1px solid var(--nx-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--nx-shadow);
}
.auth-aside {
  background: linear-gradient(160deg, #F7D7E6, #FCEEF5, #F7F1EC) !important;
  border-radius: 28px;
  border: 1px solid var(--nx-line);
}
input, select, textarea {
  border-radius: 16px !important;
  border: 1.5px solid var(--nx-line) !important;
  background: #fff !important;
  color: var(--nx-ink) !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--nx-accent) !important;
  box-shadow: 0 0 0 4px rgba(239, 180, 204, 0.22) !important;
}

/* ---- Footer ---- */
.site-footer.nx-footer,
.site-footer {
  background: #2F2430 !important;
  border-top: none;
  padding: 4.5rem 0 2rem;
  margin-top: 3rem;
  color: rgba(255, 248, 251, 0.78);
}
.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #FFF8FB !important;
  font-family: var(--nx-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.footer-brand p,
.footer-link,
.footer-contact-list {
  color: rgba(255, 248, 251, 0.62) !important;
  line-height: 1.8;
}
.footer-nav h4,
.footer-contact h4 {
  font-family: var(--nx-display);
  color: #FFF8FB !important;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-link {
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer-link:hover { color: #F7D7E6 !important; }
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
}
.footer-social {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.footer-social a {
  font-size: 0.82rem;
  color: rgba(255, 248, 251, 0.55);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-social a:hover {
  color: #F7D7E6;
  border-color: #F7D7E6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 248, 251, 0.1);
  color: rgba(255, 248, 251, 0.42);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  font-size: 0.82rem;
}
.developer-signature {
  background: none;
  border: none;
  color: rgba(255, 248, 251, 0.45);
  cursor: pointer;
  font-size: 0.8rem;
}
.developer-signature strong { color: #F7D7E6; font-weight: 600; }

.mobile-nav {
  display: none !important;
}

/* ---- App tab bar (mobile) ---- */
.app-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 249, 251, 0.92);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border-top: 1px solid rgba(240, 216, 228, 0.85);
  box-shadow: 0 -12px 40px rgba(47, 36, 48, 0.08);
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--nx-faint);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  border-radius: 14px;
  transition: color 0.25s, transform 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.tab-item svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab-item.active {
  color: var(--nx-rose);
}
.tab-item.active svg {
  transform: translateY(-1px);
}
.tab-cart-bubble {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #EFB4CC, #C86B96);
  color: #fff;
  box-shadow: 0 12px 28px rgba(200, 107, 150, 0.38);
  border: 3px solid #FFF9FB;
}
.tab-cart-bubble svg { width: 20px; height: 20px; color: #fff; }
.tab-cart { color: var(--nx-mute); }
.tab-cart.active { color: var(--nx-rose); }
.tab-cart-badge {
  top: -2px !important;
  left: -2px !important;
  right: auto !important;
  border-color: #FFF9FB !important;
  display: none;
}

@media (max-width: 860px) {
  :root { --tabbar: 64px; --header: 60px; --announce: 30px; }
  .app-tabbar { display: grid; }
  .header-cart-btn { display: none !important; }
  .nx-hero, .hero { min-height: min(86vh, 640px); }
  .nx-hero-overlay { padding-bottom: 4.5rem; align-items: flex-end; }
  .nx-hero-inner h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .nx-hero-scroll { display: none; }
  .hero-dots { bottom: 1.35rem; }
  .footer-top, .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .site-footer { padding-bottom: calc(2rem + var(--tabbar)); margin-bottom: 0; }
  .nx-section { padding: 3.25rem 0; }
  .nx-news-box { padding: 2rem 1.4rem; }
  .product-actions { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .footer-top, .footer-grid { grid-template-columns: 1fr; }
  .announce-bar { font-size: 0.66rem; }
}

/* ---- Special offers ---- */
.nx-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .nx-offer-grid { grid-template-columns: 1fr; }
}
.nx-offer {
  position: relative;
  display: block;
  padding: 2.25rem 1.75rem;
  min-height: 200px;
  border-radius: 24px;
  border: 1px solid var(--nx-line);
  overflow: hidden;
  text-decoration: none;
  color: var(--nx-ink);
  box-shadow: var(--nx-shadow);
  transition: transform 0.45s var(--nx-ease), box-shadow 0.45s var(--nx-ease);
}
.nx-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--nx-ease);
  z-index: 0;
}
.nx-offer-a::before { background-image: linear-gradient(135deg, rgba(255,248,251,0.92), rgba(247,215,230,0.75)), url('assets/images/hero1.jpg'); }
.nx-offer-b::before { background-image: linear-gradient(135deg, rgba(255,248,251,0.92), rgba(247,241,236,0.8)), url('assets/images/hero2.jpg'); }
.nx-offer-c::before { background-image: linear-gradient(135deg, rgba(255,248,251,0.92), rgba(252,238,245,0.8)), url('assets/images/hero3.jpg'); }
.nx-offer > * { position: relative; z-index: 1; }
.nx-offer:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-offer:hover::before { transform: scale(1.06); }
.nx-offer-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--nx-line);
  color: var(--nx-rose);
  margin-bottom: 1rem;
}
.nx-offer h3 {
  font-family: var(--nx-display);
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}
.nx-offer p { color: var(--nx-mute); font-size: 0.92rem; line-height: 1.7; max-width: 260px; }

/* ---- Lookbook / video banner ---- */
.nx-lookbook {
  padding: 2rem 0 5rem;
}
.nx-look-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: center;
}
.nx-look-copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--nx-ink);
}
.nx-look-copy p {
  color: var(--nx-mute);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  max-width: 380px;
}
.nx-look-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow-lg);
  aspect-ratio: 16/10;
}
.nx-look-media {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(120deg, rgba(58,42,51,0.25), rgba(247,215,230,0.2)),
    url('assets/images/hero2.jpg') center/cover;
  animation: nxLookFloat 12s ease-in-out infinite alternate;
}
@keyframes nxLookFloat {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (max-width: 900px) {
  .nx-look-inner { grid-template-columns: 1fr; }
}

/* ---- Instagram ---- */
.nx-ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .nx-ig-grid { grid-template-columns: repeat(3, 1fr); }
}
.nx-ig-cell {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  background-size: cover;
  background-position: center;
  transition: transform 0.45s var(--nx-ease), box-shadow 0.45s var(--nx-ease);
  cursor: pointer;
}
.nx-ig-cell:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--nx-shadow);
}
.nx-ig-1 { background-image: url('assets/images/hero1.jpg'); }
.nx-ig-2 { background-image: url('assets/images/hero2.jpg'); }
.nx-ig-3 { background-image: url('assets/images/hero3.jpg'); }
.nx-ig-4 { background-image: linear-gradient(rgba(247,215,230,0.35), rgba(58,42,51,0.2)), url('assets/images/hero1.jpg'); background-position: 30% 40%; }
.nx-ig-5 { background-image: linear-gradient(rgba(247,241,236,0.3), rgba(58,42,51,0.2)), url('assets/images/hero2.jpg'); background-position: 70% 60%; }
.nx-ig-6 { background-image: linear-gradient(rgba(252,238,245,0.35), rgba(58,42,51,0.2)), url('assets/images/hero3.jpg'); background-position: 50% 20%; }

/* ---- Blog preview ---- */
.nx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .nx-blog-grid { grid-template-columns: 1fr; }
}
.nx-blog-card {
  background: var(--nx-white);
  border: 1px solid var(--nx-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--nx-shadow);
  transition: transform 0.4s var(--nx-ease);
}
.nx-blog-card:hover { transform: translateY(-6px); }
.nx-blog-thumb {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}
.nx-blog-t1 { background-image: url('assets/images/hero1.jpg'); }
.nx-blog-t2 { background-image: url('assets/images/hero3.jpg'); }
.nx-blog-t3 { background-image: url('assets/images/hero2.jpg'); }
.nx-blog-body { padding: 1.35rem 1.4rem 1.6rem; }
.nx-blog-meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-rose);
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.nx-blog-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--nx-ink);
  line-height: 1.45;
}
.nx-blog-body p { color: var(--nx-mute); font-size: 0.9rem; line-height: 1.7; }

.nx-stars {
  color: var(--nx-rose);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  color: var(--nx-faint);
}
.product-rating .stars { color: var(--nx-rose); letter-spacing: 0.05em; }
.badge-sold {
  background: rgba(58, 42, 51, 0.72) !important;
  color: #fff !important;
  border: none !important;
}

/* ---- Product detail ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  padding: 3rem 0 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 1.75rem; }
}
.product-detail-img {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  background: var(--nx-cream);
  box-shadow: var(--nx-shadow-lg);
  aspect-ratio: 1;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0.75rem 0 0.5rem;
  color: var(--nx-ink);
}
.product-detail-info .desc {
  color: var(--nx-mute);
  line-height: 1.85;
  margin: 1rem 0 1.5rem;
}
.option-group { margin-bottom: 1.15rem; }
.option-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--nx-mute);
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.option-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option-btn {
  border-radius: 999px !important;
  border: 1.5px solid var(--nx-line) !important;
  background: #fff !important;
  color: var(--nx-ink) !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s var(--nx-ease);
}
.option-btn.selected,
.option-btn:hover {
  border-color: var(--nx-rose) !important;
  background: var(--nx-soft) !important;
  color: var(--nx-ink) !important;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--nx-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-control button {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--nx-ink);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
}

/* ---- Cart / checkout ---- */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1.75rem;
  padding: 2.5rem 0 4rem;
}
@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}
.summary-box {
  padding: 1.75rem !important;
  height: fit-content;
  position: sticky;
  top: calc(var(--header) + var(--announce) + 1rem);
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1.5px solid var(--nx-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.payment-option:has(input:checked) {
  border-color: var(--nx-accent);
  background: var(--nx-soft);
}
.card-info-box {
  padding: 1.25rem 1.4rem !important;
  margin-top: 1rem;
}
.card-info-box code {
  font-family: var(--nx-font);
  color: var(--nx-ink);
  background: var(--nx-cream);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 0.5rem 0;
}

/* ---- Auth / account polish ---- */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  padding: 3rem 0 5rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
.auth-box { padding: 2.25rem !important; }
.auth-aside {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-aside-eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--nx-rose);
  margin-bottom: 1rem;
}
.auth-aside-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--nx-ink);
}
.auth-aside-desc {
  color: var(--nx-mute);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.guest-card,
.account-header,
.profile-section,
.orders-section,
.account-stats .stat-item {
  background: var(--nx-white);
  border: 1px solid var(--nx-line);
  border-radius: 22px;
  box-shadow: var(--nx-shadow);
}
.guest-card { padding: 3rem 2rem; text-align: center; max-width: 560px; margin: 2rem auto; }
.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) {
  .account-stats { grid-template-columns: 1fr; }
}
.account-stats .stat-item {
  padding: 1.35rem 1.25rem;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--nx-display);
  font-size: 1.75rem;
  color: var(--nx-rose);
  font-weight: 600;
}
.stat-label { color: var(--nx-mute); font-size: 0.85rem; }
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.profile-section, .orders-section {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.track-box {
  max-width: 640px;
  margin: 2.5rem auto 4rem;
  padding: 2.5rem 2rem !important;
}
.track-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.footer-social a {
  font-size: 0.82rem;
  color: rgba(255, 248, 251, 0.55);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-social a:hover {
  color: #F7D7E6;
  border-color: #F7D7E6;
}
.filter-tab {
  border-radius: 999px !important;
  border: 1.5px solid var(--nx-line) !important;
  background: #fff !important;
  color: var(--nx-mute) !important;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s var(--nx-ease);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--nx-soft) !important;
  border-color: var(--nx-accent) !important;
  color: var(--nx-ink) !important;
}
.view-toggle button {
  border-radius: 999px !important;
  border: 1.5px solid var(--nx-line);
  background: #fff;
  color: var(--nx-mute);
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
.view-toggle button.active {
  background: var(--nx-blush);
  color: var(--nx-ink);
  border-color: var(--nx-accent);
}

.nx-seo-copy {
  max-width: 720px;
  color: var(--nx-mute);
  line-height: 1.95;
  font-size: 1.02rem;
}
.nx-seo-copy strong { color: var(--nx-ink); font-weight: 600; }

@keyframes nxFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.page.active { animation: nxFade 0.5s var(--nx-ease); }

@media (prefers-reduced-motion: reduce) {
  .nx-hero .hero-slide,
  .nx-look-media,
  .nx-hero-scroll span,
  .page.active {
    animation: none !important;
    transition: none !important;
  }
}
