/* KOHL — bento-hero (mosaic landing grid)
   Ports the approved prototype's 9-tile bento mosaic 1:1. Bold, sharp,
   high-contrast — dark headline tile, portrait model tile, red
   find-your-shade tile, two product tiles, a red range tile, two stat
   tiles, a dark review-quote tile. */

.kh-mosaic-wrap { padding: 24px 0 12px; }

.kh-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}

.kh-tile {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-text);
  background: var(--color-surface);
  display: block;
  color: inherit;
  text-decoration: none;
}
.kh-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Badge chip (product + model tiles) */
.kh-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-text);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  z-index: 2;
}

/* ── Hero headline tile ───────────────────────────────────────────────── */
.kh-tile--hero {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--color-text);
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.kh-tile--hero .kh-tile__tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.kh-mosaic__h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 52px;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #FFF;
  margin: 0;
}
.kh-mosaic__h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.kh-tile__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.kh-tile__cta .btn { padding: 13px 20px; }
.kh-btn--red { background: var(--color-primary); color: #FFF; border-color: var(--color-primary); }
.kh-btn--red:hover { background: #FFF; color: var(--color-text); border-color: #FFF; }
.kh-btn--wht { background: #FFF; color: var(--color-text); border-color: #FFF; }
.kh-btn--wht:hover { background: var(--color-primary); color: #FFF; border-color: var(--color-primary); }

/* ── Model tile ───────────────────────────────────────────────────────── */
.kh-tile--model {
  grid-column: span 3;
  grid-row: span 3;
}

/* ── Find-your-shade tile ─────────────────────────────────────────────── */
.kh-tile--shade {
  grid-column: span 3;
  grid-row: span 1;
  background: var(--color-primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.kh-tile--shade h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  color: #FFF;
  margin: 0;
}
.kh-shade-sw { display: flex; gap: 7px; }
.kh-shade-sw i {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-block;
}

/* ── Product tiles ────────────────────────────────────────────────────── */
.kh-tile--prod {
  grid-column: span 2;
  grid-row: span 2;
}
.kh-tile--prod .kh-tile__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #FFF;
  border-top: 2px solid var(--color-text);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kh-tile--prod .kh-tile__cap b {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-text);
}
.kh-tile--prod .kh-tile__cap span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
}

/* ── Range tile ───────────────────────────────────────────────────────── */
.kh-tile--range {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--color-primary);
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}
.kh-tile--range h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 40px;
  line-height: 0.92;
  text-transform: uppercase;
  color: #FFF;
  margin: 0 0 10px;
}
.kh-tile--range p {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFF;
  opacity: 0.95;
  margin: 0 0 14px;
}
.kh-tile--range a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: #FFF;
  border-bottom: 2px solid #FFF;
  padding-bottom: 2px;
  display: inline-block;
  width: fit-content;
}

/* ── Stat tiles ───────────────────────────────────────────────────────── */
.kh-tile--stat {
  grid-column: span 2;
  grid-row: span 1;
  background: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kh-tile--stat b {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 34px;
  color: var(--color-text);
}
.kh-tile--stat span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Quote tile ───────────────────────────────────────────────────────── */
.kh-tile--quote {
  grid-column: span 4;
  grid-row: span 1;
  background: var(--color-text);
  color: #FFF;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.kh-tile__stars {
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: 2px;
}
.kh-tile--quote p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: #FFF;
  margin: 0;
}
.kh-tile--quote cite {
  font-style: normal;
  font-size: 11px;
  color: #9a9a9a;
  margin-left: auto;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* ── Responsive — 768px (tablet) ─────────────────────────────────────── */
@media (max-width: 900px) {
  .kh-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .kh-tile--hero  { grid-column: span 2; grid-row: span 2; }
  .kh-mosaic__h1  { font-size: 44px; }
  .kh-tile--model { grid-column: span 2; grid-row: span 2; }
  .kh-tile--shade { grid-column: span 2; }
  .kh-tile--prod  { grid-column: span 1; grid-row: span 2; }
  .kh-tile--range { grid-column: span 2; }
  .kh-tile--stat  { grid-column: span 1; }
  .kh-tile--quote { grid-column: span 2; }
}

/* ── Responsive — 375px (mobile) ─────────────────────────────────────── */
@media (max-width: 480px) {
  .kh-mosaic { grid-template-columns: 1fr; grid-auto-rows: minmax(140px, auto); }
  .kh-tile--hero,
  .kh-tile--model,
  .kh-tile--shade,
  .kh-tile--prod,
  .kh-tile--range,
  .kh-tile--stat,
  .kh-tile--quote {
    grid-column: span 1;
  }
  .kh-tile--hero  { grid-row: span 1; min-height: 320px; padding: 26px; }
  /* Scales with the phone width so a long word fits the tile; a merchant's even longer word wraps */
  .kh-mosaic__h1  { font-size: clamp(24px, 8vw, 36px); overflow-wrap: anywhere; }
  .kh-tile--model { grid-row: span 1; min-height: 320px; }
  .kh-tile--prod  { grid-row: span 1; min-height: 220px; }
  .kh-tile--range { grid-row: span 1; min-height: 200px; }
  .kh-tile--stat  { min-height: 110px; }
  .kh-tile--quote { min-height: 140px; padding: 22px; }
  .kh-tile--quote cite { margin-left: 0; }
}

/* Theme blocks (blocks/*.liquid). Every rule is opt-in: an untouched block matches none of them. */
.qm-contents { display: contents; }
.av-block-group { display: flex; flex-direction: column; gap: var(--av-group-gap, 12px); align-items: var(--av-group-align, stretch); }
.av-block-group--row { flex-direction: row; flex-wrap: wrap; justify-content: var(--av-group-justify, flex-start); align-items: var(--av-group-align, center); }
.av-block-text p, .av-block-text li { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
