/** Shopify CDN: Minification failed

Line 309:36 Unexpected "*"

**/
/* ============================================
   Collection Products Grid
   ============================================ */

/* --- Header --- */
.cpg-header {
  text-align: center;
  margin-bottom: 30px;
}

.cpg-title {
  margin: 0;
}

/* --- Grid --- */
.cpg-grid {
  display: grid;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Desktop columns */
@media screen and (min-width: 990px) {
  .cpg-grid--1-col { grid-template-columns: repeat(1, 1fr); }
  .cpg-grid--2-col { grid-template-columns: repeat(2, 1fr); }
  .cpg-grid--3-col { grid-template-columns: repeat(3, 1fr); }
  .cpg-grid--4-col { grid-template-columns: repeat(4, 1fr); }
  .cpg-grid--5-col { grid-template-columns: repeat(5, 1fr); }
  .cpg-grid--6-col { grid-template-columns: repeat(6, 1fr); }
}

/* Mobile columns */
@media screen and (max-width: 989px) {
  .cpg-grid--mobile-1-col { grid-template-columns: 1fr; }
  .cpg-grid--mobile-2-col { grid-template-columns: repeat(2, 1fr); }
}

.cpg-grid__item.cpg-hidden {
  display: none;
}

/* --- Product Card --- */
.cpg-card {
  background: rgb(var(--color-background));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cpg-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cpg-card__link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.cpg-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
  background: #f5f5f5;
}

.cpg-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cpg-card:hover .cpg-card__image {
  transform: scale(1.03);
}

.cpg-card__image--placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cpg-card__info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cpg-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}

.cpg-card__title span[role="button"] {
  text-decoration: none;
  color: rgb(var(--color-foreground));
  cursor: pointer;
}

.cpg-card__title span[role="button"]:hover {
  text-decoration: underline;
}

.cpg-card__price {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cpg-card__price--sale {
  color: #e53e3e;
  font-weight: 600;
}

.cpg-card__price--compare {
  color: #999;
  font-size: 1.2rem;
}

.cpg-card__description {
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.7);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpg-card__button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #87CEFA;
  color: #fff;
  border: 1px solid #87CEFA;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s ease;
  margin-top: auto;
}

.cpg-card__button:hover {
  opacity: 0.85;
}

/* --- Load More --- */
.cpg-load-more {
  text-align: center;
  margin-top: 32px;
}

.cpg-load-more__btn {
  padding: 12px 48px;
  background: transparent;
  border: 1px solid rgb(var(--color-foreground));
  color: rgb(var(--color-foreground));
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.cpg-load-more__btn:hover {
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}

/* --- Empty State --- */
.cpg-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(var(--color-foreground), 0.6);
}

/* ============================================
   Quick Buy Modal
   ============================================ */

.cpg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.cpg-modal[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media screen and (min-width: 750px) {
  .cpg-modal[open] {
    align-items: center;
  }
}

.cpg-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cpg-modal__content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  max-width: 820px;
  width: 92%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

@media screen and (max-width: 749px) {
  .cpg-modal__content {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - var(--header-height, 60px));
    max-height: calc(100vh - var(--header-height, 60px));
    border-radius: 16px 16px 0 0;
    animation: cpg-slide-up 0.25s ease-out;
  }
}

@keyframes cpg-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cpg-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cpg-modal__close:hover {
  background: #f0f0f0;
}

/* Modal Body */
.cpg-modal__body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 0;
}

/* Adapt product template inside modal */
.cpg-modal__body .product {
  padding: 0;
}

.cpg-modal__body .product__info-wrapper {
  padding: 20px;
}

.cpg-modal__body .section-template--*-padding,
.cpg-modal__body [class*="section-"][class*="-padding"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Loading State */
.cpg-modal__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.cpg-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: #333;
  border-radius: 50%;
  animation: cpg-spin 0.6s linear infinite;
}

@keyframes cpg-spin {
  to { transform: rotate(360deg); }
}

/* --- Responsive --- */
@media screen and (max-width: 749px) {
  .cpg-grid {
    gap: 14px;
  }

  .cpg-card__info {
    padding: 12px;
  }

  .cpg-card__title {
    font-size: 1.3rem;
  }

  .cpg-modal__content {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - var(--header-height, 60px));
    max-height: calc(100vh - var(--header-height, 60px));
    border-radius: 16px 16px 0 0;
  }

  .cpg-modal__body {
    padding: 0;
  }
}
