/* ============================================================
   DEEP COLLECTION — Premium Black & White
   Modern fashion e-commerce aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --black: #0a0a0a;
  --ink: #111;
  --gray-900: #1c1c1c;
  --gray-700: #3d3d3d;
  --gray-500: #737373;
  --gray-300: #d4d4d4;
  --gray-100: #f4f4f4;
  --white: #fafafa;
  --pure: #ffffff;
  --accent: #e85d04;
  --accent-soft: #fff4ed;
  --accent-mid: #f97316;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--pure);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Theme ambient — multi-colour soft glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 5% 0%, rgba(236, 72, 153, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 65% 48% at 95% 8%, rgba(139, 92, 246, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 55% 42% at 80% 95%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(52, 211, 153, 0.11) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 40%, rgba(250, 204, 21, 0.07) 0%, transparent 50%),
    linear-gradient(165deg, #fdf8ff 0%, #f8fbff 35%, #f5fffb 70%, #fffbf5 100%);
}
body::after {
  content: '';
  position: fixed;
  width: min(480px, 55vw);
  height: min(480px, 55vw);
  top: 18%;
  right: -100px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, rgba(236, 72, 153, 0.1) 40%, transparent 70%);
  filter: blur(48px);
}

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

/* ─── PROMO ─── */
.promo-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-bar a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.promo-bar a:hover { border-color: #fff; }

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 251, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo img {
  height: 44px;
  width: 44px;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.logo .brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.logo .brand-name .main {
  font-family: 'Syne', 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0a0a0a;
}
.logo .brand-name .sub {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #737373;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-actions a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.header-actions a:hover { opacity: 1; }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 8px 18px;
  width: 220px;
  transition: width 0.3s var(--ease), box-shadow 0.2s;
}
.search-box:focus-within {
  width: 280px;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
}
.search-box input::placeholder { color: var(--gray-500); }
.search-box svg { flex-shrink: 0; opacity: 0.45; }

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 48px;
  height: 44px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  padding: 12px 0;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--black);
  transition: width 0.3s var(--ease-out);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  background: var(--black) url('hero.jpg') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 80px;
  color: var(--white);
}
.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.hero-content p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.95;
  max-width: 380px;
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover { background: var(--white); color: var(--black); }
.btn-outline-black {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-black:hover { background: var(--black); color: var(--white); }

/* ─── SECTIONS ─── */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px;
}
.section-full { max-width: 100%; background: linear-gradient(180deg, #f7f7f5 0%, #f0efec 100%); }
.section-full .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.view-all {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.view-all:hover { opacity: 0.5; }

/* ─── CATEGORY GRID ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.category-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.85);
  transition: transform 0.7s var(--ease-out), filter 0.5s ease;
}
.category-card:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}
.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.4s;
}
.category-card:hover .overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
}
.category-card .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.3px;
}
.category-card .count {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 0;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-image img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 2;
}
.badge-sale { background: var(--accent); color: var(--white); }
.badge-new { background: var(--success-soft); color: var(--success); border: 1px solid #bbf7d0; }

.product-quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: rgba(10,10,10,0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
  cursor: pointer;
  border: none;
  width: 100%;
}
.product-card:hover .product-quick { transform: translateY(0); }

.product-info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 14px 16px;
  background: #fff;
}
.product-info .ambient {
  display: none !important; /* was causing washed-out text */
}
.product-info .info-inner {
  position: relative;
  z-index: 2;
}
.product-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.1px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111;
}
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 14px; font-weight: 600; color: #111; }
.price-old { font-size: 13px; color: var(--gray-500); text-decoration: line-through; }
.discount { font-size: 11px; color: var(--gray-500); font-weight: 500; }

/* No frosted overlay — keep product title/price crisp */
.product-info::after {
  display: none !important;
}

/* ─── CATEGORY PAGE ─── */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 48px 56px;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { opacity: 0.7; transition: opacity 0.2s; }
.page-hero .breadcrumb a:hover { opacity: 1; }
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.page-hero p { font-size: 14px; opacity: 0.45; font-weight: 300; }

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 40px;
}
.filters-left { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters-left .count { font-size: 13px; color: var(--gray-500); margin-right: 12px; }
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--gray-300);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.filters-bar select {
  padding: 9px 16px;
  border: 1px solid var(--gray-300);
  font-size: 12px;
  background: var(--pure);
  cursor: pointer;
  outline: none;
}

