:root{
  --cl-store-bg: #f5f5f5;
  --cl-store-card: #ffffff;
  --cl-store-border: #e9edf2;
  --cl-store-text: #1f1f1f;
  --cl-store-text-soft: #667085;
  --cl-store-blue: #2563eb;
  --cl-store-blue-dark: #1d4ed8;
  --cl-store-success: #00a650;
  --cl-store-radius: 18px;
  --cl-store-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  --cl-store-container: 1360px;
  --cl-store-header-height: 88px;
}

body.champs-loja-active{
  background: var(--cl-store-bg);
}

body.champs-loja-active .site,
body.champs-loja-active #page{
  background: var(--cl-store-bg);
}

body.champs-loja-active .site-header,
body.champs-loja-active #masthead{
  display: none !important;
}

body.champs-loja-active .site-content{
  padding-top: 0 !important;
}

body.champs-loja-active .content-area,
body.champs-loja-active .site-main,
body.champs-loja-active #primary{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cl-store-shell,
.cl-store-shell *,
.cl-store-shell *::before,
.cl-store-shell *::after{
  box-sizing: border-box;
}

.cl-store-shell img{
  max-width: 100%;
  height: auto;
}

.cl-store-shell a{
  text-decoration: none;
}

.cl-store-shell button,
.cl-store-shell input,
.cl-store-shell select{
  font: inherit;
}

/* HEADER */
.cl-store-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf1f5;
}

.cl-store-header__inner{
  width: min(var(--cl-store-container), calc(100% - 32px));
  min-height: var(--cl-store-header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  column-gap: 24px;
}

.cl-store-header__brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #111827 !important;
  white-space: nowrap;
}

.cl-store-header__brand img{
  display: block;
  max-height: 46px;
  width: auto;
}

.cl-store-header__brand .custom-logo-link{
  display: inline-flex;
  align-items: center;
}

.nx-product-header__brand-text{
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #111827;
}

.cl-store-header__search{
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .05);
}

.cl-store-header__search input{
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  min-height: 54px;
  padding: 0 20px;
  font-size: 15px;
  color: #111827 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.cl-store-header__search input::placeholder{
  color: #94a3b8;
}

.cl-store-header__search button{
  flex: 0 0 56px;
  width: 56px;
  height: 54px;
  min-height: 54px;
  border: 0 !important;
  outline: 0 !important;
  background: #111827 !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cl-store-header__search button:hover{
  background: #0f172a !important;
}

.cl-store-header__search button svg{
  width: 20px !important;
  height: 20px !important;
  display: block;
  fill: #fff !important;
}

