
/* ====================== */
/* БАЗОВЫЕ СТИЛИ И РЕСЕТ */
/* ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #141414;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  padding-right: 15px;
}

body.project-page {
  padding-top: 60px;
}


/* ====================== */
/* СТРАНИЦА ОФОРМЛЕНИЯ ЗАКАЗА */
/* ====================== */
.order-page .order-container {
  max-width: 1400px;
  margin: 80px auto 40px;
  padding: 0 20px;
  color: white;
}

.order-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.order-tabs {
  margin-top: -72px;
  flex: 3;
  min-width: 500px;
}

.order-summary {
  flex: 2;
  min-width: 300px;
  background: #222;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #333;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  width: 100%;
}

.tab-button {
  padding: 15px 30px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-button.active {
  color: #dab672;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #dab672;
  border-radius: 3px;
}

.tab-button:hover:not(.active) {
  color: #fff;
}

.tab-content {
  width: 100%;
}

.tab-pane {
  display: none;
  width: 100%;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cart-items-container {
  background: #222;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #333;
  min-height: 0px;
  display: flex;
  /* ← Добавьте это */
  flex-direction: column;
}

.ready-projects {
  display: block;
}

.order-summary h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #dab672;
}

.summary-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  font-size: 0.95rem;
}

.summary-total {
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 20px 0;
}

.total-price {
  color: #dab672;
}

.terms-agreement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.terms-agreement label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 1rem;
  color: #aaa;
  display: flex;
  align-items: center;
  min-height: 30px;
}

.terms-agreement input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #222;
  border: 2px solid #dab672;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.terms-agreement label:hover input~.checkmark {
  background-color: #dab672a4;
}

.terms-agreement input:checked~.checkmark {
  background-color: #dab672;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-agreement input:checked~.checkmark:after {
  display: block;
}

.btn-order {
  display: block;
  width: 100%;
  padding: 15px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
}

.btn-order:disabled {
  background: #555;
  cursor: not-allowed;
}

.btn-order:not(:disabled):hover {
  background: #c9a45e;
}

.btn-order.in-cart {
  background: #333 !important;
  border: 1px solid #dab672 !important;
  color: #dab672 !important;
}

.btn-order.in-cart:hover {
  background: #444 !important;
}

