/* MDS 2026-11-29: Top Marcas logo carousel on the homepage (between hero and H1). */
.mds-top-marcas{
  max-width:1344px;
  margin:28px auto 0;
  clear:both;
  text-align:left;
}
.mds-tm-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}
#content .mds-tm-title,
.mds-tm-title{
  font-family:Outfit,"Helvetica Neue",Arial,sans-serif!important;
  font-weight:300!important;
  font-size:18px!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
  text-align:left;
  color:#1A1A1A!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  line-height:1.2!important;
}
.mds-tm-more{
  font-family:Outfit,"Helvetica Neue",Arial,sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#2F4A43;
  text-decoration:none;
  white-space:nowrap;
}
.mds-tm-more:hover,
.mds-tm-more:focus{color:#1A1A1A;text-decoration:underline}
.mds-tm-viewport{position:relative;padding:0 40px}
.mds-tm-track{
  display:flex;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.mds-tm-track::-webkit-scrollbar{display:none}
.mds-tm-item{
  flex:0 0 calc((100% - 72px) / 7);
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  height:76px;
  box-sizing:border-box;
  padding:8px 8px;
  border:1px solid #E8E6E3;
  border-radius:8px;
  background:#fff;
  text-decoration:none;
  color:inherit;
}
.mds-tm-item:hover,
.mds-tm-item:focus{border-color:#C4A574;outline:none}
.mds-tm-item img{
  display:block;
  max-width:100%;
  max-height:52px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.mds-tm-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid #E8E6E3;
  background:#fff;
  color:#1A1A1A;
  cursor:pointer;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}
.mds-tm-arrow:hover,
.mds-tm-arrow:focus{border-color:#C4A574;outline:none}
.mds-tm-arrow:disabled{opacity:.28;cursor:default;box-shadow:none}
.mds-tm-prev{left:0}
.mds-tm-next{right:0}
.mds-tm-arrow svg{display:block;width:14px;height:14px}
.mds-tm-pager{margin:12px 0 0;min-height:18px}
.mds-tm-dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  min-height:10px;
}
.mds-tm-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#E8E6E3;
  cursor:pointer;
}
.mds-tm-dot[aria-current="true"]{background:#C4A574}
.mds-tm-progress{
  display:block;
  height:3px;
  background:#E8E6E3;
  margin:14px auto 0;
  max-width:160px;
  border-radius:2px;
  overflow:hidden;
}
.mds-tm-progress > span{display:block;height:100%;width:8%;background:#C4A574;border-radius:2px}
.mds-top-marcas + .mds-home-h1-wrap{margin-top:28px}
@media only screen and (max-width:1100px){
  .mds-tm-item{flex-basis:calc((100% - 48px) / 5)}
  .mds-tm-prev{left:0}
  .mds-tm-next{right:0}
}
@media only screen and (max-width:720px){
  .mds-top-marcas{margin:20px 0 0;padding:0}
  .mds-tm-viewport{padding:0 36px}
  #content .mds-tm-title,
  .mds-tm-title{font-size:15px!important;letter-spacing:.1em!important}
  .mds-tm-more{font-size:12px}
  .mds-tm-item{
    flex-basis:calc((100% - 18px) / 2.35);
    height:68px;
    padding:8px 8px;
  }
  .mds-tm-item img{max-height:44px}
  .mds-tm-arrow{width:32px;height:32px}
  .mds-tm-prev{left:0}
  .mds-tm-next{right:0}
  .mds-top-marcas + .mds-home-h1-wrap{margin-top:20px}
}
