/*
Theme Name: Astra Child - Besthub Warm Decor
Theme URI: https://besthub.site
Description: Warm & cozy child theme for Astra, built for besthub.site home decor niche. Earthy terracotta, cream, sage, and warm brown palette.
Author: Ahmad Kaleem
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ============================================
   1. COLOR VARIABLES - Warm & Cozy Palette
   ============================================ */
:root {
  --wc-terracotta: #C1653B;
  --wc-terracotta-dark: #A0512E;
  --wc-cream: #FBF4E9;
  --wc-cream-light: #FFFCF7;
  --wc-sage: #8A9B6E;
  --wc-sage-light: #B9C79D;
  --wc-brown: #4A3B2C;
  --wc-brown-light: #7A6650;
  --wc-gold: #C99A4A;
  --wc-text: #3E332A;
}

/* ============================================
   2. GLOBAL BASE
   ============================================ */
body {
  background-color: var(--wc-cream);
  color: var(--wc-text);
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--wc-brown);
  font-weight: 600;
}

a {
  color: var(--wc-terracotta);
}

a:hover {
  color: var(--wc-terracotta-dark);
}

/* ============================================
   3. HEADER / NAVIGATION
   ============================================ */
.ast-primary-header,
.main-header-bar {
  background-color: var(--wc-cream-light) !important;
  border-bottom: 1px solid var(--wc-sage-light);
}

.main-header-menu .menu-item > .menu-link {
  color: var(--wc-brown) !important;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.main-header-menu .menu-item > .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--wc-terracotta) !important;
}

.site-title a {
  color: var(--wc-brown) !important;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   4. BUTTONS / CTA
   ============================================ */
.ast-button,
button,
.button,
input[type="submit"] {
  background: linear-gradient(135deg, var(--wc-terracotta), var(--wc-gold));
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(193, 101, 59, 0.25);
  transition: all 0.25s ease;
}

.ast-button:hover,
button:hover,
.button:hover {
  background: linear-gradient(135deg, var(--wc-terracotta-dark), var(--wc-terracotta));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(193, 101, 59, 0.35);
}

/* ============================================
   5. CARDS / PRODUCT BOXES / POSTS
   ============================================ */
.ast-article-post,
article {
  background-color: var(--wc-cream-light);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(74, 59, 44, 0.08);
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(138, 155, 110, 0.2);
}

.entry-title a {
  color: var(--wc-brown) !important;
}

.entry-title a:hover {
  color: var(--wc-terracotta) !important;
}

/* Generic product/decor card class you can use in post HTML */
.wc-product-card {
  background: var(--wc-cream-light);
  border: 1px solid var(--wc-sage-light);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(74, 59, 44, 0.08);
  transition: transform 0.2s ease;
}

.wc-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(74, 59, 44, 0.15);
}

.wc-product-card img {
  border-radius: 10px;
  margin-bottom: 12px;
}

.wc-product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.wc-badge {
  display: inline-block;
  background: var(--wc-sage);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* ============================================
   6. FOOTER
   ============================================ */
.site-footer,
.ast-small-footer {
  background-color: var(--wc-brown) !important;
  color: var(--wc-cream) !important;
}

.site-footer a,
.ast-small-footer a {
  color: var(--wc-sage-light) !important;
}

/* ============================================
   7. SIDEBAR / WIDGETS
   ============================================ */
.widget {
  background-color: var(--wc-cream-light);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(138, 155, 110, 0.2);
}

.widget-title {
  color: var(--wc-terracotta-dark);
  border-bottom: 2px solid var(--wc-sage-light);
  padding-bottom: 8px;
}

/* ============================================
   8. RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 768px) {
  .ast-button, button, .button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .ast-article-post, article {
    padding: 14px;
  }
}
