/* 
  iBahia • 2023 - MUNDIWARE
*/
.ib-main{
  margin: 30px auto;
}
.ib-main > h1{
  font-weight: 700;
  font-size:42px;
  line-height: 48px;
  letter-spacing: 0.42px;
  max-width: 1240px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto 30px;
}
.mw-area:first-of-type{
  padding-top: 0;
}
.mw-area {
  display: grid;
  margin: auto;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: minmax(60px,auto);
  gap: 24px;
  margin: 24px auto;
  max-width: 1240px;
  padding: 0 20px;
}
.mw-desk-capaespecial,
.mw-mobi-capaespecial,
.mw-tablet-capaespecial,
.mw-desk-bloco-0-full,
.mw-mobi-bloco-2-full,
.mw-desk-bloco-1-full,
.mw-desk-bloco-4-full,
.mw-desk-bloco-6-full,
.mw-mobi-bloco-1-full,
.mw-tablet-bloco-1-full,
.mw-tablet-bloco-0-full,
.mw-tablet-bloco-1-full,
.mw-mobi-bloco-0-full,
.mw-mobi-bloco-2-full,
.mw-mobi-bloco-4-full,
.mw-mobi-bloco-6-full,
.mw-mobi-bloco-8-full,
.mw-desk-bloco-1-full,
.mw-desk-bloco-full-1,
.mw-desk-bloco-full-2,
.mw-desk-bloco-full-3
{
  all:unset !important;
}
.mw-desk-bloco-ad-1,
.mw-desk-bloco-ad-2,
.mw-desk-bloco-ad-3{
  max-width:unset;
  padding: 0;
}
.mw-area:empty,
.mw-desk-capaespecial:empty,
.mw-mobi-capaespecial:empty,
.mw-tablet-capaespecial:empty,
.mw-desk-bloco-ad-1:empty,
.mw-desk-bloco-ad-2:empty,
.mw-desk-bloco-ad-3:empty,
.mw-desk-bloco-0-full:empty, 
.mw-mobi-bloco-1-full:empty,
.mw-mobi-bloco-0-full:empty,
.mw-tablet-bloco-0-full:empty,
.mw-tablet-bloco-1-full:empty,
.mw-mobi-bloco-2-full:empty,
.mw-mobi-bloco-2-full:empty,
.mw-mobi-bloco-4-full:empty,
.mw-mobi-bloco-6-full:empty,
.mw-mobi-bloco-8-full:empty,
.mw-desk-bloco-1-full:empty,
.mw-desk-bloco-1-full:empty,
.mw-desk-bloco-4-full:empty,
.mw-desk-bloco-6-full:empty,
.mw-desk-bloco-full-1:empty,
.mw-desk-bloco-full-2:empty,
.mw-desk-bloco-full-3:empty{
  display: none !important;
}
.ib-categorySection {
  display: flex;
  gap: 20px;
  max-width: 1240px;
  padding: 0 20px;
  margin: auto;
}
.ib-categorySection>section{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ib-categorySection>aside{
  max-width: 384px;
  height: fit-content;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  grid-auto-rows: minmax(84px,auto);
  gap: 24px;
  position: sticky;
  top: 20px;
}
.ib-categorySection>aside>*{
  grid-column: 1/-1 !important;
}
.ib-categoryPagination {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.ib-categoryPagination > button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--pretoPadrao);
  font-weight: 600;
  border: 1px solid #000;
  cursor: pointer;
}
.ib-categoryPagination > button:hover {
  background-color: var(--vermelhoPadrao);
  border-color: var(--vermelhoPadrao);
  color: #fff;
}
@media (max-width: 1023px){
  .mw-area{
    grid-template-columns: repeat(12,1fr);
    grid-auto-flow: dense;
    gap: 30px;
  }
  .ib-categorySection{
    flex-direction: column;
  }
  .ib-categorySection>aside{
    max-width: unset;
  }
}
@media (max-width: 700px){
  .mw-area,
  .ib-categorySection{
    overflow: hidden;
  }
}