﻿:root {
  --white: #ffffff;
  --cream: #f5f2ed;
  --cream-dark: #efebe4;
  --black: #0d0d0d;
  --gray-50: #f5f2ed;
  --gray-100: #ece7df;
  --gray-200: #e0dbd3;
  --gray-400: #9a958c;
  --gray-600: #5c5852;
  --header-h: 72px;
  --page-pad: 40px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --transition: 0.25s ease;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
img, video, canvas, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; border: none; background: none; }
.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(var(--page-pad), env(safe-area-inset-right, 0px)) 0 max(var(--page-pad), env(safe-area-inset-left, 0px));
  background: rgba(10, 10, 10, 0.42);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.45s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}
.site-header--light {
  background: rgba(10, 10, 10, 0.42);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header--solid {
  background: var(--cream);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}
.nav-link:hover { opacity: 0.7; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  pointer-events: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-inner {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 16px 0;
}
.dropdown-group { padding: 0 20px 12px; }
.dropdown-group:last-child { padding-bottom: 0; }
.dropdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0 0 8px;
}
.dropdown-inner a {
  display: block;
  padding: 6px 20px;
  font-size: 13px;
  transition: background var(--transition);
}
.dropdown-inner a:hover { background: var(--gray-100); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-word {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-style: normal;
  font-size: 18px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  z-index: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  z-index: 1;
}
.header-home {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.cart-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 8px 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.cart-text-btn:hover { opacity: 0.7; }
.cart-icon { display: block; flex-shrink: 0; }
.cart-label { letter-spacing: 0.16em; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.site-header--solid .icon-btn:hover { background: rgba(0, 0, 0, 0.06); }

.cart-btn { position: relative; }
.cart-badge { font: inherit; }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(100%, 380px);
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform var(--transition);
}
.mobile-menu.hidden { transform: translateX(100%); display: flex !important; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.mobile-menu-nav a,
.mobile-menu-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-home-link {
  letter-spacing: 0.16em;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.mobile-sub a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
}

/* Overlay & drawers */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 160;
  width: min(100%, 420px);
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(0);
  transition: transform var(--transition);
}
.drawer.hidden { transform: translateX(100%); display: flex !important; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.drawer-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
}
.empty-state {
  text-align: center;
  color: var(--gray-400);
  padding: 40px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--gray-100);
}
.cart-item-info h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
}
.cart-item-info p {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--gray-600);
}
.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border: 1px solid var(--gray-200);
  background: transparent;
}
.cart-qty-btn,
.cart-qty span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  color: var(--black);
}
.cart-qty span { min-width: 18px; width: auto; padding: 0 2px; }
.cart-qty-btn:hover { background: rgba(0, 0, 0, 0.04); }
.cart-item-price {
  font-weight: 700;
  font-size: 13px;
}
.cart-item-remove {
  font-size: 12px;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  background: none;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 15px;
}
.cart-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
}

/* Search */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 180;
  background: var(--cream);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.search-panel-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.search-panel input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--black);
  padding: 12px 0;
  font-size: 18px;
  outline: none;
}
.search-results {
  max-width: 800px;
  margin: 16px auto 0;
  max-height: 60vh;
  overflow-y: auto;
}
.search-result {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}
.search-result:hover { background: var(--gray-50); }
.search-result img {
  width: 60px;
  height: 75px;
  object-fit: cover;
}
.search-result h4 {
  margin: 0 0 4px;
  font-size: 14px;
}
.search-result p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 420px;
  margin-top: 0;
  overflow: hidden;
  background: var(--black);
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, transparent 28%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  transition: background var(--transition);
}
.hero-dot.active { background: var(--white); }
.hero-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  transition: transform var(--transition);
}
.hero-arrow:hover { transform: scale(1.05); }

