/* Testimonials overrides: flatten SCSS-style nesting into plain CSS */
.testimonials .wd-nav-arrows {
  /* Custom navigation arrows position - bottom left */
  position: static !important;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: 5px !important;
  margin-top: 10px;
  margin-bottom: 0;

  /* Reset default positioning */
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

.testimonials .wd-nav-arrows .wd-btn-arrow {
  /* Arrow buttons styling */
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  /* Circle background */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonials .wd-nav-arrows .wd-btn-arrow .wd-arrow-inner {
  /* Arrow icon */
  font-size: 14px;
  color: #333;
  transition: color 0.3s ease;
  position: relative;
}

.testimonials .wd-nav-arrows .wd-btn-arrow .wd-arrow-inner::before {
  /* Hide default arrow icons completely */
  display: none !important;
  content: none !important;
}

.testimonials .wd-nav-arrows .wd-btn-arrow.wd-prev .wd-arrow-inner::after {
  /* Custom Font Awesome chevron icon: fa-chevron-left */
  content: "\f053" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
}

.testimonials .wd-nav-arrows .wd-btn-arrow.wd-next .wd-arrow-inner::after {
  /* Custom Font Awesome chevron icon: fa-chevron-right */
  content: "\f054" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
}

.testimonials .wd-nav-arrows .wd-btn-arrow:hover {
  /* Hover effects */
  background-color: #ff7b54;
  border-color: #ff7b54;
}

.testimonials .wd-nav-arrows .wd-btn-arrow:hover .wd-arrow-inner {
  color: #fff;
}

.testimonials .wd-nav-arrows .wd-btn-arrow.wd-disabled {
  /* Disabled state */
  opacity: 0.5;
  cursor: not-allowed;
}

.testimonials .wd-nav-arrows .wd-btn-arrow.wd-disabled:hover {
  background-color: #fff;
  border-color: #000;
}

.testimonials .wd-nav-arrows .wd-btn-arrow.wd-disabled:hover .wd-arrow-inner {
  color: #333;
}

/* Responsive adjustments: max-width 767px */
@media (max-width: 767px) {
  .testimonials .wd-nav-arrows {
    gap: 5px;
    margin-top: 10px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow {
    width: 28px;
    height: 28px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow .wd-arrow-inner {
    font-size: 13px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow.wd-prev .wd-arrow-inner::after,
  .testimonials .wd-nav-arrows .wd-btn-arrow.wd-next .wd-arrow-inner::after {
    font-size: 13px !important;
  }
}

/* Responsive adjustments: max-width 479px */
@media (max-width: 479px) {
  .testimonials .wd-nav-arrows {
    gap: 5px;
    margin-top: 5px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow {
    width: 26px;
    height: 26px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow .wd-arrow-inner {
    font-size: 12px;
  }

  .testimonials .wd-nav-arrows .wd-btn-arrow.wd-prev .wd-arrow-inner::after,
  .testimonials .wd-nav-arrows .wd-btn-arrow.wd-next .wd-arrow-inner::after {
    font-size: 12px !important;
  }
}

/*
* Product list card
*/
.wd-product .product-wrapper {
  box-shadow: none !important;
  transition: box-shadow 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Product image styles */
.wd-product .product-wrapper .product-image-link img {
  border-radius: 10px;
  max-height: 472px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .product-image-link img {
    max-height: 350px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .product-image-link img {
    max-height: 280px;
    border-radius: 8px;
  }
}

/* Product element bottom */
.wd-product .product-wrapper .product-element-bottom {
  padding: 15px 0 0px;
  gap: 10px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .product-element-bottom {
    padding: 12px 0 0px;
    gap: 12px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .product-element-bottom {
    padding: 10px 0 0px;
    gap: 10px;
  }
}

/* .home parent case: when .home contains the element */
.home .wd-product .product-wrapper .product-element-bottom {
  gap: 15px;
}

@media (max-width: 767px) {
  .home .wd-product .product-wrapper .product-element-bottom {
    gap: 15px;
  }
}

@media (max-width: 479px) {
  .home .wd-product .product-wrapper .product-element-bottom {
    gap: 15px;
  }
}

.wd-product .product-wrapper .product-element-bottom .wd-entities-title {
  order: 1;
}

.wd-product .product-wrapper .product-element-bottom .price {
  order: 2;
}

.wd-product .product-wrapper .product-element-bottom .wd-swatches-product {
  order: 3;
  margin-top: 8px;
}

/* Entities title */
.wd-product .product-wrapper .wd-entities-title {
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-entities-title {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-entities-title {
    font-size: 14px;
  }
}

/* Hover title color */
.wd-product .product-wrapper:hover .wd-entities-title {
  color: var(--wd-primary-color);
}

/* Swatches */
.wd-product .product-wrapper .wd-swatches-product .wd-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #eeeeee;
  padding: 4px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 24px;
    height: 24px;
    padding: 3px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 22px;
    height: 22px;
    padding: 3px;
  }
}

.wd-product
  .product-wrapper
  .wd-swatches-product
  .wd-swatch:hover:not(.wd-active)::after {
  opacity: 0;
  display: none;
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
  padding: 6px;
  border-color: #000;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 5px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 4px;
  }
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active::after {
  opacity: 0;
  display: none;
}

.wd-product .product-wrapper .wd-swatches-product.wd-swatches-grid {
  margin-top: 0;
}

/* Amount and price */
.wd-product .product-wrapper .amount,
.wd-product .product-wrapper .price {
  color: #000;
  font-weight: 600;
  font-size: 18px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .amount,
  .wd-product .product-wrapper .price {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .amount,
  .wd-product .product-wrapper .price {
    font-size: 14px;
  }
}

.wd-product .product-wrapper del,
.wd-product .product-wrapper del .woocommerce-Price-amount,
.wd-product .product-wrapper .price del,
.wd-product .product-wrapper .price del .amount {
  color: #666666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper del,
  .wd-product .product-wrapper del .woocommerce-Price-amount,
  .wd-product .product-wrapper .price del,
  .wd-product .product-wrapper .price del .amount {
    font-size: 13px !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper del,
  .wd-product .product-wrapper del .woocommerce-Price-amount,
  .wd-product .product-wrapper .price del,
  .wd-product .product-wrapper .price del .amount {
    font-size: 12px !important;
  }
}

.wd-product .product-wrapper ins,
.wd-product .product-wrapper ins .woocommerce-Price-amount,
.wd-product .product-wrapper .price ins,
.wd-product .product-wrapper .price ins .amount {
  color: #000 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper ins,
  .wd-product .product-wrapper ins .woocommerce-Price-amount,
  .wd-product .product-wrapper .price ins,
  .wd-product .product-wrapper .price ins .amount {
    font-size: 16px !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper ins,
  .wd-product .product-wrapper ins .woocommerce-Price-amount,
  .wd-product .product-wrapper .price ins,
  .wd-product .product-wrapper .price ins .amount {
    font-size: 14px !important;
  }
}

.wd-product .product-wrapper del + ins {
  margin-left: 16px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper del + ins {
    margin-left: 12px;
  }
}

/* Compatibility overrides: ensure product card styles apply even when .wd-hover-tiled class is absent
   These mirror the parent theme's tiled rules but target .wd-product directly so child theme
   styles remain effective regardless of the presence of the theme-specific class. */
.wd-product .product-wrapper .wd-swatches-product .wd-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #eee;
  padding: 4px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 24px;
    height: 24px;
    padding: 3px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 22px;
    height: 22px;
    padding: 3px;
  }
}

.wd-product
  .product-wrapper
  .wd-swatches-product
  .wd-swatch:hover:not(.wd-active)::after {
  opacity: 0;
  display: none;
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
  padding: 6px;
  border-color: #000;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 5px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 4px;
  }
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active::after {
  opacity: 0;
  display: none;
}

/* Force image containment/height on product cards where parent rules were tied to .wd-hover-tiled */
.wd-product .product-wrapper .product-image-link img {
  object-fit: contain !important;
  height: 100% !important;
  width: 100% !important;
}

@media (max-width: 576px) {
  .wd-product .product-wrapper .product-image-link img {
    height: 310px !important;
  }
}

/* Ensure product items don't inherit inline widths from sliders at small breakpoints */
@media (max-width: 767px) {
  .wd-product {
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper del + ins {
    margin-left: 8px;
  }
}

/* Compatibility: apply same styles to .wd-product (when .wd-hover-tiled isn't present)
   This ensures the theme styles work even if wd-hover-tiled class is not added. */
.wd-product .product-wrapper {
  box-shadow: none !important;
  transition: box-shadow 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.wd-product .product-wrapper .product-image-link img {
  border-radius: 10px !important;
  max-height: 500px !important;
  height: 100% !important;
  object-fit: cover !important;
  min-height: 310px !important;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .product-image-link img {
    max-height: 350px;
    min-height: 310px !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .product-image-link img {
    max-height: 280px;
    border-radius: 8px;
    min-height: 210px !important;
  }
}

.wd-product .product-wrapper .product-element-bottom {
  padding: 15px 0 0px;
  gap: 10px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .product-element-bottom {
    padding: 12px 0 0px;
    gap: 12px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .product-element-bottom {
    padding: 10px 0 0px;
    gap: 10px;
  }
}

.wd-product .product-wrapper .product-element-bottom .wd-entities-title {
  order: 1;
}

.wd-product .product-wrapper .product-element-bottom .price {
  order: 2;
}

.wd-product .product-wrapper .product-element-bottom .wd-swatches-product {
  order: 3;
  margin-top: 8px;
}

.wd-product .product-wrapper .wd-entities-title {
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-entities-title {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-entities-title {
    font-size: 14px;
  }
}

.wd-product .product-wrapper:hover .wd-entities-title {
  color: var(--wd-primary-color);
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #eeeeee;
  padding: 4px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 24px;
    height: 24px;
    padding: 3px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch {
    width: 22px;
    height: 22px;
    padding: 3px;
  }
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
  padding: 6px;
  border-color: #000;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 5px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active {
    padding: 4px;
  }
}

.wd-product .product-wrapper .wd-swatches-product .wd-swatch.wd-active::after {
  opacity: 0;
  display: none;
}

.wd-product .product-wrapper .wd-swatches-product.wd-swatches-grid {
  margin-top: 0;
}

.wd-product .product-wrapper .amount,
.wd-product .product-wrapper .price {
  color: #000;
  font-weight: 600;
  font-size: 18px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper .amount,
  .wd-product .product-wrapper .price {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper .amount,
  .wd-product .product-wrapper .price {
    font-size: 14px;
  }
}

.wd-product .product-wrapper del,
.wd-product .product-wrapper del .woocommerce-Price-amount,
.wd-product .product-wrapper .price del,
.wd-product .product-wrapper .price del .amount {
  color: #666666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper del,
  .wd-product .product-wrapper del .woocommerce-Price-amount,
  .wd-product .product-wrapper .price del,
  .wd-product .product-wrapper .price del .amount {
    font-size: 13px !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper del,
  .wd-product .product-wrapper del .woocommerce-Price-amount,
  .wd-product .product-wrapper .price del,
  .wd-product .product-wrapper .price del .amount {
    font-size: 12px !important;
  }
}

.wd-product .product-wrapper ins,
.wd-product .product-wrapper ins .woocommerce-Price-amount,
.wd-product .product-wrapper .price ins,
.wd-product .product-wrapper .price ins .amount {
  color: #000 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper ins,
  .wd-product .product-wrapper ins .woocommerce-Price-amount,
  .wd-product .product-wrapper .price ins,
  .wd-product .product-wrapper .price ins .amount {
    font-size: 16px !important;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper ins,
  .wd-product .product-wrapper ins .woocommerce-Price-amount,
  .wd-product .product-wrapper .price ins,
  .wd-product .product-wrapper .price ins .amount {
    font-size: 14px !important;
  }
}

.wd-product .product-wrapper del + ins {
  margin-left: 16px;
}

@media (max-width: 767px) {
  .wd-product .product-wrapper del + ins {
    margin-left: 12px;
  }
}

@media (max-width: 479px) {
  .wd-product .product-wrapper del + ins {
    margin-left: 8px;
  }
}

