body#product {
  --hm-product-border: #e8edf2;
  --hm-product-ink: #16202a;
  --hm-product-muted: #637083;
  --hm-product-soft: #f7f9fb;
  --hm-product-green: #148452;
  --hm-product-green-dark: #0f6f45;
  --hm-product-blue: #2f74e6;
}

body#product .tvproduct-page-wrapper {
  margin-top: 10px;
}

body#product .tvprduct-image-info-wrapper {
  align-items: flex-start;
  row-gap: 18px;
}

body#product .tv-product-page-image,
body#product .tv-product-page-content {
  margin-bottom: 16px;
}

body#product .images-container {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}

body#product .product-cover {
  display: block !important;
  overflow: hidden;
  border: 1px solid var(--hm-product-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 34, 48, .06);
}

body#product .tvproduct-image-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 42vw, 540px);
  padding: 16px;
  background: #fff;
}

body#product .js-qv-product-cover,
body#product .product-cover img {
  width: 100%;
  height: auto;
  max-height: clamp(300px, 40vw, 520px);
  object-fit: contain;
}

body#product .tvvertical-slider {
  padding: 0;
}

body#product .tvvertical-slider .product-images {
  display: grid;
  gap: 8px;
}

body#product .tvvertical-slider .thumb {
  border: 1px solid var(--hm-product-border);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  transition: border-color .16s ease, box-shadow .16s ease;
}

body#product .tvvertical-slider .thumb.selected,
body#product .tvvertical-slider .thumb:hover {
  border-color: var(--hm-product-blue);
  box-shadow: 0 0 0 2px rgba(47, 116, 230, .14);
}

body#product .tv-product-page-content {
  position: relative;
}

body#product .tvproduct-title-brandimage {
  margin: 0 0 10px;
}

body#product .tvproduct-title-brandimage h1,
body#product #main h1[itemprop="name"] {
  margin: 0;
  color: var(--hm-product-ink);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: 0;
}

body#product .tvall-product-star-icon {
  margin: 4px 0 12px;
}

body#product .product-prices {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 10px 14px;
  border: 1px solid #dcefe6;
  border-radius: 8px;
  background: #f0faf5;
}

body#product .product-prices .current-price,
body#product .product-prices .price {
  color: var(--hm-product-green-dark);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.1;
}

body#product .product-prices .regular-price {
  color: #8a96a3;
  font-size: 14px;
}

body#product .tvproduct-page-decs {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--hm-product-border);
  border-radius: 8px;
  background: var(--hm-product-soft);
  color: #364252;
  font-size: 15px;
  line-height: 1.8;
}

body#product .product-information.tvproduct-special-desc,
body#product .product-actions {
  min-width: 0;
}

body#product .product-information.tvproduct-special-desc {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--hm-product-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 34, 48, .07);
}

body#product .product-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body#product .product-quantity {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

body#product .product-quantity .control-label {
  margin: 0;
  color: var(--hm-product-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

body#product .product-quantity .qty {
  margin: 0;
}

body#product #quantity_wanted {
  width: 76px;
  min-height: 46px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  color: var(--hm-product-ink);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  box-shadow: none;
}

body#product .tv-product-page-add-to-cart-wrapper,
body#product .tvcart-btn-model {
  flex: 1 1 240px;
  min-width: 0;
}

body#product .add-to-cart,
body#product button[data-button-action="add-to-cart"].add-to-cart,
body#product .tvall-inner-btn.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--hm-product-green);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 22px rgba(20, 132, 82, .22);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

body#product .add-to-cart:hover,
body#product button[data-button-action="add-to-cart"].add-to-cart:hover {
  background: var(--hm-product-green-dark);
  box-shadow: 0 14px 26px rgba(20, 132, 82, .28);
  transform: translateY(-1px);
}

body#product .add-to-cart:focus-visible,
body#product #quantity_wanted:focus-visible,
body#product .hm-product-sticky-bar__button:focus-visible,
.hm-smart-recommendations a:focus-visible,
.hm-smart-recommendations button:focus-visible {
  outline: 3px solid rgba(47, 116, 230, .35);
  outline-offset: 2px;
}

body#product .tvproduct-wishlist-compare {
  display: flex;
  align-items: center;
  gap: 8px;
}

body#product .tvproduct-wishlist-compare a,
body#product .tvproduct-wishlist-compare button {
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
}

body#product .hm-product-sticky-bar {
  display: none;
}

.hm-smart-recommendations {
  margin: 34px 0 18px;
  padding: 22px;
  border: 1px solid var(--hm-product-border, #e8edf2);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 12px 30px rgba(20, 34, 48, .08);
}

.hm-smart-recommendations__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f5;
}

