/* ============================================
   89 BLACK — theme stylesheet
   Black & white, editorial, product-focused.
   ============================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f6f6f6;
  --grey-100: #f0f0f0;
  --grey-200: #e5e5e5;
  --grey-400: #9a9a9a;
  --grey-600: #555555;
  --grey-900: #111111;

  --text: var(--black);
  --bg: var(--white);
  --border: var(--grey-200);
  --muted: var(--grey-600);

  --container: 1280px;
  --gap: 1.5rem;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--black);
  line-height: 0; /* prevent extra vertical space around the SVG */
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 200px;
  /* sharp render even when downscaled */
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 700px) {
  .brand-logo { height: 26px; }
}
/* Keep the legacy .mark class working in case any cached page or admin
   notice still uses it — falls back to a text mark if the SVG fails */
.brand .mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.main-nav { display: flex; gap: 2rem; justify-content: center; }
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--black);
}
.main-nav a:hover { text-decoration: none; opacity: .6; }

.header-actions {
  display: flex; gap: 1rem; align-items: center; justify-content: flex-end;
}
.header-actions a { display: inline-flex; align-items: center; gap: .35rem; }
.header-actions a:hover { text-decoration: none; opacity: .6; }
.cart-link { position: relative; font-weight: 600; }
.cart-link .count {
  background: var(--black); color: var(--white);
  border-radius: 999px; font-size: .7rem; min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .35rem; font-weight: 700;
}

/* Hamburger button — hidden on desktop, visible on mobile */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-left: 0.5rem;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 1001; /* above the overlay so it remains tappable when open */
  -webkit-tap-highlight-color: transparent;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s;
  border-radius: 1px;
}
/* Active state — bars morph into an X. Inverts to white when overlay is open. */
.hamburger.is-active .hamburger-bar { background: var(--white); }
.hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav — at 900px and below the desktop nav hides and the hamburger appears */
@media (max-width: 900px) {
  .site-header .inner {
    /* Switch to a 2-column layout: brand left, actions right.
       The desktop 3-col grid leaves a phantom middle column when .main-nav
       is hidden, which steals horizontal space and clips the logo. */
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .main-nav { display: none; }
  .hamburger { display: block; }
  /* Tighten header spacing on mobile so the brand has room */
  .header-actions { gap: 0.75rem; }
  .header-actions .header-action-icon { padding: 0.25rem; }
}

/* Even narrower screens — shrink the logo a bit to guarantee fit */
@media (max-width: 420px) {
  .brand-logo { height: 22px; }
  .header-actions { gap: 0.5rem; }
  .header-actions .cart-link { font-size: 0.85rem; }
}

/* ============================================
   MOBILE MENU OVERLAY — fullscreen, editorial
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  /* Hidden by default — slide-up animation when opened */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0.25s;
  overflow-y: auto;
  /* Subtle diagonal stripe texture matching the hero */
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 119px,
    rgba(255,255,255,0.025) 119px, rgba(255,255,255,0.025) 120px
  );
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
/* Hide the overlay entirely on desktop so it never accidentally appears */
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

.mobile-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-nav a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding 0.15s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-nav a:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus,
.mobile-menu-nav a:active {
  text-decoration: none;
  padding-left: 0.5rem;
  opacity: 0.85;
}

.mobile-menu-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.mobile-menu-email {
  display: inline-block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mobile-menu-email:hover { text-decoration: underline; opacity: 0.7; }

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem 1.5rem;
}
.product-card { text-align: center; }
.product-card:hover { text-decoration: none; }
.product-card .image {
  aspect-ratio: 1;
  background: var(--grey-100);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.product-card .image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .image img { transform: scale(1.04); }
.product-card .title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .25rem;
  letter-spacing: -0.01em;
}
.product-card .price {
  font-size: .9rem;
  color: var(--muted);
}


/* ============================================
   PRODUCT PAGE — redesigned (editorial layout,
   accordion supporting sections, better hierarchy)
   ============================================ */

.product-page { padding: 2.5rem 0 5rem; }
@media (max-width: 700px) { .product-page { padding: 1.5rem 0 3rem; } }