/* Sections */
.section {
  padding: 72px var(--page-pad);
  max-width: 1440px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-header h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.text-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.text-link--light { color: #fff; }
.text-link:hover { opacity: 0.7; }

.catalog-page {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px);
  min-height: 100vh;
  min-height: 100dvh;
}
.catalog-back {
  margin-bottom: 28px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.16em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.catalog-header h1 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.catalog-count {
  margin: 0;
  font-size: 12px;
  color: var(--gray-600);
  letter-spacing: 0.08em;
}
.catalog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.catalog-cat {
  padding: 10px 14px;
  min-height: 40px;
  border: 1px solid var(--gray-200);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.catalog-cat.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
body.is-catalog .site-header,
body.is-catalog .site-header--light {
  background: var(--cream);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-catalog .icon-btn:hover { background: rgba(0, 0, 0, 0.06); }

/* Product grid */
.product-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}
.product-card {
  position: relative;
  min-width: 0;
}
.product-card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-dark);
  margin-bottom: 14px;
}
.product-card-media img,
.product-card-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.product-card-ph { display: block; background: #ece8e2; }
.product-card:hover .product-card-media img { transform: scale(1.03); }
.product-card-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: none;
}
.view-product-chip {
  display: block;
  width: 100%;
  margin: 0;
  padding: 22px 8px 8px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 55%, transparent);
  color: rgba(255, 255, 255, 0.95);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 0;
  pointer-events: none;
}
.product-card:hover .view-product-chip {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.1) 55%, transparent);
}
.product-card-name {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.product-card-name:hover { opacity: 0.7; }
.product-card-price {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.product-card-price .original {
  text-decoration: line-through;
  color: var(--gray-400);
  margin-right: 0;
  font-weight: 400;
}
.price-sale-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.sale-tag {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
}
.price-now--sale {
  font-weight: 700;
  color: #111;
}
.product-swatches {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}
.swatch.active { outline: 2px solid var(--black); outline-offset: 2px; }
.swatch[data-color="Gold"] { background: #d4af37; }
.swatch[data-color="Silver"] { background: #c0c0c0; }
.swatch[data-color="Rose Gold"] { background: #b76e79; }
.swatch[data-color="Black"] { background: #222; }
.swatch[data-color="White"] { background: #fff; }

.campaign {
  display: block;
  min-height: 0;
  max-width: none;
  background: var(--cream);
}
.campaign-story {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 40px;
  min-height: 280px;
}
.campaign-story h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 24px 0 auto;
}
.our-story-body {
  white-space: pre-wrap;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
  margin: 8px 0 0;
}
.lookbook-section-save { margin: 0 0 36px; }
.banner-grid {
  display: none !important;
}
.collection-banner {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.collection-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.collection-banner:hover img { transform: scale(1.04); }
.collection-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.collection-banner-content {
  position: relative;
  z-index: 1;
  padding: 16px;
}
.collection-banner-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
  opacity: 0.85;
}
.collection-banner-title {
  margin: 0 0 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-primary:hover {
  background: transparent;
  color: var(--black);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-full { width: 100%; }
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.footer-link-btn {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray-600);
  text-align: left;
}
.footer-link-btn:hover { color: var(--black); }
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.collection-banner .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.collection-banner .btn:hover { background: transparent; color: var(--white); }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  cursor: pointer;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.04); }
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.category-card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.category-card h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  cursor: pointer;
}
.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 16px;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.blog-card p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.journal-modal {
  width: min(100%, 560px);
  max-height: 88vh;
  overflow: auto;
}
.journal-modal img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin: 0 0 16px;
  background: #eee;
}

/* Info section */
.info-section { background: var(--cream-dark); max-width: none; padding-left: var(--page-pad); padding-right: var(--page-pad); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.info-block h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-block p, .info-block ol, .info-block ul {
  margin: 0;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.info-block ol { padding-left: 1.2rem; }
.size-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.size-guide-list li {
  margin: 0;
}
.info-block a { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--black);
  padding: 64px var(--page-pad) 28px;
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto 48px;
}
.footer-brand .brand-word {
  margin: 0 0 10px;
}
.footer-tagline {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--gray-600);
}
.footer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black);
  max-width: 280px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--black);
  padding: 10px 0;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--gray-400); }