.hm-smart-recommendations__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 3px 10px;
  border: 1px solid #cceedd;
  border-radius: 999px;
  background: #eaf8f1;
  color: #0f6b46;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.hm-smart-recommendations__header h2 {
  margin: 0;
  color: var(--hm-product-ink, #16202a);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.hm-smart-recommendations__header p {
  max-width: 460px;
  margin: 0;
  color: var(--hm-product-muted, #637083);
  font-size: 14px;
  line-height: 1.8;
}

.hm-smart-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hm-smart-recommendations__grid .product-miniature,
.hm-smart-recommendations__grid article {
  width: 100% !important;
  max-width: none;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.hm-smart-recommendations__grid .product-miniature:hover,
.hm-smart-recommendations__grid article:hover {
  border-color: #d7e1ea;
  box-shadow: 0 12px 24px rgba(20, 34, 48, .1);
  transform: translateY(-2px);
}

.hm-smart-recommendations .thumbnail-container {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden;
}

.hm-smart-recommendations .tvproduct-wrapper.grid-2,
.hm-smart-recommendations .tvproduct-wrapper.list,
.hm-smart-recommendations .tvproduct-wrapper.catelog {
  display: none !important;
}

.hm-smart-recommendations .tvproduct-wrapper.grid {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.hm-smart-recommendations .product-description,
.hm-smart-recommendations .tvproduct-description {
  min-height: 0;
}

.hm-smart-recommendations img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hm-smart-recommendations .product-title,
.hm-smart-recommendations .product-title a,
.hm-smart-recommendations h6,
.hm-smart-recommendations h6 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hm-product-ink, #16202a);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hm-smart-recommendations .price {
  color: var(--hm-product-green-dark, #0f6f45);
  font-size: 15px;
  font-weight: 900;
}

.hm-smart-recommendations .add-to-cart,
.hm-smart-recommendations button[data-button-action="add-to-cart"] {
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
}

@media (min-width: 992px) {
  body#product .product-information.tvproduct-special-desc {
    position: sticky;
    top: 86px;
  }
}

@media (max-width: 1199px) {
  .hm-smart-recommendations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body#product .images-container {
    gap: 10px;
  }

  body#product .tvproduct-image-slider {
    min-height: 320px;
  }

  body#product .product-information.tvproduct-special-desc {
    padding: 16px;
  }

  .hm-smart-recommendations {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  body#product {
    padding-bottom: 82px;
  }

  body#product .tvproduct-page-wrapper {
    margin-top: 0;
  }

  body#product .tvprduct-image-info-wrapper {
    row-gap: 10px;
  }

  body#product .images-container {
    display: block;
  }

  body#product .product-cover {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 10px;
  }

  body#product .tvproduct-image-slider {
    min-height: 260px;
    padding: 12px;
  }

  body#product .js-qv-product-cover,
  body#product .product-cover img {
    max-height: 300px;
  }

  body#product .tvvertical-slider {
    width: 100% !important;
    max-width: 100%;
  }

  body#product .tvvertical-slider .product-images {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  body#product .tvvertical-slider .tvcmsVerticalSlider,
  body#product .tvvertical-slider .item {
    flex: 0 0 70px;
  }

  body#product .tvvertical-slider .thumb {
    width: 70px;
    height: 70px;
  }

  body#product .tvproduct-title-brandimage h1,
  body#product #main h1[itemprop="name"] {
    display: block;
    overflow: visible;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.28;
    text-overflow: clip;
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: pretty;
  }

  body#product .product-prices {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
  }

  body#product .tvproduct-page-decs {
    margin: 10px 0 12px;
    padding: 12px;
    font-size: 14px;
  }

  body#product .product-information.tvproduct-special-desc {
    padding: 14px;
    box-shadow: 0 8px 20px rgba(20, 34, 48, .06);
  }

  body#product .product-add-to-cart {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  body#product .product-quantity {
    justify-content: flex-start;
  }

  body#product .product-quantity .control-label {
    display: none;
  }

  body#product #quantity_wanted {
    width: 92px;
  }

  body#product .tv-product-page-add-to-cart-wrapper,
  body#product .tvcart-btn-model {
    min-width: 0;
  }

  body#product .hm-product-sticky-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1005;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce4ec;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -12px 28px rgba(20, 34, 48, .14);
    transform: translateY(110%);
    transition: transform .2s ease;
  }

  body#product.hm-product-sticky-ready .hm-product-sticky-bar {
    transform: translateY(0);
  }

  body#product .hm-product-sticky-bar__info {
    min-width: 0;
  }

  body#product .hm-product-sticky-bar__label {
    display: block;
    overflow: hidden;
    max-width: 52vw;
    color: var(--hm-product-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body#product .hm-product-sticky-bar__price {
    display: block;
    margin-top: 3px;
    color: var(--hm-product-green-dark);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
  }

  body#product .hm-product-sticky-bar__button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--hm-product-green);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(20, 132, 82, .24);
  }

  .hm-smart-recommendations {
    margin: 24px -8px 12px;
    padding: 16px 10px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hm-smart-recommendations__header {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .hm-smart-recommendations__header p {
    margin-top: 8px;
    font-size: 13px;
  }

  .hm-smart-recommendations__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hm-smart-recommendations__grid .product-miniature,
  .hm-smart-recommendations__grid article {
    flex: 0 0 72%;
    min-width: 210px;
    scroll-snap-align: start;
  }
}

@media (max-width: 420px) {
  body#product .product-add-to-cart {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  body#product #quantity_wanted {
    width: 82px;
  }

  body#product .hm-product-sticky-bar__label {
    max-width: 46vw;
  }

  .hm-smart-recommendations__grid .product-miniature,
  .hm-smart-recommendations__grid article {
    flex-basis: 78%;
  }
}