/* --- Breadcrumb --- */
.product-page .breadcrumb {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.product-page .breadcrumb a { color: var(--muted); transition: color 0.15s; }
.product-page .breadcrumb a:hover { color: var(--black); text-decoration: none; }
.product-page .breadcrumb .sep { color: var(--grey-400); }
.product-page .breadcrumb .current {
  color: var(--black);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 320px;
}

/* --- Two-column layout (gallery | buy box) --- */
.product-page .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 4rem;
  padding: 0;   /* reset: .product-page handles outer padding */
}
@media (max-width: 1000px) {
  .product-page .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- LEFT: gallery + brand-moment --- */
.product-page .product-left { display: flex; flex-direction: column; gap: 2rem; }

.product-page .product-gallery { align-self: start; position: static; }
.product-page .product-gallery .main-image {
  aspect-ratio: 1;
  background: var(--grey-100);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.product-page .product-gallery .main-image img {
  width: 100%; height: 100%; object-fit: contain;
}
.product-page .product-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.product-page .product-gallery .thumb {
  aspect-ratio: 1;
  background: var(--grey-100);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  transition: border-color 0.15s;
}
.product-page .product-gallery .thumb:hover { border-color: var(--grey-400); }
.product-page .product-gallery .thumb.active { border-color: var(--black); }
.product-page .product-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- Brand moment block (fills the empty space under the gallery) --- */
.product-page .brand-moment {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
}
.product-page .brand-moment .bm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 600px) { .product-page .brand-moment .bm-row { grid-template-columns: 1fr; gap: 1.5rem; } }
.product-page .brand-moment .bm-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.product-page .brand-moment .bm-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- RIGHT: buy box --- */
.product-page .product-right {
  align-self: start;
  position: sticky;
  top: 100px;   /* clears the fixed site header */
}
@media (max-width: 1000px) { .product-page .product-right { position: static; } }

.product-page .eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.product-page .product-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.product-page .price-row { margin-bottom: 2rem; }
.product-page .price {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}
.product-page .price-subline {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

/* --- Form --- */
.product-page .product-form { margin-bottom: 2rem; }

.product-page .variant-group { margin-bottom: 1.5rem; }
.product-page .variant-group .label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.product-page .variant-group .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.product-page .variant-group .label-value {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.product-page .variant-group .label-link {
  font-size: 0.72rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.05em;
  font-weight: 500;
  cursor: pointer;
}
.product-page .variant-group .label-link:hover { opacity: 0.7; }

.product-page .variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-page .variant-option {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 52px;
  text-align: center;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.product-page .variant-option:hover { border-color: var(--black); }
.product-page .variant-option.active {
  background: var(--black); color: var(--white); border-color: var(--black);
}

.product-page .swatches { gap: 0.75rem; }
.product-page .swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border);
  padding: 0;
  transition: outline 0.15s;
}
.product-page .swatch.active { outline: 2px solid var(--black); outline-offset: 3px; }

/* --- Qty + Add to bag row --- */
.product-page .qty-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.product-page .qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.product-page .qty-picker button {
  background: none; border: 0; padding: 0 0.9rem; font-size: 1rem; height: 100%;
  color: var(--black);
}
.product-page .qty-picker button:hover { background: var(--off-white); }
.product-page .qty-picker input {
  width: 40px; border: 0; text-align: center; font: inherit; font-weight: 600;
  background: transparent;
}
.product-page .qty-picker input::-webkit-outer-spin-button,
.product-page .qty-picker input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-page .qty-picker input { -moz-appearance: textfield; }

.product-page .add-to-bag {
  flex: 1;
  background: var(--black);
  color: var(--white);
  border: 0;
  padding: 1.1rem 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: transform 0.15s, opacity 0.15s;
}
.product-page .add-to-bag:hover { opacity: 0.85; transform: translateY(-1px); }
.product-page .add-to-bag:active { transform: translateY(0); }
.product-page .add-to-bag:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* --- Accordions --- */
.product-page .accordions {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.product-page .accordion { border-bottom: 1px solid var(--border); }
.product-page .accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.product-page .accordion > summary::-webkit-details-marker { display: none; }
.product-page .accordion > summary:hover { color: var(--muted); }

/* Plus/minus accordion icon — CSS only, no SVG dependency */
.product-page .accordion .accordion-icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.product-page .accordion .accordion-icon::before,
.product-page .accordion .accordion-icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform 0.2s;
}
.product-page .accordion .accordion-icon::before { /* horizontal bar */
  left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%);
}
.product-page .accordion .accordion-icon::after { /* vertical bar */
  top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%);
}
.product-page .accordion[open] .accordion-icon::after { transform: translateX(-50%) scaleY(0); }

