/*
Theme Name: Asbell
Theme URI: https://asbell.cl
Description: Tema premium para Asbell — suplementos. Diseño rosa/púrpura con WooCommerce integrado.
Author: asbell
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: asbell
Tags: ecommerce, woocommerce, custom-colors, custom-menu, featured-images, threaded-comments
*/

/* ============================================
   RESET BÁSICO
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #060B0F;
  background: #FAF7FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: #C895B2; text-decoration: none; transition: color 0.15s; }
a:hover { color: #b07fa3; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
  --asb-primary:    #C895B2;
  --asb-primary-dk: #b07fa3;
  --asb-dark:       #060B0F;
  --asb-pink-light: #E899CC;
  --asb-blue:       #639CE5;
  --asb-bg:         #FAF7FA;
  --asb-white:      #ffffff;
  --asb-border:     #EDE0EA;
  --asb-muted:      #6B5A66;
  --asb-radius:     10px;
  --asb-radius-lg:  16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--asb-white);
  border-bottom: 1px solid var(--asb-border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-branding .site-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--asb-primary);
  letter-spacing: -0.5px;
  margin: 0;
}
.site-branding .site-title a {
  color: inherit;
  text-decoration: none;
}

.main-navigation {
  display: flex;
  gap: 28px;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.main-navigation a {
  font-size: 13px;
  color: var(--asb-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--asb-primary);
}

.header-cart {
  background: var(--asb-primary);
  color: var(--asb-white);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.header-cart:hover {
  background: var(--asb-primary-dk);
  color: var(--asb-white);
}
.header-cart i { font-size: 16px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--asb-dark);
  color: var(--asb-white);
  padding: 48px 32px 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--asb-primary);
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}
.footer-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
}
.footer-links a:hover { color: var(--asb-primary); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #1a1a1a;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
}

/* ============================================
   CONTENT GENÉRICO (páginas que no son producto)
   ============================================ */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
    height: 56px;
  }
  .main-navigation { display: none; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer { padding: 32px 16px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .site-main { padding: 20px 16px; }
}
