/* Alvi product page styles */


.product-hero__thumbs {
  overflow: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.product-hero__thumbs::-webkit-scrollbar {
  display: none !important;
}

.product-page {
  background: #fff;
  color: #2d6cb2;
  padding-top: 207px;
}

.product-hero {
  border-bottom: 1px solid rgba(43, 108, 190, 0.2);
  position: relative;
}

.product-hero__stock {
  white-space: nowrap;
  z-index: 2;
  position: absolute;
  top: 16px;
  right: clamp(16px, 3.4vw, 45px);
  padding: 5px 10px;
  background: #eef1f7;
  color: #4a73b8;
  font-size: 12px;
  letter-spacing: normal;
  text-transform: uppercase;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
  grid-template-areas:
    "gallery info"
    "gallery summary"
    "gallery details";
  grid-template-rows: auto auto 1fr;
}

/* ── Gallery: thumbs left + main viewer right ── */
.product-hero__gallery {
  grid-area: gallery;
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  border-right: 1px solid rgba(43, 108, 190, 0.2);
  background: #fff;
}

.product-hero__gallery > .product-list-actions--product {
  position: absolute;
  z-index: 6;
  top: 16px;
  right: 16px;
  grid-template-columns: 42px;
}

/* Vertical thumbnail strip */
.product-hero__thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px;
  max-height: clamp(420px, 70vh, 760px);
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(43, 108, 190, 0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 108, 190, 0.2) transparent;
}

.product-hero__thumbs::-webkit-scrollbar {
  width: 3px;
}

.product-hero__thumbs::-webkit-scrollbar-thumb {
  background: rgba(43, 108, 190, 0.25);
  border-radius: 3px;
}

.product-hero__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.6;
}

.product-hero__thumb:hover {
  opacity: 0.85;
}

.product-hero__thumb.is-active {
  border-color: #2e6eb4;
  opacity: 1;
}

.product-hero__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 22, 63, 0.3);
  pointer-events: none;
}

/* Main viewer */
.product-hero__media {
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
  top: 0;
  cursor: zoom-in;
}

.product-hero__video-container {
  position: absolute;
  overflow: hidden;
  width: 100%;
  pointer-events: none;
}

