/* ====================================
   TIENDA PAGE STYLES
   ==================================== */

/* Page Title */
main h1 {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
}

.page-title {
  color: #000000 !important;
  font-weight: 800;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  text-align: center;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.page-subtitle {
  color: #1e3a8a;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
  text-align: center;
}

/* Product Card */
.producto-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.producto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.producto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.3);
}

.producto-card:hover::before {
  transform: scaleX(1);
}

/* Product Image */
.imagen-marco {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
  padding: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.imagen-marco::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 10px;
  pointer-events: none;
}

.producto-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.producto-card:hover .producto-imagen {
  transform: scale(1.05);
}

/* Product Info */
.producto-nombre {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000 !important;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
               0 0 8px rgba(255, 255, 255, 0.7),
               0 0 12px rgba(255, 255, 255, 0.5) !important;
}

.producto-descripcion {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  min-height: 60px;
}

/* Price Selector */
.precio-selector {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.precio-opcion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.precio-opcion:hover {
  background: #e9ecef;
}

.precio-opcion.selected {
  background: #4a148c;
  color: white;
}

.precio-opcion input[type="radio"] {
  margin-right: 10px;
}

/* Add to Cart Button */
.btn-agregar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-agregar:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Floating Cart */
.carrito-flotante {
  position: fixed;
  top: 100px;
  right: 30px;
  background: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.carrito-flotante:hover {
  transform: scale(1.1);
}

.carrito-icono {
  font-size: 2rem;
  color: #4a148c;
}

.carrito-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Shipping Banner */
.alert.alert-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 15px;
  color: white;
}

.shipping-icon {
  font-size: 3rem;
  opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .carrito-flotante {
    right: 15px;
    width: 60px;
    height: 60px;
  }
}
