 

.product-page { padding-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding-left: 20px; }
p { margin: 0 0 12px; }
 
.section-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3D4453;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.btn--full { width: 100%; }
.btn--sm { height: 40px; font-size: 14px; }

.btn--green {
  background: #55b555;
  color: #ffffff;
}
.btn--green:hover { background: #4aa34a; }

.btn--outline {
  background: #ffffff;
  color: #1d1d1f;
  border: 1px solid #DFDEEF;
}
.btn--outline-green{
    border-color: #55b555;
}
.btn--outline:hover { border-color: #aeaeb2; }

.btn--cart { flex: 1; min-width: 0; }

/* ---- Badges ---- */

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge--sale {
  background: #ffecec;
  color: #e53935;
}

.badge--sale-sm {
  background: #F53D0A1A;
  color: #F53D0A;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 4px;
}

.badge--hit {
  background: #fff3e0;
  color: #f57c00;
}

.badge--new {
  background: #e8f5e9;
  color: #55b555;
}

.badge--soon {
  background: #f5f5f7;
  color: #6e6e73;
}

 

/* ---- Product Hero ---- */

.product-hero {
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: 24px 32px;
  align-items: start;
  padding-bottom: 48px;
  padding-top: 50px;
}

/* Gallery */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: #ffffff;
}

.product-gallery__main .badge--sale {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  text-transform: none;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
}

.product-gallery__share {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #6e6e73;
  border: 1px solid #e5e5ea;
}

.product-gallery__img {
  max-height: 450px;
  width: auto;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 1px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.product-gallery__thumb--active,
.product-gallery__thumb:hover {
  border-color: #DFDEEF;
}

.product-gallery__thumb img {
  max-height: 100%;
  object-fit: contain;
}

.product-gallery__dots {
  display: none;
}

/* Product Info */
.product-action-flex {
    display: flex;
    gap: 40px;
}

.product-action-flex .product-info-left,.product-action-flex .product-info-right {
    width: calc(100%/2 - 20px);
}

.product-option__label span {
    color: #000;
}
.product-info__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.product-info__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #6e6e73;
}

.product-info__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d1d1f;
  font-weight: 600;
  text-decoration: none;
}

.product-info__reviews-count {
  font-weight: 400;
  color: #6e6e73;
}

.product-info__tag {
      padding: 3px 10px;
    background: #F5F5F9CC;
    border-radius: 999px;
    font-size: 12px;
    color: #1E2429;
}

.product-info__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.product-info__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6e6e73;
  white-space: nowrap;
  transition: color 0.2s;
}

.product-info__action:hover { color: #1d1d1f; }

/* Options */

.product-option {
  margin-bottom: 20px;
}

.product-option__label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #8B8AA4;
}

.product-option__colors {
  display: flex;
  gap: 8px;
}

.product-option__color {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 4px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.product-option__color img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-option__color--active,
.product-option__color:hover {
  border-color: #55b555;
}

.product-option__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 40px;
  padding: 0 16px;
  background: #ffffff;
  border: 1.5px solid #e5e5ea;
  border-radius: 8px;
  font-size: 14px;
  color: #1d1d1f;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip--active {
  border-color: #55b555;
  font-weight: 600;
}

.chip:hover { border-color: #aeaeb2; }
.chip--active:hover { border-color: #55b555; }

/* Gifts */

.product-gifts {
  position: relative;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #F3F3F5;
  border-radius: 38px;
  overflow: hidden;
}

.product-gifts::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 115px;
  background: url(/assets/basetemplate/img/gifts.png);
  opacity: 1;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-gifts__content {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 25px);
}

.product-gifts__title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #3D4453;
}

.product-gifts__text {
  font-size: 14px;
  color: #3D4453;
  line-height: 1.4;
}

/* Delivery accordion */

.product-delivery {
}

.accordion {
}

.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.accordion__head::-webkit-details-marker { display: none; }

.accordion__head::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #6e6e73;
  border-bottom: 2px solid #6e6e73;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.accordion[open] .accordion__head::after {
  transform: rotate(-135deg);
}

