/* Основные стили конструктора */
.builder-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Стили для заголовка калькулятора */
.page-header {
  margin-top: 5rem;
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-title i {
  color: #007bff;
  margin-right: 0.75rem;
  font-size: 0.9em;
}

.subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .page-header {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .builder-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .builder-sidebar {
    flex: none;
    position: static;
    margin-top: 0;
  }

  .builder-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .builder-section h2 {
    font-size: 1.5rem;
  }

  .items-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .item-card {
    padding: 1.25rem;
  }
}

.builder-content {
  flex: 1;
  max-width: none;
}

.builder-sidebar {
  flex: 0 0 400px;
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

.builder-section {
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
}

.builder-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.builder-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.builder-section h2 i {
  font-size: 1.1em;
  color: #007bff;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.item-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
  border-color: rgba(0, 123, 255, 0.2);
}

.item-card:hover::before {
  transform: scaleX(1);
}

.item-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.item-description {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  min-height: 2.5rem;
  line-height: 1.5;
}

.item-price {
  font-weight: 700;
  color: #007bff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.item-option {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.95rem;
  color: #2c3e50;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%23007bff' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

.item-option:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.add-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.add-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.add-btn:hover::before {
  left: 100%;
}

.add-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.quantity-btn {
  width: 2.5rem;
  height: 2.5rem;
  background: #f8f9fa;
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: #007bff;
  color: white;
  transform: scale(1.05);
}

.quantity-input {
  width: 4rem;
  height: 2.5rem;
  text-align: center;
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  background: #ffffff;
  transition: all 0.3s ease;
}

.quantity-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Стили корзины */
.cart-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.cart-container h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cart-container h2 i {
  color: #007bff;
}

.cart-items {
  max-height: calc(100vh - 100px - 12rem);
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 3px;
}

.empty-cart {
  color: #6c757d;
  text-align: center;
  padding: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
  gap: 1rem;
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(0, 123, 255, 0.02);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.5rem;
}

.cart-item-name {
  flex: 1;
  color: #2c3e50;
  font-weight: 500;
}

.cart-item-price {
  min-width: 80px;
  text-align: right;
  font-weight: 700;
  color: #007bff;
  font-size: 1.1rem;
}

.cart-item-remove {
  color: #dc3545;
  margin-left: 0.75rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.cart-item-remove:hover {
  color: #c82333;
  background: rgba(220, 53, 69, 0.1);
  transform: scale(1.1);
}

.cart-summary {
  border-top: 2px solid rgba(0, 123, 255, 0.1);
  padding-top: 1.5rem;
  background: rgba(0, 123, 255, 0.02);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 0 0 1rem 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #2c3e50;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 123, 255, 0.2);
  color: #007bff;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.checkout-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.checkout-btn:hover::before {
  left: 100%;
}

.checkout-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .builder-container {
    flex-direction: column;
  }

  .builder-sidebar {
    position: static;
    margin-top: 30px;
  }

  /* Увеличиваем размер кнопки закрытия на мобильных для лучшего UX */
  .cart-close {
    width: 40px;
    height: 40px;
    font-size: 1.8em;
    top: 8px;
    right: 8px;
    min-width: 40px;
    min-height: 40px;
    /* Ensure better touch target on mobile */
    padding: 4px;
  }
}

/* Стили для кнопки "Добавлено" с плавной анимацией */
.add-btn.added {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  cursor: default;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.add-btn.added:hover {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}

.add-btn.added::before {
  display: none;
}

/* Плавная анимация при добавлении */
.add-btn {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  visibility: visible;
}

.cart-overlay .builder-sidebar {
  background: white !important;
  border-radius: 1rem !important;
  width: 600px !important;
  max-width: 90vw !important;
  max-height: calc(100vh - 100px - 4rem) !important;
  overflow-y: auto !important;
  padding: 2rem !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-50px) !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  border: 1px solid rgba(0, 123, 255, 0.1) !important;
  margin: 2rem 0 !important;
  flex: none !important;
  top: auto !important;
  align-self: auto !important;
}

.cart-overlay.open .builder-sidebar {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Обновлённые стили для значка корзины */
.cart-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Скрываем значок корзины при открытом окне корзины на мобильных и планшетах */
@media (max-width: 1024px) {
  .cart-floating.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
  }
}

.cart-floating .cart-icon {
  position: relative;
  background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
  color: white;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-floating .cart-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
}

.cart-floating .cart-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
  color: white;
  border-radius: 50%;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  border: 3px solid white;
}

/* Анимация */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.bounce {
  animation: bounce 0.8s;
}

/* Кнопка закрытия */
.cart-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #666;
  z-index: 1002;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  /* Ensure button is always visible and clickable */
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
}

.cart-close:hover {
  color: #f72585;
  background-color: rgba(247, 37, 133, 0.1);
  transform: scale(1.1);
}

.cart-close:active {
  transform: scale(0.95);
}

.cart-item-remove {
  color: #f72585;
  margin-left: 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: #d3165e;
}

/* Стили для управления количеством в корзине */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-item-quantity button {
  width: 25px;
  height: 25px;
  background: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cart-item-quantity button:hover {
  background: #e0e0e0;
}

.cart-item-quantity span {
  min-width: 20px;
  text-align: center;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 10px;
}

.cart-item-name {
  flex: 1;
}

.cart-item-price {
  min-width: 80px;
  text-align: right;
  font-weight: bold;
}

.example-section {
  max-width: 900px;
  margin: 4rem auto 3rem;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.example-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
}

.example-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.price-total {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  color: #28a745;
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1) 0%,
    rgba(32, 201, 151, 0.1) 100%
  );
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(40, 167, 69, 0.2);
  letter-spacing: -0.02em;
}

