/* ==========================================================================
   LAKHEY RECORDS — Design System
   Fonts: Space Grotesk (display/UI) + Inter (body)
   ========================================================================== */

:root {
  /* Color tokens */
  --lky-black: #0D0D0D;
  --lky-white: #FFFFFF;
  --lky-offwhite: #F9F9F9;
  --lky-crimson: #8B0000;
  --lky-crimson-hover: #A30000;
  --lky-gold: #C9A227;
  --lky-charcoal: #1A1A1A;
  --lky-gray: #6B6B6B;
  --lky-hairline: #E5E5E5;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --header-h: 84px;
  --container-max: 1280px;
  --radius-sm: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

body {
  background: var(--lky-offwhite);
  color: var(--lky-charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--lky-black);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lky-crimson);
  display: inline-block;
  margin-bottom: 0.75rem;
}

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

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--lky-crimson);
  outline-offset: 3px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--ease) 0.18s, color var(--ease) 0.18s, border-color var(--ease) 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lky-crimson);
  color: var(--lky-white);
}
.btn-primary:hover { background: var(--lky-crimson-hover); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--lky-white);
  color: var(--lky-white);
}
.btn-outline:hover { background: var(--lky-white); color: var(--lky-black); }
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--lky-black);
  color: var(--lky-black);
}
.btn-outline-dark:hover { background: var(--lky-black); color: var(--lky-white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   HEADER + NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--lky-white);
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--lky-hairline);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 56px; width: 56px; object-fit: contain; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-word span { color: var(--lky-crimson); }

/* Primary nav */
.primary-nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav > ul > li { position: relative; }
.icon-dropdown { position: relative; }

/* Always-visible nav search bar — a real <form>, no hover/JS dependency
   for the core "type and search" action to work. Fills the flexible space
   between the nav links and the cart icon. */
.nav-search-form {
  flex: 0 1 280px;
  min-width: 100px;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--lky-hairline);
  border-radius: 999px;
  padding: 8px 14px;
  transition: border-color 0.15s var(--ease);
}
.nav-search-form:focus-within { border-color: var(--lky-charcoal); }
.nav-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.nav-search-form input::placeholder { color: var(--lky-gray); }
.nav-search-form button {
  flex-shrink: 0;
  display: flex;
  color: var(--lky-gray);
  transition: color 0.15s var(--ease);
}
.nav-search-form button:hover { color: var(--lky-crimson); }
.nav-search-form svg { width: 17px; height: 17px; }

/* Override for the copy of this form inside the (dark) mobile drawer.
   Important: .nav-search-form's "flex: 0 1 280px" was written for the
   desktop header, a ROW flex container, where flex-basis controls width.
   .mobile-nav is a COLUMN flex container, where that same flex-basis
   instead sets HEIGHT — without resetting it here, the search bar was
   rendering ~280px tall and near-square, turning the 999px border-radius
   into a circle instead of a pill. */
.mobile-search-form {
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  margin-bottom: 24px;
  border-color: rgba(255,255,255,0.25);
}
.mobile-search-form input { color: var(--lky-white); }
.mobile-search-form input::placeholder { color: rgba(255,255,255,0.5); }
.mobile-search-form button { color: rgba(255,255,255,0.7); }
.mobile-search-form button:hover { color: var(--lky-white); }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lky-charcoal);
  border-bottom: 2px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--lky-crimson); }
.nav-link.is-active { border-bottom-color: var(--lky-crimson); }
.nav-caret { width: 9px; height: 9px; transition: transform 0.18s var(--ease); }
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

/* Dropdown — CSS-driven, single tier
   Default: hidden but present in the DOM (for a11y + no layout jump).
   Trigger: :hover OR :focus-within on the parent <li> (covers mouse + keyboard).
   A small JS layer only toggles aria-expanded and handles tap-to-open on touch. */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 190px;
  background: var(--lky-white);
  border: 1px solid var(--lky-hairline);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--lky-charcoal);
  border-radius: var(--radius-sm);
}
.dropdown li a:hover { background: var(--lky-offwhite); color: var(--lky-crimson); }
.dropdown-group-label {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--lky-gray);
  padding: 10px 14px 4px; pointer-events: none; user-select: none;
}
.dropdown-group-label:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--lky-hairline); padding-top: 12px; }

/* Right-aligned dropdown variant — for icon triggers near the header's
   right edge, where a centered dropdown would overflow off-screen. */
.dropdown-right {
  left: auto;
  right: 0;
  transform: translateY(-6px);
  padding: 0;
}
.has-dropdown:hover .dropdown-right,
.has-dropdown:focus-within .dropdown-right,
.has-dropdown.is-open .dropdown-right {
  transform: translateY(0);
}

