/*
Theme Name:   Tentaxy Child
Theme URI:    https://tentaxy.com
Description:  Tentaxy Child Theme for Blocksy — Minimalist Jewelry & Fashion
Author:       Tentaxy
Template:     blocksy
Version:      1.0.0
Text Domain:  tentaxy-child
*/

/* =============================================
   PALETA DE COLORES TENTAXY
   --tentaxy-dark:       #1a1a2e  (Azul medianoche)
   --tentaxy-gold:       #c9a96e  (Champagne dorado)
   --tentaxy-gold-light: #e8d5b0  (Oro claro)
   --tentaxy-cream:      #faf8f5  (Fondo crema)
   --tentaxy-white:      #ffffff
   --tentaxy-gray:       #7a7a7a  (Texto secundario)
   --tentaxy-border:     #e8e0d5  (Bordes suaves)
============================================= */

:root {
  --tentaxy-dark:       #1a1a2e;
  --tentaxy-gold:       #c9a96e;
  --tentaxy-gold-light: #e8d5b0;
  --tentaxy-cream:      #faf8f5;
  --tentaxy-white:      #ffffff;
  --tentaxy-gray:       #7a7a7a;
  --tentaxy-border:     #e8e0d5;
}

/* =============================================
   TIPOGRAFÍA GLOBAL
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Jost:wght@300;400;500&display=swap');

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #333333;
  background-color: var(--tentaxy-cream);
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--tentaxy-dark);
}

/* =============================================
   LOGO TIPOGRÁFICO TENTAXY
============================================= */
.site-title,
.ct-site-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  font-size: 28px !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  color: var(--tentaxy-dark) !important;
}

.site-title::after,
.ct-site-title::after {
  content: ' ✦';
  font-size: 10px;
  color: var(--tentaxy-gold);
  vertical-align: middle;
}

/* =============================================
   HEADER
============================================= */
.site-header,
#masthead,
[data-id="header"] {
  background-color: var(--tentaxy-white) !important;
  border-bottom: 1px solid var(--tentaxy-border) !important;
  padding: 18px 0 !important;
}

/* Nav links */
.primary-menu a,
.ct-header-cart a,
nav a {
  font-family: 'Jost', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--tentaxy-dark) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.primary-menu a:hover,
nav a:hover {
  color: var(--tentaxy-gold) !important;
}

/* =============================================
   HERO SECTION (página de inicio)
============================================= */
.hero-section,
.wp-block-cover,
.ct-hero {
  background-color: var(--tentaxy-dark) !important;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section h1,
.wp-block-cover h1,
.ct-hero h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(42px, 7vw, 90px) !important;
  font-weight: 300 !important;
  color: var(--tentaxy-white) !important;
  letter-spacing: 0.12em !important;
  line-height: 1.1 !important;
}

.hero-section p,
.wp-block-cover p {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tentaxy-gold-light);
  margin-top: 20px;
}

/* =============================================
   BOTONES
============================================= */
.wp-block-button__link,
.button,
button,
input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  background-color: var(--tentaxy-dark) !important;
  color: var(--tentaxy-white) !important;
  border: 1px solid var(--tentaxy-dark) !important;
  padding: 14px 36px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.wp-block-button__link:hover,
.button:hover,
button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: var(--tentaxy-gold) !important;
  border-color: var(--tentaxy-gold) !important;
  color: var(--tentaxy-white) !important;
}

/* Botón outline (secundario) */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--tentaxy-dark) !important;
  border: 1px solid var(--tentaxy-dark) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--tentaxy-dark) !important;
  color: var(--tentaxy-white) !important;
}

/* =============================================
   WOOCOMMERCE — TIENDA
============================================= */

/* Grid de productos */
.woocommerce ul.products li.product,
ul.products li.product {
  text-align: center;
}

/* Imagen del producto */
.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  transition: transform 0.4s ease, opacity 0.3s ease !important;
}

.woocommerce ul.products li.product a:hover img {
  transform: scale(1.04) !important;
  opacity: 0.92 !important;
}

/* Nombre del producto */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  color: var(--tentaxy-dark) !important;
  margin-top: 14px !important;
}

/* Precio */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em !important;
  color: var(--tentaxy-gray) !important;
}

/* Precio sale */
.woocommerce span.onsale {
  background-color: var(--tentaxy-gold) !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}

/* Página de producto individual */
.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  color: var(--tentaxy-dark) !important;
}

/* Tabs de producto */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--tentaxy-gray) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--tentaxy-dark) !important;
}

/* =============================================
   CARRITO Y CHECKOUT
============================================= */
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* =============================================
   FOOTER
============================================= */
.site-footer,
#colophon,
[data-id="footer"] {
  background-color: var(--tentaxy-dark) !important;
  color: var(--tentaxy-gold-light) !important;
  padding: 60px 0 30px !important;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .widget-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--tentaxy-gold) !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
}

.site-footer p,
.site-footer a,
.site-footer li {
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  color: var(--tentaxy-gold-light) !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  line-height: 2 !important;
}

.site-footer a:hover {
  color: var(--tentaxy-gold) !important;
}

/* Créditos footer */
.site-footer .site-info,
.ct-footer-copyright {
  border-top: 1px solid rgba(201, 169, 110, 0.2) !important;
  padding-top: 20px !important;
  margin-top: 40px !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(232, 213, 176, 0.6) !important;
}

/* =============================================
   SEPARADORES Y DETALLES
============================================= */
hr,
.wp-block-separator {
  border-color: var(--tentaxy-border) !important;
}

/* Línea decorativa dorada */
.tentaxy-divider {
  width: 60px;
  height: 1px;
  background-color: var(--tentaxy-gold);
  margin: 20px auto;
}

/* =============================================
   INPUTS Y FORMULARIOS
============================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 1px solid var(--tentaxy-border) !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  padding: 12px 16px !important;
  background-color: var(--tentaxy-white) !important;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--tentaxy-gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =============================================
   PÁGINA DE INICIO — SECCIONES
============================================= */

/* Sección "Featured Categories" */
.tentaxy-categories {
  padding: 80px 40px;
  background: var(--tentaxy-white);
  text-align: center;
}

.tentaxy-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--tentaxy-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tentaxy-section-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tentaxy-gray);
  margin-bottom: 50px;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .site-title, .ct-site-title {
    font-size: 20px !important;
    letter-spacing: 0.25em !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
  }
}