.product-page .accordion-body {
  padding: 0 0 1.75rem;
  color: var(--grey-600);
  line-height: 1.65;
  font-size: 0.9rem;
}
.product-page .accordion-body p { margin: 0 0 0.9rem; }
.product-page .accordion-body p:last-child { margin-bottom: 0; }
.product-page .accordion-body a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

.product-page .plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.product-page .plain-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}
.product-page .plain-list li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 4px; height: 4px; background: var(--black); border-radius: 50%;
}
.product-page .care-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--black);
  margin: 1.25rem 0 0.5rem;
}

/* Size guide */
.product-page .sg-intro { margin-bottom: 1rem; }
.product-page .sg-unit-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.product-page .sg-unit-toggle button {
  background: var(--white);
  border: 0;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: all 0.15s;
}
.product-page .sg-unit-toggle button.active {
  background: var(--black);
  color: var(--white);
}
.product-page .size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.product-page .size-table th,
.product-page .size-table td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.product-page .size-table thead th {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--black);
}
.product-page .size-table tbody th {
  font-weight: 700;
  width: 60px;
}
.product-page .sg-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* --- "You might also like" section --- */
.related-section {
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--border);
}
.related-section .section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}


/* ============================================
   CART / CHECKOUT
   ============================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item .image {
  aspect-ratio: 1;
  background: var(--grey-100);
  overflow: hidden;
}
.cart-item .image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .meta .title { font-weight: 600; }
.cart-item .meta .variant { color: var(--muted); font-size: .88rem; margin-top: .15rem; }
.cart-item .meta .qty { margin-top: .5rem; }
.cart-item .meta .qty input {
  width: 56px; padding: .3rem .5rem;
  border: 1px solid var(--border);
}
.cart-item .subtotal { text-align: right; font-weight: 600; }
.cart-item .subtotal .remove {
  display: block; color: var(--muted); font-size: .85rem; font-weight: 400;
  margin-top: .3rem; background: none; border: 0; padding: 0;
}

.cart-summary {
  background: var(--off-white);
  padding: 2rem;
  align-self: start;
  position: sticky; top: 100px;
}
.cart-summary h2 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.cart-summary .row { display: flex; justify-content: space-between; padding: .5rem 0; }
.cart-summary .row.total {
  font-weight: 700; font-size: 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-top: .5rem;
}
.cart-summary .btn-checkout {
  display: block; width: 100%; text-align: center;
  background: var(--black); color: var(--white);
  padding: 1.1rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  font-size: .9rem;
  border: 0;
  margin-top: 1.25rem;
}
.cart-summary .btn-checkout:hover { text-decoration: none; opacity: .85; }

.empty-cart { text-align: center; padding: 5rem 1rem; }
.empty-cart h2 { margin-bottom: 1rem; }
.empty-cart a {
  display: inline-block; margin-top: 1.5rem;
  background: var(--black); color: var(--white);
  padding: 1rem 2rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem;
}
.empty-cart a:hover { text-decoration: none; }

/* Checkout form */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-form h2 { font-size: 1.1rem; margin: 2rem 0 1rem; }
.checkout-form h2:first-child { margin-top: 0; }
.checkout-form .field { margin-bottom: 1rem; }
.checkout-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .05em; }
.checkout-form input, .checkout-form select {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  background: var(--white);
  font: inherit;
  font-size: .95rem;
}
.checkout-form input:focus, .checkout-form select:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .checkout-form .row { grid-template-columns: 1fr; } }