.accordion__body {
  padding: 0px 0 5px;
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.5;
}

.accordion__preview {
  margin: -6px 0 10px;
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.4;
}

.accordion__preview a {
  color: #55b555;
  text-decoration: underline;
}

.accordion__preview a:hover {
  color: #4aa34a;
}

/* Buy box */

.product-buy__card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 38px;
}

.product-buy__price-old {
  margin-bottom: 2px;
  font-size: 14px;
  color: #8B8AA4;
  text-decoration: line-through;
}

.product-buy__price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-buy__price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #3D4453;
}

.product-buy__benefit {
  margin-bottom: 8px;
  font-size: 12px;
  color: #3D4453;
}

.product-buy__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 11px;
  color: #52B54D;
  font-weight: 500;
  border: 1px solid #3AAA351A;
  padding: 4px 8px;
  width: max-content;
  border-radius: 4px;
}

.product-buy__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3AAA35;
}

.product-buy__qty-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.qty {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid #DFDEEF;
  border-radius: 38px;
  overflow: hidden;
}

.qty__btn {
  width: 36px;
  height: 100%;
  font-size: 25px;
  color: #6D7483;
  transition: background 0.2s;
}

.qty__btn:hover { background: #f5f5f7; }

.qty__input {
  min-width: 48px;
  width: 48px;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #3D4453;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty__input:focus {
  outline: none;
}

.product-buy__promo { display: none; }

.product-buy__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  font-size: 14px;
  color: #000;
  text-align: left;
  background: #F3F3F5;
  border-radius: 20px;
}

.product-buy__row:hover {
  color: #6e6e73;
}

.product-buy__row svg {
  flex-shrink: 0;
  color: #aeaeb2;
}

.product-buy__row-split {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-buy__split-logo {
  padding: 3px 8px;
  background: #1d1d1f;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: lowercase;
}

.product-buy__split {
  display: none;
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.input::placeholder { color: #aeaeb2; }

.product-buy__credit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.product-buy__credit-label {
  font-size: 14px;
  font-weight: 600;
}

.select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e5e5ea;
  border-radius: 33px;
  font-family: inherit;
  font-size: 13px;
  background: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.product-buy__messengers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px; 
}

.product-buy__messengers-btns {
  display: flex;
  gap: 8px;
  width: 100%;
}

.messenger-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border: 1px solid #e5e5ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  transition: border-color 0.2s;
}

 

.messenger-btn--max::before {
  background: linear-gradient(135deg, #7b68ee, #a855f7);
}

.messenger-btn--telegram::before {
  background: #29a9eb;
}

.messenger-btn:hover {
  border-color: #aeaeb2;
}

.product-buy__messengers-text {
  font-size: 13px;
  color: #6e6e73;
}

.product-buy__messengers-links { display: none; }
.messenger { display: none; }

.product-buy > .product-buy__card + .btn { margin-top: 8px; }

.product-buy .btn--outline.btn--full { margin-top: 8px; }

/* ---- Trust badges ---- */

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid #DFDEEF;
  border-radius: 38px;
}

.trust-badges--gallery {
  margin-top: 4px;
}

.trust-badges--mobile {
  display: none;
  margin-bottom: 20px;
}

.trust-badge {
  text-align: center;
}

.trust-badge__icon {
  display: flex;
  align-items: center;
  margin: 0 auto 6px;
  color: #6e6e73;
}

.trust-badge__title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: #686684;
}

.trust-badge__text {
  font-size: 14px;
  color: #686684;
  line-height: 1.35;
  text-align: left;
}

/* ---- Buy together ---- */

.buy-together {
  margin-bottom: 48px;
}

.buy-together__title {
  margin-bottom: 24px;
}

.buy-together__wrap {
  position: relative;
}

.buy-together__slider,
.recently-viewed__slider {
  margin: 0 -8px;
}

.buy-together__slider .slick-list,
.recently-viewed__slider .slick-list {
  overflow: hidden;
  margin: 0 -8px;
  padding: 0 8px;
}

