/* Ekleo catalog product card v1.4.5 - isolated card markup for Deluxe. */

.product-layout_cat.ekleo-product-card-v14,
.product-layout_cat.ekleo-product-card-v14 * {
  box-sizing: border-box;
}

/* In grid mode the original Deluxe card stays in DOM for its JS actions,
   but is visually removed. In list mode we leave the original theme intact. */
.product-layout_cat.product-grid.ekleo-product-card-v14 .ekleo-original-card-v14 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.product-layout_cat.product-list.ekleo-product-card-v14 .ekleo-card-v14 {
  display: none !important;
}

.product-layout_cat.product-grid.ekleo-product-card-v14 {
  display: flex !important;
  align-items: stretch !important;
  margin-bottom: 24px !important;
}

.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap:hover,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i:hover,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-box,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i:hover .gtile-i-box {
  position: relative !important;
  float: none !important;
  display: flex !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  z-index: auto !important;
}

/* Deluxe draws its own frame around the old tile. Remove every outer frame so
   only the new Ekleo card border remains visible. */
.product-layout_cat.product-grid.ekleo-product-card-v14,
.product-layout_cat.product-grid.ekleo-product-card-v14:hover,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap:hover,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i:hover,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-box,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-box:hover {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i:before,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i:after,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap:before,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-wrap:after,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-box:before,
.product-layout_cat.product-grid.ekleo-product-card-v14 .gtile-i-box:after {
  display: none !important;
  content: none !important;
}

.product-layout_cat.product-grid.ekleo-product-card-v14 .ekleo-card-v14 {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #fff;
  color: #080808;
  box-shadow: none;
}

.ekleo-card-v14__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  padding: 14px 14px 4px;
  background: #fff;
}

.ekleo-card-v14__image-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ekleo-card-v14__image-link img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.ekleo-card-v14__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #111;
  cursor: pointer;
}

.ekleo-card-v14__wishlist svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ekleo-card-v14__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 8px 14px 14px;
}

.ekleo-card-v14__title {
  display: block !important;
  height: auto !important;
  min-height: var(--ekleo-title-equal-height, 0px) !important;
  max-height: none !important;
  margin: 0 0 11px;
  overflow: visible !important;
  color: #080808 !important;
  font-size: 14px !important;
  line-height: 17px !important;
  font-weight: 700;
  text-align: left;
  text-decoration: none !important;
  white-space: normal !important;
  text-overflow: clip;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  line-clamp: unset;
}

.ekleo-card-v14__title:hover {
  color: #080808 !important;
}

.ekleo-card-v14__prices {
  display: flex;
  flex-direction: column;
  min-height: 51px;
  margin-top: auto;
  margin-bottom: 12px;
  text-align: left;
}

.ekleo-card-v14__old-price {
  min-height: 16px;
  margin: 0 0 4px;
  color: #878787;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 400;
  text-decoration: line-through;
}

.ekleo-card-v14__price {
  color: #050505;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
}

.ekleo-card-v14__info {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 8px !important;
  background: #f3f3f3;
  color: #111;
  text-align: left;
}

.ekleo-card-v14__tag,
.ekleo-card-v14__help {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.ekleo-card-v14__tag {
  width: 29px;
  height: 29px;
  margin-right: 9px;
}

.ekleo-card-v14__tag svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ekleo-card-v14__info-text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.ekleo-card-v14__info-text strong {
  margin: 0 0 2px;
  color: #111;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
}

.ekleo-card-v14__info-text small {
  color: #777;
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 400;
}

.ekleo-card-v14__help {
  display: flex;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #4b4b4b;
  cursor: help;
  font: inherit;
  line-height: 1;
  box-shadow: none;
}

.ekleo-card-v14__help:hover,
.ekleo-card-v14__help:focus {
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
}

.ekleo-card-v14__help svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #4b4b4b;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ekleo-card-v14__help .dot {
  fill: #4b4b4b;
  stroke: none;
}

.ekleo-card-v14__buy {
  display: flex;
  width: 100%;
  height: 49px;
  flex: 0 0 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #000;
  border-radius: 8px !important;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: none;
}

.ekleo-card-v14__buy:hover,
.ekleo-card-v14__buy:focus {
  border-color: #1b1b1b;
  background: #1b1b1b;
  color: #fff;
  outline: none;
}

