.shop-first-screen .first-screen__wrap {
  min-height: 420px;
}

.shop-intro {
  padding: 48px 0 24px;
}

.shop-intro__title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  color: #2f3741;
  margin-bottom: 16px;
}

.shop-intro__subtitle {
  font-size: 22px;
  line-height: 1.4;
  color: #477deb;
  font-weight: 600;
  max-width: 920px;
}

.shop-intro__text {
  margin-top: 24px;
  max-width: 980px;
  color: #5d6772;
  font-size: 16px;
  line-height: 1.6;
}

.shop-categories {
  padding: 24px 0 56px;
}

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.shop-categories__item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.shop-categories__image {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f8fc;
  aspect-ratio: 4/3;
}

.shop-categories__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-categories__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #2f3741;
}

.shop-layout {
  padding: 0 0 72px;
}

.shop-layout__wrap {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.shop-sidebar {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 24px;
}

.shop-sidebar__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2f3741;
}

.shop-sidebar__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar__item > a {
  display: block;
  padding: 10px 0;
  color: #2f3741;
  font-weight: 600;
  border-bottom: 1px solid #eef2f7;
}

.shop-sidebar__item > a.is-active,
.shop-sidebar__sub a.is-active {
  color: #477deb;
}

.shop-sidebar__sub {
  padding: 0 0 8px 12px;
}

.shop-sidebar__sub a {
  display: block;
  padding: 8px 0;
  color: #5d6772;
  font-size: 14px;
}

.shop-filters,
.shop-subcats {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 20px;
}

.shop-subcats__title,
.shop-filters__label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2f3741;
}

.shop-subcats ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-subcats a {
  display: block;
  padding: 8px 0;
  color: #5d6772;
}

.shop-filters__group + .shop-filters__group {
  margin-top: 20px;
}

.shop-filters__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-filters__btn {
  border: 1px solid #dbe5f2;
  background: #f8fbff;
  color: #2f3741;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: .2s;
}

.shop-filters__btn.is-active,
.shop-filters__btn:hover {
  border-color: #477deb;
  background: #477deb;
  color: #fff;
}

.shop-filters__btn.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.shop-filters__reset {
  width: 100%;
  margin-top: 20px;
}

.shop-page-head .page-head__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5d6772;
}

.shop-sort__select {
  min-width: 180px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #2f3741;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.shop-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-card__image {
  display: block;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f8fc;
}

.shop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-card__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #2f3741;
  min-height: 44px;
}

.shop-card__price {
  font-size: 22px;
  font-weight: 800;
  color: #2f3741;
}

.shop-card .btn1 {
  width: 100%;
  margin-top: auto;
}

.shop-grid-empty {
  margin-top: 24px;
  padding: 32px;
  border-radius: 20px;
  background: #f8fbff;
  text-align: center;
}

.shop-home-info {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 32px;
}

.shop-home-info__list {
  margin: 20px 0 24px;
  padding-left: 20px;
  color: #5d6772;
}

.shop-product {
  padding: 0 0 72px;
}

.shop-product__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: start;
}

.shop-product__gallery,
.shop-product__info {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 24px;
}

.shop-product__gallery {
  position: relative;
}

.shop-product__slider-big {
  position: relative;
}

.shop-product__slider-big .arrow-prev,
.shop-product__slider-big .arrow-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(47, 55, 65, 0.12);
}

.shop-product__slider-big .arrow-prev {
  left: 12px;
}

.shop-product__slider-big .arrow-next {
  right: 12px;
}

.shop-product__slider-small {
  margin-top: 16px;
}

.shop-product-slide__item {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fc;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.shop-product-slide__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-product-slide__item > a {
  position: absolute;
  inset: 0;
}

.shop-product-slide-small__item {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f5f8fc;
  aspect-ratio: 1/1;
}

.shop-product-slide-small__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product-slider-small .slick-current .shop-product-slide-small__item {
  border-color: #477deb;
}

.shop-product__image-main {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fc;
  border-radius: 16px;
}

.shop-product__image-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-product__price {
  font-size: 34px;
  font-weight: 900;
  color: #2f3741;
  margin-bottom: 20px;
}

.shop-product__specs {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.shop-product__spec {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  font-size: 15px;
  color: #5d6772;
}

.shop-product__spec strong {
  color: #2f3741;
  font-weight: 600;
}

.shop-product__cart {
  width: 100%;
}

.shop-product__description,
.shop-product__delivery,
.shop-product__form,
.shop-related {
  margin-top: 40px;
}

.shop-product__description {
  color: #5d6772;
  line-height: 1.7;
}

.shop-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.shop-delivery-item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 24px;
}

.shop-delivery-item h3 {
  margin-bottom: 12px;
  color: #2f3741;
}

.shop-delivery-item p {
  color: #5d6772;
  line-height: 1.6;
}

.shop-related .shop-grid {
  margin-top: 24px;
}

@media (max-width: 1199px) {
  .shop-categories__grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-product__wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .shop-layout__wrap {
    grid-template-columns: 1fr;
  }

  .shop-categories__grid,
  .shop-grid,
  .shop-delivery-grid {
    grid-template-columns: 1fr;
  }

  .shop-intro__title {
    font-size: 32px;
  }

  .shop-intro__subtitle {
    font-size: 18px;
  }

  .shop-page-head .page-head__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-product__spec {
    grid-template-columns: 1fr;
  }
}
