/* ============================================================================
   NUE CATEGORY CARDS — InSales-style product cards

   This stylesheet is deliberately scoped to .nue-category-page and
   .nue-category-card. It does not target #single-product or product-page
   selectors.
============================================================================ */

:root body {
  --nue-category-accent: var(--color-btn-bg, #899072);
  --nue-category-accent-hover: var(--color-btn-bg-minor-shade, #969c82);
  --nue-category-text: var(--color-text, var(--color-text-dark, #555555));
  --nue-category-muted: var(--nue-muted, var(--color-text-dark-half-shade, #aaaaaa));
  --nue-category-sale: var(--nue-sale, #cc4e44);
  --nue-category-bg: var(--bg, #ffffff);
  --nue-category-soft-bg: var(--bg-minor-shade, #f7f7f7);
  --nue-category-border: var(--bg-major-shade, #ededed);
  --nue-category-radius: var(--controls-btn-border-radius, 0px);
}

.nue-category-page .nue-category-grid {
  align-items: stretch;
}

.nue-category-page .nue-category-card {
  position: relative;
  margin-bottom: 38px;
}

.nue-category-page .nue-category-card > .item,
.nue-category-page .nue-category-card .js-product-container {
  height: 100%;
}

/* Image slider ------------------------------------------------------------- */

.nue-category-page .nue-category-card-media,
.nue-category-page .nue-category-card-image-ratio {
  position: relative;
  overflow: hidden;
  border-radius: var(--nue-category-radius);
  background: var(--nue-category-soft-bg);
}

.nue-category-page .nue-category-card-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.nue-category-page .nue-category-card-slider .swiper-wrapper,
.nue-category-page .nue-category-card-slider .swiper-slide,
.nue-category-page .nue-category-card-image-link {
  width: 100%;
  height: 100%;
}

.nue-category-page .nue-category-card-image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.nue-category-page .nue-category-card-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nue-category-page .nue-category-card:hover .nue-category-card-image {
    transform: scale(1.015);
  }
}

.nue-category-page .nue-category-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 50%;
 background: none;
    border: none;
    box-shadow: none;
  color: var(--nue-category-text);
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  opacity: 100%;
  visibility: visibility;
  transition: opacity 180ms ease, visibility 180ms ease, background-color 180ms ease;
}

.nue-category-page .nue-category-slider-arrow::after {
  display: none;
}

.nue-category-page .nue-category-slider-arrow span {
  display: block;
  transform: translateY(-1px);
}

.nue-category-page .nue-category-slider-arrow-prev {
  left: 10px;
}

.nue-category-page .nue-category-slider-arrow-next {
  right: 10px;
}

.nue-category-page .nue-category-card:hover .nue-category-slider-arrow:not(.swiper-button-disabled) {
  opacity: 1;
  visibility: visible;
}



.nue-category-page .nue-category-slider-arrow.swiper-button-disabled {
visibility: visible !important;
    opacity: 50% !important;
  pointer-events: none;
}

/* Labels ------------------------------------------------------------------- */

.nue-category-page .nue-category-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 7;
  min-height: 28px;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nue-category-radius);
  background: var(--nue-category-sale);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

/* Colour links ------------------------------------------------------------- */

.nue-category-page .nue-category-colors-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  border-radius: 0px;
    background: none;
    padding: 0;
}


  .nue-category-page .nue-category-card .nue-category-colors-overlay,
  .nue-category-page .nue-category-colors-overlay:focus-within {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.nue-category-page .nue-category-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
      justify-content: end;
	  
    margin-bottom: 15px;
    margin-right: 15px;
}

.nue-category-page .nue-category-colors-label {
  display: none;
}

.nue-category-page .nue-category-colors-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.nue-category-page .nue-category-color-link {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0px;
  background: var(--nue-category-bg);
  color: var(--nue-category-text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nue-category-page .nue-category-color-swatch {

  display: block;
  border: 1px solid rgba(85, 85, 85, 0.16);
 
  
      border-radius: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.nue-category-page .nue-category-color-link:hover,
.nue-category-page .nue-category-color-link:focus-visible,
.nue-category-page .nue-category-color-link.is-current {
  border-color: var(--nue-category-accent);
  box-shadow: 0 0 0 1px var(--nue-category-bg);
  outline: none;
}

.nue-category-page .nue-category-colors-more {
  min-width: 26px;
  height: 22px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nue-category-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.nue-category-page .nue-category-colors-more:hover {
  color: var(--nue-category-accent);
}

/* Product information ------------------------------------------------------ */

.nue-category-page .nue-category-card-content {
  padding: 14px 4px 0;
  text-align: left !important;
}

.nue-category-page .nue-category-card-info-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.nue-category-page .nue-category-card-title {
  min-height: 0;
  margin: 0 0 7px !important;
  color: var(--nue-category-text);
  font-family: var(--font-family, inherit);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  opacity: 1 !important;
}

.nue-category-page .nue-category-card-info-link:hover .nue-category-card-title {
  color: var(--nue-category-accent);
}

.nue-category-page .nue-category-card-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--nue-category-muted);
  line-height: 1.25;
}

.nue-category-page .nue-category-card-price {
  display: inline-block;
  color: var(--nue-category-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nue-category-page .nue-category-card-has-sale .nue-category-card-price {
  color: var(--nue-category-sale);
}

.nue-category-page .nue-category-card-compare-price {
  display: inline-block;
  order: 2;
  color: var(--nue-category-muted);
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
  white-space: nowrap;
}

.nue-category-page .nue-category-card-unavailable .nue-category-card-image {
  opacity: 0.72;
}

.nue-category-page .nue-category-card .item-actions {
  text-align: left;
}


@media (prefers-reduced-motion: reduce) {
  .nue-category-page .nue-category-card-image,
  .nue-category-page .nue-category-slider-arrow,
  .nue-category-page .nue-category-colors-overlay,
  .nue-category-page .nue-category-color-link {
    transition: none !important;
  }
}
.nue-category-page .nue-category-card-image-ratio {
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

.nue-category-page .nue-category-card-slider .swiper-wrapper,
.nue-category-page .nue-category-card-slider .swiper-slide,
.nue-category-page .nue-category-card-image-link {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

