.single-content .container p {
    margin-bottom: 20px;
    
}

/* CONTENEDOR */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* LABELS */
  .contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
  }
  
  /* INPUTS Y TEXTAREA */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s ease;
  }
  
  /* TEXTAREA */
  .contact-form textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* FOCUS */
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #0073aa; /* color WP */
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
  }
  
  /* BOTÓN */
  .contact-form input[type="submit"] {
    background-color: #eab611;
    color: #000;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  /* HOVER BOTÓN */
  .contact-form input[type="submit"]:hover {
    background-color: #005f8d;
  }
  
  /* MENSAJES CF7 */
  .wpcf7-response-output {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
  }
  

  /* ===== PRODUCT SINGLE ===== */

.product-single {
  padding: 4rem 1rem;
  background: #f5f6f8;
  margin-top: 30px;
}

.product-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Imagen */
.product-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  background: #fff;
}

/* Info */
.product-info {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

/* Features */
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.product-features li {
  padding: .4rem 0;
  font-size: 1rem;
  color: #475569;
}

/* Descripción */
.product-description {
  margin-bottom: 2.5rem;
  color: #334155;
  line-height: 1.7;
}

/* Precio */
.product-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #01132a;
  margin-bottom: 2rem;
}

/* Botón */
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: #01132a;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all .25s ease;
  width: fit-content;
}

.btn-buy:hover {
  background: #eab611;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #01132a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-layout {
      grid-template-columns: 1fr;
  }

  .product-title {
      font-size: 2.2rem;
  }

  .product-price {
      font-size: 2rem;
  }
}


/* ===== RELATED PRODUCTS ===== */

.related-products {
  padding: 4rem 0;
  margin: 0 5% 5% 5%;
}

.related-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

/* Carrusel */
.related-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 24px;

  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

/* Scroll bonito */
.related-carousel::-webkit-scrollbar {
  height: 8px;
}

.related-carousel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

/* Card */
.related-card {
  background: #fff;
  border-radius: 16px;
  scroll-snap-align: start;
  transition: transform .25s ease;
}

.related-card:hover {
  transform: translateY(-6px);
}

/* Link */
.related-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px;
}

/* Imagen */
.related-image img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

/* Nombre */
.related-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0 6px;
  color: #0f172a;
}

/* Precio */
.related-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0039a6;
}


@media (max-width: 768px) {
  .related-carousel {
    grid-auto-columns: 80%;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Imagen principal */
.gallery-main {
  width: 100%;
}

/* Miniaturas */
.gallery-thumbs {
  display: flex;
  gap: 10px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  opacity: .75;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: #0ea5e9;
  opacity: 1;
}

.zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  background: #fff;
}

.zoom-container img {
  width: 100%;
  display: block;
  transition: transform 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

/* Mobile: sin zoom */
@media (max-width: 768px) {
  .zoom-container {
    cursor: default;
  }

  .zoom-container img {
    transform: none !important;
  }
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.product-thumb-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
}

.product-thumb-img:hover {
  border-color: #f2bd1d;
}