.pay-buttons { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.pay-buttons button {
  padding: 1.1rem 1.5rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .85rem;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.05s;
}
.pay-buttons button:hover { opacity: 0.9; }
.pay-buttons button:active { transform: translateY(1px); }
/* Stripe (currently disabled at template level — kept for future re-enable) */
.pay-buttons .stripe { background: var(--black); color: var(--white); }
/* PayPal — primary on-brand button (black-on-89-BLACK) */
.pay-buttons .paypal {
  background: var(--black);
  color: var(--white);
  border: 0;
}

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.order-confirmation {
  max-width: 680px; margin: 0 auto;
  text-align: center;
  padding: 5rem 1.5rem;
}
.order-confirmation .check {
  width: 72px; height: 72px;
  background: var(--black); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
}
.order-confirmation h1 { font-size: 2.25rem; margin-bottom: .5rem; }
.order-confirmation .number {
  font-family: monospace; font-size: 1.1rem; color: var(--muted);
  margin-bottom: 2rem;
}
.order-confirmation .status {
  background: var(--off-white); padding: 1.5rem; margin: 2rem 0; text-align: left;
}


/* ============================================
   FOOTER — three-zone layout (brand / tiles / newsletter)
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}
@media (max-width: 700px) {
  .site-footer { padding: 4rem 0 2rem; margin-top: 4rem; }
}

/* Subtle diagonal stripe texture, same family as the hero */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 119px,
    rgba(255,255,255,0.02) 119px, rgba(255,255,255,0.02) 120px
  );
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }

/* Three-zone grid: brand | tiles | newsletter */
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-newsletter-zone { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
}

/* --- Zone 1: Brand --- */
.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
  line-height: 0;
}
.footer-brand:hover { text-decoration: none; }
.footer-logo {
  display: block;
  height: 30px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.15s;
}
.footer-brand:hover .footer-logo { opacity: 1; }
@media (max-width: 700px) { .footer-logo { height: 26px; } }

.footer-statement {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.95);
  margin: 0;
  max-width: 260px;
}

/* --- Zone 2: Tile grid --- */
.footer-tiles-zone {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.footer-tile-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.85rem;
}
.footer-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .footer-tiles { grid-template-columns: 1fr; }
}

.footer-tile {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  /* Min height so tiles stay tappable on touch */
  min-height: 48px;
}
.footer-tile:hover,
.footer-tile:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  text-decoration: none;
  color: var(--white);
}
.footer-tile:active { transform: translateY(1px); }

/* --- Zone 3: Newsletter card --- */
.footer-newsletter-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem;
  border-radius: 0;
}
/* Override the inline newsletter form's default styles when used inside the footer card */
.footer-newsletter-card .newsletter-signup {
  text-align: left;
  max-width: none;
  margin: 0;
}
.footer-newsletter-card .newsletter-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 0.75rem;
  text-transform: none;
}
.footer-newsletter-card .newsletter-intro {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.25rem;
  text-align: left;
}
.footer-newsletter-card .newsletter-row {
  display: flex;
  gap: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0;
  transition: border-color 0.15s;
}
.footer-newsletter-card .newsletter-row:focus-within {
  border-color: rgba(255,255,255,0.5);
}
.footer-newsletter-card .newsletter-row input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  min-width: 0; /* prevent flex overflow on narrow widths */
}
.footer-newsletter-card .newsletter-row input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}
.footer-newsletter-card .newsletter-row button {
  background: var(--white);
  color: var(--black);
  border: 0;
  padding: 0.85rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  font-family: inherit;
}
.footer-newsletter-card .newsletter-row button:hover {
  background: var(--off-white);
}
.footer-newsletter-card .newsletter-row button:active {
  transform: translateY(1px);
}

