/* Explore reuses the published catalogue/vitrine system. No independent card skin.
   Only the shorter introduction and kit-specific flow differ from /produtos/. */
.mainstream-theme .ms-explore-catalog .ms-catalog-opening { padding-bottom: 12px; }
.mainstream-theme .ms-explore-catalog .ms-catalog-path { padding-block: 8px; }
.mainstream-theme .ms-explore-catalog .ms-catalog-title { font-size: 42px; }
.mainstream-theme .ms-explore-catalog .ms-catalog-intro { max-width: 650px; margin-top: 8px; }
.mainstream-theme .ms-explore-catalog .ms-catalog-editorial { padding-block: 8px 0; }
.mainstream-theme .ms-explore-catalog .ms-catalog-body { padding-top: 22px; }
.mainstream-theme .ms-explore-catalog .ms-explore-catalog-note { max-width: 720px; margin: 32px auto 0; }
/* The real home cards use a plain anchor; give the kit artwork the same full-frame link. */
.mainstream-theme .ms-explore-home-catalog .js-product-item-image-link-private { position: absolute; inset: 0; display: block; }
.mainstream-theme .ms-explore-home-catalog .item-name { margin-top: 0; }
.mainstream-theme .ms-explore-catalog .item-name { margin-top: 0; }
/* Keep the first desktop offer row, including the native stagger, inside the initial viewport. */
@media (min-width: 768px) {
  .mainstream-theme .ms-explore-catalog .ms-catalog-opening { padding-bottom: 6px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-editorial { padding-block: 0; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-body { padding-top: 8px; }
}
@media (max-width: 767px) {
  .mainstream-theme .ms-explore-catalog .ms-catalog-opening { padding-bottom: 10px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-body { padding-top: 16px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-title { font-size: 34px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-intro { margin-top: 8px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-formats { display: block; margin-top: 12px; padding-top: 10px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-format { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-format-value { font-size: 16px; }
  .mainstream-theme .ms-explore-catalog .ms-catalog-format-note { flex-basis: 100%; }
  .mainstream-theme .ms-explore-catalog .ms-explore-catalog-note { margin-top: 24px; }
}

/* Explore uses the live ordinary PDP stylesheet stack. These aliases are limited
   to kit-only controls; no native product form or product identity is fabricated. */
body.mainstream-theme:has(.ms-explore-product.ms-product-immersive) {
  --ms-pdp-paper:#f0eee5; --ms-pdp-ink:#263b31; --ms-surface-base:var(--ms-pdp-paper);
  --ms-paper:var(--ms-pdp-paper); --ms-ink:var(--ms-pdp-ink); --ms-muted:#626f60; --ms-line:#d8dace;
  background:var(--ms-pdp-paper);
}
body.mainstream-theme:has(.ms-explore-product.ms-product-immersive) .head-main {
  background:#f0eee5eb; color:var(--ms-pdp-ink); border-bottom-color:transparent; box-shadow:none;
}
.mainstream-theme .ms-explore-product.ms-product-page {
  box-sizing:border-box; width:100%; max-width:none; margin:0; padding:0 0 42px;
  color:var(--ms-pdp-ink,#263b31); background:var(--ms-pdp-paper,#f0eee5);
}
.mainstream-theme .ms-explore-product * { box-sizing:border-box; }
.mainstream-theme .ms-explore-product .ms-product-path { margin-bottom:12px; }
.mainstream-theme .ms-explore-product .ms-product-path .breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; }
.mainstream-theme .ms-explore-product .ms-product-gallery { min-width:0; }
.mainstream-theme .ms-explore-product .ms-explore-kit-stage { min-height:0; padding:12px 0 0; }
.mainstream-theme .ms-explore-product .ms-explore-kit-art { width:100%; max-width:384px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-art .ms-pdp-bottle {
  display:block; width:100%; height:auto; max-height:480px; object-fit:contain; border-radius:4px;
}
.mainstream-theme .ms-explore-product .ms-pdp-zoom { opacity:1; }
.mainstream-theme .ms-explore-product .ms-product-buybox { min-width:0; }
.mainstream-theme .ms-explore-product .ms-product-title { max-width:none; overflow-wrap:anywhere; }
.mainstream-theme .ms-explore-product .ms-product-scent p { margin-bottom:0; }
.mainstream-theme .ms-explore-product .ms-product-scent .ms-scent-reference { margin-top:6px; }
.mainstream-theme .ms-explore-product .ms-scent-reference > span { margin-right:8px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-price .ms-payment-before { display:flex; align-items:center; gap:10px; margin:0 0 7px; }
.mainstream-theme .ms-explore-product .ms-explore-price-caption { color:#626f60; font-size:11px; line-height:1.4; margin:0; }
.mainstream-theme .ms-explore-product .ms-explore-price-explanation { margin:5px 0 0; color:#626f60; font-size:12px; line-height:1.5; }
.mainstream-theme .ms-explore-product .ms-explore-kit-purchase { margin-top:20px; padding-top:18px; border-top:1px solid #d2d8c9; }
.mainstream-theme .ms-explore-product .ms-explore-volume-field { border:0; padding:0; margin:0 0 9px!important; gap:10px; }
.mainstream-theme .ms-explore-product .ms-explore-volume-field .ms-format-label { display:block; flex-basis:100%; margin:0 0 4px; color:#263b31; font-size:14px; line-height:1.4; font-weight:600; }
.mainstream-theme .ms-explore-product .ms-explore-volume-select { max-width:100%; width:100%; min-height:44px; padding:8px 12px; border:1px solid #aebbaa; border-radius:7px; background:transparent; color:inherit; font:inherit; font-size:13px; }
.mainstream-theme .ms-explore-product .ms-explore-volume-select[hidden] { display:none!important; }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices { display:flex; flex-wrap:wrap; gap:12px; }
.mainstream-theme .ms-explore-product .ms-explore-volume-select:not([hidden]) + .ms-explore-volume-choices { display:none; }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice.btn-variant {
  position:relative; display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  min-width:100px; min-height:70px; width:auto; margin:0; padding:10px 18px; border:0; border-radius:12px;
  background:#f0eee5; color:#4c5d4b; box-shadow:3px 3px 7px #cfd1c4,-3px -3px 7px #fff;
  font-family:"DM Sans",sans-serif; font-size:18px; line-height:1.2; font-weight:500; cursor:pointer;
}
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice strong { font-size:18px; line-height:1.2; font-weight:600; }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-explore-volume-kind,
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-explore-volume-unit { margin:0; font-size:10px; line-height:1.2; font-weight:400; }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice[aria-pressed="true"] { background:#365542; color:#fffdf7; box-shadow:inset 3px 3px 6px #243c2d,inset -3px -3px 6px #496c55; }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice[aria-pressed="true"]::after { content:""; position:absolute; top:7px; right:8px; width:7px; height:4px; border-left:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); }
.mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice:disabled { opacity:.55; cursor:default; box-shadow:none; }
.mainstream-theme .ms-explore-product .ms-explore-receive { margin:8px 0 15px; font-size:12px; line-height:1.5; text-align:left; color:#626f60; }
.mainstream-theme .ms-explore-product .ms-explore-optional { display:flex; align-items:flex-start; gap:9px; padding:11px 0; margin:0 0 14px; background:transparent; border:0; border-top:1px solid #d2d8c9; border-bottom:1px solid #d2d8c9; border-radius:0; cursor:pointer; }
.mainstream-theme .ms-explore-product .ms-explore-optional input { flex:none; width:18px; height:18px; margin:2px 0 0; accent-color:#365542; }
.mainstream-theme .ms-explore-product .ms-explore-optional strong { font-size:12px; font-weight:600; line-height:1.4; }
.mainstream-theme .ms-explore-product .ms-explore-optional small { display:block; margin-top:3px; font-size:11px; line-height:1.5; color:#626f60; }
.mainstream-theme .ms-explore-product .ms-explore-buy.btn-add-to-cart { position:static; display:block; width:100%; min-height:48px; padding:12px 18px; border:0; border-radius:10px; background:#344b3e; color:#fffdf7; box-shadow:none; font-family:"DM Sans",sans-serif; font-size:14px; line-height:1.4; font-weight:500; text-align:center; cursor:pointer; }
.mainstream-theme .ms-explore-product .ms-explore-buy.btn-add-to-cart:hover:not(:disabled) { background:#263b31; }
.mainstream-theme .ms-explore-product .ms-explore-buy.btn-add-to-cart:disabled { opacity:.55; cursor:default; }
.mainstream-theme .ms-explore-product .ms-explore-status { margin:8px 0 0; min-height:16px; font-size:11px; line-height:1.5; color:#4b624c; }
.mainstream-theme .ms-explore-product .ms-explore-cart-link { display:inline-block; margin:8px 0 0; font-size:12px; line-height:1.5; }
.mainstream-theme .ms-explore-product .ms-explore-cart-link[hidden] { display:none!important; }
.mainstream-theme .ms-explore-product .ms-explore-conditions { margin:7px 0 0; font-size:10px; line-height:1.5; color:#626f60; }
.mainstream-theme .ms-explore-product .ms-explore-kit-story { margin-top:40px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail { border-top:1px solid #d2d8c9; margin-top:14px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail > summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:10px 0; font-size:13px; line-height:1.5; color:#263b31; cursor:pointer; list-style:none; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail > summary::-webkit-details-marker { display:none; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail > summary::after { content:"+"; font-size:18px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail[open] > summary::after { content:"−"; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail ul { list-style:none; padding:0; margin:0 0 14px; display:grid; gap:12px; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail li span { display:block; font-size:11px; color:#626f60; }
.mainstream-theme .ms-explore-product .ms-explore-kit-detail a { text-decoration:underline; text-underline-offset:3px; }
.mainstream-theme .ms-explore-product .ms-explore-back-link { display:inline-flex; margin:0 0 16px; font-size:13px; }
.mainstream-theme .ms-explore-product :focus-visible { outline:2px solid #365542; outline-offset:4px; }
@media (max-width:767px) {
  .mainstream-theme .ms-explore-product.ms-product-page { padding-bottom:30px; }
  .mainstream-theme .ms-explore-product .ms-product-path { margin-bottom:8px; }
  .mainstream-theme .ms-explore-product .ms-product-path .breadcrumbs { font-size:10px; line-height:1.5; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-stage { padding:0; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-art { width:100%; max-width:none; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-art .ms-pdp-bottle { width:100%; height:176px; max-height:none; }
  .mainstream-theme .ms-explore-product-with-addon .ms-explore-kit-art .ms-pdp-bottle { height:136px; }
  .mainstream-theme .ms-explore-product .ms-pdp-caption { margin:5px 0 0; min-height:0; font-size:9px; }
  .mainstream-theme .ms-explore-product .ms-pdp-zoom { right:calc(50% - 78px); bottom:6px; }
  .mainstream-theme .ms-explore-product .ms-product-buybox { padding:15px 0 0; }
  .mainstream-theme .ms-explore-product .ms-product-heading { margin-bottom:13px; }
  .mainstream-theme .ms-explore-product .ms-product-identity { margin-bottom:8px; }
  .mainstream-theme .ms-explore-product .ms-product-title { font-size:32px; line-height:1.08; }
  .mainstream-theme .ms-explore-product .ms-product-scent { margin:8px 0 0; }
  .mainstream-theme .ms-explore-product .ms-scent-family { font-size:12px; line-height:1.4; }
  .mainstream-theme .ms-explore-product .ms-product-scent .ms-scent-reference { margin-top:4px; font-size:10px; line-height:1.4; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-price .ms-payment-before { margin-bottom:4px; }
  .mainstream-theme .ms-explore-product .ms-payment-value { font-size:28px; }
  .mainstream-theme .ms-explore-product .ms-explore-price-explanation { margin-top:3px; font-size:10px; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-purchase { margin-top:13px; padding-top:12px; }
  .mainstream-theme .ms-explore-product .ms-explore-volume-field .ms-format-label { font-size:12px; margin-bottom:2px; }
  .mainstream-theme .ms-explore-product .ms-explore-volume-choices { gap:10px; }
  .mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice.btn-variant { min-width:88px; min-height:58px; padding:7px 14px; gap:2px; }
  .mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-format-choice strong { font-size:17px; }
  .mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-explore-volume-kind,
  .mainstream-theme .ms-explore-product .ms-explore-volume-choices .ms-explore-volume-unit { font-size:9px; }
  .mainstream-theme .ms-explore-product .ms-explore-receive { margin:7px 0 12px; font-size:10px; }
  .mainstream-theme .ms-explore-product .ms-explore-optional { padding:8px 0; margin-bottom:10px; }
  .mainstream-theme .ms-explore-product .ms-explore-optional strong { font-size:11px; }
  .mainstream-theme .ms-explore-product .ms-explore-optional small { font-size:10px; }
  /* Leave the live floating WhatsApp affordance a separate column at the CTA row. */
  .mainstream-theme .ms-explore-product .ms-explore-action-row { padding-right:60px; }
  .mainstream-theme .ms-explore-product .ms-explore-status { font-size:10px; margin-top:7px; }
  .mainstream-theme .ms-explore-product .ms-explore-kit-story { display:block; margin:28px 0 20px; padding:20px 0 0; border-top:1px solid #d2d8c9; }
  .mainstream-theme .ms-explore-product .ms-story-intro h2 { font-size:28px; margin:12px 0 22px; }
  .mainstream-theme .ms-explore-product .ms-story-content { font-size:12px; }
}

/* The Explore home rail uses the actual catalogue label, scoped to this section only.
   Grid columns, imagery and all other home sections keep their native rules. */
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid { --catalog-green: var(--vitrine-green, #405247); }
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-price-container { font-size: 14px; line-height: 1.6; }
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-actions { padding-top: 0 !important; font-size: 11px; line-height: 1.6; }
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-actions .btn-link { color: var(--catalog-green); font-size: 11px; line-height: 1.6; font-weight: 500; text-decoration: underline; text-decoration-color: #aebaa6; text-underline-offset: 4px; }
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-catalog-item-details .btn-link { display: inline-flex; align-items: center; gap: 12px; min-height: 30px; }
@media (min-width: 768px) {
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-name { font-size: clamp(18px, 1.445vw, 21.25px) !important; }
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-item-reference-name { font-size: 12px; }
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-price { font-size: 15px; }
}
@media (max-width: 767px) {
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-price-container { font-size: 12px; }
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-actions .btn-link { font-size: 10px; }
}
/* A compact label tucked into the photograph. All content stays in normal
   flow, including native payment, subscription and extension content. */
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-description {
  margin-top: -54px;
  padding: 12px 16px 10px;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-item-brand {
  margin-bottom: 3px;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-name {
  margin-bottom: 4px !important;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-item-reference {
  margin-bottom: 8px;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-item-reference-label {
  margin-bottom: 1px;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-description > .item-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-description > .item-link > * {
  flex: 0 0 100%;
  min-width: 0;
}
/* Empty native app slots must not split the volume/price row. A populated
   slot automatically regains its full-width place in document order. */
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-link > .js-nubesdk-slot:empty {
  display: none;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-link > .ms-item-formats {
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-link > .item-price-container {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
}
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-actions {
  margin-top: 3px !important;
}
@media (max-width: 767px) {
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-description {
    margin-top: -26px;
    padding: 10px 10px 8px;
  }
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item-description > .item-link {
    column-gap: 8px;
  }
  .mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .ms-item-reference {
    margin-bottom: 6px;
  }
}

/* Volumes are always visible in the compact label, so the decorative
   hover copy is redundant and would collide with the deeper overlap. */
.mainstream-theme .ms-explore-home-catalog .ms-home-product-grid .item:has(.item-description .ms-item-formats) .ms-item-format-overlay {
  display: none;
}

/* Keep the Explore home section compact while retaining the existing catalogue card. */
.mainstream-theme .ms-home.ms-home-v2 .ms-explore-home-catalog { padding-block:24px 36px; }
.mainstream-theme .ms-home.ms-home-v2 .ms-explore-home-catalog > .ms-catalog-heading { margin-bottom:16px; }
