/** Shopify CDN: Minification failed

Line 11:0 Unexpected "{"
Line 11:1 Expected identifier but found "%"
Line 13:0 Unexpected "-"
Line 21:0 Unexpected "-"
Line 21:12 Comments in CSS use "/* ... */" instead of "//"
Line 22:1 Expected identifier but found "%"

**/
{% comment %}
COLOR SWATCH
- insert / take the tag COLOR_ in product page
- use the color name COLOR_white (less COLOR_) white
- add a class .swatch-white > (the name of swatch)
- use background: #hexadecimal-color

eg.
.swatch-black {background: #000}

- see https://www.w3schools.com/cssref/css_colors_legal.asp
{% endcomment %}

/* Base swatch styling */
.swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
  margin: 2px;
}

.swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.swatch-current {
  border: 2px solid #333 !important;
  transform: scale(1.1);
}


/* Product Card Color Swatches - Clean and Simple */
.product-card-color-swatches {
  margin: 8px 0;
}

.product-card-color-swatches__container {
  display: flex;
  gap: 6px;
  align-items: center;
}

.product-card-color-swatch {
  position: relative;
}

/* Direct swatch styling - no extra wrappers */
.product-card-color-swatches .swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.product-card-color-swatches .swatch:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-card-color-swatches .swatch-current {
  border: 2px solid #333 !important;
  transform: scale(1.1);
}

/* Link styling */
.product-card-color-swatches a {
  text-decoration: none;
  display: inline-block;
}

/* Product Page Color Swatches Enhancement */
.product-color-swatches {
  margin: 15px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.product-color-swatches a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-color-swatches a:hover {
  transform: scale(1.1);
}

.master-product-colors {
  margin: 15px 0;
}

.master-product-colors__label h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.master-product-colors__swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.master-product-color {
  position: relative;
}

.master-product-color__swatch,
.master-product-color__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.master-product-color__link {
  text-decoration: none;
  color: inherit;
}

.master-product-color__link:hover {
  background-color: #f5f5f5;
}

.master-product-color--current .master-product-color__swatch {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}

.master-product-color .swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
  flex-shrink: 0;
}

