/* PROMO */
.promo {
  display: block;
  padding: 25px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  z-index: 0;
  margin: 20px 0;
}
.promo:before {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}
.promo:hover:before {
  height: 800%;
  transition: all 500ms linear;
  background-color: transparent;
}
.promo:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 46px 0 #4c0000;
  pointer-events: none;
}
.promo__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.promo__body {
  display: flex;
  flex-direction: column;
  row-gap: 3px;
  text-align: center;
  align-items: center;
  color: var(--white);
  position: relative;
  z-index: 5;
}
.promo__title {
  color: inherit;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #000;
}
.promo__txt {
  color: var(--color-second);
  font-weight: 700;
  font-size: 0.882em;
}
@media (max-width: 767px) {
  .promo {
    padding: 14px;
    margin: 10px 0;
  }
}

/* CARD */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
  margin-left: -8px;
  margin-right: -8px;
  /* display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); 
  gap:20px; */
}
.card-grid__item {
  width: 25%;
  padding-left: 8px;
  padding-right: 8px;
}
@media (min-width: 1101px) {
  .card-grid--alt .card-grid__item {
    width: 33.333%;
  }
}
@media (max-width: 1100px) {
  .card-grid__item {
    width: 33.333%;
  }
}
@media (max-width: 850px) {
  .card-grid__item {
    width: 50%;
  }
}
/* Обёртка карточек товаров в категории (мобильная версия) */
@media (max-width: 991px) {
  .products-wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    margin-left: -8px;
    margin-right: -8px;
  }
  .products-wrap .card-grid__item {
    display: flex;
    flex-direction: column;
    float: none;
  }
}
@media (max-width: 767px) {
  .products-wrap {
    row-gap: 13px;
    margin-left: -5px;
    margin-right: -5px;
  }
}
@media (max-width: 767px) {
  .card-grid {
    margin-left: -5px;
    margin-right: -5px;
    row-gap: 13px;
  }
  .card-grid__item {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.card {
  background-color: var(--white);
  height: 100%;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  transition: box-shadow 0.5s;
  --offset: 10px;
}
.card__media {
  aspect-ratio: 1;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}
.card__marks, .card__actions {
  position: absolute;
  z-index: 5;
  top: var(--offset);
}
.card__marks > *:not(:last-child), .card__actions > *:not(:last-child) {
  margin-bottom: 6px;
}
.card__marks {
  left: var(--offset);
}
.card__marks .mark {
  width: 100%;
}
.card__actions {
  right: var(--offset);
}
.card__img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
}
.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card__inner {
  padding-left: var(--offset);
  padding-right: var(--offset);
}
.card__title {
  font-weight: 500;
  color: var(--dark);
}
.card__title a {
  color: inherit;
  text-decoration: none;
}
.card__title a:hover {
  color: var(--color-brand);
}
.card__footer {
  padding-bottom: 12px;
  margin-top: auto;
}
.card__group {
  display: flex;
  gap: 11px;
}
.card__button {
  font-weight: 500;
  background-color: #eceff5;
  color: var(--dark);
  min-width: 7.125rem;
  box-shadow: none;
  transition: all 0.5s;
}
@media (min-width: 651px) {
  .card__group {
    align-items: center;
  }
  .card__button {
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .card__title {
    font-size: 1.125rem;
  }
}
@media (min-width: 851px) {
  .card:hover {
    box-shadow: 0 4px 69px 0 rgba(79, 87, 143, 0.3);
  }
  .card:hover .card__button {
    background-color: var(--color-brand);
    color: var(--white);
  }
  .card:hover .btn-circle {
    transform: scale(1);
    height: 42px;
    margin-bottom: 6px;
  }
  .card__img-wrap:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
  }
  .card__img-wrap:hover:after {
    height: 250%;
    transition: all 0.6s linear;
    background-color: transparent;
  }
  .card .btn-circle {
    transform: scale(0);
    height: 0;
    margin-bottom: 0;
  }
  .card .btn-circle.is-active {
    transform: scale(1);
    height: 42px;
    margin-bottom: 6px;
  }
}
@media (max-width: 850px) {
  .card__button {
    background-color: #a8d8a8;
  }
}
@media (max-width: 650px) {
  .card__group {
    flex-direction: column;
  }
  .card__button {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .card {
    padding: 5px;
    row-gap: 10px;
    --offset: 5px;
  }
  .card__footer {
    padding-bottom: 5px;
  }
}

.btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(0, 3, 30, 0.5);
  padding: 0;
  display: grid;
  place-content: center;
  grid-template-areas: "area";
  border: none;
  color: #fff;
  overflow: hidden;
  transition: transform 0.3s, height 0.3s;
}
.btn-circle:hover {
  background-color: rgba(0, 3, 30, 0.8);
}
.btn-circle svg {
  grid-area: area;
  transition: opacity 0.2s;
  will-change: transform;
}
.btn-circle .hidden {
  opacity: 0;
}
.btn-circle.is-active .hidden {
  opacity: 1;
}
.btn-circle.is-active .visible {
  opacity: 0;
}
@media (max-width: 575px) {
  .btn-circle {
    width: 32px;
    height: 32px;
  }
}

/* GALLERY-BOX */
.gallery-box {
  aspect-ratio: 202/323;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.gallery-box__img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.gallery-box__body {
  position: relative;
  padding: 27px 12px 15px;
  background: linear-gradient(180deg, rgba(0, 3, 30, 0) 0%, #00031e 100%);
}
.gallery-box__title {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 5px;
}
.gallery-box__link {
  font-size: 0.9375rem;
  text-decoration: underline;
  font-weight: 500;
  color: var(--color-second);
}
.gallery-box__link:hover {
  text-decoration: none;
}

.gallery-section {
  padding: 23px 20px 28px;
  background-color: var(--white);
}

/* MAP */
@media (min-width: 1201px) {
  .map-info {
    display: flex;
    align-items: center;
  }
  .map-info__body {
    order: -1;
    width: 31.231%;
    flex-shrink: 0;
    margin-right: 44px;
  }
}
@media (max-width: 1200px) {
  .map-info__body {
    margin-top: 21px;
  }
}
@media (max-width: 575px) {
  .map-info__img {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media (min-width: 701px) {
  .map-grid {
    display: flex;
    margin-left: -8px;
    margin-right: -8px;
  }
  .map-grid__main, .map-grid__aside {
    padding-left: 8px;
    padding-right: 8px;
  }
  .map-grid__main {
    aspect-ratio: 856/453;
  }
  .map-grid__aside {
    aspect-ratio: 420/453;
    order: -1;
  }
}
@media (min-width: 501px) and (max-width: 700px) {
  .map-grid__aside {
    display: none;
  }
}
@media (max-width: 575px) {
  .map-grid__main {
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media (max-width: 500px) {
  .map-grid__aside {
    margin-top: 20px;
  }
}

/* ORDER */
@media (min-width: 951px) {
  .order-form-grid {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
  }
  .order-form-grid__item {
    width: 50%;
  }
}
@media (max-width: 950px) {
  .order-form-grid__item:not(:last-child) {
    margin-bottom: 34px;
  }
}
@media (max-width: 767px) {
  .order-form-grid.with-border-bottom {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 16px;
  }
}

.order-form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-form-footer {
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .order-form-footer {
    text-align: center;
  }
}

.order-form-sticky {
  position: sticky;
  top: 80px;
}

.order-block {
  border-radius: 6px;
  background-color: var(--white);
  box-shadow: 0 2px 14px 0 rgba(73, 91, 147, 0.07);
}
.order-block:not(:last-child) {
  margin-bottom: 16px;
}
.order-block__header {
  background-color: #a8d8a8;
  padding: 13px 20px;
  color: var(--dark);
}
.order-block__body {
  padding: 16px 20px 25px;
  color: var(--footer-border);
}
.order-block__divider {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.order-block p:not(:last-child) {
  margin-bottom: 11px;
}
.order-block__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.order-block__group-aside {
  width: 175px;
}
.order-block__group-aside input {
  padding-left: 10px;
  padding-right: 10px;
}
.order-block__group-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media(min-width: 1310px){
  .order-block__group{
    flex-wrap: nowrap;
  }
  .order-block__group-main{
    flex-wrap: nowrap;
  }
}
.order-block__input {
  position: relative;
  margin-bottom: 8px;
}
.order-block__bottom {
  margin-top: 16px;
}
.order-block .iti {
  display: block;
  font-size: 0.9375rem;
}
.order-block .iti--separate-dial-code .iti__selected-flag {
  background-color: #f0f2f7;
  border-right: 1px solid var(--color-border);
  border-radius: 6px 0 0 6px;
}
.order-block .iti__selected-dial-code {
  font-weight: 600;
}
.order-block .iti__country-name {
  display: none;
}
.order-block .iti__dial-code {
  color: var(--footer-border);
}
.order-block .iti__country.iti__highlight {
  background-color: var(--bg-hover);
}
@media (max-width: 575px) {
  .order-block__group {
    flex-direction: column;
    align-items: start;
  }
  .order-block__group-aside {
    width: 100%;
  }
  .order-block__body {
    padding: 15px 15px 20px;
  }
}

.order-title {
  margin-bottom: 0;
  font-weight: 700;
  color: inherit;
  font-size: 1.058em;
}
.order-title__note {
  font-weight: 400;
  font-size: 0.944em;
}

.order-product {
  background-color: var(--white);
  padding: 10px 15px 10px 10px;
  position: relative;
}
.order-product__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 83px 1fr;
  grid-template-areas: "media header" "media group";
}
.order-product__media {
  aspect-ratio: 1;
  overflow: hidden;
  max-width: 83px;
  overflow: hidden;
  grid-area: media;
  transition: opacity 0.3s;
}
.order-product__media:hover {
  opacity: 0.85;
}
.order-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.order-product__header {
  padding-right: 30px;
  grid-area: header;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.order-product__title {
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  display: block;
}
.order-product__group {
  grid-area: group;
  display: flex;
  align-items: center;
  gap: 18px;
}
.order-product__end {
  margin-left: auto;
  align-self: end;
}
.order-product__close {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 3px;
  right: 3px;
  display: grid;
  place-content: center;
  color: var(--color-placeholder);
  cursor: pointer;
  transition: color 0.3s;
}
.order-product__close:hover {
  color: var(--color-brand);
}
.order-product-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media (min-width: 501px) {
  .order-product__header {
    padding-top: 3px;
  }
  .order-product .mobile-only {
    display: none;
  }
}
@media (max-width: 500px) {
  .order-product__grid {
    grid-template-columns: 63px 1fr;
    gap: 9px;
    grid-template-areas: "media header" "group group";
  }
  .order-product__group {
    justify-content: space-between;
  }
  .order-product .desktop-only {
    display: none;
  }
}

.calc {
  display: flex;
  height: 31px;
  border-radius: 6px;
  overflow: hidden;
}
.calc__btn, .calc__input {
  height: 100%;
}
.calc__input {
  border-radius: 0;
  width: 43px;
  padding: 0 5px;
  text-align: center;
}
.calc__btn {
  width: 27px;
  background-color: var(--color-border);
  border: none;
  color: var(--color-icon);
  font-size: 30px;
  line-height: 1;
  padding: 0;
  transition: color 0.3s;
}
.calc__btn:hover {
  color: var(--color-brand);
}

.order-info {
  background-color: var(--white);
  padding: 21px 20px 27px;
}
.order-info__block {
  display: flex;
  flex-direction: column;
  row-gap: 22px;
  border-bottom: 1px solid var(--bg-body);
}
.order-info__table {
  display: table;
  width: 100%;
}
.order-info__row {
  display: table-row;
}
.order-info__cell {
  display: table-cell;
  vertical-align: middle;
  font-size: 0.9375rem;
  padding-bottom: 10px;
  color: var(--color-icon);
}
.order-info__cell:first-child {
  padding-right: 10px;
}
.order-info__cell:last-child {
  text-align: right;
}
.order-info__total {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--dark);
  padding-top: 10px;
}
.order-info__total-end {
  margin-left: auto;
}

.order-price {
  color: var(--footer-border);
}

@media (min-width: 951px) {
  .order-sticky-mobile {
    text-align: center;
  }
  .order-sticky-mobile__btn {
    display: none;
  }
  .order-sticky-mobile .order-info {
    display: none;
  }
}
@media (max-width: 950px) {
  .order-sticky-mobile {
    position: sticky;
    z-index: 99;
    left: 0;
    bottom: 0;
    text-align: left;
    background-color: var(--white);
    margin-left: -25px;
    margin-right: -25px;
    padding: 6px 20px 20px;
    box-shadow: 0 4px 69px 0 rgba(79, 87, 143, 0.3);
  }
  .order-sticky-mobile.is-active .order-sticky-mobile__btn svg {
    transform: translateY(-50%) rotate(-180deg);
  }
  .order-sticky-mobile.is-active .order-info__block {
    display: flex;
  }
  .order-sticky-mobile__btn {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    position: relative;
    font-size: 0.9375rem;
  }
  .order-sticky-mobile__btn svg {
    position: absolute;
    right: 0;
    top: 50%;
    color: var(--color-icon);
    transform: translateY(-50%) rotate(0);
    transition: transform 0.3s;
  }
  .order-sticky-mobile .order-info {
    padding: 0 0 12px;
  }
  .order-sticky-mobile .order-info__block {
    row-gap: 12px;
    padding-top: 12px;
    display: none;
  }
  .order-sticky-mobile .order-button {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .order-sticky-mobile {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 15px 10px;
  }
}

/* CATEGORY-HEADER */
.category-header {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 576px) {
  .category-header__end {
    margin-left: auto;
  }
  .category-header__info {
    max-width: 37.529em;
    text-align: right;
    font-style: italic;
  }
}
@media (min-width: 768px) {
  .category-header {
    margin-top: 37px;
  }
}
@media (max-width: 575px) {
  .category-header {
    flex-direction: column;
    gap: 5px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .category-header__info {
    font-size: 0.75rem;
  }
}

/* FILTERS */
.filter-box {
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.filter-box__header {
  display: flex;
  align-items: center;
  padding: 19px 15px 21px 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}
.filter-box__title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.125rem;
  text-transform: uppercase;
  line-height: 1;
}
.filter-box__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 19px 17px;
}
.filter-box__item:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}
.filter-box__caption {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.filter-box__content {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.filter-box__reset {
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-icon);
  padding: 0;
  border: none;
  background-color: transparent;
  transition: color 0.3s;
}
.filter-box__reset:hover {
  color: var(--color-brand);
}
.filter-box__reset span {
  text-decoration: underline;
}
.filter-box__pt0 {
  padding-top: 0;
}
@media (max-width: 1100px) {
  .filter-box-wrap {
    display: block;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 3, 30, 0.8);
    backdrop-filter: blur(5px);
    transition: transform 0.4s;
    transform: translateX(-120%);
    overflow-y: auto;
  }
  .filter-box-wrap.is-show {
    transform: translateX(0);
  }
  .filter-box-container {
    padding: 40px 25px 20px;
  }
  .filter-box {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.filter-bottom {
  position: sticky;
  z-index: 99;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--color-border);
  padding: 19px 25px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
@media (min-width: 1101px) {
  .filter-bottom {
    display: none;
  }
}

.range {
  display: flex;
  align-items: center;
  gap: 14px;
}
.range__val {
  flex-shrink: 0;
  color: var(--dark);
}
.range__slider {
  flex: 1 1 100%;
}

.noUi-horizontal {
  height: 6px;
  background-color: var(--bg-body);
}

.noUi-target {
  border: none;
  box-shadow: none;
}

.noUi-connect {
  background: var(--color-hover);
}

.noUi-horizontal .noUi-handle {
  width: 16px;
  height: 16px;
  top: -5px;
  right: -5px;
}

.noUi-handle {
  border: none;
  border-radius: 50%;
  background: var(--color-hover);
  box-shadow: 0 2px 6px 0 rgba(255, 75, 75, 0.15);
}
.noUi-handle:before, .noUi-handle:after {
  display: none;
}

.filter-line {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 6px 0 16px;
  color: var(--color-icon);
}
.filter-line__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-line__btn {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background-color: var(--white);
  padding: 11px;
  min-width: 8.125rem;
  font-size: 0.9375rem;
  color: var(--dark);
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.filter-line__btn:hover {
  border-color: var(--color-brand);
  background-color: var(--bg-hover);
}
.filter-line__btn:hover svg {
  color: var(--color-brand);
}
.filter-line__btn svg {
  color: var(--color-placeholder);
  transition: color 0.3s;
}
@media (min-width: 901px) {
  .filter-line__btn.mobile-only {
    display: none;
  }
}
.filter-line__end {
  margin-left: auto;
}
@media (min-width: 1101px) {
  .filter-line__btn {
    display: none;
  }
}
@media (max-width: 991px) {
  .filter-line__txt {
    display: none;
  }
}
@media (max-width: 750px) {
  .filter-line__end {
    display: none;
  }
}

.select-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.select-group .custom-select-wrap {
  width: 280px;
}

/* PRODUCT-MAIN */
.product-main-wrap {
  --offset: 71px;
}
@media (max-width: 767px) {
  .product-main-wrap {
    --offset: 60px;
  }
}
.product-main-container {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
@media (min-width: 768px) {
  .product-main-container {
    padding-bottom: 41px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 36px;
  }
}
@media (max-width: 767px) {
  .product-main-container {
    padding-bottom: 50px;
  }
}
.product-main {
  background-color: var(--white);
  padding: 10px 28px 20px 10px;
}
.product-main__header {
  grid-area: header;
}
.product-main__header-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.product-main__header-end {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}
.product-main__carousel {
  grid-area: carousel;
}
.product-main__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
}
.product-main__body-footer {
  margin-top: auto;
}
@media (min-width: 992px) {
  .product-main {
    display: grid;
    grid-template-rows: 0.5fr 1.5fr;
    grid-template-columns: 40.591% 1fr;
    column-gap: 26px;
    grid-template-areas: "carousel header" "carousel body";
  }
  .product-main__header {
    padding-top: 19px;
  }
  .product-main__header-group {
    align-items: center;
  }
  .product-main__item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bg-body);
    margin-bottom: 18px;
  }
}
@media (max-width: 991px) {
  .product-main {
    padding: 30px 20px;
  }
  .product-main__header, .product-main__header-group {
    margin-bottom: 17px;
  }
  .product-main__header-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .product-main__header .art {
    width: min-content;
    text-align: right;
  }
  .product-main__carousel {
    max-width: 509px;
    margin: 0 auto 17px;
  }
  .product-main__body .product-actions-wrap {
    order: -1;
  }
}
@media (max-width: 575px) {
  .product-main {
    padding: 20px 10px;
  }
}
@media (max-width: 480px) {
  .product-main__carousel {
    margin-left: -10px;
    margin-right: -10px;
  }
}
.product-main-group {
  display: flex;
  gap: 16px;
}
@media (min-width: 992px) {
  .product-main-group__content {
    flex-grow: 1;
    min-width: 1px;
    max-width: 100%;
  }
  .product-main-group__aside {
    width: 32.51%;
    min-width: 380px;
    flex-shrink: 0;
  }
  .product-main-group .panel {
    height: 100%;
  }
}
@media (max-width: 991px) {
  .product-main-group {
    flex-direction: column;
  }
}

.product-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  color: #0a8f2f;
  gap: 6px;
  font-weight: 500;
}

@media (min-width: 992px) {
  .product-block:not(:first-child) {
    padding-top: 18px;
  }
  .product-block:not(:last-child) {
    padding-bottom: 18px;
  }
}
@media (max-width: 991px) {
  .product-block {
    margin: 18px 0;
  }
}

.product-desc {
  display: table;
  width: 100%;
}
.product-desc__row {
  display: table-row;
}
.product-desc__row:not(:last-child) .product-desc__cell {
  padding-bottom: 12px;
}
.product-desc__cell {
  display: table-cell;
}
.product-desc__cell:first-child {
  padding-right: 25px;
}

.product-actions-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--bg-body);
  border-bottom: 1px solid var(--bg-body);
}
@media (max-width: 700px) {
  .product-actions-wrap {
    flex-direction: column;
  }
  .product-actions-wrap .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .product-actions-wrap {
    gap: 12px;
  }
  .product-actions-wrap .product-btn {
    width: calc(50% - 10px);
    min-width: 0;
  }
}

.product-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-btn {
  min-width: 8.75rem;
  min-height: 2.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px 15px;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-txt);
  transition: all 0.3s;
}
.product-btn:hover {
  background-color: var(--bg-hover);
  color: var(--dark);
  border-color: var(--color-brand);
}
.product-btn_v1 {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--white);
}
.product-btn_v1:hover {
  color: var(--color-brand);
  background-color: var(--white);
}
.product-btn_styled {
  min-width: 45px;
  padding: 10px;
}
@media (max-width: 600px) {
  .product-btn-wrap {
    width: 100%;
  }
  .product-btn_fluid {
    width: 100% !important;
  }
}

.product-caption {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.058em;
}

.product-info {
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}
.product-info__item {
  width: 50%;
  padding: 5px;
}
.product-info__box {
  background-color: #f0f2f7;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  height: 100%;
}
.product-info__item.w-100 {
  width: 100%;
}
.product-info__box_accent {
  background-color: #fff3f3;
  border: 1px solid var(--color-brand, #e70014);
  color: var(--dark, #00031e);
}

/* product-carousel */
.product-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 509px;
}
.product-carousel__item {
  display: block;
  aspect-ratio: 1;
}
.product-carousel__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-carousel-nav {
  margin-top: 12px;
}
.product-carousel-nav .splide__slide {
  aspect-ratio: 1;
  width: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-border) !important;
  transition: border-color 0.3s;
}
.product-carousel-nav .splide__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-carousel-nav .splide__slide.is-active {
  border: 2px solid var(--color-brand) !important;
}
@media (max-width: 500px) {
  .product-carousel {
    border-radius: 0;
  }
}

/* product-nav */
.product-nav {
  display: flex;
  background-color: var(--white);
  margin-bottom: 16px;
}
.product-nav-wrap {
  position: sticky;
  top: var(--offset);
  transition: all 0.3s;
}
.product-nav-wrap.sticky-active {
  z-index: 90;
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(79, 87, 143, 0.2);
}
.product-nav__button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.882em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  flex: 1 1 100%;
}
.product-nav__button:not(:last-child) {
  border-right: 1px solid var(--bg-body);
}
.product-nav__button.is-active {
  border-bottom-color: currentColor;
  color: var(--color-brand);
}
.product-nav__button.is-active .product-nav__icon {
  color: inherit;
}
@media (min-width: 901px) {
  .product-nav__button:hover {
    color: var(--color-brand);
  }
  .product-nav__button:hover .product-nav__icon {
    color: inherit;
  }
}
.product-nav__icon {
  color: var(--color-placeholder);
  transition: all 0.3s;
}
@media (max-width: 700px) {
  .product-nav__button {
    flex-direction: column;
    gap: 4px;
    padding: 4px 8px;
    flex: 1 1 auto;
  }
}

.observer {
  height: 1px;
  width: 1px;
  pointer-events: none;
  position: relative;
  top: calc(var(--offset) * -1);
  z-index: -1;
  overflow: hidden;
}

/* product-rating */
.product-rating-grid {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-body);
  margin-bottom: 16px;
}
.product-rating-grid__title span {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.125rem;
}
.product-rating-grid__content {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media (min-width: 576px) {
  .product-rating-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "header content" "footer content";
  }
  .product-rating-grid__header {
    grid-area: header;
  }
  .product-rating-grid__content {
    grid-area: content;
  }
  .product-rating-grid__footer {
    grid-area: footer;
    align-self: end;
  }
}
@media (max-width: 575px) {
  .product-rating-grid {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
  }
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--color-border);
}
.rating-stars .is-active {
  color: var(--color-second);
}

