.product__descr {
  text-align: center;
}

.product-info .tabs-content {
  max-width: 1000px;
}

.tabs__link {
  font-size: 20px;
}


.price-modern {
  text-align: center;
  margin: 0 0 20px;
  border-bottom: 1px solid #85858565;
  padding: 0 0 20px;
}

.price-modern__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid #85858565;
  padding: 0 0 20px;
}

.price-modern__label,
.pickup-price-title {
  font-size: 14px;
  font-weight: 500;
  color: #343434;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.price-modern__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-modern__current,
.pickup-price {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.pickup-price-description {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 12px;
  color: #858585;
}

.price-modern__old-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.price-modern__old {
  font-size: 20px;
  color: #94a3b8;
}

.price-modern__badge {
  padding: 0 7px;
  border-radius: 4px;
  background: #f5eee7;
  color: #8c6847;
  font-size: 13px;
  font-weight: 600;
}

.price-modern__special {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.price-modern__special-value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background-clip: text;
}

.price-modern__points {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #fef9c3, #fef08a);
}

.price-modern__points-icon {
  color: #ca8a04;
}

.price-modern__points-text {
  font-size: 14px;
  color: #854d0e;
}

.price-modern__points-text strong {
  font-size: 16px;
  font-weight: 700;
}

.stock-modern,
.product-page__vendor-code {
  display: none!important;
}

.actions-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.actions-modern__buy-btn {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  border: none;
  border-radius: 0;
  padding: 18px 24px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: none;
  transition: none;
}

.actions-modern__buy-btn:hover {
  transform: none;
  box-shadow: none;
}

.actions-modern__buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.actions-modern__buy-click {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 20px;
  background: #fff;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.actions-modern__buy-click:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  background: #f8fafc;
  color: #1e293b;
}

.info-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border-radius: 18px;
  padding: 16px;
  background: #f8fafc;
}

.info-modern__item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #e2e8f0;
  padding: 8px 0;
}

.info-modern__item:last-child {
  border-bottom: none;
}

.info-modern__item svg {
  flex-shrink: 0;
  color: #64748b;
}

.info-modern__label {
  flex: 1;
  font-size: 14px;
  color: #64748b;
}

.info-modern__value {
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 4px 12px;
  background: #fff;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
}

.discounts-modern {
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, #f1f5f9, #f8fafc);
}

.discounts-modern__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
}

.discounts-modern__title svg {
  color: #3b82f6;
}

.discounts-modern__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discounts-modern__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  transition: all 0.2s ease;
}

.discounts-modern__item:hover {
  transform: translateX(3px);
  border-color: #cbd5e1;
  background: #f8fafc;
}

.discounts-modern__quantity {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.discounts-modern__price {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-attributes__grid--2cols {
  margin-bottom: 24px;
}

.product-attributes__item-label {
  display: inline-flex;
  max-width: 40%;
  padding-right: 10px;
  color: #858585;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  word-break: break-word;
}

.product-attributes__item-value {
  max-width: 60%;
  color: #343434;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
  background-clip: text;
}

.product-attributes__item::after {
  display: block;
  position: relative;
  left: 0;
  width: 0;
  height: 1px;
  margin: 0 0 8px;
  background-color: #85858565;
  content: "";
  transition: width 0.3s ease-out;
}

.product-attributes__item:hover::after,
.product-attributes__item:focus::after {
  width: 100%;
}

.product-attributes__item-inner {
  padding: 0;
  font-size: 13px;
  text-transform: uppercase;
}

.products-list__like {
  right: 40px;
}

.vendor-and-code {
  margin: 0 0 20px;
}

.name-row {
  min-height: 40px;
}

.product-page__buy-card {
  border: 1px solid #85858565;
  border-radius: 0;
  padding: 30px;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  transition: none;
}

.product-page__buy-card:hover {
  transform: none;
  box-shadow: none;
}

.instruction-modern {
  margin: 20px 0;
  border-radius: 9px;
  background: #fff;
}

.instruction-modern__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.06);
}

