/** Shopify CDN: Minification failed

Line 650:0 Unexpected "}"

**/
.collection-grid-section .page-width {
  margin: 0 auto;
  padding: 0 15px;
  overflow-x: hidden;
}
.collection-grid-section.collection-grid-carousel .product-grid {
  display: flex;
  flex-wrap: nowrap;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}
.collection-grid-section.collection-grid-carousel .product-grid::-webkit-scrollbar {
  display: none;
}
.collection-grid-section.collection-grid-carousel .product-grid .product-card {
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .collection-grid-section .product-grid .product-card {
    max-height: none;
    max-width: 350px;
    justify-self: center;
    overflow: hidden;
  }
  .collection-grid-section .product-grid .product-card .product-image-container {
    max-height: 280px;
    overflow: hidden;
  }
  .collection-grid-section .product-grid .product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: var(--image-fit, contain);
    /* max-height: 280px; */
  }
  .collection-grid-section.collection-grid-carousel .product-grid .product-card {
    min-width: 240px;
    max-width: 280px;
  }
}
@media (min-width: 1200px) {
  .collection-grid-section .product-grid .product-card {
    max-height: none;
    max-width: 380px;
    justify-self: center;
    overflow: hidden;
  }
  .collection-grid-section .product-grid .product-card .product-image-container {
    max-height: 320px;
    overflow: hidden;
  }
  .collection-grid-section .product-grid .product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: var(--image-fit, contain);
    /* max-height: 320px; */
  }
  .collection-grid-section.collection-grid-carousel .product-grid .product-card {
    min-width: 260px;
    max-width: 300px;
  }
}
@media (max-width: 767px) {
  .collection-grid-section.collection-grid-carousel .product-grid .product-card {
    min-width: 140px;
    max-width: 170px;
    max-height: 450px;
    overflow: hidden;
  }
}
@media (max-width: 484px) {
  .collection-grid-section .page-width {
    padding: 0 8px;
  }

  .collection-grid-section .product-grid:not(.swiper-wrapper) {
    grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr) !important;
    gap: 8px;
  }

  .collection-grid-section.collection-grid-carousel .product-grid .product-card {
    min-width: 130px;
    max-width: 155px;
    max-height: 420px;
    overflow: hidden;
  }
}
.collection-grid-section .carousel-container {
  position: relative;
  overflow: visible;
}
.collection-grid-section .product-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}
.collection-grid-section.equal-height-enabled .product-carousel {
  align-items: flex-start;
}
.collection-grid-section .product-carousel::-webkit-scrollbar {
  display: none;
}
.collection-grid-section .product-carousel .product-card {
  max-width: 260px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .collection-grid-section .product-carousel .product-card {
    max-width: 220px;
  }
}
@media (max-width: 484px) {
  .collection-grid-section .product-carousel .product-card {
    max-width: 200px;
  }
}
.collection-grid-section .reviews-navigation-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.collection-grid-section .reviews-navigation {
  display: flex;
  gap: 10px;
}
.collection-grid-section .nav-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid;
}
.collection-grid-section .nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  opacity: 0.9;
}
.collection-grid-section .nav-button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 768px) {
  .collection-grid-section .nav-button {
    width: 36px;
    height: 36px;
  }
  .collection-grid-section .nav-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
@media (max-width: 484px) {
  .collection-grid-section .reviews-navigation-container {
    margin-top: 15px;
  }
  .collection-grid-section .nav-button {
    width: 32px;
    height: 32px;
  }
  .collection-grid-section .nav-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
.collection-grid-section .product-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}
.collection-grid-section .product-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  touch-action: pan-x;
  cursor: grab;
}

.collection-grid-section .product-slider:active {
  cursor: grabbing;
}

/* Disable image slider drag interaction in carousel mode - let carousel handle dragging */
/* pointer-events: none allows clicks to pass through to the carousel below */
.product-carousel-swiper .product-slider {
  pointer-events: none !important;
  cursor: default !important;
  user-select: none;
  -webkit-user-drag: none;
}

.product-carousel-swiper .product-slider:active {
  cursor: default !important;
}

/* Re-enable pointer events for dots so they remain clickable */
.product-carousel-swiper .product-dots {
  pointer-events: auto !important;
  z-index: 10;
  position: relative;
}

.product-carousel-swiper .dot {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Hover image overlay for fade effect */
.collection-grid-section .product-hover-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none !important;
  z-index: 2;
  touch-action: none !important;
}

.collection-grid-section .product-hover-image {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit, contain);
  pointer-events: none !important;
}

