/* STORE PAGE */

.store-page{
  background:#f4f4f4;
  overflow-x:clip;
  overflow-y:visible;
}

.store-container{
  width:min(1180px, calc(100% - 88px));
  margin:0 auto;
}

.store-categories-section{
  padding:72px 0 96px;
}

/* BREADCRUMB */

.store-breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:34px;
  color:#5c6470;
  font-size:13px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
}

.store-breadcrumb a{
  color:#101827;
}

.store-breadcrumb a:hover{
  color:var(--red);
}

/* PAGE HEAD */

.store-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:34px;
  margin-bottom:42px;
}

.store-page-head h1{
  max-width:720px;
  margin:0;
  color:#101827;
  font-size:52px;
  line-height:.88;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:-1.8px;
}

.store-view-tools{
  display:flex;
  align-items:center;
  gap:16px;
  flex-shrink:0;
}

/* SEARCH */

.store-search{
  height:46px;
  min-width:260px;
  display:flex;
  align-items:center;
  background:#fff;
  border:1px solid #d7dae0;
  border-radius:5px;
  overflow:hidden;
}

.store-search input{
  width:100%;
  height:100%;
  border:0;
  outline:0;
  padding:0 14px;
  background:transparent;
  color:#101827;
  font-size:14px;
  font-weight:700;
}

.store-search span{
  padding:0 14px;
  color:#101827;
  font-size:24px;
}

/* VIEW TOGGLE */

.store-view-toggle{
  display:flex;
  align-items:center;
  gap:8px;
}

.store-view-btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border:1px solid #d7dae0;
  border-radius:5px;
  background:#fff;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}

.store-view-btn span{
  font-size:17px;
  line-height:1;
}

.store-view-btn.active{
  border-color:var(--red);
  background:var(--red);
  color:#fff;
}

/* CATEGORY GRID */

.store-category-layout.is-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:18px;
}

.store-category-card{
  position:relative;
  min-height:190px;
  display:block;
  border-radius:8px;
  overflow:hidden;
  background:#111;
  box-shadow:0 18px 45px rgba(0,0,0,.10);
}

.store-category-card img{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover;
  transition:transform .35s ease;
}

.store-category-card:hover img{
  transform:scale(1.06);
}

.store-category-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.32) 42%,
      rgba(0,0,0,.78) 100%
    );
}

.store-category-content{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  z-index:2;
  color:#fff;
}

.store-category-content h2{
  max-width:92%;
  margin:0 0 10px;
  color:#fff;
  font-size:20px;
  line-height:.95;
  font-weight:600;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:-.8px;
}

.store-category-content p{
  margin:0;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-category-content p span{
  margin-left:6px;
}

/* STORE TABLET */

@media(max-width:1200px){
  .store-container{
    width:calc(100% - 64px);
  }

  .store-categories-section{
    padding:64px 0 88px;
  }

  .store-page-head{
    align-items:flex-start;
    flex-direction:column;
    gap:26px;
  }

  .store-page-head h1{
    font-size:46px;
  }

  .store-view-tools{
    width:100%;
    justify-content:space-between; 
  }

  .store-search{
    min-width:320px;
  }

  .store-category-layout.is-grid{
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:16px;
  }

  .store-category-card{
    min-height:165px;
  }

  .store-category-content{
    left:20px;
    right:20px;
    bottom:20px;
  }

  .store-category-content h2{
    font-size:15px;
    font-weight:600;
  }
  
  .store-category-content p{
      font-size:10px;
    }
}

/* CATEGORY LIST VIEW */

.store-category-layout.is-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.store-category-layout.is-list .store-category-card{
  min-height:64px;
  display:grid;
  grid-template-columns:92px minmax(0, 1fr);
  border-radius:5px;
  box-shadow:0 8px 22px rgba(0,0,0,.07);
}

.store-category-layout.is-list .store-category-card img{
  position:relative;
  width:100%;
  height:100%;
  min-height:64px;
  object-fit:cover;
}

.store-category-layout.is-list .store-category-overlay{
  display:none;
}

.store-category-layout.is-list .store-category-content{
  position:relative;
  left:auto;
  right:auto;
  bottom:auto;
  z-index:2;
  min-height:64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 18px;
  background:#fff;
  color:#101827;
}

.store-category-layout.is-list .store-category-content h2{
  max-width:100%;
  margin:0 0 5px;
  color:#101827;
  font-size:17px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.2px;
}

.store-category-layout.is-list .store-category-content p{
  color:#101827;
  font-size:10px;
  line-height:1;
}

.store-category-layout.is-list .store-category-card:hover .store-category-content h2{
  color:var(--red);
}

/* CATEGORY LIST VIEW TABLET */

@media(max-width:1200px){
  .store-category-layout.is-list .store-category-card{
    min-height:58px;
    grid-template-columns:84px minmax(0, 1fr);
  }

  .store-category-layout.is-list .store-category-card img{
    min-height:58px;
  }

  .store-category-layout.is-list .store-category-content{
    min-height:58px;
    padding:9px 16px;
  }

  .store-category-layout.is-list .store-category-content h2{
    font-size:15px;
    margin-bottom:4px;
  }

  .store-category-layout.is-list .store-category-content p{
    font-size:9px;
  }
}

/* CATEGORY LIST VIEW MOBILE */

@media(max-width:700px){
  .store-category-layout.is-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
  }

  .store-category-card{
    min-height:155px;
  }
  
  .store-page-head h1{
      font-size:30px;
      line-height:.9;
      letter-spacing:-1px;
    }

  .store-category-content h2{
    font-size:15px;
    font-weight:600;
    line-height:1;
  }

  .store-category-content p{
    font-size:9px;
  }

  .store-category-layout.is-list{
    gap:8px;
  }

  .store-category-layout.is-list .store-category-card{
    min-height:auto;
    display:block;
    border-radius:5px;
    background:#fff;
  }

  .store-category-layout.is-list .store-category-card img,
  .store-category-layout.is-list .store-category-overlay{
    display:none;
  }

  .store-category-layout.is-list .store-category-content{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    min-height:auto;
    padding:13px 14px;
    background:#fff;
    color:#101827;
  }

  .store-category-layout.is-list .store-category-content h2{
    margin:0 0 6px;
    color:#101827;
    font-size:15px;
    font-weight:700;
  }

  .store-category-layout.is-list .store-category-content p{
    color:#101827;
    font-size:9px;
  }
  
  .store-view-tools{
      width:100%;
      flex-direction:column;
      align-items:stretch;
      gap:12px;
    }
    
    .store-search{
      width:100%;
      min-width:0;
      height:44px;
    }
    
    .store-view-toggle{
      width:100%;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px;
    }
    
    .store-view-btn{
      width:100%;
      min-height:42px;
      justify-content:center;
      padding:0 10px;
      font-size:11px;
    }
}

