.shoptimizer-archive .archive-header .col-full {
  max-width: 1440px;
}

.archive-user-contents .containers .content-wrapper {
  display: flex;
  margin-top: 50px;
}

.archive-user-contents .containers .content-wrapper .title h3 {
  font-family: 'Matritsa';
  font-weight: 900;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 1.2px;
  color: #000000;
  text-align: left;
}

.archive-user-contents .containers .content-wrapper .title {
  width: 50%;
}

.archive-user-contents .containers .content-wrapper .filter-section {
  width: 62%;
  display: unset;
  margin: unset;
}

.archive-user-contents .containers .content-wrapper .filter-section p {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 15px;
  line-height: 15px;
  color: #000000;
  width: 706px;
}

.archive-user-contents .containers .content-wrapper .filter-section .filter-title {
  font-family: 'Inter';
  font-weight: 600;
  font-size: 15px;
  line-height: 15px;
  color: #000000;
}

.archive-user-contents .containers .content-wrapper .filter-section .filter-form form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.archive-user-contents .containers .content-wrapper .filter-section .filter-form form .option select {
  max-width: 207px;
  max-height: 38px;
  font-size: 15px !important;
  font-family: 'Inter' !important;
}

.archive-user-contents .containers .content-wrapper .filter-section .filter-form form .option select option {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 15px;
  line-height: 15px;
  color: #000000;
}

.image-container {
  margin-top: 20px;
  margin-bottom: 10px;
}

.image-container .all-image-containers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-container .all-image-containers .image-row-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.image-container .all-image-containers .image-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.image-container .all-image-containers .image-row .image-item {
  position: relative;
}


.image-row-6 .image-item .image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 231.67px;
  overflow: hidden;
}

.image-row-6 .image-item .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-row-3 .image-item .image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 473.33px;
  overflow: hidden;
}

.image-row-3 .image-item .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-container .all-image-containers .image-row-6 .image-item {
  flex: 1 1 calc((100% - 5 * 10px) / 6);
}

.image-container .all-image-containers .image-row-3 .image-item {
  flex: 1 1 calc((100% - 2 * 10px) / 3);
}

.image-container .all-image-containers .image-row .image-item .post-meta-wrapper {
  position: absolute;
  top: 5px;
  right: 0;
  color: #fff;
  font-size: 12px;
  display: flex;
  gap: 10px;
  z-index: 1;
}

#popup-info.mfp-hide {
  display: none;
}

.popup-info-box {
  max-width: 1240px !important;
  background-color: #fff;
  padding: 20px !important;
  margin: 0 auto !important;
  border-radius: 4px;
  position: relative !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 90% !important;
  box-sizing: border-box;
}

#popup-info .popup-container {
  display: flex;
  gap: 50px;
}

#popup-info .popup-container .popup-image {
  flex: 1 1 50%;
}

#popup-info .popup-container .popup-image .top-section img {
  width: 100%;
  /* height: auto; */
  display: block;
  border-radius: 4px;
}

#popup-info .popup-container .popup-comment-container {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none !important;
}


#popup-info .popup-container .popup-comment-container .top-section .title {
  font-family: "Inter" !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 14px !important;
  color: #999999 !important;
  margin-top: 10px;
  padding: 0px !important;
}

#popup-info .popup-container .popup-comment-container .top-section .title span a {
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  color: #EF6526;
}

#popup-info .popup-container .popup-comment-container .top-section .popup-divider {
  /* border: 1px solid #D9D9D9; */
  margin-top: 20px;
}

.mfp-close-btn-in .mfp-close {
  top: 15px !important;
  color: #333 !important;
  font-size: 28px !important;
}

#comment-form .form-element textarea::placeholder {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #999999;
  padding-top: 15px;
}

#comment-form .submit-element {
  display: flex;
  justify-content: end;
  margin-top: 10px;
}

.bottom-section .signin-button-wrapper a.signin-button,
#comment-form .submit-element .submit-button {
  width: 127px;
  border-radius: 2px;
  padding: 8.5px;
  background-color: #F06E22;
  font-family: 'Inter';
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: #fff;

}

.bottom-section .signin-button-wrapper a.signin-button:hover,
#comment-form .submit-element .submit-button:hover {
  background-color: #d24d1f;
}

.bottom-section .bottom-text {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #000000;
  display: flex;
  justify-content: center;
}

.bottom-section .signin-button-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
}

.popup-carousel-wrapper {
  position: relative;
}

.popup-carousel-wrapper #popup-main-image {
  max-width: 100%;
  height: 572px;
  object-fit: cover;
}

.nav-button {
  position: absolute;
  top: 0;
  /* bottom: 0; */
  /* height: 0; */
  margin: auto 0;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  color: #fff;
  background:none !important;
}

#prev-image {
  left: 10px;
  top: 50%;
}

#next-image {
  right: 10px;
  top: 50%;
}

