.product-markers {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #141414;
  color: #fff;
  padding: 5px;
}

.image-wrapper {
  width: 100%;
  /* product photo ratio from Figma (164x200); height follows the slide width:
     ~200px on the 164px mobile card, ~362px on the 297px desktop card */
  aspect-ratio: 164 / 200;
  cursor: pointer;
  background: #F1F1F1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  /* contain (not cover): wide/odd-ratio photos scale to fit the frame
     instead of being zoom-cropped; letterbox blends with the #F1F1F1 bg */
  object-fit: contain;
}
.slider-product-card {
  width: 297px;
  position: relative;
  z-index: 1;
}
.slider-product-card:hover {
  z-index: 2;
}
.slider-product-card:hover .card-inner {
  background: #fff;
  transform: scale(1.02);
}
@media (max-width: 1120px) {
  .slider-product-card:hover .card-inner {
    border: 0px solid rgba(0, 0, 0, 0);
    transform: scale(1);
  }
}
@media (max-width: 567px) {
  .slider-product-card {
    width: 100%;
  }
}
.slider-product-card .card-inner {
  border: 1px solid rgba(0, 0, 0, 0);
  background: transparent;
  transform: scale(1);
  transition: 0.2s 0s;
}
@media (max-width: 767px) {
  .slider-product-card .card-inner {
    padding: 0;
  }
}
.slider-product-card .info {
  margin-top: 20px;
}
.slider-product-card .info .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 20px;
  font-size: var(--fs-body);
  font-weight: 300;
  color: #141414;
  margin: 0;
  height: 60px;
  user-select: none;
  cursor: pointer;
}
@media (max-width: 767px) {
  .slider-product-card .info .title {
    font-size: 16px;
  }
}
.slider-product-card .info .category {
  margin-top: 5px;
  font-size: 16px;
  color: #A6A2A2;
  font-weight: 300;
  margin-bottom: 0px;
}
@media (max-width: 767px) {
  .slider-product-card .info .category {
    font-size: 12px;
  }
}
.slider-product-card .info .rating {
  margin-top: 30px;
}
.slider-product-card .info .rating.no-reviews {
  opacity: 0.3;
}
.slider-product-card .info .price {
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  color: #000;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 767px) {
  .slider-product-card .info .price {
    font-size: 16px;
  }
}
.slider-product-card .info .variants {
  display: flex;
  gap: 8px;
  margin: 22px 0px;
  height: 32px !important;
}
.slider-product-card .info .variants .variation-btn {
  cursor: pointer;
  display: flex;
  border: 1px solid #A6A2A2;
  color: #A6A2A2;
  padding: 5px 32px;
  background: transparent;
  font-size: 16px;
  font-weight: 300;
  transition: 0.3s 0s;
}
@media (max-width: 767px) {
  .slider-product-card .info .variants .variation-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
}
/* Mobile spacing + badge — match Figma Mob_Startpage product card
   (card rhythm: image→info 15, title→cat 4, cat→rating 15, price→variants 15) */
@media (max-width: 767px) {
  .slider-product-card .info {
    margin-top: 15px;
  }
  .slider-product-card .info .category {
    margin-top: 4px;
  }
  .slider-product-card .info .rating {
    margin-top: 15px;
  }
  .slider-product-card .info .variants {
    margin: 15px 0;
  }
  .slider-product-card .product-markers {
    top: 8px;
    left: 8px;
  }
  .slider-product-card .badge {
    font-size: 12px;
  }
}
.slider-product-card .info .variants .variation-btn:hover {
  color: #141414;
  border-color: #141414;
}
.slider-product-card .info .variants .variation-btn.default {
  color: #141414;
  border-color: #141414;
}
.slider-product-card .info .sale-price {
  color: #FF5252 !important;
}
.slider-product-card .info .regular-price {
  color: #A6A2A2 !important;
  font-size: var(--fs-caption);
  font-weight: var(--fw-body);
  text-decoration-line: line-through;
}
.slider-product-card .buy-variation-btn {
  width: 100%;
}
.slider-product-card .buy-variation-btn .btn_content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media (max-width: 767px) {
  .slider-product-card .buy-variation-btn .btn_content span {
    display: none;
  }
}
.slider-product-card .buy-variation-btn .loader {
  display: none;
}
.slider-product-card .add_to_cart_button {
  width: 100%;
}
.slider-product-card .add_to_cart_button .btn_content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.slider-product-card .add_to_cart_button .loader {
  display: none;
}