.buy-together__slider .slick-track,
.recently-viewed__slider .slick-track {
  display: flex;
  align-items: stretch;
}

.buy-together__slider .slick-slide,
.recently-viewed__slider .slick-slide {
  height: auto;
}

.buy-together__slider .slick-slide > div,
.recently-viewed__slider .slick-slide > div {
  height: 100%;
  padding: 0 8px;
}

.buy-together__slide {
  position: relative;
  height: 100%;
}

.buy-together__slide::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e5ea;
  display: none;
}

.buy-together__slide::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5e5ea;
  display: none;
}

.buy-together__slider .slick-slide:first-child .buy-together__slide,
.recently-viewed__slider .slick-slide:first-child .buy-together__slide {
  padding-left: 0;
}

.buy-together__slider .slick-slide:first-child .buy-together__slide::before,
.buy-together__slider .slick-slide:first-child .buy-together__slide::after,
.recently-viewed__slider .slick-slide:first-child .buy-together__slide::before,
.recently-viewed__slider .slick-slide:first-child .buy-together__slide::after {
  display: none;
}

.together-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  min-height: 88px;
}

.together-card__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.together-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  min-height: 72px;
  padding-top: 2px;
}

.together-card__name {
  font-size: 13px;
  line-height: 1.35;
  color: #3a3a3c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.together-card__row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 8px;
}

.together-card__price {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.together-card__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: #52B54D;
  color: #ffffff;
  flex-shrink: 0;
  transition: background 0.2s;
}

.together-card__cart:hover {
  background: #4aa34a;
}

.buy-together__progress {
  margin-top: 16px;
  max-width: 100%;
}

.buy-together__progress-track {
  position: relative;
  height: 4px;
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}

.buy-together__progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #F3F3F5;
  border-radius: 2px;
  transition: left 0.3s ease, width 0.3s ease;
}

/* ---- Tabs ---- */

.product-tabs-section {
  margin-bottom: 48px;
}

.product-tabs-section .tabs {
  margin-bottom: 28px;
}

.tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #DFDEEF;
}

.tabs__btn {
  position: relative;
  padding: 12px 0;
  font-size: 16px;
  color: #6e6e73;
  white-space: nowrap;
  transition: color 0.2s;
}

.tabs__btn:hover { color: #1d1d1f; }

.tabs__btn--active {
  color: #3D4453;
  font-weight: 600;
}

.tabs__btn--active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: #3D4453;
}

.product-tabs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.product-tabs-content {
  min-width: 0;
}

.tab-panel {
  min-width: 0;
}

.product-description {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.6;
  color: #3D4453;
}

.product-description ul {
  margin-top: 12px;
}

.product-description li {
  margin-bottom: 8px;
}

/* Specs */

.specs-list {
  margin: 0;
}

.specs-list__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #DFDEEF;
  font-size: 14px;
}

.specs-list__row dt {
  color: #6e6e73;
  font-weight: 400;
}

.specs-list__row dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.link-green {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: #55b555;
  cursor: pointer;
}

.link-green:hover { color: #4aa34a; }

/* Read more */

.read-more__btn {
  margin-top: 16px;
}

.read-more--collapsible.read-more--collapsed:not(.read-more--specs) .read-more__content {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.read-more--collapsible.read-more--collapsed:not(.read-more--specs) .read-more__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 80%);
  pointer-events: none;
}

.read-more--collapsible.read-more--expanded .read-more__content {
  max-height: none;
  overflow: visible;
}

.read-more--collapsible.read-more--expanded .read-more__content::after {
  display: none;
}

.read-more--specs.read-more--collapsible.read-more--collapsed .specs-list__row.is-read-more-hidden {
  display: none;
}

.read-more__btn[hidden] {
  display: none;
}

/* FAQ */