/* ─── PRODUCT DETAIL ─── */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
}
.product-gallery { display: flex; flex-direction: column; gap: 10px; }
.main-image { aspect-ratio: 1; overflow: hidden; background: var(--gray-100); }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 8px; }
.thumb {
  width: 76px; height: 76px;
  overflow: hidden; cursor: pointer;
  opacity: 0.45;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--black); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-meta .breadcrumb {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.product-meta .breadcrumb a:hover { color: var(--ink); }
.product-meta h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-500); margin-bottom: 24px;
}
.stars { color: var(--ink); letter-spacing: 2px; }
.price-block {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 32px; padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-300);
}
.price-block .price { font-size: 24px; font-weight: 600; }
.price-block .price-old { font-size: 16px; }

.size-selector { margin-bottom: 28px; }
.size-selector label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  width: 48px; height: 48px;
  border: 1.5px solid var(--gray-300);
  font-size: 13px; font-weight: 500;
  transition: all 0.15s; background: transparent; cursor: pointer;
}
.size-btn:hover, .size-btn.active {
  background: var(--black); color: var(--white); border-color: var(--black);
}

.qty-row { margin-bottom: 28px; }
.qty-control {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--gray-300);
}
.qty-control button {
  width: 44px; height: 44px; font-size: 18px;
  color: var(--ink); transition: background 0.15s;
}
.qty-control button:hover { background: var(--gray-100); }
.qty-control span { width: 44px; text-align: center; font-weight: 500; font-size: 14px; }

.action-row { display: flex; gap: 12px; margin-bottom: 40px; }
.action-row .btn { flex: 1; padding: 17px; }

.product-desc {
  border-top: 1px solid var(--gray-300);
  padding-top: 28px;
  font-size: 14px; color: var(--gray-500);
  line-height: 1.8; font-weight: 300;
}
.product-desc h3 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); margin-bottom: 12px;
}
.product-desc strong { color: var(--ink); font-weight: 500; }

/* ─── FOOTER ─── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 48px 36px;
}
.footer-grid {
  max-width: 1440px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 260px; font-weight: 300;
}
.footer h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px; color: rgba(255,255,255,0.9);
}
.footer li { margin-bottom: 10px; }
.footer a {
  font-size: 13px; color: rgba(255,255,255,0.4);
  transition: color 0.2s; font-weight: 300;
}
.footer a:hover { color: #fff; }

.newsletter-form { display: flex; gap: 0; margin-top: 8px; }
.newsletter-form input {
  flex: 1; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); border-right: none;
  color: #fff; padding: 12px 16px; font-size: 13px; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
  background: var(--white); color: var(--black);
  padding: 12px 22px; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid var(--white); transition: all 0.2s; cursor: pointer;
}
.newsletter-form button:hover { background: transparent; color: #fff; }

.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.5px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .logo { gap: 8px !important; }
  .logo img { height: 42px !important; width: auto !important; }
  .logo .brand-name .main { font-size: 13px !important; letter-spacing: 1.5px !important; }
  .logo .brand-name .sub { font-size: 8px !important; letter-spacing: 2px !important; }

  .hero {
    background-image: url('hero-mobile.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    height: 75vh;
    min-height: 480px;
    max-height: none;
  }
  .header-top { padding: 0 14px; height: 64px; }
  .logo { font-size: 15px; letter-spacing: 2px; }
  .search-box { display: none; }
  .header-actions { gap: 16px; }
  .header-actions a { font-size: 11px; }
  .nav {
    gap: 24px; padding: 0 20px;
    overflow-x: auto; justify-content: flex-start;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }

  /* Hero text — mobile optimized */
  .hero-content {
    padding: 0 20px 40px;
  }
  .hero-label {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  .hero-content h1 {
    font-size: 32px;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .hero-content p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 100%;
    opacity: 0.9;
  }
  .hero-btns {
    gap: 10px;
  }
  .hero-btns .btn {
    padding: 12px 22px;
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .section, .section-full .inner { padding: 48px 16px; }
  .section-title { font-size: 22px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .page-hero { padding: 40px 16px 32px; }
  .page-hero h1 { font-size: 24px; }
  .product-detail { padding: 32px 16px; }
  .filters-bar { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer { padding: 48px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pill-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255,244,237,0.45) 0%, rgba(255,255,255,0) 100%);
 padding: 36px 16px 16px; }
  .pill { padding: 9px 18px; font-size: 12px; }
}

.hero-content p {
    font-size: 12px;
  }
  .hero-btns .btn {
    padding: 11px 18px;
    font-size: 9px;
  }
}

