/* CLUBB frontend themes: one structure, two selectable visual skins. */

/* ===== HERO: one editorial product instead of filter clutter ===== */
.clubb-hero-new__lead {
  margin: 4px 0 0;
  max-width: 470px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(42,33,28,.58);
}

.clubb-hero-feature {
  width: min(100%, 540px);
  margin-top: 26px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 164px minmax(0,1fr);
  gap: 18px;
  overflow: visible;
  border-top: 1px solid rgba(42,33,28,.13);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease;
}
.clubb-hero-feature:hover {
  transform: translateY(-2px);
  border-top-color: rgba(184,132,72,.5);
}
.clubb-hero-feature__media {
  min-height: 122px;
  border-radius: 15px;
  background: #171310;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(42,33,28,.12);
}
.clubb-hero-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 122px;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}
.clubb-hero-feature:hover .clubb-hero-feature__media img {
  transform: scale(1.035);
}
.clubb-hero-feature__content {
  min-width: 0;
  padding: 1px 0 0;
  display: grid;
  align-content: center;
  gap: 5px;
}
.clubb-hero-feature__eyebrow {
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 820;
}
.clubb-hero-feature__title {
  font-family: var(--font-title);
  font-size: 19px;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.clubb-hero-feature__description {
  max-width: 36ch;
  font-size: 11.5px;
  line-height: 1.4;
  opacity: .66;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.clubb-hero-feature__footer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.clubb-hero-feature__price {
  display: grid;
  gap: 3px;
}
.clubb-hero-feature__price small {
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .48;
}
.clubb-hero-feature__price b {
  font-size: 15px;
  line-height: 1;
  font-weight: 720;
}
.clubb-hero-feature__cta {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 820;
  white-space: nowrap;
}
.clubb-hero-feature__cta::after {
  content: "→";
  margin-left: 7px;
  transition: transform .18s ease;
}
.clubb-hero-feature:hover .clubb-hero-feature__cta::after {
  transform: translateX(3px);
}

/* Heritage keeps the donor's brown visual character. */
body.clubb-theme-heritage .clubb-hero-feature {
  color: #2a211c;
  border-top-color: rgba(42,33,28,.16);
}
body.clubb-theme-heritage .clubb-hero-feature:hover {
  border-top-color: rgba(184,132,72,.58);
}
body.clubb-theme-heritage .clubb-hero-feature__eyebrow { color: #9b6b35; }
body.clubb-theme-heritage .clubb-hero-feature__cta {
  background: #2a211c;
  color: #f7f2eb;
  box-shadow: 0 7px 18px rgba(42,33,28,.12);
}

/* Light keeps the approved clear direction. */
body.clubb-theme-light .clubb-hero-feature {
  color: #2a211c;
  border-top-color: rgba(42,33,28,.11);
}
body.clubb-theme-light .clubb-hero-feature:hover {
  border-top-color: rgba(184,132,72,.46);
}
body.clubb-theme-light .clubb-hero-feature__eyebrow { color: #9b6b35; }
body.clubb-theme-light .clubb-hero-feature__cta {
  background: #fff;
  color: #2a211c;
  border: 1px solid rgba(42,33,28,.12);
  box-shadow: 0 6px 16px rgba(42,33,28,.06);
}

/* ===== PRODUCT STUDIO MACRO CATEGORY TABS ===== */
.frontend-market-categories {
  padding: 34px 0 26px;
}
.frontend-market-categories__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.frontend-market-categories__head {
  margin-bottom: 16px;
}
.frontend-market-categories__head > div {
  display: grid;
  gap: 5px;
}
.frontend-market-categories__head span {
  font-family: var(--font-title);
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 650;
}
.frontend-market-categories__head p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: .54;
}

.frontend-market-categories__grid {
  display: grid;
  grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 10px;
}

.frontend-market-category {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 118px;
  aspect-ratio: 1 / 1;
  padding: 14px 8px 12px;
  border-radius: 17px;
  cursor: pointer;
  display: grid;
  grid-template-rows: 48px auto;
  place-items: center;
  align-content: center;
  gap: 9px;
  font-family: var(--font-text);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}
.frontend-market-category:hover {
  transform: translateY(-3px);
}
.frontend-market-category.is-active {
  transform: translateY(-4px);
}
.frontend-market-category:focus-visible {
  outline: 2px solid #d7b07a;
  outline-offset: 3px;
}

.frontend-market-category__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transition: transform .18s ease, color .18s ease;
}
.frontend-market-category:hover .frontend-market-category__icon {
  transform: scale(1.04);
}
.frontend-market-category.is-active .frontend-market-category__icon {
  transform: scale(1.08);
}
.frontend-market-category__icon svg {
  width: 44px;
  height: 44px;
  display: block;
  fill: currentColor;
  stroke: none;
}
.frontend-market-category__material {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 43px;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 48;
}
.frontend-category-icon--yacht-ref {
  width: 56px !important;
  height: 42px !important;
  overflow: visible;
}
.frontend-category-icon--dj-ref {
  width: 49px !important;
  height: 46px !important;
  overflow: visible;
}
.frontend-category-icon--cristo {
  width: 42px !important;
  height: 42px !important;
}

.frontend-market-category__rio-mark {
  position: relative;
  width: 54px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: "Outfit", "Arial Black", Impact, sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: .82;
  letter-spacing: -.17em;
  transform: skew(-8deg) scaleX(.9);
  transform-origin: center;
}
.frontend-market-category__rio-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 4px;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: .26;
  transform: skew(-16deg);
}
.frontend-market-category__rio-mark > span {
  display: inline-block;
  transform-origin: center;
}
.frontend-market-category__rio-mark .rio-r {
  font-size: 31px;
  transform: scaleX(.84);
}
.frontend-market-category__rio-mark .rio-i {
  margin-left: -3px;
  font-size: 34px;
  transform: translateY(-1px) scaleX(.54);
}
.frontend-market-category__rio-mark .rio-o {
  margin-left: -5px;
  font-size: 31px;
  transform: scaleX(.92);
}

.frontend-market-category__label {
  display: block;
  max-width: 118px;
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 720;
  text-align: center;
  text-wrap: balance;
}

.frontend-market-category__selected {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .18s ease, transform .18s ease;
}
.frontend-market-category.is-active .frontend-market-category__selected {
  opacity: 1;
  transform: scale(1);
}

/* Heritage tabs */
body.clubb-theme-heritage .frontend-market-categories {
  background: #0f0d0c;
  color: #f7f2eb;
}
body.clubb-theme-heritage .frontend-market-categories__head p {
  color: rgba(247,242,235,.55);
}
body.clubb-theme-heritage .frontend-market-category {
  color: rgba(247,242,235,.76);
  background: #171310;
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
body.clubb-theme-heritage .frontend-market-category:hover {
  color: #fff;
  background: #1d1815;
  border-color: rgba(215,176,122,.28);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
body.clubb-theme-heritage .frontend-market-category__icon {
  color: #d7b07a;
}
body.clubb-theme-heritage .frontend-market-category.is-active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(215,176,122,.12), rgba(215,176,122,.035)),
    #241d19;
  border-color: rgba(215,176,122,.88);
  box-shadow:
    0 14px 34px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(215,176,122,.16);
}
body.clubb-theme-heritage .frontend-market-category.is-active .frontend-market-category__icon {
  color: #e8c487;
}
body.clubb-theme-heritage .frontend-market-category__selected {
  background: #e8c487;
  box-shadow: 0 0 0 4px rgba(232,196,135,.10);
}

/* Light tabs */
body.clubb-theme-light {
  background: #faf6eb;
  color: #2a211c;
}
body.clubb-theme-light .frontend-market-categories {
  background: #faf6eb;
  color: #2a211c;
  border-top: 1px solid rgba(42,33,28,.055);
}
body.clubb-theme-light .frontend-market-category {
  color: rgba(42,33,28,.68);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(42,33,28,.09);
  box-shadow: 0 5px 18px rgba(42,33,28,.035);
}
body.clubb-theme-light .frontend-market-category:hover {
  color: #2a211c;
  background: #fff;
  border-color: rgba(184,132,72,.28);
  box-shadow: 0 12px 28px rgba(42,33,28,.075);
}
body.clubb-theme-light .frontend-market-category__icon {
  color: #5b4332;
}
body.clubb-theme-light .frontend-market-category.is-active {
  color: #2a211c;
  background: #fff;
  border-color: #b88448;
  box-shadow:
    0 14px 30px rgba(42,33,28,.09),
    inset 0 0 0 1px rgba(184,132,72,.11);
}
body.clubb-theme-light .frontend-market-category.is-active .frontend-market-category__icon {
  color: #4a3426;
}
body.clubb-theme-light .frontend-market-category__selected {
  background: #b88448;
  box-shadow: 0 0 0 4px rgba(184,132,72,.10);
}

/* ===== MARKETPLACE CARDS ===== */
.frontend-simplicity-market .clubb-market-fixed-v3__topchips,
.frontend-simplicity-market .clubb-market-fixed-v3__location {
  display: none !important;
}
.frontend-simplicity-market .clubb-market-fixed-v3__body {
  gap: 10px;
}
.frontend-simplicity-market .clubb-market-fixed-v3__description {
  color: rgba(247,242,235,.72);
  font-size: 13px;
  line-height: 1.45;
  max-height: 2.9em;
}
.frontend-simplicity-market .clubb-market-fixed-v3__footer {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.frontend-simplicity-market .clubb-market-fixed-v3__price-label {
  font-size: 9px;
  color: rgba(247,242,235,.40);
}
.frontend-simplicity-market .clubb-market-fixed-v3__price-value {
  font-size: 18px;
  font-weight: 600;
  color: rgba(247,242,235,.86);
}
.frontend-simplicity-market .clubb-market-fixed-v3__cta {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 10px;
  letter-spacing: .01em;
}
.frontend-simplicity-market .clubb-market-fixed-v3__cta::after {
  content: "→";
  margin-left: 7px;
  transition: transform .18s ease;
}
.frontend-simplicity-market .clubb-market-fixed-v3__card:hover .clubb-market-fixed-v3__cta::after {
  transform: translateX(3px);
}

.clubb-market-fixed-v3__grid {
  transition: opacity .15s ease, transform .15s ease;
}
.clubb-market-fixed-v3__grid.is-switching {
  opacity: 0;
  transform: translateY(5px);
}
.frontend-market-empty {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  font-size: 13px;
  text-align: center;
  opacity: .62;
}

/* Airbnb-style shortlist heart: large hit target, almost no chrome. */
.clubb-shortlist-heart {
  width: 44px;
  height: 44px;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  backdrop-filter: none;
  font-size: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.72));
}
.clubb-shortlist-heart svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: rgba(0,0,0,.18);
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.clubb-shortlist-heart:hover,
.clubb-shortlist-heart:focus-visible {
  transform: scale(1.06);
  background: transparent;
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 0;
}
.clubb-shortlist-heart.is-saved {
  background: transparent;
  color: #d7b07a;
}
.clubb-shortlist-heart.is-saved svg {
  fill: #d7b07a;
  stroke: #fff;
}