/* Search preview dropdown */
.search-preview { width: min(90vw, 360px); padding: 16px; }
.search-preview-input-row {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--lky-charcoal);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.search-preview-input-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--lky-gray); }
.search-preview-input-row input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.search-preview-results { max-height: 340px; overflow-y: auto; }
.search-preview-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--lky-hairline);
}
.search-preview-result:last-child { border-bottom: none; }
.search-preview-result img { width: 44px; height: 44px; object-fit: cover; flex-shrink: 0; }
.search-preview-result .spr-info { flex: 1; min-width: 0; }
.search-preview-result .spr-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-preview-result .spr-price { font-size: 0.78rem; color: var(--lky-gray); }
.search-preview-empty { color: var(--lky-gray); font-size: 0.85rem; padding: 16px 4px; text-align: center; }

/* Cart preview dropdown */
.cart-preview { width: min(92vw, 360px); padding: 16px; }
.cart-preview-empty { color: var(--lky-gray); font-size: 0.88rem; text-align: center; padding: 20px 4px; }
.cart-preview-list { max-height: 320px; overflow-y: auto; }
.cart-preview-line {
  display: flex; gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--lky-hairline);
}
.cart-preview-line img { width: 48px; height: 48px; object-fit: cover; flex-shrink: 0; }
.cart-preview-line .cpl-info { flex: 1; min-width: 0; }
.cart-preview-line .cpl-name { font-size: 0.85rem; font-weight: 600; }
.cart-preview-line .cpl-meta { font-size: 0.78rem; color: var(--lky-gray); margin-top: 2px; }
.cart-preview-line .cpl-remove { font-size: 0.72rem; color: var(--lky-gray); text-decoration: underline; margin-top: 4px; }
.cart-preview-line .cpl-remove:hover { color: var(--lky-crimson); }
.cart-preview-footer { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--lky-hairline); }
.cart-preview-subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; margin-bottom: 12px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--lky-hairline);
  position: relative;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.cart-link:hover { border-color: var(--lky-charcoal); background: var(--lky-offwhite); }
.cart-link svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--lky-charcoal); }
.cart-link-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lky-charcoal);
}
.cart-link .cart-badge { position: static; margin-left: -2px; }

/* When the cart has at least one item, the whole link picks up the brand
   accent color, so it's visually obvious at a glance without having to
   read the number. Reverts to the neutral/default look at 0 items. */
.cart-link.has-items { border-color: var(--lky-crimson); }
.cart-link.has-items svg,
.cart-link.has-items .cart-link-label { color: var(--lky-crimson); }
#mobileCartLink.has-items { color: var(--lky-crimson); }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s var(--ease);
}
.icon-btn:hover { background: var(--lky-offwhite); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--lky-crimson);
  color: var(--lky-white);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.cart-badge[data-count="0"] { display: none; }

.hamburger { display: none; }

/* Shop page search form — plain, always-visible, real <form> (works with
   zero JS; live-filter is a progressive enhancement in shop.html's script) */
.shop-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--lky-hairline);
  background: var(--lky-white);
  padding: 14px 18px;
  margin: 28px 0;
  border-radius: var(--radius-sm);
}
.shop-search-form svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--lky-gray); }
.shop-search-form input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
}
.shop-search-form input::placeholder { color: var(--lky-gray); }
.shop-search-form .btn { flex-shrink: 0; padding: 10px 20px; }

/* Toast — a brief, non-interactive confirmation. Appears and fades on its
   own; nothing to click to close, so there's no open/closed state that can
   get stuck. */
.lakhey-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--lky-black);
  color: var(--lky-white);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 700;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: min(90vw, 380px);
}
.lakhey-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile drawer */
.mobile-drawer-overlay {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.5);
  z-index: 600;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.mobile-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: var(--header-h); right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--lky-black);
  color: var(--lky-white);
  z-index: 610;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head {
  display: flex; justify-content: flex-end;
  padding: 20px;
}
.mobile-drawer-head button { width: 32px; height: 32px; color: var(--lky-white); }
.mobile-nav { padding: 0 28px 40px; display: flex; flex-direction: column; }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.mobile-accordion.is-open .mobile-nav-link svg { transform: rotate(180deg); }
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s var(--ease);
}
.mobile-accordion.is-open .mobile-submenu { max-height: 420px; }
.mobile-submenu li a {
  display: block;
  padding: 12px 0 12px 16px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}
