.single_our_bride_wrapper {
  max-width: 1378px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.single_our_bride_breadcrumb span,
.single_our_bride_breadcrumb a {
  font-family: "Gilroy", Sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.2px;
  align-content: center;
  font-weight: 500;
  color: black;
}
.single_our_bride_breadcrumb {
  display: flex;
  gap: 6px;
  padding: 24px 0px;
  justify-content: start;
  align-items: center;
}
.single_our_bride_container {
  display: flex;
  gap: 20px;
  padding: 80px 0 112px;
}
.single_our_bride_right {
  flex: 1;
  height: 100%;
}
.single_our_bride_anchors a {
  font-family: "Gilroy", Sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.38px;
  align-content: center;
  font-weight: 500;
  color: black;
  text-decoration: none !important;
  padding: 12px 0;
}
.single_our_bride_anchors {
  position: sticky;
  top: 0;
  display: flex;
  height: fit-content;
  flex-direction: column;
}
.single_our_bride_left {
  height: -webkit-fill-available;
  position: relative;
  width: 374px;
}
.single_our_bride_right {
  display: flex;
  flex-direction: column;
}
.single_our_bride_featured_image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  width: 100%;
}
.single_our_bride_featured_image {
  height: 505px;
  display: flex;
  width: 100%;
}
.single_our_bride_right_subtitle {
  font-family: "Gilroy", Sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 2.2px;
  font-weight: 500;
  color: black;
}
.single_our_bride_right_title {
  margin-bottom: 40px;
  font-family: "Freight", Sans-serif;
  font-size: 60px;
  line-height: 60px;
  font-weight: 500;
  margin-top: 0;
  color: black;
}
.single_our_bride_content h2,
.single_our_bride_content h3,
.single_our_bride_content h4,
.single_our_bride_content h5,
.single_our_bride_content h6,
.single_our_bride_content h1 {
  margin-bottom: 0;
  font-family: "Freight", Sans-serif;
  font-size: 40px;
  line-height: 56px;
  font-weight: 500;
  margin-top: 24px;
  color: black;
}
.single_our_bride_content p {
  font-family: "Gilroy", Sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: black;
  margin-bottom: 16px;
}
.single_our_bride_content {
  padding: 26px 0 36px;
  max-width: 840px;
  margin-right: auto;
}
.single_our_bride_description {
  font-family: "Freight", Sans-serif;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.5px;
  max-width: 840px;
  margin-right: auto;
  font-weight: 500;
  margin-top: 30px;
  color: black;
}

.our_brides_gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.our_brides_gallery_item:hover:before {
  opacity: 1;
}
.our_brides_gallery_item::before {
  position: absolute;
  content: "";
  height: 36px;
  width: 36px;
  transition-duration: 0.15s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  top: 16px;
  right: 16px;
  opacity: 0;
  background-color: #fff;
  background-position: center;
  background-size: 16px;
  background-repeat: no-repeat;
  background-image: url("/wp-content/uploads/2025/10/resize.svg");
}
.our_brides_gallery_item {
  height: 440px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.our_brides_gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.our_brides_gallery_item.large {
  grid-column: span 3;
  height: 440px;
}

/* Popup */
.our_brides_popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.our_brides_popup.active {
  display: flex;
  opacity: 1;
}

.our_brides_popup_content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.our_brides_popup img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.our_brides_loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.nav_arrow:focus ,
.nav_arrow:active ,
.nav_arrow:hover {
    background: none;
}
.nav_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.nav_arrow.prev {
  left: -60px;
}

.nav_arrow.next {
  right: -60px;
}

.close_popup img{
    opacity: 1;
    height: 100%;
    width: 100%;
}
.close_popup:hover {
    background: transparent;
}
.close_popup {
  position: absolute;
  top: -20px;
  right: -20px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 45px;
  padding: 0;
  height: 45px;
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
  .our_brides_gallery_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .our_brides_gallery_item.large {
    grid-column: span 3;
    height: 168px;
  }
  .our_brides_gallery_item{
    height: 168px;
  }
  .nav_arrow.prev {
    left: 10px;
  }

  .nav_arrow.next {
    right: 10px;
  }

  .close_popup {
    top: 10px;
    right: 10px;
  }
}



.related_dress_item{
  display: flex;
  align-items: center;
}
.related_dress_item_subtitle{
  font-family: "Gilroy", Sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 2.2px;
    font-weight: 500;
    color: black;
    margin-bottom: 8px;
}
.related_dress_title{
  margin-bottom: 32px;
    font-family: "Freight", Sans-serif;
    font-size: 60px;
    line-height: 60px;
    font-weight: 500;
    margin-top: 0;
    color: black;
}
.related_dress_link,
.related_collection_link{
    padding: 0 24px;
    letter-spacing: 1.8px;
    line-height: 30px;
    border-radius: 60px;
    border: 1px solid black;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: "Gilroy", Sans-serif;
    outline: none;
    background: transparent;
    color: black;
    display: flex;
    justify-content: center;
}
.related_dress_item_left_buttons{
  display: flex;
  gap: 16px;
}
.related_dress_item_left{
  padding: 6%;
  width: 760px;
}
.related_dress_item_right{
  flex: 1;
}
.related_dress_item_right{
  display: flex;
  height: 477px;
}
.related_dress_item_right img{
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.single_our_bride_anchors.mobile{
  display: none;
}
@media(max-width: 768px){
  .single_our_bride_anchors.desktop{
    display: none;
  }
  .single_our_bride_anchors span a{
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid black;
  }
  .single_our_bride_anchors.mobile span{
    display: flex;
    justify-content: center;
  }
  .single_our_bride_anchors.mobile div{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .single_our_bride_anchors a{
    padding: 0;
    gap: 22px;
  }
  .single_our_bride_anchors.mobile{
    display: flex;
    flex-direction: column;
    gap: 45px;
  }
  .single_our_bride_breadcrumb{
    padding: 18px 0;
  }
  .single_our_bride_container{
    padding: 36px 0;
  }
  .single_our_bride_container{
    flex-direction: column-reverse;
    gap: 40px;
  }
  .single_our_bride_left{
    width: 100%;
  }
  .single_our_bride_right_subtitle{
    text-align: center;
  }
  .single_our_bride_right_title{
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 45px;
  }
  .single_our_bride_featured_image{
    height: 200px;
  }
  .single_our_bride_description{
    font-size: 28px;
  }
  .single_our_bride_content h2, 
  .single_our_bride_content h3, 
  .single_our_bride_content h4, 
  .single_our_bride_content h5, 
  .single_our_bride_content h6, 
  .single_our_bride_content h1{
    font-size: 28px;
    line-height: 40px;
  }
  .related_dress_item{
    flex-direction: column-reverse;
  }
  .related_dress_item_left{
    width: 100%;
    padding: 54px 20px;
  }
  .related_dress_item_right{
    height: 375px;
    width: 100%;
    flex: unset;
  }
  .related_dress_item_subtitle{
    font-size: 13px;
    line-height: 18px;
  }
  .related_dress_title{
    margin-bottom: 36x;
    font-size: 30px;
    line-height: 30px;
  }
  .related_dress_link, .related_collection_link{
    justify-content: center;
    text-align: center;
    font-size: 13px;
  }
}