/* PRODUCT LISTING PAGE */

.store-product-listing-section{
  padding:72px 0 96px;
}

.store-page-subtitle{
  margin:14px 0 0;
  color:#5c6470;
  font-size:14px;
  line-height:1.4;
  font-weight:700;
  text-transform:uppercase;
}

/* PRODUCT GRID */

.store-product-layout.is-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:28px;
}

.store-product-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 16px 42px rgba(0,0,0,.08);
}

.store-product-image{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:245px;
  padding:28px 22px;
  background:#fff;
  overflow:hidden;
}

.store-product-image img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:transform .28s ease;
}

.store-product-card:hover .store-product-image img{
  transform:scale(1.04);
}

.store-product-discount{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  min-width:46px;
  padding:7px 9px;
  border-radius:4px;
  background:var(--red);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-align:center;
}

.store-product-wishlist{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #d7dae0;
  border-radius:50%;
  background:#fff;
  color:#101827;
  font-size:19px;
  line-height:1;
  cursor:pointer;
}

.store-product-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:18px 18px 20px;
  border-top:1px solid #edf0f3;
}

.store-product-body h2{
  min-height:46px;
  margin:0 0 10px;
  color:#101827;
  font-size:15px;
  line-height:1.15;
  font-weight:800;
}

.store-product-body h2 a{
  color:inherit;
}

.store-product-body h2 a:hover{
  color:var(--red);
}

.store-product-category{
  margin:0 0 8px;
  color:#777f8b;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-brand{
  display:flex;
  align-items:center;
  gap:4px;
}

.store-product-brand strong{
  color:var(--red);
  font-weight:900;
}

.store-product-code{
  margin:0 0 16px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:600;
}

.store-product-price-row{
  display:flex;
  align-items:baseline;
  gap:9px;
  margin-top:auto;
  margin-bottom:16px;
}

.store-product-price{
  color:#101827;
  font-size:18px;
  line-height:1;
  font-weight:900;
}

.store-product-old-price{
  color:#8b929c;
  font-size:12px;
  line-height:1;
  font-weight:700;
  text-decoration:line-through;
}

.store-product-cart{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:4px;
  background:#101827;
  color:#fff;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}

.store-product-cart:hover{
  background:var(--red);
}

/* EMPTY STATE */

.store-empty-state{
  grid-column:1 / -1;
  padding:54px 28px;
  background:#fff;
  border-radius:8px;
  text-align:center;
}

.store-empty-state h2{
  margin:0 0 10px;
  color:#101827;
  font-size:28px;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
}

.store-empty-state p{
  margin:0;
  color:#6b7280;
  font-size:14px;
  font-weight:700;
}

/* PRODUCT GRID TABLET */

@media(max-width:1200px){
  .store-product-listing-section{
    padding:64px 0 88px;
  }

  .store-page-subtitle{
    font-size:13px;
  }

  .store-product-layout.is-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
  }

  .store-product-image{
    height:220px;
    padding:24px 18px;
  }

  .store-product-body{
    padding:16px 16px 18px;
  }

  .store-product-body h2{
    min-height:44px;
    font-size:14px;
  }

  .store-product-price{
    font-size:17px;
  }
}

/* PRODUCT GRID MOBILE */

@media(max-width:700px){
  .store-product-listing-section{
    padding:44px 0 72px;
  }

  .store-page-subtitle{
    margin-top:10px;
    font-size:11px;
  }

  .store-product-layout.is-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
  }

  .store-product-card{
    border-radius:6px;
  }

  .store-product-image{
    height:150px;
    padding:22px 14px;
  }

  .store-product-discount{
    top:9px;
    left:9px;
    min-width:38px;
    padding:6px 7px;
    font-size:9px;
  }

  .store-product-wishlist{
    top:8px;
    right:8px;
    width:28px;
    height:28px;
    font-size:15px;
  }

  .store-product-body{
    padding:12px 11px 13px;
  }

  .store-product-body h2{
    min-height:42px;
    margin-bottom:8px;
    font-size:11px;
    line-height:1.18;
    font-weight:800;
  }

  .store-product-category{
    margin-bottom:7px;
    font-size:8px;
  }

  .store-product-code{
    margin-bottom:12px;
    font-size:9px;
  }

  .store-product-price-row{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    margin-bottom:12px;
  }

  .store-product-price{
    font-size:14px;
  }

  .store-product-old-price{
    font-size:10px;
  }

  .store-product-cart{
    min-height:36px;
    font-size:9px;
  }

  .store-empty-state{
    padding:38px 18px;
  }

  .store-empty-state h2{
    font-size:22px;
  }

  .store-empty-state p{
    font-size:12px;
  }
}

/* PRODUCT LIST VIEW */

