.single_dress_wrapper {
  max-width: 1378px;
  margin: 0 auto;
  padding: 0 20px;
}
.single_dress_wrapper_breadcrumb {
  padding: 24px 20px;
  display: flex;
  gap: 6px;
  justify-content: start;
  width: 100%;
  margin: 0 auto;
  max-width: 1378px;
}
.single_dress_wrapper_breadcrumb,
.single_dress_wrapper_breadcrumb a,
.single_dress_wrapper_breadcrumb span {
  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_dress_wrapper_meta {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.single_dress_wrapper_meta_sub {
  font-family: "Gilroy", Sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.38px;
  font-weight: 500;
  margin-bottom: 4px;
  color: black;
}
.single_dress_wrapper_meta_title {
  font-family: "Freight", Sans-serif;
  font-size: 60px;
  line-height: 60px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 32px;
  text-transform: capitalize;
  color: black;
}
.single_dress_wrapper_meta_description,
.single_dress_wrapper_meta_description p {
  margin-bottom: 0px;
  font-family: "Gilroy", Sans-serif;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  max-width: 700px;
  font-weight: 500;
  color: black;
}
.single_dress_wrapper_meta_buttons button:active,
.single_dress_wrapper_meta_buttons button:hover,
.single_dress_wrapper_meta_buttons button:focus {
  border: none;
  background: transparent;
  outline: none;
}
.single_dress_wrapper_meta_buttons button {
  outline: none;
  border: none;
  padding: 0;
  background: transparent;
  height: 24px;
  width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.single_dress_wrapper_meta_buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

/* Popup Overlay */
.share-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* Popup Box */
.share-popup {
  background: #fff;
  padding: 56px;
  border-radius: 8px;
  width: 90%;
  max-width: 750px;
  text-align: center;
  position: relative;
  animation: popupIn 0.35s ease forwards;
}

@keyframes popupIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.share-popup-close:active,
.share-popup-close:hover,
.share-popup-close:focus {
  background: transparent;
}

.share-popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  height: 45px;
  width: 45px;
  display: flex;
  cursor: pointer;
}

.share-popup-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Headings */
.share-popup h3 {
  font-family: "Gilroy", Sans-serif;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 2.38px;
  font-weight: 700;
  margin: 0px;
  text-align: start;
  color: black;
}

.share-popup p {
  font-family: "Gilroy", Sans-serif;
  font-size: 16px;
  text-align: start;
  line-height: 24px;
  font-weight: 500;
  margin: 0px;
  color: rgb(107 114 128 / 1);
}

/* Social Buttons */
.share-popup-buttons {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 40px 0;
}

.share-circle:focus,
.share-circle:active,
.share-circle:hover {
  background: rgb(255 238 234 / 1);
  border: none;
  outline: none;
}
.share-circle svg {
  fill: black;
  height: 40px;
  width: auto;
}
.share-circle {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 238 234 / 1);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: rgb(107 114 128 / 1);
}

/* URL Box */
.share-popup-url {
  display: flex;
  align-items: center;
  border: 1px solid rgb(209 213 219 / 1);
  border-radius: 6px;
  overflow: hidden;
  height: 70px;
}

.share-popup-url input {
  flex: 1;
  padding-left: 32px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
}

.share-popup-url button svg {
  height: 30px;
  width: auto;
}
.share-popup-url button {
  background: transparent;
  height: 62px;
  width: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Like (Heart) Animation */
.like-btn .heart-path {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.like-btn.liked .heart-path {
  fill: #000;
  stroke: #000;
}




.dress-gallery-section {
    margin-bottom: 80px;
}
.dress-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.dress-gallery-item {
    height: 460px;
    overflow: hidden;
    display: flex;
}
.dress-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}


/* Different cell spans */
.dress-gallery-item.size-4 { grid-column: span 4; }
.dress-gallery-item.size-2 { grid-column: span 2; }
.dress-gallery-item.size-1 { grid-column: span 1; }

/* Lightbox */
.dress-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.dress-lightbox img.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.dress-lightbox img.lightbox-image.loaded {
    opacity: 1;
}
.dress-lightbox .lightbox-close,
.dress-lightbox .lightbox-prev,
.dress-lightbox .lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
}
.dress-lightbox .lightbox-close:hover,
.dress-lightbox .lightbox-prev:hover,
.dress-lightbox .lightbox-next:hover {
    opacity: 0.7;
}
.dress-lightbox .lightbox-close { top: 20px; right: 30px; }
.dress-lightbox .lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.dress-lightbox .lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* Spinner Loader */
.lightbox-loader {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.dresses_navigation{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 112px;
}
.prev_dresses_btn b,
.next_dresses_btn b{
  font-weight: 500 !important;
}
.next_dresses_btn img{
  transform: rotate(180deg);
}
.prev_dresses_btn,
.next_dresses_btn{
  text-decoration: none !important;
  display: flex;
  gap: 20px;
  align-items: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 24px;
  color: black;
  font-family: "Gilroy", Sans-serif;
  font-weight: 500;
  letter-spacing: 2.2px;
}
.collection_btn:hover{
  border-bottom: none;
}
.collection_btn{
  text-transform: uppercase;
  font-size: 16px;
  line-height: 24px;
  color: black;
  font-family: "Gilroy", Sans-serif;
  font-weight: 500;
  letter-spacing: 2.2px;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}
.collection_btn_mobile{
  text-transform: uppercase;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  display: none;
  color: black;
  font-family: "Gilroy", Sans-serif;
  font-weight: 500;
  letter-spacing: 2.2px;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  width: fit-content;
}
@media(max-width: 768px){
  .collection_btn{
    display: none;
  }
  .collection_btn_mobile{
    display: flex;
    margin: 0 auto 62px;
  }
  .dresses_navigation{
    padding-bottom: 45px;
  }
  .prev_dresses_btn, .next_dresses_btn{
    font-size: 13px;
    line-height: 18px;
  }
  .prev_dresses_btn b,
  .next_dresses_btn b{
    display: none !important;
  }
  .dress-gallery-item.size-4 {
    grid-column: span 2;
  }
  .dress-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .dress-gallery-item.size-2 {
    grid-column: span 2;
  }
  .dress-gallery-item{
    height: 190px;
  }
  .single_dress_wrapper_breadcrumb, .single_dress_wrapper_breadcrumb a, .single_dress_wrapper_breadcrumb span{
    padding: 0;
  }
  .single_dress_wrapper_meta{
    padding: 36px 0;
  }
  .single_dress_wrapper_meta_title{
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 18px;
  }
  .single_dress_wrapper_meta_description, .single_dress_wrapper_meta_description p{
    font-size: 16px;
  }
  .dress-gallery-section{
    margin-bottom: 36px;
  }
  .share-popup{
    padding: 36px;
  }
  .share-circle{
    height: 70px;
    width: 70px;
  }
  .share-circle svg{
    height: 30px;
  }
  .share-popup h3{
    font-size: 27px;
    font-weight: 800;
  }
  .share-popup p{
    font-size: 18px;
  }
  .share-popup-url input{
    padding-left: 14px;
  }
  .share-popup-url{
    height: 60px;
  }
  .lightbox-close img{
    height: 38px;
    width: 38px;
  }
  .dress-lightbox .lightbox-close{
    top: 20px;
    right: 20px;
  }
  .single_dress_wrapper_breadcrumb, .single_dress_wrapper_breadcrumb a, .single_dress_wrapper_breadcrumb span{
    padding: 16px 0;
  }
}



