/* WAKAA editorial theme — layout language inspired by the public Fashioni reference
   (centred wordmark, serif display headings, letter-spaced eyebrows, image-led tiles, dark spotlight panels).
   Loaded after wakaa.css: it re-tones the shared tokens, then styles the editorial home. */

:root {
  --ink: #14181d;
  --slate: #1c2631;
  --slate-2: #253241;
  --aubergine: #14181d;
  --plum: #2d3c4d;
  --plum-soft: #eef1f5;
  --sand: #ffffff;
  --sand-deep: #f3f5f8;
  --stone: #f4f4f2;
  --card: #ffffff;
  --line: #e3e6ea;
  --muted: #5b636d;
  --accent: #e2a33b;
  --accent-strong: #c9861c;
  --sea: #1f5f8b;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(20, 24, 29, 0.05), 0 10px 30px rgba(20, 24, 29, 0.06);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --bs-body-bg: #ffffff;
  --bs-link-color-rgb: 31, 95, 139;
}

h1, h2, .page-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
}
h3, .card-title, .price, .price-now, .price-request, .folder-title, .sub-title {
  font-family: var(--font-body);
}
.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ---------- Utility bar, announcement, header ---------- */
.topbar {
  background: #fbf8f1;
  color: var(--ink);
  border-bottom: 1px solid #efe9dc;
}
.mini-select {
  border-color: #d9d2c3;
  background: #fff;
  color: var(--ink);
}
.announce {
  margin: 0;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}
