/** Shopify CDN: Minification failed

Line 11:0 Unexpected "{"
Line 11:1 Expected identifier but found "%"
Line 12:22 Unexpected "-"
Line 14:1 Expected identifier but found "%"
Line 16:0 Unexpected "<"
Line 501:0 Unexpected "<"

**/
{% comment %}
  Bundle de Productos - Sección de Shopify
  Archivo: sections/product-bundle.liquid
{% endcomment %}

<style>
.product-bundle {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bundle-header {
  text-align: center;
  margin-bottom: 25px;
}

.bundle-legend {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.bundle-title {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 700;
}

.bundle-savings {
  background: linear-gradient(45deg, #ff6b6b, #ffa500);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.bundle-products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  padding: 5px 0;
}

.bundle-product {
  flex: 0 0 auto;
  width: 320px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
}

.bundle-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.free-product {
  border: 3px solid #28a745;
  position: relative;
}

.free-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #28a745;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.product-image {
  text-align: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.05);
}

.product-image img.changing {
  opacity: 0.5;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-price {
  text-align: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.price {
  font-weight: 700;
  display: inline-block;
}

.comparison-price {
  color: #95a5a6;
  text-decoration: line-through;
  font-size: 1.2rem;
  margin-right: 10px;
}

.real-price {
  color: #28a745;
  font-size: 1.6rem;
}

.free-price {
  color: #e74c3c;
  font-size: 1.6rem;
}

.variant-selector {
  margin-top: auto;
  padding-top: 10px;
}

.variant-selector label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

.variant-select {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease;
}

.variant-select:focus {
  outline: none;
  border-color: #3498db;
}

.bundle-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 5px;
}

.plus-sign {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: bold;
  user-select: none;
}

.bundle-summary {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.price-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 1.3rem;
}

.original-total {
  color: #7f8c8d;
  text-decoration: line-through;
}

.bundle-total {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  border-top: 2px solid #ecf0f1;
  padding-top: 15px;
}

.savings {
  color: #e74c3c;
  font-weight: 700;
  font-size: 1.5rem;
}

.bundle-add-to-cart {
  width: 100%;
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bundle-add-to-cart:hover {
  background: linear-gradient(45deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.bundle-add-to-cart:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-bundle {
    margin: 10px;
    padding: 15px;
  }
  
  .bundle-legend {
    font-size: 0.75rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  
  .bundle-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  
  .bundle-savings {
    font-size: 0.9rem;
    padding: 8px 18px;
    margin-bottom: 18px;
  }
  
  .bundle-products {
    gap: 8px;
    padding: 5px 0;
    margin-bottom: 18px;
  }
  
  .bundle-product {
    width: calc((100vw - 70px) / 3);
    min-width: 100px;
    max-width: 120px;
    padding: 12px 8px;
    flex-shrink: 0;
  }
  
  .product-image {
    margin-bottom: 8px;
  }
  
  .product-image img {
    max-width: 90px;
    height: 90px;
  }
  
  .product-title {
    font-size: 0.9rem;
    line-height: 1.1;
    min-height: 2em;
    margin-bottom: 6px;
    font-weight: 700;
  }
  
  .product-price {
    margin-bottom: 8px;
  }
  
  .comparison-price {
    font-size: 0.8rem;
    margin-right: 5px;
  }
  
  .real-price {
    font-size: 1.1rem;
  }
  
  .free-price {
    font-size: 1.1rem;
  }
  
  .variant-selector {
    padding-top: 6px;
  }
  
  .variant-selector label {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }
  
  .variant-select {
    padding: 5px;
    font-size: 0.8rem;
    border-width: 1px;
  }
  
  .bundle-connector {
    margin: 0 3px;
  }
  
  .plus-sign {
    font-size: 1.5rem;
  }
  
  .free-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    top: -8px;
    right: -8px;
  }
  
  .bundle-summary {
    padding: 18px;
  }
  
  .price-breakdown {
    margin-bottom: 15px;
    gap: 8px;
  }
  
  .price-breakdown > div {
    font-size: 1.1rem;
    padding: 6px 0;
  }
  
  .bundle-total {
    font-size: 1.3rem;
    padding-top: 10px;
  }
  
  .savings {
    font-size: 1.2rem;
  }
  
  .bundle-add-to-cart {
    padding: 15px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .product-bundle {
    margin: 8px;
    padding: 12px;
  }
  
  .bundle-legend {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }
  
  .bundle-title {
    font-size: 1.8rem;
  }
  
  .bundle-products {
    gap: 6px;
    margin-bottom: 15px;
  }
  
  .bundle-product {
    width: calc((100vw - 60px) / 3);
    min-width: 95px;
    max-width: 110px;
    padding: 10px 6px;
  }
  
  .product-image img {
    max-width: 80px;
    height: 80px;
  }
  
  .product-title {
    font-size: 0.8rem;
  }
  
  .comparison-price {
    font-size: 0.7rem;
  }
  
  .real-price {
    font-size: 1rem;
  }
  
  .free-price {
    font-size: 1rem;
  }
  
  .variant-select {
    font-size: 0.75rem;
  }
  
  .plus-sign {
    font-size: 1.2rem;
  }
  
  .bundle-connector {
    margin: 0 2px;
  }
  
  .bundle-summary {
    padding: 15px;
  }
  
  .price-breakdown > div {
    font-size: 1rem;
  }
  
  .bundle-total {
    font-size: 1.2rem;
  }
  
  .savings {
    font-size: 1.1rem;
  }
  
  .bundle-add-to-cart {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
</style>