/* Loja 24K — reforço da identidade (base em loja24k-overrides.css) */

html { color-scheme: light; }

body { background: var(--bg); }

.topbar {
  background: var(--gold-soft) !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  padding: 0.45rem 0;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}
.topbar b { color: var(--gold-deep) !important; }
.topbar__sep { opacity: 0.35; }

.head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.head__row {
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: 100px !important;
}

.head .brand {
  flex: 0 0 auto !important;
  align-items: center !important;
  max-width: none !important;
  min-width: 0;
}

/* Sobrescreve loja-clublb.css (.brand img { height: 34px }) */
.brand img,
.brand__logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: 104px !important;
  max-width: min(200px, 42vw) !important;
  object-fit: contain;
}
.brand__lockup { display: flex; flex-direction: column; gap: 0.1rem; }
.brand__text {
  font-family: "Cormorant Garamond", "Oswald", serif;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.05;
}
.brand__text small {
  font-family: "Manrope", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
}
.brand__slogan {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand__tag { display: none; }

.search {
  flex: 1;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(26, 24, 22, 0.04);
}
.search input {
  font-size: 0.9375rem;
}
.search input::placeholder { color: #a39a92; }

.hbtn__label { font-size: 0.6875rem; font-weight: 700; color: var(--muted); }
.hbtn svg { stroke: var(--fg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.55rem 0 0.75rem;
  border-top: none;
  background: transparent;
  max-width: 1240px;
  margin-inline: auto;
}
.head > .wrap:has(.main-nav) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--gold-soft); color: var(--gold-deep); }
.main-nav a.on { color: var(--gold-dark); }
.main-nav__all {
  font-weight: 800 !important;
  margin-right: 0.25rem;
}
.main-nav__promo {
  margin-left: auto;
  background: var(--gold-deep) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.45rem 1rem !important;
}
.main-nav__promo:hover {
  background: var(--ink, #0d0c0a) !important;
  color: var(--gold) !important;
}
.main-nav__marcas { color: var(--gold-dark) !important; }

.cats { display: none; }

.perks--home {
  margin-top: 0;
  padding: 0.5rem 0 0.75rem;
  border: none;
  background: transparent;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 0.65rem;
}
.perks--home .perk {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.35rem 0.15rem;
  box-shadow: none;
  gap: 0.5rem;
}
.perks--home .perk svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}
.perks--home .perk b {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}
.perks--home .perk span {
  font-size: 0.625rem;
  color: var(--faint);
  line-height: 1.3;
}

.beauty-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
}
.beauty-hero__title em {
  font-style: italic;
  color: var(--gold-dark);
}
.beauty-hero__tag { color: var(--gold-dark); font-weight: 800; }
.btn--primary {
  background: var(--gold-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.btn--primary:hover { background: var(--gold-deep) !important; }

.card__buy .btn--primary {
  background: var(--gold-dark) !important;
}
.card__buy .btn--primary:hover { background: var(--gold-deep) !important; }

.cat-rings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.75rem;
  padding: 0.5rem 0 1.5rem;
}
@media (min-width: 640px) {
  .cat-rings { grid-template-columns: repeat(8, 1fr); }
}
.cat-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.cat-ring__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(26, 24, 22, 0.08);
  background: var(--gold-soft);
  border-color: var(--border);
}
.cat-ring__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-ring:hover .cat-ring__img {
  box-shadow: 0 6px 20px rgba(168, 132, 40, 0.28);
  border-color: var(--gold);
}