/* --- Bottom rail --- */
.footer-rail {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
.footer-rail-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-rail a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  transition: color 0.15s;
}
.footer-rail a:hover {
  color: var(--white);
  text-decoration: none;
}
@media (max-width: 600px) {
  .footer-rail { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-rail-left { gap: 1rem; }
}


/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash {
  padding: 1rem 1.5rem;
  margin: 0 0 1rem;
  font-weight: 500;
  text-align: center;
  background: var(--off-white);
  border-left: 3px solid var(--black);
}
.flash.success { background: #ebf7ef; border-color: #0c7c3b; }
.flash.error { background: #fbeaea; border-color: #b02020; }

/* ============================================
   BLOG
   ============================================ */
.blog-layout { max-width: 720px; margin: 0 auto; padding: 3rem 0; }
.blog-layout article { margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.blog-layout article:last-child { border-bottom: 0; }
.blog-layout article h2 { font-size: 1.75rem; margin-bottom: .5rem; }
.blog-layout article h2 a { color: var(--black); }
.blog-layout .post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.blog-layout .excerpt { color: var(--grey-600); }

/* ============================================
   BLOG-SINGLE / CONTENT PAGES
   Used by: blog post template (single.php), all info/legal pages
   (page.php — Returns, Shipping, Privacy, Terms, About)
   ============================================ */
.blog-single {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
@media (max-width: 600px) {
  .blog-single { padding: 2rem 1.25rem 3rem; }
}

.blog-single h1 {
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 900;
}

.blog-single .post-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.blog-single .content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
@media (min-width: 700px) {
  .blog-single .content { font-size: 1.0625rem; }
}

.blog-single .content p {
  margin: 1.1rem 0;
}

.blog-single .content h2 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 2.75rem 0 1rem;
  font-weight: 800;
}

.blog-single .content h3 {
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

.blog-single .content ul,
.blog-single .content ol {
  margin: 1.1rem 0;
  padding-left: 1.5rem;
}
.blog-single .content li {
  margin: 0.4rem 0;
}

.blog-single .content strong {
  font-weight: 700;
}

.blog-single .content a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.blog-single .content a:hover {
  text-decoration-thickness: 2px;
}

.blog-single .content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
}

.blog-single .content blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--black);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  font-style: normal;
}

.blog-single .content code {
  background: var(--off-white);
  padding: 0.15em 0.4em;
  font-size: 0.92em;
  border-radius: 2px;
}

.blog-single .content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* Pagination */
.pagination { display: flex; gap: .25rem; justify-content: center; margin: 3rem 0; }
.pagination a {
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  font-weight: 500;
}
.pagination a:hover { text-decoration: none; border-color: var(--black); }
.pagination a[aria-current="page"] { background: var(--black); color: var(--white); border-color: var(--black); }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }

/* ==========================================================================
   89 BLACK — Footer + Contact + Newsletter redesign
   Added by the quill-contact plugin. Paste at the bottom of style.css.
   Replaces any previous `NEWSLETTER SIGNUP` or `.footer-newsletter` block.
   ========================================================================== */





/* --------------------------------------------------------------------------
   CONTACT PAGE — editorial form layout
   -------------------------------------------------------------------------- */

.contact-page {
  padding: 5rem 0 6rem;
}
@media (max-width: 600px) {
  .contact-page { padding: 3rem 0 4rem; }
}

.contact-page .contact-intro {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.contact-page .contact-intro .eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.contact-page .contact-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.25rem;
}
.contact-page .contact-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-page .contact-form {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.contact-page .contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .contact-page .contact-form .row { grid-template-columns: 1fr; gap: 0; }
}
.contact-page .contact-form .field { margin-bottom: 1.5rem; }
.contact-page .contact-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.contact-page .contact-form label .optional {
  font-weight: 400;
  color: var(--grey-400);
  letter-spacing: 0.05em;
  text-transform: none;
}

.contact-page .contact-form input[type=text],
.contact-page .contact-form input[type=email] {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.contact-page .contact-form input[type=text]:focus,
.contact-page .contact-form input[type=email]:focus {
  outline: none;
  border-bottom-color: var(--black);
  border-bottom-width: 2px;
  padding-bottom: calc(0.75rem - 1px);  /* keep baseline stable when border thickens */
}

.contact-page .contact-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  resize: vertical;
  min-height: 180px;
  transition: border-color 0.2s;
}
.contact-page .contact-form textarea:focus {
  outline: none;
  border-color: var(--black);
}

.contact-page .contact-form .actions {
  margin-top: 2.5rem;
}
.contact-page .contact-form .submit {
  background: var(--black);
  color: var(--white);
  border: 0;
  padding: 1.1rem 2.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.contact-page .contact-form .submit:hover {
  transform: translateY(-2px);
}
.contact-page .contact-form .submit:active {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .contact-page .contact-form .submit { width: 100%; padding: 1.1rem; }
}


/* --------------------------------------------------------------------------
   NEWSLETTER CONFIRM / UNSUBSCRIBE RESULT PAGE
   -------------------------------------------------------------------------- */

.newsletter-result {
  padding: 6rem 0 7rem;
}
.newsletter-result .nr-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--off-white);
}
.newsletter-result .nr-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2rem;
  font-weight: 900;
  background: var(--black);
  color: var(--white);
}
.newsletter-result .nr-card.err .nr-mark { background: #b02020; }
.newsletter-result .nr-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.newsletter-result .nr-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.newsletter-result .nr-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}
.newsletter-result .nr-back {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}
.newsletter-result .nr-back:hover { text-decoration: none; opacity: 0.7; }

