.header {
  background: #7c7970;
  background: #393939a6;
}
.details-section {
  margin-top: 6rem;
}

.detail-wrapper {
  display: flex;
  justify-content: space-between;
}

/* Gallery container */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 355px;
  /* cursor: pointer; */
  /* aspect-ratio: 1 / 1; */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  width: 100%;
  max-width: 720px;
  /* aspect-ratio: 1 / 1; */
}

.right-data {
  padding: 2rem 0 2rem 2rem;
  /* width: 55%; */
  width: 40%;
  position: relative;
}

.product-info {
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
}

.product-info h2 {
  color: #231f20;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
}

.product-info p {
  color: #7f7a66;
  text-wrap: wrap;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 33px;
}
.create-contact {
  display: flex;
  justify-content: flex-start;
}
.contact-btn {
  width: 14rem;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #231f20 !important;
  color: #f5f2e9 !important;
}
.contact-btn:hover {
  color: #231f20 !important;
  background: #f5f2e9 !important;
}

.detail-btn.btn {
  width: 10rem;
  margin-left: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.detail-btn.btn i {
  font-size: 1.5rem;
}
.icons {
  color: #231f20;
}

.product-info h3 {
  margin: 1rem 0 0.5rem;
  font-size: 2rem;
  font-weight: 400;
}

.product-info h3:first-of-type {
  margin-top: 2.5rem;
}
.product-info p:last-of-type {
  margin-bottom: 0.5rem;
}

.consult-btn {
  display: flex;
  justify-content: left;
}
.consultation-box .btn {
  width: 15rem;
}
.detail-wrapper .carousel-container {
  display: none;
}
.detail-wrapper
  .carousel-container
  .swiper-container
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 1.5rem !important;
  height: 2px !important;
  border-radius: 0 !important;
}
.detail-wrapper
  .carousel-container
  .swiper-container
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background: #231f20 !important;
}

/* MODAL CSS */

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 54%);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 1000;
}
.modal-content {
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  background-color: #231f20;
  padding: 2rem;
  position: absolute;
  /* top: 9.27rem; */
  top: 8.313rem;
  right: 0;
  width: 42%;
  height: 100%;
}
.close-button {
  float: right;
  width: 2rem;
  height: 2rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  background-color: #7f7a66b0;
  color: #f5f2e9;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.contact-form {
  /* padding: 2rem; */
  text-align: left;
}

.contact-form h3 {
  color: #f5f2e9;
  font-weight: 400;
  font-size: 1.125rem;
  /* margin-top: 1rem !important; */
}
.input-heading {
  width: 80%;
}

.contact-form h2,
.details-content h2 {
  padding-top: 1rem;
  color: #f5f2e9;
  font-size: 2rem;
  line-height: 60px;
  font-weight: 400;
  /* margin-bottom: 1rem; */
}

.contact-form p,
.details-content p {
  color: #7f7a66;
  text-wrap: wrap;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 25px;
}

.info-container {
  font-family: Arial, sans-serif;
  color: #a59a88;
  padding: 10px 0;
  margin: 1rem 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 15rem;
}

.info-row .label {
  font-size: 1.125rem;
  font-family: optima;
  font-weight: 400;
  color: #f5f2e9;
}

.info-row .value {
  margin-left: 2rem;
  color: #7f7a66;
}

p.call-whatsapp {
  color: #f5f2e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
p.call-whatsapp span a {
  color: #f5f2e9;
  font-size: 2rem;
}

p.call-whatsapp span:hover a {
  color: #7f7a66;
}

.contact-options .bullets {
  margin-top: 10px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.contact-form input {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 75%;
  border: none;
  background: none;
  border-bottom: 1px solid #7f7a66;
  color: #f5f2e9;
}

.contact-form input:focus-visible {
  border-bottom: 1px solid black;
  outline: none;
}

.contact-form input::placeholder {
  font-size: 0.8rem;
  color: #7f7a66;
}

.contact-options {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem;
}

.contact-options label {
  cursor: pointer;
  width: fit-content;
}

.contact-options input[type="radio"] {
  display: none;
}

.contact-options input[type="radio"] + span {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
}

.contact-options input[type="radio"] + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #231f20;
  border-radius: 50%;
  background-color: #fff;
}

.contact-options input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #231f20;
}

