/* T001: proposta local. Publicar somente após aprovação. */
.logo-img {
  max-height: 110px !important;
  height: auto !important;
  max-width: none !important;
}
@media (min-width: 768px) {
  .head-main .js-head-logo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
  .head-main .js-head-logo > .col-12.col-md-6 {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    max-width: none;
    text-align: center !important;
  }
  .head-main .js-head-logo > .col-6.col-md-6 {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    max-width: none;
    min-width: 0;
  }
}
/* Mantém o dropdown abaixo do gatilho quando os links quebram em linhas. */
@media (min-width: 768px) {
  .head-main .js-head-logo #ajax-cart {
    position: relative;
  }
  .head-main .js-head-logo #ajax-cart > .js-cart-summary-detail {
    top: 100%;
    right: 0;
  }
}


/* T009 — Mooca Discos home enhancement for the Cubo theme.
   Scoped to the homepage flag added by mooca-home.js. */

html.mooca-home-enhanced header[data-store="head"] .js-nav-desktop-list,
html.mooca-home-enhanced header[data-store="head"] .js-nav-tabs-mobile {
  display: none !important;
}

/* Hide original promotional artwork before JS enhances the home (prevents F5 flash). */
html:has(.js-home-sections-container) [data-store="home-banner-promotional"].section-banners-promotional-home { display: none !important; }
html:has(.js-home-sections-container) [data-store="home-image-text-module"] { display: none !important; }
html.mooca-home-enhanced .mooca-home-original-banner-hidden { display: none !important; }
html.mooca-home-enhanced .mooca-home-pix-banner-hidden { display: none !important; }