/* ============================================
   COLLECTION PAGE — banner-aware hero,
   editorial empty state, refined grid
   ============================================ */

.collection-page { padding-bottom: 6rem; }

/* --- Hero variant: with banner image --- */
.collection-page .collection-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 50vh, 520px);
  overflow: hidden;
  margin-bottom: 0;
}
.collection-page .collection-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-page .collection-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.7) 100%);
  color: var(--white);
}
.collection-page .collection-hero-overlay .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.collection-page .collection-hero-overlay .collection-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.collection-page .collection-intro {
  margin: 3rem auto 0;
  max-width: 720px;
  text-align: center;
}
.collection-page .collection-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* --- Hero variant: no banner (typographic) --- */
.collection-page .collection-hero-text {
  text-align: center;
  padding: 5rem 0 4rem;
}
@media (max-width: 700px) {
  .collection-page .collection-hero-text { padding: 3rem 0 2.5rem; }
}
.collection-page .collection-hero-text .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.collection-page .collection-hero-text .collection-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.5rem;
}
.collection-page .collection-hero-text .collection-description {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --- Meta strip (count + back-to-shop link) --- */
.collection-page .collection-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.collection-page .collection-meta .meta-count {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text);
}
.collection-page .collection-meta .meta-link {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.collection-page .collection-meta .meta-link:hover {
  color: var(--black);
  text-decoration: none;
}

/* --- Editorial empty state --- */
.collection-page .collection-empty {
  max-width: 520px;
  margin: 4rem auto 5rem;
  text-align: center;
  padding: 3rem 1.5rem;
}
.collection-page .collection-empty .empty-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  position: relative;
  background: var(--black);
}
.collection-page .collection-empty .empty-mark::before,
.collection-page .collection-empty .empty-mark::after {
  content: '';
  position: absolute;
  background: var(--white);
}
.collection-page .collection-empty .empty-mark::before {
  /* horizontal pulse line */
  left: 12px; right: 12px; top: 50%;
  height: 2px; transform: translateY(-50%);
}
.collection-page .collection-empty .empty-mark::after {
  /* vertical accent on the right side */
  top: 12px; bottom: 12px; right: 12px;
  width: 2px;
}
.collection-page .collection-empty .empty-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.collection-page .collection-empty .empty-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.05;
}
.collection-page .collection-empty .empty-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}
.collection-page .collection-empty .empty-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.15s, transform 0.15s;
}
.collection-page .collection-empty .empty-cta:hover {
  text-decoration: none;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* --- Refined grid (when products exist) ---
   Locked to 3 columns at desktop, 2 at tablet, 1 at narrow mobile.
   Curated drops live here — 3×2 reads as deliberate, auto-fill creates orphan rows. */
.collection-page .collection-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}
@media (max-width: 900px) {
  .collection-page .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }
}
@media (max-width: 520px) {
  .collection-page .collection-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.collection-page .product-card { text-align: left; }
.collection-page .product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0.25rem;
}
.collection-page .product-card .title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.collection-page .product-card .price {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.collection-page .collection-pagination {
  margin-top: 4rem;
  text-align: center;
}

/* ============================================
   SHOP PAGE — editorial hero, collections rail,
   refined grid, proper empty state
   ============================================ */

.shop-page { padding-bottom: 6rem; }

/* --- Hero: editorial typographic block --- */
.shop-page .shop-hero {
  text-align: center;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) {
  .shop-page .shop-hero { padding: 3rem 0 2.5rem; }
}
.shop-page .shop-hero .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.shop-page .shop-hero .shop-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.5rem;
}
.shop-page .shop-hero .shop-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.shop-page .shop-hero .shop-sub a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