.faq-list { border-top: 1px solid #e5e5ea; }

.faq-item {
  border-bottom: 1px solid #e5e5ea;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #6e6e73;
  border-bottom: 2px solid #6e6e73;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(-135deg);
}

.faq-item__answer {
  padding: 0 0 18px;
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.6;
}

.faq-item__answer p { margin-bottom: 8px; }

/* Sidebar sticky */

.product-sidebar {
  align-self: start;
  position: sticky;
  top: 24px;
}

.product-sidebar__card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.product-sidebar__img {
  width: 300px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-sidebar__title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #1d1d1f;
}

.product-sidebar__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.product-sidebar__price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-sidebar__price-old {
  font-size: 14px;
  color: #aeaeb2;
  text-decoration: line-through;
}

.product-sidebar__benefit {
  margin-bottom: 10px;
  font-size: 13px;
  color: #e53935;
}

.product-sidebar__split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #6e6e73;
}

.product-sidebar__split-badge {
  padding: 3px 8px;
  background: #1d1d1f;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.product-sidebar .btn {
  margin-bottom: 10px;
}

.product-sidebar .btn:last-child {
  margin-bottom: 0;
}

/* ---- Reviews ---- */

.reviews-section {
  margin-top: 48px;
  margin-bottom: 0;
}

.reviews-section__title {
  margin-bottom: 20px;
}

.product-tabs-section .reviews-carousel__track {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1200px) {
  .product-tabs-section .reviews-carousel__track {
    grid-template-columns: 1fr;
  }
}

.reviews-block {
  padding: 24px;
  background: #f8f8fa;
  border-radius: 16px;
}

.reviews-block__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 13px;
}

.reviews-block__score {
  font-size: 16px;
  font-weight: 700;
}

.reviews-block__total { color: #6e6e73; }

.reviews-block__platform {
  padding: 4px 10px;
  background: #f5f5f7;
  border-radius: 999px;
  font-size: 12px;
}

.reviews-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 999px;
  font-size: 13px;
  color: #6e6e73;
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover {
  border-color: #55b555;
  color: #55b555;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
  overflow: hidden;
}

.reviews-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  font-size: 20px;
  color: #6e6e73;
  flex-shrink: 0;
}

.reviews-carousel__arrow:hover {
  border-color: #aeaeb2;
  color: #1d1d1f;
}