.price-note {
  text-align: center;
  color: #007bff;
  margin-top: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid #007bff;
  font-weight: 500;
  line-height: 1.6;
}

.price-example-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 1000px;
  padding: 0;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 123, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.price-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.price-item:hover::before {
  transform: scaleY(1);
}

.service-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
  color: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
  margin-top: 0.125rem;
  text-align: center;
  line-height: 1;
}

.service-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}

.service-icon i::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  text-align: center;
  line-height: 1;
}

.price-item:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.3);
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.service-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.service-details {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
  opacity: 0.8;
  margin: 0;
}

.service-price {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 0.4em 0.2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
  transition: all 0.3s ease;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.price-item:hover .service-price {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35);
}

/* Специальные стили для бесплатных услуг */
.price-item.free .service-price {
  background: linear-gradient(135deg, #6f42c1 0%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.25);
}

.price-item.free:hover .service-price {
  box-shadow: 0 6px 18px rgba(111, 66, 193, 0.35);
}

.price-item.free .service-icon {
  background: linear-gradient(135deg, #6f42c1 0%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
}

.price-item.free:hover .service-icon {
  box-shadow: 0 6px 18px rgba(111, 66, 193, 0.3);
}

/* Специальные стили для месячных услуг */
.price-item.monthly .service-price {
  background: linear-gradient(135deg, #fd7e14 0%, #ff8c42 100%);
  box-shadow: 0 4px 12px rgba(253, 126, 20, 0.25);
}

.price-item.monthly:hover .service-price {
  box-shadow: 0 6px 18px rgba(253, 126, 20, 0.35);
}

.price-item.monthly .service-icon {
  background: linear-gradient(135deg, #fd7e14 0%, #ff8c42 100%);
  box-shadow: 0 4px 12px rgba(253, 126, 20, 0.2);
}

.price-item.monthly:hover .service-icon {
  box-shadow: 0 6px 18px rgba(253, 126, 20, 0.3);
}

@media (max-width: 768px) {
  .example-section {
    margin: 2rem auto;
    padding: 2rem 1.5rem;
  }

  .example-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .price-example-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.95rem;
    max-width: 100%;
  }

  .price-item {
    padding: 1rem 1.25rem;
  }

  .service-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }

  .service-name {
    font-size: 1rem;
  }

  .service-details {
    font-size: 0.8rem;
  }

  .service-price {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    min-width: 80px;
  }

  .price-total {
    font-size: 1.75rem;
    padding: 1.25rem;
  }

  .price-note {
    font-size: 1rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .cart-floating {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .cart-floating .cart-icon {
    width: 5rem;
    height: 5rem;
    font-size: 1.75rem;
    border-radius: 1.25rem;
  }

  .cart-floating .cart-badge {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
    top: -0.5rem;
    right: -0.5rem;
    border: 2px solid white;
  }

  /* Адаптивная корзина для планшетов */
  .cart-overlay .builder-sidebar {
    width: 95% !important;
    max-width: 800px !important;
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .page-header {
    margin-top: 6rem;
    padding: 1.5rem 1rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .builder-container {
    padding: 0 1rem;
  }

  .example-section {
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
  }

  .example-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .price-example-list {
    font-size: 1rem;
  }

  .price-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    padding: 1rem;
    align-items: center;
  }

  .price-item:hover {
    transform: translateY(-2px);
  }

  .service-info {
    grid-column: 1;
    grid-row: 1;
    gap: 0.75rem;
    align-items: center;
  }

  .service-price {
    grid-column: 2;
    grid-row: 1;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: 75px;
    flex-shrink: 0;
  }

  .service-details {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.8rem;
    margin: 0;
  }

  .service-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    margin-top: 0;
  }

  .service-text {
    gap: 0;
    flex: 1;
  }

  .service-name {
    font-size: 1rem;
  }

  .price-total {
    font-size: 1.5rem;
    padding: 1rem;
  }

  .price-note {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .cart-floating {
    bottom: 1rem;
    right: 1rem;
  }

  .cart-floating .cart-icon {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
    border-radius: 1rem;
  }

  .cart-floating .cart-badge {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
    top: -0.5rem;
    right: -0.5rem;
    border: 2px solid white;
  }

  /* Адаптивная корзина для мобильных */
  .cart-overlay .builder-sidebar {
    width: 98% !important;
    max-width: 98% !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
  }
}
