/*
Theme Name: Chachu Store
Theme URI: https://chachu.store
Author: Chachu Store
Author URI: https://chachu.store
Description: A fast, SEO-friendly affiliate marketing WordPress theme for Chachu.store — built for deals, reviews, and product recommendations. Drag-and-drop ready with Elementor & Gutenberg support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chachu-store
Tags: blog, e-commerce, affiliate, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, translation-ready, block-styles, wide-blocks
*/

/* =========================================
   CSS VARIABLES — CHACHU BRAND PALETTE
   ========================================= */
:root {
  --chachu-gold:       #F5A800;
  --chachu-gold-light: #FFD45E;
  --chachu-gold-dark:  #C98800;
  --chachu-navy:       #1A2744;
  --chachu-navy-light: #233360;
  --chachu-orange:     #E87600;
  --chachu-blue:       #0080C8;
  --chachu-blue-light: #29A9E1;
  --chachu-white:      #FFFFFF;
  --chachu-off-white:  #FFF8EC;
  --chachu-gray-light: #F4F6F9;
  --chachu-gray:       #8892A4;
  --chachu-gray-dark:  #4A5568;
  --chachu-text:       #1A1A2E;
  --chachu-border:     #E8EDF5;

  --font-display:  'Nunito', 'Poppins', sans-serif;
  --font-body:     'Nunito', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  30px;

  --shadow-sm:  0 2px 8px rgba(26,39,68,0.08);
  --shadow-md:  0 6px 24px rgba(26,39,68,0.12);
  --shadow-lg:  0 16px 48px rgba(26,39,68,0.16);
  --shadow-gold: 0 4px 20px rgba(245,168,0,0.35);

  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --container:  1220px;
}

/* =========================================
   HERO LOGO FLOAT ANIMATION
   ========================================= */
@keyframes hero-float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%      { transform: translateY(-14px) rotate(1deg); }
  66%      { transform: translateY(-6px) rotate(-0.5deg); }
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--chachu-text);
  background: var(--chachu-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--chachu-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--chachu-gold-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--chachu-navy);
  line-height: 1.25;
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* =========================================
   LAYOUT HELPERS
   ========================================= */
.chachu-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.chachu-section {
  padding: 70px 0;
}

.chachu-section--gray { background: var(--chachu-gray-light); }
.chachu-section--navy { background: var(--chachu-navy); color: #fff; }
.chachu-section--gold { background: linear-gradient(135deg, var(--chachu-gold) 0%, var(--chachu-orange) 100%); color: #fff; }

.chachu-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.chachu-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.chachu-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =========================================
   TOP BAR
   ========================================= */
.chachu-topbar {
  background: var(--chachu-navy);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
}
.chachu-topbar .chachu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.chachu-topbar a { color: var(--chachu-gold); }
.chachu-topbar a:hover { color: var(--chachu-gold-light); }
.topbar-deal-badge {
  background: var(--chachu-gold);
  color: var(--chachu-navy);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,168,0,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(245,168,0,0); }
}

/* =========================================
   HEADER
   ========================================= */
.chachu-header {
  background: var(--chachu-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.chachu-header.scrolled {
  box-shadow: var(--shadow-md);
}
.chachu-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.chachu-logo img  { height: 54px; width: auto; }
.chachu-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--chachu-navy);
}
.chachu-logo-text span { color: var(--chachu-gold); }

/* =========================================
   NAVIGATION
   ========================================= */
.chachu-nav { display: flex; align-items: center; gap: 4px; }
.chachu-nav a {
  color: var(--chachu-navy);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.chachu-nav a:hover,
.chachu-nav a.current-menu-item { 
  color: var(--chachu-gold-dark); 
  background: var(--chachu-off-white);
}
.chachu-nav .nav-cta {
  background: var(--chachu-gold);
  color: var(--chachu-navy) !important;
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
  margin-left: 8px;
}
.chachu-nav .nav-cta:hover {
  background: var(--chachu-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245,168,0,0.45);
}

/* Mobile menu toggle */
.chachu-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--chachu-border);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.chachu-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--chachu-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   HERO BANNER
   ========================================= */
.chachu-hero {
  background: linear-gradient(135deg, var(--chachu-navy) 0%, var(--chachu-navy-light) 50%, #1E3A6E 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.chachu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(245,168,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0,128,200,0.12) 0%, transparent 50%);
}
.chachu-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.chachu-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,168,0,0.15);
  border: 1px solid rgba(245,168,0,0.4);
  color: var(--chachu-gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.chachu-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
  line-height: 1.15;
}
.chachu-hero h1 em {
  font-style: normal;
  color: var(--chachu-gold);
}
.chachu-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.chachu-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--chachu-gold);
  display: block;
  font-family: var(--font-display);
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