.instruction-modern__link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.instruction-modern__icon-wrapper {
  display: flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 6px 12px -4px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.instruction-modern__link:hover .instruction-modern__icon-wrapper {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 10px 20px -6px rgba(59, 130, 246, 0.4);
}

.instruction-modern__icon-wrapper--pdf {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 6px 12px -4px rgba(239, 68, 68, 0.3);
}

.instruction-modern__icon {
  width: 24px;
  height: 24px;
}

.instruction-modern__content {
  min-width: 0;
  flex: 1;
}

.instruction-modern__title {
  display: block;
  margin-bottom: 4px;
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.instruction-modern__description {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
}

.instruction-modern__format {
  display: flex;
  align-items: center;
  gap: 8px;
}

.instruction-modern__format-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 4px 8px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.instruction-modern__size {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.instruction-modern__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 12px;
}

.instruction-modern__date,
.instruction-modern__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.instruction-modern__date::before {
  content: "📅";
  opacity: 0.7;
  font-size: 10px;
}

.instruction-modern__pages::before {
  content: "📄";
  opacity: 0.7;
  font-size: 10px;
}

.instruction-modern__download {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f1f5f9;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.instruction-modern__link:hover .instruction-modern__download {
  transform: translateY(-2px);
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 6px 12px -4px rgba(59, 130, 246, 0.4);
}

.instruction-modern__download svg {
  transition: transform 0.3s ease;
}

.instruction-modern__link:hover .instruction-modern__download svg {
  transform: translateY(2px);
}

.instruction-modern__download-btn {
  display: inline-block;
  white-space: nowrap;
  border-radius: 40px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px -2px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.instruction-modern__link:hover .instruction-modern__download-btn {
  transform: scale(1.05);
  box-shadow: 0 8px 16px -4px rgba(59, 130, 246, 0.4);
}

/* ===== AUDIO ===== */
.audio-player-minimal {
  margin-top: 16px;
}

.audio-player-minimal__wrapper {
  display: flex;
  position: relative;
  align-items: center;
  gap: 12px;
  height: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 12px 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.06);
}

.audio-player-minimal__wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.audio-player-minimal__icon {
  display: flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #343434;
  border-radius: 9px;
  color: #343434;
}

.audio-player-minimal__content {
  min-width: 0;
  flex: 1;
}

.audio-player-minimal__title {
  display: block;
  margin-bottom: 6px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
}

.audio-player-minimal__audio {
  width: 100%;
  height: 32px;
}

.audio-player-minimal__audio::-webkit-media-controls-panel {
  background: transparent;
}

.sp-link {
  margin: 8px 0;
  text-align: center;
}

.sp-link a.sp-trigger-split,
.sp-link a.sp-trigger-credit,
.sp-link-product a {
  cursor: pointer;
  color: #a38c76;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s;
}

.sp-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.sp-modal {
  position: fixed;
  z-index: 99999;
  display: flex;
  max-width: 90%;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 20px;
  background: #fff;
  animation: splitModalFadeIn 0.7s ease;
  flex-direction: column;
}

.sp-modal-close {
  display: flex;
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: none;
  color: #999;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.sp-modal-close:hover {
  color: #333;
}

.sp-modal-title {
  margin: 0 0 20px;
  color: #333;
  font-size: 20px;
  text-align: center;
}

.sp-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.sp-option {
  min-width: 200px;
  flex: 1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.sp-option-4,
.sp-option-6 {
  border: 1px solid #343434;
}

.sp-option-label {
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.sp-option-price-4,
.sp-option-price-6 {
  color: #343434;
  font-size: 24px;
  font-weight: 700;
}

.sp-option-period {
  margin-top: 5px;
  color: #999;
  font-size: 12px;
}

.sp-disclaimer {
  margin: 24px 0 0;
  border-top: 1px solid #eee;
  padding-top: 16px;
  color: #888;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.sp-credit-info {
	margin-bottom: 15px;
	border-radius: 9px;
	padding: 15px;
	background: #e3f2fd;
	text-align: center;
	width: 100%;
}

.sp-credit-info-price {
  margin: 0 0 5px;
  color: #333;
  font-size: 14px;
}

.sp-credit-info-price strong {
  font-weight: 700;
}

.sp-credit-info-sub {
  margin: 0;
  color: #555;
  font-size: 13px;
}

.sp-credit-list {
  margin: 0 0 15px;
  padding: 0 0 0 20px;
  list-style: disc;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.sp-credit-warning {
  max-width: 500px;
  margin-bottom: 15px;
  border-radius: 9px;
  padding: 15px;
  background: #fff3e0;
  color: #e65100;
  font-size: 13px;
  text-align: center;
}

.sp-credit-footer {
  margin: 0;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.product-page__img {
  border: none;
}

.product-page__img-slider-item {
  position: relative;
}

.product-page__preview-slider-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #a38c764d;
  border-radius: 9px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-page__preview-slider-item:hover {
  border-color: #a38c76;
}

.product-page__preview-slider-item img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}

.product-page__preview-slider .slick-current .product-page__preview-slider-item {
  border-color: #a38c76;
  box-shadow: 0 0 0 1px #a38c76;
}

.product__img {
  display: block;
}

.product-page__img-slider {
  width: 100%;
}

.product-page__preview-slider {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 15px;
  padding: 5px 35px;
}

.product-page__preview-slider .slick-list {
  margin: 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

.product-page__preview-slider .slick-track {
  display: flex !important;
  margin-left: 0;
  align-items: center;
  flex-direction: row !important;
}

.product-page__preview-slider .slick-slide {
  width: 60px !important;
  height: 60px;
  margin-right: 8px !important;
  float: none !important;
}

.product-page__preview-slider .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page__preview-slider .slick-arrow {
  display: flex !important;
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
  color: #131313;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.product-page__preview-slider .slick-prev {
  left: 0;
}

.product-page__preview-slider .slick-next {
  right: 0;
}

.product-page__preview-slider .slick-arrow svg {
  width: 10px;
  height: 10px;
}

.product-page__preview-slider .slick-arrow:hover {
  border-color: #343434;
  background: #343434;
  color: #fff;
}

.product-page__preview-slider .slick-arrow.slick-disabled {
  pointer-events: none;
  opacity: 0.4;
  cursor: not-allowed;
}

.product-page__preview-slider.no-scroll .slick-track {
  transform: none !important;
}

.product-page__preview-slider.no-scroll .slick-arrow {
  display: none !important;
}

@keyframes splitModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes splitModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .product-page__buy-card {
    padding: 20px 16px;
  }

  .price-modern__current,
  .price-modern__special-value {
    font-size: 24px;
  }

  .actions-modern__buy-btn {
    padding: 16px 20px;
    font-size: 16px;
  }

  .actions-modern__buy-click {
    padding: 12px 16px;
  }

  .product-attributes__item-label {
    width: 50%;
    font-size: 12px;
  }

  .product-attributes__item-value {
    max-width: 60%;
    background: none;
    color: #6d6d6d;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    -webkit-text-fill-color: #6d6d6d;
  }

  .instruction-modern__link {
    padding: 14px 16px;
  }

  .instruction-modern__icon-wrapper {
    width: 44px;
    height: 44px;
  }

  .instruction-modern__title {
    font-size: 15px;
  }

  .instruction-modern__description {
    font-size: 12px;
  }

  .breadcrumb__list-item {
    padding: 0 0 0 5px;
    font-size: 13px;
  }

  .breadcrumb__list-item [class*="icon-"] {
    margin: 0 5px 0;
  }
}

@media (max-width: 480px) {
  .product-attributes__grid--2cols {
    grid-template-columns: 1fr;
  }

  .instruction-modern__link {
    flex-wrap: wrap;
  }

  .instruction-modern__download {
    margin-left: auto;
  }

  .audio-player-minimal__wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .audio-player-minimal__icon {
    align-self: flex-start;
  }

  .audio-player-minimal__content {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .product-page__preview-slider {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 12px;
    padding: 5px 40px;
  }

  .product-page__preview-slider .slick-slide {
    width: 70px !important;
    height: 70px;
    margin-right: 10px !important;
  }

  .product-page__preview-slider .slick-arrow {
    width: 32px;
    height: 32px;
  }

  .product-page__img {
    padding-right: 0 !important;
  }

  .product-page__preview-slider .slick-list,
  .product-page__preview-slider .slick-track {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .product__img {
    display: flex;
    position: relative;
    margin: 0;
    padding-left: 110px;
    align-items: flex-start;
    flex-direction: row;
  }

  .product-page__img-slider {
    order: 2;
    width: 100%;
  }

  .product-page__preview-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    margin: 0;
    padding: 45px 0;
  }

  .product-page__preview-slider .slick-list {
    height: 100% !important;
    overflow: hidden;
    padding: 0 !important;
  }

  .product-page__preview-slider .slick-track {
    display: flex !important;
    height: auto !important;
    flex-direction: column !important;
  }

  .product-page__preview-slider .slick-slide {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 0 10px 0 !important;
    float: none !important;
  }

  .product-page__preview-slider-item {
    width: 100px;
    height: 100px;
  }

  .product-page__preview-slider .slick-arrow {
    top: auto;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translateX(-50%);
  }

  .product-page__preview-slider .slick-prev {
    top: 0;
    bottom: auto;
  }

  .product-page__preview-slider .slick-next {
    top: auto;
    bottom: 0;
  }

  .product-page__preview-slider .slick-arrow svg {
    width: 12px;
    height: 12px;
    margin: 0 0 14px;
  }

  .product-page__preview-slider .slick-prev svg {
    transform: rotate(90deg);
  }

  .product-page__preview-slider .slick-next svg {
    transform: rotate(-90deg);
  }
}

/* PREV/NEXT */
.pn-side,.pn-side *,.pn-side *:before,.pn-side *:after{box-sizing:border-box;}

.pn-side{
position:fixed;
top:50%;
transform:translateY(-50%);
z-index:990;
width:140px;
text-align:center;
pointer-events:none; 
-webkit-mask-repeat:no-repeat;
mask-repeat:no-repeat;
-webkit-mask-size:100% 100%;
mask-size:100% 100%;
}
.pn-side.pn-left{
left:0;
padding:0 4px 0 0;
-webkit-mask-image:linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.30) 18%, rgba(0,0,0,.78) 42%, #000 68%);
mask-image:linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.30) 18%, rgba(0,0,0,.78) 42%, #000 68%);
}
.pn-side.pn-right{
right:0;
padding:0 0 0 4px;
-webkit-mask-image:linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,.30) 18%, rgba(0,0,0,.78) 42%, #000 68%);
mask-image:linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,.30) 18%, rgba(0,0,0,.78) 42%, #000 68%);
}

.pn-card{
display:flex;
flex-direction:column;
align-items:stretch;
pointer-events:auto;
width:100%;
height:340px;
padding:10px 9px 12px;
overflow:hidden;
color:inherit;
text-decoration:none;
opacity:.92;
transition:opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pn-side:hover .pn-card{
opacity:1;
transform:scale(1.04);
/*box-shadow:0 10px 30px rgba(0,0,0,.22);*/
}

.pn-arrow{
flex:0 0 auto;
display:block;
font-size:19px;
line-height:1;
margin:0 0 7px;
color:#888;
}
/* .pn-side.pn-left .pn-arrow{text-align:left;}
.pn-side.pn-right .pn-arrow{text-align:right;} */

.pn-media{
flex:1 1 auto;
min-height:0;
overflow:hidden;
border-radius:8px;
}
.pn-media img{
display:block;
width:100%;
height:100%;
object-fit:cover;
object-position:center center;
}

.pn-side .pn-name{
flex:0 0 auto;
display:block;
font-size:12px;
line-height:1.3;
height:32px;
overflow:hidden;
margin:8px 0 6px;
color:#333;
font-family:inherit;
transition:color .2s ease;
}
.pn-side .pn-price{
flex:0 0 auto;
display:block;
font-size:14px;
font-weight:700;
line-height:1.2;
color:#c00;
font-family:inherit;
word-break:break-word;
}
.pn-side .pn-price s{
display:block;
color:#999;
font-weight:400;
font-size:11px;
margin-bottom:2px;
}

/* Низкие экраны: уменьшаем высоту, ширина остаётся 140px */
@media (max-height:760px){.pn-card{height:340px;}}
@media (max-height:640px){.pn-card{height:340px;} .pn-side .pn-name{height:16px;}}
@media (max-width:1830px){.pn-side{display:none;}}

/* Примерочная */
/* ==========================================================================
   Virtual Fitting Room (BEM Styles)
   ========================================================================== */

/* Utility States */
.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Modal Shell */
.vf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.vf-modal[aria-hidden="true"] {
  display: none;
}

.vf-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.vf-modal__container {
  position: relative;
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */
.vf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #e5e7eb;
}

.vf-modal__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #343434;
}

.vf-modal__icon {
  flex-shrink: 0;
}

.vf-modal__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  cursor: pointer;
  color: #343434;
  transition: background 0.2s, color 0.2s;
  padding:10px;
}

.vf-modal__close-btn:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #000000;
}

/* Body & Instructions */
.vf-modal__body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.vf-instructions {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #4b5563;
}

.vf-instructions p {
  margin: 0;
  padding: 0;
}

/* Canvas Wrapper & Upload Area */
.vf-canvas-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.vf-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  min-height: 300px;
  text-align: center;
  box-sizing: border-box;
}

