/* =========================================================
   HISPASEEDS · PRODUCT.CSS
   =========================================================
   Archivo base para la ficha de producto WooCommerce.
   Contiene solo estilos base/desktop.
   El responsive vive en product-responsive.css
   ========================================================= */


/* =========================================================
   01. VARIABLES LOCALES
   ========================================================= */
:root {
  --hp-bg: #141414;
  --hp-panel: rgba(14, 14, 14, 0.82);

  --hp-text: #f2ede5;
  --hp-text-soft: #d7cfc3;
  --hp-title: #f5ede0;

  --hp-gold: #e6b85c;
  --hp-gold-light: #f2ca76;

  --hp-border: rgba(230, 184, 92, 0.16);
  --hp-border-strong: rgba(230, 184, 92, 0.30);

  --hp-shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --hp-shadow-card: 0 14px 40px rgba(0, 0, 0, 0.30);

  --hp-radius-md: 14px;
  --hp-radius-lg: 20px;

  --hp-container: 1240px;
}


/* =========================================================
   02. RESET VISUAL WOOCOMMERCE
   ========================================================= */
body.single-product,
body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main,
body.single-product .ast-container {
  background:
    linear-gradient(rgba(20, 20, 20, 0.96), rgba(20, 20, 20, 0.98)),
    url('/wp-content/uploads/2026/03/bg-luxury-texture.webp') !important;
  background-repeat: repeat !important;
  background-size: 1200px auto !important;
}

body.single-product .ast-container {
  max-width: var(--hp-container);
}


/* =========================================================
   03. CONTENEDOR GENERAL
   ========================================================= */
.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
}


/* =========================================================
   04. LAYOUT FICHA PRODUCTO
   ========================================================= */
.single-product div.product .summary {
  color: var(--hp-text);
}

.single-product .product_title {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
  color: var(--hp-title);
}

.single-product .woocommerce-product-details__short-description {
  color: var(--hp-text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}


/* =========================================================
   05. GALERÍA / IMAGEN PRINCIPAL
   ========================================================= */
.single-product .woocommerce-product-gallery {
  background: var(--hp-panel);
  padding: 20px;
  border-radius: var(--hp-radius-lg);
  border: 1px solid var(--hp-border);
}

.single-product .woocommerce-product-gallery img {
  border-radius: var(--hp-radius-md);
}


/* =========================================================
   06. PRECIO
   ========================================================= */
.single-product .price {
  font-size: 24px;
  color: var(--hp-gold);
  margin-bottom: 18px;
}


/* =========================================================
   07. BOTÓN COMPRA
   ========================================================= */
.single-product .single_add_to_cart_button {
  background: linear-gradient(
    180deg,
    rgba(230, 184, 92, 0.96) 0%,
    rgba(214, 163, 67, 0.96) 100%
  );
  color: #111;
  border: 0;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 6px;
}

.single-product .single_add_to_cart_button:hover {
  background: linear-gradient(
    180deg,
    rgba(242, 202, 118, 0.96) 0%,
    rgba(230, 184, 92, 0.96) 100%
  );
}


/* =========================================================
   08. META INFORMACIÓN
   ========================================================= */
.single-product .product_meta {
  margin-top: 22px;
  font-size: 14px;
  color: var(--hp-text-soft);
}


/* =========================================================
   09. TABS WOOCOMMERCE
   ========================================================= */
.woocommerce-tabs {
  margin-top: 60px;
}

.woocommerce-tabs ul.tabs li a {
  color: var(--hp-gold);
}

.woocommerce-tabs .panel {
  background: var(--hp-panel);
  border-radius: var(--hp-radius-md);
  border: 1px solid var(--hp-border);
  padding: 28px;
}


/* =========================================================
   10. PRODUCTOS RELACIONADOS
   ========================================================= */
.related.products {
  margin-top: 60px;
}

.related.products h2 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 28px;
  margin-bottom: 30px;
}


/* =========================================================
   11. GRID RELACIONADOS
   ========================================================= */
.related.products ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}