/* ============================================================
   AURUM — Luxury Jewelry Store
   Light Minimalist Aesthetic
   ============================================================ */

/* ── CSS Variables — Lyst Tema ── */
:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hover: #f5f5f5;
  --text: #0a0a0a;
  --text-muted: #222222;
  --text-subtle: #000000;
  --gold: #000000;
  --gold-light: #333333;
  --gold-dark: #000000;
  --border: #e4ddd4;
  --border-light: #ede8e0;
  --radius: 2px;
  --radius-md: 6px;
  --font-heading: 'Archivo Narrow', sans-serif;
  --font-body: 'Archivo Narrow', sans-serif;
  --font-nav: 'Archivo Narrow', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

input, select, textarea, button {
  font-family: inherit;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* ── Layout ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Announcement Bar (one at a time, slide) ── */
.announcement-bar {
  background: linear-gradient(135deg, #000000 50%, #ffffff 50%);
  color: #ffffff;
  overflow: hidden;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  position: relative;
  z-index: 1001;
  height: 1.9rem;
  display: flex;
  align-items: center;
}

.announcement-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.announcement-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  color: #ffffff;
  mix-blend-mode: difference;
}

.announcement-item.ann-active {
  animation: annSlideIn 0.45s ease forwards;
}

.announcement-item.ann-exit {
  animation: annSlideOut 0.45s ease forwards;
}

@keyframes annSlideIn {
  from { transform: translateX(60px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes annSlideOut {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-60px); opacity: 0; }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 1.9rem; /* height of announcement bar */
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ── Category Nav Bar — mobile only ── */
.cat-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2rem;
  justify-content: center;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-link {
  display: block;
  padding: 0.8rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #000000;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cat-nav-link:hover { opacity: 0.5; }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  gap: 2rem;
}

/* Desktop: left-group hidden (hamburger + mobile search), logo normal flow */
.nav-left-group {
  display: none;        /* hidden on desktop — shown on mobile */
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
/* Mobile search hidden on desktop, desktop search hidden on mobile */
.nav-search-mobile  { display: none; }
.nav-search-desktop { display: flex; }

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-icon {
  display: flex;
  align-items: center;
  color: var(--text);
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
}

.nav-icon:hover { color: var(--gold); }

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

.cart-badge:empty {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu li a:hover { color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #0a0a0a;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

/* On dark hero/banner backgrounds keep the white button */
.hero .btn-primary,
.banner-section .btn-primary {
  background: #ffffff;
  color: #000000;
}
.hero .btn-primary:hover,
.banner-section .btn-primary:hover {
  background: #e8e8e8;
  box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240,240,240,0.35);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.06);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.4) 100%
  );
}

/* Fallback gradient if no video */
.hero-video-container:not(:has(video[src$=".mp4"])) {
  background: linear-gradient(135deg, #f8f6f3 0%, #f0ede8 40%, #e8e4de 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section Styles ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.5rem;
  width: 100%;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
}

.section-link {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.section-link:hover { opacity: 0.7; }

/* ── Category Strip ── */
.category-strip {
  padding: 2rem 0;
}

.category-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  justify-content: center;
}

.category-grid::-webkit-scrollbar { display: none; }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.category-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap {
  border-color: var(--text);
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.06);
}

.category-card span {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color var(--transition);
}

.category-card:hover span { color: var(--gold); }

/* ── Product Grid ── */
.products-section {
  padding: 2rem 0 2rem;
}

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

.product-card {
  position: relative;
}

.product-img-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.product-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.product-img-wrap .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-img-wrap .img-primary {
  opacity: 0;
}

.product-card:hover .product-img-wrap .img-hover {
  opacity: 1;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-add {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.2s;
  transform: translateY(8px);
  transition: transform 0.3s ease, background 0.2s;
}

.product-card:hover .quick-add {
  transform: translateY(0);
}

.quick-add:hover {
  background: #ffffff;
  color: #000000;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  z-index: 1;
}

.badge-sale {
  background: #fff;
  color: #0a0a0a;
}

.badge-three-for-two {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #c0392b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  z-index: 2;
  pointer-events: none;
}

.summary-row-discount { color: #c0392b; }
.discount-amount { font-weight: 600; }

.product-info {
  padding: 0.65rem 0.25rem 0;
  text-align: center;
}

.product-category {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-name a {
  color: var(--text);
  display: inline-block;
  transition: color var(--transition), transform 0.25s ease, letter-spacing 0.25s ease, font-weight 0.25s ease, font-size 0.25s ease;
}

.product-card:hover .product-name a {
  color: var(--gold);
  transform: translateY(-5px) scale(1.06);
  letter-spacing: 0.05em;
  font-weight: 800;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
}

.compare-price {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

/* ── Marquee ── */
.marquee-section {
  padding: 2rem 0;
  overflow: hidden;
  background: #ffffff;
  border-top: none;
  border-bottom: none;
}

.marquee-track {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-content span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: #000000;
  padding: 0 1rem;
}

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

/* ── Homepage Category Strip ── */
.cat-strip-section {
  padding: 2.5rem 0;
}
.cat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.cat-strip-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.cat-strip-img {
  position: relative;
  aspect-ratio: 3 / 5;
  overflow: hidden;
}
.cat-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cat-strip-card:hover .cat-strip-img img {
  transform: scale(1.04);
}
.cat-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.3s;
}
.cat-strip-card:hover .cat-strip-overlay {
  background: rgba(0,0,0,0.28);
}
.cat-strip-label {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
}
@media (max-width: 768px) {
  .cat-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .cat-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 0.75rem;
  }
}

/* ── Values Section ── */
.values-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
}

.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Banner Section ── */
.banner-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  margin: 1rem 0;
}

.banner-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* ── Footer ── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-newsletter {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-newsletter h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
}

.footer-newsletter-form input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-right: none;
  color: var(--text);
  padding: 0.875rem 1.25rem;
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition);
}