.mobile-submenu li a:hover { color: var(--lky-crimson); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--lky-black);
  color: var(--lky-white);
  overflow: hidden;
  padding: 100px 0 90px;
}
/* Optional photo-background variant — add class="hero hero-with-photo" and
   an inline background-image (or a dedicated CSS rule) to use a real photo
   instead of the plain black background. The gradient keeps the left side
   (where the text sits) reliably dark and readable regardless of what's in
   the photo; the rings graphic is hidden in this variant since a busy
   photo doesn't need a second decorative layer competing with it. */
.hero.hero-with-photo {
  background-size: cover;
  background-position: center 65%;
}
.hero.hero-with-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.90) 0%, rgba(13,13,13,0.65) 50%, rgba(13,13,13,0.30) 100%);
  z-index: 0;
}
.hero.hero-with-photo .hero-rings { display: none; }
.hero.hero-with-photo .hero-content { position: relative; z-index: 1; }
.hero-rings {
  position: absolute;
  top: 50%; right: -12%;
  width: 720px; height: 720px;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 700px; }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 20px 0 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero h1 { color: var(--lky-white); }
/* The base .eyebrow class uses crimson, which reads fine on white/black
   backgrounds elsewhere on the site (e.g. "Fresh Off The Press") — but
   against a busy photo it can clash with warm tones in the image. Scoped
   to just the photo-hero variant, matching the white treatment already
   proven to work for the h1/lede right below it. */
.hero-with-photo .eyebrow { color: rgba(255,255,255,0.9); }

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head .view-all {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lky-crimson);
  border-bottom: 1px solid var(--lky-crimson);
  padding-bottom: 2px;
}

/* Category tiles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-tile {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--lky-black);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.category-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.category-tile:hover img { transform: scale(1.06); opacity: 0.7; }
.category-tile-label {
  position: relative;
  color: var(--lky-white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-tile-label::after { content: '→'; transition: transform 0.2s var(--ease); }
.category-tile:hover .category-tile-label::after { transform: translateX(6px); }
.category-tile-label span {
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.category-tile:hover .category-tile-label span { border-color: var(--lky-crimson); }

/* Product grid + cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.product-card { display: flex; flex-direction: column; }
.product-card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--lky-black);
  margin-bottom: 14px;
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card-media img { transform: scale(1.05) rotate(1deg); }
.product-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--lky-white);
  color: var(--lky-black);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.product-tag.tag-limited { background: var(--lky-gold); color: var(--lky-black); }
.quick-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--lky-white);
  padding: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Always visible — a hover-only reveal here would make this button
     unreachable on touchscreens, some trackpads, and keyboard navigation.
     The hover state below is a decorative color change only, never a
     visibility gate. */
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.quick-add:hover { background: var(--lky-crimson); color: var(--lky-white); }
.product-card-artist { font-size: 0.78rem; color: var(--lky-gray); margin-bottom: 2px; }
.product-card-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; margin-bottom: 6px; }
.product-card-price { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.product-card-price .compare-at {
  color: var(--lky-gray);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 6px;
  font-size: 0.85rem;
}

/* Filter bar (shop.html) */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--lky-hairline);
}
.subcat-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.subcat-tab {
  padding: 8px 16px;
  border: 1px solid var(--lky-hairline);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.15s var(--ease);
}
.subcat-tab.is-active, .subcat-tab:hover { background: var(--lky-black); color: var(--lky-white); border-color: var(--lky-black); }
.result-count { font-size: 0.85rem; color: var(--lky-gray); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--lky-gray); }

/* ==========================================================================
   CART LINE ITEMS
   Shared by cart.html (the only place the cart is displayed now — there is
   no slide-out drawer). These are just item-row styles, not a drawer.
   ========================================================================== */
