.js-store-prod-text a {
    display: inline-block;
    padding: 3px 10px;
    margin-right: 0px;
    margin-top: 0px;
    border-radius: 10px;
    font-weight: 400;
}
.js-store-prod-text a:first-of-type {
    background-color: #bc574b;
    color: #ffffff !important;
}
.js-store-prod-text a:last-of-type {
    background-color: #43d854;
    color: #ffffff !important;
}
.t706__cartwin_showed {
    z-index: 999999999;
}

/* === КНОПКА ОТКРЫТИЯ КАЛЬКУЛЯТОРА === */
.autoink.calc-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  min-width: 280px;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #d4af37 0%, #f4e4ba 50%, #d4af37 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.autoink.calc-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* === МОДАЛЬНОЕ ОКНО === */
.car-calc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.car-calc-overlay.active {
  opacity: 1;
  visibility: visible;
}

.car-calc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow: hidden;
}

.car-calc-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.calc-header {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 25px 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-header h3 {
  margin: 0;
  color: #d4af37;
  font-size: 22px;
  font-weight: 600;
}

.calc-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-body {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(90vh - 90px);
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-form-group label {
  display: block;
  color: #aaa;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-form-group input,
.calc-form-group select {
  width: 100%;
  padding: 15px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
}

.calc-price-block {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin: 25px 0;
  text-align: center;
}

.calc-price-value {
  color: #d4af37;
  font-size: 42px;
  font-weight: 700;
}

.calc-submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
  border: none;
  border-radius: 12px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* Скрытие кнопки при открытом калькуляторе */
.calc-opened .autoink.calc-trigger-btn {
  opacity: 0;
  visibility: hidden;
}
</style>