/* ─── PILL CATEGORY BAR ─── */
.pill-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255,244,237,0.45) 0%, rgba(255,255,255,0) 100%);

  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 48px 24px;
  text-align: center;
}

.pill-section .section-sub {
  margin-bottom: 8px;
}

.pill-section .section-title {
  margin-bottom: 36px;
}

.pill-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  background: var(--pure);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.pill:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

.pill.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .logo { gap: 8px !important; }
  .logo img { height: 42px !important; width: auto !important; }
  .logo .brand-name .main { font-size: 13px !important; letter-spacing: 1.5px !important; }
  .logo .brand-name .sub { font-size: 8px !important; letter-spacing: 2px !important; }

  .pill-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255,244,237,0.45) 0%, rgba(255,255,255,0) 100%);
 padding: 40px 20px 16px; }
  .pill { padding: 10px 20px; font-size: 12px; }
}

/* ─── BACK TO HOME ─── */
.back-home {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  opacity: 0.7;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.back-home:hover { opacity: 1; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  transition: color 0.2s;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 100px;
}
.back-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ============================================
   MOBILE OPTIMIZATION (phones)
   ============================================ */
@media (max-width: 768px) {
  .promo-bar {
    font-size: 10px !important;
    letter-spacing: 0.8px !important;
    padding: 9px 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* Header — prevent collapse */
  .header-top {
    height: 64px !important;
    padding: 0 12px !important;
    gap: 8px;
  }
  .logo {
    gap: 10px !important;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 100px);
  }
  .logo img {
    height: 40px !important;
    width: 40px !important;
    max-width: 40px !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex-shrink: 0;
    padding: 3px !important;
    border-radius: 8px !important;
  }
  /* Keep shop name, single line, no collapse */
  .logo .brand-name {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
  }
  .logo .brand-name .main {
    font-size: 12px !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .logo .brand-name .sub {
    font-size: 8px !important;
    letter-spacing: 1.5px !important;
    white-space: nowrap !important;
  }
  .header-actions {
    gap: 10px !important;
    flex-shrink: 0;
  }
  .header-actions a {
    font-size: 10px !important;
    white-space: nowrap;
  }
  .search-box {
    display: none !important;
  }
  .back-home {
    font-size: 11px !important;
  }

  /* Hero text — balanced, no overflow */
  .hero {
    background-image: url('hero-mobile.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    height: 70vh !important;
    min-height: 440px !important;
    max-height: none !important;
  }
  .hero-content {
    padding: 0 16px 32px !important;
  }
  .hero-label {
    font-size: 9px !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 8px !important;
  }
  .hero-content h1 {
    font-size: 26px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
    max-width: 100% !important;
  }
  .hero-content p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
    opacity: 0.92 !important;
  }
  .hero-btns {
    gap: 8px !important;
    flex-wrap: wrap;
  }
  .hero-btns .btn {
    padding: 11px 16px !important;
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  /* Pills */
  .pill-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255,244,237,0.45) 0%, rgba(255,255,255,0) 100%);

    padding: 28px 14px 10px !important;
  }
  .pill-section .section-title {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }
  .pill {
    padding: 8px 14px !important;
    font-size: 11px !important;
  }

  /* Products */
  .section,
  .section-full .inner {
    padding: 36px 12px !important;
  }
  .section-title {
    font-size: 18px !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-info h3 {
    font-size: 12px !important;
  }
  .price {
    font-size: 12px !important;
  }

  /* Category / product pages */
  .page-hero {
    padding: 32px 14px 24px !important;
  }
  .page-hero h1 {
    font-size: 20px !important;
  }
  .back-btn {
    font-size: 10px !important;
    padding: 7px 14px !important;
  }
  .product-detail {
    padding: 24px 14px !important;
    gap: 24px !important;
  }
  .product-meta h1 {
    font-size: 18px !important;
  }
  .action-row {
    flex-direction: column;
  }
  .action-row .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: 36px 14px 18px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .footer-brand .logo img {
  height: 42px;
  width: 42px;
  padding: 3px;
  background: #fff;
  border-radius: 8px;
  border: none;
  box-shadow: none;
}
  .footer-brand .logo .brand-name .main {
    font-size: 11px !important;
  }
}

/* Tiny phones — drop Account label, keep Bag */
@media (max-width: 400px) {
  .logo img {
    height: 44px !important;
    width: 44px !important;
    max-width: 44px !important;
  }
  .logo .brand-name .main {
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
  }
  .logo .brand-name .sub {
    display: none !important;
  }
  .hero-content h1 {
    font-size: 22px !important;
  }
  .hero-content p {
    font-size: 11.5px !important;
  }
  .header-actions a:not(.back-home) {
    /* keep Bag, hide Account to stop squeeze */
  }
  .header-actions a[href="#"]:first-of-type {
    display: none;
  }
}

/* ─── WHITE SURFACE AMBIENT (multi-colour) ─── */
.section {
  position: relative;
}
.pill-section,
.section:not(.section-full) {
  background-image:
    radial-gradient(ellipse 55% 80% at 0% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 55% 80% at 100% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(52, 211, 153, 0.06) 0%, transparent 60%);
}
.section-full {
  background: linear-gradient(180deg, #faf5ff 0%, #f0f9ff 40%, #ecfdf5 100%) !important;
  position: relative;
}
.section-full::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, rgba(236, 72, 153, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(52, 211, 153, 0.09) 0%, transparent 42%);
}
.search-box {
  background: rgba(255, 255, 255, 0.92) !important;
}
.product-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.05);
}
.auth-wrap,
.cart-wrap,
.acc-wrap,
.checkout-wrap {
  position: relative;
}
.header {
  background: rgba(255, 252, 255, 0.9) !important;
}