.newsletter-form button {
  padding: 8px 0 8px 12px;
  font-size: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray-600);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--gray-600);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--black);
  opacity: 0.75;
}
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 16px; height: 16px; }
.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--gray-600);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.modal-content {
  position: relative;
  background: #111111;
  color: #f2f2f2;
  width: min(100%, 900px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  display: grid;
  place-items: center;
  z-index: 1;
  color: #fff;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.product-gallery { min-width: 0; }
.product-zoom {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--gray-100);
  overflow: hidden;
  cursor: default;
  touch-action: pan-y;
}
.product-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transform-origin: center center;
  pointer-events: none;
}
.zoom-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  pointer-events: none;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.product-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: #1a1a1a;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb.active,
.product-thumb:hover {
  border-color: #fff;
}
.gallery-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #b0b0b0;
}
.product-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 0 0 8px;
}
.product-modal-info h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.product-subtitle {
  margin: 0 0 12px;
  color: #b8b8b8;
  font-size: 13px;
}
.product-price {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.option-group {
  margin-bottom: 20px;
}
.option-group label,
.quantity-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.swatch-row, .size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 48px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #3a3a3a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
.size-btn.active,
.size-btn:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}
.quantity-row {
  margin-bottom: 24px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #3a3a3a;
  color: #fff;
}
.qty-control button {
  width: 40px;
  height: 40px;
  font-size: 18px;
}
.qty-control span {
  width: 48px;
  text-align: center;
  font-weight: 600;
}
.stock-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #b0b0b0;
}

