/* Variables de diseño - Versión Aesthetic con más presencia */
:root {
  --primary-color: #1e2b3a;
  --secondary-color: #faf3e8;
  --accent-color: #c9ab81;
  --accent-light: #e5d5c0;
  --soft-pink: #fae1dd;
  --soft-beige: #fdf8f2;
  --soft-gray: #f0f0f0;
  --text-dark: #2c3e50;
  --text-light: #6b7b8b;
  --border-color: #e0d6cc;
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 24px;
  --border-radius-sm: 16px;
  --border-radius-lg: 32px;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--soft-beige);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header con más presencia */
header {
  background: linear-gradient(135deg, #fdf8f2 0%, #f5ede1 100%);
  text-align: center;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-light);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.6s ease;
  box-shadow: var(--shadow-sm);
}

header i {
  color: var(--accent-color);
  margin-right: 8px;
  font-size: 18px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Container principal */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 50px 30px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 50px;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sección de imágenes con más estilo */
.images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image {
  width: 100%;
  border-radius: var(--border-radius);
  cursor: zoom-in;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: white;
  border: 3px solid white;
}

.main-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 12px;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: white;
  opacity: 0.8;
  box-shadow: var(--shadow-sm);
}

.thumbs img:hover,
.thumbs img:focus {
  opacity: 1;
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

/* Sección de detalles con más estilo */
.details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: white;
  padding: 45px 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

h1 {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 8px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 600;
  color: var(--primary-color);
  margin: 8px 0;
  text-align: center;
  background: var(--soft-beige);
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.shipping-badge {
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8966e 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 12px rgba(201, 171, 129, 0.3);
  animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(201, 171, 129, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(201, 171, 129, 0.4);
  }
}

/* Formulario con botones más notorios */
form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.label {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
  text-align: center;
  width: 100%;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  justify-content: center;
}

.options button {
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.options button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 171, 129, 0.1), transparent);
  transition: left 0.5s;
}

.options button:hover::before {
  left: 100%;
}

.options button:hover {
  border-color: var(--accent-color);
  background: var(--soft-beige);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.options button.selected {
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8966e 100%);
  color: white;
  border-color: var(--accent-color);
  font-weight: 600;
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(201, 171, 129, 0.3);
}

.color-preview {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Campos de entrada con más estilo */
.input-group {
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.input-group:focus-within {
  border-color: var(--accent-color);
  background: white;
  box-shadow: 0 8px 20px rgba(201, 171, 129, 0.15);
  transform: translateY(-2px);
}

.input-group-text {
  background: linear-gradient(135deg, #f8f4ef 0%, #f0e8de 100%);
  border: none;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 18px;
  min-width: 55px;
  border-right: 2px solid var(--border-color);
}

.form-control {
  flex: 1;
  padding: 16px 18px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  background: transparent;
}

.form-control:focus {
  outline: none;
}

.form-control::placeholder {
  color: #bbb;
  font-weight: 400;
}

/* Botón principal con mucho más impacto */
.whatsapp-button {
  width: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #1e2b3a 100%);
  color: white;
  padding: 20px 28px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.whatsapp-button:hover::before {
  left: 100%;
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.4);
  border-color: var(--accent-light);
}

.whatsapp-button:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.whatsapp-button i {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Nota de envío con más estilo */
.note {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #faf3e8 0%, #f5ede1 100%);
  border-radius: 16px;
  margin-top: 10px;
  border: 1px solid var(--border-color);
}

.note i {
  color: var(--accent-color);
  font-size: 18px;
}

/* Beneficios con más presencia */
.benefits-section {
  margin-top: 30px;
}

.benefits-section h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--soft-beige);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.benefits-section h3 i {
  color: var(--accent-color);
  font-size: 22px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 14px 16px;
  background: white;
  border-radius: 14px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.benefits li:hover {
  background: var(--soft-beige);
  border-color: var(--accent-color);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.benefits i {
  color: var(--accent-color);
  font-size: 20px;
  min-width: 24px;
}

/* Modal de confirmación con más estilo */
#textofinal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 62, 80, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.confirmation-content {
  background: white;
  padding: 50px;
  border-radius: 40px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  border: 2px solid white;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.confirmation-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon {
  font-size: 70px;
  color: var(--accent-color);
  margin-bottom: 25px;
  animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

#textofinal h2 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 600;
}

#textofinal p {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.6;
}

#textofinal button {
  padding: 16px 35px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8966e 100%);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(201, 171, 129, 0.3);
  border: 2px solid transparent;
}

#textofinal button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(201, 171, 129, 0.4);
  border-color: white;
}

/* WhatsApp flotante con más presencia */
.ao {
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 999;
  transition: var(--transition);
}

.wh {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(201, 171, 129, 0.3);
  transition: var(--transition);
  background: white;
  padding: 3px;
  border: 3px solid var(--accent-color);
}

.wh:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(201, 171, 129, 0.4);
  border-color: var(--primary-color);
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(201, 171, 129, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(201, 171, 129, 0.4);
  }
}

.pulse-animation {
  animation: softPulse 2.5s ease-in-out infinite;
}

/* Responsive Design ajustado */
@media screen and (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 25px;
  }

  .details {
    padding: 40px 35px;
  }

  .images {
    max-width: 550px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 25px 20px;
    gap: 30px;
  }

  .details {
    padding: 35px 25px;
  }

  h1 {
    font-size: 30px;
  }

  h1::after {
    width: 60px;
  }

  .price {
    font-size: 30px;
    padding: 12px 18px;
  }

  .shipping-badge {
    font-size: 13px;
    padding: 8px 16px;
  }

  .options {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .options button {
    padding: 12px 14px;
    font-size: 13px;
  }

  .thumbs {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
  }

  .whatsapp-button {
    font-size: 17px;
    padding: 18px 24px;
  }

  .confirmation-content {
    padding: 40px 30px;
  }

  .ao {
    bottom: 25px;
    right: 25px;
  }

  .wh {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 480px) {
  header {
    padding: 14px 16px;
    font-size: 13px;
  }

  header i {
    font-size: 16px;
  }

  .container {
    padding: 20px 15px;
  }

  .details {
    padding: 30px 20px;
  }

  h1 {
    font-size: 26px;
  }

  .price {
    font-size: 26px;
    gap: 12px;
    padding: 10px 15px;
  }

  .shipping-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .options button {
    padding: 10px;
    font-size: 12px;
  }

  .input-group-text {
    min-width: 48px;
    padding: 12px;
  }

  .form-control {
    padding: 14px;
    font-size: 14px;
  }

  .whatsapp-button {
    font-size: 16px;
    padding: 16px 20px;
  }

  .whatsapp-button i {
    font-size: 20px;
  }

  .benefits-section h3 {
    font-size: 18px;
  }

  .benefits li {
    padding: 12px 14px;
    font-size: 14px;
  }

  #textofinal h2 {
    font-size: 24px;
  }

  #textofinal p {
    font-size: 15px;
  }

  .confirmation-content {
    padding: 35px 25px;
  }

  .success-icon {
    font-size: 60px;
  }

  .ao {
    bottom: 20px;
    right: 20px;
  }

  .wh {
    width: 55px;
    height: 55px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible más notorio */
*:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Selección de texto */
::selection {
  background: var(--accent-color);
  color: white;
}