/* =========================================
   BUTTONS
   ========================================= */
.chachu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-display);
}
.chachu-btn-primary {
  background: var(--chachu-gold);
  color: var(--chachu-navy);
  box-shadow: var(--shadow-gold);
}
.chachu-btn-primary:hover {
  background: var(--chachu-gold-dark);
  color: var(--chachu-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,168,0,0.5);
}
.chachu-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.chachu-btn-outline:hover {
  border-color: var(--chachu-gold);
  color: var(--chachu-gold);
  background: rgba(245,168,0,0.08);
}
.chachu-btn-navy {
  background: var(--chachu-navy);
  color: #fff;
}
.chachu-btn-navy:hover {
  background: var(--chachu-navy-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================
   SECTION HEADINGS
   ========================================= */
.chachu-section-head {
  text-align: center;
  margin-bottom: 50px;
}
.chachu-section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--chachu-gold-dark);
  background: rgba(245,168,0,0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(245,168,0,0.25);
}
.chachu-section-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 14px;
}
.chachu-section-head p {
  color: var(--chachu-gray-dark);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

/* =========================================
   CATEGORY CARDS
   ========================================= */
.chachu-cat-card {
  background: var(--chachu-white);
  border: 2px solid var(--chachu-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.chachu-cat-card:hover {
  border-color: var(--chachu-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.cat-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}
.chachu-cat-card h3 {
  font-size: 16px;
  color: var(--chachu-navy);
  margin-bottom: 6px;
}
.chachu-cat-card p {
  font-size: 13px;
  color: var(--chachu-gray);
  margin: 0;
}

/* =========================================
   PRODUCT / DEAL CARDS
   ========================================= */
.chachu-product-card {
  background: var(--chachu-white);
  border: 1px solid var(--chachu-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.chachu-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--chachu-gold);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--chachu-gray-light);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.chachu-product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--chachu-gold);
  color: var(--chachu-navy);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.product-badge.hot { background: #FF4757; color: #fff; }
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--chachu-gold-dark);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.product-card-body h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.product-card-body h3 a { color: var(--chachu-navy); }
.product-card-body h3 a:hover { color: var(--chachu-gold-dark); }
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.stars { color: var(--chachu-gold); font-size: 14px; }
.rating-count { font-size: 12px; color: var(--chachu-gray); }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: auto;
}
.product-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--chachu-navy);
  font-family: var(--font-display);
}
.product-old-price {
  font-size: 14px;
  color: var(--chachu-gray);
  text-decoration: line-through;
}
.product-discount {
  background: #FF4757;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.product-card-footer {
  padding: 0 20px 20px;
}
.product-card-footer .chachu-btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 11px 20px;
}

/* =========================================
   AFFILIATE DISCLAIMER BANNER
   ========================================= */
.chachu-affiliate-note {
  background: linear-gradient(135deg, var(--chachu-off-white) 0%, #FFF3D0 100%);
  border-left: 4px solid var(--chachu-gold);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--chachu-gray-dark);
}
.chachu-affiliate-note strong { color: var(--chachu-navy); }

/* =========================================
   HOW IT WORKS
   ========================================= */
.chachu-step {
  text-align: center;
  padding: 30px 20px;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--chachu-gold);
  color: var(--chachu-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-gold);
  font-family: var(--font-display);
}
.chachu-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.chachu-step p {
  color: var(--chachu-gray-dark);
  font-size: 14px;
  margin: 0;
}

/* =========================================
   BLOG / POST CARDS
   ========================================= */
.chachu-post-card {
  background: var(--chachu-white);
  border: 1px solid var(--chachu-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.chachu-post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--chachu-gold);
}
.post-thumb {
  height: 180px;
  overflow: hidden;
  background: var(--chachu-gray-light);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.chachu-post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 20px; }