.footer-newsletter-form input::placeholder { color: #aaa; }
.footer-newsletter-form input:focus { border-color: var(--gold); }

.footer-newsletter-form button {
  background: var(--gold);
  color: #ffffff;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.footer-newsletter-form button:hover { background: var(--gold-light); }

.newsletter-msg {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--gold);
  min-height: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* ── Newsletter Popup ── */
.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.newsletter-popup.show {
  display: flex;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}

.popup-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  width: 90%;
  max-width: 480px;
  padding: 3rem;
  text-align: center;
  animation: popupIn 0.4s ease;
}

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

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.popup-close:hover { color: var(--text); }

.popup-badge {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.popup-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.popup-inner p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.popup-form input {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 0.875rem 1.25rem;
  font-size: 0.85rem;
  outline: none;
  text-align: center;
  transition: border-color var(--transition);
}

.popup-form input:focus { border-color: var(--gold); }
.popup-form input::placeholder { color: #aaa; }

.popup-form button {
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  padding: 0.95rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background var(--transition);
}

.popup-form button:hover { background: var(--gold-light); }

.popup-success {
  font-size: 0.82rem;
  color: var(--gold);
  min-height: 1.2rem;
}

.popup-skip {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-subtle);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.5rem;
  transition: color var(--transition);
}

.popup-skip:hover { color: var(--text-muted); }

/* ── Shop Page ── */
.shop-page {
  padding-top: calc(2.2rem + 70px);
  min-height: 100vh;
}

.page-header {
  padding: 3rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 0.8rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.shop-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.shop-filters .filter-tabs {
  flex: 1;
  min-width: 0;
}

.filter-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-tab.active {
  color: var(--gold);
  border-color: var(--border);
  border-bottom-color: transparent;
  background: var(--bg-elevated);
}

.filter-tab:hover:not(.active) { color: var(--text); }

.filter-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  background: var(--bg-elevated, #fafaf8);
  overflow: hidden;
  min-width: 200px;
}

.search-input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  width: 160px;
  min-width: 0;
}

.search-input::placeholder { color: #aaa; }

.search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  flex-shrink: 0;
}

.search-btn:hover { color: var(--gold); }

.sort-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  outline: none;
  cursor: pointer;
}

.sort-select option { background: var(--bg-card); }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Product Detail ── */
.product-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0 3rem;
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.breadcrumb a {
  color: var(--text-subtle);
  transition: color var(--transition);
}

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

.breadcrumb span { color: var(--text-subtle); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.main-image-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.main-image-wrap:hover .main-product-img {
  transform: scale(1.02);
}

.thumbnail-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.thumbnail-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0;
  width: 70px;
  aspect-ratio: 1;
  overflow: hidden;
  transition: border-color var(--transition);
}

.thumbnail-btn.active { border-color: var(--gold); }
.thumbnail-btn:hover { border-color: var(--border-light); }

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details-header {
  margin-bottom: 1.5rem;
}

.product-category-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-price-main {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
}

.product-compare-price {
  font-size: 1rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.product-discount {
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
}

.product-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.product-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
  font-weight: 500;
}

.meta-value {
  font-size: 0.85rem;
  color: var(--text);
}

.in-stock { color: #4ade80; }
.out-of-stock { color: #f87171; }

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text);
  width: 42px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--bg-elevated); }

