/** Shopify CDN: Minification failed

Line 242:6 Expected ":"

**/
/**
 * Styles for the "Package Products Grid (P)" section.
 * Version: 3.2 (Popup Desktop % Width)
 */

/* --- Section Layout --- */
.pkg-section-wrapper {
  margin-top: var(--section-margin-top, 2rem);
  margin-bottom: var(--section-margin-bottom, 2rem);
  padding-left: var(--section-padding-left, 1.5rem);
  padding-right: var(--section-padding-right, 1.5rem);
  box-sizing: border-box;
}

.pkg-container {
  max-width: 100%;
  margin: 0 auto;
}

.pkg-heading {
  text-align: center;
  margin-bottom: 2rem;
  padding-left:1rem;
  padding-right:1rem;
}

/* --- Product Grid --- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns-mobile, 1), 1fr);
  gap: var(--grid-gap, 1rem);
}

@media (min-width: 768px) {
  .pkg-grid {
    grid-template-columns: repeat(var(--grid-columns-desktop, 3), 1fr);
  }
}

.pkg-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.pkg-grid-item:focus-visible {
  outline: 2px solid blue;
  outline-offset: 2px;
}

.pkg-product-image,
.pkg-placeholder-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pkg-grid-item:hover .pkg-product-image {
  transform: scale(1.05);
}

.pkg-grid-item--onboarding {
  border: 2px dashed #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  color: #666;
}
.pkg-grid-item--onboarding .pkg-placeholder-svg {
  width: 50%;
  height: 50%;
}


/* --- Swiper Base Styles --- */
.pkg-item-swiper,
.pkg-popup-swiper {
  width: 100%;
  height: 100%;
}
/* --- Swiper Pagination Dots Styles (with increased specificity) --- */
.pkg-section-wrapper .swiper-pagination {
  position: absolute;
  bottom: 0.5rem !important;
  left: 50%;
  transform: translateX(-50%);
  width: auto !important;
}

.pkg-section-wrapper .swiper-pagination-bullet {
  padding: 4px !important;


  margin: 0 0px !important;
}
.pkg-section-wrapper .swiper-pagination-bullet:after {
  width:  0.3rem !important;
  height: 0.3rem !important;
  background: #646464 !important;
  opacity: 0.5!important;
  transition: opacity 0.3s ease, background-color 0.3s ease;

}
.pkg-section-wrapper .swiper-pagination-bullet-active {
  opacity: 1 !important;
}
.pkg-section-wrapper .swiper-pagination-bullet-active:after {
  width:  0.5rem !important;
  height: 0.5rem !important;
  background: #59b79a !important;
  opacity: 0.5!important;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* --- Popup --- */
.pkg-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.pkg-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.pkg-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.pkg-popup-content-wrapper {
  position: relative;
  width: var(--popup-width-desktop, 80%);
  height: 85vh;
  max-width: 1600px; /* Set a reasonable max limit */
  display: flex;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.pkg-popup.is-visible .pkg-popup-content-wrapper {
  transform: scale(1);
}

.pkg-popup-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row; /* Default layout is two columns */
  gap: 2rem;
  padding: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.pkg-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.pkg-popup-close:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* --- Popup Columns & Blocks --- */
.pkg-popup-block-type--image_gallery {
  width: var(--gallery-width, 50%);
  flex-shrink: 0;
  background-color: #f2f2f2;
  border-radius: 8px;
  height: 100%;
}

.pkg-popup-block-type--image_gallery .pkg-popup-swiper .swiper-slide img,
.pkg-popup-block-type--image_gallery .pkg-popup-swiper .swiper-slide svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pkg-popup-details-column {
  flex-grow: 1;
  min-width: 0; /* Allow flex items to shrink properly */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-left: 1rem; /* Space between gallery and text */
  padding-top: 2rem;
}

.pkg-popup-block {
  box-sizing: border-box;
}

.pkg-popup-block-type--title h3 {
  margin: 0;
  font
}

.rte > *:first-child {
  margin-top: 0;
}
.rte > *:last-child {
  margin-bottom: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 990px) {
  .pkg-popup-content-wrapper {
    width: 90%; /* Mobile width remains the same */
    height: 90vh;
  }

  .pkg-popup-content {
    flex-direction: column; /* Stack columns vertically on mobile */
    padding: 0rem;
    gap: 1.5rem;
    overflow-y: auto;
  }

  .pkg-popup-block-type--image_gallery {
    width: 100%;
    height: var(--gallery-width-mobile, 45%); /* Use height on mobile */
    flex-shrink: 0;
  }

  .pkg-popup-details-column {
    width: 100%;
    flex-grow: 1;
    overflow-y: visible; /* Let the main content area scroll */
    padding: 1rem;
  }
}
