/** Shopify CDN: Minification failed

Line 518:0 Unexpected "<"

**/
/* Product New CSS - v5.3 - FINAL CLEAN: Optimized styles for compatibility */

:root {
  --black: #000000;
  --graphite: rgb(29, 29, 29);
  --light-graphite: #6b7280;
  --success-green: #10b981;
  --light-gray: #f8f9fa;
  --border-gray: #e5e7eb;
  --border-radius: 5px;
}

/* ============================================================
   1. ALMOST SOLD OUT - ИНДИКАТОР
   (Используется #almostSoldOut)
   ============================================================ */
#almostSoldOut,
.almost-sold-out-container {
  /* Убеждаемся, что контейнер отображается корректно */
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin: 12px 0 20px;
  background-color: #fafafa;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
}

.indicator-wrapper {
  position: relative;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  background-color: #FF6B00;
  border-radius: 50%;
  position: relative;
  animation: blink 1.5s infinite;
}

.pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 107, 0, 0.3);
  animation: pulse 2s infinite;
}

.almost-sold-out-text {
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  letter-spacing: 0.2px;
  flex-grow: 1;
}

.count-text {
  font-weight: 600;
  color: #FF6B00;
  display: inline-block;
}


/* ============================================================
   2. PROMO CODE - ГРАФИТОВЫЙ КАРТОЧКА
   ============================================================ */
.promo-section {
  position: relative;
  margin-bottom: 24px;
  z-index: 5;
}

.promo-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.promo-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.promo-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.promo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.promo-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.promo-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  line-height: 1.2;
}

.promo-code {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 6px;
  padding: 10px 14px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.code-text {
  font-family: monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: white;
}

.copy-icon {
  stroke: white;
  width: 14px;
  height: 14px;
}

.copy-success-message {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  background: rgba(16, 185, 129, 0.95);
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.copy-success-message.show {
  opacity: 1;
  transform: translateY(0);
}

.success-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-text {
  display: flex;
  flex-direction: column;
}

.success-title {
  font-size: 13px;
  font-weight: 600;
}

.success-subtitle {
  font-size: 11px;
  opacity: 0.9;
}

/* ============================================================
   3. MULTIPACKS - STYLING
   ============================================================ */
.compact-pack-selector {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gray);
  width: 100%;
}

.pack-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  text-align: left;
}

.horizontal-pack-grid {
  display: flex;
  gap: 8px;
  width: 100%;
}

.rectangular-pack-option {
  flex: 1;
  display: block;
  text-decoration: none;
  color: var(--graphite);
  padding: 12px 8px;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius);
  background: #fff;
  transition: all 0.3s ease;
  min-width: 0;
  box-sizing: border-box;
}

.rectangular-pack-option:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.pack-inline-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  white-space: nowrap;
}

.pack-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: inherit;
  flex-shrink: 0;
}

.pack-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.pack-prices-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-price-crossed {
  text-decoration: line-through;
  opacity: 0.7;
  color: inherit;
  font-size: 10px;
}

.pack-price-final {
  font-weight: 600;
  color: inherit;
  font-size: 12px;
}

.pack-save-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--success-green);
  font-size: 9px;
  flex-shrink: 0;
}

.rectangular-pack-option:hover .pack-save-text {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   4. TRUST BADGES - PREMIUM GRID
   (Используется .premium-trust-section)
   ============================================================ */
.premium-trust-section {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gray);
}

.trust-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.trust-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.trust-item span {
  font-size: 11px;
  color: #666;
  font-weight: 500;
  line-height: 1.3;
}

/* ============================================================
   5. COLLAPSIBLE TABS (DESCRIPTION & DETAILS)
   ============================================================ */
.expandable-description {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-gray);
}

.description-header,
.aligned-tabs .tab-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border: none;
  background: none;
  cursor: pointer;
  min-height: 60px;
}

.description-title,
.aligned-tabs .tab-title {
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--black);
}

.description-toggle,
.aligned-tabs .tab-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--black);
  font-size: 18px;
  line-height: 1;
}

.expandable-description.active .description-toggle,
.aligned-tabs .tab-item.active .tab-toggle {
  background: var(--black);
  border-color: var(--black);
  color: white;
  transform: rotate(45deg);
}

.description-content,
.aligned-tabs .tab-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  line-height: 1.6;
}

.expandable-description.active .description-content,
.aligned-tabs .tab-item.active .tab-content {
  max-height: 2000px; /* Достаточно большое значение */
  padding-bottom: 20px;
}

.aligned-tabs .tab-item {
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 0; /* Удаляем лишние margin */
  display: flex;
  flex-direction: column;
}

/* ============================================================
   6. VARIANT BUTTONS (УНИФИКАЦИЯ СТИЛЕЙ)
   ============================================================ */
/* На десктопе - растягивание, как и требовалось */
.m-product-option--content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

/* Мобильные: 3 в ряд */
@media (max-width: 768px) {
  .m-product-option--content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

/* Стилизация графитовых кнопок */
.m-product-option--node__label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  border: 2px solid var(--graphite);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
  color: var(--graphite);
}

.m-product-option__input:checked + .m-product-option--node__label {
  background-color: var(--graphite);
  color: white;
  border-color: var(--graphite);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   7. АДАПТАЦИЯ МОБИЛЬНЫХ/СЕТОК
   ============================================================ */
@media (max-width: 768px) {
  .trust-items-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .horizontal-pack-grid {
    gap: 4px;
  }
}
</style>