/* Return Form — Lilia Collection */
.return-form .return-section { margin-bottom: 30px; padding: 25px 25px 10px; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04) }
.return-form .return-section legend { border: none; padding: 0 0 15px; margin-bottom: 20px; font-weight: 600; font-size: 18px; color: #333; width: auto; border-bottom: 1px solid #f0f0f0; display: block; float: none }
.return-form .return-section legend i { color: #c7a267; margin-right: 10px; font-size: 20px }
.return-form .bank-details-section { background: linear-gradient(135deg, #faf8f4 0%, #f6f2ea 100%); border: 1px solid #e8e0d0 }
.return-form .bank-details-section legend i { color: #a08453 }
.return-form .bank-info-box { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,0.7); border-left: 4px solid #c7a267; padding: 16px 20px; border-radius: 4px; margin-bottom: 25px; font-size: 15px; line-height: 1.6; color: #5a4a30 }
.return-form .bank-info-box i { color: #a08453; font-size: 18px; margin-top: 2px; flex-shrink: 0 }
.return-form .form-control { height: 42px; width: 100% !important; max-width: 100% !important; border-radius: 4px; border: 1px solid #ddd; transition: border-color 0.2s, box-shadow 0.2s }
.return-form .form-control:focus { border-color: #c7a267; box-shadow: 0 0 0 3px rgba(199,162,103,0.15) }
.return-form .form-control[readonly] { background-color: #f5f5f5; cursor: not-allowed }
.return-form textarea.form-control { height: auto; min-height: 100px }
.return-form .control-label { font-weight: 600; color: #555; padding-top: 12px; padding-right: 20px; font-size: 14px }
.return-form .required .control-label:after { content: " *"; color: #d9534f; font-weight: bold }
.return-form .has-error .form-control { border-color: #d9534f; background-color: #fdf2f2 }
.return-form .has-error .control-label { color: #d9534f }
.return-form .radio { margin-top: 8px; margin-bottom: 8px; padding: 10px 15px; background: #fafafa; border: 1px solid #eee; border-radius: 4px; transition: background 0.2s, border-color 0.2s }
.return-form .radio:hover { background: #f5f5f5; border-color: #ddd }
.return-form .radio input[type="radio"] { margin-top: 3px }

/* ORDER SUMMARY BOX */
#order-summary-group { margin-bottom: 25px }
#order-summary { border: 1px solid #e8e0d0; background: #faf8f4; border-radius: 8px; padding: 25px 30px; width: 100% !important; max-width: 100% !important; box-sizing: border-box; box-shadow: 0 4px 15px rgba(199,162,103,0.05) }
#order-summary h4 { color: #1e232a; font-size: 16px; margin-top: 0; margin-bottom: 20px; font-weight: 700; display: flex; align-items: center; border-bottom: 1px solid #e8e0d0; padding-bottom: 12px }
#order-summary h4 i { color: #c7a267; margin-right: 10px; font-size: 22px }
#order-summary table { width: 100% !important; max-width: 100% !important; margin-bottom: 0; border: none !important; background: transparent !important }
#order-summary table tbody, #order-summary table tr { border: none !important }
#order-summary table td { padding: 14px 0; border: none !important; color: #555; font-size: 14px; vertical-align: middle; background: transparent !important }
#order-summary table tr:not(:last-child) td { border-bottom: 1px dashed #e8e0d0 !important }
#order-summary table td:first-child { width: 45%; color: #888; font-weight: 500 }
#order-summary table td:last-child { width: 55%; color: #1e232a; font-weight: 700; font-size: 15px }

/* DEADLINE WARNING BOX */
#deadline-warning { margin-bottom: 20px }
#deadline-warning .alert { background-color: #fdf2f2 !important; border: 1px solid #ebccd1 !important; color: #a94442 !important; border-radius: 6px; padding: 15px 20px; font-size: 14px; line-height: 1.5; margin-bottom: 0 !important }
#deadline-warning .alert i { color: #a94442; margin-right: 5px }

/* --- БУТОНИ И ЧЕКБОКС (ДЕСКТОП) --- */
.btn-lilia { background-color: #c7a267 !important; border-color: #c7a267 !important; color: #1e232a !important; padding: 12px 40px !important; font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 1px !important; border-radius: 4px !important; transition: all 0.3s !important; box-shadow: 0 4px 10px rgba(199, 162, 103, 0.3) !important; }

.return-form .buttons { margin-top: 30px; width: 100%; }
.return-form .buttons .pull-right { float: none !important; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.return-form .buttons .btn { width: auto !important; display: inline-block !important; }

.return-form .agree-label { display: block; text-align: right; cursor: pointer; font-weight: normal; line-height: 1.6; margin: 0; }
.return-form .agree-label input[type="checkbox"] { display: inline-block !important; vertical-align: middle !important; float: none !important; margin: 0 0 0 8px !important; width: 18px; height: 18px; cursor: pointer; }

/* RESPONSIVE (MOBILE) */
@media (max-width: 767px) {
  .return-form .return-section { padding: 18px 15px 5px }
  .return-form .return-section legend { font-size: 16px }
  .return-form .control-label { text-align: left; padding-top: 0; padding-right: 0; padding-bottom: 5px }
  
  .return-form .buttons .pull-right { align-items: stretch; }
  .return-form .buttons .btn { width: 100% !important; display: block !important; }
  .return-form .agree-label { text-align: left !important; }

  #order-summary { padding: 15px }
  #order-summary table, #order-summary tbody, #order-summary tr, #order-summary td { display: block; width: 100% !important }
  #order-summary table td { border-top: none; border-bottom: none !important; padding: 6px 0 }
  #order-summary table td:first-child { width: 100% !important; color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; white-space: normal; padding-bottom: 2px }
  #order-summary table td:last-child { width: 100% !important; color: #1e232a; font-size: 15px; padding-top: 0; padding-bottom: 12px; border-bottom: 1px dashed #e8e0d0 !important }
  #order-summary table tr:last-child td:last-child { border-bottom: none !important }
}