.store-product-layout.is-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.store-product-layout.is-list .store-product-card{
  display:grid;
  grid-template-columns:170px minmax(0, 1fr);
  min-height:150px;
  border-radius:6px;
  overflow:hidden;
}

.store-product-layout.is-list .store-product-image{
  height:150px;
  padding:18px;
  border-right:1px solid #edf0f3;
}

.store-product-layout.is-list .store-product-body{
  min-height:150px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 210px;
  column-gap:26px;
  align-items:center;
  padding:20px 24px;
  border-top:0;
}

.store-product-layout.is-list .store-product-body h2{
  min-height:0;
  grid-column:1;
  margin:0 0 10px;
  font-size:17px;
  line-height:1.2;
}

.store-product-layout.is-list .store-product-category{
  grid-column:1;
  margin:0 0 8px;
  font-size:11px;
}

.store-product-layout.is-list .store-product-code{
  grid-column:1;
  margin:0;
  font-size:12px;
}

.store-product-layout.is-list .store-product-price-row{
  grid-column:2;
  grid-row:1 / span 2;
  justify-self:end;
  align-self:end;
  margin:0 0 14px;
  text-align:right;
}

.store-product-layout.is-list .store-product-price{
  font-size:20px;
}

.store-product-layout.is-list .store-product-old-price{
  font-size:12px;
}

.store-product-layout.is-list .store-product-cart{
  grid-column:2;
  grid-row:3;
  justify-self:end;
  width:180px;
  min-height:40px;
}

.store-product-layout.is-list .store-product-discount{
  top:10px;
  left:10px;
}

.store-product-layout.is-list .store-product-wishlist{
  top:9px;
  right:9px;
}

/* PRODUCT LIST VIEW TABLET */

@media(max-width:1200px){
  .store-product-layout.is-list .store-product-card{
    grid-template-columns:150px minmax(0, 1fr);
    min-height:135px;
  }

  .store-product-layout.is-list .store-product-image{
    height:135px;
    padding:16px;
  }

  .store-product-layout.is-list .store-product-body{
    min-height:135px;
    grid-template-columns:minmax(0, 1fr) 185px;
    column-gap:20px;
    padding:18px 20px;
  }

  .store-product-layout.is-list .store-product-body h2{
    font-size:15px;
  }

  .store-product-layout.is-list .store-product-price{
    font-size:18px;
  }

  .store-product-layout.is-list .store-product-cart{
    width:165px;
  }
}

/* PRODUCT MOBILE FINAL VIEW */

@media(max-width:700px){
  .store-category-products-page .store-view-tools{
    display:none;
  }

  .store-product-layout,
  .store-product-layout.is-grid,
  .store-product-layout.is-list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
  }

  .store-product-layout.is-list .store-product-card{
    display:flex;
    flex-direction:column;
    min-height:auto;
  }

  .store-product-layout.is-list .store-product-image{
    height:150px;
    padding:22px 14px;
    border-right:0;
  }

  .store-product-layout.is-list .store-product-wishlist{
    display:grid;
  }

  .store-product-layout.is-list .store-product-body{
    min-height:auto;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding:12px 11px 13px;
    border-top:1px solid #edf0f3;
  }

  .store-product-layout.is-list .store-product-body h2{
    min-height:42px;
    margin-bottom:8px;
    font-size:11px;
    line-height:1.18;
  }

  .store-product-layout.is-list .store-product-category{
    margin-bottom:7px;
    font-size:8px;
  }

  .store-product-layout.is-list .store-product-code{
    margin-bottom:12px;
    font-size:9px;
  }

  .store-product-layout.is-list .store-product-price-row{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    margin-top:auto;
    margin-bottom:12px;
    text-align:left;
  }

  .store-product-layout.is-list .store-product-cart{
    width:100%;
    min-height:36px;
    font-size:9px;
  }
  
  .store-breadcrumb{
    font-size:10px;
    }
}

/* STORE PAGINATION */

.store-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:46px;
}

.store-pagination-link{
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid #d7dae0;
  border-radius:5px;
  background:#fff;
  color:#101827;
  font-size:13px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  text-decoration:none;
}

.store-pagination-link:hover{
  border-color:var(--red);
  color:var(--red);
}

.store-pagination-link.active{
  border-color:var(--red);
  background:var(--red);
  color:#fff;
}

.store-pagination-link.disabled{
  opacity:.45;
  pointer-events:none;
}

/* STORE PAGINATION MOBILE */

@media(max-width:700px){
  .store-pagination{
    gap:8px;
    margin-top:34px;
  }

  .store-pagination-link{
    min-width:36px;
    height:36px;
    padding:0 10px;
    font-size:11px;
  }
}

/* PRODUCT DETAIL PAGE */

.store-product-detail-page{
  background:#fff;
}

.store-product-detail-section{
  padding:54px 0 92px;
}

.store-product-detail-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(360px, .85fr);
  grid-template-areas:
    "gallery info"
    "description compatibility";
  column-gap:70px;
  row-gap:54px;
  align-items:start;
}

/* GALLERY */

.store-product-detail-gallery{
    grid-area:gallery;
    min-width:0;
}

.store-product-main-image{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:46px;
  background:#fff;
}

.store-product-main-image img{
  max-width:100%;
  max-height:520px;
  object-fit:contain;
}

.store-product-main-image .store-product-discount{
  top:20px;
  left:20px;
}

/* PRODUCT INFO */

.store-product-detail-info-column{
  grid-area:info;
  min-width:0;
  align-self:stretch;
}

.store-product-detail-info{
  position:sticky;
  top:110px;
  min-width:0;
  height:fit-content;
  padding-top:18px;
}