.quantity-selector input {
  background: none;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  color: var(--text);
  width: 50px;
  text-align: center;
  font-size: 0.9rem;
  outline: none;
  height: 48px;
}

.add-to-cart-btn {
  flex: 1;
}

.cart-message {
  font-size: 0.82rem;
  min-height: 1.2rem;
  margin-bottom: 1rem;
}

.cart-message.success { color: #4ade80; }
.cart-message.error { color: #f87171; }

.out-of-stock-msg {
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feature svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.related-products {
  padding-top: 5rem;
  border-top: 1px solid var(--border);
}

/* ── PDP (Product Detail Page) ── */
.pdp-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
}
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #999;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.pdp-breadcrumb a { color: #999; text-decoration: none; }
.pdp-breadcrumb a:hover { color: #000; }
.pdp-breadcrumb span:last-child { color: #333; }

/* Split layout */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

/* LEFT: gallery */
.pdp-gallery {
  position: relative;
}
.pdp-img-slide {
  display: none;
}
.pdp-img-slide.active {
  display: block;
}
.pdp-img-slide img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.pdp-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 68px;
  height: 68px;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-thumb.active { border-color: #000; }
.pdp-thumb:hover { border-color: #555; }

/* RIGHT: info panel */
.pdp-info {
  position: sticky;
  top: calc(70px + 1.5rem);
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  max-height: calc(100vh - 70px - 2rem);
  overflow-y: auto;
  scrollbar-width: none;
}
.pdp-info::-webkit-scrollbar { display: none; }

.pdp-category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pdp-title {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pdp-price {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pdp-compare-price {
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
}
.pdp-badge-sale {
  font-size: 0.72rem;
  font-weight: 700;
  background: #000;
  color: #fff;
  padding: 0.15rem 0.45rem;
  letter-spacing: 0.06em;
}
.pdp-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #555;
  margin-bottom: 1.25rem;
}
.pdp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-green { background: #22c55e; }
.dot-red   { background: #ef4444; }

.pdp-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.25rem;
}
.pdp-material-row {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}
.pdp-meta-label { color: #888; }
.pdp-meta-val   { font-weight: 500; }

/* Actions */
.pdp-actions {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 0.75rem;
}
.pdp-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid #000;
  height: 50px;
}
.pdp-qty-btn {
  width: 40px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-qty input {
  width: 36px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  -moz-appearance: textfield;
}
.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pdp-atc-btn {
  flex: 1;
  height: 50px;
  background: #000;
  color: #fff;
  border: 1.5px solid #000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pdp-atc-btn:hover {
  background: #fff;
  color: #000;
}
.pdp-wish-btn {
  width: 50px;
  height: 50px;
  border: 1.5px solid #000;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.pdp-wish-btn:hover { background: #f5f5f5; }
.pdp-wish-btn.wishlisted svg { fill: #000; }
.pdp-wish-full {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  width: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.pdp-oos { margin-bottom: 1.5rem; }
.pdp-oos p { font-size: 0.85rem; color: #888; margin-bottom: 0.75rem; }

/* Feature list */
.pdp-features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid #e8e8e8;
}
.pdp-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.pdp-features li svg { flex-shrink: 0; margin-top: 2px; }
.pdp-features li div { display: flex; flex-direction: column; gap: 0.15rem; }
.pdp-features li strong { font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 700; }
.pdp-features li span  { font-size: 0.72rem; color: #666; }

/* Accordion */
.pdp-accordion {
  margin-top: 0;
}
.pdp-acc-item {
  border-bottom: 1px solid #e8e8e8;
}
.pdp-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  text-align: left;
}
.pdp-acc-trigger svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}
.pdp-acc-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.pdp-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pdp-acc-body p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #555;
  padding-bottom: 0.5rem;
}

/* ── PDP Hero Media ── */
.pdp-hero-media {
  margin: 5rem 0 0;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.pdp-hero-video {
  width: 100%;
  max-height: 75vh;
  overflow: hidden;
  margin-bottom: 1rem;
}
.pdp-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-hero-images {
  display: grid;
  gap: 0.75rem;
}
.pdp-hero-cols-1 { grid-template-columns: 1fr; }
.pdp-hero-cols-2 { grid-template-columns: 1fr 1fr; }
.pdp-hero-cols-3 { grid-template-columns: repeat(3, 1fr); }

.pdp-hero-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .pdp-hero-cols-3 { grid-template-columns: 1fr 1fr; }
  .pdp-hero-video { max-height: 55vh; }
}
@media (max-width: 480px) {
  .pdp-hero-cols-2,
  .pdp-hero-cols-3 { grid-template-columns: 1fr; }
}

/* Related section */
.pdp-related {
  max-width: 1400px;
  margin: 5rem auto 0;
  padding: 0 2rem;
  border-top: 1px solid var(--border);
}
.pdp-related-header {
  padding: 3rem 0 2rem;
  text-align: center;
}
.pdp-related-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ── Mobile PDP ── */
@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }
  .pdp-info {
    position: static;
    max-height: none;
    padding: 1.5rem 1.25rem 2rem;
  }
  .pdp-img-slide img {
    aspect-ratio: 4/5;
  }
  .pdp-title { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .pdp-breadcrumb { padding: 1rem 1rem; }
  .pdp-related { padding: 0 0.75rem; }
  .pdp-actions { flex-wrap: wrap; }
  .pdp-atc-btn { flex: 1 0 calc(100% - 60px); }
}

/* ── Cart Drawer ── */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100%;
  background: #fff;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-head h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
}
.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
}
.cart-drawer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cart-drawer-items {
  padding: 1rem 1.5rem;
}
.drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.drawer-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer-item-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  text-decoration: none;
}
.drawer-item-name:hover { opacity: 0.6; }
.drawer-item-price { font-size: 0.78rem; color: #555; }
.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.drawer-qty-btn {
  background: none;
  border: 1px solid var(--border);
  width: 24px;
  height: 24px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}
.drawer-qty-btn:hover { background: #f5f5f5; }
.drawer-qty-num { font-size: 0.78rem; min-width: 20px; text-align: center; }
.drawer-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 1.1rem;
  padding: 0;
  line-height: 1;
}
.drawer-item-remove:hover { color: #000; }
.drawer-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
}
.cart-drawer-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
}
.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.cart-drawer-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  margin-bottom: 0.6rem;
}
.cart-drawer-viewcart {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #888;
  text-decoration: underline;
}
.cart-drawer-viewcart:hover { color: #000; }
.cart-drawer-suggested {
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
}
.cart-drawer-suggested-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  color: #888;
}
.cart-drawer-suggested-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer-sug-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.drawer-sug-img-link {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 80px;
}
.drawer-sug-img-link img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}
.drawer-sug-item:hover .drawer-sug-img-link img { opacity: 0.85; }
.drawer-sug-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.drawer-sug-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: inherit;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-sug-price { font-size: 0.68rem; color: #555; }
.drawer-sug-add {
  margin-top: 0.25rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.drawer-sug-add:hover {
  background: #fff;
  color: #000;
}
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ── Cart Page ── */
.cart-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
  min-height: 80vh;
}

.page-title-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 2.5rem 0 2rem;
}

.page-title-row h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
}

.item-count {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.empty-cart {
  text-align: center;
  padding: 6rem 2rem;
}

.empty-cart-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--text-subtle);
}

.empty-cart-icon svg {
  width: 100%;
  height: 100%;
}

.empty-cart h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.empty-cart p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

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

.cart-item-img {
  display: block;
  width: 100px;
  height: 125px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.cart-item-img:hover img { transform: scale(1.05); }

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--text);
  transition: color var(--transition);
}

.cart-item-name:hover { color: var(--gold); }

.cart-item-price {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
}

.qty-display {
  width: 40px;
  text-align: center;
  font-size: 0.85rem;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 0.4rem 0;
  display: block;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-subtle);
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition);
}