.vf-upload-area:hover,
.vf-upload-area:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.vf-upload-area.is-dragover {
  background: #ede9fe;
  border-color: #7c3aed;
}

.vf-upload-area__icon {
  color: #9ca3af;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.vf-upload-area:hover .vf-upload-area__icon {
  color: #7c3aed;
}

.vf-upload-area__title {
  display: block;
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.vf-upload-area__subtitle {
  display: block;
  font-size: 14px;
  color: #9ca3af;
}

.vf-canvas {
  max-width: 100%;
  border-radius: 8px;
  cursor: default;
}

/* Controls */
.vf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.vf-controls__group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
}

.vf-controls__group--actions {
  margin-left: auto;
}

.vf-controls__label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-right: 4px;
}

/* General Buttons (Bootstrap-like overrides / BEM fallback) */
.vf-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vf-modal .btn-sm {
  padding: 8px 0 8px 10px;
  font-size: 20px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.vf-modal .btn-sm:hover {
  background: #e5e7eb;
}

.vf-modal .btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3);
}

.vf-modal .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 10px -1px rgba(124, 58, 237, 0.4);
}

.vf-modal .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.vf-modal .btn-secondary:hover {
  background: #e5e7eb;
}

/* External Trigger Button (on product page) */
.btn.btn-virtual-fitting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 70%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #343434;
  cursor: pointer;
  margin: 10px auto;
  border: none;
  background: transparent;
}

.btn-virtual-fitting:active {
  transform: translateY(0);
}

.btn-virtual-fitting svg {
  flex-shrink: 0;
}

/* Media Queries */
@media (max-width: 768px) {
  .vf-modal {
    padding: 10px;
  }

  .vf-modal__container {
    max-height: 95vh;
    border-radius: 12px;
  }

  .vf-modal__header {
    padding: 16px 20px;
  }

  .vf-modal__title {
    font-size: 16px;
  }

  .vf-modal__body {
    padding: 16px;
  }

  .vf-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .vf-controls__group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .vf-controls__group--actions {
    margin-left: 0;
    width: 100%;
  }

  .vf-controls__group--actions .btn {
    flex: 1;
  }

  .vf-controls__label {
    font-size: 12px;
    margin-right: 2px;
  }

  .vf-modal .btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 36px;
  }

  .vf-modal .btn-sm {
    padding: 6px 10px;
  }

  .btn-virtual-fitting {
    max-width: 100%;
    margin: 0 auto 20px;
    font-size: 12px;
    letter-spacing: 0.2px;
  }
}