/* —— Our Collections heading (elegant) —— */
.collections-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 8px 16px 4px;
}
.collections-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a8a29e;
  margin-bottom: 14px;
}
.collections-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 500;
  font-style: italic;
  color: #1c1917;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.collections-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
  width: min(220px, 60%);
}
.collections-divider::before,
.collections-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6d3d1, transparent);
}
.collections-divider::after {
  background: linear-gradient(90deg, transparent, #d6d3d1, transparent);
}
/* diamond center */
.collections-divider {
  position: relative;
}
.collections-divider::before {
  /* left line handled above - add center diamond via box */
}
.collections-heading .collections-divider {
  height: 12px;
}
.collections-heading .collections-divider::before,
.collections-heading .collections-divider::after {
  height: 1px;
}
/* diamond using background on a pseudo - use extra element style on divider */
.collections-divider {
  background-image: radial-gradient(circle, #a8a29e 0 1.5px, transparent 2px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 8px;
}
.collections-sub {
  font-size: 14px;
  line-height: 1.55;
  color: #78716c;
  max-width: 420px;
  margin: 0 auto;
  font-weight: 400;
}
.pill-section {
  padding-top: 48px;
  padding-bottom: 28px;
}
@media (max-width: 640px) {
  .collections-heading { margin-bottom: 20px; }
  .collections-title { font-size: 30px; }
  .collections-sub { font-size: 13px; padding: 0 8px; }
}



/* —— Collections band: soft elegant (subtle) —— */
.pill-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f7f4ef;
  background-image:
    linear-gradient(rgba(255,255,255,0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.65) 1px, transparent 1px);
  background-size: 48px 48px;
  padding-top: 56px !important;
  padding-bottom: 40px !important;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pill-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,255,255,0.7) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 90% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}
