.elementor-243 .elementor-element.elementor-element-67c39a4{--display:flex;}.elementor-243 .elementor-element.elementor-element-97c16ea{--display:flex;}/* Start custom CSS *//* Row-based layout with custom spacing */
.art-gallery-container {
  width: 100%;
  padding: 20px 0;
}

.gallery-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px; /* Space between rows */
}

.product-pair {
  display: flex;
  width: 45%; /* Each pair takes up less than half the container */
}

/* This creates the larger gap between the 2nd and 3rd cells */
.pair-left {
  margin-right: 0; /* Control spacing within left pair */
}

.pair-right {
  margin-left: 0; /* Control spacing within right pair */
}

/* Control the spacing inside each pair */
.product-pair .product-image,
.product-pair .product-description {
  width: 50%;
}

.pair-left .product-image {
  margin-right: 10px; /* Small gap between image and description in left pair */
}

.pair-left .product-description {
  margin-left: 0;
}

.pair-right .product-description {
  margin-right: 10px; /* Small gap between description and image in right pair */
}

.pair-right .product-image {
  margin-left: 0;
}

/* Product Image Styling */
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: translateY(-5px);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

/* Grayscale Effect */
.product-image img.grayscale {
  filter: grayscale(100%);
}

.product-image:hover img.grayscale {
  filter: grayscale(0%);
}

/* Description Box Styling */
.product-description {
  padding: 25px;
  background-color: #f7f7f7;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 5px;
}

.product-description h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
}

/* Popup Styling */
.art-product-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.art-product-popup.active {
  opacity: 1;
  visibility: visible;
}

.art-product-popup-content {
  width: 90%;
  height: 90%;
  background-color: white;
  display: flex;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.art-product-popup-image {
  width: 60%;
  height: 100%;
  background-color: #f0f0f0;
}

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

.art-product-popup-info {
  width: 40%;
  padding: 40px;
  overflow-y: auto;
}

.art-product-popup-info h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.art-product-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.art-product-popup-info .price {
  font-size: 24px;
  margin: 20px 0;
  font-weight: bold;
}

.art-product-popup-info .dimensions {
  margin-bottom: 20px;
  color: #666;
}

.art-product-popup-info .add-to-cart {
  margin: 25px 0;
}

.art-product-popup-info .add-to-cart .button {
  padding: 12px 25px;
  background-color: #2a2a2a;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
}

.art-product-popup-info .social-share {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.art-product-popup-info .social-share a {
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.art-product-popup-info .inquiry-button {
  margin-top: 25px;
}

.art-product-popup-info .inquiry-button a {
  text-decoration: underline;
  color: #666;
}

/* Inquiry Form Styling */
.inquiry-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.inquiry-form-container.active {
  opacity: 1;
  visibility: visible;
}

.inquiry-form-content {
  width: 500px;
  max-width: 90%;
  background-color: white;
  padding: 40px;
  border-radius: 5px;
  position: relative;
}

.inquiry-form-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.inquiry-form-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.inquiry-form-content .form-group {
  margin-bottom: 20px;
}

.inquiry-form-content label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.inquiry-form-content input,
.inquiry-form-content textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.inquiry-form-content textarea {
  height: 120px;
}

.inquiry-form-content .submit-inquiry {
  padding: 12px 25px;
  background-color: #2a2a2a;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .gallery-row {
    flex-direction: column;
  }
  
  .product-pair {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .pair-left, .pair-right {
    margin: 0 0 20px 0;
  }
}

@media (max-width: 768px) {
  .product-pair {
    flex-direction: column;
  }
  
  .product-pair .product-image,
  .product-pair .product-description {
    width: 100%;
    margin: 0 0 10px 0;
  }
  
  .art-product-popup-content {
    flex-direction: column;
    overflow-y: auto;
  }
  
  .art-product-popup-image,
  .art-product-popup-info {
    width: 100%;
  }
  
  .art-product-popup-image {
    height: 50%;
  }
}/* End custom CSS */