.logged_out p {
  text-align: center;
  font-family: 'Inter';
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: #999999;
}

.ugc-pagination {
  margin: 20px auto;
  text-align: center;
}

.ugc-pagination ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
}

.ugc-pagination li {
  margin: 0 5px;
}

.ugc-pagination a,
.ugc-pagination span {
  padding: 8px 14px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
}

.ugc-pagination .current {
  background-color: #f56721;
  color: #fff;
  border-color: #f56721;
}

a.prev.page-numbers::after {
  display: none !important;
  content: none !important;
}


/* ✅ Mobile styles */
@media (max-width: 768px) {
  .archive-user-contents .containers {
    padding: 0 15px;
  }

  .archive-header .col-full .woocommerce-breadcrumb {
    padding: 0 15px;
  }

  .archive-user-contents .containers .content-wrapper {
    flex-direction: column;
  }

  .archive-user-contents .containers .content-wrapper .title h3 {
    font-family: 'Matritsa';
    font-weight: 900;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0.96px;
    color: #000000;
  }

  .archive-user-contents .containers .content-wrapper .title,
  .archive-user-contents .containers .content-wrapper .filter-section {
    width: 100%;
  }

  .archive-user-contents .containers .content-wrapper .filter-section p {
    width: 361px !important;
  }

  .archive-user-contents .containers .content-wrapper .filter-section .filter-form form {
    flex-direction: column;
    gap: 10px;
  }

  .archive-user-contents .containers .content-wrapper .filter-section .filter-form form .option select {
    width: 100%;
    max-width: 100%;
  }

  .image-container .all-image-containers .image-row .image-item {
    flex: 1 1 calc((100% - 2 * 10px) / 3);
  }

  .image-container .all-image-containers .image-row .image-item .image-wrapper {
    max-width: none;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .image-container .all-image-containers .image-row .image-item .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #popup-info .popup-container {
    flex-direction: column;
  }

  #popup-info .popup-container {
    gap: 0;
  }

  .popup-carousel-wrapper #popup-main-image {
    height: 337px;
  }

  .mfp-close-btn-in .mfp-close {
    top: -35px;
    color: #ffffff;
  }

  .image-container .all-image-containers .image-row-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .image-container .all-image-containers .image-row-3 {
    gap: 5px;
  }

  .image-container .all-image-containers {
    gap: 5px;
  }

  body .archive-user-contents .containers .filter-section .filter-wrapper {
    display: block !important;
  }
}

body .site-content {
  padding-top: 70px;
}

body .content-area {
  width: 100%;
}

.shoptimizer-archive .col-full {
  max-width: 1440px;
  width: 100%;
  margin: auto;
}

body #content .filter-section .filter-form form .option {
  margin: 0;
}

#popup-info .popup-container .popup-image .bottom-section {
  display: none;
}

#popup-info .popup-container .popup-comment-container .logged_out {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

body.post-type-archive .mfp-container .mfp-content #popup-info .popup-container {
  height: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
}

body.post-type-archive .popup-info-box .top-section button img {
  background: none !important;

}

body.post-type-archive .mfp-container .popup-comment-container .logged_out {
  overflow: unset !important;
  overflow-x: unset !important;
}

body.post-type-archive .popup-info-box .top-section .popup-carousel-wrapper img {
  max-height: 500px !important;
}

body.post-type-archive .mfp-container .mfp-content{
  max-width: unset !important;
}

@media screen and (max-width:768px) {
  .mfp-container .mfp-content #popup-info .popup-container {
    padding: 10px
  }

  body.elementor-kit-37514 #popup-info .popup-container .popup-comment-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.post-type-archive .mfp-container .mfp-content {
    top: 0 !important;
  }

  body.post-type-archive .mfp-content #popup-info .mfp-close {
    top: -35px !important;
    color: #ffffff !important;
    font-size: 28px !important;
  }

  .ugc-pagination a,
  .ugc-pagination span {
    padding: 3px;
    border: 1px solid #ccc;
  }

  .ugc-pagination li {
    margin: 2px;
  }

  .ugc-pagination ul {
    margin: 0 !important;
  }


  body.post-type-archive .mfp-container .popup-comment-container .mid-section.logged_out {
    height: unset !important;
    max-height: 185px !important;
  }

  body.post-type-archive .mfp-container .popup-comment-container .mid-section {
    max-height: 185px !important;
  }

  body.post-type-archive .mfp-container .popup-comment-container .bottom-section .form-element textarea {
    height: 123px !important;
  }

  .archive-user-contents .clear-section {
    margin-top: 10px;
  }

  #popup-info .popup-container .popup-comment-container .top-section {
    padding-top: 10px !important;
  }

  #popup-info .popup-container .popup-comment-container .top-section .popup-divider {
    margin-top: 10px;
  }

  #popup-info .popup-container .popup-comment-container .logged_out {
    display: block;
  }

}