.pill-section::after {
  display: none;
}
.pill-section > * {
  position: relative;
  z-index: 1;
}
.collections-heading {
  position: relative;
  z-index: 1;
}
.pill-section .pill {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  backdrop-filter: none;
}
.pill-section .pill.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.collections-title {
  color: #1c1917;
}
.collections-sub {
  color: #78716c;
}

/* —— Category hero floating emojis (subtle) —— */
.page-hero {
  position: relative;
  overflow: hidden;
}
.float-emoji-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-hero > *:not(.float-emoji-layer) {
  position: relative;
  z-index: 1;
}
.float-emoji {
  position: absolute;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
  opacity: 0.22;
  user-select: none;
  filter: saturate(1.05);
  animation: emojiDrift linear infinite;
  will-change: transform;
}
@media (max-width: 640px) {
  .float-emoji {
    font-size: 20px;
    opacity: 0.18;
  }
}
@keyframes emojiDrift {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  50%  { transform: translateY(-14px) translateX(6px) rotate(6deg); }
  100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

/* Hide static product cards until Supabase catalog paints */
.product-grid[data-catalog-pending] {
  visibility: hidden !important;
  min-height: 120px;
}


/* Product gallery — multi image + mobile */
.product-gallery .main-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f4;
  aspect-ratio: 1 / 1;
}
.product-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: none;
}
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.product-gallery .main-image:hover .gal-nav,
.product-gallery .main-image:focus-within .gal-nav {
  display: grid;
  place-items: center;
}
.gal-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.gal-dot.active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}
.thumb-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.thumb-row::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f4f4f4;
}
.thumb.active { border-color: #0a0a0a; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px 14px 32px !important;
  }
  .product-gallery .main-image {
    border-radius: 14px;
    max-height: min(100vw - 28px, 420px);
  }
  .gal-nav { display: grid; place-items: center; opacity: 0.95; }
  .thumb { flex-basis: 56px; width: 56px; height: 56px; }
  .product-meta h1 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.25;
  }
  .product-meta .price-block .price { font-size: 22px; }
  .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .size-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
  }
  .qty-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .product-actions,
  .product-meta .btn-black {
    width: 100%;
  }
  .product-meta .btn-black,
  .product-meta button.btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
  }
  .breadcrumb { font-size: 12px; }
}