.remove-btn:hover { color: #f87171; }

.cart-item-total {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding-top: 0.2rem;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: calc(2.2rem + 80px);
}

.cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.total-row {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
}

.free-shipping-notice {
  font-size: 0.78rem;
  color: var(--gold);
  padding: 0.5rem 0;
}

.free-shipping-notice p { margin-bottom: 0.5rem; }

.shipping-progress {
  height: 2px;
  background: var(--border);
  overflow: hidden;
}

.shipping-bar {
  height: 100%;
  background: var(--gold);
  transition: width var(--transition);
}

.checkout-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.continue-shopping {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-decoration: underline;
  transition: color var(--transition);
}

.continue-shopping:hover { color: var(--gold); }

/* ── Checkout Page ── */
.checkout-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
}

.checkout-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  padding: 2.5rem 0 2rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  cursor: pointer;
  accent-color: var(--gold);
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.saved-addresses {
  margin-bottom: 1.5rem;
}

.saved-addresses h4 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.saved-address-card {
  border: 1px solid var(--border-light);
  padding: 0.875rem 1rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: all var(--transition);
  font-size: 0.82rem;
}

.saved-address-card:hover { border-color: var(--gold-dark); }
.saved-address-card.selected { border-color: var(--gold); background: rgba(201,169,110,0.05); }