.checkout-modal,
.account-modal,
.payment-modal,
.support-modal {
  width: min(100%, 520px);
}
.checkout-modal h3,
.account-modal h3,
.payment-modal h3,
.support-modal h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.modal-lead {
  margin: 0 0 20px;
  color: #b5b5b5;
  font-size: 14px;
}
.checkout-modal form,
.account-modal form,
.support-modal form,
.admin-form {
  display: grid;
  gap: 16px;
}
.checkout-modal label,
.account-modal label,
.support-modal label,
.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ddd;
}
.checkout-modal input,
.checkout-modal textarea,
.checkout-modal select,
.account-modal input,
.support-modal input,
.support-modal textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  border: 1px solid #3a3a3a;
  background: #1a1a1a;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  width: 100%;
}
.checkout-modal input::placeholder,
.account-modal input::placeholder,
.support-modal textarea::placeholder {
  color: #777;
}
.payment-fieldset { border: 0; padding: 0; margin: 0; }
.payment-fieldset legend {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: #ddd;
}
.payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #3a3a3a;
  padding: 16px 14px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  background: #141414;
  cursor: pointer;
}
.payment-option input { margin-top: 3px; width: auto; }
.payment-option-copy {
  display: grid;
  gap: 4px;
}
.payment-option-copy strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.payment-option-copy em {
  font-style: normal;
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}
.payment-option:has(input:checked) { border-color: #fff; background: #1c1c1c; }
.payment-reassure {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #888;
  text-transform: none;
  letter-spacing: normal;
}
.payment-amount {
  margin: 8px 0 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; }
.checkout-summary { display: grid; gap: 8px; }
.checkout-summary > div,
.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}
.checkout-total {
  border-top: 1px solid #333;
  font-size: 16px;
  padding-top: 16px;
}
.payment-wait {
  margin: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #c8c8c8;
  text-align: center;
}
.payment-wait.is-paid {
  color: #7dcea0;
}
.payment-wait.is-unpaid {
  color: #c8c8c8;
}
.payment-details { text-align: center; }
.payment-qr {
  width: min(100%, 280px);
  margin: 16px auto;
  background: #fff;
  padding: 12px;
  border: 1px solid #3a3a3a;
}
.payment-identity {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #3a3a3a;
  background: #161616;
  text-align: left;
}
.payment-identity-title {
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa !important;
}
.payment-identity p {
  margin: 0 0 12px !important;
  color: #ddd !important;
  font-size: 13px !important;
  line-height: 1.45;
}
.payment-identity p:last-child { margin-bottom: 0 !important; }
.payment-identity strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2px;
  font-weight: 700;
}
.payment-identity span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.order-card .payment-identity {
  margin: 12px 0;
}
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.account-tab {
  min-height: 44px;
  border-bottom: 2px solid #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  color: #bdbdbd;
}
.account-tab.active { border-color: #fff; color: #fff; }
.account-text-link {
  border: 0;
  background: none;
  padding: 4px 0;
  min-height: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #888;
  justify-self: start;
}
.account-modal--light {
  background: #fff;
  color: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.account-modal--light h3 {
  color: #111;
}
.account-modal--light .modal-close { color: #111; }
.account-modal--light .modal-lead { color: #666; }
.account-modal--light label { color: #444; }
.account-modal--light input {
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
}
.account-modal--light input:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}
.account-modal--light .account-tab {
  color: #888;
  border-bottom-color: #e6e6e6;
}
.account-modal--light .account-tab.active {
  color: #111;
  border-bottom-color: #111;
}
.account-modal--light .account-text-link { color: #555; }
.account-modal--light .btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.account-modal--light .btn-primary:hover {
  background: #fff;
  color: #111;
  border-color: #111;
}
.account-modal--light .btn-outline-dark {
  color: #111;
  border-color: #111;
}
.account-modal--light .account-meta { color: #555; }
.account-modal--light .order-card {
  background: #f7f7f7;
  border-color: #ececec;
  color: #111;
}
.account-modal--light .order-card h4 { color: #111; }
.account-modal--light .form-message.error { color: #c0392b; }
.account-modal--light .form-message.success { color: #1e7a46; }
.account-orders { display: grid; gap: 12px; margin: 16px 0; max-height: 40vh; overflow: auto; }
.account-order-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.account-order-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #eee;
  display: block;
}
.account-order-copy h4 { margin: 0 0 6px; }
.account-order-copy ul { margin: 8px 0 0; padding-left: 18px; }
.order-card--click { cursor: pointer; }
.account-order-hint { font-size: 12px; color: #888; margin: 8px 0 0; }
.account-order-detail { margin: 16px 0; }
.account-order-items { display: grid; gap: 10px; padding: 0; list-style: none; margin: 16px 0; }
.account-order-items li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.account-order-line { grid-template-columns: 64px 1fr; gap: 10px; align-items: start; }
.account-order-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #eee;
}
.account-order-actions { display: grid; gap: 8px; }
.account-modal--light .account-logout-btn,
.modal-content.account-modal--light .account-logout-btn,
.account-modal--light .account-solid-btn,
.modal-content.account-modal--light .account-solid-btn {
  background: #111;
  color: #fff;
  border: 2px solid #111;
  margin-top: 8px;
}
.account-modal--light .account-logout-btn {
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.account-modal--light .account-logout-btn:hover,
.modal-content.account-modal--light .account-logout-btn:hover,
.account-modal--light .account-solid-btn:hover,
.modal-content.account-modal--light .account-solid-btn:hover {
  background: #fff;
  color: #111;
}
.ship-tracker {
  margin: 16px 0;
  padding: 14px 12px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}
.ship-tracker h5 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ship-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 4px;
  margin-bottom: 12px;
}
.ship-order-id { font-weight: 700; margin: 0 0 10px; }
.ship-track-btn,
.pdp .ship-track-btn {
  background: #111;
  color: #fff;
  border: 2px solid #111;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.ship-step {
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
  color: #aaa;
}
.ship-step i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 6px;
}
.ship-step.is-done,
.ship-step.is-now { color: #111; }
.ship-step.is-done i { background: #111; }
.ship-step.is-now i { background: #111; box-shadow: 0 0 0 3px #111; }
.ship-meta { font-size: 13px; color: #444; display: grid; gap: 4px; }
.ship-track-btn { margin-top: 10px; }
.admin-ship {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333;
}
.admin-ship input,
.admin-ship select {
  width: 100%;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 8px;
}
.order-card { border: 1px solid #333; padding: 12px; background: #1a1a1a; }
.order-card--paid { border-color: #3d5c4a; }
.order-card h4 { margin: 0 0 6px; color: #fff; }
.support-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.support-head img { filter: invert(1); }
.modal-content .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.modal-content .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.modal-content .btn-outline-dark {
  color: #fff;
  border-color: #fff;
}
.form-message {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}
.form-message.success { color: #7dcea0; }
.form-message.error { color: #f1948a; }
.support-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #000;
  color: #f4f4f4;
  display: flex;
  flex-direction: column;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a2a;
}
.admin-header h2 { margin: 0; font-size: 18px; color: #fff; }
.admin-header .icon-btn { color: #fff; }
.admin-header .icon-btn:hover { background: rgba(255,255,255,0.1); }
.admin-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #2a2a2a;
  background: #0b0b0b;
}
.admin-tab {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  color: #bdbdbd;
}
.admin-tab.active { border-color: #fff; color: #fff; }
.order-subtabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}
.order-subtab {
  flex: 1;
  min-height: 42px;
  border: 1px solid #3a3a3a;
  background: #141414;
  color: #bdbdbd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.order-subtab.active {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.admin-live-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.admin-live-card {
  border: 1px solid #333;
  padding: 20px 16px;
  background: #141414;
}
.admin-live-card strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: #fff;
}
.admin-live-card span {
  color: #888;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-body { flex: 1; overflow: auto; padding: 20px; }
.admin-section-title {
  margin: 8px 0 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-hint { color: #9a9a9a; margin: 0 0 16px; font-size: 13px; text-transform: none; letter-spacing: normal; font-weight: 400; }
.admin-form--wide { max-width: 980px; }
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.lookbook-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #111;
  border: 1px solid #2a2a2a;
}
.lookbook-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #1a1a1a;
}
.lookbook-card textarea { min-height: 72px; resize: vertical; }
.lookbook-remove { min-height: 40px; font-size: 11px; }
.admin-product-item, .promo-admin-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2a;
}
.admin-product-block {
  border-bottom: 1px solid #2a2a2a;
}
.admin-product-block .admin-product-item {
  border-bottom: 0;
}
.admin-product-block.is-editing {
  background: #121212;
  border: 1px solid #3a3a3a;
  margin: 8px 0;
  padding: 0 12px;
}
.admin-product-item img { width: 64px; height: 64px; object-fit: cover; object-position: center center; background: #1a1a1a; }
.admin-item-actions { display: flex; gap: 8px; }
.admin-item-actions button, .remove-promo-btn { color: #fff; text-decoration: underline; }
.admin-edit-slot.is-open { padding: 0 0 16px; }
.admin-edit-form {
  display: grid;
  gap: 0;
  max-width: 640px;
  width: 100%;
  margin: 0;
  padding: 12px 0 4px;
  border-top: 1px solid #333;
}
.admin-edit-head {
  margin-bottom: 12px;
}
.admin-edit-head h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
}
.admin-edit-head p {
  margin: 0;
  font-size: 12px;
  color: #9a9a9a;
}
.admin-edit-section {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid #2a2a2a;
}
.admin-edit-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}
.admin-line {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 6px !important;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ddd;
}
.admin-line input,
.admin-line select {
  width: 100%;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid #3a3a3a;
  color: #fff;
  padding: 12px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.admin-line-check {
  margin-top: 4px;
}
.admin-size-picker {
  display: grid;
  gap: 8px;
}
.admin-size-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.size-tab-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.size-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.size-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  height: auto;
  padding: 2px 2px 2px 6px;
  border: 1px solid #fff;
  background: transparent;
}
.admin-form .size-tab input,
.admin-panel .size-tab input,
.size-tab input {
  width: 13.5rem;
  min-width: 13.5rem;
  max-width: 18rem;
  height: 32px;
  margin: 0;
  padding: 0 6px;
  border: 0 !important;
  background: transparent !important;
  color: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
}
.size-tab input::placeholder { color: rgba(255,255,255,0.35); }
.size-tab-remove {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.45;
}
.size-tab-remove:hover { opacity: 1; }
.size-tab-add {
  width: 36px;
  height: 36px;
  border: 1px dashed rgba(255,255,255,0.45);
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.admin-photo-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-photo-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.admin-photo-slot {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid #3a3a3a;
  background: #0f0f0f;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ddd;
  box-sizing: border-box;
}
.admin-photo-caption {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.admin-photo-preview {
  width: 100%;
  aspect-ratio: 1;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  background: #1a1a1a;
}
.admin-photo-file {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: #bbb;
}
.admin-photo-slot input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 0;
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: #ccc;
  background: transparent;
  border: 0;
}
.admin-photo-remove {
  min-height: 40px;
  font-size: 11px;
}
.admin-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
}
.admin-form { max-width: 640px; }
.admin-panel .admin-form label,
.admin-panel .admin-edit-form label { color: #ddd; }
.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  background: #141414;
  border: 1px solid #3a3a3a;
  color: #fff;
}
.admin-panel .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.admin-panel .btn-primary:hover {
  background: transparent;
  color: #fff;
}
.admin-panel .btn-outline-dark {
  color: #fff;
  border-color: #fff;
}
.admin-panel .modal-lead { color: #b5b5b5; }
.promo-admin-item { grid-template-columns: 1fr; }
.promo-used { margin: 0 !important; }
.qr-preview { width: min(100%, 180px); border: 1px solid #3a3a3a; padding: 8px; background: #fff; }
.checkbox-label { display: flex !important; align-items: center; gap: 8px; text-transform: none !important; }
.admin-fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pay-mode-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
}
.pay-mode-side {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
}
.pay-mode-side.is-on { color: #fff; }
.pay-switch {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: #2a2a2a;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  padding: 0;
}
.pay-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.pay-switch.is-manual {
  background: #c4a574;
}
.pay-switch.is-manual::after {
  transform: translateX(22px);
}
.pay-mode-guide {
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: normal;
}
.pay-mode-guide ol {
  margin: 8px 0 0;
  padding-left: 1.15rem;
}
.variant-stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.variant-stock-grid .admin-line { margin: 0; }
.sold-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
}
.product-card-media { position: relative; }
.pdp .size-btn.is-sold,
.pdp .swatch.is-sold { opacity: 0.45; }
.pdp .size-btn.is-sold i {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.pdp .swatch.is-sold { position: relative; }
.pdp .swatch.is-sold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), #111 50%, transparent calc(50% + 1px));
}
.stock-note.is-sold { color: #b42318; font-weight: 600; }
.category-card { border: 0; padding: 0; text-align: left; width: 100%; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive */
@media (hover: none) {
  .product-card-actions {
    opacity: 1;
    transform: none;
    pointer-events: none;
  }
  .view-product-chip {
    padding: 18px 6px 7px;
    font-size: 7px;
    letter-spacing: 0.16em;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.05) 60%, transparent);
  }
}

@media (max-width: 1199px) {
  .header-nav { display: none; }
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header-home { display: inline-flex; }
}

@media (min-width: 768px) {
  .product-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .payment-options { grid-template-columns: repeat(3, 1fr); }
  .promo-admin-item { grid-template-columns: 1.1fr 0.7fr 0.55fr 0.55fr 0.55fr 0.55fr auto auto; }
  .pdp-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .product-grid,
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --page-pad: 24px; --header-h: 64px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .campaign { grid-template-columns: 1fr; }
  .campaign-story { min-height: 240px; }
  .hero { min-height: 480px; }
  .product-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --page-pad: 16px; --header-h: 60px; }
  .catalog-back {
    position: sticky;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    z-index: 2;
    width: 100%;
    background: var(--cream);
    margin-bottom: 16px;
    padding: 4px 0 10px;
  }
  .brand-word { font-size: 16px; letter-spacing: 0.32em; }
  .cart-text { display: none; }
  .banner-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .blog-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .collection-banner { max-height: 240px; aspect-ratio: 3/4; }
  .collection-banner-content { padding: 10px; }
  .collection-banner-title { font-size: 0.82rem; margin-bottom: 6px; }
  .collection-banner .btn { min-height: 40px; padding: 0 10px; font-size: 10px; }
  .product-zoom { max-height: none; }
  .product-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-note { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .section { padding: 48px var(--page-pad); }
  .info-section { padding-left: var(--page-pad); padding-right: var(--page-pad); }
  .site-footer { padding: 48px var(--page-pad) 24px; }
  .product-card-actions {
    opacity: 1;
    transform: none;
    pointer-events: none;
  }
  .modal { padding: 0; align-items: stretch; }
  .modal-content {
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    padding: 20px 16px calc(32px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
  }
  .checkout-modal, .account-modal, .payment-modal, .support-modal { width: 100%; }
  .drawer { width: 100%; }
  .campaign-story { min-height: 220px; padding: 32px 24px; }
  .catalog-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .catalog-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(var(--page-pad) * -1);
    margin-right: calc(var(--page-pad) * -1);
    padding: 0 var(--page-pad) 8px;
    scrollbar-width: none;
  }
  .catalog-cats::-webkit-scrollbar { display: none; }
  .catalog-cat { flex: 0 0 auto; }
  .pdp-info h1 { font-size: 22px; }
  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: none;
    width: auto;
    text-align: center;
  }
  input, select, textarea { font-size: 16px; }
}

@media (max-width: 479px) {
  .product-grid,
  .product-grid { gap: 20px 10px; }
  .category-card-content { padding: 12px; }
  .category-card h3 { font-size: 11px; }
  .hero { min-height: 380px; }
  .support-fab {
    width: 52px;
    height: 52px;
    right: 12px;
  }
}

@media (min-width: 1440px) {
  :root { --page-pad: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.bag-btn { position: relative; }
.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.support-fab svg { display: block; }
.support-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #444;
  color: #fff;
}
.modal.pdp {
  padding: 0;
  align-items: stretch;
  background: #fff;
  z-index: 320;
  display: flex;
  flex-direction: column;
}
.size-chart-modal {
  z-index: 430;
}
.size-chart-dialog {
  max-width: 420px;
  background: #fff;
  color: #111;
}
.size-chart-dialog .modal-close { color: #111; }
.size-chart-dialog h3 {
  margin: 0 40px 16px 0;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.size-chart-body {
  white-space: pre-wrap;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
}
.pdp-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: env(safe-area-inset-top, 0px) 4px 0 18px;
  background: #000;
  color: #fff;
  z-index: 6;
}
.pdp-topbar-brand {
  font-size: 12px;
  letter-spacing: 0.38em;
  font-weight: 600;
}
.pdp-shell {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #fff;
  color: #111;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pdp-shell::-webkit-scrollbar { width: 0; height: 0; display: none; }
.pdp-media { overflow: hidden; }
.pdp-close {
  width: 48px;
  height: 48px;
  margin: 0;
  font-size: 28px;
  color: #fff;
  background: transparent;
  border: 0;
}
.pdp-media .product-zoom {
  aspect-ratio: 1;
  background: #fff;
  cursor: default;
}
.pdp-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.pdp-zoom-btn svg { display: block; }
.pdp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 8px;
}
.pdp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  padding: 0;
  border: 0;
}
.pdp-dot.active { background: #111; }
.pdp-info {
  padding: 8px 20px 40px;
  max-width: 640px;
  margin: 0 auto;
  clear: both;
}
.pdp-brand { margin: 0 0 8px; font-size: 13px; color: #888; }
.pdp-subtitle {
  margin: 6px 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  font-weight: 400;
}
.pdp-info h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}
.pdp-price { margin: 0 0 16px; font-size: 20px; font-weight: 700; color: #111; }
.pdp-price .price-sale-wrap { align-items: center; gap: 8px 10px; }
.pdp-price .original { font-size: 16px; font-weight: 400; color: #888; text-decoration: line-through; }
.pdp-price .sale-tag { font-size: 11px; padding: 4px 8px; }
.pdp-related-media { position: relative; display: block; }
.pdp-related-media .sale-badge { top: 8px; left: 8px; font-size: 10px; padding: 5px 7px; }
.pdp-rule { border: 0; border-top: 1px solid #e7e7e7; margin: 0 0 18px; }
.pdp-option-label, .pdp-size-head { font-size: 15px; margin: 0 0 10px; }
.pdp-size-head { display: flex; justify-content: space-between; align-items: center; }
.pdp-size-chart { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.pdp .swatch { width: 28px; height: 28px; border-radius: 4px; }
.pdp .size-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pdp .size-btn { min-height: 48px; min-width: 0; width: auto; padding: 8px 14px; border: 1px solid #111; background: #fff; color: #111; white-space: normal; line-height: 1.2; }
.pdp .size-btn.active { background: #111; color: #fff; }
.pdp .size-btn.is-sold { opacity: 0.5; border-style: dashed; }
.pdp .size-btn.is-sold i {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.pdp .swatch.is-sold { opacity: 0.4; }
.pdp .stock-note { color: #555; }
.pdp .stock-note.is-sold { color: #b42318; font-weight: 600; }
.pdp .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pdp-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #111;
  max-width: 220px;
  margin: 8px 0 16px;
}
.pdp-qty button, .pdp-qty span { width: 48px; height: 48px; display: grid; place-items: center; font-size: 18px; }
.pdp-packaging {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  cursor: pointer;
}
.pdp-packaging input { margin-top: 3px; width: auto; }
.pdp-packaging strong { font-weight: 700; }
.pdp .btn-outline-dark { background: #fff; color: #111; border: 1px solid #111; margin-bottom: 10px; }
.pdp .btn-primary { margin-bottom: 10px; }
.pdp-desc {
  color: #444;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 20px 0 0;
  font-size: 14px;
}
.pdp-accordions { margin: 24px 0; border-top: 1px solid #eee; }
.pdp-accordions details { border-bottom: 1px solid #eee; }
.pdp-accordions summary {
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pdp-accordions summary::-webkit-details-marker { display: none; }
.pdp-accordions summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.pdp-accordions details[open] summary::after { transform: rotate(225deg); }
.pdp-detail-body { padding: 0 0 16px; color: #444; line-height: 1.7; white-space: pre-wrap; }
.pdp-accordions details p,
#shippingPolicyText,
#returnsPolicyText {
  white-space: pre-wrap;
}
.pdp-reviews h2, .pdp-related h2 { font-size: 22px; margin: 28px 0 16px; }
.review-card { border: 1px solid #e5e5e5; padding: 16px; margin-bottom: 12px; }
.review-form { display: grid; gap: 10px; margin-top: 12px; }
.review-form input, .review-form textarea, .review-form select { border: 1px solid #ddd; padding: 10px; color: #111; background: #fff; }
.pdp-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pdp-related-card {
  text-align: left;
  color: #111;
  width: 100%;
}
.pdp-related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f3f3;
  margin-bottom: 8px;
}
.pdp-related-card strong,
.pdp-related-card span { display: block; }
.admin-order-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.order-queue { display: inline-block; background: #fff; color: #000; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding: 4px 8px; margin-bottom: 8px; }
.order-new-flag { color: #f7c948; font-weight: 700; }
.copy-line { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) {
  .pdp-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; padding-bottom: 0; }
  .pdp-info { padding: 48px 40px 80px; }
}

.gallery-lite {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
}
.gallery-lite.hidden { display: none; }
.gallery-lite-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  touch-action: none;
  padding: 24px 20px 108px;
}
.gallery-lite-stage.is-zoomed { cursor: grab; }
.gallery-lite-stage img {
  max-width: min(100%, 720px);
  max-height: calc(100dvh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-lite-dock {
  position: absolute;
  left: 50%;
  bottom: max(28px, calc(16px + env(safe-area-inset-bottom, 0px)));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.gallery-lite-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  padding: 0;
}
.gallery-lite-fab svg { display: block; }
.gallery-lite-fab:active { transform: scale(0.96); }
.gallery-lite-fab.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
@media (min-width: 768px) {
  .gallery-lite-fab { width: 56px; height: 56px; }
  .gallery-lite-dock { gap: 22px; }
  .gallery-lite-stage { padding: 40px 40px 120px; }
}