.post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--chachu-gray);
  margin-bottom: 10px;
  align-items: center;
}
.post-cat-tag {
  background: rgba(245,168,0,0.1);
  color: var(--chachu-gold-dark);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
}
.post-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.post-body h3 a { color: var(--chachu-navy); }
.post-body h3 a:hover { color: var(--chachu-gold-dark); }
.post-body p { font-size: 14px; color: var(--chachu-gray-dark); margin: 0; }
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--chachu-border);
  font-size: 13px;
}
.read-more-link { color: var(--chachu-gold-dark); font-weight: 700; }
.read-more-link:hover { color: var(--chachu-navy); }

/* =========================================
   NEWSLETTER / CTA SECTION
   ========================================= */
.chachu-newsletter {
  background: linear-gradient(135deg, var(--chachu-navy) 0%, var(--chachu-navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.chachu-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(245,168,0,0.2), transparent 60%);
}
.chachu-newsletter h2 { color: #fff; margin-bottom: 12px; position: relative; }
.chachu-newsletter p { color: rgba(255,255,255,0.7); margin-bottom: 30px; position: relative; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--chachu-gold); }

/* =========================================
   SIDEBAR
   ========================================= */
.chachu-layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.chachu-sidebar-widget {
  background: var(--chachu-white);
  border: 1px solid var(--chachu-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--chachu-navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--chachu-gold);
  font-family: var(--font-display);
}
.chachu-sidebar-widget ul { padding: 0; list-style: none; }
.chachu-sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--chachu-border);
  font-size: 14px;
}
.chachu-sidebar-widget ul li:last-child { border-bottom: none; }
.chachu-sidebar-widget ul li a { color: var(--chachu-gray-dark); font-weight: 600; }
.chachu-sidebar-widget ul li a:hover { color: var(--chachu-gold-dark); }

/* =========================================
   BREADCRUMBS
   ========================================= */
.chachu-breadcrumb {
  background: var(--chachu-gray-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--chachu-border);
}
.chachu-breadcrumb .chachu-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--chachu-gray);
}
.chachu-breadcrumb a { color: var(--chachu-gray-dark); font-weight: 600; }
.chachu-breadcrumb a:hover { color: var(--chachu-gold-dark); }
.chachu-breadcrumb span { color: var(--chachu-gray); }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.chachu-page-hero {
  background: linear-gradient(135deg, var(--chachu-navy) 0%, var(--chachu-navy-light) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.chachu-page-hero h1 { color: #fff; font-size: clamp(26px, 3.5vw, 42px); margin-bottom: 12px; }
.chachu-page-hero p { color: rgba(255,255,255,0.7); font-size: 17px; margin: 0; }

/* =========================================
   CONTENT PAGE STYLES
   ========================================= */
.chachu-content-body {
  max-width: 860px;
  margin: 0 auto;
}
.chachu-content-body h2 {
  font-size: 24px;
  margin: 40px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--chachu-gold);
  color: var(--chachu-navy);
}
.chachu-content-body h3 { font-size: 19px; margin: 28px 0 10px; color: var(--chachu-navy-light); }
.chachu-content-body p { color: var(--chachu-gray-dark); line-height: 1.8; }
.chachu-content-body ul, .chachu-content-body ol { color: var(--chachu-gray-dark); line-height: 1.8; margin-bottom: 1rem; }
.chachu-content-body a { color: var(--chachu-blue); font-weight: 600; }
.chachu-content-body a:hover { color: var(--chachu-gold-dark); }

/* =========================================
   TRUST BADGES
   ========================================= */
.chachu-trust-bar {
  background: var(--chachu-off-white);
  border-top: 1px solid var(--chachu-border);
  border-bottom: 1px solid var(--chachu-border);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--chachu-navy);
}
.trust-icon { font-size: 22px; }

/* =========================================
   FOOTER
   ========================================= */
.chachu-footer {
  background: var(--chachu-navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.chachu-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.75;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.6);
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--chachu-gold);
  border-color: var(--chachu-gold);
  color: var(--chachu-navy);
}
.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chachu-gold);
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--chachu-gold); padding-left: 4px; }

