/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 25px;
}

.collection-card {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
}

.cf7-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.cf7-popup-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  margin: 8% auto;
  padding: 30px;
  position: relative;
  border-radius: 8px;
}

.cf7-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
.nocollection {
    text-align: center;
}
.nocollection p {
    font-size: 26px;
}

.two-column-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-column {
    width: 50%;
}

.image-column {
    width: 50%;
}

.image-column img {
    width: 100%;
    height: auto;
}


.pimage-comtainer .amazon-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.pimage-comtainer .popup-wrapper {
    width: 90%; 
    background: #fff;
    border-radius: 8px;
    display: flex;
    padding: 20px;
    gap: 20px;
    position: relative;    height: 80vh;
}

/* LEFT IMAGE */
.pimage-comtainer .popup-left {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pimage-comtainer .popup-left img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    cursor: zoom-in;
}

/* RIGHT SIDE */
.pimage-comtainer .popup-right {
    flex: 1;
}

.pimage-comtainer .popup-right h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* THUMBNAILS */
.pimage-comtainer .popup-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pimage-comtainer .popup-thumbs img {
    width: 100%;
    cursor: pointer;height:70px;object-fit:cover;
    border: 2px solid transparent;
}

.pimage-comtainer .popup-thumbs img.active {
    border-color: #007185;
}

/* CLOSE BUTTON */
.pimage-comtainer .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.pimage-comtainer .popup-left {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 🔥 important */
}

#popupMainImage {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

/* Zoom active */
#popupMainImage.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}
/* hide swiper on desktop */
.mobile-swiper {
    display: none;
}

/* show only on mobile */
@media (max-width: 768px) {

    .mobile-swiper {
        display: block;
    }

    .desktop-gallery {
        display: none;
    }
}

.swiper-slide img {
    width: 100%;
    border-radius: 6px;
}

/* arrows color */
.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

/* dots */
.swiper-pagination-bullet {
    background: #000;
}
@media (max-width: 768px) {
    .two-column-section {
        flex-direction: column;
    }

    .text-column,
    .image-column {
        width: 100%;
    }
}