/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Version: 1.37.0
 * Text Domain: blocksy
 */

.ct-sticky-container {
  z-index: 1000;
}

.ct-header {
  z-index: 1000;
}

@media (max-width: 767px) {
  .jdgm-carousel-item__product-image {
    width: 100px;
    height: 100px;
  }
}

.jdgm-carousel-item__product-image {
  width: 100px;
  height: 100px;
}

.jdgm-carousel-item {
  width: 33.33%;
}

/* Responsive Visibility Classes */

/* Hide on Mobile (< 768px) */
@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }

  .jdgm-carousel-item {
    width: 100% !important;
  }
}

/* Show only on Mobile (< 768px) */
.show-on-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .show-on-mobile {
    display: block !important;
  }
}

/* Hide on Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-on-tablet {
    display: none !important;
  }
}

/* Show only on Tablet (768px - 1023px) */
.show-on-tablet {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .show-on-tablet {
    display: block !important;
  }
}

/* Hide on Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .hide-on-desktop {
    display: none !important;
  }
}

/* Show only on Desktop (≥ 1024px) */
.show-on-desktop {
  display: none !important;
}

@media (min-width: 1024px) {
  .show-on-desktop {
    display: block !important;
  }
}

/* For inline elements */
.show-on-mobile.inline,
.show-on-tablet.inline,
.show-on-desktop.inline {
  display: none !important;
}

@media (max-width: 767px) {
  .show-on-mobile.inline {
    display: inline !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .show-on-tablet.inline {
    display: inline !important;
  }
}

@media (min-width: 1024px) {
  .show-on-desktop.inline {
    display: inline !important;
  }
}

/* Judge.me Carousel Customization */
.jdgm-carousel-wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.jdgm-carousel {
  display: flex !important;
  gap: 20px !important;
}

.jdgm-carousel__item-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  width: 100% !important;
}

.jdgm-carousel-item {
  flex: 0 0 33.33% !important;
  max-width: 33.33% !important;
  min-width: 0 !important;
}

/* Hide all items beyond the first 3 in each view */
.jdgm-carousel-item:nth-child(n + 4) {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .jdgm-carousel-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* Show only 2 on tablet */
  .jdgm-carousel-item:nth-child(n + 3) {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .jdgm-carousel-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Show only 1 on mobile */
  .jdgm-carousel-item:nth-child(n + 2) {
    display: none !important;
  }
}

.jdgm-carousel-item__product {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 767px) {
  .jdgm-carousel-item__product-image {
    width: 100px !important;
    height: 100px !important;
  }
}


.page-template ul.collection-compatibility-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: max-content;
}

.page-template #main .collection-title {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 14px;
}

.page-template #main .collection-section-title {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.page-template #main .collection-container button.kt-blocks-modal-link {
  background-color: #35455B;
  border-color: #35455B;
  color: var(--Accent-1-foreground, #FFF);
  text-align: center;
  font-size: var(--Size-H6, 14px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--leading-7, 28px);
  /* 200% */
  text-transform: capitalize;
  padding: 8px 24px;

}

.page-template #main .collection-container p,
.page-template #main .collection-container li {
  font-size: var(--Size-Body, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--leading-6, 24px);
  /* 150% */
}

.page-template #main .collection-section.holsters {
  background: linear-gradient(180deg, rgba(244, 244, 244, 0.00) 0%, #F4F4F4 100%);
}

.page-template #main .collection-section h2 {
  color: #35455B;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  text-transform: capitalize;
  margin-bottom: 2px;
}

.page-template #main .collection-section p {
  line-height: unset;
  ;
}

.page-template #main .collection-section p strong {
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

.page-template #main .collection-section .wc-block-product-template li.product {
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-template #main .collection-section .wc-block-product-template li.product .wc-block-components-product-sale-badge {
  border-radius: 4px;
  background: rgba(255, 102, 0, 0.90);
  border: 0px;
  color: #fff;
  color: var(--Primary-Foreground, #FFF);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  left: 4px;
  right: unset;
}

.page-template #main .collection-section .wc-block-product-template li.product .woocommerce-Price-amount {
  color: #EF4444;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.page-template #main .collection-section .wc-block-product-template li.product .sale-price del .woocommerce-Price-amount {
  font-size: 16px;
  color: black;
  font-weight: normal;
}

.page-template #main .collection-section .wc-block-product-template li.product .wp-block-woocommerce-product-button {
  width: 100%;
}

@media (max-width: 768px) {
  .page-template #main .collection-title {
    font-size: 36px;
  }

  .page-template #main .collection-container p,
  .page-template #main .collection-container li {
    font-size: var(--Size-Body, 14px);
  }

  .page-template #main .collection-section h2 {
    font-size: 30px;
  }

  .page-template #main .collection-section p strong {
    font-size: 18px;
  }

  .page-template #main .collection-section .wc-block-product-template li.product {
    padding: 8px;
  }
}

/* Targets screens 480px and smaller (typically mobile) */
@media (max-width: 480px) {
  .page-template #main .collection-title {
    font-size: 24px;
  }

  .page-template #main .collection-section h2 {
    font-size: 24px;
  }
}