.site-header {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  padding-block: 10px;
}
.header-search {
  justify-self: start;
  max-width: 440px;
  background: #f1f2f3;
  border-radius: 2px;
}
.header-search input {
  background: transparent;
  padding: 13px 16px;
  font-size: 0.92rem;
}
.header-search:focus-within {
  box-shadow: 0 0 0 2px var(--ink);
}
.search-btn {
  background: transparent;
  color: var(--ink);
}
.brand {
  justify-self: center;
  gap: 8px;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand-word {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
}
.header-actions {
  justify-self: end;
  align-items: center;
  gap: 4px;
}
.icon-action {
  color: var(--ink);
  border-radius: 2px;
}
.icon-action:hover {
  background: #f1f2f3;
  color: var(--ink);
}
.action-label {
  display: none;
}
.cart-badge {
  background: var(--ink);
  color: #fff;
}
.category-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-bar-inner {
  justify-content: safe center;
  gap: 2px;
}
.category-bar-inner a {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  border-radius: 0;
  padding: 8px 12px;
}
.category-bar-inner a:hover {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}

/* ---------- Buttons ---------- */
.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.ed-btn-dark,
.ed-btn-primary {
  background: var(--ink);
  color: #fff;
}
.ed-btn-dark:hover {
  background: var(--slate-2);
  color: #fff;
}
.ed-hero .ed-btn-primary {
  background: #2f4a63;
}
.ed-hero .ed-btn-primary:hover {
  background: #3a5875;
  color: #fff;
}
.ed-btn-light {
  background: #fff;
  color: var(--ink);
}
.ed-btn-light:hover {
  background: #f1f2f3;
  color: var(--ink);
}
.header-checkout {
  min-height: 42px;
  padding: 10px 18px;
  margin-left: 8px;
}
.btn-accent,
.btn-accent:hover,
.btn-accent:focus {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.btn-accent:hover {
  background: var(--slate-2);
  border-color: var(--slate-2);
}
.btn-dark,
.btn-outline-dark {
  border-radius: 3px;
}

/* ---------- Product cards (shared by home, listing, related) ---------- */
.product-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.product-card:hover {
  transform: none;
  box-shadow: none;
}
.card-media {
  background: var(--stone);
  border-bottom: 0;
}
.card-media img {
  padding: 18px;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}
.product-card:hover .card-media img {
  transform: scale(1.04);
}
.card-body-wk {
  padding: 14px 2px 18px;
}
.card-brand {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
}
.card-title {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
}
.badge-discount,
.badge-out {
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.folder-card {
  border-radius: 0;
}

/* ---------- Editorial home ---------- */
.ed-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
}
.ed-eyebrow.light {
  color: #f0c77e;
}
.ed-hero {
  background: radial-gradient(120% 90% at 78% 40%, #2c3a49 0%, #1a232d 55%, #10151b 100%);
  color: #fff;
  overflow: hidden;
}
.ed-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 560px;
  padding-block: 56px;
}
.ed-hero-card {
  background: rgba(16, 22, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 44px 42px;
  backdrop-filter: blur(6px);
}
.ed-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  margin: 0 0 18px;
  color: #fff;
}
.ed-hero-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #e3e7ec;
  margin-bottom: 28px;
}
.ed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ed-hero-stage {
  position: relative;
  height: 440px;
}
.ed-stage-item {
  position: absolute;
  display: grid;
  place-items: center;
  background: #f6f5f2;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.ed-stage-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  mix-blend-mode: multiply;
}
.ed-stage-item.s1 {
  width: 54%;
  height: 78%;
  right: 30%;
  top: 4%;
  z-index: 2;
}
.ed-stage-item.s2 {
  width: 38%;
  height: 52%;
  right: 0;
  top: 0;
}
.ed-stage-item.s3 {
  width: 40%;
  height: 50%;
  right: 4%;
  bottom: 0;
  z-index: 3;
}
.ed-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.ed-values li {
  padding: 20px 28px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.ed-values li:last-child {
  border-right: 0;
}
.ed-values strong {
  font-weight: 500;
  font-size: 0.95rem;
}
.ed-values span {
  color: var(--muted);
  font-size: 0.82rem;
}
.ed-section {
  padding-block: 72px;
}
.ed-tint {
  background: var(--sand-deep);
}
.ed-dark {
  background: var(--slate);
  color: #fff;
}
.ed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ed-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
}
.ed-dark .ed-title {
  color: #fff;
}
.ed-dark .ed-eyebrow {
  color: #f0c77e;
}
.ed-more {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.ed-dark .ed-more {
  color: #fff;
}
.ed-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ed-cat {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.15s ease;
}
.ed-cat:hover {
  box-shadow: var(--shadow);
  color: var(--ink);
}
.ed-cat-media {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ed-cat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.ed-cat-media .img-fallback,
.ed-spot-media .img-fallback {
  width: 100%;
  height: 100%;
}
.ed-cat-name {
  text-align: center;
  padding: 16px 12px 2px;
  font-size: 1.02rem;
}
.ed-cat-count {
  text-align: center;
  padding: 0 12px 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.ed-spots {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.ed-spot {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 400px;
  background: linear-gradient(180deg, #213041 0%, #121820 100%);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
/* Catalogue photos come on white or transparent backgrounds: a light mat keeps them consistent on the dark panel. */
.ed-spot-media {
  position: relative;
  margin: 28px 28px 0;
  min-height: 220px;
  background: #f6f5f2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.ed-spot-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}
.ed-spot:hover .ed-spot-media img {
  transform: scale(1.04);
}
.ed-spot-text {
  display: grid;
  gap: 6px;
  padding: 24px 28px 28px;
}
.ed-spot-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  font-weight: 500;
}
.ed-spot-link {
  font-size: 0.9rem;
}
.ed-spot:hover {
  color: #fff;
}
.ed-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ed-vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.ed-vendor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--slate-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}
.ed-vendor:hover {
  background: #2d3c4d;
  color: #fff;
}
.ed-vendor .vendor-avatar {
  grid-row: span 2;
}
.ed-vendor-name {
  font-weight: 600;
}
.ed-vendor-desc {
  font-size: 0.82rem;
  color: #c9d1da;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ed-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .ed-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .ed-hero-stage {
    height: 300px;
    order: 1;
  }
  .ed-spots {
    grid-template-columns: 1fr 1fr;
  }
  .ed-spot.wide {
    grid-column: 1 / -1;
  }
  .ed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .header-checkout {
    display: none;
  }
}
@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
  }
  .brand {
    justify-self: start;
    grid-row: 1;
    grid-column: 1;
  }
  .header-actions {
    grid-row: 1;
    grid-column: 2;
  }
  .header-search {
    grid-row: 2;
    grid-column: 1 / -1;
    max-width: none;
  }
  .brand-word {
    font-size: 1.1rem;
    letter-spacing: 0.24em;
  }
  .category-bar-inner {
    justify-content: flex-start;
  }
  .ed-hero-inner {
    padding-block: 28px 36px;
    gap: 20px;
  }
  .ed-hero-card {
    padding: 28px 22px;
  }
  .ed-hero-stage {
    height: 210px;
    order: 1;
  }
  .ed-values li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
  .ed-section {
    padding-block: 48px;
  }
  .ed-cat-grid,
  .ed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ed-spots {
    grid-template-columns: 1fr;
  }
  .ed-spot {
    min-height: 0;
  }
  .ed-spot-media {
    min-height: 170px;
    margin: 20px 20px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-media img,
  .ed-spot-media img {
    transition: none;
  }
  .product-card:hover .card-media img,
  .ed-spot:hover .ed-spot-media img {
    transform: none;
  }
}

body[data-route="home"] main {
  padding-bottom: 0;
}
.footer-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

/* Category tiles on listing pages: square catalogue image instead of a round avatar. */
.folder-card {
  background: #fff;
}
.folder-media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--stone);
}
.folder-media img {
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
}
.folder-title {
  font-weight: 500;
}
@media (max-width: 575px) {
  .folder-media {
    width: 100%;
    height: auto;
  }
}

/* Squarer controls to match the editorial direction (pills kept only for small status badges). */
.btn,
.check-pill,
.form-select-sm,
.variant-btn,
.qty,
.promo input,
.chip,
.pdp-actions .btn,
.vendor-chip {
  border-radius: 3px;
}
.pdp [data-add] {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* No catalogue images (e.g. Selldone temporarily throttling): the stage collapses instead of leaving a gap. */
.ed-hero-stage:empty {
  display: none;
}

/* Category row: on wide screens the whole list wraps onto centred lines instead of scrolling sideways. */
@media (min-width: 992px) {
  .category-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    row-gap: 0;
  }
}

/* Static 404 page (site/404.html) */
.nf-header {
  min-height: 64px;
}
.nf-main {
  min-height: auto;
  padding-bottom: 0;
}
.nf-hero .container-xl {
  padding-block: 72px;
  min-height: 60vh;
  display: grid;
  align-items: center;
}
.nf-card {
  max-width: 640px;
}
.nf-en {
  margin: 22px 0 0;
  font-size: 0.85rem;
  color: #c9d1da;
}
.nf-en a {
  color: #fff;
}
.footer-bottom a {
  color: inherit;
}
.nf-main + .site-footer {
  margin-top: 0;
  padding-top: 0;
}
.nf-main {
  display: flex;
  flex-direction: column;
}
.nf-hero {
  flex: 1;
}