.ekleo-card-v14__buy svg {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.ekleo-price-help-tooltip-v14 {
  position: fixed;
  z-index: 2147483000;
  display: block;
  width: max-content;
  max-width: min(360px, calc(100vw - 20px));
  padding: 11px 13px;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  text-align: left;
  white-space: pre-line;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.ekleo-price-help-tooltip-v14.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .product-layout_cat.product-grid.ekleo-product-card-v14 { margin-bottom: 18px !important; }
  .ekleo-card-v14__body { padding-left: 11px; padding-right: 11px; }
  .ekleo-card-v14__info { padding-left: 8px; padding-right: 8px; }
}

@media (max-width: 767px) {
  .product-layout_cat.product-grid.ekleo-product-card-v14 {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-bottom: 10px !important;
  }

  .product-layout_cat.product-grid.ekleo-product-card-v14 .ekleo-card-v14 { border-radius: 8px; }
  .ekleo-card-v14__media { padding: 7px 7px 2px; }
  .ekleo-card-v14__wishlist { top: 6px; right: 6px; width: 30px; height: 30px; }
  .ekleo-card-v14__wishlist svg { width: 22px; height: 22px; }
  .ekleo-card-v14__body { padding: 5px 7px 7px; }
  .ekleo-card-v14__title { height: auto !important; min-height: var(--ekleo-title-equal-height, 0px) !important; max-height: none !important; margin-bottom: 7px; font-size: 11.5px !important; line-height: 14px !important; overflow: visible !important; -webkit-line-clamp: unset !important; line-clamp: unset; }
  .ekleo-card-v14__prices { min-height: 40px; margin-bottom: 7px; }
  .ekleo-card-v14__old-price { min-height: 12px; margin-bottom: 2px; font-size: 10px; }
  .ekleo-card-v14__price { font-size: 17px; }
  .ekleo-card-v14__info { min-height: 49px; margin-bottom: 7px; padding: 6px 5px; border-radius: 6px; }
  .ekleo-card-v14__tag { width: 21px; height: 21px; margin-right: 5px; }
  .ekleo-card-v14__tag svg { width: 21px; height: 21px; }
  .ekleo-card-v14__info-text strong { font-size: 9.2px; line-height: 1.1; }
  .ekleo-card-v14__info-text small { font-size: 8px; line-height: 1.1; }
  .ekleo-card-v14__help { width: 15px; height: 15px; flex-basis: 15px; margin-left: 3px; }
  .ekleo-card-v14__help svg { width: 15px; height: 15px; }
  .ekleo-card-v14__buy { height: 39px; flex-basis: 39px; gap: 6px; padding: 0 5px; border-radius: 6px !important; font-size: 10.5px; }
  .ekleo-card-v14__buy svg { width: 21px; height: 21px; flex-basis: 21px; }
}

@media (max-width: 374px) {
  .ekleo-card-v14__info-text strong { font-size: 8.5px; }
  .ekleo-card-v14__info-text small { font-size: 7.6px; }
  .ekleo-card-v14__help { width: 14px; height: 14px; flex-basis: 14px; margin-left: 2px; }
  .ekleo-card-v14__help svg { width: 14px; height: 14px; }
  .ekleo-card-v14__buy { font-size: 9.5px; }
}

/* v1.4.5: restore Deluxe / Aridius catalogue stickers and keep them in the original horizontal row. */
.ekleo-card-v14__stickers {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  max-width: calc(100% - 64px);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  pointer-events: none;
}

.ekleo-card-v14__stickers .stickers-new,
.ekleo-card-v14__stickers .stickers-top,
.ekleo-card-v14__stickers .stickers-all,
.ekleo-card-v14__stickers .stickers-guarantee {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 2px 12px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  line-height: 20px !important;
  font-weight: 500;
  letter-spacing: 0 !important;
  white-space: nowrap;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  /* v1.4.6: on two-column mobile cards keep stickers in the same horizontal row,
     matching the original Deluxe catalogue behaviour. */
  .ekleo-card-v14__stickers {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 38px);
    flex-wrap: nowrap;
    gap: 3px;
  }

  .ekleo-card-v14__stickers .stickers-new,
  .ekleo-card-v14__stickers .stickers-top,
  .ekleo-card-v14__stickers .stickers-all,
  .ekleo-card-v14__stickers .stickers-guarantee {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 19px;
    padding: 1px 5px !important;
    border-radius: 5px !important;
    font-size: 8.5px !important;
    line-height: 17px !important;
    white-space: nowrap;
  }
}

@media (max-width: 374px) {
  .ekleo-card-v14__stickers {
    left: 6px;
    max-width: calc(100% - 34px);
    gap: 2px;
  }

  .ekleo-card-v14__stickers .stickers-new,
  .ekleo-card-v14__stickers .stickers-top,
  .ekleo-card-v14__stickers .stickers-all,
  .ekleo-card-v14__stickers .stickers-guarantee {
    padding: 1px 4px !important;
    font-size: 8px !important;
  }
}