.cl-store-header__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.cl-store-link{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #111827 !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.cl-store-link:hover,
.cl-store-header__brand:hover{
  color: var(--cl-store-blue) !important;
}

.cl-store-link--cart{
  position: relative;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}

.cl-store-cart-icon{
  width: 20px !important;
  height: 20px !important;
  display: block;
  flex: 0 0 20px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cl-store-cart-badge{
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cl-store-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-store-dropdown{
  position: relative;
}

.cl-store-dropdown__toggle{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  color: #111827 !important;
  font-size: 15px;
  font-weight: 600;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  line-height: 1.2;
}

.cl-store-dropdown__toggle:hover{
  color: var(--cl-store-blue) !important;
}

.cl-store-dropdown__arrow{
  width: 16px !important;
  height: 16px !important;
  display: block;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.cl-store-dropdown.is-open .cl-store-dropdown__arrow{
  transform: rotate(180deg);
}

.cl-store-dropdown__menu{
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 16px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, .10);
  padding: 10px;
  display: none;
  z-index: 30;
}

.cl-store-dropdown.is-open .cl-store-dropdown__menu{
  display: grid;
}

.cl-store-dropdown__menu a{
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #111827 !important;
  font-size: 14px;
}

.cl-store-dropdown__menu a:hover{
  background: #f8fafc;
  color: var(--cl-store-blue) !important;
}

.cl-store-header__mobile-toggle{
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-left: auto;
}

.cl-store-header__mobile-toggle span{
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  display: block;
}

.cl-store-header__mobile-panel{
  width: min(var(--cl-store-container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.cl-store-header__mobile-panel[hidden]{
  display: none !important;
}

.cl-store-header__search--mobile{
  max-width: none;
  margin-top: 6px;
}

.cl-store-header__mobile-links{
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cl-store-header__mobile-links a{
  color: #111827 !important;
  font-weight: 600;
}

.cl-store-header__mobile-cats{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cl-store-header__mobile-cats a{
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 14px;
  color: #111827 !important;
  border: 1px solid #e5e7eb;
}

/* PAGE */
.cl-store-page{
  padding: 28px 0 64px;
  color: var(--cl-store-text);
}

.cl-store-container{
  width: min(var(--cl-store-container), calc(100% - 32px));
  margin: 0 auto;
}

.cl-store-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.cl-store-toolbar__left{
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.cl-store-title{
  margin: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: #111827;
}

.cl-store-count{
  color: var(--cl-store-text-soft);
  font-size: 15px;
}

.cl-store-sort{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cl-store-sort label{
  font-size: 14px;
  color: var(--cl-store-text-soft);
}

.cl-store-sort select{
  min-height: 46px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  color: #111827;
}

.cl-store-layout{
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cl-store-sidebar{
  position: sticky;
  top: calc(var(--cl-store-header-height) + 20px);
}

.cl-store-filter-card{
  background: var(--cl-store-card);
  border: 1px solid var(--cl-store-border);
  border-radius: var(--cl-store-radius);
  box-shadow: var(--cl-store-shadow);
  padding: 22px;
}

.cl-store-filter-card h2{
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.cl-store-filters-form{
  display: grid;
  gap: 18px;
}

.cl-store-filter-group{
  display: grid;
  gap: 10px;
}

.cl-store-filter-group label{
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.cl-store-filter-group input,
.cl-store-filter-group select{
  width: 100%;
  min-height: 48px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  color: #111827;
}

.cl-store-price-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cl-store-filter-actions{
  display: grid;
  gap: 10px;
}

.cl-store-filter-submit{
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--cl-store-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cl-store-filter-submit:hover{
  background: var(--cl-store-blue-dark);
}

.cl-store-filter-reset{
  min-height: 48px;
  border: 1px solid #d7dde5;
  border-radius: 12px;
  background: #fff;
  color: #111827 !important;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-store-products{
  min-width: 0;
}

.cl-store-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cl-store-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--cl-store-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cl-store-shadow);
}

.cl-store-card__image{
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cl-store-card__image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cl-store-card__content{
  display: grid;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid #edf1f5;
}

.cl-store-card__title{
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}

.cl-store-card__title a{
  color: #111827 !important;
}

.cl-store-card__excerpt{
  font-size: 14px;
  line-height: 1.6;
  color: var(--cl-store-text-soft);
}

.cl-store-card__price{
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.cl-store-card__actions{
  display: flex;
}

.cl-store-card__button{
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d7dde5;
  background: #fff;
  color: #111827 !important;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-store-card__button:hover{
  border-color: #b8c3d1;
}

.cl-store-pagination{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cl-store-pagination__item a,
.cl-store-pagination__item span{
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #111827 !important;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-store-pagination__item .current{
  background: var(--cl-store-blue);
  border-color: var(--cl-store-blue);
  color: #fff !important;
}

.cl-store-empty{
  background: #fff;
  border: 1px solid var(--cl-store-border);
  border-radius: var(--cl-store-radius);
  box-shadow: var(--cl-store-shadow);
  padding: 32px;
}

.cl-store-empty h2{
  margin: 0 0 8px;
  font-size: 28px;
  color: #111827;
}

.cl-store-empty p{
  margin: 0 0 20px;
  color: var(--cl-store-text-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* RESPONSIVO */
@media (max-width: 1280px){
  .cl-store-header__inner{
    grid-template-columns: auto minmax(260px, 1fr) auto;
    column-gap: 18px;
  }

  .cl-store-header__actions{
    gap: 14px;
  }

  .cl-store-link,
  .cl-store-dropdown__toggle{
    font-size: 14px;
  }

  .nx-product-header__brand-text{
    font-size: 24px;
  }

  .cl-store-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px){
  .cl-store-header__inner{
    grid-template-columns: auto minmax(220px, 1fr) auto;
    column-gap: 14px;
  }

  .cl-store-header__actions{
    gap: 12px;
  }

  .cl-store-link--cart{
    padding: 10px 13px;
  }

  .cl-store-layout{
    grid-template-columns: 1fr;
  }

  .cl-store-sidebar{
    position: static;
  }
}

@media (max-width: 980px){
  :root{
    --cl-store-header-height: 78px;
  }

  .cl-store-header__search{
    display: none;
  }

  .cl-store-header__inner{
    width: min(var(--cl-store-container), calc(100% - 16px));
    min-height: 78px;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
  }

  .cl-store-header__actions{
    display: none;
  }

  .cl-store-header__mobile-toggle{
    display: inline-flex;
  }

  .cl-store-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .cl-store-page{
    padding: 20px 0 48px;
  }

  .cl-store-toolbar{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px){
  .cl-store-header__mobile-panel,
  .cl-store-container{
    width: min(var(--cl-store-container), calc(100% - 16px));
  }

  .nx-product-header__brand-text{
    font-size: 21px;
  }

  .cl-store-title{
    font-size: 32px;
  }

  .cl-store-grid{
    grid-template-columns: 1fr;
  }

  .cl-store-price-grid{
    grid-template-columns: 1fr;
  }
}