/* Estilos para la sección de vender piezas gratis */

.sell-free-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.sell-free-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="white" fill-opacity="0.1"/></svg>') no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.sell-free-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sell-free-content h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sell-free-desc {
  font-size: 1.3em;
  margin-bottom: 25px;
  opacity: 0.95;
}

.sell-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.sell-benefits li {
  font-size: 1.1em;
  margin: 12px 0;
  padding-left: 30px;
  position: relative;
}

.sell-benefits li::before {
  position: absolute;
  left: 0;
}

.btn-sell-free {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937;
  padding: 20px 50px;
  border: none;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-sell-free:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.sell-note {
  margin-top: 20px;
  opacity: 0.9;
}

.sell-note a {
  color: #fbbf24;
  text-decoration: underline;
  font-weight: bold;
}

.sell-free-image {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.floating-card {
  background: white;
  color: #1f2937;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: 1s;
  margin-left: 30px;
}

.floating-card:nth-child(3) {
  animation-delay: 2s;
  margin-left: 60px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Modal estilos */
.modal-large {
  width: 90%;
  max-width: 900px;
}

.form-vender-gratis {
  padding: 20px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

.form-section h3 {
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 1.2em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.upload-preview-zone {
  position: relative;
}

.upload-preview-zone input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.image-preview-box {
  border: 3px dashed #d1d5db;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.3s;
}

.image-preview-box:hover {
  border-color: #667eea;
  background: #f3f4f6;
}

.image-preview-box p {
  margin: 0;
  color: #6b7280;
  font-size: 1.1em;
}

.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.info-box p {
  margin: 5px 0;
  color: #1e40af;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .sell-free-container {
    grid-template-columns: 1fr;
  }
  
  .sell-free-content h2 {
    font-size: 1.8em;
  }
  
  .btn-sell-free {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  
  .floating-card:nth-child(2),
  .floating-card:nth-child(3) {
    margin-left: 0;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}