/* —— Mobile polish v2 —— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .promo-bar {
    font-size: 11px;
    padding: 8px 12px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }

  .header-top {
    height: 58px !important;
    padding: 0 12px !important;
    gap: 10px;
  }
  .logo img {
    width: 36px !important;
    height: 36px !important;
  }
  .brand-name .main {
    font-size: 13px !important;
  }
  .brand-name .sub {
    font-size: 9px !important;
  }
  .search-box {
    display: none !important;
  }
  .header-actions {
    gap: 12px !important;
  }
  .header-actions a {
    font-size: 12px !important;
    white-space: nowrap;
  }
  .back-home {
    font-size: 12px !important;
  }

  .hero {
    min-height: min(72vh, 520px) !important;
    padding: 0 !important;
  }
  .hero-content {
    padding: 28px 16px 36px !important;
    max-width: 100%;
  }
  .hero-label {
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 10px !important;
  }
  .hero-content h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }
  .hero-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }
  .hero-btns {
    gap: 10px !important;
    width: 100%;
  }
  .hero-btns .btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 12px 14px !important;
    font-size: 12px !important;
    min-height: 44px;
  }

  .pill-section {
    padding: 36px 12px 24px !important;
  }
  .collections-title {
    font-size: 28px !important;
  }
  .collections-sub {
    font-size: 12px !important;
    padding: 0 8px;
  }
  .pill-bar {
    gap: 8px !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .pill-bar::-webkit-scrollbar { display: none; }
  .pill {
    flex: 0 0 auto;
    padding: 10px 16px !important;
    font-size: 12px !important;
    min-height: 40px;
  }

  .section-full,
  .section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .section-title {
    font-size: 22px !important;
  }
  .section-sub {
    font-size: 10px !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card .product-info h3 {
    font-size: 12px !important;
    line-height: 1.35;
  }
  .product-card .price {
    font-size: 13px !important;
  }
  .product-card .price-old,
  .product-card .discount {
    font-size: 11px !important;
  }
  .product-quick {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  .page-hero {
    padding: 28px 14px 24px !important;
  }
  .page-hero h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
  .page-hero p {
    font-size: 13px !important;
  }
  .back-btn {
    font-size: 12px !important;
    padding: 8px 14px !important;
  }

  /* Product page */
  .product-detail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 12px 12px 28px !important;
    max-width: 100%;
  }
  .product-gallery {
    width: 100%;
  }
  .product-gallery .main-image {
    aspect-ratio: 1 / 1;
    max-height: none;
    border-radius: 12px;
  }
  .gal-nav {
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
  }
  .thumb-row {
    gap: 8px;
    margin-top: 10px;
  }
  .thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .product-meta {
    padding: 0 2px;
  }
  .product-meta .breadcrumb {
    font-size: 11px !important;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  .product-meta h1 {
    font-size: clamp(20px, 5.8vw, 24px) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }
  .rating {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
  }
  .price-block .price {
    font-size: 24px !important;
  }
  .size-selector label {
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
  }
  .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .size-btn {
    min-width: 48px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .qty-control {
    min-height: 44px;
  }
  .qty-control button {
    min-width: 44px;
    min-height: 44px;
  }
  .product-meta .btn,
  .product-meta .btn-black,
  .product-meta button.btn-black,
  .product-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }
  .product-desc,
  .product-description {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  /* Footer tighter */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Cart / account spacing */
  .acc-wrap,
  .checkout-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 380px) {
  .product-grid {
    gap: 8px !important;
  }
  .hero-content h1 {
    font-size: 24px !important;
  }
  .header-actions a {
    font-size: 11px !important;
  }
}

/* —— Product mobile deadline polish —— */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  height: auto !important;
  padding: 8px 12px !important;
}
.logo {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.logo img {
  flex-shrink: 0;
}
.brand-name {
  min-width: 0;
  overflow: hidden;
}
.brand-name .main {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand-name .main {
    font-size: 12px !important;
    max-width: 42vw;
  }
  .brand-name .sub {
    font-size: 9px !important;
  }
  .logo img {
    width: 32px !important;
    height: 32px !important;
  }
  .header-actions a {
    font-size: 11px !important;
  }
  .back-home {
    display: none; /* Home already via logo */
  }
  .product-detail {
    padding: 10px 12px 28px !important;
    gap: 14px !important;
  }
  .product-gallery .main-image {
    border-radius: 12px;
    aspect-ratio: 1 / 1;
  }
  .product-meta h1,
  #p-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 8px 0 10px !important;
  }
  .price-block .price,
  #p-price {
    font-size: 22px !important;
  }
  .action-row {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
  }
  .action-row .btn {
    width: 100% !important;
    min-height: 48px !important;
  }
  .thumb-row {
    padding: 4px 0 8px;
  }
  .product-desc {
    font-size: 13px;
    line-height: 1.55;
  }
}

/* Loading shimmer for empty main image */
#mainImg[src=""],
#mainImg:not([src]) {
  min-height: 280px;
  background: linear-gradient(90deg, #f0f0f0 25%, #fafafa 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: dcShimmer 1.2s infinite;
}

