/* ================================
   1. INTRO DE LA TIENDA
   ================================ */

.store-intro {
  text-align: center;
}

.store-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.store-intro p {
  max-width: 640px;
  margin: 0 auto 12px;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.store-note {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem !important;
  color: var(--accent) !important;
  margin-top: 15px !important;
}

/* ================================
   2. FILTROS / CATEGORÍAS
   ================================ */

.store-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 30px;
  padding: 15px 20px;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.store-filters ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.store-filters a {
  display: inline-block;
  padding: 8px 16px;

  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;

  color: var(--text-soft);
  text-decoration: none;

  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 30px;

  transition: all 0.2s ease;
}

.store-filters a:hover {
  color: #ffffff;
  background: #222;
  border-color: var(--accent);
}

/* ================================
   3. CATEGORÍAS DE PRODUCTOS
   ================================ */

.store-category {
  margin-bottom: 50px;
}

.store-category h3 {
  font-family: 'Uncial Antiqua', serif;
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ================================
   4. GRID DE PRODUCTOS
   ================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

/* ================================
   5. TARJETA DE PRODUCTO
   ================================ */

.product-card {
  display: flex;
  flex-direction: column;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;

  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

/* Imagen del producto */
.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #0f0f0f;
  border-bottom: 1px solid var(--border);
  padding: 20px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.product-card:hover .product-image img {
  opacity: 1;
  transform: scale(1.05);
}

/* Info del producto */
.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.product-price {
  font-family: 'Courier Prime', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Botón de compra */
.product-btn {
  display: block;
  width: 100%;

  padding: 10px 16px;

  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;

  color: #0a0a0a;
  background: var(--accent);
  border: none;
  border-radius: 8px;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.product-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.product-btn:active {
  transform: scale(0.98);
}

/* ================================
   6. CTA FINAL
   ================================ */

.store-cta {
  text-align: center;
}

.store-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.store-cta p {
  color: var(--text-soft);
  margin-bottom: 15px;
}

.store-contact {
  display: inline-block;
  padding: 10px 22px;

  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;

  color: #0a0a0a;
  background: var(--accent);
  border-radius: 8px;
  text-decoration: none;

  transition: background 0.2s ease, transform 0.15s ease;
}

.store-contact:hover {
  background: var(--accent-hover);
  color: #0a0a0a;
  transform: translateY(-1px);
}

/* ================================
   7. RESPONSIVE
   ================================ */

@media (max-width: 700px) {
  .store-intro h2 {
    font-size: 1.7rem;
  }

  .store-category h3 {
    font-size: 1.4rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .product-image {
    height: 140px;
  }

  .product-info {
    padding: 14px 14px 16px;
  }

  .product-info h4 {
    font-size: 0.9rem;
  }

  .product-desc {
    font-size: 0.85rem;
  }

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

  .store-filters {
    padding: 12px 15px;
  }

  .store-filters a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ================================
   8. AJUSTES PARA WORDPRESS
   ================================ */

/* El botón del producto ahora es un enlace a la página "próximamente" */
a.product-btn,
a.product-btn:hover {
  color: #0a0a0a;
  text-align: center;
  text-decoration: none;
}

.product-info h4 a,
.product-image a {
  color: inherit;
}

.product-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