.cart-line {
  display: flex; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lky-hairline);
}
.cart-line img { width: 72px; height: 72px; object-fit: cover; flex-shrink: 0; }
.cart-line-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-line-name { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.cart-line-variant { font-size: 0.78rem; color: var(--lky-gray); }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--lky-hairline); }
.qty-stepper button { width: 26px; height: 26px; font-size: 0.9rem; }
.qty-stepper span { width: 28px; text-align: center; font-size: 0.85rem; }
.remove-line { font-size: 0.75rem; color: var(--lky-gray); text-decoration: underline; }
.remove-line:hover { color: var(--lky-crimson); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lky-hairline);
  background: var(--lky-white);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--lky-charcoal);
  outline: none;
}
.field.has-error input, .field.has-error textarea { border-color: var(--lky-crimson); }
.field-error { color: var(--lky-crimson); font-size: 0.78rem; margin-top: 5px; display: none; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  background: #EFF7F0; border: 1px solid #BFDFC4; color: #205C2C;
  padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--lky-black); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand-word {
  font-family: var(--font-display);
  color: var(--lky-white);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-tagline { font-size: 0.88rem; max-width: 260px; }
.footer-col h4 {
  color: var(--lky-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--lky-white); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--lky-crimson); color: var(--lky-crimson); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 0.78rem; flex-wrap: wrap; gap: 10px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-banner {
  background: var(--lky-black); color: var(--lky-white);
  padding: 100px 0 70px; text-align: center;
}
.about-banner p { max-width: 560px; margin: 18px auto 0; color: rgba(255,255,255,0.7); }
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-block + .about-block { margin-top: 96px; }
.about-block.reverse .about-media { order: 2; }
.about-media { aspect-ratio: 4/3; background: var(--lky-black); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.about-copy p { color: var(--lky-gray); margin-top: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 40px; }
.value-card { padding: 32px 28px; background: var(--lky-white); border: 1px solid var(--lky-hairline); }
.value-card svg { width: 30px; height: 30px; color: var(--lky-crimson); margin-bottom: 16px; }
.value-card p { color: var(--lky-gray); margin-top: 10px; font-size: 0.92rem; }
.cta-band {
  background: var(--lky-black); color: var(--lky-white);
  padding: 64px 0; text-align: center;
}
.cta-band p { color: rgba(255,255,255,0.7); margin: 14px 0 30px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-banner { background: var(--lky-black); color: var(--lky-white); padding: 90px 0 60px; text-align: center; }

/* News — plain text, sequential, grouped by day */
.news-day-group { max-width: 720px; margin: 0 auto; }
.news-day-heading {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--lky-crimson); margin-bottom: 20px;
}
.news-day-divider { max-width: 720px; margin: 40px auto; border: none; border-top: 1px solid #e5e5e5; }
.news-snippet { margin-bottom: 28px; }
.news-snippet:last-child { margin-bottom: 0; }
.news-snippet-headline { font-size: 1.1rem; margin-bottom: 6px; }
.news-snippet-headline a { text-decoration: underline; text-underline-offset: 3px; }
.news-snippet-headline a:hover { color: var(--lky-crimson); }
.news-snippet-excerpt { color: var(--lky-charcoal); margin-bottom: 6px; }
.news-snippet-meta { font-size: 0.82rem; color: var(--lky-gray); }

/* News — homepage preview only: bordered blocks, no image, side by side */
.news-block-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-block {
  display: block; border: 1px solid #e5e5e5; border-radius: 4px;
  padding: 24px; transition: border-color 0.25s var(--ease);
}
.news-block:hover { border-color: var(--lky-crimson); }
.news-block-tag { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lky-crimson); }
.news-block-headline { margin: 10px 0 8px; font-size: 1.05rem; }
.news-block-excerpt { color: var(--lky-gray); font-size: 0.9rem; margin-bottom: 10px; }
.news-block-meta { font-size: 0.78rem; color: var(--lky-gray); }
@media (max-width: 860px) { .news-block-grid { grid-template-columns: 1fr; } }
.blog-banner p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 16px auto 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.blog-card-media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 18px; background: var(--lky-black); }
.blog-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-tag { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lky-crimson); }
.blog-card h3 { margin: 10px 0 8px; }
.blog-card-meta { font-size: 0.78rem; color: var(--lky-gray); margin-top: 10px; }
.blog-card p.excerpt { color: var(--lky-gray); font-size: 0.92rem; }