/* Tighten Cubo's desktop header without changing the approved logo sizing. */
@media (min-width: 768px) {
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo {
    height: 120px !important;
    min-height: 120px !important;
  }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo > .col-12.col-md-6 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo,
  html.mooca-home-enhanced header[data-store="head"] .js-head-actions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

html.mooca-home-enhanced .mooca-home-nav {
  position: relative;
  z-index: 20;
  color: #fff;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

html.mooca-home-enhanced .mooca-home-nav__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
}

html.mooca-home-enhanced .mooca-home-nav__item {
  margin: 0;
  padding: 0;
}

html.mooca-home-enhanced .mooca-home-nav__trigger,
html.mooca-home-enhanced .mooca-home-nav__direct {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

html.mooca-home-enhanced .mooca-home-nav__trigger:hover,
html.mooca-home-enhanced .mooca-home-nav__direct:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

html.mooca-home-enhanced .mooca-home-nav__trigger:focus-visible,
html.mooca-home-enhanced .mooca-home-nav__direct:focus-visible,
html.mooca-home-enhanced .mooca-home-nav__panel a:focus-visible,
html.mooca-home-enhanced .mooca-home-nav__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

html.mooca-home-enhanced .mooca-home-nav__panel {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  left: 0;
  max-height: min(60vh, 480px);
  overflow: auto;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  color: #000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

html.mooca-home-enhanced .mooca-home-nav__panel[hidden] { display: none !important; }
html.mooca-home-enhanced .mooca-home-nav__panel-group[hidden] { display: none !important; }

html.mooca-home-enhanced .mooca-home-nav__panel-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

html.mooca-home-enhanced .mooca-home-nav__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.mooca-home-enhanced .mooca-home-nav__links a {
  display: block;
  padding: 8px 4px;
  color: inherit;
  text-decoration: none;
}
html.mooca-home-enhanced .mooca-home-nav__links a:hover { text-decoration: underline; }

html.mooca-home-enhanced .mooca-home-nav__panel-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

html.mooca-home-enhanced .mooca-home-nav__close {
  padding: 6px 10px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

html.mooca-home-enhanced .mooca-home-benefits {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  color: #000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

html.mooca-home-enhanced .mooca-home-benefits__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.mooca-home-enhanced .mooca-home-benefits__item {
  display: list-item;
  margin: 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}
html.mooca-home-enhanced .mooca-home-benefits__item:first-child { font-size: 18px; font-weight: 800; }

html.mooca-home-enhanced .mooca-home-hero {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

html.mooca-home-enhanced .mooca-home-hero img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 78%;
}

html.mooca-home-enhanced .mooca-category-showcase {
  max-width: 1320px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

html.mooca-home-enhanced .mooca-category-showcase__header {
  display: flex;
  align-items: end;
  margin: 0 0 12px;
}

html.mooca-home-enhanced .mooca-category-showcase__title {
  margin: 0;
  color: #171717;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.1;
}

html.mooca-home-enhanced .mooca-category-showcase__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

html.mooca-home-enhanced .mooca-category-showcase__track::-webkit-scrollbar { display: none; }

html.mooca-home-enhanced .mooca-category-showcase__card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 36px) / 4);
  height: 142px;
  overflow: hidden;
  border-radius: 10px;
  background: #191919;
  color: #fff;
  isolation: isolate;
  scroll-snap-align: start;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html.mooca-home-enhanced .mooca-category-showcase__card::after {
  position: absolute;
  z-index: 1;
  /* The supplied reference WebPs include lettering and an arrow. This dark
     left panel masks those baked-in elements so the accessible HTML copy below
     remains the only visible text and action. */
  background: linear-gradient(90deg, #050505 0%, #050505 49%, rgba(5, 5, 5, .96) 59%, rgba(5, 5, 5, .66) 74%, rgba(5, 5, 5, .08) 100%);
  content: "";
  inset: 0;
}

html.mooca-home-enhanced .mooca-category-showcase__card img {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transition: transform .25s ease;
  inset: 0;
}

html.mooca-home-enhanced .mooca-category-showcase__card:hover img,
html.mooca-home-enhanced .mooca-category-showcase__card:focus-visible img { transform: scale(1.035); }

html.mooca-home-enhanced .mooca-category-showcase__content {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: flex;
  width: min(70%, 230px);
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

html.mooca-home-enhanced .mooca-category-showcase__label {
  display: block;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 750;
  letter-spacing: -.015em;
  line-height: 1.05;
  text-wrap: balance;
}

html.mooca-home-enhanced .mooca-category-showcase__description {
  display: block;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  line-height: 1.25;
}

html.mooca-home-enhanced .mooca-category-showcase__card-arrow {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  left: 16px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  font: 700 21px/1 Arial, sans-serif;
  transition: transform .2s ease;
}

html.mooca-home-enhanced .mooca-category-showcase__card:hover .mooca-category-showcase__card-arrow,
html.mooca-home-enhanced .mooca-category-showcase__card:focus-visible .mooca-category-showcase__card-arrow {
  transform: translateX(3px);
}

html.mooca-home-enhanced .mooca-home-editorial {
  padding: 18px 16px 12px;
  color: inherit;
  background: #fff;
  text-align: center;
}

html.mooca-home-enhanced .mooca-home-editorial h2 {
  margin: 0 0 7px;
  color: inherit;
  font: inherit;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

html.mooca-home-enhanced .mooca-home-editorial p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
}
html.mooca-home-enhanced .mooca-home-editorial .btn { min-height: 40px; }
html.mooca-home-enhanced header[data-store="head"] .mooca-home-mobile-cart { display: none !important; }

@media (max-width: 767.98px) {
  html.mooca-home-enhanced .mooca-category-showcase { margin-bottom: 22px; padding: 0 0 0 12px; }
  html.mooca-home-enhanced .mooca-category-showcase__header { margin-bottom: 10px; }
  html.mooca-home-enhanced .mooca-category-showcase__title { font-size: 19px; }
  html.mooca-home-enhanced .mooca-category-showcase__track { gap: 10px; }
  html.mooca-home-enhanced .mooca-category-showcase__card { flex-basis: calc((100% - 10px) / 2); height: 132px; }
  html.mooca-home-enhanced .mooca-category-showcase__content { top: 13px; left: 12px; width: calc(100% - 22px); gap: 5px; }
  html.mooca-home-enhanced .mooca-category-showcase__label { font-size: clamp(14px, 3.4vw, 17px); }
  html.mooca-home-enhanced .mooca-category-showcase__description { font-size: 10px; }
  html.mooca-home-enhanced .mooca-category-showcase__card-arrow { bottom: 10px; left: 12px; width: 30px; height: 30px; font-size: 19px; }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo {
    position: relative;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  html.mooca-home-enhanced header[data-store="head"] .btn-hamburger { display: none !important; }
  html.mooca-home-enhanced header[data-store="head"] .mooca-home-mobile-cart {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 12px;
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    padding: 8px;
    color: #fff;
    background: transparent;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-50%);
  }
  html.mooca-home-enhanced .mooca-home-mobile-cart svg {
    width: 20px;
    height: 20px;
    margin: 0 !important;
  }
  html.mooca-home-enhanced .mooca-home-mobile-cart .mobile-nav-tab-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  html.mooca-home-enhanced .mooca-home-mobile-cart .js-cart-widget-amount {
    margin: 0 !important;
    color: inherit;
  }
  html.mooca-home-enhanced header[data-store="head"] .logo-img {
    width: auto !important;
    max-width: calc(100vw - 136px) !important;
    max-height: 54px !important;
    height: auto !important;
  }
  html.mooca-home-enhanced .mooca-home-nav__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 6px;
  }
  html.mooca-home-enhanced .mooca-home-nav__trigger,
  html.mooca-home-enhanced .mooca-home-nav__direct {
    width: 100%;
    min-height: 40px;
    padding: 10px 2px;
    font-size: clamp(9px, 2.75vw, 11px);
    letter-spacing: 0.02em;
  }
  html.mooca-home-enhanced .mooca-home-nav__panel {
    position: static;
    max-height: 42vh;
    padding: 10px 14px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: none;
  }
  html.mooca-home-enhanced .mooca-home-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8px;
  }
  html.mooca-home-enhanced .mooca-home-benefits {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 11px;
  }
  html.mooca-home-enhanced .mooca-home-benefits__list { display: block; }
  html.mooca-home-enhanced .mooca-home-benefits__item { display: none; font-size: 15px; }
  html.mooca-home-enhanced .mooca-home-benefits__item.is-active { display: block; }
  html.mooca-home-enhanced .mooca-home-benefits__item:first-child { font-size: 16px; }
  html.mooca-home-enhanced .mooca-home-hero {
    height: 125px;
    min-height: 0;
    aspect-ratio: auto;
  }
  html.mooca-home-enhanced .mooca-home-hero img { object-position: 50% 78%; }
  html.mooca-home-enhanced .mooca-home-editorial { padding: 12px 14px 10px; }
  html.mooca-home-enhanced [data-store="home-products-featured"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  html.mooca-home-enhanced .mooca-home-editorial h2 { font-size: 22px; }
  html.mooca-home-enhanced .mooca-home-editorial p { margin-bottom: 12px; font-size: 13px; }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  html.mooca-home-enhanced .mooca-category-showcase__card { flex-basis: calc((100% - 24px) / 3); }
}

@media (prefers-reduced-motion: reduce) {
  html.mooca-home-enhanced .mooca-home-nav *,
  html.mooca-home-enhanced .mooca-home-benefits *,
  html.mooca-home-enhanced .mooca-home-hero * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* T012 — compact category cards, remove the Cubo's real featured-categories
   sidebar over the home slider, and keep Mooca navigation inside the black
   brand/header row. The selectors below were checked against Cubo's live DOM. */
html:has([data-store="home-categories-featured"]) [data-store="home-categories-featured"] {
  display: none !important;
}
html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

html.mooca-home-enhanced .mooca-category-showcase {
  margin: 32px auto 28px;
}
html.mooca-home-enhanced .mooca-category-showcase__header {
  justify-content: center;
  margin-bottom: 14px;
}
html.mooca-home-enhanced .mooca-category-showcase__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 150px));
  grid-auto-rows: 150px;
  justify-content: center;
  gap: 16px;
  overflow: visible;
}
html.mooca-home-enhanced .mooca-category-showcase__card {
  box-sizing: border-box;
  display: block;
  flex: 0 0 150px;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 150px;
  min-height: 150px;
  max-height: 150px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
html.mooca-home-enhanced .mooca-category-showcase__card::after {
  content: none;
}
html.mooca-home-enhanced .mooca-category-showcase__card img {
  display: block;
  position: static;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #050505;
  transform: none;
}
html.mooca-home-enhanced .mooca-category-showcase__content,
html.mooca-home-enhanced .mooca-category-showcase__card-arrow {
  display: none !important;
}
html.mooca-home-enhanced .mooca-category-showcase__card--corrected-title::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 31.5%;
  left: 6%;
  width: 72%;
  height: 19%;
  background: #050505;
}
html.mooca-home-enhanced .mooca-category-showcase__corrected-title {
  position: absolute;
  z-index: 3;
  display: block;
  top: 32%;
  left: 6.3%;
  width: 70%;
  color: #fff;
  font: 700 12px/1.08 Arial, Helvetica, sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: normal;
}

@media (min-width: 768px) {
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo > .col-12.col-md-6 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.5vw, 24px);
  }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo > .col-12.col-md-6 > h1 {
    flex: 0 0 auto;
  }
  html.mooca-home-enhanced .mooca-home-nav {
    flex: 0 1 auto;
    border-top: 0;
    background: transparent;
  }
  html.mooca-home-enhanced .mooca-home-nav__list {
    max-width: none;
    padding: 0;
  }
  html.mooca-home-enhanced .mooca-home-nav__trigger,
  html.mooca-home-enhanced .mooca-home-nav__direct {
    min-height: 42px;
    padding: 10px clamp(8px, .9vw, 14px);
    font-size: 11px;
  }
}

@media (max-width: 767.98px) {
  html.mooca-home-enhanced .mooca-category-showcase {
    margin: 12px auto 14px;
    padding: 0 12px;
  }
  html.mooca-home-enhanced .mooca-category-showcase__header { margin-bottom: 10px; }
  html.mooca-home-enhanced .mooca-category-showcase__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 6px 0;
  }
  html.mooca-home-enhanced .mooca-category-showcase__card {
    --mooca-category-card-size: clamp(116px, 36vw, 144px);
    flex: 0 0 var(--mooca-category-card-size);
    width: var(--mooca-category-card-size);
    min-width: var(--mooca-category-card-size);
    max-width: var(--mooca-category-card-size);
    height: var(--mooca-category-card-size);
    min-height: var(--mooca-category-card-size);
    max-height: var(--mooca-category-card-size);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
  }
  html.mooca-home-enhanced .mooca-category-showcase__card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: auto;
    width: var(--mooca-category-card-size);
  }
  html.mooca-home-enhanced .mooca-category-showcase__corrected-title {
    font-size: clamp(10px, 3.1vw, 12px);
  }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo > .col-12.col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  html.mooca-home-enhanced header[data-store="head"] .js-head-logo > .col-12.col-md-6 > h1 {
    align-self: center;
  }
  html.mooca-home-enhanced .mooca-home-nav {
    width: 100%;
    border-top: 0;
    background: transparent;
  }
}