/* product-info text solid — no fade */
.product-info h3,
.product-card .product-info h3 {
  position: relative;
  z-index: 2;
  color: #0a0a0a !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
.product-info .price,
.product-card .price {
  position: relative;
  z-index: 2;
  color: #0a0a0a !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
.product-info .price-old,
.product-info .discount {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
}
.product-card {
  background: #fff !important;
  opacity: 1 !important;
}
.product-card .product-info {
  background: #fff !important;
}

/* —— FORCE MOBILE FIX v4 —— */
@media (max-width: 768px) {
  /* Header: logo + actions fit without cut-off */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }
  .logo {
    flex: 0 1 auto !important;
    max-width: 48% !important;
    min-width: 0 !important;
    gap: 6px !important;
  }
  .logo img {
    width: 28px !important;
    height: 28px !important;
  }
  .brand-name .main {
    font-size: 11px !important;
    letter-spacing: -0.02em !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
  /* Show short name via CSS content? Can't easily. Instead allow full with smaller font */
  .brand-name .sub {
    display: none !important;
  }
  .search-box {
    display: none !important;
  }
  .back-home {
    display: none !important;
  }
  .header-actions {
    flex: 0 0 auto !important;
    gap: 8px !important;
    max-width: 50%;
  }
  .header-actions a {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    padding: 6px 0 !important;
  }

  /* Product detail page */
  .product-detail {
    display: block !important;
    padding: 0 0 40px !important;
    max-width: 100% !important;
  }
  .product-gallery {
    width: 100% !important;
    margin: 0 !important;
  }
  .product-gallery .main-image {
    border-radius: 0 !important;
    aspect-ratio: 1 / 1 !important;
    max-height: none !important;
    width: 100% !important;
  }
  .product-gallery .main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .gal-nav {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
  }
  .thumb-row {
    padding: 10px 12px !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  .thumb {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
  }

  .product-meta {
    padding: 12px 14px 0 !important;
  }
  .product-meta .breadcrumb,
  #p-breadcrumb {
    font-size: 11px !important;
    color: #525252 !important;
    opacity: 1 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    word-break: break-word;
  }
  .product-meta .breadcrumb a,
  #p-breadcrumb a {
    color: #525252 !important;
    opacity: 1 !important;
  }
  .product-meta h1,
  #p-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #0a0a0a !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
  }
  .rating {
    font-size: 12px !important;
    margin-bottom: 12px !important;
    color: #525252 !important;
  }
  .price-block {
    margin-bottom: 16px !important;
  }
  .price-block .price,
  #p-price {
    font-size: 24px !important;
    color: #0a0a0a !important;
    font-weight: 800 !important;
  }
  .size-selector {
    margin-bottom: 14px !important;
  }
  .size-selector label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #0a0a0a !important;
    margin-bottom: 8px !important;
  }
  .size-options {
    gap: 8px !important;
  }
  .size-btn {
    min-width: 46px !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }
  .qty-row {
    margin-bottom: 14px !important;
  }
  .action-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .action-row .btn,
  .action-row .btn-black,
  .action-row .btn-outline-black {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .product-desc {
    padding: 0 2px !important;
    color: #262626 !important;
    opacity: 1 !important;
  }
  .product-desc h3 {
    font-size: 14px !important;
    color: #0a0a0a !important;
  }
  .product-desc p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #404040 !important;
  }

  /* Promo bar */
  .promo-bar {
    font-size: 10px !important;
    padding: 7px 8px !important;
  }
}

/* Desktop brand stays full; mobile short label via data attribute optional */
@media (max-width: 420px) {
  .brand-name .main {
    font-size: 10px !important;
  }
  .header-actions a {
    font-size: 10px !important;
  }
}

.brand-short { display: none; }
.brand-full { display: inline; }
@media (max-width: 768px) {
  .brand-full { display: none !important; }
  .brand-short { display: inline !important; font-weight: 800; letter-spacing: 0.06em; font-size: 13px !important; }
}