.product-hero__video {
  grid-area: 1 / 1;
  width: min(100%, 100%);
  max-height: min(70vh, 720px);
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 0;
  filter: brightness(1.03);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-hero__media-fallback {
  grid-area: 1 / 1;
  width: min(100%, 540px);
  max-height: min(70vh, 720px);
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.product-hero__main-photo {
  grid-area: 1 / 1;
  width: min(100%, 800px);
  max-height: min(70vh, 720px);
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  cursor: zoom-in;
}

.product-hero__main-photo.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.product-hero__media.is-video-ready .product-hero__video {
  opacity: .99;
}

.product-hero__media.is-video-ready .product-hero__media-fallback {
  opacity: 0;
}

/* When showing a photo, hide video */
.product-hero__media.is-photo-mode .product-hero__video,
.product-hero__media.is-photo-mode .product-hero__media-fallback {
  opacity: 0;
}

.product-hero__media.is-video-selected .product-hero__media-fallback,
.product-hero__media.is-video-selected .product-hero__main-photo {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.product-hero__video-wrap {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: inherit;
}

.product-hero__video-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Lightbox ── */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 18, 52, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.product-lightbox__img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.product-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background-color var(--transition-fast);
}

.product-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background-color var(--transition-fast);
}

.product-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

.product-lightbox__nav--prev {
  left: 24px;
}

.product-lightbox__nav--next {
  right: 24px;
}

/* ── Details (right column) ── */
.product-hero__summary {
  grid-area: summary;
  padding: clamp(26px, 4.6vh, 56px) clamp(18px, 3vw, 66px) 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-hero__details {
  grid-area: details;
  padding: 16px clamp(18px, 3vw, 66px) clamp(26px, 4.6vh, 56px);
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-hero__title {
  margin: 0;
  font-size: 30px;
  line-height: normal;
  font-weight: 200;
  letter-spacing: 0.01em;
}

.product-hero__price {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}

.product-hero__price-wrap {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.product-hero__prices {
  display: grid;
  gap: 6px;
  align-items: start;
}

.product-hero__price--old {
  color: rgba(26, 48, 96, 0.48);
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
}

.product-hero__price--old s {
  text-decoration-color: rgba(26, 48, 96, 0.56);
  text-decoration-thickness: 1px;
}

.product-hero__cashback {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  gap: 4px;
  width: fit-content;
  margin: 0 0 2px;
  padding: 5px 10px;
  background: rgba(74, 115, 184, 0.1);
  color: #4a73b8;
  font-size: var(--fs-sm);
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  top: 7px;
}

.product-hero__cashback strong {
  font-weight: 700;
}

.product-hero__info {
  grid-area: info;
  padding: clamp(26px, 4.6vh, 56px) clamp(18px, 3vw, 66px) 0;
  margin: 2px 0 0;
  display: grid;
  gap: 2px;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(45, 108, 178, 0.9);
  display: none;
}

.product-hero__brand-link {
  color: inherit;
  text-decoration: none;
}

.product-hero__brand-link:hover,
.product-hero__brand-link:focus-visible {
  opacity: 0.75;
}

.product-additional-info {
  p {
    margin: 4px 0;
  }
}

.product-hero__description {
  margin: 6px 0 0;
  max-width: 860px;
  font-size: var(--fs-body);
  line-height: 1.44;
  color: rgba(45, 108, 178, 0.86);
}

.product-hero__rating {
  margin: -10px 0 0 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-ui-lg);
  letter-spacing: 0.05em;
}

.product-hero__rating a {
  font-size: var(--fs-md);
  text-transform: uppercase;
  color: rgba(45, 108, 178, 0.9);
  transition: opacity var(--transition-fast);
  margin: 4px 0px 0 0;
}

.product-hero__rating a:hover,
.product-hero__rating a:focus-visible {
  opacity: 0.75;
}

.product-variants__label {
  margin-bottom: 8px;
  font-size: var(--fs-md);
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 0.06em;
}

.product-variants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variants__item {
  display: block;
  width: 75px;
  height: 75px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-variants__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-variants__item:hover {
  border-color: var(--btn-blue);
}

.product-variants__item.is-active {
  border-color: var(--btn-blue);
  pointer-events: none;
  cursor: default;
}

.product-hero__purchase {
  margin-top: 12px;
}

/* ── Related Products ── */
.product-related {
  margin-top: 64px;
  border-top: 1px solid var(--border-color, #e5e7eb);
}

.product-hero__qty-label {
  margin: 0 0 10px;
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-hero__qty {
  min-height: 52px;
  border: 1px solid rgba(43, 108, 190, 0.3);
  display: grid;
  grid-template-columns: 52px 1fr 52px;
}

.product-hero__qty button,
.product-hero__qty span,
.product-hero__qty input {
  border: 0;
  outline: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  color: #2e6eb4;
  font-size: var(--fs-title-sm);
  -moz-appearance: textfield;
}

.product-hero__qty input::-webkit-outer-spin-button,
.product-hero__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-hero__qty button {
  cursor: pointer;
  font-size: 20px;
}

.product-hero__actions {
  margin-top: 12px;
  display: grid;
}

.product-hero__actions--credit {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-hero__btn {
  min-height: 54px;
  border: 1px solid rgba(43, 108, 190, 0.34);
  text-transform: uppercase;
  font-size: var(--fs-ui);
  font-weight: 300;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.product-hero__btn--primary {
  background: #2e6eb4;
  border-color: #2e6eb4;
  color: #fff;
}

.product-hero__btn--primary:hover:not(:disabled),
.product-hero__btn--primary:focus-visible:not(:disabled) {
  background: #245c9a;
  border-color: #245c9a;
}

.product-hero__btn--primary:disabled,
.sticky-buy-bar__btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.product-hero__btn--credit {
  background: rgba(74, 133, 209, 0.16);
  border: 1px solid rgba(74, 133, 209, 0.3);
  color: #2e6eb4;
  padding-inline: 12px;
}

.product-hero__btn--credit:hover,
.product-hero__btn--credit:focus-visible {
  background: rgba(74, 133, 209, 0.3);
  border-color: rgba(74, 133, 209, 0.6);
}

.product-hero__btn--soft {
  background: rgba(74, 133, 209, 0.18);
  color: #2e6eb4;
}

.product-hero__btn--soft:hover,
.product-hero__btn--soft:focus-visible {
  background: rgba(74, 133, 209, 0.28);
}



/* OpenCart inner pages — content offset for absolute header */

.page-product #common-home,
.page-product .container {
  padding-top: 0;
}

/* ── Product Tabs ── */

.product-tabs {
  background: #fff;
}

.product-tabs__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.product-tabs__nav {
  position: sticky;
  top: 0;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid rgba(43, 108, 190, 0.2);
  margin-bottom: 36px;
  z-index: 1;
}

.product-tabs__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 16px 28px;
  font-size: var(--fs-md);
  font-weight: 400;
  color: #6b7a8d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.product-tabs__tab:hover {
  color: #2e6eb4;
}

.product-tabs__tab.is-active {
  color: #2e6eb4;
  border-bottom-color: #2e6eb4;
}

.product-tabs__panel {
  display: none;
}

.product-tabs__panel.is-active {
  display: block;
}

.product-tabs__description {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: #2c3e50;
  max-width: 1500px;
  margin: 0 auto;
  & video {
    opacity: .99;
  }
}

.product-tabs__description p { margin: 0 0 1em; }
.product-tabs__description h2,
.product-tabs__description h3 { font-weight: 400; margin: 1.2em 0 0.5em; color: #0d2b6e; }

.product-attributes__group {
  margin-bottom: 28px;
}

.product-attributes__group-title {
  font-size: var(--fs-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d2b6e;
  margin: 0 0 12px;
}

.product-attributes__table {
  width: 100%;
  border-collapse: collapse;
}

.product-attributes__table tr {
  border-bottom: 1px solid rgba(43, 108, 190, 0.1);
}

.product-attributes__table tr:last-child {
  border-bottom: none;
}

.product-attributes__name,
.product-attributes__value {
  padding: 10px 0;
  font-size: var(--fs-md);
  vertical-align: top;
}

.product-attributes__name {
  color: #6b7a8d;
  width: 40%;
  padding-right: 20px;
}

.product-attributes__value {
  color: #2c3e50;
}



/* ── Product Review ── */

.product-review__list {
  margin-bottom: 32px;
}

.product-review-cards {
  display: grid;
  gap: 18px;
}

.product-review-card,
.product-review__list .table {
  margin: 0;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid rgba(43, 108, 190, 0.18) !important;
  background: linear-gradient(180deg, rgba(74, 115, 184, 0.035), rgba(255, 255, 255, 0));
  box-shadow: none;
}

.product-review-card + .product-review-card,
.product-review__list .table + .table {
  margin-top: 18px;
}

.product-review-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 108, 190, 0.12);
}

.product-review-card__author,
.product-review__list .table tr:first-child td:first-child strong {
  color: #0d2b6e;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 500;
}

.product-review-card__date,
.product-review__list .table tr:first-child td:last-child {
  color: rgba(13, 43, 110, 0.56);
  font-size: var(--fs-sm);
}

.product-review-card__text,
.product-review__list .table p {
  max-width: 100%;
  margin: 0 0 18px;
  color: #263b5f;
  font-size: var(--fs-md);
  line-height: 1.75;
}

.product-review-card__rating,
.product-review__list .rating {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2e6eb4;
}

.product-review-card__star {
  display: inline-flex;
  color: rgba(46, 110, 180, 0.24);
}

.product-review-card__star.is-active {
  color: #2e6eb4;
}

.product-review-card__star svg {
  display: block;
  fill: currentColor;
}

.product-review-card__pagination {
  margin-top: 24px;
  text-align: right;
}

.product-review__empty {
  margin: 0;
  color: rgba(13, 43, 110, 0.62);
  text-align: center;
}

.product-review__list .table,
.product-review__list .table tbody,
.product-review__list .table tr,
.product-review__list .table td {
  display: block;
}

.product-review__list .table tr:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 108, 190, 0.12);
}

.product-review__list .table td {
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.product-review__list .rating .fa-stack {
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.product-review__list .rating .fa-solid {
  color: #2e6eb4;
}

.product-review__list .rating .fa-regular {
  color: rgba(46, 110, 180, 0.24);
}

.product-review__form-wrap {
  border-top: 1px solid rgba(43, 108, 190, 0.15);
  padding-top: 28px;
}

.product-review__form-title {
  font-size: var(--fs-title-sm);
  font-weight: 400;
  color: #0d2b6e;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-review__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.account-field .product-review__star-radio {
  position: absolute;
  opacity: 0;
  height: 0;
  width: auto;
}

.product-review__star-label {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #2e6eb4!important;
  opacity: 0.3!important;
  transition: opacity 0.15s;
  line-height: 1;
}

.product-review__star-label.is-highlighted,
.product-review__star-label:hover {
  opacity: 1!important;
}

.product-review__star-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  pointer-events: none;
}

.product-review__star-radio:focus-visible + .product-review__star-icon {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.product-review__star-hint {
  font-size: var(--fs-xs);
  color: #6b7a8d;
  margin-left: 8px;
}

.product-review__alert {
  padding: 12px 16px;
  border-radius: 0;
  font-size: var(--fs-md);
  margin-bottom: 16px;
}

.product-review__alert--success {
  background: rgba(46, 110, 180, 0.08);
  border: 1px solid rgba(46, 110, 180, 0.3);
  color: #2e6eb4;
}

.product-review__login {
  color: #6b7a8d;
  font-size: var(--fs-md);
}

/* ── Sticky Buy Bar ── */
.sticky-buy-bar {
  --sticky-buy-hide-offset: calc(var(--mobile-action-bar-height) + 14px + env(safe-area-inset-bottom));
  position: fixed;
  bottom: calc(var(--mobile-action-bar-height) + var(--floating-action-bottom) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 20px + var(--sticky-buy-hide-offset)));
  z-index: 2;
  width: calc(100% - 24px);
  max-width: var(--floating-action-width);
  background: rgba(13, 43, 110, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.sticky-buy-bar.is-visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-buy-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
}

.sticky-buy-bar__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.sticky-buy-bar__title {
  flex: 1;
  font-weight: 200;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}

.sticky-buy-bar__price {
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
}

.sticky-buy-bar__btn {
  padding: 10px 28px;
  background: #fff;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.sticky-buy-bar__btn:hover:not(:disabled) {
  background: var(--navy-3);
  color: #fff;
}

/* ══════════════════════════════════════════
   Product Payback Calculator
   ══════════════════════════════════════════ */
.product-payback {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  background: #f5f8fc;
  color: #1a3060;
}

.product-payback__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.product-payback__header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.product-payback__header::before {
  content: '';
}

.product-payback__title {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-payback__reset {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(45, 108, 178, 0.24);
  border-radius: 0;
  background: transparent;
  color: #2d6cb2;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.product-payback__reset svg {
  width: 19px;
  height: 19px;
}

.product-payback__reset:hover,
.product-payback__reset:focus-visible {
  border-color: #2d6cb2;
  background: #2d6cb2;
  color: #fff;
}

.product-payback__reset:focus-visible {
  outline: 2px solid rgba(45, 108, 178, 0.28);
  outline-offset: 3px;
}

.product-payback__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-payback__item {
  min-width: 0;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  background: #fff;
  border-right: 1px solid #d9e1f1;
}
.product-payback__item:last-child {
  border-right: none
}

.product-payback__item--editable {
  cursor: text;
}

.product-payback__item--result {
  background: #edf3fb;
}

.product-payback__meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-payback__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d6cb2;
  flex-shrink: 0;
}

.product-payback__icon svg {
  width: 24px;
  height: 24px;
}

.product-payback__label {
  min-width: 0;
  color: rgba(26, 48, 96, 0.7);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-payback__edit-icon {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: rgba(45, 108, 178, 0.58);
  flex: 0 0 17px;
}

.product-payback__field {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  padding: 10px 0 7px;
  border-bottom: 1px solid rgba(45, 108, 178, 0.52);
  transition: border-color .2s;
}

.product-payback__field:focus-within {
  border-bottom-color: #1a5da8;
  box-shadow: 0 1px 0 #1a5da8;
}

.product-payback__field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #1a3060;
  font: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.product-payback__field > span {
  color: rgba(26, 48, 96, 0.62);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.product-payback__value {
  display: block;
  min-width: 0;
  margin-top: auto;
  color: #1a3060;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}


.product-review__container {
  max-width: 1250px;
}
@media (max-width: 1500px) {
  .product-hero__video-container {
    scale: 1.3!important;
  }
}
@media (min-width: 720px) and (max-width: 1120px) {
  .product-hero__gallery {
    padding-top: 15px;
  }
  .product-hero__video-container {
    scale: 1!important;
  }
}
@media (max-width: 1120px) {

  .product-hero__media {
    height: auto;
    position: relative;
    top: 0;
  }

  .product-page {
    padding-top: 92px;
  }

  .product-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "gallery"
      "info"
      "details";
    grid-template-rows: auto;
  }

  .product-hero__video-container {
    border: none;
  }

  .product-hero__stock {
    position: absolute;
    z-index: 1;
    top: auto;
    right: 15px;
    bottom: -3px;
    justify-self: start;
  }

  .product-hero__summary {
    padding: 15px 15px 0px 15px;
    gap: 10px;
    position: relative;
  }

  .product-hero__info {
    padding: 20px 16px 0;
    margin: 0;
  }

  .product-hero__details {
    padding: 12px 16px 24px;
    gap: 12px;
  }

  .product-hero__title {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 300;
  }

  .product-hero__rating {
    margin: 0;
  }

  .product-hero__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    border-right: 0;
    border-bottom: 1px solid rgba(43, 108, 190, 0.2);
  }

  .product-hero__thumbs {
    order: 1;
    flex-direction: row;
    max-height: none;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 10px 16px;
    gap: 8px;
    border-right: 0;
    border-top: 1px solid rgba(43, 108, 190, 0.1);
  }

  .product-hero__thumbs::-webkit-scrollbar {
    height: 3px;
    width: auto;
  }

  .product-hero__thumb {
    width: 64px;
    height: 64px;
  }
  .product-tabs__description {
    & video {
      opacity: inherit;
    }
  }
}
@media (max-width: 1120px) {

  .product-hero__cashback {
    position: relative;
    top: 0;
  }
  .product-tabs__padding {
    padding: 0 15px;
  }
  .sticky-buy-bar {
    bottom: calc(var(--mobile-action-bar-height) + 0px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: none;
  }
  .product-hero__price {
    font-size: var(--fs-title-xl);
  }

  .product-hero__price--old {
    font-size: clamp(17px, 4.2vw, 22px);
  }

  .product-hero__price-wrap {
    display: grid;
    gap: 8px;
    justify-items: start;
  }

  .product-hero__cashback {
    margin: 2px 0 0;
  }

  .product-hero__description {
    font-size: var(--fs-md);
    line-height: 1.4;
  }

  .product-hero__actions {
    grid-template-columns: 1fr;
  }

  .product-hero__btn {
    min-height: 48px;
    font-size: var(--fs-body);
  }

  .product-tabs__inner {
    padding: 0;
  }

  .product-tabs__tab {
    padding: 12px 3px;
    font-size: 12px;
    font-weight: 400 !important;
  }

  .product-attributes__name {
    width: 50%;
  }
  .product-hero__video {
    min-height: auto;
  }
  .sticky-buy-bar__btn {
    margin-left: auto;
  }
  .sticky-buy-bar__inner {
    padding: 10px 14px;
    gap: 10px;
  }
  .sticky-buy-bar__title {
    font-size: var(--fs-sm);
    display: none;
  }

  .product-payback {
    padding: 44px 0 50px;
  }
  .product-payback__inner {
    padding: 0 20px;
  }
  .product-payback__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .product-hero__video {
    filter: inherit;
  }
  .product-payback__item {
    border: none;
  }
  .product-payback {
    padding: 36px 0 40px;
  }
  .product-payback__inner {
    padding: 0 15px;
  }
  .product-payback__header {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    margin-bottom: 22px;
  }
  .product-payback__title {
    font-size: 24px;
  }
  .product-payback__reset {
    width: 38px;
    height: 38px;
  }
  .product-payback__grid {
    grid-template-columns: 1fr;
  }
  .product-payback__item {
    min-height: 138px;
    padding: 20px;
  }
  .product-payback__field input,
  .product-payback__value {
    font-size: 25px;
  }
}

@media (max-width: 720px) {
  .product-hero__media-fallback {
    max-height: min(430px, 704px);
  }
}

@media (max-width: 431px) {
  .product-tabs__tab {
    font-size: 10px;
  }
}

/* ── Product page extra action buttons (Тест-драйв / Презентація) ── */
.product-hero__extra-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.product-hero__extra-actions .product-hero__btn--service:only-child {
  grid-column: 1 / -1;
}

.product-hero__btn--service {
  background: #F7F9FC;
  border: 1px solid #C4D3EA;
  color: #4F74AA;
}
.product-hero__btn--service:hover,
.product-hero__btn--service:focus-visible {
  background: rgba(46, 110, 180, 0.15);
}
@media (max-width: 720px) {
  .product-lightbox__nav {
    background: rgb(21 28 58 / 30%)!important;
  }
}
