.rodina-shop {
  min-height: 70vh;
  padding-bottom: 128px;
  background-color: #000;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
    repeating-linear-gradient(90deg, rgba(255, 0, 68, 0.34) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 255, 204, 0.28) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(135deg, rgba(35, 92, 255, 0.34) 0 1px, transparent 1px 5px),
    url("../img/rodina-logo.png");
  background-repeat: no-repeat, repeat, repeat, repeat, repeat;
  background-position:
    center,
    var(--rgb-noise-a, 0 0),
    var(--rgb-noise-b, 0 0),
    var(--rgb-noise-c, 0 0),
    var(--rodina-logo-position, 0 0);
  background-size: cover, 3px 3px, 4px 4px, 5px 5px, 500px auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  animation: rodina-rgb-static 0.18s steps(2, end) infinite;
  color: #fff;
}

.rodina-shop__hero,
.rodina-shop__catalog {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}

.rodina-shop__hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4vw, 56px);
}

.rodina-shop__hero-copy {
  max-width: 820px;
}

.rodina-shop__eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.rodina-shop__title {
  margin: 0;
  font-family: "Creepster", cursive;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.rodina-shop__description {
  max-width: 580px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.9;
}

.rodina-shop__description p {
  margin: 0;
}

.rodina-shop__toolbar {
  min-height: 74px;
  margin-bottom: 36px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rodina-shop__result .woocommerce-result-count,
.rodina-shop__ordering .woocommerce-ordering {
  float: none;
  margin: 0;
}

.rodina-shop__result {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.rodina-shop__ordering select {
  min-width: 190px;
  height: 42px;
  padding: 0 38px 0 16px;
  background: #090909;
  color: rgba(255, 255, 255, 0.78);
  border: 2px solid #fff;
  border-radius: 0;
  box-shadow: 3px 3px 0 #ff4fdf;
  font-family: "DotGothic16", monospace;
  font-size: 13px;
  cursor: pointer;
}

.rodina-shop ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 24px;
  margin: 0 !important;
  padding: 0;
}

.rodina-shop ul.products::before,
.rodina-shop ul.products::after {
  display: none;
}

.rodina-shop ul.products li.product {
  position: relative;
  width: auto !important;
  min-width: 0;
  float: none !important;
  margin: 0 !important;
}

.rodina-shop ul.products li.product a {
  display: block;
}

.rodina-shop ul.products li.product .woocommerce-loop-product__link {
  position: static;
}

.rodina-shop ul.products li.product .woocommerce-loop-product__link::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
}

.rodina-shop ul.products li.product img {
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 4 / 5;
  margin: 0 0 20px !important;
  display: block;
  object-fit: cover;
  background: #111;
  border: 3px solid #fff;
  border-radius: 0;
  box-shadow: 5px 5px 0 #ff4fdf;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rodina-shop ul.products li.product:hover img {
  opacity: 1;
  transform: translateY(-5px);
}

.rodina-shop ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  padding: 0 !important;
  color: #fff;
  font-family: "Coral Pixels", "DotGothic16", sans-serif;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.rodina-shop ul.products li.product .price {
  margin: 9px 0 0;
  color: #fff !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.rodina-shop ul.products li.product .price del {
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.35);
}

.rodina-shop ul.products li.product .price ins {
  color: #fff;
  text-decoration: none;
}

.rodina-shop ul.products li.product .button,
.rodina-shop ul.products li.product .added_to_cart {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  margin: 18px 0 0 !important;
  padding: 0 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 0 !important;
  box-shadow: 4px 4px 0 #53ffd8;
  font-family: "DotGothic16", monospace !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodina-shop ul.products li.product .button:hover,
.rodina-shop ul.products li.product .added_to_cart:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.rodina-shop ul.products li.product .onsale {
  top: 14px;
  right: 14px;
  left: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: 3px 3px 0 #ff4fdf;
  font-family: "DotGothic16", monospace;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rodina-shop__pagination {
  margin-top: 88px;
}

.rodina-shop__pagination .woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
}

.rodina-shop__pagination .woocommerce-pagination ul.page-numbers li {
  border: 0;
}

.rodina-shop__pagination .page-numbers a,
.rodina-shop__pagination .page-numbers span {
  width: 44px;
  height: 44px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #0b0b0b !important;
  color: rgba(255, 255, 255, 0.58) !important;
  border: 2px solid #fff;
  border-radius: 0;
}

.rodina-shop__pagination .page-numbers .current,
.rodina-shop__pagination .page-numbers a:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff;
}

.rodina-shop__empty {
  padding: 96px 24px;
  text-align: center;
  border: 3px solid #fff;
  border-radius: 0;
  box-shadow: 6px 6px 0 #ff4fdf;
}

.rodina-shop__empty p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1050px) {
  .rodina-shop ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .rodina-shop {
    padding-bottom: 88px;
    background-size: cover, 3px 3px, 4px 4px, 5px 5px, 360px auto;
    background-attachment: fixed, fixed, fixed, fixed, fixed;
  }

  .rodina-shop__hero,
  .rodina-shop__catalog {
    width: calc(100% - 32px);
  }

  .rodina-shop__hero {
    padding: 30px 0 34px;
  }

  .rodina-shop__description {
    margin-top: 24px;
    font-size: 14px;
  }

  .rodina-shop__toolbar {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rodina-shop__ordering,
  .rodina-shop__ordering form,
  .rodina-shop__ordering select {
    width: 100%;
  }

  .rodina-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 14px;
  }

  .rodina-shop ul.products li.product img {
    margin-bottom: 14px !important;
    border-radius: 0;
  }

  .rodina-shop ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
  }

  .rodina-shop ul.products li.product .button,
  .rodina-shop ul.products li.product .added_to_cart {
    min-height: 40px;
    padding-inline: 10px !important;
    font-size: 10px !important;
  }

  .rodina-shop__pagination {
    margin-top: 64px;
  }
}

@media (max-width: 390px) {
  .rodina-shop ul.products {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
