/* Estilos para página de cotización */

/* Hero Section - Diseño Mejorado */
.hero-cotizar {
  background: url('../images/cotizacion-bg.png') center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #1e293b;
  color: white;
  padding: 140px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 850px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Formas de fondo animadas */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  animation: float 25s infinite ease-in-out;
  filter: blur(60px);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 500px;
  height: 500px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: -150px;
  left: -150px;
  animation-delay: 8s;
}

.hero-shape-3 {
  width: 400px;
  height: 400px;
  border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
  top: 40%;
  left: 30%;
  animation-delay: 16s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -40px) rotate(120deg);
  }
  66% {
    transform: translate(-40px, 60px) rotate(240deg);
  }
}

.hero-cotizar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  z-index: 1;
}

.hero-cotizar .hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero-cotizar h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.feature-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.feature-text strong {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #ffffff;
}

.feature-text span {
  font-size: 0.85rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* Quote Builder */
.quote-builder {
  padding: 60px 2rem;
  background: #f9fafb;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

/* Left Section - Products */
.quote-products {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
  font-size: 1.8rem;
  color: #1f2937;
  margin-bottom: 8px;
}

.section-header p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 24px;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Products Grid */
.products-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.product-card {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
  align-items: stretch;
  height: auto;
  width: 100%;
}

.product-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.product-card.selected {
  border-color: #667eea;
  background: #f5f7ff;
}

.product-image {
  width: 50%;
  min-width: 150px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #e5e7eb;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: space-between;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 2px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
  line-height: 1.2;
}

.product-category {
  font-size: 0.8rem;
  color: #667eea;
  font-weight: 500;
  line-height: 1.1;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #667eea;
}

.product-sku {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 2px;
  line-height: 1.1;
}

.product-description {
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: white;
  color: #667eea;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover:not(:disabled) {
  background: #667eea;
  color: white;
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-value {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  color: #1f2937;
}

.add-to-quote-btn {
  flex: 0 1 auto;
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  min-width: 160px;
}

.add-to-quote-btn:hover {
  background: #5568d3;
  transform: translateY(-1px);
}

.add-to-quote-btn.added {
  background: #10b981;
}

/* Right Section - Quote Summary */
.quote-summary-container {
  position: relative;
}

.quote-summary {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.quote-summary h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e5e7eb;
}

.quote-summary h4 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 16px;
  margin-top: 24px;
}

/* Selected Products */
.selected-products {
  margin-bottom: 24px;
  max-height: 300px;
  overflow-y: auto;
}

.empty-state {
  text-align: center;
  color: #9ca3af;
  padding: 40px 20px;
  font-size: 0.95rem;
}

.selected-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
}

.selected-item-info {
  flex: 1;
}

.selected-item-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.selected-item-details {
  font-size: 0.85rem;
  color: #6b7280;
}

.selected-item-price {
  font-weight: 700;
  color: #667eea;
  font-size: 1rem;
  margin-left: 12px;
}

.remove-item-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.remove-item-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Additional Services */
.additional-services {
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
}

.checkbox-item:hover {
  background: #f9fafb;
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

.checkbox-item span {
  font-size: 0.95rem;
  color: #374151;
  flex: 1;
}

.checkbox-item strong {
  color: #667eea;
  font-weight: 600;
}

/* Quote Total */
.quote-total {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.quote-subtotal,
.quote-services {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #6b7280;
}

.quote-net-total,
.quote-iva {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

.quote-net-total {
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
}

.quote-iva {
  color: #059669;
}

.quote-total-line {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 8px;
  border-top: 2px solid #e5e7eb;
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
}

.quote-total-line span:last-child {
  color: #667eea;
}

/* Contact Info Section */
.contact-info-section {
  padding-top: 24px;
  border-top: 2px solid #e5e7eb;
}

.quote-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-send-quote {
  width: 100%;
  padding: 14px 24px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-send-quote:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-send-quote:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.btn-send-quote svg {
  width: 20px;
  height: 20px;
}

/* Success Message */
.quote-success {
  text-align: center;
  padding: 40px 20px;
}

.quote-success.hidden {
  display: none;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  color: white;
}

.quote-success h4 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 12px;
}

.quote-success p {
  color: #6b7280;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-section .cta {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.cta-section .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================================================ */

/* Oculto en escritorio */
.cotizar-mobile-back {
  display: none;
}

/* MOBILE (320px - 767px) */
@media (max-width: 767px) {

  /* ── Hero ── */
  .hero-cotizar {
    padding: 60px 16px 40px;
    min-height: 320px;
    margin-bottom: 0;
  }

  .hero-cotizar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(80, 30, 120, 0.30);
    z-index: 0;
    pointer-events: none;
  }

  .hero-cotizar .hero-content,
  .hero-cotizar .hero-background {
    position: relative;
    z-index: 1;
  }

  .cotizar-mobile-back {
    display: flex;
    justify-content: center;
    padding: 14px 20px 4px;
  }

  .cotizar-mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #fff;
    color: #6b21a8;
    border: 2px solid #6b21a8;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
  }

  .cotizar-mobile-back-btn:active {
    background: #6b21a8;
    color: #fff;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .hero-cotizar h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 0.88rem;
    margin-bottom: 16px;
    opacity: 0.92;
  }

  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .feature-item {
    font-size: 0.82rem;
    gap: 6px;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
  }

  .hero-shape-1,
  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }

  /* ── Quote Builder ── */
  .quote-builder {
    padding: 16px 0;
    background: #f3f4f6;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .quote-layout {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 16px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* ── Productos ── */
  .quote-products {
    padding: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .section-header p {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .filters {
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  /* Tarjeta de producto */
  .products-grid {
    overflow: hidden;
  }

  .product-card {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    align-items: stretch;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .product-image {
    width: 100%;
    max-width: 140px;
    min-width: unset;
    aspect-ratio: 1;
    padding: 8px;
    flex-shrink: 0;
    align-self: center;
  }

  .product-info {
    flex: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 4px;
  }

  .product-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  .product-category {
    font-size: 0.78rem;
  }

  .product-price {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .product-sku {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .product-description {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
    word-break: break-word;
  }

  .product-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 4px;
  }

  .quantity-selector {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 4px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .qty-value {
    min-width: 36px;
    font-size: 0.95rem;
  }

  .add-to-quote-btn {
    display: block;
    width: 100%;
    padding: 11px 12px;
    font-size: 0.9rem;
    min-width: unset;
    box-sizing: border-box;
    text-align: center;
  }

  /* ── Resumen de cotización ── */
  .quote-summary-container {
    width: 100%;
  }

  .quote-summary {
    position: relative;
    top: auto;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .quote-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .quote-summary h4 {
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .selected-products {
    max-height: 240px;
    margin-bottom: 14px;
  }

  .selected-item {
    padding: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
  }

  .selected-item-name {
    font-size: 0.88rem;
  }

  .selected-item-price {
    font-size: 0.92rem;
  }

  .quote-total {
    padding: 14px;
    margin-bottom: 16px;
  }

  .quote-total-line {
    font-size: 1.1rem;
  }

  /* Formulario */
  .quote-form {
    margin-top: 14px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
    width: 100%;
  }

  .btn-send-quote {
    padding: 13px 20px;
    font-size: 0.95rem;
    min-height: 50px;
  }

  /* ── CTA bottom ── */
  .cta-section {
    padding: 28px 16px;
    text-align: center;
  }

  .cta-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .cta-section p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .cta-section .cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }
}

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-cotizar {
    padding: 100px 30px 80px;
    min-height: 450px;
    margin-bottom: 40px;
  }
  
  .hero-cotizar h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-3 {
    width: 120px;
    height: 120px;
  }
  
  .quote-layout {
    display: grid;
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }
  
  .quote-products {
    padding: 24px;
  }
  
  .products-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .product-card {
    flex-direction: row;
    padding: 12px;
    gap: 12px;
    margin-bottom: 8px;
  }

  .product-image {
    width: 50%;
    min-width: 130px;
    aspect-ratio: 1;
    padding: 10px;
  }
  .product-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .quantity-selector {
    width: auto;
    gap: 10px;
  }
  
  .add-to-quote-btn {
    width: auto;
  }
  
  .quote-summary {
    position: sticky;
    top: 100px;
    padding: 24px;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
}

/* DESKTOP (1024px+) */
@media (min-width: 1024px) {
  .hero-cotizar {
    padding: 120px 40px 80px;
    min-height: 500px;
    margin-bottom: 60px;
  }
  
  .hero-cotizar h1 {
    font-size: 2.8rem;
  }
  
  .hero-description {
    font-size: 1.15rem;
  }
  
  .hero-features {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .feature-item {
    justify-content: flex-start;
  }
  
  .hero-shape-1 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-3 {
    width: 200px;
    height: 200px;
  }
  
  .quote-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 40px;
    gap: 40px;
  }
  
  .quote-products {
    padding: 32px;
  }
  
  .products-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
  
  .product-card {
    flex-direction: row;
    padding: 12px;
    gap: 12px;
    align-items: stretch;
  }

  .product-image {
    width: 50%;
    min-width: 150px;
    aspect-ratio: 1;
    height: auto;
    padding: 12px;
  }

  .product-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .quote-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding: 32px;
  }
  
  .cta-section {
    padding: 60px 40px;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
}

/* Animaciones */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card,
.selected-item {
  animation: slideIn 0.3s ease;
}

/* Scrollbar personalizado para selected-products */
.selected-products::-webkit-scrollbar {
  width: 6px;
}

.selected-products::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

.selected-products::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.selected-products::-webkit-scrollbar-thumb:hover {
  background: #5568d3;
}
