.gallery_wrp .inner_wrp {
  max-width: 92rem;
}
.shop_gallery_block {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  max-width: 100% !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}
.gallery-section {
  position: relative;
  width: 100%;
  background-image: url("./assets/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  transition: aspect-ratio 0.3s ease;
  aspect-ratio: 1.7777777778;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  overflow: hidden;
  z-index: 10;
}
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: #000d23;
  opacity: 0.9;
}
.gallery_wrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
}
.gallery-section h1 {
  font-family: "Caveat Brush", cursive;
  color: #FDA400;
  font-size: 6rem;
  text-align: center;
  max-width: 144rem;
  line-height: 1.1;
  margin-bottom: 6rem;
  width: 100%;
  font-weight: 400;
}
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  max-width: 92rem;
  width: 100%;
}
.gallery-row {
  display: flex;
  gap: 0;
  position: relative;
  max-width: 100%;
  justify-content: flex-start;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, calc(92rem / 4));
  width: 92rem;
}
.gallery-item {
  width: calc(92rem / 4);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}
.gallery-item:hover img {
  transform: scale(1.3);
}
.gallery-popup {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42rem;
  height: 20.9rem;
  border-radius: 2rem;
  backdrop-filter: blur(2rem);
  background: rgba(4, 12, 25, 0.5);
  box-shadow: inset 0 0 4.4rem rgba(4, 12, 25, 0.7);
  display: flex;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.gallery-popup.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 219, 142, 0) 0%, rgba(255, 219, 142, 0.3) 25%, rgba(255, 219, 142, 0) 50%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-popup.loading::before {
  opacity: 1;
}
@keyframes shimmer {
  from {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}
.popup-content {
  position: relative;
  color: #fff;
  padding: 1.5rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.25);
}
.description_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.name-meta {
  display: flex;
  flex-direction: column;
}
.name-meta .name {
  font-family: "Caveat Brush", cursive;
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0.1rem 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}
.name-meta .meta {
  /*font-family: 'Caveat Brush', cursive;*/
  font-family: "Open Sans", cursive;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0.4rem 0 0 0;
  text-shadow: 0.1rem 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}
.quote-icon {
  width: 11.4rem;
  height: auto;
  margin-left: 1.2rem;
}
.description_bottom {
  font-family: "Outfit", cursive;
  font-size: 2rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  margin-top: auto;
  margin-bottom: auto;
  text-shadow: 0.1rem 0.1rem 0.4rem rgba(0, 0, 0, 0.5);
}
.gallery-row {
  display: flex;
  position: relative;
  max-width: 100%;
  width: 100%;
}
.gallery-popup {
  position: absolute;
  top: 0;
  border-radius: 2rem;
  backdrop-filter: blur(2rem);
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.gallery-popup.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-container.gallery_container_desktop {
  display: block;
}
.gallery-container.gallery_container_mobile {
  display: none;
}
.gallery-mobile {
  max-width: 100%;
  width: 100%;
}
.gallery-mobile-slider {
  max-width: 100%;
  width: 100%;
}
.gallery-mobile-popup {
  display: none;
}
@media (max-width: 136.6rem) {
  .device-tablet .gallery-section h1, .device-phone .gallery-section h1 {
    font-size: 4rem;
  }
  .device-tablet .name-meta .name, .device-phone .name-meta .name {
    font-size: 2.8rem;
  }
  .device-tablet .name-meta .meta, .device-phone .name-meta .meta {
    font-size: 1.3rem;
  }
  .device-tablet .description_bottom, .device-phone .description_bottom {
    font-size: 1.6rem;
  }
  .device-tablet .quote-icon, .device-phone .quote-icon {
    width: 8rem;
  }
}
@media (max-width: 99.1rem) {
  .device-tablet .gallery_container_desktop, .device-phone .gallery_container_desktop {
    display: none !important;
  }
  .device-tablet .gallery_container_mobile, .device-phone .gallery_container_mobile {
    display: block !important;
    width: 100%;
  }
  .device-tablet .gallery-section, .device-phone .gallery-section {
    height: auto !important;
    min-height: auto !important;
    aspect-ratio: auto !important;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .device-tablet .gallery-mobile-slider, .device-phone .gallery-mobile-slider {
    width: 100%;
    position: relative;
  }
  .device-tablet .gallery-slide, .device-phone .gallery-slide {
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    flex-wrap: wrap;
    box-sizing: border-box;
  }
  .device-tablet .gallery-slide.active, .device-phone .gallery-slide.active {
    display: flex !important;
    opacity: 1;
  }
  .device-tablet .gallery_container_mobile .gallery-item, .device-phone .gallery_container_mobile .gallery-item {
    width: 50% !important;
    height: auto !important;
    padding: 0;
    margin: 0;
    aspect-ratio: auto !important;
    border-radius: 2rem;
    overflow: hidden;
  }
  .device-tablet .gallery_container_mobile .gallery-item img, .device-phone .gallery_container_mobile .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
  }
  .device-tablet .gallery-bullets, .device-phone .gallery-bullets {
    width: 100%;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-left: 1.5rem;
  }
  .device-tablet .gallery-bullets .b-dot, .device-phone .gallery-bullets .b-dot {
    width: 1.6rem;
    height: 0.8rem;
    background: #d0d3d8;
    border-radius: 5rem;
    opacity: 0.8;
    transition: all 0.25s ease;
  }
  .device-tablet .gallery-bullets .b-dot.active, .device-phone .gallery-bullets .b-dot.active {
    width: 6rem;
    background: #FDA400;
    opacity: 1;
  }
  .device-tablet .gallery-mobile-popup, .device-phone .gallery-mobile-popup {
    width: 100%;
    padding: 1.8rem 2rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(1.4rem);
    color: white;
    box-shadow: inset 0 0 2.2rem rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
    pointer-events: none;
    display: block;
    box-sizing: border-box;
    max-height: 40rem;
  }
  .device-tablet .gallery-mobile-popup:not(.active), .device-phone .gallery-mobile-popup:not(.active) {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    transform: translateY(2rem);
  }
  .device-tablet .gallery-mobile-popup.active, .device-phone .gallery-mobile-popup.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .device-tablet .gallery-mobile-popup .name, .device-phone .gallery-mobile-popup .name {
    font-family: "Caveat Brush";
    font-size: 3.2rem;
    margin-bottom: 0.4rem;
  }
  .device-tablet .gallery-mobile-popup .meta, .device-phone .gallery-mobile-popup .meta {
    font-size: 1.6rem;
    opacity: 0.8;
    margin-bottom: 1.2rem;
  }
  .device-tablet .gallery-mobile-popup .quote, .device-phone .gallery-mobile-popup .quote {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .device-tablet .gallery-section, .device-phone .gallery-section {
    padding-bottom: 15rem;
  }
  .device-tablet .description_bottom, .device-phone .description_bottom {
    -webkit-line-clamp: none;
  }
}
@media (max-width: 50rem) {
  .device-tablet .popup-content, .device-phone .popup-content {
    padding: 0rem;
  }
  .device-tablet .quote-icon, .device-phone .quote-icon {
    max-width: 8.5rem;
  }
  .device-tablet .gallery-mobile-popup .meta, .device-phone .gallery-mobile-popup .meta {
    margin-top: 0rem;
  }
  .device-tablet .name-meta, .device-phone .name-meta {
    margin-bottom: 1rem;
  }
  .device-tablet .gallery-section h1, .device-phone .gallery-section h1 {
    font-size: 4rem !important;
    line-height: 4rem !important;
  }
  .device-tablet .gallery-section, .device-phone .gallery-section {
    padding-top: 10rem;
  }
}
