/* ONE_shot_GURL Ecwid Master CSS v3 */
/* =========================
   CATEGORY BANNERS
========================= */
.ec-store .grid-category {
  width: 40% !important;
  overflow: hidden !important;
}

.ec-store .grid__categories {
  gap: 25px !important;
}

.ec-store .grid-category__image-wrap {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.ec-store .grid-category__image,
.ec-store .grid-category__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* =========================
   PRODUCT GRID
========================= */
.ec-store .grid-product {
  width: 20% !important;
  max-width: 20% !important;
  flex: 0 0 20% !important;
  box-sizing: border-box !important;
  transition: transform .2s ease;
}

.ec-store .grid-product:hover {
  transform: scale(1.03);
}

.ec-store .grid-product__image-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  background: transparent !important;
}

.ec-store .grid-product__picture {
  width: auto !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
}

.ec-store .grid-product__bg {
  display: none !important;
}

.ec-store .grid-product__picture-additional {
  display: none !important;
}

/* =========================
   PRODUCT PAGE
========================= */
.product-details--layout-sidebar-right {
  display: grid !important;
  grid-template-columns: 40% 60% !important;
  column-gap: 30px !important;
  align-items: start !important;
}

.product-details__gallery {
  width: 100% !important;
  max-width: none !important;
}

.product-details__sidebar {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-right: 25px !important;
  box-sizing: border-box !important;
}

.product-details-module,
.product-details-module__content,
.product-details__product-description,
.product-details__general-info,
.product-details__description {
  width: 100% !important;
  max-width: none !important;
}

.details-gallery__picture {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.details-gallery__picture:hover {
  transform: scale(1.02) !important;
}

.details-gallery__images-zoom {
  display: none !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  /* Category banners */
  .ec-store .grid-category {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
  }
  /* Two products per row */
  .ec-store .grid__products .grid-product {
    width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    flex: 0 0 calc(50% - 12px) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }
  /* Image container */
  .ec-store .grid-product__image-wrap {
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
  }
  /* Product image */
  .ec-store .grid-product__picture {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    display: block !important;
  }
  /* Product page */
  .product-details--layout-sidebar-right {
    display: block !important;
  }
  .product-details__gallery,
.product-details__sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-details__sidebar {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* ==========================================
       MOBILE - Reduce footer white space
    ========================================== */
  .ec-store .ec-footer {
    margin-top: -35px !important;
    /* Move Favorites/Cart up */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* Remove white space below */
    margin-bottom: -15px !important;
  }
  .ec-store .ec-footer__row {
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-store .ec-footer__cell {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.ec-store .grid-category {
  margin-bottom: -10px !important;
}
