/*
 Theme Name:   Hello Elementor Child
 Description:  Tema hijo de Hello Elementor para Gina
 Author:       Antigravity
 Template:     hello-elementor
 Version:      1.0.1
 Text Domain:  hello-elementor-child
*/

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e8e8e8;
  --gray-text: #888888;
  --gray-dark: #444444;
  --accent: #ca6eef;
  --accent-hover: #b55de0;
  --accent-light: #f5e9fc;
  --green: #2a7d4f;
  --green-light: #edf7f2;
  --gold: #b8912a;
  --gold-light: #fdf8ee;
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

/* ── ESTILOS GLOBALES DE LA PLANTILLA DE PRODUCTO ── */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 100%;
  padding: 14px 40px;
  font-size: 12px;
  color: var(--gray-text);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--gray-text); text-decoration: none; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { margin: 0 6px; }

.product-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── GALERIA ── */
.gallery { position: sticky; top: 80px; }

.main-img-wrap {
  position: relative;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
}

.main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.main-img-wrap:hover img { transform: scale(1.03); }

.badge-cuero {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 2px;
  z-index: 2;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--gray-light);
}

.thumb.active { border-color: var(--black); }

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.thumb:hover img { opacity: 0.85; }

/* ── PRODUCT INFO ── */
.product-info { padding-top: 8px; }

.tag-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.stars { color: #e0a020; font-size: 14px; letter-spacing: 2px; }
.rating-text { font-size: 13px; color: var(--gray-text); }

.product-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.product-subtitle {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 300;
  margin-bottom: 16px;
  font-style: italic;
}

/* ── PRICE BLOCK ── */
.price-block {
  background: var(--gold-light);
  border: 1px solid #e8d5a0;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.price-main {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.price-transfer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-transfer-label { font-size: 12px; color: var(--gray-dark); }

.price-transfer-amt {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.saving-pill {
  background: #e8f5e0;
  color: #2a6b1a;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ── URGENCY ── */
.urgency-strip {
  background: #fff8f0;
  border: 1px solid #f0d59a;
  border-radius: 5px;
  padding: 10px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7a4e10;
}

.live-dot {
  width: 8px; height: 8px;
  background: #e06f20;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livepulse 1.6s infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ── CTA BUTTONS ── */
.cta-primary {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 16px !important;
  margin: 0 0 12px 0 !important;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.cta-primary:hover { background: var(--accent-hover); }
.cta-primary:active { transform: scale(0.99); }

.cta-wp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--white);
  border: 1.5px solid #25D366;
  color: #1a7a40;
  padding: 13px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 24px;
  transition: background 0.2s;
  text-decoration: none;
}

.cta-wp:hover { background: #f0fdf6; }

/* ── TRUST BADGES ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.trust-item {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
}

.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 20px; display: block; margin-bottom: 5px; }
.trust-label { font-size: 11px; color: var(--gray-dark); line-height: 1.3; }

/* ── ACCORDION ── */
.accordion { border-top: 1px solid var(--gray-mid); }
.acc-item { border-bottom: 1px solid var(--gray-mid); }

.acc-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.acc-header span:first-child {
  flex: 1;
  text-align: left;
  word-wrap: break-word;
  white-space: normal;
}

.acc-header:hover { 
  color: var(--accent) !important; 
  background: transparent !important;
}

.acc-arrow {
  font-size: 18px;
  line-height: 1;
  color: var(--gray-text);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.acc-arrow.open { transform: rotate(45deg); }

.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13.5px;
  color: var(--gray-dark);
  line-height: 1.65;
}

.acc-body.open {
  max-height: none; 
  padding-bottom: 16px;
}

.pay-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
.pay-tag {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  color: var(--gray-dark);
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

/* Características bullets styling from WP editor */
.acc-body ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.acc-body li {
  margin-bottom: 6px;
}

/* ── REVIEWS SECTION ── */
.reviews-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 24px;
  border-top: 1px solid var(--gray-mid);
}

.section-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub { font-size: 13px; color: var(--gray-text); margin-bottom: 32px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 22px;
  background: var(--white);
}

.review-stars { color: #e0a020; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--gray-dark); line-height: 1.6; font-style: italic; margin-bottom: 16px; }

.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--gray-light); }
.review-name { font-size: 13px; font-weight: 600; color: var(--black); display: block; }
.review-location { font-size: 11px; color: var(--gray-text); }

/* ── FAQ ── */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ── REPEAT CTA ── */
.repeat-cta {
  background: var(--black);
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  z-index: 99;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.repeat-cta-text {
  text-align: left;
}

.repeat-cta h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.repeat-cta p { font-size: 12px; color: #aaa; margin-bottom: 0; }

.repeat-cta .cart {
  margin: 0;
}

.repeat-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.repeat-cta-btn:hover { background: var(--accent-hover); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .product-section { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .product-section { padding: 0 24px 60px; }
  .breadcrumb { padding: 14px 24px; }
  .product-title { font-size: 30px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--gray-mid); }
  
  .repeat-cta {
    padding: 15px 24px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .repeat-cta-text {
    text-align: center;
  }
  .repeat-cta-btn {
    width: 100%;
  }
}

/* WooCommerce Add to Cart Form Reset */
.product-section form.cart {
  margin-bottom: 0;
}
.product-section .quantity {
  display: none !important; 
}