.empty-cart-message {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart-message p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.empty-cart-message a {
  color: #dab672;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.empty-cart-message a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ====================== */
/* СЕКЦИЯ ВОДЯНОГО ЗНАКА */
/* ====================== */
.watermark-section {
  background: #222;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #333;
  margin-top: 40px;
}

.watermark-section h3 {
  color: #dab672;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.watermark-section p {
  color: #aaa;
  margin-bottom: 20px;
  line-height: 1.5;
}

.watermark-options {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.watermark-upload,
.watermark-text {
  flex: 1;
  min-width: 250px;
}

.watermark-or {
  color: #aaa;
  font-size: 1.1rem;
}

.watermark-upload,
.watermark-text {
  background: #1a1a1a;
  border: 1px dashed #333;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
  text-align: center;
}

.watermark-upload:hover,
.watermark-text:hover {
  border-color: #dab672;
}

.watermark-upload.drag-over {
  border-color: #dab672;
  background: rgba(218, 182, 114, 0.1);
  transform: scale(1.02);
}

.watermark-upload label,
.watermark-text label {
  display: block;
  margin-bottom: 15px;
  color: #dab672;
  font-weight: 600;
  cursor: pointer;
}

.watermark-upload input[type="file"] {
  display: none;
}

.drag-hint {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 5px;
}

.file-info {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 10px;
}

.watermark-text input {
  width: 100%;
  padding: 10px 15px;
  background: #222;
  border: 1px solid #333;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
}

.watermark-text input:focus {
  outline: none;
  border-color: #dab672;
}

.filename-truncate {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin: 8px auto 0;
  text-align: center;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.9em;
}

/* ====================== */
/* ИНДИВИДУАЛЬНЫЙ ПРОЕКТ */
/* ====================== */
.custom-project {
  background: #222;
  border-radius: 10px;
  padding: 30px;
  border: 1px solid #333;
  margin-top: 40px;
}

.custom-project h3 {
  color: #dab672;
  margin-bottom: 20px;
  text-align: center;
}

.custom-project-content {
  min-height: 400px;
}

.custom-project-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.custom-project-integration {
  background: #222;
  border-radius: 10px;
  padding: 30px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  min-height: 400px;
}

.project-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.project-counter h3 {
  color: #dab672;
  font-size: 1.8rem;
  margin: 0;
}

.counter {
  background: #333;
  color: #dab672;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.project-item {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #333;
  position: relative;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease;
}

.project-item:hover {
  background: #2f2f2f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: #444;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.project-title {
  color: #dab672;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
}

.project-number {
  background: #dab672;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.project-name {
  background: transparent;
  border: none;
  color: #dab672;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 5px;
  border-bottom: 1px dashed #dab672;
  width: auto;
  max-width: 300px;
  transition: border 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-name:focus {
  outline: none;
  border-bottom: 1px solid #dab672;
}

.project-controls {
  display: flex;
  gap: 12px;
}

.btn-remove,
.btn-toggle,
.btn-service-remove,
.btn-configure {
  background: #333;
  color: #dab672;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-remove:hover,
.btn-service-remove:hover {
  background: #e74c3c;
  color: white;
  transform: scale(1.1);
}

.btn-toggle:hover,
.btn-configure:hover {
  background: #444;
  transform: scale(1.1);
}

.project-content {
  display: block;
  transition: all 0.3s ease;
}

.project-content.collapsed {
  display: none;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.add-service-btn {
  padding: 12px;
  background: rgba(218, 182, 114, 0.1);
  color: #dab672;
  border: 1px dashed #dab672;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.add-service-btn:hover {
  background: rgba(218, 182, 114, 0.2);
  transform: translateY(-2px);
}

.service-summary {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  border-left: 3px solid #dab672;
  position: relative;
  transition: all 0.3s ease;
  animation: slideIn 0.3s ease;
}

.service-summary:hover {
  background: #2f2f2f;
  transform: translateX(5px);
}

.service-summary h5 {
  color: #dab672;
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.service-summary p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.service-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}

.empty-state p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.action-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn-add-project {
  flex: 1;
  padding: 15px;
  background: #333;
  color: #dab672;
  border: 1px solid #dab672;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
}

.btn-add-project:hover {
  background: rgba(218, 182, 114, 0.1);
  transform: translateY(-2px);
}

.btn-submit-approval {
  flex: 2;
  padding: 15px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.05rem;
}

.btn-submit-approval:hover {
  background: #c9a45e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(218, 182, 114, 0.3);
}

/* ====================== */
/* ФОРМЫ ИНДИВИДУАЛЬНОГО ПРОЕКТА */
/* ====================== */
.service-form {
  margin-top: 20px;
  padding: 20px;
  background: rgba(50, 50, 50, 0.5);
  border-radius: 8px;
  border: 1px solid #333;
  animation: fadeIn 0.4s ease;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.form-section h5 {
  color: #dab672;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* ====================== */
/* RESPONSIVE STYLES (ADDED FIXED) */
/* ====================== */
@media (max-width: 1024px) {
  .order-columns {
    flex-direction: column;
  }

  .order-tabs {
    margin-top: 0;
    width: 100%;
    min-width: 0;
    padding-right: 0;
    flex: auto;
  }

  .order-summary {
    width: 100%;
    min-width: 0;
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .order-page .order-container {
    margin-top: 70px;
    padding: 0 15px 40px;
  }

  .tab-buttons {
    flex-wrap: wrap;
    border-bottom: none;
    gap: 10px;
  }

  .tab-button {
    width: 100%;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-bottom: none !important;
  }

  .tab-button.active {
    background: #dab672;
    color: #000;
  }

  .tab-button.active::after {
    display: none;
  }

  .section-fields {
    grid-template-columns: 1fr;
  }

  .dual-input-container {
    flex-direction: column;
    gap: 15px;
  }

  .dual-input-container textarea {
    min-width: 100%;
  }

  .action-buttons {
    flex-direction: column;
  }

  .watermark-options {
    flex-direction: column;
  }

  .project-header,
  .project-counter {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .project-controls {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .project-name {
    width: 100%;
    max-width: none;
  }
}

.section-fields {
  display: grid;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  font-weight: 500;
}

.form-field {
  margin-bottom: 15px;
  flex: 1;
  min-width: 200px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  color: #aaa;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #333;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 0.95rem;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.custom-input,
.custom-textarea {
  width: 100%;
  padding: 14px 18px;
  background: #333;
  border: 1px solid #444;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: border 0.3s;
}

.custom-select {
  width: 100%;
  padding: 14px 40px 14px 18px;
  background-color: #333;
  border: 1px solid #444;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: border 0.3s;
  cursor: pointer;

  /* Custom Arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dab672' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.custom-select:focus,
.custom-input:focus,
.custom-textarea:focus {
  outline: none;
  border-color: #dab672;
  box-shadow: 0 0 0 2px rgba(218, 182, 114, 0.2);
}

.custom-textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
}

.field-hint {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 5px;
  font-style: italic;
}

.dual-input-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.dual-input-container textarea {
  flex: 1;
  min-width: 250px;
  height: 100px;
  padding: 10px;
  background: #222;
  border: 1px solid #333;
  border-radius: 5px;
  color: white;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox-group input {
  margin-right: 10px;
}

.seasonal-renders {
  margin: 15px 0;
}

.season-details {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  padding: 15px;
  background: rgba(50, 50, 50, 0.3);
  border-radius: 8px;
  flex-wrap: wrap;
}

.dynamic-options-container {
  margin-top: 20px;
}

.options-list {
  margin: 10px 0;
}

.add-option-btn {
  padding: 10px 15px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.remove-option-btn {
  padding: 8px 12px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.section-title {
  font-weight: bold;
  color: #dab672;
  margin-top: 25px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
  font-size: 1.3rem;
}

/* ====================== */
/* МОДЕЛИРОВАНИЕ */
/* ====================== */
.modeling-list {
  margin: 15px 0;
  padding: 20px;
  background: rgba(40, 40, 40, 0.5);
  border-radius: 8px;
  border: 1px solid #333;
}

.modeling-list-title {
  font-weight: bold;
  color: #dab672;
  margin-bottom: 18px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modeling-list-title:before {
  content: "📋";
  font-size: 1.3rem;
}

.modeling-items {
  margin-left: 15px;
}

.modeling-item {
  margin-bottom: 15px;
  padding: 12px;
  border-left: 3px solid #dab672;
  padding-left: 18px;
  background: rgba(40, 40, 40, 0.5);
  border-radius: 6px;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.modeling-item:hover {
  background: rgba(50, 50, 50, 0.7);
  transform: translateX(5px);
}

.modeling-item-number {
  background: #dab672;
  color: #000;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

.modeling-item-text {
  flex: 1;
  color: #ccc;
}

.modeling-fields {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modeling-textarea {
  min-height: 120px;
}

/* ====================== */
/* ЗАГРУЗКА ФАЙЛОВ */
/* ====================== */
.file-upload-container {
  margin-top: 15px;
  margin-bottom: 25px;
}

.file-upload-area {
  border: 2px dashed #dab672;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  background: rgba(218, 182, 114, 0.05);
  cursor: pointer;
  margin-top: 10px;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  background: rgba(218, 182, 114, 0.1);
  border-color: #c9a45e;
  transform: translateY(-2px);
}

.file-upload-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #dab672;
}

.file-upload-text {
  margin-bottom: 20px;
  color: #ccc;
  font-size: 1.1rem;
}

.file-upload-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.file-upload-btn:hover {
  background: #c9a45e;
  transform: translateY(-2px);
}

.file-input {
  display: none;
}

.uploaded-files {
  margin-top: 20px;
  max-height: 180px;
  overflow-y: auto;
}

.uploaded-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(50, 50, 50, 0.5);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  border: 1px solid #444;
}

.file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ccc;
}

.file-size {
  color: #aaa;
  margin-left: 10px;
}

.file-remove {
  background: #e74c3c;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  margin-left: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.file-remove:hover {
  background: #c0392b;
  transform: scale(1.1);
}

.file-upload-info {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 15px;
  text-align: center;
}

/* ====================== */
/* ПАРАМЕТРЫ УСЛУГ */
/* ====================== */
.service-params {
  margin-top: 20px;
}

.param-group {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(40, 40, 40, 0.5);
  border-radius: 8px;
  border: 1px solid #333;
}

.param-group label {
  display: block;
  margin-bottom: 8px;
  color: #dab672;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #666;
  border-radius: 4px;
  background-color: #333;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #dab672;
  border-color: #dab672;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-group input[type="checkbox"]:hover {
  border-color: #888;
}

.checkbox-group input[type="checkbox"]:checked:hover {
  border-color: #c9a45e;
  background-color: #c9a45e;
}

.checkbox-group label {
  margin-bottom: 0;
  color: #ccc;
  font-weight: normal;
  cursor: pointer;
}

.sub-params {
  margin-left: 25px;
  margin-top: 12px;
  padding-left: 18px;
  border-left: 2px solid #555;
}

/* ====================== */
/* РЕНДЕРЫ */
/* ====================== */
.renders-configuration {
  background: rgba(40, 40, 40, 0.5);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #333;
}

.renders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
}

.renders-header label {
  color: #dab672;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.total-counter {
  background: #333;
  color: #dab672;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
}

.accordion-item {
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: #555;
}

.accordion-header {
  background: rgba(50, 50, 50, 0.5);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: rgba(60, 60, 60, 0.7);
}

.accordion-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.accordion-title {
  flex: 1;
  color: #ccc;
  font-weight: 500;
  font-size: 1rem;
}

.accordion-arrow {
  color: #dab672;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 20px;
  background: rgba(35, 35, 35, 0.5);
  border-top: 1px solid #444;
  gap: 20px;
  flex-wrap: wrap;
}

.accordion-item.active .accordion-content {
  display: flex;
}

.time-group {
  flex: 1;
  min-width: 120px;
}

.time-group label {
  display: block;
  margin-bottom: 8px;
  color: #aaa;
  font-size: 0.9rem;
}

.time-input {
  text-align: center;
  font-weight: bold;
}

.renders-summary {
  background: rgba(45, 45, 45, 0.8);
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
  border: 1px solid #444;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  color: #ccc;
  font-size: 0.9rem;
}

.summary-item:not(:last-child) {
  border-bottom: 1px solid #444;
}

/* ====================== */
/* РАДИО КНОПКИ ВРЕМЕНИ ГОДА/СУТОК */
/* ====================== */
.season-time-radio-container {
  background: rgba(40, 40, 40, 0.5);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #333;
  margin-bottom: 20px;
}

.radio-group-container {
  margin-bottom: 20px;
}

.radio-group-container:last-child {
  margin-bottom: 0;
}

.radio-group-label {
  display: block;
  margin-bottom: 12px;
  color: #dab672;
  font-weight: 500;
  font-size: 1rem;
}

.radio-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #666;
  border-radius: 50%;
  background-color: #333;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-option input[type="radio"]:checked {
  background-color: #dab672;
  border-color: #dab672;
}

.radio-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
}

.radio-option input[type="radio"]:hover {
  border-color: #888;
}

.radio-option input[type="radio"]:checked:hover {
  border-color: #c9a45e;
  background-color: #c9a45e;
}

.radio-option label {
  color: #ccc;
  cursor: pointer;
  font-size: 0.95rem;
}

.required-note {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 10px;
  font-style: italic;
}

/* ====================== */
/* МОДАЛЬНЫЕ ОКНА */
/* ====================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #222);
  margin: 8% auto;
  padding: 40px;
  border-radius: 12px;
  width: 85%;
  max-width: 750px;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  color: #f0f0f0;
  animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(218, 182, 114, 0.2);
}

.modal-header h2 {
  color: #dab672;
  font-size: 1.8rem;
  text-align: left;
  margin: 0;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
}

.close-modal:hover {
  color: #dab672;
  transform: rotate(180deg);
  background: rgba(218, 182, 114, 0.1);
}

.terms-text {
  max-height: 55vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  line-height: 1.7;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid #333;
  font-size: 1.05rem;
}

.signature {
  margin-top: 20px;
  font-style: italic;
  color: #aaa;
}

.terms-text::-webkit-scrollbar {
  width: 8px;
}

.terms-text::-webkit-scrollbar-track {
  background: rgba(30, 30, 30, 0.3);
  border-radius: 4px;
}

.terms-text::-webkit-scrollbar-thumb {
  background: #dab672;
  border-radius: 4px;
}

.terms-text::-webkit-scrollbar-thumb:hover {
  background: #c9a45e;
}

.terms-text {
  scrollbar-width: thin;
  scrollbar-color: #dab672 rgba(30, 30, 30, 0.3);
}

.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.custom-modal-content {
  background: linear-gradient(135deg, #1a1a1a, #222);
  margin: 5% auto;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  color: #f0f0f0;
  animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.custom-modal-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(218, 182, 114, 0.2);
}

.custom-modal-title {
  color: #dab672;
  margin: 0;
  font-size: 1.8rem;
}

.custom-close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
}

.custom-close-modal:hover {
  color: #dab672;
  transform: rotate(180deg);
  background: rgba(218, 182, 114, 0.1);
}

.custom-modal-body {
  padding: 0 10px 20px 0;
  overflow-y: auto;
  flex-grow: 1;
  scrollbar-width: thin;
  scrollbar-color: #dab672 #444;
}

.custom-modal-body::-webkit-scrollbar {
  width: 14px;
}

.custom-modal-body::-webkit-scrollbar-track {
  background: #444;
  border-radius: 5px;
  margin: 12px 2px;
}

.custom-modal-body::-webkit-scrollbar-thumb {
  background: #dab672;
  border-radius: 5px;
  border: 3px solid #444;
  /* Border создает отступ внутри ползунка */
  min-height: 40px;
  /* Минимальная высота ползунка */
}

.custom-modal-body::-webkit-scrollbar-thumb:hover {
  background: #c9a45e;
  border: 3px solid #555;
}

.custom-modal-actions {
  display: flex;
  gap: 15px;
  padding: 25px 0 0;
  border-top: 1px solid #444;
  margin-top: 25px;
}

.custom-btn-primary {
  flex: 1;
  padding: 12px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.05rem;
}

.custom-btn-primary:hover {
  background: #c9a45e;
  transform: translateY(-2px);
}

.custom-btn-secondary {
  flex: 1;
  padding: 12px;
  background: #444;
  color: #ccc;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.05rem;
}

.custom-btn-secondary:hover {
  background: #555;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-form .form-group {
  margin-bottom: 0;
}

.feedback-form .custom-input {
  width: 100%;
}

/* ====================== */
/* СТИЛИ ДЛЯ ССЫЛОК НА УСЛОВИЯ */
/* ====================== */
#terms-link {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 6px;
}

#terms-link:hover {
  color: #c9a45e;
}


/* ====================== */
/* УВЕДОМЛЕНИЯ */
/* ====================== */
.custom-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #dab672;
  color: #000;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.3s ease;
  max-width: 90%;
  text-align: center;
  word-wrap: break-word;
  display: none;
}

.custom-notification.show {
  transform: translateX(-50%) translateY(0);
  display: block;
}

/* ====================== */
/* ВИДЖЕТ МЕССЕНДЖЕРОВ */
/* ====================== */
.messenger-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  transition: opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.messenger-widget.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.messenger-widget.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.widget-button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #424242;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  overflow: hidden;
  position: relative;
}

.widget-button:hover {
  transform: scale(1.1);
  background: #dab672;
  box-shadow: 0 6px 25px rgba(109, 91, 57, 0.5);
}

.icon-message,
.icon-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 35px;
  height: 35px;
}

.icon-message {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(360deg);
}

.messenger-widget.active .icon-message {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-360deg);
}

.messenger-widget.active .icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.icons-container {
  position: absolute;
  bottom: 70px;
  right: 2.5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.messenger-widget.active .icons-container {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.messenger-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.8);
  opacity: 0;
}

.messenger-widget.active .messenger-icon {
  opacity: 1;
}

.messenger-icon:nth-child(1) {
  transition-delay: 0.3s;
}

.messenger-icon:nth-child(2) {
  transition-delay: 0.2s;
}

.messenger-icon:nth-child(3) {
  transition-delay: 0.1s;
}

.messenger-icon img {
  width: 55px;
  height: 55px;
  transition: transform 0.3s ease;
}

.messenger-icon:hover img {
  transform: scale(1.2);
}

/* ====================== */
/* ВИДЖЕТ КОРЗИНЫ - обновлённые стили */
/* ====================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  display: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-overlay.active {
  display: block;
}

.cart-widget {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #222;
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-widget.active {
  right: 0;
}

.cart-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
}

.cart-widget-header h3 {
  color: #dab672;
  font-size: 1.5rem;
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  color: #aaa;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.close-cart:hover {
  color: #dab672;
}

.cart-widget-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  min-height: 0;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
}

.cart-item {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.cart-item-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #333;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  display: block;
  color: #dab672;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 5px;
  transition: opacity 0.3s;
}

.cart-item-title:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cart-item-price {
  color: #fff;
  font-weight: bold;
}

.cart-item-base {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 4px;
}

.cart-item-options {
  padding-top: 10px;
  border-top: 1px solid #333;
  margin-top: 10px;
}

.option-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #aaa;
  position: relative;
}

.option-name {
  flex: 1;
}

.option-price {
  color: #dab672;
}

.remove-option {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  margin-left: 10px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.remove-option:hover {
  color: #ff6b6b;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 5px;
  transition: opacity 0.3s;
  transform: scale(2);
}

.cart-item-remove:hover {
  opacity: 0.8;
}

.cart-widget-summary {
  padding: 25px;
  background: #1a1a1a;
  border-top: 1px solid #333;
  z-index: 1001;
}

.cart-widget-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.cart-widget-total-price {
  color: #dab672;
  font-weight: bold;
}

.btn-order {
  width: 100%;
  padding: 15px;
  background: #dab672;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.btn-order:disabled {
  background: #555;
  cursor: not-allowed;
}

.btn-order:not(:disabled):hover {
  background: #c9a45e;
}

.btn-order.in-cart {
  background: #333 !important;
  border: 1px solid #dab672 !important;
  color: #dab672 !important;
}

.btn-order.in-cart:hover {
  background: #444 !important;
}

/* ====================== */
/* ПОДВАЛ */
/* ====================== */
footer {
  background: #0f0f0f;
  color: #aaa;
  padding: 60px 20px 0;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: #dab672;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #dab672;
}

.footer-column p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.footer-column ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #dab672;
}

.footer-column a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #dab672;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: #dab672;
  transform: translateY(-3px);
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: invert(0.8);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ====================== */
/* АНИМАЦИИ */
/* ====================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menuItemAppear {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====================== */
/* УТИЛИТНЫЕ КЛАССЫ */
/* ====================== */
.active {
  display: block !important;
}

.collapsed {
  display: none !important;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.drag-over,
.dragover {
  border-color: #dab672 !important;
  background: rgba(218, 182, 114, 0.1) !important;
}

/* ====================== */
/* АДАПТИВНОСТЬ */
/* ====================== */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }

  .logo {
    padding-left: 15px;
    font-size: 20px;
  }



  .burger-icon {
    font-size: 24px;
  }

  .side-menu {
    width: 280px;
    right: -280px;
    padding: 25px 15px;
  }

  .order-columns {
    flex-direction: column;
  }

  .order-tabs {
    min-width: 100%;
    margin-top: 0;
  }

  .order-summary {
    position: static;
    margin-top: 30px;
  }

  .tab-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .watermark-options {
    flex-direction: column;
  }

  .watermark-upload,
  .watermark-text {
    min-width: 100%;
  }

  .watermark-or {
    display: none;
  }

  .custom-project-integration {
    padding: 20px;
  }

  .project-counter {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .action-buttons {
    flex-direction: column;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .project-controls {
    align-self: flex-end;
  }

  .custom-modal-content {
    width: 95%;
    padding: 30px 20px;
  }

  .custom-modal-actions {
    flex-direction: column;
  }

  .modeling-fields {
    flex-direction: column;
  }

  .modeling-item {
    flex-direction: column;
    gap: 10px;
  }

  .modeling-item-number {
    align-self: flex-start;
  }

  .file-upload-area {
    padding: 20px;
  }



  .cart-widget {
    max-width: 350px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .messenger-widget {
    bottom: 20px;
    right: 20px;
  }

  .widget-button {
    width: 50px;
    height: 50px;
  }

  .icons-container {
    bottom: 65px;
  }

  .messenger-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .project-name {
    max-width: 150px;
    font-size: 1.1rem;
  }

  .service-summary h5 {
    max-width: 150px;
  }

  .custom-modal-content {
    padding: 25px 15px;
  }

  .radio-options {
    flex-direction: column;
    gap: 12px;
  }

  .season-time-radio-container {
    padding: 15px;
  }

  .accordion-content {
    flex-direction: column;
    gap: 15px;
  }

  .accordion-header {
    padding: 12px 15px;
  }

  .season-params {
    flex-direction: column;
    gap: 15px;
  }

  .time-group {
    min-width: 100%;
  }

  .renders-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .filename-truncate {
    max-width: 150px;
    font-size: 0.8em;
  }

  .custom-project-integration {
    padding: 15px;
  }

  .project-item {
    padding: 20px;
  }

  .cart-widget {
    max-width: 300px;
  }

  .cart-item-thumb {
    width: 70px;
    height: 70px;
  }
}

.cart-widget {
  display: flex !important;
  flex-direction: column !important;
}

.cart-widget-items {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
}

/* ====================== */
/* МОБИЛЬНЫЕ УСТРОЙСТВА (до 767px) */
/* ====================== */
@media (max-width: 767px) {

  /* Шапка */


  /* Убираем тень на мобильных */
  .menu-toggle,
  .side-menu,
  .cart-widget {
    box-shadow: none !important;
  }
}