/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: SadaPure clean WooCommerce child theme for GeneratePress. Original-safe homepage/header + scoped WooCommerce styling.
 Author: SadaPure / Ozair Webs
 Author URI: https://sadapure.com
 Template: generatepress
 Version: 4.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: generatepress, child-theme, woocommerce
 Text Domain: gp-child
*/

/* ============================================================
   SadaPure global tokens only. No heavy homepage/header styling here.
   ============================================================ */
:root{
  --sp-deep:#063522;
  --sp-mid:#557d57;
  --sp-gold:#ae9858;
  --sp-gold-dark:#8b7946;
  --sp-beige:#d4ceac;
  --sp-bg:#fdfdf9;
  --sp-radius:16px;
  --sp-shadow:0 10px 24px rgba(6,53,34,.12);
  --sp-shadow-soft:0 12px 32px rgba(6,53,34,.08);
  --sp-border:#e5e7eb;
  --wbw-green:#16a34a;
  --wbw-green-d:#15803d;
  --wbw-green-lt:#dcfce7;
}

/* Original desktop container tweak retained. */
@media (min-width:1024px){
  .grid-container{max-width:1200px;}
}

/* Original accent variable retained. */
:root{--gp-accent-color:#0ea5e9;}

/* Very important from old Customizer CSS: prevent pages/home from showing a featured image block as white space. */
.page .featured-image,
.home .featured-image,
.home.page .inside-article > .entry-header{
  display:none!important;
}

/* Homepage top-gap guard: only removes empty top wrappers, does not style header/nav/hero. */
.home.page .site-content,
.home.page .inside-article,
.home.page .entry-content{
  margin-top:0!important;
  padding-top:0!important;
}
.home.page .entry-content > :first-child{
  margin-top:0!important;
}

/* Accessibility focus ring. */
:where(a,button,[role="button"],input,select,textarea):focus-visible{
  outline:3px solid rgba(85,125,87,.35);
  outline-offset:2px;
}

/* Common utilities used by site content/footer. */
.column-border{border:1px solid #ccc;padding:15px;border-radius:8px;}
.hide-featured-image .featured-image{display:none!important;}

/* Floating widgets should not cover sticky ATC on product pages. */
body.sp-sticky-atc-active #gt_float_wrapper{bottom:170px!important;}
body.sp-sticky-atc-active .generate-back-to-top,
body.sp-sticky-atc-active .generate-back-to-top__show{margin-bottom:80px;}