.rating-progress {
  width: 100%;
  flex: 1 1 100%;
  background-color: var(--bg-body);
  height: 5px;
  border-radius: 4px;
  position: relative;
}
.rating-progress__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: inherit;
  background-color: #659ce3;
}

.rating-calc {
  font-size: 0.9375rem;
  color: var(--color-placeholder);
  margin-left: 3px;
}

/* review */
.review {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.review:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-body);
  margin-bottom: 16px;
}
.review__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: -4px;
}
.review__header-end {
  margin-left: auto;
}
.review__title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.058em;
}
.review__gallery {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  margin-left: -4px;
  margin-right: -4px;
}
.review__gallery-item {
  width: 25%;
  padding: 0 4px;
}
@media (max-width: 575px) {
  .review__gallery-item {
    width: 33.333%;
  }
}
.review__media {
  aspect-ratio: 194/144;
  display: block;
  overflow: hidden;
  transition: opacity 0.3s;
}
.review__media:hover {
  opacity: 0.85;
}
.review__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.review__date {
  font-size: 0.9375rem;
  color: var(--color-placeholder);
}
.review-cut {
  max-height: 320px;
  overflow: hidden;
  position: relative;
}
.review-cut:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 85%);
}

/* product-preview */
.product-preview {
  display: flex;
}
.product-preview:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-body);
  margin-bottom: 16px;
}
.product-preview__media {
  aspect-ratio: 1;
  max-width: 106px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 11px;
  align-self: start;
  transition: opacity 0.3s;
}
.product-preview__media:hover {
  opacity: 0.85;
}
.product-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-preview__body {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  row-gap: 11px;
}
.product-preview__bottom, .product-preview__top {
  display: flex;
  gap: 11px;
  justify-content: space-between;
}
.product-preview__top {
  padding-top: 5px;
}
.product-preview__bottom {
  align-items: center;
  margin-top: auto;
}
.product-preview__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
}
@media (max-width: 575px) {
  .product-preview__title {
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 480px) {
  .product-preview__media {
    max-width: 86px;
  }
}

/* prompt */
.prompt {
  position: sticky;
  z-index: 99;
  bottom: 0;
  width: 100%;
  background-color: var(--white);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 25px rgba(79, 87, 143, 0.3);
  padding: 20px 0;
  transition: transform 0.4s;
  will-change: transform;
  transform: translateY(120%);
}
.prompt.is-show {
  transform: translateY(0);
}
.prompt__grid {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.prompt__main {
  display: flex;
  align-items: center;
  max-width: 450px;
}
.prompt__media {
  aspect-ratio: 1;
  width: 60px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 12px;
}
.prompt__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prompt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.prompt__buttons {
  display: flex;
  gap: 10px;
}
@media (max-width: 900px) {
  .prompt__main {
    display: none;
  }
  .prompt__actions {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 500px) {
  .prompt__actions {
    flex-direction: column;
    gap: 12px;
  }
  .prompt__price {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .prompt__buttons {
    width: 100%;
  }
}

/* ACCORDION */
.accordion {
  border: 1px solid transparent;
  border-radius: 6px;
  width: 100%;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}
.accordion:not(:last-child) {
  margin-bottom: 8px;
}
.accordion.is-open {
  border-color: var(--color-border);
}
.accordion.is-open .accordion__header {
  border-color: var(--color-border);
  background-color: transparent;
}
.accordion.is-open .accordion__body {
  grid-template-rows: 1fr;
}
.accordion.is-open .accordion__content {
  padding-top: 9px;
  padding-bottom: 13px;
}
.accordion.is-open .stage-btn {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.accordion__header {
  border: 1px solid var(--bg-body);
  border-radius: inherit;
  background-color: #f0f2f7;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: -1px -1px 0 -1px;
}
.accordion__header:hover {
  background-color: var(--white);
  border-color: var(--color-border);
}
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.accordion__content {
  padding-left: 11px;
  padding-right: 11px;
  min-height: 0;
  transition: 0.3s ease-in-out;
}

/* STAGE */
.stage-scroller {
  overflow-x: auto;
}
.stage-scroller__inner {
  width: 100%;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}
.stage-grid {
  display: flex;
  align-items: center;
  padding: 0.733em 0.4666em;
  font-size: 0.88em;
  color: var(--footer-border);
}
.stage-grid_top {
  padding-top: 0;
  padding-bottom: 0.6em;
  color: var(--color-icon);
}
.stage-grid__item {
  padding: 0 5px;
  width: 100%;
}
.stage-grid__item.size-1 {
  max-width: 7.333em;
  min-width: 6em;
}
.stage-grid__item.size-2 {
  max-width: 12.533em;
  min-width: 7.4em;
}
.stage-grid__item.size-3 {
  max-width: 6.466em;
  min-width: 5em;
}
.stage-grid__item.size-4 {
  max-width: 6.067em;
  min-width: 4.67em;
}
.stage-num {
  font-weight: 600;
  color: var(--dark);
}
.stage-status {
  position: relative;
  padding-left: 0.9333em;
}
.stage-status:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 0.533em;
  height: 0.533em;
  border-radius: 50%;
}
.stage-status.done:before {
  background-color: #0a8f2f;
}
.stage-status.wait:before {
  background-color: var(--color-second);
}
.stage-status.work:before {
  background-color: #659ce3;
}
.stage-status.delivery:before {
  background-color: #a8d8a8;
}
.stage-process {
  color: #659ce3;
}
.stage-true {
  color: #0a8f2f;
}
.stage-false {
  color: var(--color-brand);
}
.stage-group {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}
.stage-btn {
  color: var(--color-placeholder);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.stage-table {
  width: 100%;
  font-size: 0.88em;
  color: var(--footer-border);
}
.stage-table td {
  padding-bottom: 5px;
  padding-right: 20px;
}
.stage-table td:last-child {
  text-align: right;
  padding-right: 0;
}
.stage-table__counter {
  font-weight: 600;
  color: var(--dark);
  margin-right: 7px;
}
.stage-total {
  padding-top: 8px;
  border-top: 1px solid var(--bg-body);
  display: flex;
  align-items: center;
  gap: 20px;
}
.stage-total__caption {
  font-size: 0.9375rem;
  color: var(--color-icon);
  padding-left: 3px;
}
.stage-total__val {
  font-weight: 500;
  color: var(--dark);
  padding-right: 3px;
  margin-left: auto;
}

