/*
Theme Name: Heaven Cue Pet Store
Theme URI: https://heavencueco.com
Author: Heaven Cue Co
Author URI: https://heavencueco.com
Description: WooCommerce-ready pet store theme with purple header, product grids, and modern e-commerce layout.
Version: 1.0.0
Tested up to: 6.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heavencue-petstore
Tags: e-commerce, woocommerce, shop, pet-store, purple
*/

/* ============================================
   CSS VARIABLES - Ochaka-Inspired Colors
   ============================================ */
:root {
  --primary-purple: #5B4FB5;
  --primary-yellow: #FFB800;
  --text-dark: #2D2D2D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --border-light: #E8E8E8;
}

/* ============================================
   GLOBAL RESET & TYPOGRAPHY
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   HEADER - TWO-TIER LAYOUT
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Top bar - Logo only */
.header-logo-bar {
  background: var(--white);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.site-logo img {
  max-width: 150px;
  margin: 0 auto;
}

/* Menu bar - Purple */
.header-menu-bar {
  background: var(--primary-purple);
  padding: 0;
}

.header-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.main-navigation a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 20px 0;
  display: block;
}

.main-navigation a:hover {
  color: var(--primary-yellow);
}

/* Header Right - Search & Icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-form input {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  color: var(--white);
  min-width: 250px;
}

.search-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

.header-icon {
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.header-icon:hover {
  color: var(--primary-yellow);
}

/* ============================================
   HERO BANNER - YELLOW WITH IMAGE
   ============================================ */
.hero-banner {
  background: var(--primary-yellow);
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

/* ============================================
   SHOP SIDEBAR - CATEGORY LIST
   ============================================ */
.shop-layout {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.shop-sidebar {
  background: var(--primary-purple);
  border-radius: 12px;
  padding: 0;
  height: fit-content;
}

.sidebar-title {
  background: rgba(0,0,0,0.1);
  color: var(--white);
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-list {
  list-style: none;
}

.category-list li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-list a {
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.category-list a:hover {
  background: rgba(0,0,0,0.1);
  padding-left: 25px;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FF4444;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 15px;
}

.add-to-cart-btn {
  width: 100%;
  background: var(--primary-purple);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #4a3f9a;
}

/* ============================================
   PROMO BANNERS
   ============================================ */
.promo-banner {
  background: var(--primary-purple);
  color: var(--white);
  text-align: center;
  padding: 40px;
  margin: 60px 0;
  border-radius: 12px;
}

.promo-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #2D2D2D;
  color: #CCCCCC;
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-menu-container {
    flex-direction: column;
    padding: 15px 20px;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .shop-layout {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
