@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

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

:root {
  --black:      #0c0c0c;
  --white:      #f4f2ee;
  --grey-100:   #f0ede9;
  --grey-200:   #dddad5;
  --grey-400:   #9e9a94;
  --grey-600:   #5a5752;
  --accent:     #c8a97e;  /* warm gold — ✦ NOCTΛRIE identity */
  --danger:     #b94040;

  --font-black: 'Archivo Black', sans-serif;
  --font-body:  'Archivo', sans-serif;

  --nav-h: 64px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ─── UTILITIES ───────────────────────────────────────────── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn-primary:hover { background: var(--grey-600); border-color: var(--grey-600); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: none;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 4px;
  border-radius: 0;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--black); }

/* ─── LOADING OVERLAY ─────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo {
  font-family: var(--font-black);
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--white);
}
.loader-bar {
  width: 180px; height: 1px;
  background: var(--grey-600);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute; inset: 0 100% 0 0;
  background: var(--white);
  animation: load-progress 1.2s ease forwards;
}
@keyframes load-progress { to { inset: 0 0 0 0; } }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  z-index: 500;
  transition: background 0.3s;
}

.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-black);
  font-size: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-600);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex; align-items: center;
  gap: 20px; justify-content: flex-end;
}

.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: opacity 0.2s;
}
.nav-icon-btn:hover { opacity: 0.6; }
.nav-icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }

.cart-badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-editorial {
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}

.hero-editorial-bg {
  position: absolute; inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  filter: brightness(0.35);
  transition: transform 8s ease;
}
.hero-editorial:hover .hero-editorial-bg { transform: scale(1.04); }

.hero-editorial-content { position: relative; z-index: 1; }

.hero-season {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-black);
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-headline em {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--accent);
}

.hero-cta-group {
  display: flex; gap: 16px; align-items: center;
}

.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero-right-top {
  background: var(--grey-100);
  display: flex; align-items: flex-end;
  padding: 48px;
  border-bottom: 1px solid var(--grey-200);
  overflow: hidden;
  position: relative;
}

.hero-right-top img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.7s ease;
}
.hero-right-top:hover img { transform: scale(1.04); }

.hero-right-top-label {
  position: relative; z-index: 1;
  color: var(--white);
}

.hero-right-top-label .product-name-tag {
  font-family: var(--font-black);
  font-size: 22px;
  letter-spacing: 0.03em;
}

.hero-right-bottom {
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  text-align: center;
}

.hero-stat {
  color: var(--white);
}
.hero-stat strong {
  font-family: var(--font-black);
  font-size: 56px;
  line-height: 1;
  display: block;
}
.hero-stat span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 16px 0;
  overflow: hidden;
  background: var(--black);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-black);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.marquee-track .sep {
  color: var(--accent);
  font-size: 8px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-black);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ─── PRODUCT GRID ────────────────────────────────────────── */
.products-section { padding: 96px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-200);
}

.product-card {
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  display: flex; flex-direction: column;
}

.product-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--grey-100);
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.product-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.product-card-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(12,12,12,0.85), transparent);
  transform: translateY(100%);
  transition: transform var(--transition);
  display: flex; gap: 8px;
}
.product-card:hover .product-card-actions { transform: translateY(0); }

.product-card-body {
  padding: 16px 20px 24px;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 6px;
}

.product-card-cat {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.product-card-name {
  font-family: var(--font-black);
  font-size: 15px;
  line-height: 1.2;
}

.product-card-price {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: auto; padding-top: 8px;
}

.price-current {
  font-size: 15px;
  font-weight: 500;
}
.price-old {
  font-size: 13px;
  color: var(--grey-400);
  text-decoration: line-through;
}

/* ─── SIZES ───────────────────────────────────────────────── */
.size-row {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.size-chip {
  width: 34px; height: 34px;
  border: 1px solid var(--grey-200);
  font-size: 10px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.05em;
}
.size-chip:hover { border-color: var(--black); }
.size-chip.selected { background: var(--black); color: var(--white); border-color: var(--black); }
.size-chip.out-of-stock { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* ─── CATEGORY STRIP ──────────────────────────────────────── */
.categories-section { padding: 0 0 96px; }

.categories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--grey-200);
  height: 560px;
}

.category-card {
  overflow: hidden;
  position: relative;
  background: var(--grey-100);
  cursor: pointer;
}

.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition);
  filter: brightness(0.6);
}
.category-card:hover img { transform: scale(1.05); filter: brightness(0.45); }

.category-card-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 40px 36px;
}
.category-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.category-name {
  font-family: var(--font-black);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.category-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.category-card:hover .category-link { color: var(--white); }

/* ─── PRODUCT DETAIL PAGE ─────────────────────────────────── */
.product-detail {
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.product-gallery {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  background: var(--grey-100);
}

.gallery-main {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-thumbs {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
}

.gallery-thumb {
  width: 56px; height: 72px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
  border: 1px solid transparent;
}
.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; border-color: var(--black); }

.product-info-panel {
  padding: 80px 64px;
  display: flex; flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}

.product-info-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.1em;
}

.product-info-title {
  font-family: var(--font-black);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.product-info-price {
  display: flex; gap: 16px; align-items: baseline;
}

.product-info-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--grey-600);
  max-width: 440px;
}

