/*
Theme Name: Bulk Buddy
Theme URI: https://bulkbuddycanada.co
Author: Bulk Buddy
Author URI: https://bulkbuddycanada.co
Description: WooCommerce theme for Bulk Buddy, a Canadian online weed dispensary. AJAX cart drawer, custom cart & checkout, Bitcoin and Interac e-Transfer payments, tiered Canadian shipping, SEO engine with province/city seeding, sitemap generation and a resumable product importer.
Version: 14.6.0
Requires at least: 6.2
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: bulkbuddy
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, translation-ready
WC requires at least: 7.0
WC tested up to: 9.5
*/

/* ==========================================================================
   Bulk Buddy design tokens + base reset (v13, rebuilt from scratch)
   Component styles live in assets/css/bulkbuddy.css
   ========================================================================== */

:root {
  /* Brand */
  --bb-green: #5eb85e;
  --bb-green-dark: #3f9142;
  --bb-green-light: #e7f6e6;
  --bb-lime: #9ccc65;
  --bb-plum: #35254f;
  --bb-plum-soft: #f3f1f8;
  --bb-amber: #f2a33c;

  /* Neutrals */
  --bb-ink: #16181c;
  --bb-ink-2: #4b5158;
  --bb-ink-3: #7b828b;
  --bb-line: #e4e7e3;
  --bb-line-strong: #cfd5cd;
  --bb-surface: #ffffff;
  --bb-surface-2: #f7f9f6;
  --bb-surface-3: #eef2ec;

  /* Semantic */
  --bb-sale: #d64545;
  --bb-ok: #2f7d33;
  --bb-warn: #b26a00;
  --bb-warn-bg: #fff5e0;

  /* Shape + motion */
  --bb-r-sm: 8px;
  --bb-r: 14px;
  --bb-r-lg: 20px;
  --bb-r-pill: 999px;
  --bb-shadow: 0 1px 2px rgba(20, 30, 20, .05), 0 8px 24px rgba(20, 30, 20, .06);
  --bb-shadow-lg: 0 18px 44px rgba(20, 30, 20, .14);
  --bb-ease: 180ms cubic-bezier(.2, .7, .3, 1);

  /* Layout */
  --bb-max: 1400px;
  --bb-gutter: 20px;
  --bb-header-h: 76px;

  /* Type */
  --bb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bb-font-head: 'Poppins', 'Inter', system-ui, sans-serif;

  /* Legacy aliases kept so backend-rendered markup keeps its colours */
  --sbc-primary: var(--bb-green);
  --sbc-green: var(--bb-green);
  --sbc-forest: var(--bb-plum);
  --sbc-ink: var(--bb-ink);
  --sbc-ink-soft: var(--bb-ink-2);
  --sbc-success: var(--bb-ok);
  --sbc-line: var(--bb-line);
  --sbc-surface: var(--bb-surface);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bb-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--bb-ink);
  background: var(--bb-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bb-font-head);
  color: var(--bb-plum);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }

a { color: var(--bb-green-dark); text-decoration: none; transition: color var(--bb-ease); }
a:hover { color: var(--bb-green); }

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

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--bb-line); margin: 2rem 0; }

table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); white-space: nowrap;
}