/* Search-results variant: smaller, calmer */
.shop-page .shop-hero-search { padding: 3rem 0 2rem; }
.shop-page .shop-hero-search .shop-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

/* --- Collections rail --- */
.shop-page .shop-collections {
  padding: 3rem 0 0;
}
.shop-page .shop-collections .rail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.shop-page .shop-collections .rail-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.shop-page .shop-collections .rail-count {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.shop-page .rail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.shop-page .rail-card {
  display: block;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.shop-page .rail-card:hover { text-decoration: none; transform: translateY(-2px); }

.shop-page .rail-image {
  aspect-ratio: 16 / 9;
  background: var(--black);
  overflow: hidden;
  position: relative;
}
.shop-page .rail-image img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}
.shop-page .rail-card:hover .rail-image img {
  opacity: 1;
  transform: scale(1.04);
}

.shop-page .rail-image-blank {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-page .rail-image-blank .rail-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #fff;
  opacity: 0.08;
}

.shop-page .rail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.shop-page .rail-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.shop-page .rail-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.shop-page .rail-card:hover .rail-arrow { transform: translateX(4px); }

/* --- Meta strip (count + search) --- */
.shop-page .shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  margin-top: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
/* If no collections rail above, tighten the top spacing */
.shop-page .shop-collections + .container .shop-meta { margin-top: 0; }

.shop-page .meta-count {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.shop-page .shop-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  width: 280px;
  max-width: 100%;
  transition: border-color 0.15s;
}
.shop-page .shop-search:focus-within { border-color: var(--black); }
.shop-page .shop-search input {
  flex: 1;
  border: 0;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  min-width: 0;
  outline: none;
}
.shop-page .shop-search button {
  background: none;
  border: 0;
  padding: 0 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.shop-page .shop-search button:hover { color: var(--black); }

/* --- Empty state (reused pattern from collection page) --- */
.shop-page .shop-empty {
  max-width: 520px;
  margin: 4rem auto 5rem;
  text-align: center;
  padding: 3rem 1.5rem;
}
.shop-page .shop-empty .empty-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  position: relative;
  background: var(--black);
}
.shop-page .shop-empty .empty-mark::before,
.shop-page .shop-empty .empty-mark::after {
  content: '';
  position: absolute;
  background: var(--white);
}
.shop-page .shop-empty .empty-mark::before {
  left: 12px; right: 12px; top: 50%;
  height: 2px; transform: translateY(-50%);
}
.shop-page .shop-empty .empty-mark::after {
  top: 12px; bottom: 12px; right: 12px;
  width: 2px;
}
.shop-page .shop-empty .empty-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.shop-page .shop-empty .empty-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.05;
}
.shop-page .shop-empty .empty-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}
.shop-page .shop-empty .empty-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-page .shop-empty .empty-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.15s, transform 0.15s;
}
.shop-page .shop-empty .empty-cta:hover {
  text-decoration: none;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* --- Refined grid (matches collection page pattern) --- */
.shop-page .shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem 2rem;
}
.shop-page .product-card { text-align: left; }
.shop-page .product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0.25rem;
}
.shop-page .product-card .title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.shop-page .product-card .price {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.shop-page .shop-pagination {
  margin-top: 4rem;
  text-align: center;
}

/* ============================================
   FOOTER LOGO — light SVG mark, sits above tagline
   ============================================ */
.footer-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
  line-height: 0;
}
.footer-brand:hover { text-decoration: none; }
.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.15s;
}
.footer-brand:hover .footer-logo { opacity: 1; }
@media (max-width: 700px) {
  .footer-logo { height: 26px; }
}