.master-product-color__name {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

@media screen and (max-width: 749px) {
  .product-card-color-swatches__container {
    gap: 4px;
  }

  .product-card-color-swatch__dot,
  .product-card-color-swatch__link {
    width: 14px;
    height: 14px;
  }

  .master-product-colors__swatches {
    gap: 6px;
  }

  .master-product-color .swatch {
    width: 18px;
    height: 18px;
  }
}

.swatch-black-white { background: linear-gradient(90deg, black 50%, white 50%);}
.swatch-bluette-white { background: linear-gradient(90deg, #1f53b8 50%, white 50%);}
.swatch-red-white { background: linear-gradient(90deg, #ed1e24 50%, white 50%);}
.swatch-yellow-white { background: linear-gradient(90deg, #fde834 50%, white 50%);}

/* Filter drawer color swatches */
.color-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter__item--color {
  display: flex;
  align-items: center;
}

.filter__color-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter__color-link:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.filter__color-link--active {
  border-color: #000;
  background-color: #f0f0f0;
  font-weight: 500;
}

.filter__color-link .swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
  flex-shrink: 0;
}

.filter__color-name {
  font-size: 14px;
  text-transform: capitalize;
}

.filter__remove {
  font-size: 16px;
  color: #666;
  margin-left: 8px;
  font-weight: bold;
  cursor: pointer;
}

.filter__remove:hover {
  color: #333;
}

/* Enhanced filter states */
.filter__item--active {
  background-color: #f8f8f8;
  border-radius: 4px;
}

.filter__item--active a {
  font-weight: 500;
}

/* Cumulative filter improvements */
.filter__item-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter__item-wrapper ul li {
  margin-bottom: 4px;
}

.filter__item-wrapper ul a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter__item-wrapper ul a:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.filter__item--active a {
  border-color: #000;
  background-color: #f0f0f0;
}

/* Apply button styling */
.filter__wrapper .btn--add-to-cart {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
}

.filter__wrapper .btn--add-to-cart:hover {
  background-color: #333;
}

/* Modern Shopify Filters (Search & Discovery) */
.collection-filters {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}

/* Drawer version of filters */
.collection-filters__form--drawer {
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.collection-filters__form--drawer .filter__item-wrapper {
  margin-bottom: 0;
}

.collection-filters__form--drawer .collection-filter__price-range {
  gap: 5px;
}

.collection-filters__form--drawer .collection-filter__price-range .field {
  margin-bottom: 10px;
}

.collection-filters__form--drawer .collection-filter__price-range input {
  padding: 6px;
  font-size: 13px;
}

.collection-filters__form--drawer .collection-filter__price-range label {
  font-size: 11px;
  margin-bottom: 2px;
}

/* Hide checkbox in drawer, use label styling */
.collection-filters__form--drawer input[type="checkbox"] {
  display: none !important;
}

.collection-filters__form--drawer .filter__color-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background: white;
  margin-bottom: 4px;
}

.collection-filters__form--drawer .filter__color-link:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.collection-filters__form--drawer .filter__color-link--active {
  border-color: #000;
  background-color: #f0f0f0;
  font-weight: 500;
}

.collection-filters__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: start;
}

.collection-filter {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.collection-filter__title {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.collection-filter__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-filter__option {
  display: flex;
  align-items: center;
}

.collection-filter__option input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.collection-filter__label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.collection-filter__label:hover {
  color: #000;
}

/* Color filter swatches for Search & Discovery */
.collection-filter--filter\.v\.option\.color .filter-swatch,
.collection-filter[class*="color"] .filter-swatch,
.filter-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Pattern swatches in collection filters */
.collection-filter--filter\.v\.option\.color .filter-swatch[style*="background: url"],
.collection-filter[class*="color"] .filter-swatch[style*="background: url"],
.filter-swatch[style*="background: url"] {
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* White/light colors need darker border */
.filter-swatch[style*="background-color: #fff"],
.filter-swatch[style*="background-color: #ffffff"],
.filter-swatch[style*="background-color: white"],
.filter-swatch[style*="background-color: #f"],
.swatch-white {
  border: 2px solid #ccc !important;
}

/* Price range filters */
.collection-filter__price-range {
  display: flex;
  gap: 10px;
  align-items: center;
}

.collection-filter__price-range .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-filter__price-range input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.collection-filter__price-range label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

/* Filter actions */
.collection-filters__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.collection-filters__actions .btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.collection-filters__actions .btn--primary {
  background-color: #000;
  color: #fff;
}

.collection-filters__actions .btn--primary:hover {
  background-color: #333;
}

.collection-filters__actions .btn--secondary {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.collection-filters__actions .btn--secondary:hover {
  background-color: #f0f0f0;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .collection-filters__form {
    grid-template-columns: 1fr;
  }

  .collection-filter__price-range {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-filters__actions {
    flex-direction: column;
  }
}

/* Product Card Carousel */
.product-carousel {
  position: relative;
  width: 100%;
  display: block;
}

.product-carousel__container {
  position: relative;
  width: 100%;
}

.product-carousel__track {
  width: 100%;
}

.product-carousel__slide {
  outline: none;
}

/* Use existing theme styles for product--wrapper and product--image */
.product-carousel__slide .product--wrapper {
  width: 100%;
  background: #f1f1f1;
}

.product-carousel__slide .product-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-carousel__slide .product-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Controls */
.product-carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.product-carousel:hover .product-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.product-carousel__prev,
.product-carousel__next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-carousel__prev:hover,
.product-carousel__next:hover {
  background: white;
  transform: scale(1.1);
}

.product-carousel__prev svg,
.product-carousel__next svg {
  color: #333;
}


/* Video handling in carousel */
.product-carousel__slide .product-video {
  width: 100%;
  height: 100%;
}

.product-carousel__slide .product-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .product-carousel__nav {
    padding: 0 5px;
  }

  .product-carousel__prev,
  .product-carousel__next {
    width: 28px;
    height: 28px;
  }

  .product-carousel__prev svg,
  .product-carousel__next svg {
    width: 6px;
    height: 10px;
  }

  /* Show navigation on touch devices */
  .product-carousel__nav {
    opacity: 0.7;
    pointer-events: auto;
  }
}

/* Touch/swipe support */
.product-carousel__track {
  touch-action: pan-y;
}

/* Accessibility improvements */
.product-carousel__prev:focus,
.product-carousel__next:focus,
.product-carousel__dot:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Master Product Color Switching */
.master-product-colors {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.master-product-colors__label h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.master-product-colors__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.master-product-color {
  display: flex;
  align-items: center;
}

.master-product-color__link,
.master-product-color__swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.master-product-color__link:hover {
  border-color: #ccc;
  background-color: #f9f9f9;
}

.master-product-color--current .master-product-color__swatch {
  border-color: #000;
  background-color: #f0f0f0;
  cursor: default;
}

.master-product-color__link .swatch,
.master-product-color__swatch .swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
  flex-shrink: 0;
}

.master-product-color__name {
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

.master-product-color--current .master-product-color__name {
  font-weight: 600;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .master-product-colors__swatches {
    gap: 8px;
  }

  .master-product-color__link,
  .master-product-color__swatch {
    padding: 6px 10px;
    gap: 6px;
  }

  .master-product-color__link .swatch,
  .master-product-color__swatch .swatch {
    width: 20px;
    height: 20px;
  }

  .master-product-color__name {
    font-size: 13px;
  }
}