/* Light marketplace skin */
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3 {
  background: #faf6eb;
  color: #2a211c;
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__card {
  background: #fff;
  border-color: rgba(42,33,28,.08);
  box-shadow: 0 14px 34px rgba(42,33,28,.07);
  color: #2a211c;
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__card:hover {
  background: #fff;
  border-color: rgba(184,132,72,.24);
  box-shadow: 0 18px 42px rgba(42,33,28,.11);
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__media-overlay {
  background: linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.08));
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__card-title {
  color: #2a211c !important;
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__description {
  color: rgba(42,33,28,.62);
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__price-label {
  color: rgba(42,33,28,.42);
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__price-value {
  color: rgba(42,33,28,.82);
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__cta {
  background: #2a211c;
  color: #fff;
}
body.clubb-theme-light .frontend-simplicity-market .clubb-market-fixed-v3__cta:hover {
  background: #42372f;
}

@media (max-width: 1179px) {
  .frontend-market-categories__grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .clubb-hero-feature {
    width: 100%;
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
  }
  .clubb-hero-feature__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .clubb-hero-feature__media img {
    min-height: 0;
  }
  .clubb-hero-feature__content,
  .clubb-hero-feature__content > *,
  .clubb-hero-feature__footer {
    min-width: 0;
    max-width: 100%;
  }
  .clubb-hero-feature__description {
    max-width: 100%;
  }
  .clubb-hero-feature__footer {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .clubb-hero-feature__cta {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clubb-hero-feature,
  .frontend-market-category,
  .frontend-market-category__icon,
  .clubb-market-fixed-v3__grid,
  .clubb-market-fixed-v3__cta::after {
    transition: none !important;
  }
}

/* ===== LIGHT THEME: CONCIERGE CONTINUITY ===== */
body.clubb-theme-light .cr-concierge-final {
  --bg: #faf6eb;
  --surface: rgba(255,255,255,.72);
  --surface-strong: #ffffff;
  --text: #2a211c;
  --muted: rgba(42,33,28,.64);
  --gold: #b88448;
  --line: rgba(42,33,28,.09);
  background:
    radial-gradient(circle at 50% 0%, rgba(184,132,72,.07), transparent 30%),
    linear-gradient(180deg, #faf6eb 0%, #f7f1e5 100%);
  color: var(--text);
}
body.clubb-theme-light .cr-concierge-final__shell {
  border-color: rgba(42,33,28,.08);
  background:
    radial-gradient(circle at 92% 8%, rgba(184,132,72,.08), transparent 30%),
    rgba(255,255,255,.74);
  box-shadow: 0 20px 52px rgba(42,33,28,.07);
}
body.clubb-theme-light .cr-concierge-final__statement,
body.clubb-theme-light .cr-concierge-final__card {
  background: rgba(255,255,255,.78);
  border-color: rgba(42,33,28,.08);
  box-shadow: 0 12px 28px rgba(42,33,28,.045);
}
body.clubb-theme-light .cr-concierge-final__statement p,
body.clubb-theme-light .cr-concierge-final__card h3 {
  color: #2a211c;
}
body.clubb-theme-light .cr-concierge-final__subtitle,
body.clubb-theme-light .cr-concierge-final__card p,
body.clubb-theme-light .cr-concierge-final__note {
  color: rgba(42,33,28,.62);
}
body.clubb-theme-light .cr-concierge-final__icon {
  background: rgba(184,132,72,.09);
  border-color: rgba(184,132,72,.20);
  color: #a87439;
}
body.clubb-theme-light .cr-concierge-final__cta {
  background: #2a211c;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 12px 26px rgba(42,33,28,.12);
}
body.clubb-theme-light .cr-concierge-final__cta:hover {
  background: #3a3029;
  box-shadow: 0 15px 30px rgba(42,33,28,.16);
}
body.clubb-theme-light .cr-concierge-final__card:hover {
  border-color: rgba(184,132,72,.24);
  background: #fff;
}

/* R4 accessibility target sizing */
.clubb-hero-phone__sound{min-width:44px;min-height:44px}

/* HERITAGE MVP R1 — featured product hierarchy */
body.clubb-theme-heritage .clubb-hero-feature {
  position: relative;
  padding: 20px 0 18px;
}
body.clubb-theme-heritage .clubb-hero-feature__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(42,33,28,.14);
}
body.clubb-theme-heritage .clubb-hero-feature__media img {
  transition: transform .3s ease;
}
body.clubb-theme-heritage .clubb-hero-feature:hover .clubb-hero-feature__media img {
  transform: scale(1.025);
}
body.clubb-theme-heritage .clubb-hero-feature__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a66f31;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
body.clubb-theme-heritage .clubb-hero-feature__eyebrow i {
  color: #d8a34f;
  filter: drop-shadow(0 2px 4px rgba(166,111,49,.18));
}
body.clubb-theme-heritage .clubb-hero-feature__title {
  font-size: clamp(20px,2.3vw,28px);
  letter-spacing: -.035em;
}
body.clubb-theme-heritage .clubb-hero-feature__description {
  color: rgba(42,33,28,.68);
  font-size: 14px;
  line-height: 1.5;
}
body.clubb-theme-heritage .clubb-hero-feature__price b {
  font-size: 21px;
  letter-spacing: -.025em;
}