.store-product-detail-category{
  margin:0 0 6px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-detail-brand{
  display:flex;
  align-items:center;
  gap:5px;
  margin:0 0 12px;
  color:#777f8b;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
}

.store-product-detail-brand a,
.store-product-detail-brand strong{
  color:var(--red);
  font-weight:900;
}

.store-product-detail-brand a:hover{
  color:#101827;
}

.store-product-detail-info h1{
  margin:0 0 18px;
  color:#101827;
  font-size:28px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.6px;
}

.store-product-detail-code{
  margin:0 0 12px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
}

.store-product-detail-stock{
  width:max-content;
  margin:0 0 36px;
  padding:6px 11px;
  border-radius:3px;
  background:#11865a;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-detail-stock-low-stock{
  background:#e58b00;
}

.store-product-detail-stock-out-of-stock{
  background:#c9000c;
}

.store-product-detail-stock-preorder{
  background:#1769aa;
}

.store-product-detail-price-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:34px;
}

.store-product-detail-price-row strong{
  color:#101827;
  font-size:34px;
  line-height:1;
  font-weight:900;
}

.store-product-detail-price-row span{
  padding:5px 8px;
  background:#f4f600;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:800;
  text-decoration:line-through;
}

.store-product-detail-actions{
  display:grid;
  grid-template-columns:132px minmax(0, 1fr);
  gap:18px;
  margin-bottom:26px;
}

.store-product-quantity input{
  width:100%;
  height:50px;
  border:1px solid #cfd4dc;
  border-radius:4px;
  padding:0 14px;
  color:#101827;
  font-size:15px;
  font-weight:700;
}

.store-product-detail-cart{
  height:50px;
  border:0;
  border-radius:4px;
  background:var(--red);
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 12px 25px rgba(230,0,0,.18);
}

.store-product-detail-cart:hover{
  background:#101827;
}

.store-product-detail-description{
  grid-area:description;
}

.store-product-compatibility{
  grid-area:compatibility;
}

/* DESCRIPTION */

.store-product-detail-description{
  grid-area:description;
  margin-top:0;
  padding-top:34px;
  border-top:1px solid #e5e7eb;
}

.store-product-detail-description h2{
  margin:0 0 16px;
  color:#101827;
  font-size:24px;
  line-height:1;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
}

.store-product-detail-description p{
  max-width:720px;
  margin:0;
  color:#394150;
  font-size:15px;
  line-height:1.75;
  font-weight:500;
}

/* PRODUCT DETAIL TABLET */

@media(max-width:1200px){
  .store-product-detail-section{
    padding:48px 0 82px;
  }

  .store-product-detail-layout{
    grid-template-columns:minmax(0, 1fr) 340px;
    gap:42px;
  }

  .store-product-main-image{
    min-height:460px;
    padding:34px;
  }

  .store-product-main-image img{
    max-height:430px;
  }

  .store-product-detail-info{
    top:96px;
  }

  .store-product-detail-info h1{
    font-size:24px;
  }

  .store-product-detail-price-row strong{
    font-size:30px;
  }

  .store-product-detail-actions{
    grid-template-columns:126px minmax(0, 1fr);
    gap:14px;
  }
}

/* PRODUCT DETAIL MOBILE */

@media(max-width:700px){
  .store-product-detail-section{
    padding:38px 0 68px;
  }

  .store-product-detail-layout{
    display:flex;
    flex-direction:column;
    gap:26px;
  }

  .store-product-main-image{
    min-height:310px;
    padding:28px 18px;
    border-radius:8px;
    background:#fff;
  }

  .store-product-main-image img{
    max-height:280px;
  }

  .store-product-main-image .store-product-discount{
    top:12px;
    left:12px;
  }

  .store-product-detail-info{
    position:relative;
    top:auto;
    padding-top:0;
  }

  .store-product-detail-category{
    margin-bottom:9px;
    font-size:10px;
  }
  
  .store-product-detail-brand{
      margin-bottom:10px;
      font-size:10px;
  }

  .store-product-detail-info h1{
    margin-bottom:14px;
    font-size:22px;
    line-height:1.08;
    letter-spacing:-.4px;
  }

  .store-product-detail-code{
    font-size:10px;
  }

  .store-product-detail-stock{
    margin-bottom:24px;
    padding:6px 10px;
    font-size:10px;
  }

  .store-product-detail-price-row{
    gap:10px;
    margin-bottom:24px;
  }

  .store-product-detail-price-row strong{
    font-size:28px;
  }

  .store-product-detail-price-row span{
    font-size:10px;
  }

  .store-product-detail-actions{
    grid-template-columns:116px minmax(0, 1fr);
    gap:12px;
    margin-bottom:22px;
  }

  .store-product-detail-actions input,
  .store-product-detail-cart{
    height:46px;
  }

  .store-product-detail-cart{
    font-size:11px;
  }

  .store-product-detail-description{
    margin-top:0px;
    padding-top:28px;
  }

  .store-product-detail-description h2{
    font-size:21px;
  }

  .store-product-detail-description p{
    font-size:14px;
    line-height:1.65;
  }
}

/* PRODUCT COMPATIBILITY TABLE */

.store-product-compatibility{
  grid-area:compatibility;
  margin-top:0;
  padding-top:34px;
  border-top:1px solid #e5e7eb;
}

.store-product-compatibility h2{
  margin:0 0 22px;
  color:#101827;
  font-size:24px;
  line-height:1;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
}

.store-product-compatibility-table{
  width:100%;
  overflow:hidden;
  border-radius:4px;
}

.store-product-compatibility-head,
.store-product-compatibility-row{
  display:grid;
  grid-template-columns:170px minmax(0, 1fr);
  align-items:center;
}

.store-product-compatibility-head{
  background:#d7dbe1;
}

.store-product-compatibility-head span{
  padding:16px 20px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
}

.store-product-compatibility-row{
  background:#fff;
}

.store-product-compatibility-row:nth-child(odd){
  background:#f4f4f4;
}

