.main {
  max-width: 1384px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 208px 0 48px;
}
.page-top .h1 {
  text-align: center;
}

.wishlist-box {
  width: 100%;
}

.wishlist-loading {
  text-align: center;
  padding: 48px 0;
}

.wishlist-empty {
  width: 100%;
  max-width: 640px;
  margin: 48px auto 0;
  padding: 48px 24px;
  text-align: center;
  background: #f4f4f4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page-wishlist .top-row .btn-grey,
.page-wishlist .top-row .btn-black {
  width: auto;
  max-width: 100%;
  text-transform: none;
  font-size: 14px;
  padding: 14px 22px;
}

.page-wishlist .top-row .btn-black svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.page-wishlist .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 56px);
}

.page-wishlist .card-info .text {
  flex-shrink: 0;
  font-weight: 600;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs-list {
  list-style-type: none;
}
.breadcrumbs-list li a {
  color: rgba(29, 29, 29, 0.5);
  transition: ease 0.3s;
}
.breadcrumbs-list li a:visited {
  color: rgba(29, 29, 29, 0.5);
}
.breadcrumbs-list li a:hover {
  color: #1D1D1D;
}

.bredcrumb-icon {
  fill: rgba(29, 29, 29, 0.5);
  width: 7px;
  height: 12px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-row .btn-black svg {
  width: 24px;
  height: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 36px 20px;
  width: 100%;
  margin: 48px 0 150px;
}

.card {
  position: relative;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-2x {
  grid-column: span 2;
  aspect-ratio: 1;
}

.card-img {
  height: 90%;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  position: absolute;
  bottom: 0;
  background-color: white;
  width: 100%;
  height: fit-content;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  flex-wrap: wrap;
}

.favourites {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1D1D1D;
  border-radius: 50%;
  transition: ease 0.3s;
}
.favourites svg {
  fill: white;
  cursor: pointer;
  transition: ease 0.3s;
  width: 18px;
  height: 18px;
}
.favourites:hover {
  background-color: white;
}
.favourites:hover svg {
  fill: #1D1D1D;
}
.favourites.hidden {
  display: none;
}

.favourites.is-favorite {
  background-color: transparent;
}

.favourites.is-favorite::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  background-color: #f00041;
  border-radius: 50%;
}

.favourites.is-favorite svg {
  position: relative;
  z-index: 1;
  fill: #fff;
}

.favourites.is-favorite:hover::before {
  background-color: #1d1d1d;
}

.favourites.is-favorite:hover svg {
  fill: #fff;
}

.labels {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transition: ease 0.3s;
}
.labels.hidden {
  display: none;
}

.product-label {
  padding: 7px 12px;
  background-color: white;
  border-radius: 50px;
  color: #1D1D1D;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: ease 0.3s;
}
.product-label.dark {
  background-color: #1D1D1D;
  color: white;
}

.select-checkbox {
  display: none;
}

.select-checkbox.visible {
  display: block;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 16px;
  height: 16px;
  pointer-events: auto;
  appearance: none;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;
}
.select-checkbox.visible:checked {
  background: #1D1D1D;
  border-color: #1D1D1D;
}
.select-checkbox.visible:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 1;
}

.hidden {
  display: none !important;
}

.selection-mode .card {
  cursor: pointer;
}

.see-more {
  position: absolute;
  bottom: -6px;
  left: 0;
  font-size: 20px;
  font-family: Arial;
  cursor: pointer;
  height: 10px;
}

.see-more-menu {
  border: 1px solid rgba(29, 29, 29, 0.1);
  position: absolute;
  padding: 8px 0;
  bottom: 0;
  background-color: white;
  display: none;
}
.see-more-menu button {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 16px;
  width: fit-content;
  font-size: 14px;
  font-family: Regular;
  transition: ease 0.3s;
  width: 160px;
}
.see-more-menu button svg {
  width: 16px;
  height: 16px;
}
.see-more-menu button:hover {
  background-color: #F4F4F4;
}
.see-more-menu .deselect {
  color: #C50909;
}
.see-more-menu .deselect svg {
  fill: #C50909;
}

.see-more:hover .see-more-menu {
  display: block;
}

.bottom-panel {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 16px;
  z-index: 3;
}
.bottom-panel.visible {
  display: block;
}

.bottom-panel-inner {
  max-width: 1354px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.select-all {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.select-all-checkboxes.visible {
  position: relative;
  border: 1px solid #D9D9D9;
  right: unset;
  top: unset;
}
.select-all-checkboxes.visible:checked {
  background: #1D1D1D;
  border-color: #1D1D1D;
}
.select-all-checkboxes.visible:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 1;
}

.bottom-panel-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.bottom-panel-btns button {
  font-size: 14px;
}
.bottom-panel-btns button svg {
  width: 24px;
  height: 24px;
}

.delete {
  color: #C50909;
}
.delete svg {
  fill: #C50909;
}

@media (max-width: 1000px) {
  .card-2x {
    grid-column: span 4;
  }
}
@media (max-width: 768px) {
  .main {
    padding: 0 16px;
  }
  .page-top {
    margin: 108px 0 50px;
    gap: 24px;
  }
  .grid {
    margin: 32px 0 48px;
  }
  .bottom-panel {
    padding: 8px 16px;
  }
  .bottom-panel-inner {
    padding: 0;
  }
  .bottom-panel-btns {
    gap: 16px;
  }
  .bottom-panel-btns button {
    font-size: 12px;
    gap: 6px;
    padding: 12px 16px;
  }
  .bottom-panel-btns button svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 600px) {
  .card-2x {
    grid-column: span 8;
  }
}
.cta {
  position: relative;
  height: 800px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.cta-content .subtitle {
  max-width: 560px;
  margin: 24px 0 32px;
}

@media (max-width: 768px) {
  .cta {
    height: 640px;
  }
  .cta-content {
    margin: 0 16px;
  }
  .cta-content .h3 br {
    display: none;
  }
  .cta-content .subtitle br {
    display: none;
  }
}