.post-hero { background: var(--lky-black); display: flex; justify-content: center; align-items: center; height: 420px; padding: 24px; }
.post-hero img { max-width: 480px; width: 100%; height: 100%; object-fit: contain; }
.post-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.post-head .blog-card-tag { display: block; margin-bottom: 14px; }
.post-body { max-width: 720px; margin: 0 auto; }
.post-body a { color: var(--lky-crimson); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--lky-charcoal); }
.post-body p { margin-bottom: 22px; color: var(--lky-charcoal); }
.post-body h2 { margin: 40px 0 18px; }
.post-body blockquote {
  border-left: 3px solid var(--lky-crimson);
  padding-left: 20px; margin: 32px 0;
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--lky-black);
}
.related-posts { border-top: 1px solid var(--lky-hairline); margin-top: 64px; padding-top: 56px; }

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.breadcrumbs { font-size: 0.8rem; color: var(--lky-gray); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--lky-crimson); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.product-detail-media { aspect-ratio: 1; background: var(--lky-black); overflow: hidden; }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-artist { font-family: var(--font-display); color: var(--lky-crimson); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.product-detail-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 18px 0 24px; }
.product-detail-desc { color: var(--lky-gray); margin-bottom: 28px; }
.variant-group { margin-bottom: 24px; }
.variant-group > label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-swatch {
  padding: 10px 16px;
  border: 1px solid var(--lky-hairline);
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease);
}
.variant-swatch.is-selected { border-color: var(--lky-black); background: var(--lky-black); color: var(--lky-white); }
.tracklist-sides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 12px; }
.tracklist-side h4 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lky-gray); margin-bottom: 10px; }
.tracklist-side ol { padding-left: 18px; font-size: 0.9rem; color: var(--lky-charcoal); }
.tracklist-side li { margin-bottom: 6px; }
.product-meta-table { margin-top: 32px; border-top: 1px solid var(--lky-hairline); padding-top: 20px; }
.product-meta-table div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; border-bottom: 1px dashed var(--lky-hairline); }
.product-meta-table span:first-child { color: var(--lky-gray); }
.related-products { border-top: 1px solid var(--lky-hairline); margin-top: 72px; padding-top: 56px; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout-steps { display: flex; gap: 8px; margin-bottom: 48px; }
.checkout-step {
  flex: 1; text-align: center; padding-bottom: 14px;
  border-bottom: 3px solid var(--lky-hairline);
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--lky-gray);
}
.checkout-step.is-active { border-color: var(--lky-crimson); color: var(--lky-black); }
.checkout-step.is-done { border-color: var(--lky-black); color: var(--lky-black); }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: flex-start; }
.checkout-panel { display: none; }
.checkout-panel.is-active { display: block; }
.payment-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.payment-tab {
  flex: 1; padding: 14px; text-align: center;
  border: 1px solid var(--lky-hairline);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  border-radius: var(--radius-sm);
}
.payment-tab.is-active { border-color: var(--lky-black); background: var(--lky-black); color: var(--lky-white); }
.payment-form-panel { display: none; }
.payment-form-panel.is-active { display: block; }
.order-summary { background: var(--lky-white); border: 1px solid var(--lky-hairline); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.promo-code-row {
  display: flex; gap: 8px;
  margin: 16px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--lky-hairline);
}
.promo-code-row input {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--lky-hairline);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.promo-code-row .btn { padding: 10px 16px; font-size: 0.75rem; flex-shrink: 0; }
.order-summary h3 { margin-bottom: 20px; }
.order-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lky-hairline); }
.order-line img { width: 56px; height: 56px; object-fit: cover; }
.order-line-info { flex: 1; font-size: 0.85rem; }
.order-line-info .oli-name { font-weight: 600; }
.order-line-info .oli-meta { color: var(--lky-gray); font-size: 0.78rem; }
.order-totals { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--lky-hairline); }
.order-totals div { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.order-totals .grand-total { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 6px; }
.paypal-box { background: var(--lky-offwhite); border: 1px dashed var(--lky-hairline); padding: 24px; text-align: center; }
.confirmation-box { max-width: 560px; margin: 0 auto; text-align: center; }
.confirmation-icon { width: 64px; height: 64px; color: var(--lky-crimson); margin: 0 auto 24px; }
.order-number { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 8px 0 32px; }
.sim-banner {
  background: #FFF8E6; border: 1px solid #F0DFAF; color: #6B5511;
  padding: 12px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); margin-bottom: 28px;
}

/* ==========================================================================
   NEWSLETTER BAND
   ========================================================================== */
.newsletter-band { background: var(--lky-black); color: var(--lky-white); padding: 64px 0; text-align: center; }
.newsletter-form { display: flex; max-width: 460px; margin: 28px auto 0; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: var(--lky-white); border-radius: var(--radius-sm);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .site-header .nav-search-form { display: none; } /* moved into the mobile drawer below instead — no room for it in the header bar at this width */
  .cart-link-label { display: none; } /* shrink back to icon-only — the "Cart" text is redundant with the mobile drawer's own Cart link */
  .cart-link { padding: 9px 10px; gap: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-block, .about-block.reverse { grid-template-columns: 1fr; }
  .about-block.reverse .about-media { order: 0; }
  .values-grid, .blog-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .hero-rings { width: 480px; height: 480px; right: -30%; }
}

@media (max-width: 560px) {
  .brand-word { display: none; } /* logo icon only — frees up room for cart + hamburger at the smallest phone widths */
  .section { padding: 56px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero { padding: 64px 0 56px; }
  .hero-ctas .btn { flex: 1; }
}