.saved-address-card strong {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.saved-address-card p { color: var(--text-muted); }

.payment-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.payment-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.place-order-btn { width: 100%; }


.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: calc(2.2rem + 80px);
}

.checkout-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.checkout-items {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkout-item-img {
  position: relative;
  width: 60px;
  height: 75px;
  flex-shrink: 0;
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.checkout-item-price {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-item-total {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

/* ── Auth Pages ── */
.auth-page {
  padding-top: calc(2.2rem + 70px);
  min-height: calc(100vh - 2.2rem);
  display: flex;
  align-items: stretch;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  width: 100%;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem);
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.auth-header {
  margin-bottom: 2.5rem;
}

.auth-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 3vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color var(--transition);
}

.toggle-password:hover { color: var(--gold); }
.toggle-password svg { width: 16px; height: 16px; }

.auth-btn { width: 100%; margin-top: 0.5rem; }

.auth-footer {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.auth-footer a {
  color: var(--gold);
  text-decoration: underline;
}

.auth-image {
  position: relative;
  overflow: hidden;
}

.auth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.auth-image-text {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}

.auth-image-text h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}

.auth-image-text em { color: var(--gold); }

/* ── Alerts ── */
.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.83rem;
  border-left: 3px solid;
}

.alert-error {
  background: rgba(248,113,113,0.08);
  border-color: #f87171;
  color: #fca5a5;
}

.alert-success {
  background: rgba(74,222,128,0.08);
  border-color: #4ade80;
  color: #86efac;
}

/* ── Account Page ── */
.account-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
  min-height: 80vh;
}

.account-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.account-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 0.25rem;
}

.account-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: calc(2.2rem + 80px);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.account-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-muted);
  border: none;
  transition: color var(--transition);
  background: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.account-nav-link.active,
.account-nav-link:hover:not(.logout-btn) {
  color: var(--gold);
}

.logout-btn {
  color: var(--text-subtle);
  margin-top: 1rem;
  border: none;
  padding-top: 1rem;
}