.promo-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .promo-duo { grid-template-columns: 1fr 1fr; }
}
.promo-duo .promo-card {
  min-height: 200px;
  border-radius: 14px;
}
.promo-card--makeup { background: #f5ecd8; }
.promo-card--skincare { background: #ebe3cf; }

.promo-mosaic:not(.promo-mosaic--extra) { display: none; }

.partners-band {
  position: relative;
  isolation: isolate;
  color: #faf7f2;
  padding: 0;
  margin: 2.75rem 0;
  overflow: hidden;
  background: linear-gradient(
    118deg,
    #4a4036 0%,
    #3a332b 38%,
    #2a2520 72%,
    #1e1a16 100%
  );
  border-block: 1px solid rgba(201, 168, 108, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.06),
    0 12px 40px rgba(26, 22, 18, 0.12);
}
.partners-band__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 140% at 8% 50%, rgba(197, 160, 89, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 120% at 92% 40%, rgba(227, 191, 76, 0.1), transparent 52%);
}
.partners-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  align-items: center;
  padding-block: 2rem;
}
@media (min-width: 900px) {
  .partners-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    padding-block: 2.35rem;
  }
}
.partners-band__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(227, 191, 76, 0.92);
}
.partners-band__title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.25;
  color: #faf7f2;
  max-width: 22ch;
}
.partners-band__title span {
  background: linear-gradient(135deg, #e8c878 0%, #c5a059 48%, #a88428 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: stretch;
  justify-content: center;
}
@media (min-width: 900px) {
  .partners-logos {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}
.partners-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  width: auto;
  min-height: 0;
  padding: 0.35rem 0.5rem;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.partners-logos a:hover {
  transform: scale(1.03);
  opacity: 0.92;
}
.partners-logos__img,
.partners-logos img {
  display: block;
  width: auto;
  max-width: min(240px, 42vw);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: center;
  border: none;
  box-shadow: none;
}
.partners-logos__name {
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--fg);
  letter-spacing: 0.04em;
}

.sec__head .link { color: var(--gold-dark); font-weight: 700; }

.foot__brand-text.brand { align-items: center; }
.foot__brand-text .brand__text { color: var(--fg); }
.foot__brand-text .brand__text small { color: var(--muted); }
.foot__brand-text .brand__slogan { color: var(--muted); }
.foot__brand-text .brand__name { color: var(--fg); }
.foot__brand-text .brand__logo,
.foot__brand-text img {
  max-height: 52px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .head__row {
    min-height: 0 !important;
  }
  .brand img,
  .brand__logo {
    max-height: 80px !important;
    max-width: min(120px, 34vw) !important;
  }
}

/* Marca + logo inline (cards, PDP, catálogo) */
.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  vertical-align: middle;
  max-width: 100%;
}
.brand-inline__logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}
.brand-inline--logo-only .brand-inline__logo {
  opacity: 0.88;
}
.brand-inline--logo-only:hover .brand-inline__logo {
  opacity: 1;
}
.brand-inline__name {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.2;
}
.brand-inline__name--fallback {
  font-size: 0.75rem;
  color: var(--faint);
}
.brand-inline--md .brand-inline__logo { height: 26px; max-width: 80px; }
.brand-inline--md .brand-inline__name { font-size: 0.875rem; }
.brand-inline--lg .brand-inline__logo { height: 36px; max-width: 110px; }
.brand-inline--lg .brand-inline__name { font-size: 1rem; color: var(--fg); }

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  min-height: 1.35rem;
}

.card__meta .card__cat {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__brand {
  margin: 0;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

.card__brand .brand-inline__logo {
  height: 18px;
  max-width: 56px;
}

.pd__meta .pd__brand {
  display: block;
  margin: 0;
}
.pd__brand .brand-inline__name { color: var(--fg); }

.page-title__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.page-title__brand .brand-inline--lg .brand-inline__logo {
  height: 44px;
  max-width: 130px;
  opacity: 1;
}

.about-home__brands {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: 0.35rem;
}
.about-home__brands .brand-inline__logo { height: 32px; max-width: 96px; }

.brand-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}
.brand-pill__logo {
  height: 28px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
}
.brand-pill.on .brand-pill__logo {
  opacity: 1;
}

.citem__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.citem__brand .brand-inline__logo { height: 18px; max-width: 56px; }

@media (max-width: 767px) {
  .perks--home { grid-template-columns: repeat(2, 1fr); }
  .main-nav__promo { margin-left: 0; }
  .partners-logos { gap: 1rem 1.25rem; }
  .partners-logos a { width: auto; height: auto; padding: 0.25rem; }
  .partners-logos__img,
  .partners-logos img { max-height: 64px; max-width: min(200px, 44vw); }
}

/* Organização geral — seções e superfícies */
.sec {
  padding-block: 2rem;
}
.sec__head p {
  color: var(--muted);
  max-width: 52ch;
}
.display {
  font-family: "Cormorant Garamond", "Oswald", serif;
  font-weight: 600;
}
/* botões / blocos auxiliares: assets/css/discrete-ui.css */
.foot--mini__nav a:hover {
  color: var(--gold-display) !important;
}
.about-home__card {
  border-color: var(--border) !important;
  background: var(--surface) !important;
}
.about-home__eyebrow {
  color: var(--gold-dark) !important;
}

/* Header desktop — logo | busca larga | ícones (wrapper mobile fica só no app) */
@media (min-width: 761px) {
  .head .head__row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1.25rem;
    min-height: 88px !important;
    padding: 0.55rem 0;
  }

  .head__search-row {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
  }

  .head__search-row .search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    height: 46px;
    padding: 0 1rem 0 1.1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(26, 24, 22, 0.04);
  }

  .head__search-row .search svg {
    width: 20px;
    height: 20px;
    opacity: 1;
  }

  .head__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0;
  }

  .head .hbtn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 4.25rem;
    padding: 0.45rem 0.5rem;
    border-radius: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .head .hbtn__label {
    display: block !important;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    color: var(--muted);
  }

  .head .hbtn svg,
  .head .hbtn .wishlist-head-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .head .hbtn--cart {
    background: transparent;
    border: none;
    padding: 0.45rem 0.5rem;
  }

  .head .badge {
    top: 0;
    right: 0.35rem;
    left: auto;
    min-width: 18px;
    height: 18px;
    font-size: 0.6875rem;
    line-height: 18px;
  }

  .head > .wrap:has(.main-nav) {
    display: block;
  }
}