.contact-options .btn {
  margin-top: 1rem;
  font-size: 1.2rem;
  padding: 10px 15px;
  width: 10rem;
}
.contact-options .email {
  width: 8rem;
}

.contact-option {
  padding: 0.75rem 1.5rem;
  border: 1px solid #231f20;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  flex: 1;
  text-align: center;
  font-size: 1rem;
}
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
  font-size: 1.5rem;
}
.divider span {
  color: #7f7a66;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
  margin-right: 0.25em;
}

.divider:not(:empty)::after {
  margin-left: 0.25em;
}
.btn {
  background: none;
}

.modal-submit {
  display: flex;
  justify-content: center;
}
.modal-submit .btn {
  background: #f5f2e9;
  color: #231f20;
  margin-top: 1rem;
}

.modal-submit .btn:hover {
  background: #231f20;
  color: #f5f2e9;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  line-height: 20px;
  /* display: inline-block; */
  color: #f5f2e9;
  font-weight: 400;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #f5f2e9;
  border-radius: 50%;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
  content: "";
  width: 9px;
  height: 9px;
  background: #f5f2e9;
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
[type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.no-scroll {
  overflow: hidden;
}

/* MEDIA QUERIES */

@media (min-width: 1800px) {
  .gallery-item.large {
    max-width: 920px;
  }
  .gallery-item {
    max-width: 455px;
  }
}

@media (max-width: 992px) {
  .header {
    background: #f5f2e9;
  }
  .product-info h2 {
    font-size: 2.563rem;
    line-height: 50px;
  }
  .product-info h3 {
    font-size: 1.5rem;
  }
  .product-info p {
    font-size: 1.2rem;
    line-height: 25px;
  }
  .create-contact {
    justify-content: flex-start;
    flex-direction: column;
  }
  .detail-btn.btn {
    width: 100%;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
  }
  .modal-content {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #231f20;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 600px) {
  h3,
  .product-info h3 {
    font-size: 1.5rem;
  }
  .right-data {
    padding: 0.5rem 0;
    width: 100%;
  }
  .detail-wrapper .carousel-container {
    padding: 0;
    display: block;
  }
  .gallery-container {
    display: none;
  }
  .icons {
    color: #231f20;
  }
  .detail-wrapper {
    display: flex;
    flex-direction: column;
  }
  .product-info {
    padding: 0;
    width: 100%;
  }
  .product-info h2 {
    font-size: 1.875rem;
    line-height: 35px;
    margin-top: 1rem;
  }

  .product-info p {
    font-size: 1rem;
    margin-top: 0.5rem;
    line-height: 20px;
    width: 100%;
  }
  .product-info p:last-of-type {
    margin-bottom: 1rem;
  }
  .create-contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .contact-btn {
    /* width: 10rem; */
    padding: 10px 15px;
  }
  .detail-btn.btn {
    padding: 10px 15px;
    width: 14rem;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .detail-btn.btn i {
    font-size: 1rem;
    margin-left: 5px;
  }
  .consultation-box .btn {
    width: 12rem;
  }
  .product-info .faq {
    width: 100%;
  }
  .product-info .faq .faq-item .faq-question {
    font-size: 1.2rem;
  }
  .faq-icon {
    font-size: 1.2rem;
  }
  .details-section {
    margin-top: 5rem;
  }
  /* Modal css */

  .modal-submit .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .modal-content {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #231f20;
    padding: 1rem 1.5rem;
    height: auto;
  }
  .contact-form {
    padding: 0;
  }
  .contact-form h2,
  .details-content h2 {
    font-size: 1.875rem;
    line-height: 35px;
    padding-top: 2rem;
  }
  .contact-form p,
  .details-content p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 20px;
  }
  .contact-form input {
    width: 100%;
    color: #f5f2e9;
  }
  .divider {
    font-size: 1rem;
  }
  .input-heading {
    width: 100%;
  }
}