.review-card {
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fce4ec;
  color: #c2185b;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.review-card__avatar--blue { background: #e3f2fd; color: #1565c0; }
.review-card__avatar--green { background: #e8f5e9; color: #55b555; }

.review-card__name {
  font-size: 14px;
  font-weight: 600;
}

.review-card__date {
  font-size: 12px;
  color: #6e6e73;
}

.review-card__stars {
  margin-bottom: 8px;
  color: #ffb800;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-card__text {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #3a3a3c;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-block__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.reviews-block__dots {
  display: flex;
  gap: 6px;
}

.reviews-block__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e5ea;
}

.reviews-block__dot--active {
  background: #55b555;
  width: 20px;
  border-radius: 4px;
}

/* ---- Catalog cards ---- */

.similar-products {
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.catalog-card .ms2_form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.catalog-card:hover {
  border-color: #d1d1d6;
}

.catalog-card--muted {
  opacity: 0.45;
  height: auto;
  align-self: start;
}

.catalog-card--muted .ms2_form {
  flex: 0 0 auto;
}

.catalog-card--muted .catalog-card__name {
  flex: 0 0 auto;
}

.catalog-card__badges {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 40px);
  pointer-events: none;
}

.catalog-card__actions {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.catalog-card__actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: #6e6e73;
  transition: color 0.2s;
}

.catalog-card__actions button:hover {
  color: #1d1d1f;
}

.catalog-card__img {
  height: 210px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.catalog-card__name {
  flex: 1;
  min-height: 0;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.catalog-card__name a {
  color: inherit;
  text-decoration: none;
}

.catalog-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.catalog-card__price {
  font-size: 18px;
  font-weight: 700;
}

.catalog-card__price-old {
  font-size: 13px;
  color: #aeaeb2;
  text-decoration: line-through;
}

.catalog-card__benefit {
  margin-bottom: 8px;
  font-size: 13px;
  color: #e53935;
}

.catalog-card__split {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6e6e73;
  align-self: flex-start;
}

.catalog-card__split-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 5px;
  border-radius: 15px 4px 4px 15px;
  background: #1d1d1f;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.catalog-card .btn { margin-bottom: 8px; }
.catalog-card .btn:last-child { margin-bottom: 0; }

/* ---- Recently viewed ---- */

.recently-viewed {
  margin-bottom: 80px;
}

/* ---- Mobile fixed bar ---- */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #ffffff;
  border-top: 1px solid #e5e5ea;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.mobile-bar__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.mobile-bar__current {
  font-size: 20px;
  font-weight: 700;
}

.mobile-bar__old {
  font-size: 13px;
  color: #aeaeb2;
  text-decoration: line-through;
}

.mobile-bar__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-bar__actions .btn {
  height: 44px;
  font-size: 14px;
}

/* =============================================
   Responsive ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â tablet
   ============================================= */

@media (max-width: 1200px) {
  .product-hero {
    grid-template-columns: 1fr 1fr;
  }

  .product-buy {
    grid-column: 1 / -1;
  }

  .product-buy__card {
    max-width: 400px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-carousel__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .product-tabs-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }
}

/* =============================================
   Responsive ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â mobile
   ============================================= */
.mobile-product-info {
    display: none;
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
   .mobile-product-info {
        display: block;
    } 
    .dn-mobile {
        display: none;
    }
  .product-page {
    padding-bottom: 0;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }

  .product-gallery__main {
    min-height: 280px;
    border-radius: 16px;
  }

  .product-gallery__img {
    max-height: 320px;
  }

  .product-gallery__thumbs {
    display: none;
  }

  .product-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .product-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e5ea;
  }

  .product-gallery__dot--active {
    width: 24px;
    border-radius: 4px;
    background: #6e6e73;
  }

  .product-info__title {
    font-size: 18px;
  }

  .product-info__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0;
  }

  .product-info__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .product-info__action {
    justify-content: center;
    height: 40px;
    background: #f8f8fa;
    border-radius: 8px;
  }

  .trust-badges--gallery {
    /* display: none; */
    margin-top: 30px;
  }

  .trust-badges--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .trust-badges--mobile .trust-badge {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 12px;
    text-align: left;
  }

  .trust-badges--mobile .trust-badge__icon {
    grid-row: 1 / 3;
    margin: 0;
    justify-content: flex-start;
  }

  .product-buy {
    /* display: none; */
  }

  .buy-together__progress {
    max-width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    gap: 20px;
    margin-bottom: 20px;
  }

  .tabs__btn {
    font-size: 14px;
  }

  .reviews-carousel__track {
    grid-template-columns: 1fr;
  }

  .reviews-carousel__arrow {
    display: none;
  }

  .reviews-block__footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .reviews-block__footer .btn {
    width: 100%;
  }

  .mobile-bar {
    display: block;
  }
  .trust-badge__title {
        font-size: 12px;
    }
    
    .trust-badge__text {
        font-size: 11px;
    }
    
    .product-option__color {
        min-width: 70px;
        border: 1px solid #DFDEEF;
    }
    
    .product-action-flex .product-info-left, .product-action-flex .product-info-right {
        width: 100%;
    }
    
    .product-action-flex {
        flex-wrap: wrap;
    }
    
    .product-tabs-section .tabs {
        overflow: hidden;
        overflow-x: scroll;
        padding-bottom: 15px;
    }
    
    .recently-viewed {
        margin-bottom: 40px;
    }
     
}

@media (max-width: 480px) {
  .product-info__meta {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 6px;
  }
}
.product-buy__stock.zakaz {
    border: 1px solid #8B8AA433;
    color: #8B8AA4;
}

.product-buy__adv {
    margin: 20px 0;
}

.product-buy__adv .item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: center;
}

.product-buy__adv .item .text {
    flex: 1;
    color: #3D4453;
    font-size: 14px;
}

.svyaz {
    margin: 5px 0 0;
    text-align: center;
    color: #8B8AA4;
    font-size: 14px;
}