.product-size-section { display: flex; flex-direction: column; gap: 12px; }

.product-size-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.size-box {
  border: 1px solid var(--grey-200);
  background: transparent;
  padding: 14px 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.size-box:hover:not(:disabled) {
  border-color: var(--black);
}
.size-box.selected {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
.size-box:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: repeating-linear-gradient(45deg, transparent, transparent 2px, #f5f5f5 2px, #f5f5f5 4px);
  color: var(--grey-400);
  border-color: var(--grey-200);
}
.size-box .stock-warning {
  display: block;
  font-size: 9px;
  color: var(--danger);
  margin-top: 4px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.product-add-section { display: flex; flex-direction: column; gap: 12px; }

.qty-selector {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--grey-200);
  width: fit-content;
}
.qty-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--grey-100); }
.qty-display {
  width: 48px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border-left: 1px solid var(--grey-200);
  border-right: 1px solid var(--grey-200);
}

.add-to-cart-btn {
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-black);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s;
  border: none;
}
.add-to-cart-btn:hover { background: var(--grey-600); }
.add-to-cart-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── CART DRAWER ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(12,12,12,0.5);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 460px; max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 900;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--grey-200);
  display: flex; align-items: center; justify-content: space-between;
}

.cart-drawer-title {
  font-family: var(--font-black);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-close-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.cart-close-btn:hover { opacity: 0.5; }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex; flex-direction: column; gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
}

.cart-item-image {
  width: 80px; height: 100px;
  object-fit: cover;
  background: var(--grey-100);
}

.cart-item-name {
  font-family: var(--font-black);
  font-size: 13px;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.cart-item-qty {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
}

.cart-item-price {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.cart-remove-btn {
  font-size: 18px;
  color: var(--grey-400);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.cart-remove-btn:hover { color: var(--black); }

.cart-empty {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  color: var(--grey-400);
  text-align: center;
  padding: 40px;
}
.cart-empty svg { width: 48px; height: 48px; stroke-width: 1; }
.cart-empty p { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

.cart-drawer-footer {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--grey-200);
}

.cart-subtotal {
  display: flex; justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 13px;
}
.cart-subtotal strong {
  font-family: var(--font-black);
  font-size: 18px;
}

.cart-shipping-note {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.checkout-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-family: var(--font-black);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.checkout-btn:hover { background: var(--grey-600); }

/* ─── AUTH MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(12,12,12,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  width: 440px; max-width: 100vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  transform: translateY(16px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-title {
  font-family: var(--font-black);
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.form-group {
  display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 16px;
}
.form-group label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-600);
}
.form-group input {
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--grey-200);
  font-size: 14px;
  background: transparent;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--black); }

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

.modal-switch {
  font-size: 12px;
  color: var(--grey-400);
  text-align: center;
  margin-top: 20px;
}
.modal-switch a {
  color: var(--black);
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

/* ─── CHECKOUT PAGE ───────────────────────────────────────── */
.checkout-page {
  padding-top: calc(var(--nav-h) + 60px);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 80px;
  align-items: start;
}

.checkout-section-title {
  font-family: var(--font-black);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-200);
}

.paytr-iframe-container {
  background: var(--white);
  border: 1px solid var(--grey-200);
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.paytr-iframe-container iframe {
  width: 100%;
  min-height: 520px;
  border: none;
}

.order-summary-box {
  background: var(--grey-100);
  padding: 40px;
  position: sticky; top: calc(var(--nav-h) + 40px);
}

.order-summary-line {
  display: flex; justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-600);
}
.order-summary-line:last-of-type { border-bottom: none; }
.order-summary-total {
  display: flex; justify-content: space-between;
  font-family: var(--font-black);
  font-size: 18px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--black);
}

/* ─── TOAST NOTIFICATIONS ─────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}

.toast {
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  max-width: 320px;
  animation: toast-in 0.4s cubic-bezier(0.16,1,0.3,1) forwards,
             toast-out 0.3s 2.7s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
}

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

.footer-brand-name {
  font-family: var(--font-black);
  font-size: 24px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}

.footer-socials {
  display: flex; gap: 24px;
}
.footer-socials a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }

/* ─── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 600;
}
.mobile-menu-btn span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(244,242,238,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 550;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav-links.mobile-open {
    display: flex !important;
    opacity: 1;
    pointer-events: all;
  }
  .nav-links.mobile-open a {
    font-size: 18px;
    letter-spacing: 0.15em;
    color: var(--black);
  }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero-right { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .categories-grid .category-card { aspect-ratio: 1; }
  .checkout-page { grid-template-columns: 1fr; padding: calc(var(--nav-h) + 40px) 24px 40px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-editorial { padding: 40px 24px; min-height: 90svh; }
  .products-grid { gap: 1px; }
  .categories-grid { grid-template-columns: 1fr; height: auto; }
  .categories-grid .category-card { aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .product-detail-flex { flex-direction: column; min-height: auto; }
  .product-detail-images { flex: 0 0 auto; width: 100%; }
  .product-detail-info { flex: 0 0 auto; width: 100%; position: relative; top: 0; min-height: auto; height: auto; padding: 32px 24px; }
  .product-gallery { position: relative; height: 60vw; min-height: 320px; }
}
