.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card .tn-elem {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  gap: 10px;
}

.product-card__media {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 15px;
  overflow: hidden;
}

.product-card .tn-elem.product-card__image,
.product-card .tn-elem.product-card__image-hover {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.product-card .tn-elem .tn-atom.t-bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.product-card .product-card__image-hover .tn-atom {
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: contain;
}

.product-card__media:hover .product-card__image-hover .tn-atom {
  opacity: 1;
  background-size: contain;
}

.product-card__media:hover .product-card__image .tn-atom {
  opacity: 0;
  background-size: contain;
}

.product-card__image a {
  background-size: contain !important;
}

.product-card p {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  vertical-align: middle;
  margin-top: -5px;
  margin-bottom: 10px;
}

.product-card .tn-elem[data-elem-type="text"] .tn-atom {
  display: block;
}

.product-card .tn-elem[data-elem-id="1692104725947"] .tn-atom {
  vertical-align: middle !important;
  color: #433228 !important;
  font-size: 18px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  background-position: center center !important;
  border-color: transparent !important;
  border-style: solid !important;
  height: 36px;
  max-height: 40px;
  overflow: hidden;
}

.product-card .tn-elem[data-elem-id="1692104725968"] .tn-atom,
.product-card .tn-elem[data-elem-id="1741951305986"] .tn-atom {
  vertical-align: middle !important;
  color: #433228 !important;
  font-size: 14px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  background-position: center center !important;
  border-color: transparent !important;
  border-style: solid !important;
}

.product-card .tn-elem[data-elem-id="1719424462142"] .tn-atom {
  vertical-align: middle !important;
  color: #433228 !important;
  font-size: 18px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

.product-card__actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

.product-card__actions .tn-elem {
  margin: 0;
  flex: 0 0 100%;
}

.product-card__actions .tn-elem .tn-atom {
  display: inline-flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}

.product-card .tn-elem[data-elem-id="1692104725953"] .tn-atom {
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  border-radius: 100px !important;
  background-color: rgba(250, 166, 26, 1) !important;
  background-position: center center !important;
  border-color: transparent !important;
  border-style: solid !important;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out !important;
  width: 125px;
}

@media (hover), (min-width:0\0) {
  .product-card .tn-elem[data-elem-id="1692104725953"] .tn-atom:hover {
    color: #fcf1eb !important;
  }
}

@media (hover), (min-width:0\0) {
  .product-card .tn-elem[data-elem-id="1692104725953"] .tn-atom:hover {
    background-color: rgba(186, 27, 30, 1) !important;
    background-image: none !important;
  }
}

.product-card .product-card__actions--related.is-out-of-stock .tn-elem[data-elem-id="1692104725953"] .tn-atom.js-related-add,
.product-card .tn-elem[data-elem-id="1692104725953"] .tn-atom.js-related-add.is-disabled {
  background: rgba(123, 110, 102, 0.35) !important;
  background-color: rgba(123, 110, 102, 0.35) !important;
  border-color: rgba(123, 110, 102, 0.35) !important;
  color: rgba(67, 50, 40, 0.7) !important;
  text-align: center !important;
  cursor: not-allowed;
  pointer-events: none;
}

@media (hover), (min-width:0\0) {
  .product-card .product-card__actions--related.is-out-of-stock .tn-elem[data-elem-id="1692104725953"] .tn-atom.js-related-add:hover,
  .product-card .tn-elem[data-elem-id="1692104725953"] .tn-atom.js-related-add.is-disabled:hover {
    background: rgba(123, 110, 102, 0.35) !important;
    background-color: rgba(123, 110, 102, 0.35) !important;
    background-image: none !important;
    color: rgba(67, 50, 40, 0.7) !important;
  }
}

.product-card .tn-elem[data-elem-id="1692104725958"] .tn-atom {
  color: rgba(67, 50, 40, 1) !important;
  font-size: 14px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  background-color: transparent !important;
  background-position: center center !important;
  border-color: rgba(67, 50, 40, 1) !important;
  border-style: solid !important;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out !important;
  border-width: 2px;
  width: 133px;
}

@media (hover), (min-width:0\0) {
  .product-card .tn-elem[data-elem-id="1692104725958"] .tn-atom:hover {
    color: #fff !important;
  }
}

@media (hover), (min-width:0\0) {
  .product-card .tn-elem[data-elem-id="1692104725958"] .tn-atom:hover {
    background-color: #433228 !important;
    background-image: none !important;
  }
}

.product-card__actions.product-card__actions--related {
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  flex-direction: row;
  align-items: center;
}

.product-card__actions.product-card__actions--related .tn-elem {
  flex: 0 0 auto;
}

.product-card__actions.product-card__actions--related .tn-elem .tn-atom {
  width: auto;
}

.product-card__actions.product-card__actions--related.is-qty {
  justify-content: flex-start;
}

.product-card__actions.product-card__actions--related.is-qty .tn-elem[data-elem-id="1692104725953"] {
  flex: 1 1 100%;
  width: 100%;
}

.product-card__actions.product-card__actions--related.is-qty .tn-elem[data-elem-id="1692104725958"] {
  display: none;
}

.product-card .related-qty.quantity-control {
  display: flex;
  border-radius: 100px;
  background: rgb(250 165 25);
  padding: 5px;
      margin-bottom: 10px;
  position: static !important;
  margin-top: 0 !important;
  width: 100% !important;
  justify-content: space-between;
  align-items: center;
}

.product-card .related-qty span {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  margin-right: 24px;
  margin-left: 24px;
  white-space: nowrap;
}

.product-card .related-qty .quantity-control__btn {
    line-height: 20px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.product-card .related-qty input.quantity-control__input {
  border: 0;
  background: transparent;
  color: rgba(67, 50, 40, 1);
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
  width: 64px;
  outline: none;
}

.product-card__retail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.product-card__retail-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-card__retail-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
}

.product-card__retail-icons .tn-atom__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.2s ease, scale 0.2s ease;
}

.product-card__retail-icons .tn-atom__img:hover {
  scale: 1.2;
}



@media (max-width: 479px) {
  .product-card__retail-icons a {
    width: 31px;
    height: 31px;
  }
  .product-card__actions {
        display: flex !important
;
        gap: 10px !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    .product-card__actions .tn-elem {
    width: 100% !important;
}
a.tn-atom.js-related-add {
    width: 100% !important;
}
a.tn-atom.js-related-detail {
    width: 100% !important;
}
.product-card .related-qty span {
    display: none;
}
.product-card .tn-elem {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: flex
;
        gap: 10px;
        flex-direction: row;
    }

}

/* Related products slider (detail page) */
.product-related-slider__controls {
  z-index: 5;
}

.product-page-bottom .product-related-slider__viewport {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-page-bottom .product-related-slider__viewport::-webkit-scrollbar {
  display: none;
}

.product-page-bottom .product-related-slider .product-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

.product-page-bottom .product-related-slider .product-card {
  flex: 0 0 calc((100% - 60px) / 4) !important;
}

@media (max-width: 1199px) {
  .product-page-bottom .product-related-slider .product-card {
    flex: 0 0 calc((100% - 40px) / 3) !important;
  }
}

@media (max-width: 959px) {
  .product-page-bottom .product-related-slider .product-card {
    flex: 0 0 calc((100% - 20px) / 2) !important;
  }
}

/* Mobile: 2 items per view */
@media (max-width: 639px) {
  .product-page-bottom .product-related-slider .product-card {
    flex: 0 0 calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 639px) {
  .product-card__media {
    height: 250px !important;
  }
  .product-page-top {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-direction: column;
}
.product-page-info {
    display: flex;
    gap: 40px;
    flex-direction: column;
}
.product-page-info-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
}
.product-gallery__controls {
    width: 105%;
}
}

#allrecords a.is-disabled {
  padding: 9px 10px !important;
  font-size: 12px !important;
  }