.product-section {
  padding-top: 44px;
}

.product-section .container {
  display: flex;
  flex-flow: row nowrap;
  gap: 32px;
}

/* 
** Product Images
 */
.product-section .product-images {
  width: 100%;
  max-width: 50%;
}

/* Product image fallback */
.product-section .product-images .placeholder {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product single image */
.product-single-image {
  max-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 400px;
  position: relative;
}

.product-single-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Products Slider */
.product-section .product-images .swiper {
  width: 100%;
  height: 100%;
}

.product-section .product-images .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.product-section .product-images .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-section .product-images .product-slider {
  height: 100%;
  max-height: 400px;
  width: 100%;
  border: 4px solid var(--color-gray-light);
}

.product-section .product-images .product-slider .swiper-navigation {
  color: var(--color-dark) !important;
}

.product-section .product-images .product-slider .swiper-navigation::after {
  font-size: 20px;
  font-weight: 700;
}

.product-section .product-images .product-thumbnails {
  height: 20%;
  max-height: 100px;
  margin-top: 32px;
}

.product-section .product-images .product-thumbnails .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  border: 2px solid var(--color-gray-light);
  cursor: pointer;
}

.product-section .product-images .product-thumbnails .swiper-slide-thumb-active {
  opacity: 1;
}

/* 
** Product Info
*/
.product-section .product-info {
  width: 100%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-section .badge {
  background-color: var(--color-primary);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  padding: 2px 6px;
  width: fit-content;

}

.product-section .product-title {
  font-family: var(--font-heading);
  font-size: 28px;
  margin: 0;
  font-weight: 500;
}

.product-section .product-info .product-description {
  color: var(--color-primary-dark);
}

.product-section .product-info .btn-manual {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary-dark);
  text-decoration: underline;
  gap: 8px;
  font-size: 14px;
  width: fit-content;
}

.product-section .product-info .product-card-price-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2px;
}

.product-section .product-info .product-card-price-container .product-card-price {
  font-size: 48px;
  font-weight: 700;
  line-height: 1em;
}

.product-section .product-info .product-card-price-container .product-card-price-cents {
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  margin-top: 6px;
}

.product-section .product-info .product-card-price-container .product-card-price-without-discount {
  font-size: 12px;
  margin-top: 4px;
}

.product-section .product-info .product-actions {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  margin-top: 16px;
}

.product-section .product-info .product-actions .btn {
  padding: 8px 12px;
}

.product-section .product-info .product-actions .btn-ml {
  background-color: #ffe600;
}

/* 
** Product Specifications
*/

.product-section .specifications {
  padding: 32px 0;
  margin-top: 44px;
  background-color: var(--color-gray-light);
}

.product-section .specifications-wrapper {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
}

.product-section .specifications-wrapper .specifications-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.product-section .specifications-wrapper .specification-container {
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
}

.product-section .specifications-wrapper .specification-container.observations .observation-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
  list-style: none;
}

/* 
** Lightbox Styles
*/
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10000;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.lightbox-modal.active .lightbox-image {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 10001;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.lightbox-trigger {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.02);
}

@media only screen and (max-width: 1024px) {
  .product-section .container {
    flex-flow: column nowrap;
    gap: 16px;
  }

  .product-section .product-images,
  .product-section .product-info {
    max-width: 100%;
  }

  .product-section .product-images .product-thumbnails {
    margin-top: 16px;
  }

  .product-section .product-title {
    font-size: 20px;
  }

  .product-section .product-info .product-actions .btn {
    width: 100%;
  }

  .product-section .product-info .product-actions .btn-ml {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }
  
  .lightbox-close {
    top: -30px;
    font-size: 28px;
  }
}
