/* Product page styles. */

.breadcrumbs {
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-feedback {
  margin: 44px auto 0;
  padding: 28px;
  border: 1px solid rgba(117, 255, 178, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 57, 43, 0.92), rgba(8, 25, 19, 0.96));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-feedback__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.product-feedback__head > div:first-child {
  min-width: 0;
}

.product-feedback__eyebrow {
  margin: 0 0 8px;
  color: #8df7b4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
}

.product-feedback h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.product-feedback h2 span {
  display: inline-flex;
  align-items: center;
  min-width: min(100%, 280px);
  color: rgba(238, 247, 244, 0.62);
  font-size: 0.46em;
  line-height: 1.18;
}

.product-feedback__score {
  min-width: 130px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(15, 42, 31, 0.78);
  border: 1px solid rgba(154, 255, 110, 0.28);
  text-align: center;
  color: #d9ff64;
}

.product-feedback__score strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.product-feedback__score small,
.product-feedback__score span {
  display: block;
  color: rgba(238, 247, 244, 0.72);
  font-weight: 800;
}

.product-feedback__side {
  display: grid;
  justify-items: end;
  gap: 14px;
  flex: 0 0 auto;
}

.store-rating-box {
  width: min(430px, 38vw);
  padding: 18px 22px;
  border: 1px solid rgba(120, 255, 130, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(89, 255, 141, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(5, 28, 21, 0.78), rgba(3, 18, 14, 0.92));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.store-rating-title {
  margin-bottom: 10px;
  color: #8cff8c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-rating-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.store-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.store-rating-number {
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.store-stars {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.18);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

.stars-empty {
  color: rgba(255, 255, 255, 0.18);
}

.stars-filled {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--rating-percent);
  overflow: hidden;
  color: #ffc928;
  white-space: nowrap;
}

.store-rating-count {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.store-rating-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(140, 255, 120, 0.35);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.store-rating-link:hover,
.store-rating-link:focus-visible {
  border-color: #8cff6b;
  color: #8cff6b;
}

.product-feedback__note {
  max-width: 340px;
  margin: 0;
  color: rgba(238, 247, 244, 0.72);
}

.product-feedback__flash {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: 24px;
  z-index: 1200;
  width: min(430px, calc(100vw - 28px));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(142, 255, 151, 0.35);
  background: linear-gradient(135deg, rgba(13, 39, 28, 0.96), rgba(28, 70, 42, 0.96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36), 0 0 34px rgba(67, 255, 131, 0.18);
  color: #effff4;
  font-weight: 800;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-feedback__flash.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-feedback__flash strong {
  display: block;
  margin-bottom: 4px;
  color: #c8ff75;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-feedback__flash span {
  display: block;
  color: rgba(239, 255, 244, 0.86);
  line-height: 1.45;
}

.product-feedback__flash.is-error {
  border-color: rgba(255, 117, 96, 0.45);
  background: linear-gradient(135deg, rgba(54, 21, 20, 0.96), rgba(74, 35, 25, 0.96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36), 0 0 34px rgba(255, 96, 60, 0.14);
}

.product-feedback__flash.is-error strong {
  color: #ffb08f;
}

.product-feedback__flash-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.product-feedback__tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 15px;
  border-bottom: 1px solid rgba(150, 255, 185, 0.18);
}

.product-feedback__tab {
  border: 0;
  background: transparent;
  color: rgba(238, 247, 244, 0.66);
  padding: 0 0 12px;
  margin-right: 22px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.product-feedback__tab.is-active {
  color: #8dffb5;
  border-bottom-color: #26db75;
}

.product-feedback__tab span {
  margin-left: 6px;
  color: #d9ff64;
}

.product-feedback__panel {
  display: none;
}

.product-feedback__panel.is-active {
  display: block;
}

.product-feedback__compact {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(250px, 1fr) minmax(290px, 1.12fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  margin-bottom: 18px;
  border-radius: 26px;
  border: 1px solid rgba(145, 255, 190, 0.22);
  background:
    radial-gradient(circle at 10% 0%, rgba(117, 255, 178, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(10, 39, 28, 0.86), rgba(6, 20, 15, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 52px rgba(0, 0, 0, 0.22);
}

.product-feedback__compact[hidden],
.product-feedback__full[hidden] {
  display: none;
}

.product-feedback__rating-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.product-feedback__rating-value {
  display: block;
  color: #ffe84f;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(255, 232, 79, 0.18);
}

.product-feedback__stars--large {
  display: flex;
  gap: 3px;
  margin: 16px 0 10px;
  color: rgba(215, 255, 85, 0.28);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-feedback__stars--large .is-filled {
  color: #ffe84f;
  text-shadow: 0 0 16px rgba(215, 255, 85, 0.34);
}

.product-feedback__stars--mini {
  margin: 0;
  font-size: 0.86rem;
  white-space: nowrap;
}

.product-feedback__rating-card p {
  margin: 0;
  color: rgba(238, 247, 244, 0.72);
  font-weight: 850;
}

.product-feedback__distribution {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 0;
}

.product-feedback__bar-row {
  display: grid;
  grid-template-columns: 52px minmax(90px, 1fr) 30px;
  gap: 12px;
  align-items: center;
  color: rgba(238, 247, 244, 0.8);
  font-weight: 900;
}

.product-feedback__bar-row span {
  color: #ffe84f;
  white-space: nowrap;
}

.product-feedback__bar-row b {
  color: rgba(238, 247, 244, 0.86);
  text-align: right;
}

.product-feedback__bar {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-feedback__bar i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7cff9b, #e5ff59);
  box-shadow: 0 0 18px rgba(126, 255, 146, 0.22);
}

.product-feedback__latest {
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(145, 255, 190, 0.16);
}

.product-feedback__latest h3,
.product-feedback__empty h3 {
  margin: 0 0 16px;
  color: rgba(238, 247, 244, 0.88);
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-feedback__latest-item {
  display: grid;
  grid-template-columns: minmax(74px, max-content) max-content minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.product-feedback__latest-item strong {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-feedback__latest-item p {
  overflow: hidden;
  margin: 0;
  color: rgba(238, 247, 244, 0.68);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-feedback__view-all,
.product-feedback__button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid rgba(120, 255, 174, 0.3);
  background: rgba(120, 255, 174, 0.08);
  color: #a7ffbd;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-feedback__view-all:hover,
.product-feedback__button--ghost:hover {
  border-color: rgba(120, 255, 174, 0.52);
  background: rgba(120, 255, 174, 0.13);
}

.product-feedback__empty--reviews {
  padding: 26px;
  text-align: left;
}

.product-feedback__empty p {
  margin: 0;
}

.product-feedback__list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.product-feedback__item {
  padding: 18px;
  border: 1px solid rgba(145, 255, 190, 0.18);
  border-radius: 20px;
  background: rgba(9, 28, 21, 0.55);
}

.product-feedback__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(238, 247, 244, 0.65);
  font-size: 0.9rem;
}

.product-feedback__meta strong {
  color: #fff;
}

.product-feedback__stars {
  color: #d7ff55;
  letter-spacing: 0.08em;
  margin: 8px 0;
}

.product-feedback__details {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.product-feedback__details p,
.product-feedback__body {
  margin: 0;
  color: rgba(238, 247, 244, 0.82);
  line-height: 1.6;
}

.product-feedback__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-feedback__photo-button {
  display: inline-block;
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: zoom-in;
}

.product-feedback__photo-button .product-feedback__photo {
  display: block;
  margin-top: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-feedback__photo-button:hover .product-feedback__photo,
.product-feedback__photo-button:focus-visible .product-feedback__photo {
  transform: translateY(-1px);
  border-color: rgba(141, 255, 181, 0.58);
  box-shadow: 0 0 22px rgba(70, 255, 137, 0.18);
}

.product-feedback__photo-button:focus-visible {
  outline: 2px solid rgba(141, 255, 181, 0.9);
  outline-offset: 4px;
}

.product-feedback__answer {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(116, 255, 148, 0.1);
  color: #eaffea;
}

.product-feedback__empty {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(145, 255, 190, 0.24);
  color: rgba(238, 247, 244, 0.72);
  background: rgba(8, 25, 19, 0.45);
}

.product-feedback__button {
  margin-top: 16px;
  min-height: 48px;
  border-radius: 16px;
  padding: 0 24px;
  border: 1px solid rgba(120, 255, 174, 0.42);
  background: linear-gradient(135deg, #22d66f, #d8ff64);
  color: #07130d;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(54, 255, 137, 0.24);
}

.product-feedback__button--login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 9, 6, 0.78);
  backdrop-filter: blur(12px);
}

.feedback-modal.is-open {
  display: flex;
}

.feedback-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(21, 48, 38, 0.98), rgba(8, 22, 17, 0.98));
  border: 1px solid rgba(130, 255, 181, 0.22);
  color: #eef7f4;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.feedback-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.feedback-modal__head small {
  display: block;
  color: #9afbc0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.feedback-modal__head h2 {
  margin: 6px 52px 18px 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.feedback-modal__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feedback-modal__field {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: rgba(238, 247, 244, 0.82);
}

.feedback-modal__field--full,
.feedback-rating,
.feedback-modal__check,
.feedback-modal__actions {
  grid-column: 1 / -1;
}

.feedback-modal__field input,
.feedback-modal__field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 10, 7, 0.42);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
}

.feedback-modal__field textarea {
  resize: vertical;
  min-height: 120px;
}

.feedback-modal__field small {
  color: rgba(238, 247, 244, 0.56);
}

.feedback-modal__hp {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.feedback-rating span {
  margin-right: 8px;
  color: rgba(238, 247, 244, 0.72);
  font-weight: 900;
}

.feedback-rating button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  font-size: 28px;
  cursor: pointer;
  padding: 2px;
}

.feedback-rating button.is-active {
  color: #d7ff55;
  text-shadow: 0 0 12px rgba(216, 255, 100, 0.35);
}

.feedback-modal__check {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(238, 247, 244, 0.72);
  font-weight: 800;
}

.feedback-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.feedback-modal__actions button {
  min-height: 48px;
  border-radius: 16px;
  padding: 0 22px;
  font-weight: 950;
  cursor: pointer;
}

.feedback-modal__actions button[type="submit"] {
  border: 0;
  background: linear-gradient(135deg, #22d66f, #d8ff64);
  color: #07130d;
}

.feedback-modal__actions button[type="button"] {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #eef7f4;
}

.feedback-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 16%, rgba(81, 255, 135, 0.13), transparent 34%),
    rgba(1, 9, 6, 0.82);
  backdrop-filter: blur(14px);
}

.feedback-photo-modal.is-open {
  display: flex;
}

.feedback-photo-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.feedback-photo-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 760px);
  padding: 12px;
  border-radius: 26px;
  border: 1px solid rgba(130, 255, 181, 0.24);
  background: linear-gradient(145deg, rgba(18, 44, 34, 0.96), rgba(4, 13, 10, 0.98));
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.62);
}

.feedback-photo-modal__dialog img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
}

.feedback-photo-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(141, 255, 181, 0.36);
  background: rgba(7, 25, 18, 0.96);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(70, 255, 137, 0.18);
}

@media (max-width: 980px) {
  .product-feedback__head {
    display: grid;
  }

  .product-feedback__side {
    justify-items: stretch;
  }

  .store-rating-box {
    width: 100%;
  }

  .product-feedback__compact {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-feedback__latest {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(145, 255, 190, 0.16);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .product-feedback__flash {
    left: 14px;
    right: 14px;
    bottom: 16px;
    width: auto;
  }

  .product-feedback {
    margin-top: 30px;
    padding: 18px;
    border-radius: 22px;
  }

  .product-feedback__head {
    display: block;
  }

  .product-feedback__side {
    margin-top: 16px;
    justify-items: stretch;
  }

  .product-feedback__tabs {
    margin: 24px 0;
  }

  .product-feedback__score {
    margin-top: 14px;
    text-align: left;
  }

  .store-rating-box {
    width: 100%;
    margin-top: 14px;
    padding: 16px;
  }

  .store-rating-body {
    display: grid;
    gap: 12px;
  }

  .store-rating-row {
    flex-wrap: wrap;
  }

  .store-rating-number {
    font-size: 38px;
  }

  .store-stars {
    font-size: 20px;
  }

  .store-rating-link {
    width: 100%;
  }

  .product-feedback__compact {
    padding: 18px;
    border-radius: 22px;
  }

  .product-feedback__bar-row {
    grid-template-columns: 46px minmax(80px, 1fr) 24px;
    gap: 10px;
  }

  .product-feedback__latest-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-feedback__latest-item p {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .product-feedback__button,
  .product-feedback__view-all,
  .product-feedback__button--ghost {
    width: 100%;
  }

  .product-feedback__meta {
    display: block;
  }

  .feedback-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .feedback-modal__dialog {
    max-height: calc(100dvh - 20px);
    padding: 22px 16px 16px;
    border-radius: 22px 22px 0 0;
  }

  .feedback-modal__form {
    grid-template-columns: 1fr;
  }

  .feedback-photo-modal {
    padding: 14px;
  }

  .feedback-photo-modal__dialog {
    padding: 8px;
    border-radius: 20px;
  }

  .feedback-photo-modal__dialog img {
    max-height: 78vh;
    border-radius: 14px;
  }

  .feedback-photo-modal__close {
    top: -10px;
    right: -8px;
  }
}

.breadcrumbs a {
  color: var(--brand2);
  text-decoration: none;
}

.breadcrumbs__current {
  color: #ff9f50;
}

.product {
  padding: 24px 0 64px;
}

.product__layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

@media (min-width: 1500px) {
  .product > .container.product__layout {
    width: min(1590px, calc(100% - 64px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(460px, 540px) minmax(0, 1fr);
    gap: 34px;
  }

  .product-feedback,
  .related {
    width: min(1590px, calc(100% - 64px));
    max-width: none;
  }
}

.product__media,
.product__content,
.related {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.product__media {
  padding: 22px;
}

.product__media-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
}

.product__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product__badges {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  justify-items: end;
  gap: 8px;
  max-width: calc(100% - 36px);
}

.product__badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 231, 148, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 64, 64, 0.96), rgba(255, 194, 61, 0.92));
  color: #17110a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 12px 26px rgba(255, 63, 63, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.product-sale {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 92px minmax(170px, 232px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 24px 0 22px;
  padding: 17px 18px;
  border-radius: 16px;
  border: 1px solid rgba(124, 240, 177, 0.34);
  background:
    radial-gradient(circle at 16% 0%, rgba(145, 255, 92, 0.16), transparent 30%),
    radial-gradient(circle at 78% 100%, rgba(124, 240, 177, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(7, 37, 24, 0.94), rgba(10, 32, 25, 0.92));
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(124, 240, 177, 0.16),
    inset 0 1px 0 rgba(226, 255, 218, 0.2),
    inset 0 0 0 1px rgba(226, 255, 218, 0.06);
  overflow: hidden;
}

.product-sale::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 13px;
  border: 1px solid rgba(202, 255, 146, 0.18);
  background-image:
    linear-gradient(rgba(124, 240, 177, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 240, 177, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.72;
}

.product-sale::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 14%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(187, 255, 93, 0.96), rgba(124, 240, 177, 0.86), transparent);
  filter: blur(0.5px);
  box-shadow: 0 0 18px rgba(187, 255, 93, 0.75);
}

.product-sale__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  filter:
    drop-shadow(0 0 10px rgba(120, 255, 74, 0.56))
    drop-shadow(0 12px 16px rgba(0, 0, 0, 0.28));
}

.product-sale__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-sale__copy {
  display: block;
  min-width: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(234, 236, 232, 0.42);
}

.product-sale__copy strong {
  display: block;
  color: #c9ff63;
  font-family: var(--display);
  font-size: clamp(1.46rem, 2vw, 1.86rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(187, 255, 93, 0.34);
}

.product-sale__copy small {
  display: block;
  margin-top: 8px;
  color: rgba(234, 236, 232, 0.82);
  font-size: clamp(0.94rem, 1.35vw, 1.1rem);
  line-height: 1.32;
}

.product-sale__timer {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
}

.product-sale__timer small {
  color: #9fff86;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(124, 240, 177, 0.24);
}

.product-sale__units {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  align-items: start;
  perspective: 800px;
}

.product-sale__unit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 56px;
}

.product-sale__unit strong {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 52px;
  border-radius: 9px;
  border: 1px solid rgba(202, 255, 146, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 49%, rgba(0, 0, 0, 0.26) 50%, rgba(16, 48, 29, 0.92) 100%),
    rgba(20, 42, 31, 0.96);
  color: var(--text);
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow:
    0 10px 0 rgba(0, 0, 0, 0.2),
    0 0 18px rgba(124, 240, 177, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform-origin: 50% 50%;
}

.product-sale__unit strong::before,
.product-sale__unit strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.product-sale__unit strong::before {
  top: 50%;
  height: 1px;
  background: rgba(234, 236, 232, 0.22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.product-sale__unit strong::after {
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.16));
  opacity: 0.45;
}

.product-sale__unit.is-flipping strong {
  animation: productSaleFlip 0.46s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-sale__sep {
  align-self: start;
  padding: 13px 5px 0;
  color: rgba(234, 236, 232, 0.84);
  font-family: var(--display);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 12px rgba(124, 240, 177, 0.36);
}

.product-sale__unit em {
  color: #9fff86;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 10px rgba(124, 240, 177, 0.22);
}

.product-sale__unit--seconds strong,
.product-sale__unit--seconds em {
  color: #d9ff62;
}

@keyframes productSaleFlip {
  0% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
  46% {
    transform: rotateX(-82deg);
    filter: brightness(0.7);
  }
  54% {
    transform: rotateX(68deg);
    filter: brightness(1.24);
  }
  100% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
}

@media (max-width: 760px) {
  .product-sale {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .product-sale__copy {
    border-right: 0;
    padding-right: 0;
  }

  .product-sale__timer {
    grid-column: 1 / -1;
    justify-items: start;
    min-width: 0;
    padding-top: 8px;
  }
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.34s ease, transform 0.42s ease, filter 0.42s ease;
  transform-origin: center center;
}

.product-gallery__image.is-transitioning {
  opacity: 0.18;
  filter: blur(4px);
}

.product-gallery__image.is-transitioning[data-direction="next"] {
  transform: translateX(-28px) scale(0.98);
}

.product-gallery__image.is-transitioning[data-direction="prev"] {
  transform: translateX(28px) scale(0.98);
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(124, 240, 177, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 28%, rgba(124, 240, 177, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(15, 44, 29, 0.9), rgba(8, 19, 14, 0.9));
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  font-size: 0;
  line-height: 0;
}

.product-gallery__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--brand2);
  border-left: 2px solid var(--brand2);
}

.product-gallery__arrow--prev {
  left: 16px;
}

.product-gallery__arrow--prev::before {
  transform: translate(-34%, -50%) rotate(-45deg);
}

.product-gallery__arrow--next {
  right: 16px;
}

.product-gallery__arrow--next::before {
  transform: translate(-66%, -50%) rotate(135deg);
}

.product-gallery__arrow:hover {
  border-color: rgba(124, 240, 177, 0.52);
  transform: translateY(calc(-50% - 2px));
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(124, 240, 177, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-gallery__bar {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 16px;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  width: 74px;
  height: 74px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 240, 176, 0.26);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.product-gallery__thumb.is-active {
  border-color: rgba(123, 240, 176, 0.46);
  box-shadow: 0 10px 24px rgba(17, 182, 93, 0.18);
}

.product-gallery__video {
  display: inline-flex;
  align-items: stretch;
  width: 158px;
  min-height: 90px;
  padding: 10px;
  border-radius: 18px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-gallery__video:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 96, 96, 0.34);
  box-shadow: 0 18px 36px rgba(198, 32, 32, 0.18);
}

.product-gallery__video-icon {
  display: none;
}

.product-gallery__video img {
  display: none;
}

.product-gallery__video-copy {
  width: 100%;
  min-height: 70px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 6px 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  box-shadow: inset 0 0 0 1px rgba(19, 31, 27, 0.08);
}

.product-gallery__video-copy::before {
  content: "You";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: #111111;
}

.product-gallery__video-copy strong {
  display: inline-flex;
  align-items: center;
  font-size: 0;
  line-height: 0;
}

.product-gallery__video-copy strong::before {
  content: "Tube";
  padding: 2px 8px 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff3b30, #d91010);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.product-gallery__video-copy small {
  flex-basis: 100%;
  display: block;
  font-size: 0;
  line-height: 0;
}

.product-gallery__video-copy small::before {
  content: "Відеоогляд";
  color: #111111;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.1;
}

.product-gallery__video--tiktok {
  display: none;
  position: relative;
  overflow: hidden;
  border-color: rgba(123, 240, 176, 0.22);
  background:
    radial-gradient(circle at 20% 10%, rgba(123, 240, 176, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(12, 35, 25, 0.92), rgba(4, 12, 10, 0.96));
}

.product-gallery__tiktok-mark {
  position: absolute;
  inset: 8px 8px auto 8px;
  z-index: 1;
  display: block;
}

.product-gallery__tiktok-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(87, 255, 70, 0.36));
}

.product-gallery__video-copy--tiktok {
  position: relative;
  z-index: 2;
  align-content: end;
  min-height: 70px;
  padding-top: 32px;
  background:
    linear-gradient(180deg, rgba(6, 12, 10, 0.02), rgba(6, 12, 10, 0.84)),
    rgba(7, 18, 14, 0.72);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(123, 240, 176, 0.12);
}

.product-gallery__video-copy--tiktok::before,
.product-gallery__video-copy--tiktok strong::before,
.product-gallery__video-copy--tiktok small::before {
  content: none;
}

.product-gallery__video-copy--tiktok strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.1;
  color: #dfff8b;
}

.product-gallery__video-copy--tiktok small {
  display: block;
  flex-basis: 100%;
  color: rgba(234, 236, 232, 0.78);
  font-size: 0.72rem;
  line-height: 1.2;
}

.product-tiktok {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(123, 240, 176, 0.14);
}

.product-tiktok__head {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.product-tiktok__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9dff85;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-tiktok__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #19e01d;
  box-shadow: 0 0 12px rgba(87, 255, 70, 0.62);
}

.product-tiktok__head h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.product-tiktok__shell {
  position: relative;
  padding: 0 2px;
}

.product-tiktok__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-tiktok__track::-webkit-scrollbar {
  display: none;
}

.product-tiktok__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 15, 13, 0.16), rgba(0, 0, 0, 0.86)),
    #050908;
  border: 1px solid rgba(123, 240, 176, 0.18);
  scroll-snap-align: start;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.product-tiktok__slide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 126px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 46%, rgba(0, 0, 0, 0.58) 74%, transparent 100%),
    radial-gradient(circle at 24% 0%, rgba(87, 255, 70, 0.18), transparent 46%);
  pointer-events: none;
}

.product-tiktok__preview {
  position: absolute;
  inset: 0;
}

.product-tiktok__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 34%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 54%, rgba(123, 240, 176, 0.12), transparent 34%);
}

.product-tiktok__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tiktok__logo {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 44px;
  z-index: 4;
}

.product-tiktok__logo img {
  width: min(100%, 232px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(87, 255, 70, 0.48))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.product-tiktok__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-tiktok__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(206, 255, 133, 0.38);
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 255, 99, 0.2), rgba(17, 182, 93, 0.08)),
    rgba(4, 14, 10, 0.72);
  box-shadow:
    0 0 28px rgba(123, 240, 176, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
}

.product-tiktok__play::after {
  content: "";
  position: absolute;
  left: calc(50% + 4px);
  top: 50%;
  border-style: solid;
  border-width: 17px 0 17px 25px;
  border-color: transparent transparent transparent #f6fff8;
  filter: drop-shadow(0 0 10px rgba(216, 255, 99, 0.42));
  transform: translate(-50%, -50%);
}

.product-tiktok__arrow,
.product-tiktok-modal__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(123, 240, 176, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(123, 240, 176, 0.18), transparent 42%),
    rgba(5, 16, 12, 0.82);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.product-tiktok__arrow::before,
.product-tiktok-modal__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #dfff8b;
  border-left: 2px solid #dfff8b;
}

.product-tiktok__arrow--prev,
.product-tiktok-modal__arrow--prev {
  left: 10px;
}

.product-tiktok__arrow--prev::before,
.product-tiktok-modal__arrow--prev::before {
  transform: translate(-34%, -50%) rotate(-45deg);
}

.product-tiktok__arrow--next,
.product-tiktok-modal__arrow--next {
  right: 10px;
}

.product-tiktok__arrow--next::before,
.product-tiktok-modal__arrow--next::before {
  transform: translate(-66%, -50%) rotate(135deg);
}

.product__content {
  padding: 24px;
  min-width: 0;
}

.product__category {
  color: var(--brand2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.product__status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 12px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 213, 74, 0.24);
  background: rgba(255, 213, 74, 0.12);
  color: #ffe59a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.product__intro {
  position: relative;
  margin: 0 0 22px;
  padding: 18px 22px 18px 28px;
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(90deg, rgba(24, 72, 48, 0.58), rgba(24, 72, 48, 0.16)),
    rgba(255, 255, 255, 0.018);
  color: rgba(245, 255, 250, 0.9);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.product__intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  box-shadow: 0 0 18px rgba(124, 240, 177, 0.3);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.spec {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.spec small {
  display: block;
  margin-bottom: 6px;
  color: #9ad0ba;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.spec strong {
  display: block;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product__price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-self: start;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17, 182, 93, 0.18), rgba(255, 213, 74, 0.08));
  border: 1px solid rgba(123, 240, 176, 0.18);
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.product__price--sale {
  display: grid;
  grid-template-columns: auto;
  align-items: start;
  justify-items: start;
  gap: 2px;
  color: #ff4040;
  padding: 12px 18px;
}

.product__price-main {
  color: inherit;
}

.product__price-old {
  color: rgba(234, 236, 232, 0.66);
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: line-through;
}

.product__price-saving {
  flex-basis: 100%;
  color: #43d783;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.product__availability {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 2px;
  border: 1px solid rgba(123, 240, 176, 0.32);
  background: rgba(17, 182, 93, 0.12);
  color: #7bf0b0;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 800;
}

.product__availability--request {
  border-color: rgba(255, 213, 74, 0.28);
  background: rgba(255, 213, 74, 0.1);
  color: #ffd54a;
}

.product-purchase {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.product-purchase__price-wrap {
  display: grid;
  grid-template-columns: auto minmax(16px, 1fr) auto;
  align-items: center;
  gap: 8px;
  justify-items: start;
}

.product-purchase__price-wrap .product__price {
  grid-column: 1 / -1;
}

.product-purchase__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.product-purchase__icon-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(123, 240, 176, 0.25);
  background: rgba(255, 255, 255, 0.035);
  color: #e8fff3;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-purchase__icon-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-purchase__icon-button:hover,
.product-purchase__icon-button.is-active,
.product-purchase__icon-button.is-selected {
  transform: translateY(-1px);
  border-color: rgba(232, 255, 117, 0.5);
  background: rgba(17, 182, 93, 0.16);
  color: #efffd2;
  box-shadow: 0 0 18px rgba(123, 240, 176, 0.2);
}

.product-purchase__icon-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.product-purchase__divider {
  position: relative;
  grid-column: 1 / -1;
  width: min(100%, 420px);
  height: 2px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(124, 240, 177, 0.72), rgba(255, 213, 74, 0.82), transparent);
}

.product-action-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 7, 6, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-action-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-action-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(123, 240, 176, 0.22);
  background:
    linear-gradient(145deg, rgba(17, 182, 93, 0.1), rgba(255, 213, 74, 0.06)),
    rgba(7, 15, 13, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 26px rgba(17, 182, 93, 0.14);
}

.product-action-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.product-action-modal__dialog h2 {
  margin: 0 44px 12px 0;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.product-action-modal__dialog p {
  margin: 0 0 20px;
  color: #b8d0c6;
  line-height: 1.55;
}

.product-action-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-action-modal__primary,
.product-action-modal__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.product-action-modal__primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand2), #e8ff75);
  color: #04100c;
}

.product-action-modal__ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.product-purchase__divider::after {
  content: "";
  position: absolute;
  inset: -8px 18%;
  background: rgba(124, 240, 177, 0.38);
  filter: blur(8px);
}

.product-purchase__controls {
  width: min(100%, 390px);
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.product-purchase__qty {
  display: grid;
  gap: 10px;
  justify-self: start;
}

.product-purchase__label {
  color: #9ad0ba;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-purchase__stepper {
  display: inline-grid;
  grid-template-columns: 52px 88px 52px;
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-purchase__step {
  min-height: 56px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
}

.product-purchase__qty-input {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: center;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-purchase__qty-input::-webkit-outer-spin-button,
.product-purchase__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-purchase__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 22px;
  border: 1px solid rgba(123, 240, 176, 0.52);
  border-radius: 16px;
  cursor: pointer;
  color: #7bf0b0;
  font: inherit;
  font-weight: 900;
  background: rgba(7, 28, 20, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.product-purchase__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 0 26px;
  border-radius: 18px;
  border: 1px solid rgba(232, 255, 117, 0.65);
  background: linear-gradient(135deg, #36e856 0%, #b6ff52 58%, #f0ff58 100%);
  color: #04100c;
  font: inherit;
  font-weight: 950;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 18px 42px rgba(74, 255, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.product-purchase__cart-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.16));
}

.product-purchase__cart-icon::before {
  border-color: currentColor;
}

.product-purchase__cart:hover,
.product-purchase__buy:hover {
  transform: translateY(-2px);
}

.product-purchase__cart:hover {
  border-color: rgba(216, 255, 99, 0.58);
  background: linear-gradient(135deg, #4dff69 0%, #c8ff5b 62%, #f4ff68 100%);
  box-shadow: 0 22px 48px rgba(74, 255, 90, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.product-purchase__cart.is-added {
  background: linear-gradient(135deg, #20d96d, #d8ff64);
  color: #04100c;
}

.product-purchase__cart:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  border-color: rgba(255, 213, 74, 0.18);
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 213, 74, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(92, 90, 72, 0.28), rgba(54, 58, 48, 0.2));
  color: #f2dfb0;
  box-shadow: none;
}

.product-purchase__buy:hover {
  border-color: rgba(216, 255, 99, 0.76);
  background: rgba(123, 240, 176, 0.1);
  color: #d8ff64;
}

@media (min-width: 981px) {
  .product-purchase {
    width: 100%;
    max-width: none;
    justify-self: start;
    margin-left: 0;
    gap: 12px;
    margin-top: 6px;
  }

  .product-purchase__controls,
  .product-purchase__price-wrap {
    width: 100%;
    grid-template-columns: minmax(170px, 32%) minmax(260px, 46%);
    justify-content: space-between;
    column-gap: clamp(18px, 4vw, 72px);
  }

  .product-purchase__controls {
    grid-column: 1 / -1;
    row-gap: 10px;
    align-items: end;
  }

  .product-purchase__qty {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .product-purchase__stepper {
    width: 100%;
    grid-template-columns: 1fr 1.2fr 1fr;
  }

  .product-purchase__cart {
    grid-column: 2;
    grid-row: 1;
    min-height: 58px;
    border-radius: 16px;
  }

  .product-purchase__buy {
    grid-column: 2;
    grid-row: 2;
    min-height: 42px;
  }

  .product-purchase__price-wrap {
    grid-column: 1 / -1;
    grid-template-areas:
      "availability price"
      "tools price"
      "divider divider";
    row-gap: 12px;
    align-items: start;
    margin-top: -2px;
  }

  .product-purchase__price-wrap .product__availability {
    grid-area: availability;
    justify-self: center;
    align-self: start;
    margin-top: 0;
  }

  .product-purchase__price-wrap .product__price {
    grid-area: price;
    justify-self: center;
    align-self: start;
  }

  .product-purchase__price-wrap .product__price:not(.product__price--sale) {
    min-height: 70px;
    padding: 0 26px;
    border-radius: 20px;
    font-size: clamp(2.2rem, 2.55vw, 2.75rem);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18), 0 0 28px rgba(255, 213, 74, 0.1);
  }

  .product-purchase__price-wrap .product__price--sale {
    width: fit-content;
    min-width: min(290px, 100%);
    max-width: min(360px, 100%);
  }

  .product-purchase__tools {
    grid-area: tools;
    justify-self: center;
    justify-content: center;
    align-self: start;
    margin-top: 26px;
  }

  .product-purchase__divider {
    grid-area: divider;
    width: 100%;
    margin-top: 8px;
  }
}

@media (min-width: 1500px) {
  .product-purchase {
    --product-purchase-offset: clamp(0px, 4.6vw, 64px);
    width: min(840px, calc(100% - var(--product-purchase-offset)));
    margin-left: var(--product-purchase-offset);
  }

  .product-purchase__controls,
  .product-purchase__price-wrap {
    grid-template-columns: minmax(190px, 220px) minmax(300px, 384px);
    column-gap: clamp(42px, 9vw, 236px);
  }
}

.product-order__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  color: #04100c;
  background: linear-gradient(135deg, var(--brand2), #e8ff75);
  box-shadow: 0 16px 34px rgba(17, 182, 93, 0.2);
}

.product-order__submit:hover {
  transform: translateY(-2px);
}

.product-order__submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.product-order__form--modal {
  margin-top: 18px;
}

.product-order__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-order__field {
  display: grid;
  gap: 8px;
}

.product-order__field--full {
  grid-column: 1 / -1;
}

.product-order__field span {
  color: #9ad0ba;
  font-size: 0.82rem;
}

.product-order__field input,
.product-order__field textarea,
.product-order__field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 17, 16, 0.74);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
}

.product-order__field input:focus,
.product-order__field textarea:focus,
.product-order__field select:focus {
  outline: none;
  border-color: rgba(123, 240, 176, 0.44);
  box-shadow: 0 0 0 4px rgba(123, 240, 176, 0.08);
}

.product-order__field input.is-invalid {
  border-color: rgba(255, 88, 88, 0.82);
  box-shadow: 0 0 0 4px rgba(255, 88, 88, 0.1);
}

.product-order__help {
  color: rgba(183, 203, 195, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-order__form--quick {
  grid-template-columns: 1fr;
}

.product-order__textarea {
  min-height: 118px;
  resize: vertical;
}

.product-order__textarea--quick {
  min-height: 94px;
}

.product-order__shipping {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-order__shipping--active {
  display: grid;
}

.product-order__footer {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.product-order__status {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 42ch;
}

.product-order__status.is-error {
  color: #ffd2d2;
}

.product-order__status.is-success {
  color: var(--brand2);
}

.product-order__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.product-sticky-buy {
  display: none;
}

#productTop,
#productDescription,
#product-feedback {
  scroll-margin-top: 132px;
}

@media (min-width: 721px) {
  .product-sticky-buy {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 18px;
    z-index: 118;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    width: min(1180px, calc(100vw - 48px));
    min-height: 86px;
    padding: 12px 16px;
    border: 1px solid rgba(123, 240, 176, 0.24);
    border-radius: 24px;
    background:
      radial-gradient(circle at 8% 50%, rgba(123, 240, 176, 0.2), transparent 30%),
      radial-gradient(circle at 78% 100%, rgba(217, 255, 92, 0.12), transparent 34%),
      linear-gradient(135deg, rgba(8, 28, 20, 0.97), rgba(4, 13, 11, 0.97));
    box-shadow:
      0 18px 52px rgba(0, 0, 0, 0.42),
      0 0 24px rgba(17, 182, 93, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(100% + 22px));
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.24s ease;
  }

  .product-sticky-buy.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .product-sticky-buy__media {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
  }

  .product-sticky-buy__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-sticky-buy__summary {
    min-width: 0;
    display: grid;
    gap: 8px;
  }

  .product-sticky-buy__summary strong {
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(1rem, 1.2vw, 1.16rem);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-sticky-buy__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .product-sticky-buy__nav a {
    color: rgba(234, 236, 232, 0.68);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .product-sticky-buy__nav a:hover {
    color: #8df7b4;
  }

  .product-sticky-buy__price {
    display: grid;
    justify-items: end;
    gap: 2px;
    white-space: nowrap;
  }

  .product-sticky-buy__price span {
    color: #9ad0ba;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .product-sticky-buy__price strong {
    color: #ffd54a;
    font-family: var(--display);
    font-size: clamp(1.18rem, 1.6vw, 1.55rem);
    line-height: 1;
  }

  .product-sticky-buy__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .product-sticky-buy__cart,
  .product-sticky-buy__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
  }

  .product-sticky-buy__cart {
    border: 1px solid rgba(229, 228, 228, 0.72);
    background: rgba(17, 182, 93, 0.08);
    color: var(--text);
    box-shadow: 0 0 18px rgba(12, 217, 12, 0.16);
  }

  .product-sticky-buy__button {
    border: 0;
    background: linear-gradient(135deg, var(--brand2), #e8ff75);
    color: #04100c;
    box-shadow: 0 0 22px rgba(123, 240, 176, 0.24);
  }

  .product-sticky-buy__icon-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(229, 228, 228, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .product-sticky-buy__icon-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .product-sticky-buy__icon-button:hover,
  .product-sticky-buy__icon-button.is-active,
  .product-sticky-buy__icon-button.is-selected {
    transform: translateY(-2px);
    border-color: rgba(123, 240, 176, 0.5);
    color: #8df7b4;
  }

  body.has-product-sticky-buy .compare-dock[data-product-compare-dock] {
    bottom: 122px;
  }
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(2, 7, 6, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.order-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.order-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(calc(100dvh - 48px), 980px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px;
  border-radius: 28px;
  background: rgba(7, 15, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.order-modal__sticky {
  margin: -28px -28px 0;
  padding: 18px 28px 18px;
  background:
    linear-gradient(180deg, rgba(7, 15, 13, 0.98), rgba(7, 15, 13, 0.94)),
    rgba(7, 15, 13, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.order-modal__close {
  position: sticky;
  top: 0;
  display: block;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.order-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}

.order-modal__head small {
  color: var(--brand2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-modal__head h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.order-modal__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-modal__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-modal__summary-item span {
  display: block;
  margin-bottom: 6px;
  color: #9ad0ba;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.order-modal__summary-item strong {
  line-height: 1.45;
}

.order-modal__summary-item--full {
  grid-column: 1 / -1;
}
.schribe {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product__text {
  color: var(--muted);
  line-height: 1.75;
}

.product__text p {
  margin: 0 0 14px;
}

.product__text a {
  color: var(--brand2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product__text a:hover {
  color: #e8ff75;
}

.product__text h2,
.product__text h3 {
  margin: 28px 0 14px;
  color: var(--text);
  font-family: var(--display);
  line-height: 1.12;
}

.product__text h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.product__text h3 {
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.product__text strong,
.product__text b {
  color: var(--text);
}

.product__text em,
.product__text i {
  color: #d9f8e8;
}

.product__text ul,
.product__text ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.product__text li {
  margin-bottom: 8px;
}

.product__text blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(123, 240, 176, 0.44);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.related {
  margin-top: 22px;
  padding: 22px;
}

.related h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 0;
  text-transform: uppercase;
}

.related h2::before {
  content: "Радимо також придбати";
  display: block;
  font-size: 1.4rem;
}

.product-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(17, 182, 93, 0.08), rgba(255, 213, 74, 0.04)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.product-footer-nav__copy {
  display: grid;
  gap: 6px;
}

.product-footer-nav__copy strong {
  color: var(--text);
  font-size: 1.02rem;
}

.product-footer-nav__copy span {
  color: var(--muted);
  line-height: 1.6;
}

.product-footer-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-footer-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-footer-nav__link:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 240, 176, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.product-footer-nav__link--primary {
  background: linear-gradient(135deg, var(--brand), #d8ff63);
  border-color: transparent;
  color: #07110d;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  box-shadow: 0 0 18px rgba(124, 240, 177, 0.32);
}

.mini-card::after {
  content: "";
  position: absolute;
  top: -28px;
  left: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 213, 74, 0.08);
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
}

.mini-card:hover {
  border-color: rgba(123, 240, 176, 0.26);
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.2);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mini-card__thumb {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 72px;
  height: 72px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
}

.mini-card__image {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  display: block;
  transition: opacity 240ms ease, transform 320ms ease;
}

.mini-card__image--hover {
  opacity: 0;
  transform: scale(1.04);
}

.mini-card:hover .mini-card__image--primary {
  opacity: 0;
  transform: scale(0.97);
}

.mini-card:hover .mini-card__image--hover {
  opacity: 1;
  transform: scale(1);
}

.mini-card__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.product-video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 7, 6, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.product-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-video-modal.is-expanded {
  z-index: 5000;
  padding: 0;
  background: #000;
  backdrop-filter: none;
}

.product-video-modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  border-radius: 26px;
  background: rgba(7, 15, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  padding: 48px 18px 18px;
}

.product-video-modal.is-expanded .product-video-modal__dialog {
  width: 100vw;
  height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.product-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.8rem;
  line-height: 1;
}

.product-video-modal.is-expanded .product-video-modal__close {
  z-index: 8;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  background: rgba(2, 9, 7, 0.74);
}

.product-video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.product-video-modal.is-expanded .product-video-modal__frame {
  width: 100vw;
  height: 100dvh;
  aspect-ratio: auto;
  border-radius: 0;
}

.product-video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-video-modal__frame--locked .product-video-modal__brand {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: clamp(320px, 32%, 430px);
  height: clamp(58px, 12%, 104px);
  display: flex;
  align-items: center;
  padding: 10px clamp(2px, 0.5vw, 8px);
  background: linear-gradient(
    90deg,
    rgba(1, 6, 5, 0.97) 0%,
    rgb(2, 9, 7) 44%,
    rgb(2 9 7 / 30%) 72%,
    rgba(2, 9, 7, 0) 100%
  );
  box-shadow: 18px 14px 34px rgb(0 0 0 / 0%);
  pointer-events: auto;
}

.product-video-modal__frame--locked .product-video-modal__top-block {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: clamp(136px, 14vw, 210px);
  height: clamp(58px, 12%, 104px);
  background: linear-gradient(
    90deg,
    rgb(1 6 5 / 0%) 0%,
    rgb(2 9 7 / 0%) 34%,
    rgb(2 9 7 / 0%) 72%,
    rgb(2 9 7 / 0%) 100%
  );
  pointer-events: auto;
}

.product-video-modal__brand img {
  width: min(250px, 22vw);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(48, 255, 121, 0.28));
}

.product-video-modal__fullscreen-proxy {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: clamp(64px, 7vw, 98px);
  width: clamp(72px, 7vw, 104px);
  height: clamp(66px, 7vw, 96px);
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  appearance: none;
}

.product-video-modal.is-expanded .product-video-modal__fullscreen-proxy {
  bottom: clamp(64px, 7vw, 112px);
}

@media (max-width: 720px) {
  .product-video-modal__frame--locked .product-video-modal__brand {
    width: min(54%, 240px);
    height: clamp(36px, 8%, 52px);
    padding: 6px 2px;
    background: linear-gradient(
      90deg,
      rgba(1, 6, 5, 0.94) 0%,
      rgba(2, 9, 7, 0.82) 48%,
      rgba(2, 9, 7, 0.36) 78%,
      rgba(2, 9, 7, 0) 100%
    );
    box-shadow: 12px 10px 24px rgba(0, 0, 0, 0.18);
  }

  .product-video-modal__frame--locked .product-video-modal__top-block {
    right: 118px;
    height: clamp(36px, 8%, 52px);
    background: linear-gradient(
      90deg,
      rgb(1 6 5 / 0%) 0%,
      rgb(2 9 7 / 0%) 35%,
      rgb(2 9 7 / 0%) 72%,
      rgba(2, 9, 7, 0) 100%
    );
  }

  .product-video-modal__brand img {
    width: min(150px, 32vw);
    max-height: 38px;
  }

  .product-video-modal__fullscreen-proxy {
    bottom: 58px;
    width: 66px;
    height: 64px;
  }

  .product-video-modal.is-expanded .product-video-modal__fullscreen-proxy {
    bottom: 58px;
  }

  .product-video-modal.is-expanded .product-video-modal__frame--locked .product-video-modal__brand {
    width: min(58%, 250px);
    height: 58px;
    background: linear-gradient(
      90deg,
      rgba(1, 6, 5, 0.98) 0%,
      rgba(2, 9, 7, 0.92) 52%,
      rgba(2, 9, 7, 0.42) 82%,
      rgba(2, 9, 7, 0) 100%
    );
    box-shadow: none;
  }

  .product-video-modal.is-expanded .product-video-modal__frame--locked .product-video-modal__top-block {
    right: 126px;
    height: min(220px, 30dvh);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.96) 58%,
      rgba(0, 0, 0, 0.62) 82%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}

.product-video-modal__block {
  position: absolute;
  z-index: 4;
  pointer-events: auto;
}

.product-video-modal__block--youtube {
  right: 0;
  bottom: 0;
  width: clamp(190px, 22vw, 280px);
  height: clamp(58px, 6vw, 82px);
  background: transparent;
}

@media (max-width: 720px) {
  .product-video-modal__block--youtube {
    right: 0;
    bottom: 0;
    width: min(46%, 210px);
    height: 58px;
  }
}

.product-tiktok-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 7, 6, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.product-tiktok-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-tiktok-modal__dialog {
  position: relative;
  width: min(420px, calc(100vw - 48px));
  padding: 52px 18px 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 240, 176, 0.12), transparent 34%),
    rgba(6, 13, 11, 0.98);
  border: 1px solid rgba(123, 240, 176, 0.16);
  box-shadow: var(--shadow);
}

.product-tiktok-modal__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2410;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(6, 18, 15, 0.92);
  box-shadow:
    0 0 0 1px rgba(123, 240, 176, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.product-tiktok-modal__counter {
  position: absolute;
  top: 21px;
  left: 22px;
  color: rgba(234, 236, 232, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-tiktok-modal__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(123, 240, 176, 0.18);
}

.product-tiktok-modal__frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 126px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 46%, rgba(0, 0, 0, 0.58) 74%, transparent 100%),
    radial-gradient(circle at 24% 0%, rgba(87, 255, 70, 0.18), transparent 46%);
  pointer-events: auto;
}

.product-tiktok-modal__frame iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-tiktok-modal__logo {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 44px;
  z-index: 6;
  pointer-events: auto;
}

.product-tiktok-modal__logo img {
  width: min(100%, 242px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(87, 255, 70, 0.48))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.product-tiktok-modal__block {
  position: absolute;
  z-index: 5;
  pointer-events: auto;
  cursor: default;
  background: rgba(0, 0, 0, 0.01);
}

.product-tiktok-modal__block--right {
  top: 96px;
  right: 0;
  bottom: 86px;
  width: 92px;
  height: auto;
}

.product-tiktok-modal__block--bottom {
  right: 0;
  bottom: 0;
  width: 118px;
  height: 86px;
}

.product-tiktok-modal__arrow {
  top: calc(50% + 17px);
}

.product-tiktok-modal__arrow--prev {
  left: -22px;
}

.product-tiktok-modal__arrow--next {
  right: -22px;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 8, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox__dialog {
  position: relative;
  width: min(1280px, 100%);
  max-height: min(92vh, 980px);
  padding: 18px 18px 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 18, 16, 0.98), rgba(7, 15, 13, 0.95)),
    rgba(7, 15, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.product-lightbox__close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.product-lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 64px 14px 0;
}

.product-lightbox__title {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.2;
}

.product-lightbox__counter {
  color: #9ad0ba;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-lightbox__stage {
  position: relative;
  min-height: min(72vh, 760px);
}

.product-lightbox__figure {
  min-height: min(72vh, 760px);
  display: grid;
  place-items: center;
  padding: 24px 84px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-lightbox__image {
  max-width: 100%;
  max-height: min(64vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.34s ease, transform 0.42s ease, filter 0.42s ease;
  transform-origin: center center;
}

.product-lightbox__image.is-transitioning {
  opacity: 0.18;
  filter: blur(4px);
}

.product-lightbox__image.is-transitioning[data-direction="next"] {
  transform: translateX(-28px) scale(0.98);
}

.product-lightbox__image.is-transitioning[data-direction="prev"] {
  transform: translateX(28px) scale(0.98);
}

.product-lightbox__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(124, 240, 177, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 28%, rgba(124, 240, 177, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(15, 44, 29, 0.9), rgba(8, 19, 14, 0.9));
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  font-size: 0;
  line-height: 0;
}

.product-lightbox__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--brand2);
  border-left: 2px solid var(--brand2);
}

.product-lightbox__arrow--prev::before {
  transform: translate(-34%, -50%) rotate(-45deg);
}

.product-lightbox__arrow--next::before {
  transform: translate(-66%, -50%) rotate(135deg);
}

.product-lightbox__arrow:hover {
  border-color: rgba(124, 240, 177, 0.52);
  transform: translateY(calc(-50% - 2px));
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(124, 240, 177, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-lightbox__arrow--prev {
  left: 18px;
}

.product-lightbox__arrow--next {
  right: 18px;
}

@media (max-width: 980px) {
  .product__layout,
  .related__grid {
    grid-template-columns: 1fr;
  }

  .product-footer-nav,
  .product-footer-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-footer-nav__link {
    width: 100%;
  }

  .product-gallery__video {
    width: 158px;
  }

  .product-lightbox__dialog {
    width: min(960px, 100%);
  }

  .product-lightbox__stage {
    min-height: min(66vh, 640px);
  }

  .product-lightbox__figure {
    min-height: min(66vh, 640px);
    padding: 20px 68px;
  }

  .product-order__form,
  .product-order__shipping {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .product > .container.product__layout,
  .product-feedback,
  .related {
    width: min(946px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .product-purchase {
    width: 100%;
    gap: 14px;
  }

  .product-purchase__controls {
    width: 100%;
    grid-template-columns: minmax(190px, 230px) minmax(300px, 420px);
    justify-content: space-between;
    align-items: end;
    column-gap: clamp(18px, 5vw, 52px);
    row-gap: 12px;
  }

  .product-purchase__qty {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .product-purchase__stepper {
    width: 100%;
    grid-template-columns: 1fr 1.2fr 1fr;
  }

  .product-purchase__cart {
    grid-column: 2;
    grid-row: 1;
    min-height: 58px;
    border-radius: 16px;
  }

  .product-purchase__buy {
    grid-column: 2;
    grid-row: 2;
    min-height: 42px;
  }

  .product-purchase__price-wrap {
    width: 100%;
    grid-template-columns: minmax(190px, 230px) minmax(300px, 420px);
    grid-template-areas:
      "availability price"
      "tools price"
      "divider divider";
    justify-content: space-between;
    align-items: start;
    column-gap: clamp(18px, 5vw, 52px);
    row-gap: 12px;
  }

  .product-purchase__price-wrap .product__availability {
    grid-area: availability;
    justify-self: center;
  }

  .product-purchase__price-wrap .product__price {
    grid-area: price;
    justify-self: center;
  }

  .product-purchase__tools {
    grid-area: tools;
    justify-self: center;
    justify-content: center;
    margin-top: 16px;
  }

  .product-purchase__divider {
    grid-area: divider;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .product-sale {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    margin: 20px 0 16px;
    padding: 16px 18px;
    border-radius: 0;
  }

  .product-sale__icon {
    width: 64px;
    height: 64px;
    font-size: 2.25rem;
  }

  .product-sale__copy strong {
    font-size: 1.24rem;
  }

  .product-sale__copy {
    border-right: 0;
    padding-right: 0;
  }

  .product-sale__copy small {
    font-size: 1rem;
    line-height: 1.28;
  }

  .product-sale__timer {
    display: none;
  }

  .product__intro {
    margin-bottom: 20px;
    padding: 16px 16px 16px 24px;
    border-radius: 0 14px 14px 0;
    font-size: 1rem;
    line-height: 1.72;
  }

  .mini-card {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .mini-card__thumb {
    width: 60px;
    height: 60px;
  }

  .product-gallery__thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    scroll-snap-align: start;
  }

  .product-gallery__bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .product-gallery__thumbs {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }

  .product-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__video {
    width: 100%;
    min-height: 78px;
    padding: 8px;
  }

  .product-gallery__video-copy {
    min-height: 60px;
    padding: 8px 10px;
  }

  .product-gallery__video-copy::before {
    font-size: 1.35rem;
  }

  .product-gallery__video-copy strong::before {
    font-size: 1.25rem;
    border-radius: 7px;
  }

  .product-gallery__video-copy small::before {
    font-size: 0.88rem;
  }

  .product-gallery__video--tiktok {
    display: inline-flex;
    width: 100%;
  }

  .product-gallery__video-copy--tiktok {
    min-height: 60px;
    padding-top: 26px;
  }

  .product-gallery__video-copy--tiktok strong {
    font-size: 0.82rem;
  }

  .product-gallery__video-copy--tiktok small {
    font-size: 0.68rem;
  }

  .product-tiktok {
    display: none;
  }

  .product-video-modal {
    padding: 12px;
  }

  .product-tiktok-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .product-tiktok-modal__close {
    top: max(12px, calc(env(safe-area-inset-top) + 10px));
    right: max(12px, calc(env(safe-area-inset-right) + 10px));
  }

  .product-tiktok-modal__dialog {
    width: min(100%, 390px);
    padding: 48px 10px 10px;
    border-radius: 22px;
  }

  .product-tiktok-modal__arrow--prev {
    left: 4px;
  }

  .product-tiktok-modal__arrow--next {
    right: 4px;
  }

  .product-lightbox {
    padding: 0;
    background: rgba(3, 8, 7, 0.46);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .product-lightbox__dialog {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 14px 10px 18px;
    border-radius: 0;
    border: 0;
    background: rgba(4, 10, 9, 0.22);
    box-shadow: none;
  }

  .product-lightbox__close {
    position: fixed;
    z-index: 10000;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: rgba(3, 10, 8, 0.74);
    border-color: rgba(124, 240, 177, 0.24);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 18px rgba(124, 240, 177, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .product-lightbox__head {
    padding: 0 54px 10px 6px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  .product-lightbox__title {
    font-size: 1.28rem;
    line-height: 1.15;
  }

  .product-lightbox__counter {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .product-lightbox__figure {
    min-height: calc(100dvh - 128px);
    padding: 8px 6px 28px;
    border-radius: 0;
    background: transparent;
    border: 0;
    overflow: hidden;
  }

  .product-lightbox__image {
    width: min(100%, 96vw);
    max-width: 96vw;
    max-height: calc(100dvh - 180px);
    height: calc(100dvh - 180px);
    object-fit: contain;
    object-position: center;
    transform: scale(1.03);
  }

  .product-lightbox__arrow {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .product-lightbox__arrow::before {
    width: 12px;
    height: 12px;
  }

  .product-lightbox__arrow:hover {
    transform: translateY(-2px);
  }

  .product-lightbox__arrow--prev {
    left: 10px;
  }

  .product-lightbox__arrow--next {
    right: 10px;
  }

  .product-video-modal__dialog {
    padding: 44px 12px 12px;
    border-radius: 18px;
  }

  .order-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .order-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 22px 16px 16px;
    border-radius: 20px;
  }

  .order-modal__sticky {
    margin: -22px -16px 0;
    padding: 14px 16px 16px;
  }

  .order-modal__summary {
    grid-template-columns: 1fr;
  }

  .product-sticky-buy {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 95;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(123, 240, 176, 0.28);
    background:
      radial-gradient(circle at 16% 0%, rgba(124, 240, 177, 0.18), transparent 34%),
      rgba(5, 16, 13, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 22px rgba(17, 182, 93, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 18px));
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .product-sticky-buy.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .product-sticky-buy__summary,
  .product-sticky-buy__cart,
  .product-sticky-buy__icon-button {
    display: none;
  }

  .product-sticky-buy__media {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), 0 0 16px rgba(123, 240, 176, 0.14);
    overflow: hidden;
  }

  .product-sticky-buy__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-sticky-buy__actions {
    display: contents;
  }

  .product-sticky-buy__price {
    grid-column: 2;
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .product-sticky-buy__price span {
    color: #9ad0ba;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .product-sticky-buy__price strong {
    color: var(--text);
    font-size: 1.05rem;
  }

  .product-sticky-buy__button {
    grid-column: 3;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--brand2), #e8ff75);
    color: #04100c;
    font: inherit;
    font-weight: 900;
  }

  .scroll-top {
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px));
    z-index: 120;
  }

  .floating-contacts {
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px));
    transition: bottom 0.26s ease, transform 0.26s ease, opacity 0.26s ease;
  }

  body.has-visible-scroll-top .floating-contacts {
    bottom: max(166px, calc(env(safe-area-inset-bottom) + 166px));
  }

  body.has-product-sticky-buy .compare-dock[data-product-compare-dock] {
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px));
  }
}

@media (max-width: 390px) {
  .product-sticky-buy {
    left: 8px;
    right: 8px;
    gap: 8px;
    padding: 8px;
  }

  .product-sticky-buy__media {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .product-sticky-buy__button {
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.92rem;
  }

  .product-sticky-buy__price strong {
    font-size: 0.98rem;
  }
}