.chachu-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-inner a { color: rgba(255,255,255,0.6); }
.footer-bottom-inner a:hover { color: var(--chachu-gold); }
.footer-affiliate-disclaimer {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  border-left: 3px solid var(--chachu-gold);
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: var(--chachu-gold);
  color: var(--chachu-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  border: none;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--chachu-gold-dark); color: #fff; }

/* =========================================
   SEARCH FORM
   ========================================= */
.chachu-search-form {
  display: flex;
  align-items: center;
  background: var(--chachu-gray-light);
  border: 2px solid var(--chachu-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.chachu-search-form:focus-within {
  border-color: var(--chachu-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,168,0,0.1);
}
.chachu-search-form input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
  color: var(--chachu-text);
}
.chachu-search-form button {
  padding: 12px 20px;
  background: var(--chachu-gold);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--chachu-navy);
  font-weight: 700;
  transition: var(--transition);
}
.chachu-search-form button:hover { background: var(--chachu-gold-dark); }

/* =========================================
   COMPARISON TABLE
   ========================================= */
.chachu-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 24px;
}
.chachu-compare-table th {
  background: var(--chachu-navy);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-family: var(--font-display);
}
.chachu-compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--chachu-border);
  color: var(--chachu-gray-dark);
}
.chachu-compare-table tr:nth-child(even) td { background: var(--chachu-gray-light); }
.chachu-compare-table tr:hover td { background: var(--chachu-off-white); }
.chachu-compare-table .check { color: #22C55E; font-size: 18px; }
.chachu-compare-table .cross { color: #EF4444; font-size: 18px; }

/* =========================================
   STAR RATING (static)
   ========================================= */
.star-rating-display { color: var(--chachu-gold); letter-spacing: 2px; }

/* =========================================
   SINGLE POST
   ========================================= */
.chachu-post-header { margin-bottom: 32px; }
.chachu-post-header h1 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 16px; }
.chachu-post-meta-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--chachu-gray);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--chachu-border);
  margin-bottom: 28px;
}
.post-meta-item { display: flex; align-items: center; gap: 6px; }
.chachu-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.chachu-featured-image img { width: 100%; max-height: 450px; object-fit: cover; }

/* =========================================
   PAGINATION
   ========================================= */
.chachu-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.chachu-pagination a, .chachu-pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--chachu-border);
  color: var(--chachu-navy);
  transition: var(--transition);
}
.chachu-pagination a:hover,
.chachu-pagination .current {
  background: var(--chachu-gold);
  border-color: var(--chachu-gold);
  color: var(--chachu-navy);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .chachu-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .chachu-footer-grid { grid-template-columns: 1fr 1fr; }
  .chachu-layout-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .chachu-hero-inner  { grid-template-columns: 1fr; gap: 30px; }
  .chachu-grid-2, .chachu-grid-3 { grid-template-columns: 1fr; }
  .chachu-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .chachu-footer-grid { grid-template-columns: 1fr; }
  .chachu-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow-md); border-top: 2px solid var(--chachu-gold); }
  .chachu-nav.open { display: flex; }
  .chachu-menu-toggle { display: flex; }
  .newsletter-form { flex-direction: column; }
  .chachu-newsletter { padding: 40px 24px; }
  .trust-items { gap: 20px; }
  .chachu-hero { padding: 50px 0 60px; }
  .chachu-section { padding: 50px 0; }
  .chachu-hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .chachu-grid-4 { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* =========================================
   ELEMENTOR COMPATIBILITY
   ========================================= */
.elementor-section { width: 100%; }
.elementor-widget-wrap { padding: 0 !important; }

/* =========================================
   GUTENBERG / BLOCK EDITOR
   ========================================= */
.wp-block-image img { border-radius: var(--radius-md); }
.wp-block-quote {
  border-left: 4px solid var(--chachu-gold);
  background: var(--chachu-off-white);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}
.wp-block-button__link {
  background: var(--chachu-gold) !important;
  color: var(--chachu-navy) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 800 !important;
}
.has-chachu-gold-color { color: var(--chachu-gold) !important; }
.has-chachu-navy-color { color: var(--chachu-navy) !important; }

/* =========================================
   WOOCOMMERCE BASICS
   ========================================= */
.woocommerce .price { color: var(--chachu-navy) !important; font-weight: 900 !important; }
.woocommerce .button, .woocommerce button.button {
  background: var(--chachu-gold) !important;
  color: var(--chachu-navy) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 800 !important;
  font-family: var(--font-display) !important;
}
.woocommerce .button:hover { background: var(--chachu-gold-dark) !important; }

/* =========================================
   PRINT
   ========================================= */
@media print {
  .chachu-header, .chachu-footer, .chachu-topbar, .back-to-top { display: none; }
}