.store-product-compatibility-row span{
  padding:18px 20px;
  color:#101827;
  font-size:14px;
  line-height:1.45;
  font-weight:500;
}

.store-product-compatibility-row strong{
  display:block;
  color:var(--red);
  font-size:14px;
  line-height:1.35;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-compatibility-row small{
  display:block;
  margin-top:5px;
  color:#394150;
  font-size:13px;
  line-height:1.45;
  font-weight:500;
}

/* PRODUCT COMPATIBILITY MOBILE */

@media(max-width:700px){
  .store-product-compatibility{
    margin-top:0px;
    padding-top:28px;
  }

  .store-product-compatibility h2{
    font-size:21px;
    line-height:1.05;
  }

  .store-product-compatibility-head,
  .store-product-compatibility-row{
    grid-template-columns:86px minmax(0, 1fr);
  }

  .store-product-compatibility-head span{
    padding:13px 12px;
    font-size:10px;
  }

  .store-product-compatibility-row span{
    padding:14px 12px;
    font-size:12px;
  }

  .store-product-compatibility-row strong{
    font-size:12px;
  }

  .store-product-compatibility-row small{
    font-size:11px;
  }
}

/* PRODUCT DETAIL GALLERY THUMBNAILS */

.store-product-thumbnails{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:22px;
  padding:0 12px;
}

.store-product-thumbnail{
  width:86px;
  height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
  border:1px solid #d7dae0;
  border-radius:5px;
  background:#fff;
  cursor:pointer;
  opacity:.65;
  transition:border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.store-product-thumbnail img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.store-product-thumbnail:hover,
.store-product-thumbnail.active{
  border-color:var(--red);
  opacity:1;
}

.store-product-thumbnail.active{
  transform:translateY(-2px);
}

/* PRODUCT DETAIL GALLERY THUMBNAILS MOBILE */

@media(max-width:700px){
  .store-product-thumbnails{
    justify-content:flex-start;
    gap:10px;
    margin-top:16px;
    padding:0 2px 8px;
    overflow-x:auto;
  }

  .store-product-thumbnail{
    flex:0 0 66px;
    width:66px;
    height:66px;
    padding:8px;
  }
}

/* PRODUCT DETAIL QUANTITY */

.store-product-quantity{
    width:100%;
  height:50px;
  display:grid;
  grid-template-columns:38px minmax(0, 1fr) 38px;
  border:1px solid #cfd4dc;
  border-radius:4px;
  overflow:hidden;
  background:#fff;
}

.store-product-quantity button{
  width:100%;
  height:100%;
  border:0;
  background:#f4f4f4;
  color:#101827;
  font-size:18px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}

.store-product-quantity button:hover{
  background:#101827;
  color:#fff;
}

.store-product-quantity input{
  width:100%;
  height:100%;
  border:0;
  border-left:1px solid #cfd4dc;
  border-right:1px solid #cfd4dc;
  padding:0;
  background:#fff;
  color:#101827;
  font-size:15px;
  font-weight:800;
  text-align:center;
  outline:0;
}

/* Hide number input arrows */
.store-product-quantity input::-webkit-outer-spin-button,
.store-product-quantity input::-webkit-inner-spin-button{
  appearance:none;
  margin:0;
}

.store-product-quantity input[type=number]{
  appearance:textfield;
}

/* PRODUCT DETAIL QUANTITY MOBILE */

@media(max-width:700px){
  .store-product-quantity{
    height:46px;
    grid-template-columns:34px minmax(0, 1fr) 34px;
  }

  .store-product-quantity button{
    font-size:16px;
  }

  .store-product-quantity input{
    font-size:14px;
  }
}

/* PRODUCT OPTIONS */

.store-product-options{
  margin:0 0 28px;
  padding:24px 0 26px;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}

.store-product-option-group + .store-product-option-group{
  margin-top:20px;
}

.store-product-option-label{
  margin:0 0 12px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-option-values{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.store-product-option-value{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:0 14px;
  border:1px solid #cfd4dc;
  border-radius:4px;
  background:#fff;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
}

.store-product-option-value:hover,
.store-product-option-value.active{
  border-color:var(--red);
  color:var(--red);
}

.store-product-option-value.active{
  box-shadow:0 0 0 1px var(--red);
}

.store-product-option-value:disabled,
.store-product-option-value.is-unavailable{
  border-color:#d8dde5;
  background:#f1f3f5;
  color:#9aa1ab;
  box-shadow:none;
  opacity:1;
  cursor:not-allowed;
}

.store-product-option-value:disabled:hover,
.store-product-option-value.is-unavailable:hover{
  border-color:#d8dde5;
  background:#f1f3f5;
  color:#9aa1ab;
  box-shadow:none;
}

.store-product-option-value:disabled
.store-product-option-swatch{
  filter:grayscale(1);
  opacity:.45;
}

.store-product-variant-shortcuts{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  flex:0 0 30px;
  gap:12px;
  margin:0 0 20px;
}

.store-product-variant-shortcuts-label{
  margin:0;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-product-variant-shortcuts-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.store-product-variant-shortcut{
  width:30px;
  height:30px;
  display:inline-grid;
  place-items:center;
  padding:0;
  border:1px solid #cfd4dc;
  border-radius:4px;
  background:#fff;
  color:#101827;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}

.store-product-variant-shortcut:hover{
  border-color:var(--red);
  color:var(--red);
}

.store-product-variant-shortcut.active{
  border-color:var(--red);
  background:var(--red);
  color:#fff;
  box-shadow:0 0 0 1px var(--red);
}

.store-product-variant-shortcut.is-out-of-stock:not(.active){
  border-color:#d8dde5;
  background:#f1f3f5;
  color:#9aa1ab;
}

.store-product-option-swatch{
  width:16px;
  height:16px;
  border:1px solid #cfd4dc;
  border-radius:50%;
  flex-shrink:0;
}

/* PRODUCT OPTIONS MOBILE */

@media(max-width:700px){
  .store-product-options{
    margin-bottom:24px;
    padding:20px 0 22px;
  }

  .store-product-option-group + .store-product-option-group{
    margin-top:16px;
  }

  .store-product-option-label{
    font-size:10px;
  }

  .store-product-option-values{
    gap:8px;
  }

  .store-product-option-value{
    min-height:38px;
    padding:0 11px;
    font-size:10px;
  }

  .store-product-option-swatch{
    width:14px;
    height:14px;
  }
}

/* STORE TOAST */

.store-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  max-width:320px;
  padding:15px 18px;
  border-radius:5px;
  background:#101827;
  color:#fff;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  text-transform:uppercase;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.store-toast.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* STORE TOAST MOBILE */

@media(max-width:700px){
  .store-toast{
    left:16px;
    right:16px;
    bottom:18px;
    max-width:none;
    text-align:center;
    font-size:11px;
  }
}

/* RELATED PRODUCTS */

.store-related-products{
  margin-top:92px;
  padding-top:54px;
  border-top:1px solid #e5e7eb;
}

.store-related-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px;
}

.store-related-head h2{
  margin:0;
  color:#101827;
  font-size:34px;
  line-height:1;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:-.8px;
}

.store-related-head a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border:1px solid #101827;
  border-radius:4px;
  color:#101827;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-related-head a:hover{
  border-color:var(--red);
  background:var(--red);
  color:#fff;
}

.store-related-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:28px;
}

/* RELATED PRODUCTS TABLET */

@media(max-width:1200px){
  .store-related-products{
    margin-top:78px;
    padding-top:46px;
  }

  .store-related-head h2{
    font-size:30px;
  }

  .store-related-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
  }
}

/* RELATED PRODUCTS MOBILE */

@media(max-width:700px){
  .store-related-products{
    margin-top:58px;
    padding-top:36px;
  }

  .store-related-head{
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
    margin-bottom:24px;
  }

  .store-related-head h2{
    font-size:26px;
    letter-spacing:-.5px;
  }

  .store-related-head a{
    width:100%;
    min-height:40px;
    font-size:11px;
  }

  .store-related-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
  }
}

/* STORE PRODUCT CARD SVG ICONS */

.store-product-image .store-ui-bookmark,
.store-product-main-image .store-ui-bookmark{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 26px rgba(0,0,0,.08);
  z-index:3;
  cursor:pointer;

  --icon-size:24px;
  --icon-secondary-color:#fff;
  --icon-hover-color:#fff;
  --icon-primary-color:var(--red);
  --icon-stroke-color:#111;
  --icon-circle-border:1px solid var(--icon-primary-color);
  --icon-circle-size:35px;
  --icon-anmt-duration:.3s;
}

.store-ui-bookmark input{
  appearance:none;
  -webkit-appearance:none;
  display:none;
}

.store-ui-bookmark .bookmark{
  width:var(--icon-size);
  height:var(--icon-size);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  transform-origin:top;
  transition:.2s;
}

.store-ui-bookmark .bookmark svg{
  width:100%;
  height:100%;
  display:block;
}

.store-ui-bookmark .bookmark svg path{
  fill:var(--icon-secondary-color);
  stroke:var(--icon-stroke-color);
  stroke-width:2.5;
  stroke-linejoin:round;
}

.store-ui-bookmark:hover .bookmark svg path{
  fill:var(--icon-hover-color);
  stroke:var(--icon-stroke-color);
}

.store-ui-bookmark input:checked + .bookmark svg path{
  fill:var(--icon-primary-color);
  stroke:var(--icon-primary-color);
}

.store-ui-bookmark .bookmark::before{
  content:"";
  position:absolute;
  border-radius:50%;
  border:var(--icon-circle-border);
  opacity:0;
}

.store-ui-bookmark .bookmark::after{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  border-radius:50%;
  transform:scale(0);
  box-shadow:
    0 30px 0 -4px var(--icon-primary-color),
    30px 0 0 -4px var(--icon-primary-color),
    0 -30px 0 -4px var(--icon-primary-color),
    -30px 0 0 -4px var(--icon-primary-color),
    -22px 22px 0 -4px var(--icon-primary-color),
    -22px -22px 0 -4px var(--icon-primary-color),
    22px -22px 0 -4px var(--icon-primary-color),
    22px 22px 0 -4px var(--icon-primary-color);
}

.store-ui-bookmark input:checked + .bookmark{
  animation:storeBookmark .3s forwards;
}

.store-ui-bookmark input:checked + .bookmark::before{
  animation:storeBookmarkCircle .3s cubic-bezier(.175,.885,.32,1.275) forwards;
  animation-delay:.3s;
}

.store-ui-bookmark input:checked + .bookmark::after{
  animation:storeBookmarkDots .3s cubic-bezier(.175,.885,.32,1.275) forwards;
  animation-delay:.3s;
}

@keyframes storeBookmark{
  50%{
    transform:scaleY(.6);
  }

  100%{
    transform:scaleY(1);
  }
}

@keyframes storeBookmarkCircle{
  from{
    width:0;
    height:0;
    opacity:0;
  }

  90%{
    width:var(--icon-circle-size);
    height:var(--icon-circle-size);
    opacity:1;
  }

  to{
    opacity:0;
  }
}

@keyframes storeBookmarkDots{
  from{
    transform:scale(0);
  }

  40%{
    opacity:1;
  }

  to{
    transform:scale(.8);
    opacity:0;
  }
}

/* Cart icon for store product buttons */

.store-product-cart,
.store-product-detail-cart{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.store-product-cart::before,
.store-product-detail-cart::before{
  content:"";
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 auto;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='10' cy='28' r='2'/%3E%3Ccircle cx='24' cy='28' r='2'/%3E%3Cpath d='M4.98 2.804A1 1 0 0 0 4 2H0v2h3.18l3.84 19.196A1 1 0 0 0 8 24h18v-2H8.82l-.8-4H26a1 1 0 0 0 .976-.783L29.244 7h-2.047l-1.999 9H7.62Z'/%3E%3Cpath d='M18 6V2h-2v4h-4v2h4v4h2V8h4V6h-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='10' cy='28' r='2'/%3E%3Ccircle cx='24' cy='28' r='2'/%3E%3Cpath d='M4.98 2.804A1 1 0 0 0 4 2H0v2h3.18l3.84 19.196A1 1 0 0 0 8 24h18v-2H8.82l-.8-4H26a1 1 0 0 0 .976-.783L29.244 7h-2.047l-1.999 9H7.62Z'/%3E%3Cpath d='M18 6V2h-2v4h-4v2h4v4h2V8h4V6h-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media(max-width:700px){
  .store-product-image .store-ui-bookmark,
  .store-product-main-image .store-ui-bookmark{
    top:14px;
    right:14px;
    width:36px;
    height:36px;
    --icon-size:22px;
  }

  .store-product-cart::before,
  .store-product-detail-cart::before{
    width:16px;
    height:16px;
  }
}

/* CATEGORY BRAND FILTER */

.store-category-catalog{
  display:grid;
  grid-template-columns:230px minmax(0, 1fr);
  gap:28px;
  align-items:start;
}

.store-product-results{
  min-width:0;
}

.store-product-results .store-product-layout.is-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.store-brand-filter-card{
  position:sticky;
  top:140px;
  align-self:start;
  height:fit-content;
  overflow:hidden;
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:8px;
  box-shadow:0 14px 36px rgba(0,0,0,.07);
}

.store-brand-filter-head{
  padding:20px 18px 16px;
  border-bottom:1px solid #e7e9ec;
}

.store-brand-filter-head h2{
  margin:0 0 6px;
  color:#101827;
  font-size:18px;
  line-height:1.1;
  font-weight:900;
  text-transform:uppercase;
}

.store-brand-filter-head p{
  margin:0;
  color:#737b86;
  font-size:11px;
  line-height:1.4;
  font-weight:700;
}

.store-brand-filter-list{
  max-height:min(460px, calc(100vh - 220px));
  padding:10px;
  overflow-y:auto;
}

.store-brand-filter-option{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 8px;
  border-radius:5px;
  color:#101827;
  transition:background-color .18s ease, color .18s ease;
}

.store-brand-filter-option:hover{
  background:#f2f3f5;
  color:#101827;
}

.store-brand-filter-check{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:grid;
  place-items:center;
  border:2px solid #c9cdd3;
  border-radius:4px;
  background:#fff;
  color:transparent;
  font-size:11px;
  line-height:1;
  font-weight:900;
}

.store-brand-filter-option.active .store-brand-filter-check{
  border-color:#e30613;
  background:#e30613;
  color:#fff;
}

.store-brand-filter-name{
  min-width:0;
  flex:1;
  font-size:12px;
  line-height:1.25;
  font-weight:800;
}

.store-brand-filter-count{
  min-width:25px;
  padding:4px 6px;
  border-radius:20px;
  background:#f0f1f3;
  color:#656d78;
  font-size:10px;
  line-height:1;
  font-weight:900;
  text-align:center;
}

.store-brand-filter-option.active .store-brand-filter-count{
  background:#ffe4e6;
  color:#c9000c;
}

@media(max-width:1050px){
  .store-category-catalog{
    grid-template-columns:210px minmax(0, 1fr);
    gap:22px;
  }

  .store-product-results .store-product-layout.is-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:900px){
  .store-category-catalog{
    grid-template-columns:1fr;
  }

  .store-brand-filter-card{
    display:none;
  }

  .store-product-results .store-product-layout.is-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media(max-width:700px){
  .store-product-results .store-product-layout.is-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE BRAND FILTER */

.store-mobile-brand-filter-button,
.store-brand-filter-close,
.store-brand-filter-backdrop{
  display:none;
}

.store-brand-filter-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

@media(max-width:900px){
  .store-mobile-brand-filter-button{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 16px;
    border:0;
    border-radius:5px;
    background:#e30613;
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    cursor:pointer;
    box-shadow:0 10px 24px rgba(227,6,19,.2);
  }

  .store-mobile-brand-filter-icon{
    font-size:18px;
    line-height:1;
  }

  .store-mobile-brand-filter-count{
    min-width:21px;
    height:21px;
    display:grid;
    place-items:center;
    padding:0 6px;
    border-radius:20px;
    background:#fff;
    color:#d5000d;
    font-size:10px;
    line-height:1;
    font-weight:900;
  }

  .store-brand-filter-card{
    width:100%;
    max-height:min(78vh, 620px);
    display:block;
    position:fixed;
    top:auto;
    right:0;
    bottom:0;
    left:0;
    z-index:10002;
    border:0;
    border-radius:18px 18px 0 0;
    transform:translateY(105%);
    visibility:hidden;
    transition:
      transform .28s ease,
      visibility .28s ease;
    box-shadow:0 -20px 55px rgba(0,0,0,.22);
  }

  .store-brand-filter-card.is-open{
    transform:translateY(0);
    visibility:visible;
  }

  .store-brand-filter-head{
    padding:20px 20px 16px;
  }

  .store-brand-filter-close{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:#f0f1f3;
    color:#101827;
    font-size:25px;
    line-height:1;
    cursor:pointer;
  }

  .store-brand-filter-list{
    max-height:calc(78vh - 90px);
    padding:10px 14px 24px;
    overflow-y:auto;
  }

  .store-brand-filter-option{
    min-height:48px;
    padding:11px 8px;
  }

  .store-brand-filter-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:10001;
    border:0;
    background:rgba(5,10,18,.58);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:
      opacity .24s ease,
      visibility .24s ease;
  }

  .store-brand-filter-backdrop.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  body.store-brand-filter-open{
    overflow:hidden;
  }
}

@media(max-width:700px){
  .store-mobile-brand-filter-button{
    width:100%;
  }
}

/* STORE INDEX BRAND FILTER */

.store-categories-page .store-page-head{
  margin-bottom:24px;
}

.store-index-brand-toolbar{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:30px;
}

.store-index-brand-filter-button{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 17px;
  border:0;
  border-radius:5px;
  background:var(--red);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(227,6,19,.2);
}

.store-index-brand-filter-button:hover{
  background:#c9000c;
}

.store-index-brand-filter-icon{
  font-size:18px;
  line-height:1;
}

.store-index-brand-filter-count{
  min-width:21px;
  height:21px;
  display:grid;
  place-items:center;
  padding:0 6px;
  border-radius:20px;
  background:#fff;
  color:#d5000d;
  font-size:10px;
  line-height:1;
  font-weight:900;
}

.store-index-brand-filter-clear{
  color:#69717c;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}

.store-index-brand-filter-clear:hover{
  color:var(--red);
}

/* MODAL */

.store-index-brand-filter-modal{
  width:min(520px, calc(100% - 40px));
  max-height:min(80vh, 680px);
  display:flex;
  flex-direction:column;
  position:fixed;
  top:50%;
  left:50%;
  z-index:10002;
  overflow:hidden;
  border:1px solid #e2e5e9;
  border-radius:10px;
  background:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%, -46%) scale(.98);
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s ease;
}

.store-index-brand-filter-modal.is-open{
  opacity:1;
  visibility:visible;
  transform:translate(-50%, -50%) scale(1);
}

.store-index-brand-filter-modal .store-brand-filter-close{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:#f0f1f3;
  color:#101827;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

.store-index-brand-filter-form{
  min-height:0;
  display:flex;
  flex:1;
  flex-direction:column;
}

.store-index-brand-filter-modal .store-brand-filter-list{
  min-height:0;
  max-height:none;
  flex:1;
  padding:10px 14px;
  overflow-y:auto;
}

.store-index-brand-filter-option{
  position:relative;
  cursor:pointer;
}

.store-index-brand-filter-option input{
  width:1px;
  height:1px;
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.store-index-brand-filter-option input:checked
+ .store-brand-filter-check{
  border-color:#e30613;
  background:#e30613;
  color:#fff;
}

.store-index-brand-filter-option input:focus-visible
+ .store-brand-filter-check{
  outline:3px solid rgba(227,6,19,.2);
  outline-offset:2px;
}

.store-index-brand-filter-actions{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:12px;
  padding:16px 18px 18px;
  border-top:1px solid #e7e9ec;
  background:#fff;
}

.store-index-brand-filter-actions a,
.store-index-brand-filter-actions button{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:5px;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}

.store-index-brand-filter-actions a{
  border:1px solid #d7dae0;
  background:#fff;
  color:#101827;
}

.store-index-brand-filter-actions a:hover{
  border-color:#101827;
}

.store-index-brand-filter-actions button{
  border:1px solid var(--red);
  background:var(--red);
  color:#fff;
}

.store-index-brand-filter-actions button:hover{
  background:#c9000c;
}

.store-categories-page .store-index-brand-filter-backdrop{
  display:block;
  position:fixed;
  inset:0;
  z-index:10001;
  border:0;
  background:rgba(5,10,18,.58);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.store-categories-page
.store-index-brand-filter-backdrop.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

body.store-brand-filter-open{
  overflow:hidden;
}

/* MOBILE MODAL */

@media(max-width:700px){
  .store-index-brand-toolbar{
    align-items:stretch;
    flex-direction:column;
    gap:12px;
    margin-bottom:26px;
  }

  .store-index-brand-filter-button{
    width:100%;
  }

  .store-index-brand-filter-clear{
    text-align:center;
  }

  .store-index-brand-filter-modal{
    width:100%;
    max-height:min(82vh, 680px);
    top:auto;
    right:0;
    bottom:0;
    left:0;
    border-right:0;
    border-bottom:0;
    border-left:0;
    border-radius:16px 16px 0 0;
    opacity:1;
    transform:translateY(105%);
  }

  .store-index-brand-filter-modal.is-open{
    transform:translateY(0);
  }

  .store-index-brand-filter-modal .store-brand-filter-head{
    padding:20px 20px 16px;
  }

  .store-index-brand-filter-modal .store-brand-filter-list{
    padding:10px 14px 18px;
  }

  .store-index-brand-filter-actions{
    padding:14px;
  }
}

.store-product-variant-shortcuts{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:12px;
  margin:0 0 20px;
}

.store-product-variant-shortcuts-list{
  min-width:0;
  display:flex;
  flex-wrap:nowrap;
  gap:7px;
  padding:2px 2px 5px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#cfd4dc transparent;
}

.store-product-variant-shortcuts-list::-webkit-scrollbar{
  height:4px;
}

.store-product-variant-shortcuts-list::-webkit-scrollbar-track{
  background:transparent;
}

.store-product-variant-shortcuts-list::-webkit-scrollbar-thumb{
  border-radius:10px;
  background:#cfd4dc;
}

/* STORE LOCAL CART COUNTER */

.store-actions .cart{
  position:relative;
}

.store-header-count{
  position:absolute;
  top:-8px;
  right:-10px;
  min-width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 5px;
  border:2px solid #fff;
  border-radius:999px;
  background:var(--red);
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:900;
  pointer-events:none;
}

.store-header-count[hidden]{
  display:none;
}