/* T009 preview — real Cubo product cards, scoped to the existing featured section. */
html.mooca-home-enhanced .js-item-product {
  display: flex !important;
  flex-direction: column !important;
  padding: 10px 10px 16px !important;
  background: #fff;
  border: 1px solid #ece9e5;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}
html.mooca-home-enhanced .js-product-container {
  display: flex !important;
  height: 100%;
  flex: 1 1 auto;
  flex-direction: column !important;
}
html.mooca-home-enhanced .item-image {
  position: relative !important;
  display: block !important;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f4f1;
}
html.mooca-home-enhanced .item-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
}
html.mooca-home-enhanced .js-item-description {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.mooca-home-enhanced .js-item-description-container {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100% !important;
  padding: 12px 3px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html.mooca-home-enhanced .js-item-name {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  margin: 0 0 7px !important;
  color: #191919;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html.mooca-home-enhanced .item-installments {
  min-height: 1.4em;
  margin: 0 0 5px;
  color: #777;
  font-size: 11px;
  line-height: 1.35;
}
html.mooca-home-enhanced .item-installments strong {
  color: #555 !important;
  font-weight: 600;
}
html.mooca-home-enhanced .item-price-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 !important;
  line-height: 1.2;
}
html.mooca-home-enhanced .item-price {
  color: #171717;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
html.mooca-home-enhanced .js-payment-discount-price-product-container {
  margin: 2px 0 0 !important;
  color: #ef6c22;
  font-size: 13px;
  font-weight: 700;
}
html.mooca-home-enhanced .js-payment-discount-price-product {
  color: #ef6c22 !important;
  font-size: inherit;
  font-weight: 800;
}
html.mooca-home-enhanced .js-payment-discount-name-product {
  color: #ef6c22 !important;
  font-weight: 700;
}
html.mooca-home-enhanced .item-actions {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  gap: 6px;
  margin: 12px 0 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html.mooca-home-enhanced .item-actions > div {
  display: flex;
  min-width: 0;
  align-items: stretch;
}
html.mooca-home-enhanced .item-actions > div:first-child { flex: 0 0 34%; }
html.mooca-home-enhanced .item-actions > div:last-child { flex: 1 1 auto; }
html.mooca-home-enhanced .item-actions > div > a,
html.mooca-home-enhanced .item-actions input.js-prod-submit-form,
html.mooca-home-enhanced .item-actions .js-addtocart-placeholder {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
}
html.mooca-home-enhanced .item-actions input.js-prod-submit-form {
  display: flex !important;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 5px !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}
html.mooca-home-enhanced .item-actions input.js-prod-submit-form {
  border: 1px solid #111 !important;
  color: #fff !important;
  background: #111 !important;
}
html.mooca-home-enhanced .item-actions > div:first-child > a {
  border: 1px solid #ddd !important;
  color: #222 !important;
  background: #fff !important;
}
@media (max-width: 767.98px) {
  html.mooca-home-enhanced .js-item-product {
    padding: 7px 7px 12px !important;
    border-radius: 9px;
  }
  html.mooca-home-enhanced .js-item-description-container {
    padding: 9px 2px 0 !important;
  }
  html.mooca-home-enhanced .js-item-name { font-size: 13px; }
  html.mooca-home-enhanced .item-price { font-size: 17px; }
  html.mooca-home-enhanced .item-actions {
    gap: 4px;
    margin-top: 9px !important;
  }
  html.mooca-home-enhanced .item-actions > div:first-child { flex-basis: 30%; }
  html.mooca-home-enhanced .item-actions > div > a,
  html.mooca-home-enhanced .item-actions input.js-prod-submit-form,
  html.mooca-home-enhanced .item-actions .js-addtocart-placeholder {
    min-height: 38px;
    padding: 6px 3px !important;
    font-size: 10px;
  }
}

/* Compact the existing Cubo cookie notice without changing its consent flow. */
html.mooca-home-enhanced .js-notification-cookie-banner.notification-fixed-bottom {
  z-index: 1000;
  left: 50% !important;
  margin-left: 0 !important;
  right: auto !important;
  width: min(460px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  padding: 8px 14px !important;
  border-radius: 9px 9px 0 0;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
}
html.mooca-home-enhanced .js-notification-cookie-banner .mb-4 {
  margin-bottom: 7px !important;
  font-size: 13px;
  line-height: 1.35;
}
html.mooca-home-enhanced .js-notification-cookie-banner .js-acknowledge-cookies {
  min-height: 34px;
  padding: 7px 16px !important;
}
@media (max-width: 767.98px) {
  html.mooca-home-enhanced .js-notification-cookie-banner.notification-fixed-bottom {
    bottom: 8px !important;
    width: calc(100vw - 16px) !important;
    max-width: 440px !important;
    padding: 8px 12px !important;
    border-radius: 9px;
  }
  html.mooca-home-enhanced .js-notification-cookie-banner .mb-4 {
    font-size: 12px;
  }
}




/* T010: remove the former catalog CTA wrapper and its vertical space. */
html.mooca-home-enhanced .mooca-home-editorial { display: none !important; }

/* T010: product description readability and existing disk grading reference. */
html.mooca-home-enhanced .product-description.user-content { max-width: 760px; margin: 28px auto 0; color: #292929; font-size: 16px; line-height: 1.75; }
html.mooca-home-enhanced .product-description.user-content h5 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
html.mooca-home-enhanced .product-description.user-content p { margin: 0 0 10px; }
@media (max-width: 767.98px) { html.mooca-home-enhanced .product-description.user-content { margin-top: 22px; font-size: 15px; line-height: 1.7; } }

/* T011 — product detail styling shared with the approved product cards. */
html.mooca-home-enhanced [data-store^="product-info"]{color:#202020;font-family:Sora,Arial,sans-serif}
html.mooca-home-enhanced body.template-product [data-store="page-title"] h1.title-line{margin:0 0 14px!important;color:#171717;font-family:Sora,Arial,sans-serif;font-size:clamp(24px,2.3vw,31px);font-weight:700;line-height:1.28}
html.mooca-home-enhanced [data-store^="product-info"] .js-price-container{display:block;margin:18px 0!important;padding:16px 18px;border:1px solid #ece9e5;border-radius:10px;background:#faf9f7}
html.mooca-home-enhanced [data-store^="product-info"] .js-compare-price-display{color:#777!important;font-family:Sora,Arial,sans-serif;font-size:15px!important;font-weight:500;line-height:1.35}
html.mooca-home-enhanced [data-store^="product-info"] .js-price-display{color:#171717!important;font-family:Sora,Arial,sans-serif;font-size:clamp(28px,3vw,35px)!important;font-weight:750;letter-spacing:-.025em;line-height:1.15}
html.mooca-home-enhanced [data-store^="product-info"] .js-payment-discount-price-product-container{margin-top:9px!important;color:#555;font-family:Sora,Arial,sans-serif;font-size:13px;font-weight:600;line-height:1.45}
html.mooca-home-enhanced [data-store^="product-info"] .js-payment-discount-price-product,html.mooca-home-enhanced [data-store^="product-info"] .js-payment-discount-name-product{color:#ef6c22!important;font-family:Sora,Arial,sans-serif;font-weight:800}
html.mooca-home-enhanced [data-store^="product-info"] .js-payment-discount-price-product{font-size:20px!important;letter-spacing:-.015em}


html.mooca-home-enhanced [data-store^="product-info"] .js-product-form{margin-top:18px!important;padding-top:0!important}
html.mooca-home-enhanced [data-store^="product-info"] .js-product-form .js-prod-submit-form,html.mooca-home-enhanced [data-store^="product-info"] .js-product-form .js-addtocart-placeholder{min-height:50px;border:1px solid #111!important;border-radius:6px;background:#111!important;color:#fff!important;font:700 14px Arial,Helvetica,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;box-shadow:none!important}
html.mooca-home-enhanced [data-store^="product-info"] .js-product-form .js-prod-submit-form:focus-visible{outline:3px solid #e5bd3d;outline-offset:3px}
html.mooca-home-enhanced [data-store^="product-info"] .js-quantity-input,html.mooca-home-enhanced [data-store^="product-info"] .js-shipping-input,html.mooca-home-enhanced [data-store^="product-info"] select{min-height:42px;border-color:#d7d4cf;border-radius:5px;font-family:Sora,Arial,sans-serif}
html.mooca-home-enhanced body.template-product .product-description.user-content{margin-top:26px;color:#353535;font-family:Sora,Arial,sans-serif;font-size:16px;line-height:1.8}
html.mooca-home-enhanced body.template-product .product-description.user-content p{margin:0 0 13px;padding:0 0 9px;border-bottom:1px solid #eeeae4}
html.mooca-home-enhanced body.template-product .product-description.user-content p:last-child{border-bottom:0}
html.mooca-home-enhanced .mooca-home-nav__links a[href*="/classificacao/"]{color:#171717;font-weight:750;text-decoration:underline;text-decoration-color:#e5bd3d;text-decoration-thickness:2px;text-underline-offset:4px}
@media(max-width:767.98px){html.mooca-home-enhanced body.template-product [data-store="page-title"] h1.title-line{font-size:23px}html.mooca-home-enhanced [data-store^="product-info"] .js-price-container{padding:14px}html.mooca-home-enhanced [data-store^="product-info"] .js-price-display{font-size:30px!important}html.mooca-home-enhanced body.template-product .product-description.user-content{margin-top:22px;font-size:15px;line-height:1.75}}

/* T012-HERO-DUPLICATE-FIX: preserve Cubo's original home slider and hide only the generated copy. */
html.mooca-home-enhanced .mooca-home-hero { display: none !important; }


/* T013: restore Cubo banner width and responsive category-card presentation. */
/* Restore the original Cubo 9-column slider footprint removed by T012.
   The old category column remains hidden; centering the row keeps the photo aligned. */
@media (min-width: 768px) {
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters {
    justify-content: center;
  }
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    aspect-ratio: 2.2 / 1;
    overflow: hidden;
  }
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full .swiper-container,
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full .swiper-wrapper,
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full .swiper-slide {
    height: 100% !important;
  }
  html:has([data-store="home-categories-featured"]) [data-store="home-slider"] img.js-slider-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 46% !important;
  }
}
@media (max-width: 767.98px) {
  html:has([data-store="home-categories-featured"]) .js-home-slider-container .row.no-gutters > .slider-container-full {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Desktop: use the full section width for three equal, non-scrolling editorial cards. */
html.mooca-home-enhanced .mooca-category-showcase {
  max-width: 1320px;
  margin: 32px auto 28px;
  padding: 0 24px;
}
html.mooca-home-enhanced .mooca-category-showcase__title {
  font-size: clamp(22px, 2vw, 28px);
}
html.mooca-home-enhanced .mooca-category-showcase__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  justify-content: initial;
  gap: 16px;
  overflow: visible;
}
html.mooca-home-enhanced .mooca-category-showcase__card {
  box-sizing: border-box;
  flex: initial;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 103 / 70;
  scroll-snap-align: none;
}
html.mooca-home-enhanced .mooca-category-showcase__card img {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}
html.mooca-home-enhanced .mooca-category-showcase__card--corrected-title::before {
  top: 21%;
  left: 4%;
  width: 77%;
  height: 29%;
}
html.mooca-home-enhanced .mooca-category-showcase__corrected-title {
  top: 23%;
  left: 6.3%;
  width: 73%;
  font-size: clamp(17px, 2.1vw, 27px);
  line-height: 1.05;
}

/* Keep all three benefits visible, separated by centered dots. */
html.mooca-home-enhanced .mooca-home-benefits {
  min-height: 34px;
  height: auto;
  padding: 5px 12px;
  font-size: 14px;
}
html.mooca-home-enhanced .mooca-home-benefits__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 14px;
}
html.mooca-home-enhanced .mooca-home-benefits__item,
html.mooca-home-enhanced .mooca-home-benefits__item:first-child {
  display: list-item;
  font-size: 16px;
  font-weight: 750;
}
html.mooca-home-enhanced .mooca-home-benefits__item + .mooca-home-benefits__item::before {
  content: "·";
  margin-right: 14px;
}

/* Approximately 20% larger desktop navigation while retaining the four-link row. */
@media (min-width: 768px) {
  html.mooca-home-enhanced .mooca-home-nav__trigger,
  html.mooca-home-enhanced .mooca-home-nav__direct {
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  html.mooca-home-enhanced .mooca-category-showcase {
    margin: 20px auto 18px;
    padding: 0 12px;
  }
  html.mooca-home-enhanced .mooca-category-showcase__header {
    justify-content: flex-start;
    margin-bottom: 12px;
  }
  html.mooca-home-enhanced .mooca-category-showcase__title {
    font-size: clamp(20px, 5.3vw, 23px);
  }
  html.mooca-home-enhanced .mooca-category-showcase__track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 6px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  html.mooca-home-enhanced .mooca-category-showcase__card {
    flex: 0 0 min(78vw, 336px);
    width: min(78vw, 336px);
    min-width: min(78vw, 336px);
    max-width: min(78vw, 336px);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 103 / 70;
    scroll-snap-align: start;
  }
  html.mooca-home-enhanced .mooca-category-showcase__card--corrected-title::before {
    top: 21%;
    left: 4%;
    width: 77%;
    height: 29%;
  }
  html.mooca-home-enhanced .mooca-category-showcase__corrected-title {
    top: 23%;
    left: 6.3%;
    width: 73%;
    font-size: clamp(15px, 4vw, 17px);
  }
  html.mooca-home-enhanced .mooca-home-benefits {
    min-height: 0;
    padding: 5px 8px;
    font-size: 10px;
  }
  html.mooca-home-enhanced .mooca-home-benefits__list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
    width: 100%;
  }
  html.mooca-home-enhanced .mooca-home-benefits__item,
  html.mooca-home-enhanced .mooca-home-benefits__item:first-child,
  html.mooca-home-enhanced .mooca-home-benefits__item.is-active {
    display: list-item;
    white-space: nowrap;
    font-size: clamp(10px, 2.6vw, 11px);
    font-weight: 750;
  }
  html.mooca-home-enhanced .mooca-home-benefits__item + .mooca-home-benefits__item::before {
    margin-right: 5px;
  }
  html.mooca-home-enhanced .mooca-home-nav__trigger,
  html.mooca-home-enhanced .mooca-home-nav__direct {
    font-size: clamp(10px, 2.8vw, 12px);
  }
}

/* T013 mobile: preserve the full banner photo and enlarge the centered logo. */
@media (max-width: 767.98px) {
  html.mooca-home-enhanced .js-home-slider-container,
  html.mooca-home-enhanced .js-home-slider-container .slider-container-full,
  html.mooca-home-enhanced .js-home-slider-container .swiper-container {
    height: auto !important;
    min-height: 0 !important;
  }
  html.mooca-home-enhanced .js-home-slider-container .row.no-gutters > .slider-container-full {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html.mooca-home-enhanced [data-store="home-slider"] img.js-slider-img {
    position: relative !important;
    inset: auto !important;
    left: 0 !important;
    right: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 2.02 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html.mooca-home-enhanced header[data-store="head"] .logo-img {
    max-width: calc(100vw - 120px) !important;
    max-height: 64px !important;
    height: auto !important;
  }
}


/* T013 first-paint stabilization: the synchronous head flag hides Cubo's legacy navigation before the deferred enhancement runs. */
html.mooca-home-pending header[data-store="head"] .js-nav-desktop-list,
html.mooca-home-pending header[data-store="head"] .js-nav-tabs-mobile,
html.mooca-home-enhanced header[data-store="head"] .js-nav-desktop-list,
html.mooca-home-enhanced header[data-store="head"] .js-nav-tabs-mobile {
  display: none !important;
}
html.mooca-home-pending [data-store="home-categories-featured"] {
  display: none !important;
}
@media (min-width: 768px) {
  html.mooca-home-pending:not(.mooca-home-enhanced) header[data-store="head"] .js-head-logo > .col-12.col-md-6 h1::after {
    content: "";
    display: block;
    height: 42px;
  }
}
@media (max-width: 767.98px) {
  html.mooca-home-pending:not(.mooca-home-enhanced) header[data-store="head"] .js-head-logo > .col-12.col-md-6 h1::after {
    content: "";
    display: block;
    height: 42px;
  }
  html.mooca-home-pending [data-store="home-slider"] img.js-slider-img {
    position: relative !important;
    inset: auto !important;
    left: 0 !important;
    right: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 2.02 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* T013 mobile: show the original store photograph without cropping. */
@media (max-width: 767.98px) { [data-store="home-slider"] img.js-slider-img { object-fit: contain !important; object-position: center !important; background: #000; } }
