/* Shop page, matched to the Kiddy shop reference. */

main.ax-shop-page {
  position: relative;
  z-index: 0;
  padding: 60px 0 64px;
  background: #fff;
  overflow-x: clip;
}

.ax-shop-wrap {
  width: min(1290px, 76vw);
  max-width: 100%;
  margin-inline: auto;
}

.ax-shop-banners {
  display: grid;
  grid-template-columns: minmax(0, 385fr) minmax(0, 308fr) minmax(0, 552fr);
  gap: 30px;
  margin: 0 0 36px;
  min-width: 0;
}

.ax-shop-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 480px;
  min-height: 0;
  padding: 30px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
}

.ax-shop-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ax-shop-banner:nth-child(2) img {
  object-position: center top;
}

.ax-shop-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgb(0, 0, 0) 0px, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.ax-shop-banner-top,
.ax-shop-banner-copy,
.ax-shop-news {
  position: relative;
  z-index: 1;
}

.ax-shop-banner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ax-shop-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 15px;
  border-radius: 7px;
  background: #fff;
  color: #576471 !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.ax-shop-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #212529 !important;
  font-size: 16px;
  text-decoration: none !important;
}

body.ax-store .ax-shop-arrow:hover {
  background: #f6b429;
  color: #212529 !important;
}

body.ax-store .ax-shop-banner h2 {
  margin: 0;
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
}

.ax-shop-news {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 6px;
}

.ax-shop-news input {
  flex: 1 1 auto;
  height: 50px;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #576471 !important;
  font-size: 16px;
  font-weight: 300;
}

.ax-shop-news button {
  flex: 0 0 115px;
  width: 115px;
  height: 50px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: #212529;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
}

body.ax-store .ax-shop-news button:hover {
  background: #f6b429;
  color: #212529 !important;
}

.ax-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 890px) 320px;
  gap: 52px;
  align-items: start;
  justify-content: space-between;
}

.ax-shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  margin-bottom: 22px;
}

.ax-shop-count {
  margin: 0;
  color: #576471 !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.ax-shop-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ax-shop-sort {
  height: 40px;
  padding: 0 28px 0 15px;
  border: 0.8px solid #f9fafb;
  border-radius: 8px;
  background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23576471' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 10px center no-repeat;
  color: #576471 !important;
  font-size: 14px;
  appearance: none;
}

.ax-shop-filter-btn {
  display: none;
  height: 40px;
  padding: 0 14px;
  border: 0.8px solid #e6eaec;
  border-radius: 8px;
  background: #fff;
  color: #576471 !important;
  font-size: 13px;
  font-weight: 600;
}

.ax-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ax-shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 20px 20px;
  border: 1.6px solid #f3f4f6;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ax-shop-card:hover {
  border-color: #f6d98a;
  box-shadow: 0 16px 36px rgba(33, 37, 41, 0.1);
  transform: translateY(-3px);
}