/* ============================================
   HOMEPAGE — focused drop showcase, brand values, manifesto
   ============================================ */

/* --- Hero --- */
.home-hero {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 6rem;
}
@media (max-width: 700px) {
  .home-hero { padding: 4.5rem 1.25rem 4rem; }
}

/* Subtle diagonal stripe texture, same family as the THE WILD banner */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 119px,
    rgba(255,255,255,0.025) 119px,
    rgba(255,255,255,0.025) 120px
  );
  pointer-events: none;
}
/* Hairline accents top + bottom — quiet editorial detail */
.home-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,0.18);
}

.home-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Big subtle "89" mark — sits to the right behind the content.
   Same brand graphic as the THE WILD banner accent, but at full hero scale.
   Hidden on small screens to avoid colliding with the headline.
   Low opacity so it reads as an editorial accent, not a logo asset. */
.home-hero-mark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
}
.home-hero-mark img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 1100px) {
  .home-hero-mark { width: 45%; right: -10%; opacity: 0.035; }
}
@media (max-width: 800px) {
  .home-hero-mark { display: none; }
}

.home-hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 2rem;
  text-transform: none;
}
.home-hero-title .amp {
  font-style: italic;
  font-weight: 400;
  font-family: 'Times New Roman', Georgia, serif;
  letter-spacing: 0;
  font-size: 0.78em;
  vertical-align: 0.04em;
  margin-right: 0.1em;
  opacity: 0.85;
}

.home-hero-sub {
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 2.5rem;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* CTA buttons (homepage) */
.home-cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.15s, opacity 0.15s, background 0.15s, color 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.home-cta:hover { text-decoration: none; transform: translateY(-1px); }

.home-cta-primary {
  background: var(--white);
  color: var(--black);
}
.home-cta-primary:hover { background: var(--off-white); }

.home-cta-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.home-cta-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.6);
}

/* --- Lead drop feature --- */
.home-drop {
  padding: 6rem 0 7rem;
  background: var(--white);
}
@media (max-width: 700px) { .home-drop { padding: 4rem 0 5rem; } }

.home-drop-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.home-drop-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.home-drop-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.5rem;
}
.home-drop-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* The grid itself uses the shared .product-grid styling but with more breathing room.
   Locked to 3 columns at desktop, 2 at tablet, 1 at narrow mobile — gives a curated
   collection of 6 products a tidy 3×2 layout instead of an awkward 4+2 orphan row. */
.home-drop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .home-drop-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
}
@media (max-width: 520px) {
  .home-drop-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.home-drop-grid .product-card { text-align: left; }
.home-drop-grid .product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0.25rem;
}
.home-drop-grid .product-card .title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.home-drop-grid .product-card .price {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.home-drop-cta { text-align: center; }
.home-drop-cta .home-cta-ghost {
  color: var(--black);
  border-color: var(--border);
}
.home-drop-cta .home-cta-ghost:hover {
  background: var(--off-white);
  border-color: var(--black);
}

/* --- Brand values strip (on black) --- */
.home-values {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
}
.home-values::before,
.home-values::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.12);
}
.home-values::before { top: 0; }
.home-values::after { bottom: 0; }

.home-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 800px) {
  .home-values-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.home-value-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.home-value-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.home-value-body {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

/* --- Manifesto pull-quote --- */
.home-manifesto {
  padding: 6rem 0 7rem;
  background: var(--white);
  text-align: center;
}
@media (max-width: 700px) { .home-manifesto { padding: 4rem 0 5rem; } }

.home-manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.home-manifesto-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2rem;
}
.home-manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 2rem;
}
.home-manifesto-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 2.5rem;
}
.home-manifesto-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: opacity 0.15s;
}
.home-manifesto-link:hover {
  opacity: 0.6;
  text-decoration: underline;
}