.logout-btn:hover { color: #f87171; }

.account-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.account-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.account-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.profile-form {
  max-width: 480px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-right: 0.75rem;
}

.order-status {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
}

.status-pending { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-processing { background: rgba(96,165,250,0.15); color: #60a5fa; }
.status-shipped { background: rgba(167,139,250,0.15); color: #a78bfa; }
.status-delivered { background: rgba(74,222,128,0.15); color: #4ade80; }
.status-cancelled { background: rgba(248,113,113,0.15); color: #f87171; }

.order-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.order-items-preview {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
}

.order-item-thumb {
  width: 48px;
  height: 60px;
  object-fit: cover;
}

.more-items {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

.order-total {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.order-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.address-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.address-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.default-badge {
  font-size: 0.55rem;
  background: var(--gold);
  color: #0a0a0a;
  padding: 0.1rem 0.4rem;
  margin-left: 0.5rem;
}

.address-delete-form {
  margin-top: 0.75rem;
}

.delete-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-subtle);
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition);
}

.delete-btn:hover { color: #f87171; }

.btn-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.add-address-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
}

.add-address-form h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* ── Order Success ── */
.success-page {
  padding-top: calc(2.2rem + 70px);
  padding-bottom: 6rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.success-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--gold);
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.order-number-display {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 3rem;
  margin-bottom: 2rem;
  gap: 0.3rem;
}

.order-number-display span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 500;
}

.order-number-display strong {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.success-message {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cat-nav { display: block; }

  /* Mobile: left-group (hamburger+search) flush left, icons flush right, logo absolutely centered */
  .nav-container {
    position: relative;
    justify-content: flex-start;
    gap: 0;
  }
  .nav-left-group {
    display: flex;    /* show on mobile */
    gap: 0;
  }
  .nav-search-mobile  { display: flex; }   /* show mobile search */
  .nav-search-desktop { display: none; }   /* hide desktop search from icons */
  .nav-icons {
    margin-left: auto;   /* pushes icons to the far right */
    gap: 0.25rem;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 220px);
    pointer-events: auto;
  }
  .nav-logo img { max-height: 30px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { order: -1; position: static; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-image { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-nav { flex-direction: row; gap: 0; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .category-grid { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3rem, 10vw, 5rem); }
  .nav-container { padding: 1rem 1.25rem; }
  .container { padding: 0 1rem; }
  /* cat-nav visible on mobile — add its height to page offsets */
  .shop-page, .product-page, .cart-page, .auth-page, .account-page {
    padding-top: calc(2.2rem + 60px + 2.2rem);
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input { border-right: 1px solid var(--border-light); border-bottom: none; }
  .addresses-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NOEL COLLECTION — New Feature Styles
   ============================================================ */

/* ── SHOP Mega Dropdown ── */
.nav-has-dropdown {
  position: static;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.nav-has-dropdown:hover .nav-mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Account dropdown (heart icon) ── */
.nav-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.nav-account-drop:hover .nav-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-account-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-account-item:hover { background: #f8f6f3; }
.nav-account-item + .nav-account-item { border-top: 1px solid var(--border); }
.nav-account-logout { color: #999; }

.mega-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
}

/* ── Left text list ── */
.mega-list {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2.5rem 3rem;
  border-right: 1px solid var(--border);
  gap: 0;
}

.mega-list-heading {
  font-family: var(--font-nav);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  margin-top: 0;
}

.mega-list-link {
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.mega-list-link:hover {
  color: var(--text);
  border-bottom-color: var(--border);
}

.mega-list-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.mega-list-seasonal {
  color: var(--text-subtle);
  font-size: 0.78rem;
}

.mega-list-seasonal:hover { color: var(--text); }

/* ── Right image grid ── */
.mega-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  align-items: start;
}

.mega-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  transition: opacity var(--transition);
}

.mega-cat:hover { opacity: 0.8; }

.mega-cat-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-elevated);
  border: none;
}

.mega-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-cat:hover .mega-cat-img img {
  transform: scale(1.05);
}

.mega-cat-name {
  font-family: var(--font-nav);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
  text-align: center;
}

.mega-cat:hover .mega-cat-name { color: var(--gold); }

.mega-cat-all .mega-cat-all-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  font-size: 2rem;
  color: var(--gold);
  aspect-ratio: 3/4;
}

/* ── Wishlist Nav Icon ── */
.wishlist-nav-icon {
  color: var(--text);
}

.wishlist-nav-icon svg {
  stroke: var(--text);
  fill: none;
  transition: fill var(--transition), stroke var(--transition);
}

.wishlist-nav-icon:hover svg,
.wishlist-nav-icon.has-items svg {
  stroke: var(--text);
  fill: none;
}

/* ── Card Wishlist Heart Button ── */
.card-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,20,20,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.product-img-link:hover .card-wishlist-btn,
.card-wishlist-btn.wishlisted {
  opacity: 1;
  transform: scale(1);
}

.card-wishlist-btn svg {
  stroke: #cccccc;
  transition: stroke 0.2s ease, fill 0.2s ease;
}

.card-wishlist-btn.wishlisted svg {
  stroke: #e05252;
  fill: #e05252;
}

.card-wishlist-btn:hover svg {
  stroke: #e05252;
}

/* ── Product Page Wishlist Button ── */
.wishlist-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition);
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.wishlist-btn:hover {
  border-color: #e05252;
  color: #e05252;
}

.wishlist-btn svg {
  transition: stroke 0.2s, fill 0.2s;
}

.wishlist-btn.wishlisted svg {
  stroke: #e05252;
  fill: #e05252;
}

.wishlist-btn.wishlisted {
  border-color: #e05252;
  color: #e05252;
}

/* ── Availability Badge (product page) ── */
.availability-badge-wrap {
  margin-top: 0.85rem;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.availability-in-stock {
  background: rgba(45,122,52,0.15);
  color: #5ecf68;
  border: 1px solid rgba(45,122,52,0.4);
}

.availability-out-of-stock {
  background: rgba(185,64,64,0.15);
  color: #e07070;
  border: 1px solid rgba(185,64,64,0.4);
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.availability-in-stock .availability-dot {
  background: #2d7a34;
  box-shadow: 0 0 0 2px rgba(45,122,52,0.25);
}

.availability-out-of-stock .availability-dot {
  background: #b94040;
}

/* ── Responsive: hide mega dropdown on mobile ── */
@media (max-width: 960px) {
  .nav-mega-dropdown { display: none; }
}

/* ── Masculine Nav Font (Oswald) ── */
.nav-links a,
.nav-dropdown-trigger,
.mobile-menu li a {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 400;
}

/* ── Language Toggle Button ── */
.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-nav);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 0.3rem 0.55rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
}

.lang-toggle:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ── Seasonal Badge Colors ── */
.badge-seasonal { font-size: 0.6rem; letter-spacing: 0.1em; }

.badge-sommer,
.badge-summer        { background: #d97706; color: #fff; }
.badge-vinter,
.badge-winter        { background: #3b82f6; color: #fff; }
.badge-black-friday  { background: #000; color: #fff; border: 1px solid #555; }
.badge-cyber-monday  { background: #7c3aed; color: #fff; }
.badge-påske         { background: #d946ef; color: #fff; }
.badge-valentinsdag  { background: #e05252; color: #fff; }
.badge-juleudsalg    { background: #dc2626; color: #fff; }

/* ── Seasonal Filter Tabs ── */
.filter-tab-divider-unused {
  color: var(--border);
  padding: 0 0.5rem;
  align-self: center;
}

/* .filter-tab-seasonal inherits base .filter-tab styles */

/* ── Full-Width Seasonal Top Banner ── */
.seasonal-top-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0.55rem 1rem;
  text-align: center;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  z-index: 5;
  pointer-events: none;
}

/* Per-campaign colors */
.seasonal-sommer        { background: #d97706; color: #fff; }
.seasonal-vinter        { background: #3b82f6; color: #fff; }
.seasonal-black-friday  { background: #000000; color: #fff; border-bottom: 1px solid #333; }
.seasonal-cyber-monday  { background: #7c3aed; color: #fff; }
.seasonal-påske         { background: #d946ef; color: #fff; }
.seasonal-valentinsdag  { background: #e05252; color: #fff; }
.seasonal-juleudsalg    { background: #dc2626; color: #fff; }

/* Make sure the image wrap is relative so the banner can be absolute */
.product-img-wrap { position: relative; }

/* ── Search Overlay ── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,8,6,0.96);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding-top: 10vh;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 1.5rem;
}
.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(201,169,110,0.4);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.search-bar-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: #f5f0e8;
  letter-spacing: 0.02em;
}
.search-bar-wrap input::placeholder { color: rgba(245,240,232,0.3); }
#searchClose {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,240,232,0.5);
  padding: 0.25rem;
  transition: color 0.15s;
}
#searchClose:hover { color: #f5f0e8; }
.search-results { color: #f5f0e8; }
.search-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
}
.search-result-item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.search-result-item:hover .search-result-name { color: var(--gold, #000000); }
.search-result-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  margin-bottom: 0.5rem;
}
.search-result-cat {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 0.2rem;
}
.search-result-name {
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  transition: color 0.15s;
}
.search-result-price {
  font-size: 0.8rem;
  color: var(--gold, #000000);
}
.search-hint {
  font-size: 0.85rem;
  opacity: 0.45;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2rem 0;
}

/* ============================================================
   MOBILE OPTIMISATION — primary target ≤ 768 px
   ============================================================ */

/* ── 1. Product cards: add-to-cart always visible on touch ── */
@media (hover: none), (max-width: 768px) {
  /* Show overlay + button permanently on touch devices */
  .product-overlay {
    opacity: 1;
    background: rgba(0,0,0,0);   /* transparent — we only want the button */
    align-items: flex-end;
    padding-bottom: 0;
    pointer-events: none;        /* let taps through to the image link */
  }
  .quick-add {
    pointer-events: all;         /* …except the button itself */
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 0.75rem 0;
    width: 100%;
    border-radius: 0;
    background: rgba(0,0,0,0.82);
    color: #fff;
    letter-spacing: 0.1em;
  }
  /* Always show the wishlist heart */
  .card-wishlist-btn {
    opacity: 1;
    transform: scale(1);
  }
  /* Disable hover image swap — touch users can't trigger it */
  .product-card:hover .product-img-wrap .img-primary { opacity: 1; }
  .product-card:hover .product-img-wrap .img-hover { opacity: 0; }
  .product-card:hover .product-img-wrap img { transform: none; }
  /* Disable desktop text pop effect — no hover on touch */
  .product-card:hover .product-name a {
    transform: none;
    letter-spacing: normal;
    font-weight: 700;
    color: var(--text);
  }
}

/* ── 2. PDP — sticky "Add to Cart" bar at bottom ── */
.pdp-sticky-bar {
  display: none; /* hidden on desktop */
}
@media (max-width: 900px) {
  /* Sticky bottom bar */
  .pdp-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .pdp-sticky-bar .pdp-sticky-name {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pdp-sticky-bar .pdp-sticky-price {
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    flex-shrink: 0;
  }
  .pdp-sticky-bar .pdp-sticky-atc {
    flex-shrink: 0;
    background: #000;
    color: #fff;
    border: none;
    padding: 0 1.25rem;
    height: 46px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    white-space: nowrap;
  }
  /* Add bottom padding to page so sticky bar doesn't cover content */
  .pdp-page { padding-bottom: 90px; }

  /* PDP gallery: one image at a time, full width */
  .pdp-img-slide img {
    aspect-ratio: 1 / 1;
    width: 100%;
  }

  /* Thumbnails: horizontal scroll strip */
  .pdp-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pdp-thumbs::-webkit-scrollbar { display: none; }
  .pdp-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  /* Info section: normal flow, comfortable padding */
  .pdp-info {
    padding: 1.25rem 1rem 1.5rem;
  }
  .pdp-title { font-size: 1.35rem; }

  /* Accordion bodies start closed */
  .pdp-acc-body { max-height: 0; }
}

/* ── 3. Cart drawer: full-width on mobile ── */
@media (max-width: 768px) {
  .cart-drawer { width: 100vw; right: -100vw; }
  .cart-drawer.open { right: 0; transform: none; }
}

/* ── 4. Header: bigger touch targets ── */
@media (max-width: 1024px) {
  .nav-icon, .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Desktop search must stay hidden even though .nav-icon gets display:flex above */
  .nav-search-desktop { display: none; }

  /* Cat nav: horizontal scroll, no wrapping */
  .cat-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem;
    gap: 0;
  }
  .cat-nav-inner::-webkit-scrollbar { display: none; }
  .cat-nav-link {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 0.9rem;
    font-size: 0.65rem;
  }
}

/* ── 5. Product grid: better cards on small phones ── */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .product-name { font-size: 0.85rem; font-weight: 700; }
  .product-category { font-size: 0.65rem; }
  .price { font-size: 0.88rem; }
  .compare-price { font-size: 0.75rem; }
  .product-info { padding: 0.65rem 0.4rem 0.75rem; }
}

/* ── 6. Homepage hero: readable on small screens ── */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.4rem, 13vw, 4rem); }
  .hero-subtitle { font-size: 0.8rem; }
  .btn { padding: 0.85rem 1.75rem; font-size: 0.72rem; min-height: 48px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
}

/* ── 7. Category strip: 2-col on mobile ── */
@media (max-width: 600px) {
  .cat-strip-section { padding: 1.5rem 0; }
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; padding: 0 0.5rem; }
  .cat-strip-img { aspect-ratio: 3/4; }
  .cat-strip-label { font-size: 0.68rem; margin-top: 0.4rem; }
}

/* ── 8. Values: 2×2 on mobile ── */
@media (max-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .value-item h4 { font-size: 0.72rem; }
  .value-item p { font-size: 0.7rem; }
}

/* ── 9. Footer: single column, comfortable spacing ── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input,
  .footer-newsletter-form button { width: 100%; }
}

/* ── 10. Cart page: stacked, easy to use ── */
@media (max-width: 768px) {
  .cart-items { font-size: 0.88rem; }
  .cart-item { grid-template-columns: 90px 1fr; gap: 0.75rem; }
  .cart-item-img { width: 90px; height: 90px; }
  .qty-input { min-width: 44px; }
  .qty-btn { width: 44px; height: 44px; min-height: 44px; }
}

/* ── 11. Checkout: single column, large inputs ── */
@media (max-width: 768px) {
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 48px;
  }
}

/* ── 12. Search overlay: full screen on mobile ── */
@media (max-width: 600px) {
  .search-overlay-inner { padding: 1rem; }
  .search-result-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .search-result-img { aspect-ratio: 1/1; }
}

/* ── 13. Announcement bar: single item, no overflow ── */
@media (max-width: 480px) {
  .announcement-bar { font-size: 0.7rem; }
}

/* ── 14. PDP related section ── */
@media (max-width: 600px) {
  .pdp-related { padding: 0 0.5rem; margin-top: 3rem; }
  .pdp-related-header { padding: 2rem 0 1.25rem; }
}

/* ── 15. General: all interactive elements ≥ 44 px touch target ── */
@media (max-width: 768px) {
  button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
  }
  .btn, .admin-btn {
    min-height: 48px;
  }
  /* drawer qty buttons */
  .drawer-qty-btn { min-width: 44px; min-height: 44px; }
  .drawer-item-remove { min-width: 44px; min-height: 44px; }
}