.ax-shop-figure {
  position: relative;
  margin: 0 -20px 20px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.ax-shop-figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ax-shop-figure > a {
  position: relative;
  z-index: 1;
}

.ax-shop-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.ax-shop-card:hover .ax-shop-figure img {
  transform: scale(1.04);
}

.ax-shop-sale {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 3px;
  background: #fbbf47;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.ax-shop-icons {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ax-shop-figure .ax-icon-round {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #576471 !important;
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

body.ax-store .ax-shop-figure .ax-icon-round::before,
body.ax-store .ax-shop-figure .ax-icon-round:hover::before {
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

body.ax-store .ax-shop-figure .ax-icon-round,
body.ax-store .ax-shop-figure .ax-icon-round i,
body.ax-store .ax-shop-figure .ax-icon-round i::before {
  color: #576471 !important;
}

body.ax-store .ax-shop-figure .ax-icon-round:hover,
body.ax-store .ax-shop-figure .ax-icon-round:focus-visible,
body.ax-store .ax-shop-figure .ax-icon-round.is-on {
  background: #f6b429 !important;
}

body.ax-store .ax-shop-figure .ax-icon-round:hover,
body.ax-store .ax-shop-figure .ax-icon-round:focus-visible,
body.ax-store .ax-shop-figure .ax-icon-round.is-on,
body.ax-store .ax-shop-figure .ax-icon-round:hover i,
body.ax-store .ax-shop-figure .ax-icon-round:focus-visible i,
body.ax-store .ax-shop-figure .ax-icon-round.is-on i,
body.ax-store .ax-shop-figure .ax-icon-round:hover i::before,
body.ax-store .ax-shop-figure .ax-icon-round:focus-visible i::before,
body.ax-store .ax-shop-figure .ax-icon-round.is-on i::before {
  color: #fff !important;
}

body.ax-store .ax-shop-card h2 {
  margin: 0 0 5px;
  color: #212529 !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

body.ax-store .ax-shop-card h2 a,
body.ax-store .ax-shop-card h2 a:hover {
  color: #212529 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.ax-shop-cat {
  display: block;
  margin: 0 0 40px;
  color: rgba(86, 99, 112, 0.5) !important;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

body.ax-store .ax-shop .ax-shop-cat,
body.ax-store .ax-shop .ax-shop-cat:hover {
  color: rgba(86, 99, 112, 0.7) !important;
  text-decoration: none !important;
}

.ax-shop-buy {
  display: flex;
  align-items: stretch;
  margin: auto -20px -20px;
  border-top: 0.8px solid rgba(0, 0, 0, 0.05);
}

.ax-shop-buy form {
  display: flex;
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
}

.ax-shop-buy form .ax-shop-add {
  flex: 1 1 auto;
  width: 100%;
}

.ax-shop-price,
.ax-shop-add {
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  margin: 0;
  padding: 5px;
  color: #576471 !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.ax-shop-price s {
  margin-right: 6px;
  color: #b7bdc4 !important;
  font-weight: 400;
  text-decoration: line-through;
}

.ax-shop-add {
  border: 0;
  border-left: 0.8px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
}

body.ax-store .ax-shop .ax-shop-add,
body.ax-store .ax-shop .ax-shop-add:visited {
  color: #576471 !important;
  text-decoration: none !important;
}

body.ax-store .ax-shop .ax-shop-card:hover .ax-shop-add,
body.ax-store .ax-shop .ax-shop-add:hover {
  color: #fbbf47 !important;
}

.ax-shop-empty {
  margin: 0;
  padding: 28px 0;
  color: #576471 !important;
}

.ax-shop-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.ax-shop-pages a,
.ax-shop-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 41px;
  height: 40px;
  padding: 0 12px;
  border: 1.6px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #576471 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
}

.ax-shop-pages .is-current a,
.ax-shop-pages .is-current span {
  background: #fdb016;
  color: #fff !important;
}

.ax-shop-pages .is-next a {
  border-color: #e6eaec;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.ax-store .ax-shop-pages a:hover {
  color: #212529 !important;
}

.ax-shop-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ax-shop-widget h3 {
  margin: 0 0 15px;
  color: #212529 !important;
  font-size: 16px;
  font-weight: 600;
}

.ax-range {
  position: relative;
  height: 28px;
  margin-bottom: 8px;
}

.ax-range::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: #f6b429;
}

.ax-range input[type="range"] {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 20px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
}

.ax-range input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f6b429;
  box-shadow: 0 0 0 1px #f6b429;
  pointer-events: auto;
  appearance: none;
  cursor: pointer;
}

.ax-range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f6b429;
  pointer-events: auto;
  cursor: pointer;
}

.ax-price-readout {
  margin: 0;
  color: #576471 !important;
  font-size: 14px;
}

.ax-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ax-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #576471 !important;
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
}

body.ax-store .ax-shop .ax-filter-row,
body.ax-store .ax-shop .ax-filter-row:hover {
  color: #576471 !important;
  text-decoration: none !important;
}

.ax-filter-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #f6b429;
  pointer-events: none;
}

.ax-filter-name {
  flex: 1 1 auto;
  text-align: left;
}

.ax-filter-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #576471 !important;
  font-size: 12px;
}

.ax-best {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ax-best a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
}

.ax-best img {
  width: 60px;
  height: 60px;
  flex: none;
  object-fit: contain;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  background: #fff;
}

.ax-best h4 {
  margin: 0 0 4px;
  color: #212529 !important;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.ax-best p {
  margin: 0;
  color: #576471 !important;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.ax-best s {
  margin-right: 4px;
  color: #b7bdc4 !important;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .ax-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 999.98px) {
  .ax-shop-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .ax-shop-banner-news {
    display: none;
  }

  .ax-shop-banner {
    height: 280px;
    aspect-ratio: auto;
    min-height: 0;
  }
}

@media (max-width: 991.98px) {
  .ax-shop-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ax-shop-filter-btn {
    display: inline-flex;
    align-items: center;
  }

  .ax-shop-side {
    display: none;
  }

  .ax-shop-side.is-open {
    display: flex;
    order: -1;
    margin-bottom: 8px;
    padding: 18px;
    border: 1.6px solid #f3f4f6;
    border-radius: 12px;
  }
}

@media (max-width: 689.98px) {
  main.ax-shop-page {
    padding-top: 20px;
  }

  .ax-shop-wrap {
    width: min(1290px, calc(100% - 40px));
  }

  .ax-shop-banners {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .ax-shop-banner {
    height: 260px;
    width: 100%;
  }

  .ax-shop-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ax-shop-card {
    padding: 0 16px 16px;
  }

  .ax-shop-figure {
    margin: 0 -16px 16px;
  }

  .ax-shop-buy {
    margin: auto -16px -16px;
  }

  .ax-shop-price,
  .ax-shop-add {
    min-height: 50px;
    font-size: 14px;
    white-space: nowrap;
  }

  .ax-shop-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  main.ax-shop-page {
    padding-top: 16px;
  }

  .ax-shop-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ax-shop-news {
    flex-direction: column;
    align-items: stretch;
  }

  .ax-shop-news button {
    width: 100%;
  }
}