/* Only show hover overlay on desktop hover, not during drag/touch */
/* Disabled: causes white flash when changing slides via dots */
@media (hover: hover) and (pointer: fine) {
  /* Hover effect disabled - conflicts with image slider functionality */
  /* .collection-grid-section .product-image-container:hover .product-hover-image-overlay {
    opacity: 1;
  } */

  /* Don't show hover effect during drag */
  .collection-grid-section .product-slider:active ~ .product-hover-image-overlay {
    opacity: 0 !important;
  }
}
.collection-grid-section .product-slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  align-items: stretch;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="1"] {
  width: 100%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="2"] {
  width: 200%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="3"] {
  width: 300%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="4"] {
  width: 400%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="5"] {
  width: 500%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="6"] {
  width: 600%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="7"] {
  width: 700%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="8"] {
  width: 800%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="9"] {
  width: 900%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="10"] {
  width: 1000%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="11"] {
  width: 1100%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="12"] {
  width: 1200%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="13"] {
  width: 1300%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="14"] {
  width: 1400%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="15"] {
  width: 1500%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="16"] {
  width: 1600%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="17"] {
  width: 1700%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="18"] {
  width: 1800%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="19"] {
  width: 1900%;
}
.collection-grid-section .product-slider-wrapper[data-slide-count="20"] {
  width: 2000%;
}
.collection-grid-section .product-slide {
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.collection-grid-section .product-image {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit, contain);
  object-position: center center;
  display: block;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.collection-grid-section .slider-arrow {
  display: none;
}
.collection-grid-section .product-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 8px;
}
.collection-grid-section .dot {
  border-radius: 50% !important;
  background-color: var(--dot-color, #cccccc) !important;
  width: var(--dot-size, 8px) !important;
  height: var(--dot-size, 8px) !important;
  min-width: var(--dot-size, 8px) !important;
  min-height: var(--dot-size, 8px) !important;
  max-width: var(--dot-size, 8px) !important;
  max-height: var(--dot-size, 8px) !important;
  transition: background-color 0.3s ease;
  transform: scale(1) !important;
  border: none !important;
  padding: 0 !important;
}

.collection-grid-section .dot.active {
  background-color: var(--dot-active-color, #000000) !important;
  width: var(--dot-size, 8px) !important;
  height: var(--dot-size, 8px) !important;
  min-width: var(--dot-size, 8px) !important;
  min-height: var(--dot-size, 8px) !important;
  max-width: var(--dot-size, 8px) !important;
  max-height: var(--dot-size, 8px) !important;
  border-radius: 50% !important;
  transform: scale(1) !important;
  border: none !important;
  padding: 0 !important;
}
.collection-grid-section .collection-product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.collection-grid-section .collection-view-product {
  margin-top: auto;
  padding-top: 8px;
}
.collection-grid-section .product-title {
  line-height: var(--title-line-height, 1.3);
  margin: 0 0 6px;
  font-weight: var(--font-weight-semibold) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: auto;
  letter-spacing: var(--letter-spacing-body) !important;
  min-height: 3.2em;
}
.collection-grid-section .product-description {
  line-height: var(--description-line-height, 1.2);
  letter-spacing: var(letter-spacing-body);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: auto;
  font-size: var(--description-font-size, 13px);
}
.collection-grid-section .collection-product-price {
  margin-bottom: 4px;
  margin-top: auto;
  font-weight: var(--font-weight-bold) !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.collection-grid-section .collection-regular-price {
  text-decoration: line-through;
  margin-right: 2px;
  font-weight: var(--font-weight-regular);
}
.collection-grid-section .product-rating {
  display: flex;
  align-items: center;
  margin-bottom: var(--rating-margin-bottom, 0px);
}
.collection-grid-section .stars {
  display: flex;
  margin-right: 8px;
  line-height: 1;
}
.collection-grid-section .rating-number {
  line-height: 1;
}
.collection-grid-section .view-all-container {
  text-align: center;
  margin-top: 0px;
}
.collection-grid-section .view-all-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  text-decoration: none !important;
  border-radius: 30px;
  font-weight: var(--font-weight-semibold);
  font-size: var(--view-all-font-size, 16px);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background-color: var(--view-all-background, #000000);
  color: var(--view-all-color, #ffffff) !important;
  border: 2px solid var(--view-all-background, #000000);
}

.collection-grid-section .view-all-button:hover {
  background-color: transparent;
  color: var(--view-all-hover-color, #000000) !important;
  border-color: var(--view-all-hover-color, #000000);
}

.collection-grid-section .view-all-button:visited {
  color: var(--view-all-color, #ffffff) !important;
}

.collection-grid-section .view-all-text {
  color: inherit !important;
}

/* Text link style - simple link with arrow */
.collection-grid-section .view-all-text_link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: var(--font-weight-regular) !important;
  font-size: var(--view-all-font-size, 16px) !important;
  text-decoration: underline !important;
  color: var(--view-all-text-link-color, #000000) !important;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.collection-grid-section .view-all-text_link:hover {
  color: var(--view-all-text-link-hover-color, #666666) !important;
  text-decoration: underline !important;
}

.collection-grid-section .view-all-text_link:visited {
  color: var(--view-all-text-link-color, #000000) !important;
}

.collection-grid-section .view-all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}

.collection-grid-section .view-all-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.collection-grid-section .product-metadata {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.collection-grid-section .metadata-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.collection-grid-section .metadata-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.collection-grid-section .metadata-rating-value {
  font-weight: var(--font-weight-semibold);
}
.collection-grid-section .metadata-stars {
  display: flex;
}
@media (max-width: 767px) {
  .collection-grid-section .collection-product-info {
    padding: 10px;
    min-height: 120px;
  }
  .collection-grid-section .product-title {
    line-height: var(--title-line-height, 1.3);
    margin-bottom: 8px;
    height: auto;
    min-height: 2.6em;
  }
  .collection-grid-section .product-description {
    margin-bottom: 0;
  }
  .collection-grid-section .collection-product-price {
    margin-bottom: 8px;
    margin-top: 0;
  }
  .collection-grid-section .product-dots {
    margin-top: 4px;
    margin-bottom: 9px;
    gap: 5px;
  }
  .collection-grid-section .product-rating {
    margin-bottom: var(--rating-margin-bottom, 0px);
  }
  .collection-grid-section .sale-badge {
  padding: 5px 10px;
  font-size: 12px;
}
.collection-grid-section .sale-badge-icon {
  width: 13px;
  height: 13px;
  margin-right: 4px;
}
  .collection-grid-section .view-all-button,
  .collection-grid-section .view-all-text_link {
    font-size: var(--view-all-font-size-mobile, 14px) !important;
  }
  
  .collection-grid-section .view-all-button {
    padding: 10px 22px;
  }
}
@media (max-width: 484px) {
  .collection-grid-section .collection-product-info {
    padding: 8px;
    min-height: 110px;
  }
  .collection-grid-section .product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }
  .collection-grid-section .product-title {
    line-height: var(--title-line-height, 1.3);
    margin-bottom: 6px;
    margin-top: 0;
    height: auto;
    min-height: 2.4em;
  }
  .collection-grid-section .product-description {
    margin-bottom: 0;
  }
  .collection-grid-section .collection-product-price {
    margin-bottom: 6px;
    margin-top: 0;
  }
.collection-grid-section .sale-badge {
  padding: 5px 10px;
  font-size: 12px;
}
  }
  .collection-grid-section .sale-badge-icon {
  width: 11px;
  height: 11px;
  margin-right: 4px;
  }
  .collection-grid-section .view-all-button,
  .collection-grid-section .view-all-text_link {
    font-size: var(--view-all-font-size-mobile, 13px) !important;
  }
  
  .collection-grid-section .view-all-button {
    padding: 8px 20px;
    letter-spacing: 0.3px;
  }
}
.collection-grid-section .equal-height-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-grid-section .equal-height-card .collection-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.collection-grid-section .equal-height-card .product-title {
  flex-grow: 1;
  margin-bottom: auto;
}
.collection-grid-section .equal-height-card .collection-product-price,
.collection-grid-section .equal-height-card .collection-view-product {
  margin-top: auto;
}
.collection-grid-section .equal-height-card .product-image-container {
  margin: 0;
  padding-bottom: 100%;
}
.collection-grid-section .equal-height-card .product-link {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .product-grid {
  align-items: stretch;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .equal-height-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .product-image-container {
  margin: 0;
  padding-bottom: 0;
  flex-shrink: 0;
  position: relative;
  height: 280px;
  aspect-ratio: 1/1;
}
@media (max-width: 767px) {
  .collection-grid-section.collection-grid-carousel.equal-height-enabled .product-image-container {
    height: 200px;
  }
}
@media (max-width: 484px) {
  .collection-grid-section.collection-grid-carousel.equal-height-enabled .product-image-container {
    height: 180px;
  }
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .product-dots {
  margin-top: 6px;
  margin-bottom: 6px;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .collection-product-info {
  padding: 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .product-link {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .collection-product-price {
  margin-top: 8px;
}
.collection-grid-section.collection-grid-carousel.equal-height-enabled .collection-view-product {
  margin-top: 8px;
}
.collection-grid-section .product-grid:has(.equal-height-card) {
  align-items: stretch;
}
.collection-grid-section.equal-height-enabled .product-grid {
  align-items: stretch;
}
.collection-grid-section .product-card.no-images .product-dots {
  display: none;
}
.collection-grid-section .product-card.no-images {
  cursor: pointer;
}
.collection-grid-section .product-card.no-images .product-image-container {
  padding-bottom: 0;
  height: auto;
}
.collection-grid-section .product-card.no-images .full-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.collection-grid-section .collection-view-product-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: var(--global-button-padding-y) 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-body);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  justify-content: center;
}
.collection-grid-section .collection-view-product-btn.icon-right {
  flex-direction: row-reverse;
}
.collection-grid-section .view-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.collection-grid-section .view-product-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.collection-grid-section .view-product-icon svg[fill="none"] {
  stroke: currentColor;
  fill: none;
}
.collection-grid-section .view-product-icon svg path[fill="currentColor"] {
  fill: currentColor;
}
.collection-grid-section .view-product-icon svg path[stroke="currentColor"] {
  stroke: currentColor;
}
.collection-grid-section .view-product-text {
  line-height: 1;
}
.collection-grid-section .view-product-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
  transition: transform 0.2s ease;
}
.collection-grid-section .view-product-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
}
.collection-grid-section .product-image-container.single-image .product-single-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.collection-grid-section .product-image-container.single-image .product-image {
  width: 100%;
  height: 100%;
  object-fit: var(--image-fit, contain);
  display: block;
}
.collection-grid-section .product-image-container.single-image .placeholder-image {
  width: 100%;
  height: 200px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.collection-grid-section .product-image-container.single-image .placeholder-image:before {
  content: "No image";
  font-size: 14px;
}

/* CSS Reset and Base Styles */
.collection-grid-section {
  box-sizing: border-box;
  font-family: var(--font-body-family);
  letter-spacing: var(--letter-spacing-body);
  line-height: 1.4;
  margin: 0;
  width: 100%;
  overflow: visible;
  isolation: isolate;
  position: relative;
  z-index: 1;

  /* Default CSS Variables */
  --section-padding-top: 40px;
  --section-padding-bottom: 40px;
  --section-background-color: #ffffff;
  --grid-columns-mobile: 2;
  --grid-columns-desktop: 4;
  --grid-gap: 20px;
  --carousel-gap: 20px;
  --carousel-card-width: 240px;
  --mobile-carousel-width: 200px;
  --heading-alignment: center;
  --heading-size: 28px;
  --heading-color: #000000;
  --title-font-size-desktop: 20px;
  --title-font-size-tablet: 19px;
  --title-font-size-mobile: 17px;
  --title-color: #000000;
  --description-font-size: 13px;
  --description-color: #666666;
  --description-margin: 8px;
  --price-size: 15px;
  --price-color: #000000;
  --compare-price-color: #999999;
  --card-background: #ffffff;
  --card-radius: 8px;
  --card-border-color: #e5e7eb;
  --card-overflow: hidden;
  --image-overflow: hidden;
  --image-background: #f8f8f8;
  --image-fit: contain;
  --badge-background: #ffeae6;
  --badge-color: #ff3c16;
  --badge-radius: 4px;
  --custom-badge-background: #000000;
  --custom-badge-text-color: #ffffff;
  --custom-badge-radius: 20px;
  --star-size: 18px;
  --star-color: #ffd700;
  --rating-text-color: #000000;
  --rating-text-weight: 600;
  --dot-size: 6px;
  --dot-color: #cccccc;
  --dot-active-color: #000000;
  --view-product-background: #000000;
  --view-product-color: #ffffff;
  --view-product-font-size: 14px;
  --button-padding-y: 12px;
  --metadata-font-size: 12px;
  --metadata-label-color: #666666;
  --metadata-label-weight: bold;
  --metadata-value-color: #333333;

  /* Apply padding dynamically */
  padding: var(--section-padding-top) 0 var(--section-padding-bottom);
  background-color: var(--section-background-color);
}

.collection-grid-section * {
  box-sizing: border-box;
}

/* Grid Layout */
.collection-grid-section .product-grid-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.collection-grid-section .grid-pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.collection-grid-section .product-grid:not(.swiper-wrapper) {
  display: grid !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  gap: var(--grid-gap, 20px);
  grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr) !important;
  align-items: stretch;
  justify-content: center;
  justify-content: center;
}

/* Force grid behavior */
.collection-grid-section .product-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr) !important;
  justify-content: center;
  justify-content: center;
}

/* Override everything */
.collection-grid-section .product-grid-wrapper .product-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr) !important;
  justify-content: center;
  justify-content: center;
}

/* Class-based grid columns */
.collection-grid-section.grid-mobile-1 .product-grid {
  grid-template-columns: repeat(1, 1fr) !important;
}
.collection-grid-section.grid-mobile-2 .product-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}
.collection-grid-section.grid-mobile-3 .product-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (min-width: 768px) {
  .collection-grid-section .product-grid:not(.swiper-wrapper) {
    grid-template-columns: repeat(var(--grid-columns-desktop, 4), 1fr) !important;
    gap: var(--grid-gap, 20px);
    justify-content: center;
    max-width: none;
    justify-content: center;
  }

  .collection-grid-section .product-grid {
    grid-template-columns: repeat(var(--grid-columns-desktop, 4), 1fr) !important;
    justify-content: center;
    justify-content: center;
  }

  .collection-grid-section .product-grid-wrapper .product-grid {
    grid-template-columns: repeat(var(--grid-columns-desktop, 4), 1fr) !important;
    justify-content: center;
    justify-content: center;
  }

  /* Constrain card width when there are few items in a row */
  .collection-grid-section .product-grid:not(.swiper-wrapper) .product-card {
    max-width: 350px;
    justify-self: center;
  }

  /* Desktop grid columns */
  .collection-grid-section.grid-desktop-2 .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .collection-grid-section.grid-desktop-3 .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .collection-grid-section.grid-desktop-4 .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .collection-grid-section.grid-desktop-5 .product-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .collection-grid-section.grid-desktop-6 .product-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  /* 6-column layout optimizations */
  .collection-grid-section.grid-desktop-6 .page-width {
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  .collection-grid-section.grid-desktop-6 .product-grid:not(.swiper-wrapper) {
    gap: 3px !important;
    max-width: 100% !important;
  }

  .collection-grid-section.grid-desktop-6 .collection-product-info {
    padding: 4px !important;
  }

  .collection-grid-section.grid-desktop-6 .product-title {
    font-size: 14px !important;
    margin-bottom: 1px !important;
  }

  .collection-grid-section.grid-desktop-6 .collection-view-product-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  /* Minimal margins for 6 columns */
  .collection-grid-section.grid-desktop-6 .product-description {
    margin: 1px 0 !important;
    font-size: 11px !important;
  }

  .collection-grid-section.grid-desktop-6 .collection-product-price {
    margin: 1px 0 !important;
    font-size: 13px !important;
  }

  .collection-grid-section.grid-desktop-6 .product-rating {
    margin-bottom: 1px !important;
  }

  /* Reduce star size */
  .collection-grid-section.grid-desktop-6 .star {
    width: calc(var(--star-size, 18px) * 0.7) !important;
    height: calc(var(--star-size, 18px) * 0.7) !important;
  }

  .collection-grid-section.grid-desktop-6 .rating-number {
    font-size: 11px !important;
  }

  /* 5-column layout */
  .collection-grid-section.grid-desktop-5 .page-width {
    max-width: 1400px !important;
  }

  .collection-grid-section.grid-desktop-5 .product-grid:not(.swiper-wrapper) {
    gap: 12px !important;
  }

  .collection-grid-section .product-card:not(.swiper-slide) {
    width: 100%;
    min-width: auto;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  .collection-grid-section.grid-desktop-6 .product-grid:not(.swiper-wrapper) {
    gap: 12px !important;
  }
}

@media (min-width: 1600px) {
  .collection-grid-section.grid-desktop-6 .product-grid:not(.swiper-wrapper) {
    gap: 15px !important;
  }
}

@media (max-width: 767px) {
  .collection-grid-section .page-width {
    padding: 0 8px !important;
  }

  .collection-grid-section .product-grid:not(.swiper-wrapper) {
    grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* Force cards to respect grid */
  .collection-grid-section .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Mobile grid columns */
  .collection-grid-section.grid-mobile-1 .product-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .collection-grid-section.grid-mobile-2 .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .collection-grid-section.grid-mobile-3 .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important; /* Ultra tight for 3 columns */
  }

  /* Reduce borders on mobile */
  .collection-grid-section .product-card {
    border-width: 0.5px !important;
  }

  /* Reduce padding for 3 columns */
  .collection-grid-section.grid-mobile-3 .collection-product-info {
    padding: 4px !important;
  }

  .collection-grid-section.grid-mobile-3 .product-title {
    font-size: 13px !important;
    min-height: 1.8em !important;
  }

  .collection-grid-section.grid-mobile-3 .collection-product-price {
    font-size: 11px !important;
  }

  .collection-grid-section.grid-mobile-3 .collection-view-product-btn {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  /* Ensure cards are visible on mobile */
  .collection-grid-section .product-card {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Force grid visibility on mobile */
  .collection-grid-section .product-grid-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .collection-grid-section .product-grid {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Product card link - wraps entire card when View Product button is hidden */
.collection-grid-section .product-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

.collection-grid-section .product-card-link:hover,
.collection-grid-section .product-card-link:visited,
.collection-grid-section .product-card-link:active,
.collection-grid-section .product-card-link:focus {
  text-decoration: none;
  color: inherit;
}

/* Product Card Styles */
.collection-grid-section .product-card:not(.swiper-slide) {
  margin: 0;
  font-family: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--card-background, #ffffff) !important;
  border-radius: var(--card-radius, 8px) !important;
  border: 1px solid var(--card-border-color, #e5e7eb) !important;
  overflow: var(--card-overflow, hidden);
  position: relative;
}

/* Grid specific card styling */
.collection-grid-section.collection-grid-scrollable .product-card:not(.swiper-slide) {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Ensure card styling inheritance */
.collection-grid-section .product-card {
  background: var(--card-background, #ffffff) !important;
  border-radius: var(--card-radius, 8px) !important;
  border: 1px solid var(--card-border-color, #e5e7eb) !important;
}

/* Equal height cards */
.collection-grid-section.equal-height-enabled .product-card {
  height: 100%;
}

/* Remove card styling option */
.collection-grid-section.remove-card-styling .product-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  clip-path: none !important;
  overflow: visible !important;
}

.collection-grid-section.remove-card-styling .product-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.collection-grid-section.remove-card-styling .collection-product-info {
  padding: 8px 0 !important;
  background: transparent !important;
}

.collection-grid-section.remove-card-styling .product-image-container {
  border-radius: 0 !important;
  overflow: visible !important;
}

.collection-grid-section.remove-card-styling .product-image {
  border-radius: 0 !important;
}

/* Single image only option - hide slider functionality, show only first image */
.collection-grid-section.single-image-only .product-slider-wrapper {
  width: 100% !important;
  transform: none !important;
}

.collection-grid-section.single-image-only .product-slide:not(:first-child) {
  display: none !important;
}

.collection-grid-section.single-image-only .product-slide:first-child {
  width: 100% !important;
  flex: 1 0 100% !important;
}

.collection-grid-section.single-image-only .product-dots {
  display: none !important;
}

.collection-grid-section.single-image-only .product-hover-image-overlay {
  display: none !important;
}

.collection-grid-section.single-image-only .product-slider {
  cursor: default !important;
  touch-action: auto !important;
}

/* Product carousel styles */
.collection-grid-section .product-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

/* Carousel pagination */
.collection-grid-section.enable-carousel-pagination .product-carousel {
  overflow-x: visible;
}

.collection-grid-section.enable-carousel-pagination .carousel-page {
  display: none;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

.collection-grid-section.enable-carousel-pagination .carousel-page.active {
  display: flex;
}

/* Carousel card widths */
.collection-grid-section .product-carousel .product-card {
  flex: 0 0 var(--carousel-card-width, 240px);
  width: var(--carousel-card-width, 240px);
  max-width: var(--carousel-card-width, 240px);
  min-width: var(--carousel-card-width, 240px);
}

/* Mobile carousel card width */
@media (max-width: 767px) {
  .collection-grid-section .product-carousel .product-card {
    flex: 0 0 var(--mobile-carousel-width, 200px);
    width: var(--mobile-carousel-width, 200px);
    max-width: var(--mobile-carousel-width, 200px);
    min-width: var(--mobile-carousel-width, 200px);
  }

  .collection-grid-section .product-image-container.mobile-square {
    width: var(--mobile-carousel-width, 200px);
    max-width: var(--mobile-carousel-width, 200px);
    height: var(--mobile-carousel-width, 200px);
  }
}

/* Star styles */
.collection-grid-section .star {
  width: var(--star-size, 18px);
  height: var(--star-size, 18px);
  margin: 0;
  display: inline-block;
  align-content: center;
  margin-right: -3px;
  line-height: 1;
  position: relative;
}

.collection-grid-section .star svg {
  width: 100%;
  height: 100%;
  display: block;
}

.collection-grid-section .star-filled {
  color: var(--star-color, #ffd700);
  opacity: 1;
}

.collection-grid-section .star-empty {
  color: #e0e0e0;
  opacity: 0.5;
}

.collection-grid-section .star-half {
  position: relative;
  opacity: 1;
}

.collection-grid-section .star-half .star-bg {
  position: absolute;
  top: 0;
  left: 0;
  color: #e0e0e0;
  opacity: 1;
}

.collection-grid-section .star-half .star-fill {
  position: relative;
  z-index: 1;
  color: var(--star-color, #ffd700);
  opacity: 1;
}

/* Section header */
.collection-grid-section .section-header {
  margin-bottom: 30px;
  width: 100%;
}

.collection-grid-section .section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
}

/* Heading & Subtitle Group */
.collection-grid-section .heading-subtitle-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}

/* Dynamic justify-content based on heading alignment */
.collection-grid-section .section-title-wrapper {
  justify-content: var(--heading-alignment, center);
}

/* Override with flex values */
.collection-grid-section.heading-align-left .section-title-wrapper,
.collection-grid-section[data-heading-align="left"] .section-title-wrapper {
  justify-content: flex-start !important;
}

.collection-grid-section.heading-align-right .section-title-wrapper,
.collection-grid-section[data-heading-align="right"] .section-title-wrapper {
  justify-content: flex-end !important;
}

.collection-grid-section.heading-align-center .section-title-wrapper,
.collection-grid-section[data-heading-align="center"] .section-title-wrapper {
  justify-content: center !important;
}

/* Text alignment for heading */
.collection-grid-section.heading-align-left .section-heading {
  text-align: left !important;
}

.collection-grid-section.heading-align-right .section-heading {
  text-align: right !important;
}

.collection-grid-section.heading-align-center .section-heading {
  text-align: center !important;
}

.collection-grid-section .section-heading {
  font-size: var(--heading-size, 28px) !important;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color, #000000) !important;
  margin: 0;
  text-align: var(--heading-alignment, center) !important;
  width: 100%;
  line-height: var(--heading-line-height, 1.2);
}

/* Section Subtitle */
.collection-grid-section .collection-grid-subtitle {
  font-size: var(--subtitle-size, 16px);
  color: var(--subtitle-color, #666666);
  margin: 8px 0 0 0;
  text-align: var(--subtitle-alignment, center);
  width: 100%;
  line-height: var(--subtitle-line-height, 1.4);
  font-weight: 400;
}

/* Subtitle alignment overrides with class */
.collection-grid-section .collection-grid-subtitle.subtitle-align-left,
.collection-grid-section .collection-grid-subtitle.subtitle-align-left * {
  text-align: left !important;
}

.collection-grid-section .collection-grid-subtitle.subtitle-align-right,
.collection-grid-section .collection-grid-subtitle.subtitle-align-right * {
  text-align: right !important;
}

.collection-grid-section .collection-grid-subtitle.subtitle-align-center,
.collection-grid-section .collection-grid-subtitle.subtitle-align-center * {
  text-align: center !important;
}

/* Rich text support for subtitle */
.collection-grid-section .collection-grid-subtitle p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
}

.collection-grid-section .collection-grid-subtitle a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.collection-grid-section .collection-grid-subtitle a:hover {
  opacity: 0.7;
}

.collection-grid-section .collection-grid-subtitle strong,
.collection-grid-section .collection-grid-subtitle b {
  font-weight: 700 !important;
}

.collection-grid-section .collection-grid-subtitle em,
.collection-grid-section .collection-grid-subtitle i {
  font-style: italic;
}

/* Responsive heading sizes */
@media (max-width: 767px) {
  .collection-grid-section .section-heading {
    font-size: var(--heading-size-mobile, 24px) !important;
  }

  /* Mobile subtitle size */
  .collection-grid-section .collection-grid-subtitle {
    font-size: var(--subtitle-size-mobile, 14px);
  }
}

/* View All button */
.collection-grid-section .view-all-beside-title {
  margin: 0;
}

.collection-grid-section .view-all-below-title {
  margin: 15px 0 0 0;
  text-align: center; /* default */
}

/* View All alignment */
.collection-grid-section.heading-align-left .view-all-below-title {
  text-align: left !important;
}

.collection-grid-section.heading-align-right .view-all-below-title {
  text-align: right !important;
}

.collection-grid-section.heading-align-center .view-all-below-title {
  text-align: center !important;
}

.collection-grid-section .view-all-bottom {
  margin: 30px 0 0 0;
  text-align: center;
}

/* Product image container */
.collection-grid-section .product-image-container {
  background: var(--image-background, #f8f8f8);
  position: relative;
  border-radius: var(--card-radius, 8px) var(--card-radius, 8px) 0 0;
  overflow: hidden; /* Always hidden for image container */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;

  /* Fix: Set explicit height based on aspect ratio */
  aspect-ratio: var(--image-aspect-ratio, 1/1);
  min-height: 200px;
}

.collection-grid-section .product-image {
  object-fit: var(--image-fit, contain);
  object-position: center center;
  border-radius: var(--card-radius, 8px) var(--card-radius, 8px) 0 0;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}

/* Different aspect ratios */
.collection-grid-section .product-image-container.aspect-natural {
  aspect-ratio: unset;
  height: auto;
}
.collection-grid-section .product-image-container.aspect-2-3 {
  aspect-ratio: 2/3;
}
.collection-grid-section .product-image-container.aspect-3-2 {
  aspect-ratio: 3/2;
}
.collection-grid-section .product-image-container.aspect-4-5 {
  aspect-ratio: 3/5;
}
.collection-grid-section .product-image-container.aspect-16-9 {
  aspect-ratio: 16/9;
}
.collection-grid-section .product-image-container.aspect-3-4 {
  aspect-ratio: 3/4;
}

/* Badge System */
.collection-grid-section .sale-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
padding: 5px 10px;
font-size: 12px;
  font-weight: var(--font-weight-bold);
  z-index: 99;
  white-space: nowrap;
  background: var(--badge-background, #ffeae6);
  color: var(--badge-color, #ff3c16);
  min-width: 55px;
min-height: 22px;
  border-radius: var(--badge-radius, 4px);
  letter-spacing: var(--letter-spacing-body);
  line-height: 1;
}

.collection-grid-section .sale-badge.gradient {
  background: var(--badge-gradient, linear-gradient(135deg, #ffeae6, #666666));
}

.collection-grid-section .sale-badge-icon svg {
  fill: var(--badge-color, #ff3c16) !important;
}

.collection-grid-section .custom-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--custom-badge-background, #000000);
  color: var(--custom-badge-text-color, #ffffff);
  padding: 6px 12px;
  width: fit-content;
  border-radius: var(--custom-badge-radius, 20px);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-body);
  text-transform: uppercase;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: calc(100% - 16px);
  text-overflow: ellipsis;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.collection-grid-section .custom-badge.gradient {
  background: var(--custom-badge-gradient, linear-gradient(135deg, #000000, #333333));
}

/* Badge positioning */
.collection-grid-section .sale-badge.below-custom {
  top: 60px;
  left: 8px;
  right: auto;
  width: fit-content;
  max-width: calc(100% - 16px);
}
.collection-grid-section .sale-badge.bottom-left {
  top: auto;
  bottom: 8px;
  left: 8px;
  right: auto;
  width: fit-content;
  max-width: calc(100% - 16px);
}
.collection-grid-section .sale-badge.bottom-right {
  top: auto;
  bottom: 8px;
  left: auto;
  right: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
}
.collection-grid-section .sale-badge.top-right-stacked {
  top: 50px;
  left: auto;
  right: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
}

/* Badge positioning mobile */
@media (max-width: 767px) {
  .collection-grid-section .custom-badge {
    padding: 4px 8px;
    font-size: 10px;
    top: 6px;
    right: 6px;
    max-width: calc(100% - 12px);
  }

  .collection-grid-section .sale-badge.below-custom {
    top: 50px;
    left: 6px;
    right: auto;
    width: fit-content;
    max-width: calc(100% - 12px);
  }
  .collection-grid-section .sale-badge.bottom-left {
    bottom: 6px;
    left: 6px;
    right: auto;
    width: fit-content;
    max-width: calc(100% - 12px);
  }
  .collection-grid-section .sale-badge.bottom-right {
    bottom: 6px;
    left: auto;
    right: 6px;
    width: fit-content;
    max-width: calc(100% - 12px);
  }
  .collection-grid-section .sale-badge.top-right-stacked {
    top: 40px;
    left: auto;
    right: 6px;
    width: fit-content;
    max-width: calc(100% - 12px);
  }
}

/* Product Typography */
.collection-grid-section .product-title {
  font-size: var(--title-font-size-desktop, 20px);
  color: var(--title-color, #000000);
  margin-top: 0px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 3px;
  line-height: var(--title-line-height, 1.3);
  min-height: unset;
  height: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  width: 100%;
}

.collection-grid-section .collection-product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 10px 12px 15px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.collection-grid-section .product-description {
  font-size: var(--description-font-size, 13px);
  color: var(--description-color, #666666);
  margin: 0;
  line-height: var(--description-line-height, 1.2);
  letter-spacing: var(--letter-spacing-body);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  width: 100%;
}

.collection-grid-section .collection-product-price {
  font-size: var(--price-size, 15px);
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: var(--letter-spacing-body);
  padding-top: 4px;
  max-width: 100%;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-grid-section .collection-regular-price {
  color: var(--compare-price-color, #999999);
}

.collection-grid-section .collection-current-price {
  color: var(--price-color, #000000);
}

/* Rating System */
.collection-grid-section .product-rating {
  display: flex;
  align-items: center;
  margin-bottom: var(--rating-margin-bottom, 0px);
}

.collection-grid-section .stars {
  color: var(--star-color, #ffd700);
  font-size: 13px;
}

.collection-grid-section .rating-number {
  color: var(--rating-text-color, #000000);
  font-size: 14px;
  letter-spacing: var(--letter-spacing-body);
  font-weight: var(--rating-text-weight, 600);
}

/* Button System */
.collection-grid-section .collection-view-product {
  margin-top: auto;
  padding-top: 8px;
}

.collection-grid-section .collection-view-product-btn {
  width: 100%;
  border-radius: var(--global-button-radius, 8px);
  letter-spacing: var(--global-button-letter-spacing, 1px);
  border: none;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--view-product-background, #000000);
  color: var(--view-product-color, #ffffff);
  border: 1px solid var(--view-product-background, #000000);
  padding: var(--button-padding-y, 12px) 16px;
  font-size: var(--view-product-font-size, 14px);
}

.collection-grid-section .collection-view-product-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  box-shadow: none;
}

/* Metadata System */
.collection-grid-section .product-metadata {
  font-size: var(--metadata-font-size, 12px);
}

.collection-grid-section .metadata-item {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.collection-grid-section .metadata-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  color: var(--metadata-label-color, #666666);
  flex-shrink: 0;
}

.collection-grid-section .metadata-icon svg {
  width: 100%;
  height: 100%;
}

.collection-grid-section .metadata-label {
  color: var(--metadata-label-color, #666666);
  font-weight: var(--metadata-label-weight, bold);
  margin-right: 4px;
}

.collection-grid-section .metadata-value {
  color: var(--metadata-value-color, #333333);
}

/* Interactive Features */
.collection-grid-section .product-card.full-card-clickable {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.collection-grid-section .product-card.full-card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.collection-grid-section .product-card.full-card-clickable:active {
  transform: translateY(0);
  box-shadow: none;
}

.collection-grid-section .product-card.full-card-clickable a,
.collection-grid-section .product-card.full-card-clickable button,
.collection-grid-section .product-card.full-card-clickable .product-dots,
.collection-grid-section .product-card.full-card-clickable .dot {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 767px) {
  .collection-grid-section .product-title {
    font-size: var(--title-font-size-tablet, 19px);
  }

  .collection-grid-section .collection-product-price {
    font-size: calc(var(--price-size, 15px) - 2px);
  }

  .collection-grid-section .product-description {
    font-size: var(--description-font-size-mobile, 12px);
  }

  .collection-grid-section .product-metadata {
    font-size: calc(var(--metadata-font-size, 12px) - 1px);
  }

  .collection-grid-section .stars {
    font-size: 12px;
  }

  .collection-grid-section .rating-number {
    font-size: 12px;
  }

  .collection-grid-section .star {
    width: var(--star-size, 18px);
    height: var(--star-size, 18px);
  }

  .collection-grid-section .metadata-stars {
    font-size: 11px;
  }

  .collection-grid-section .dot {
    width: var(--dot-size, 6px) !important;
    height: var(--dot-size, 6px) !important;
    min-width: var(--dot-size, 6px) !important;
    min-height: var(--dot-size, 6px) !important;
    max-width: var(--dot-size, 6px) !important;
    max-height: var(--dot-size, 6px) !important;
    border-radius: 50% !important;
    transform: scale(1) !important;
  }

  .collection-grid-section .dot.active {
    width: var(--dot-size, 6px) !important;
    height: var(--dot-size, 6px) !important;
    min-width: var(--dot-size, 6px) !important;
    min-height: var(--dot-size, 6px) !important;
    max-width: var(--dot-size, 6px) !important;
    max-height: var(--dot-size, 6px) !important;
    border-radius: 50% !important;
    transform: scale(1) !important;
  }

  .collection-grid-section .collection-view-product-btn {
    padding: 8px 12px;
    font-size: var(--view-product-font-size, 14px);
    letter-spacing: var(--letter-spacing-body);
  }
}

@media (max-width: 484px) {
  .collection-grid-section .product-title {
    font-size: var(--title-font-size-mobile, 17px);
  }

  .collection-grid-section .collection-product-price {
    font-size: calc(var(--price-size, 15px) - 3px);
  }

  .collection-grid-section .product-description {
    font-size: var(--description-font-size-mobile, 12px);
    margin: 0;
  }

  .collection-grid-section .product-metadata {
    font-size: calc(var(--metadata-font-size, 12px) - 2px);
  }

  .collection-grid-section .metadata-stars {
    font-size: 10px;
  }

  .collection-grid-section .stars {
    font-size: 10px;
  }

  .collection-grid-section .rating-number {
    font-size: 10px;
  }

  .collection-grid-section .star {
    width: var(--star-size, 18px);
    height: var(--star-size, 18px);
  }

  .collection-grid-section .collection-view-product-btn {
    padding: 8px 10px;
    font-size: var(--view-product-font-size, 14px);
    letter-spacing: var(--letter-spacing-body);
  }
}

/* Dynamic Swiper Grid Styles */
.collection-grid-section .product-grid.swiper-wrapper {
  display: flex;
  box-sizing: content-box;
  gap: 0;
}

.collection-grid-section .product-grid.swiper-wrapper .swiper-slide {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns-desktop), minmax(0, 1fr));
  gap: var(--carousel-gap);
  height: fit-content;
}

.collection-grid-section .mobile-grid-slider {
  display: none;
}

.collection-grid-section .reviews-navigation-container-desktop {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.collection-grid-section .reviews-navigation-container-mobile {
  display: none;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

@media screen and (max-width: 1024px) {
  /* Keep product-grid-wrapper visible for simple grid layout */
  .collection-grid-section .product-grid-wrapper {
    display: flex;
  }

  /* Mobile grid slider only for carousel mode - hide for simple grid */
  .collection-grid-section .mobile-grid-slider {
    display: none;
  }

  .collection-grid-section .mobile-grid-slider .swiper-slide {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns-mobile), minmax(0, 1fr));
    gap: 10px;
    height: fit-content;
  }

  .collection-grid-section .reviews-navigation-container-desktop {
    display: none;
  }

  .collection-grid-section .reviews-navigation-container-mobile {
    display: flex;
    justify-content: center;
  }
}