/* —— PDP soft polish —— */
.product-detail {
  gap: 36px;
}
.product-gallery .main-image {
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.thumb {
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}
.thumb:hover { transform: translateY(-1px); }
.thumb.active {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a;
}
.gal-nav {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.product-meta .breadcrumb {
  font-size: 12px;
  color: #737373;
  margin-bottom: 10px;
}
.product-meta h1,
#p-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.price-block {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
}
.price-block .price,
#p-price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.size-selector label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #525252;
}
.size-btn {
  border-radius: 10px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.qty-control {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}
.action-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 28px;
}
.action-row .btn {
  flex: 1;
  border-radius: 12px;
  min-height: 50px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.product-desc {
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.product-desc h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 10px;
}
.product-desc p {
  color: #525252;
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 768px) {
  .product-gallery .main-image {
    border-radius: 0;
    box-shadow: none;
  }
  .product-meta {
    padding-top: 16px !important;
  }
  .price-block {
    border-bottom-color: #f0f0f0;
  }
  .action-row {
    flex-direction: column;
  }
}

/* Colour variants */
.color-picker {
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.color-picker label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #525252;
  margin-bottom: 10px;
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 2px #fff;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.color-swatch:hover {
  transform: scale(1.06);
}
.color-swatch.active {
  border-color: #0a0a0a;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #0a0a0a;
}
.color-label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
}
@media (max-width: 768px) {
  .color-swatch {
    width: 40px;
    height: 40px;
  }
}


/* ═══════════════════════════════════════════
   BOTTOM NAV (mobile app-style)
   ═══════════════════════════════════════════ */
.bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    align-items: stretch;
    justify-content: space-around;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* toast above bottom nav */
  .dc-toast, #dc-toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 8px 4px 6px;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  transition: color 0.15s;
}
.bn-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bn-item.active {
  color: #0a0a0a;
}
.bn-item.active svg {
  stroke-width: 2.1;
}
.bn-item:active {
  opacity: 0.7;
}
.bn-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #0a0a0a;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  display: none;
}
.bn-badge.show {
  display: block;
}
.bn-label {
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Wishlist page */
.wishlist-empty {
  text-align: center;
  padding: 64px 24px;
  color: #737373;
}
.wishlist-empty h2 {
  font-family: 'Syne', 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #0a0a0a;
  margin-bottom: 8px;
}
.wishlist-empty p { font-size: 14px; margin-bottom: 24px; }
.wish-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.wish-remove:active { transform: scale(0.94); }
.product-card { position: relative; }
.wish-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  -webkit-tap-highlight-color: transparent;
}
.wish-heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #0a0a0a;
  fill: none;
  stroke-width: 1.8;
}
.wish-heart-btn.on svg {
  fill: #0a0a0a;
  stroke: #0a0a0a;
}
@media (min-width: 769px) {
  .wish-heart-btn { width: 36px; height: 36px; }
}

.thumb-video {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #0a0a0a !important;
  color: #fff;
  min-width: 56px;
  min-height: 56px;
}
#main-image-wrap {
  position: relative;
  overflow: hidden;
}
#mainVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}


/* —— Category chips: clearer active + context —— */
.pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: #fff;
  color: #404040;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.pill:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
  transform: translateY(-1px);
}
.pill.active {
  background: #0a0a0a !important;
  color: #fff !important;
  border-color: #0a0a0a !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
}
.pill.active .pill-label {
  position: relative;
}
.cat-context-strip {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  padding: 0 12px;
}
.cat-context-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10,10,10,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
  color: #57534e;
  line-height: 1.3;
}
.cat-you-are {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
  color: #a3a3a3;
}
.cat-current {
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
}
.cat-sep { color: #d4d4d4; }
.cat-others {
  font-size: 11px;
  color: #78716c;
  max-width: 100%;
}
@media (max-width: 768px) {
  .pill-bar {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 8px;
    scrollbar-width: none;
  }
  .pill-bar::-webkit-scrollbar { display: none; }
  .pill {
    flex: 0 0 auto;
    padding: 10px 16px !important;
    font-size: 11px !important;
    min-height: 40px;
  }
  .cat-context-inner {
    font-size: 11px;
    padding: 7px 12px;
  }
  .cat-others {
    display: none; /* mobile: keep strip short; pills show options */
  }
}

/* Sticky pills under header on category pages */
@media (max-width: 768px) {
  body.page-category .pill-section {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  body.page-category .collections-heading {
    display: none;
  }
}
