/*
Theme Name:        BoxCraft USA — Custom Packaging
Theme URI:         https://yoursite.com
Description:       A premium custom packaging & printing child theme for GeneratePress. Built for WooCommerce with full WPBakery Page Builder and Elementor compatibility. Every element is editable via visual builders, Customizer, or direct CSS variables.
Author:            Your Name
Author URI:        https://yoursite.com
Template:          generatepress
Version:           2.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Tags:              e-commerce, woocommerce, packaging, b2b, wpbakery, elementor, custom-background, custom-logo, custom-menu, full-width-template, sticky-post, threaded-comments, translation-ready
Text Domain:       boxcraft
*/

/* ============================================================
   BOXCRAFT DESIGN TOKEN SYSTEM
   All colors, fonts, spacing flow from these custom properties.
   Edit via: Customizer → BoxCraft Settings → Design Tokens
   OR: WPBakery → Custom CSS
   OR: Elementor → Site Settings → Custom CSS
   ============================================================ */

:root {

  /* ── Brand Colors ── */
  --bc-primary:          #1A4FBE;   /* Main brand blue  */
  --bc-primary-dark:     #0d3a96;
  --bc-primary-light:    #2563EB;
  --bc-secondary:        #F4640A;   /* Orange accent     */
  --bc-secondary-dark:   #d95200;
  --bc-secondary-light:  #FF7A20;
  --bc-navy:             #0B1829;   /* Dark navy         */
  --bc-navy-mid:         #152238;
  --bc-success:          #059669;
  --bc-warning:          #f59e0b;
  --bc-danger:           #dc2626;

  /* ── Neutral Palette ── */
  --bc-white:            #FFFFFF;
  --bc-off-white:        #F5F7FA;
  --bc-gray-50:          #F9FAFB;
  --bc-gray-100:         #EEF1F6;
  --bc-gray-200:         #D8DDE8;
  --bc-gray-300:         #B5BFD0;
  --bc-gray-400:         #8A94A6;
  --bc-gray-500:         #64748B;
  --bc-gray-600:         #4B5563;
  --bc-gray-700:         #374151;
  --bc-gray-800:         #1F2937;
  --bc-gray-900:         #111827;

  /* ── Typography ── */
  --bc-font-heading:     'Syne', 'Inter', system-ui, sans-serif;
  --bc-font-body:        'DM Sans', 'Inter', system-ui, sans-serif;
  --bc-font-mono:        'JetBrains Mono', 'Fira Code', monospace;

  /* ── Font Sizes (fluid) ── */
  --bc-text-xs:          11px;
  --bc-text-sm:          13px;
  --bc-text-base:        15px;
  --bc-text-md:          17px;
  --bc-text-lg:          20px;
  --bc-text-xl:          24px;
  --bc-text-2xl:         32px;
  --bc-text-3xl:         40px;
  --bc-text-4xl:         52px;
  --bc-text-5xl:         64px;

  /* ── Heading Size Scale (overrideable per-element) ── */
  --bc-h1-size:          clamp(36px, 4.5vw, 60px);
  --bc-h2-size:          clamp(26px, 3vw, 42px);
  --bc-h3-size:          clamp(20px, 2.2vw, 28px);
  --bc-h4-size:          18px;
  --bc-h5-size:          16px;
  --bc-h6-size:          14px;

  /* ── Font Weights ── */
  --bc-weight-light:     300;
  --bc-weight-regular:   400;
  --bc-weight-medium:    500;
  --bc-weight-semibold:  600;
  --bc-weight-bold:      700;
  --bc-weight-extrabold: 800;

  /* ── Line Heights ── */
  --bc-leading-tight:    1.1;
  --bc-leading-snug:     1.35;
  --bc-leading-normal:   1.65;
  --bc-leading-relaxed:  1.8;

  /* ── Letter Spacing ── */
  --bc-tracking-tight:   -0.02em;
  --bc-tracking-normal:   0;
  --bc-tracking-wide:     0.04em;
  --bc-tracking-wider:    0.08em;
  --bc-tracking-widest:   0.16em;

  /* ── Spacing Scale ── */
  --bc-space-1:          4px;
  --bc-space-2:          8px;
  --bc-space-3:          12px;
  --bc-space-4:          16px;
  --bc-space-5:          20px;
  --bc-space-6:          24px;
  --bc-space-8:          32px;
  --bc-space-10:         40px;
  --bc-space-12:         48px;
  --bc-space-16:         64px;
  --bc-space-20:         80px;
  --bc-space-24:         96px;

  /* ── Section Padding ── */
  --bc-section-py:       80px;
  --bc-section-px:       32px;
  --bc-container-max:    1320px;

  /* ── Border Radius ── */
  --bc-radius-sm:        4px;
  --bc-radius:           6px;
  --bc-radius-md:        10px;
  --bc-radius-lg:        16px;
  --bc-radius-xl:        24px;
  --bc-radius-full:      9999px;

  /* ── Shadows ── */
  --bc-shadow-sm:        0 1px 4px rgba(11,24,41,0.06);
  --bc-shadow:           0 4px 16px rgba(11,24,41,0.08);
  --bc-shadow-md:        0 8px 32px rgba(11,24,41,0.10);
  --bc-shadow-lg:        0 16px 48px rgba(11,24,41,0.14);
  --bc-shadow-xl:        0 24px 72px rgba(11,24,41,0.18);

  /* ── Transitions ── */
  --bc-ease:             cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bc-dur-fast:         0.15s;
  --bc-dur-base:         0.25s;
  --bc-dur-slow:         0.45s;

  /* ── Z-index Scale ── */
  --bc-z-base:           1;
  --bc-z-above:          10;
  --bc-z-nav:            100;
  --bc-z-overlay:        200;
  --bc-z-modal:          300;
  --bc-z-toast:          400;

  /* ── Header ── */
  --bc-header-height:    68px;
  --bc-topbar-height:    38px;
  --bc-header-bg:        rgba(255,255,255,0.95);
  --bc-header-border:    var(--bc-gray-200);

  /* ── Buttons ── */
  --bc-btn-radius:       var(--bc-radius);
  --bc-btn-py:           12px;
  --bc-btn-px:           24px;
  --bc-btn-font-size:    13px;
  --bc-btn-font-weight:  700;
  --bc-btn-letter-spacing: 0.04em;

  /* ── Form Controls ── */
  --bc-input-height:     46px;
  --bc-input-radius:     var(--bc-radius);
  --bc-input-border:     var(--bc-gray-200);
  --bc-input-border-focus: var(--bc-primary);
  --bc-input-bg:         var(--bc-white);
  --bc-input-font-size:  14px;

  /* ── Cards ── */
  --bc-card-radius:      var(--bc-radius-md);
  --bc-card-border:      var(--bc-gray-200);
  --bc-card-shadow:      var(--bc-shadow);
  --bc-card-shadow-hover: var(--bc-shadow-md);
  --bc-card-bg:          var(--bc-white);

  /* ── WooCommerce ── */
  --bc-price-color:      var(--bc-navy);
  --bc-price-font:       var(--bc-font-heading);
  --bc-sale-color:       var(--bc-danger);
  --bc-star-color:       #f59e0b;
  --bc-add-to-cart-bg:   var(--bc-primary);
  --bc-add-to-cart-color: var(--bc-white);
}

/* ============================================================
   ELEMENTOR & WPBAKERY OVERRIDE CLASSES
   These classes let builders override individual tokens
   without touching functions.php or style.css directly.
   ============================================================ */

/* Color palette helpers (usable as Elementor custom classes) */
.bc-bg-primary    { background-color: var(--bc-primary) !important; }
.bc-bg-secondary  { background-color: var(--bc-secondary) !important; }
.bc-bg-navy       { background-color: var(--bc-navy) !important; }
.bc-bg-white      { background-color: var(--bc-white) !important; }
.bc-bg-offwhite   { background-color: var(--bc-off-white) !important; }
.bc-bg-gray100    { background-color: var(--bc-gray-100) !important; }

.bc-text-primary  { color: var(--bc-primary) !important; }
.bc-text-secondary{ color: var(--bc-secondary) !important; }
.bc-text-navy     { color: var(--bc-navy) !important; }
.bc-text-white    { color: var(--bc-white) !important; }
.bc-text-gray400  { color: var(--bc-gray-400) !important; }
.bc-text-gray600  { color: var(--bc-gray-600) !important; }

/* Font helpers */
.bc-font-heading  { font-family: var(--bc-font-heading) !important; }
.bc-font-body     { font-family: var(--bc-font-body) !important; }

/* Weight helpers */
.bc-weight-300    { font-weight: 300 !important; }
.bc-weight-400    { font-weight: 400 !important; }
.bc-weight-500    { font-weight: 500 !important; }
.bc-weight-600    { font-weight: 600 !important; }
.bc-weight-700    { font-weight: 700 !important; }
.bc-weight-800    { font-weight: 800 !important; }

/* Spacing helpers */
.bc-section-py    { padding-top: var(--bc-section-py) !important; padding-bottom: var(--bc-section-py) !important; }
.bc-py-0   { padding-top:0 !important; padding-bottom:0 !important; }
.bc-py-sm  { padding-top:40px !important; padding-bottom:40px !important; }
.bc-py-md  { padding-top:64px !important; padding-bottom:64px !important; }
.bc-py-lg  { padding-top:96px !important; padding-bottom:96px !important; }
.bc-py-xl  { padding-top:128px !important; padding-bottom:128px !important; }

/* ============================================================
   GLOBAL BASE STYLES
   ============================================================ */

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

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

body {
  font-family: var(--bc-font-body);
  font-size: var(--bc-text-base);
  line-height: var(--bc-leading-normal);
  color: var(--bc-gray-800);
  background-color: var(--bc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Heading defaults — all overrideable in Elementor/WPBakery */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bc-font-heading);
  font-weight: var(--bc-weight-extrabold);
  line-height: var(--bc-leading-tight);
  color: var(--bc-navy);
  letter-spacing: var(--bc-tracking-tight);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--bc-h1-size); }
h2 { font-size: var(--bc-h2-size); }
h3 { font-size: var(--bc-h3-size); }
h4 { font-size: var(--bc-h4-size); }
h5 { font-size: var(--bc-h5-size); }
h6 { font-size: var(--bc-h6-size); }

p { margin-bottom: 1em; color: var(--bc-gray-600); line-height: var(--bc-leading-normal); }

a {
  color: var(--bc-primary);
  text-decoration: none;
  transition: color var(--bc-dur-fast);
}
a:hover { color: var(--bc-primary-dark); }

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

/* ============================================================
   GENERATEPRESS STRUCTURAL OVERRIDES
   ============================================================ */

/* Page canvas */
.site-container, .site { background-color: var(--bc-white); }

/* Content area */
.content-area { width: 100%; }
.entry-content { max-width: 100%; }

/* Remove GP default page padding when using full-width builders */
.page-template-elementor-full-width .content-area,
.page-template-template-canvas .content-area,
body.elementor-page .content-area,
body.vc_row-has-fill .content-area {
  padding: 0;
}

/* No sidebar on relevant pages */
.woocommerce-page .site-main,
.bc-full-width .site-main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* GP sidebar layout override */
body.no-sidebar .content-area { float: none; width: 100%; }

/* ============================================================
   TOPBAR
   ============================================================ */

#bc-topbar {
  background: var(--bc-navy);
  height: var(--bc-topbar-height);
  display: flex;
  align-items: center;
}

#bc-topbar .bc-topbar__inner {
  max-width: var(--bc-container-max);
  margin: 0 auto;
  padding: 0 var(--bc-section-px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bc-topbar__left,
.bc-topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--bc-text-xs);
  color: #8a9ab5;
}

.bc-topbar__right a,
.bc-topbar__left a {
  color: #8a9ab5;
  font-size: var(--bc-text-xs);
  transition: color var(--bc-dur-fast);
}
.bc-topbar__right a:hover,
.bc-topbar__left a:hover { color: var(--bc-white); }

.bc-topbar__phone {
  color: var(--bc-secondary-light) !important;
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-wide);
}

.bc-topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   SITE HEADER — GENERATEPRESS OVERRIDE
   ============================================================ */

.site-header {
  background: var(--bc-header-bg) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bc-header-border) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: var(--bc-z-nav) !important;
  transition: box-shadow var(--bc-dur-base);
  min-height: var(--bc-header-height);
}

.site-header.bc-scrolled {
  box-shadow: var(--bc-shadow-md) !important;
}

/* Logo */
.site-logo img,
.custom-logo { max-height: 48px; width: auto; }

.site-title {
  font-family: var(--bc-font-heading) !important;
  font-size: 20px !important;
  font-weight: var(--bc-weight-extrabold) !important;
  letter-spacing: -0.01em !important;
}

.site-title a { color: var(--bc-navy) !important; }
.site-title a span.bc-accent { color: var(--bc-secondary); }

/* ============================================================
   MAIN NAVIGATION — GP OVERRIDES
   ============================================================ */

.main-navigation .sf-menu > li > a {
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-sm) !important;
  font-weight: var(--bc-weight-semibold) !important;
  letter-spacing: var(--bc-tracking-wide) !important;
  color: var(--bc-gray-600) !important;
  padding: 0 14px !important;
  height: var(--bc-header-height) !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  transition: color var(--bc-dur-fast) !important;
}

.main-navigation .sf-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--bc-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--bc-dur-base) var(--bc-ease);
}

.main-navigation .sf-menu > li > a:hover,
.main-navigation .sf-menu > .current-menu-item > a,
.main-navigation .sf-menu > .current-menu-ancestor > a {
  color: var(--bc-primary) !important;
  background: transparent !important;
}

.main-navigation .sf-menu > li > a:hover::after,
.main-navigation .sf-menu > .current-menu-item > a::after {
  transform: scaleX(1);
}

/* GP Dropdown */
.main-navigation .sf-menu ul {
  background: var(--bc-white) !important;
  border: 1px solid var(--bc-gray-200) !important;
  border-top: 3px solid var(--bc-primary) !important;
  box-shadow: var(--bc-shadow-lg) !important;
  border-radius: 0 0 var(--bc-radius-md) var(--bc-radius-md) !important;
  min-width: 220px !important;
}

.main-navigation .sf-menu ul li a {
  font-size: var(--bc-text-sm) !important;
  font-weight: var(--bc-weight-medium) !important;
  color: var(--bc-gray-600) !important;
  padding: 11px 20px !important;
  border-bottom: 1px solid var(--bc-gray-100) !important;
  transition: color var(--bc-dur-fast), background var(--bc-dur-fast) !important;
}

.main-navigation .sf-menu ul li:last-child a { border-bottom: none !important; }

.main-navigation .sf-menu ul li a:hover {
  color: var(--bc-primary) !important;
  background: var(--bc-off-white) !important;
}

/* ============================================================
   MEGA MENU
   Custom mega menu system compatible with Max Mega Menu plugin
   and WPBakery/Elementor full-width menu widgets
   ============================================================ */

.bc-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  border-top: 3px solid var(--bc-primary);
  box-shadow: var(--bc-shadow-xl);
  min-width: 760px;
  z-index: var(--bc-z-overlay);
  display: none;
  border-radius: 0 0 var(--bc-radius-md) var(--bc-radius-md);
}

.bc-nav-item:hover .bc-mega-menu,
.bc-mega-menu:hover { display: flex; }

.bc-mega-menu__col {
  padding: 28px 24px;
  flex: 1;
  min-width: 180px;
}

.bc-mega-menu__col + .bc-mega-menu__col {
  border-left: 1px solid var(--bc-gray-100);
}

.bc-mega-menu__heading {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  color: var(--bc-gray-400);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bc-gray-100);
}

.bc-mega-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bc-mega-menu__list a {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--bc-weight-medium);
  transition: color var(--bc-dur-fast), padding-left var(--bc-dur-fast);
}

.bc-mega-menu__list a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--bc-gray-300);
  flex-shrink: 0;
  transition: background var(--bc-dur-fast);
}

.bc-mega-menu__list a:hover {
  color: var(--bc-primary);
  padding-left: 4px;
}

.bc-mega-menu__list a:hover::before { background: var(--bc-primary); }

.bc-mega-menu__promo {
  background: var(--bc-navy);
  padding: 28px 24px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.bc-mega-menu__promo-tag {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  color: var(--bc-secondary-light);
  margin-bottom: 8px;
}

.bc-mega-menu__promo-title {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-md);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-white);
  line-height: var(--bc-leading-snug);
  margin-bottom: 14px;
}

.bc-mega-menu__promo-item {
  font-size: var(--bc-text-xs);
  color: #7a8fa8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.bc-mega-menu__promo-item strong { color: var(--bc-white); }

/* ============================================================
   GLOBAL BUTTON SYSTEM
   All variants usable in WPBakery Single Image + Elementor Button
   ============================================================ */

.bc-btn,
.wp-block-button__link,
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--bc-btn-py) var(--bc-btn-px);
  font-family: var(--bc-font-body);
  font-size: var(--bc-btn-font-size);
  font-weight: var(--bc-btn-font-weight);
  letter-spacing: var(--bc-btn-letter-spacing);
  border-radius: var(--bc-btn-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--bc-dur-base),
    color var(--bc-dur-base),
    border-color var(--bc-dur-base),
    transform var(--bc-dur-fast),
    box-shadow var(--bc-dur-base);
  white-space: nowrap;
  line-height: 1;
}

.bc-btn:hover { transform: translateY(-2px); }
.bc-btn:active { transform: translateY(0); }

/* Primary */
.bc-btn-primary {
  background: var(--bc-secondary);
  color: var(--bc-white);
  border-color: var(--bc-secondary);
}
.bc-btn-primary:hover {
  background: var(--bc-secondary-light);
  border-color: var(--bc-secondary-light);
  color: var(--bc-white);
  box-shadow: 0 8px 24px rgba(244,100,10,0.3);
}

/* Secondary (blue) */
.bc-btn-blue {
  background: var(--bc-primary);
  color: var(--bc-white);
  border-color: var(--bc-primary);
}
.bc-btn-blue:hover {
  background: var(--bc-primary-light);
  border-color: var(--bc-primary-light);
  color: var(--bc-white);
  box-shadow: 0 8px 24px rgba(26,79,190,0.3);
}

/* Outline */
.bc-btn-outline {
  background: transparent;
  color: var(--bc-navy);
  border-color: var(--bc-gray-300);
}
.bc-btn-outline:hover {
  background: var(--bc-navy);
  color: var(--bc-white);
  border-color: var(--bc-navy);
}

.bc-btn-outline-white {
  background: transparent;
  color: var(--bc-white);
  border-color: rgba(255,255,255,0.35);
}
.bc-btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--bc-white);
}

/* Ghost */
.bc-btn-ghost {
  background: transparent;
  color: var(--bc-primary);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1.5px solid var(--bc-primary);
  border-radius: 0;
}
.bc-btn-ghost:hover {
  color: var(--bc-primary-dark);
  border-color: var(--bc-primary-dark);
  transform: none;
}

/* Sizes */
.bc-btn-sm { padding: 8px 16px; font-size: var(--bc-text-xs); }
.bc-btn-lg { padding: 16px 36px; font-size: var(--bc-text-base); }
.bc-btn-xl { padding: 18px 48px; font-size: var(--bc-text-md); font-weight: var(--bc-weight-bold); }
.bc-btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION CONTAINER SYSTEM
   Compatible with WPBakery vc_row and Elementor sections
   ============================================================ */

.bc-section {
  padding: var(--bc-section-py) 0;
  position: relative;
}

.bc-section--white   { background: var(--bc-white); }
.bc-section--gray    { background: var(--bc-off-white); }
.bc-section--navy    { background: var(--bc-navy); }
.bc-section--primary { background: var(--bc-primary); }

.bc-container {
  max-width: var(--bc-container-max);
  margin: 0 auto;
  padding: 0 var(--bc-section-px);
  width: 100%;
}

.bc-container--narrow { max-width: 840px; }
.bc-container--wide   { max-width: 1440px; }

/* Section header */
.bc-section-tag {
  display: inline-block;
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  color: var(--bc-secondary);
  background: rgba(244,100,10,0.08);
  padding: 5px 14px;
  border-radius: var(--bc-radius-full);
  margin-bottom: 12px;
}

.bc-section--navy .bc-section-tag { background: rgba(244,100,10,0.15); }

.bc-section-heading {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-h2-size);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-navy);
  line-height: var(--bc-leading-tight);
  letter-spacing: var(--bc-tracking-tight);
  margin-bottom: 14px;
}

.bc-section--navy .bc-section-heading { color: var(--bc-white); }

.bc-section-sub {
  font-size: var(--bc-text-base);
  color: var(--bc-gray-400);
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
  max-width: 540px;
}

.bc-section--navy .bc-section-sub { color: #7a8fa8; }

.bc-section-header { margin-bottom: 52px; }
.bc-section-header--center { text-align: center; }
.bc-section-header--center .bc-section-sub { margin: 0 auto; }

.bc-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO SECTION
   WPBakery: Use vc_row with full width + custom class "bc-hero"
   Elementor: Section → Style → Background + custom class "bc-hero"
   ============================================================ */

.bc-hero {
  background: var(--bc-navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
}

.bc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 75% 50%, rgba(26,79,190,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.bc-hero__grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}

.bc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,100,10,0.15);
  border: 1px solid rgba(244,100,10,0.3);
  color: var(--bc-secondary-light);
  padding: 6px 16px;
  border-radius: var(--bc-radius-full);
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bc-hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bc-secondary);
  animation: bcPulse 2s infinite;
}

@keyframes bcPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.bc-hero h1 {
  color: var(--bc-white);
  font-size: var(--bc-h1-size);
  margin-bottom: 18px;
}

.bc-hero h1 mark {
  background: none;
  color: var(--bc-secondary);
  -webkit-text-stroke: 0;
}

.bc-hero__sub {
  font-size: var(--bc-text-md);
  color: #8a9ab5;
  line-height: var(--bc-leading-relaxed);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: var(--bc-weight-light);
}

.bc-hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero stats */
.bc-hero__stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.bc-stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.bc-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.bc-stat__num {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-2xl);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-white);
  line-height: 1;
}

.bc-stat__label {
  font-size: var(--bc-text-xs);
  color: #6a7b96;
  margin-top: 4px;
  letter-spacing: var(--bc-tracking-wide);
}

/* Hero visual card */
.bc-hero__visual { position: relative; }

.bc-hero__card-main {
  background: linear-gradient(135deg, #1A3050 0%, #0d2240 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.bc-hero__float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bc-white);
  border-radius: var(--bc-radius-md);
  padding: 20px 22px;
  box-shadow: var(--bc-shadow-xl);
  min-width: 210px;
}

.bc-hero__float-badge {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-wider);
  text-transform: uppercase;
  color: var(--bc-secondary);
  background: rgba(244,100,10,0.08);
  padding: 3px 10px;
  border-radius: var(--bc-radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.bc-hero__float-title {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
  line-height: var(--bc-leading-snug);
  margin-bottom: 4px;
}

.bc-hero__float-sub { font-size: var(--bc-text-xs); color: var(--bc-gray-400); }

/* ============================================================
   TRUST STRIP
   ============================================================ */

.bc-trust-strip {
  background: var(--bc-primary);
  padding: 14px 0;
}

.bc-trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.bc-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-medium);
  color: rgba(255,255,255,0.92);
}

.bc-trust-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.bc-trust-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ============================================================
   CATEGORY CARDS
   WPBakery: Use [bc_category_card] shortcode
   Elementor: BoxCraft Category Card widget
   ============================================================ */

.bc-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.bc-cat-card {
  background: var(--bc-white);
  border: 1.5px solid var(--bc-card-border);
  border-radius: var(--bc-card-radius);
  padding: 24px 16px;
  cursor: pointer;
  transition:
    border-color var(--bc-dur-base),
    transform var(--bc-dur-base),
    box-shadow var(--bc-dur-base);
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bc-cat-card:hover {
  border-color: var(--bc-primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26,79,190,0.12);
}

.bc-cat-card__icon {
  width: 56px; height: 56px;
  background: rgba(26,79,190,0.06);
  border-radius: var(--bc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bc-dur-base);
}

.bc-cat-card:hover .bc-cat-card__icon { background: rgba(26,79,190,0.1); }

.bc-cat-card__name {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
  line-height: var(--bc-leading-snug);
}

.bc-cat-card__count {
  font-size: var(--bc-text-xs);
  color: var(--bc-gray-400);
}

.bc-cat-card__cta {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-primary);
  text-transform: uppercase;
  letter-spacing: var(--bc-tracking-wider);
  opacity: 0;
  transition: opacity var(--bc-dur-fast);
}

.bc-cat-card:hover .bc-cat-card__cta { opacity: 1; }

/* ============================================================
   PRODUCT CARDS (WooCommerce + Custom)
   ============================================================ */

/* WooCommerce product grid — full override */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  background: var(--bc-card-bg) !important;
  border: 1px solid var(--bc-card-border) !important;
  border-radius: var(--bc-card-radius) !important;
  overflow: hidden !important;
  transition:
    box-shadow var(--bc-dur-base),
    transform var(--bc-dur-base) !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--bc-card-shadow-hover) !important;
  transform: translateY(-5px) !important;
}

/* Product image */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  overflow: hidden;
}

.woocommerce ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  transition: transform var(--bc-dur-slow) var(--bc-ease) !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04) !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--bc-secondary) !important;
  color: var(--bc-white) !important;
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-xs) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wider) !important;
  text-transform: uppercase !important;
  border-radius: var(--bc-radius-full) !important;
  padding: 4px 12px !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.4 !important;
  top: 14px !important; left: 14px !important; right: auto !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: var(--bc-font-heading) !important;
  font-size: var(--bc-text-md) !important;
  font-weight: var(--bc-weight-bold) !important;
  color: var(--bc-navy) !important;
  padding: 16px 16px 4px !important;
  margin: 0 !important;
  line-height: var(--bc-leading-snug) !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  display: block !important;
  font-family: var(--bc-font-heading) !important;
  font-size: var(--bc-text-lg) !important;
  font-weight: var(--bc-weight-bold) !important;
  color: var(--bc-price-color) !important;
  padding: 4px 16px 14px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--bc-gray-400) !important;
  font-size: var(--bc-text-sm) !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--bc-danger) !important;
}

/* Add to cart button in loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block !important;
  margin: 0 16px 16px !important;
  padding: 11px 16px !important;
  width: calc(100% - 32px) !important;
  background: var(--bc-add-to-cart-bg) !important;
  color: var(--bc-add-to-cart-color) !important;
  border: none !important;
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-xs) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wider) !important;
  text-transform: uppercase !important;
  border-radius: var(--bc-radius) !important;
  text-align: center !important;
  transition: background var(--bc-dur-fast) !important;
  cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--bc-primary-light) !important;
}

/* ── Single Product ── */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery {
  position: sticky;
  top: calc(var(--bc-topbar-height) + var(--bc-header-height) + 20px);
}

.woocommerce div.product .product_title {
  font-family: var(--bc-font-heading) !important;
  font-size: var(--bc-h2-size) !important;
  font-weight: var(--bc-weight-extrabold) !important;
  color: var(--bc-navy) !important;
  margin-bottom: 12px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--bc-font-heading) !important;
  font-size: var(--bc-text-2xl) !important;
  font-weight: var(--bc-weight-bold) !important;
  color: var(--bc-price-color) !important;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  background: var(--bc-secondary) !important;
  color: var(--bc-white) !important;
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-base) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wide) !important;
  text-transform: uppercase !important;
  padding: 16px 40px !important;
  border: none !important;
  border-radius: var(--bc-radius) !important;
  transition: background var(--bc-dur-base) !important;
  cursor: pointer !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--bc-secondary-light) !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--bc-gray-200) !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 28px 0 0 !important;
  margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-xs) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-widest) !important;
  text-transform: uppercase !important;
  color: var(--bc-gray-400) !important;
  padding: 0 0 16px !important;
  display: block;
  position: relative;
  transition: color var(--bc-dur-fast);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--bc-primary) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--bc-primary);
}

/* Quantity */
.woocommerce .quantity .qty {
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-base) !important;
  font-weight: var(--bc-weight-semibold) !important;
  border: 1.5px solid var(--bc-gray-200) !important;
  background: var(--bc-white) !important;
  color: var(--bc-navy) !important;
  padding: 12px 16px !important;
  border-radius: var(--bc-radius) !important;
  width: 80px !important;
  text-align: center !important;
  outline: none !important;
}

.woocommerce .quantity .qty:focus { border-color: var(--bc-primary) !important; }

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--bc-star-color) !important;
}

/* Cart */
.woocommerce table.shop_table {
  border: none !important;
  border-collapse: collapse !important;
}

.woocommerce table.shop_table th {
  font-size: var(--bc-text-xs) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-widest) !important;
  text-transform: uppercase !important;
  color: var(--bc-gray-400) !important;
  border-bottom: 1px solid var(--bc-gray-200) !important;
  padding: 12px 16px !important;
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--bc-gray-100) !important;
  padding: 20px 16px !important;
  vertical-align: middle !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--bc-secondary) !important;
  color: var(--bc-white) !important;
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-base) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wide) !important;
  text-transform: uppercase !important;
  padding: 16px 40px !important;
  border-radius: var(--bc-radius) !important;
  display: block !important;
  text-align: center !important;
  transition: background var(--bc-dur-base) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--bc-secondary-light) !important;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-input-font-size) !important;
  border: 1.5px solid var(--bc-input-border) !important;
  border-radius: var(--bc-input-radius) !important;
  padding: 13px 14px !important;
  background: var(--bc-input-bg) !important;
  color: var(--bc-navy) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color var(--bc-dur-fast) !important;
  height: auto !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--bc-input-border-focus) !important;
  box-shadow: 0 0 0 3px rgba(26,79,190,0.08) !important;
}

.woocommerce form .form-row label {
  font-size: var(--bc-text-xs) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wider) !important;
  text-transform: uppercase !important;
  color: var(--bc-gray-600) !important;
  margin-bottom: 6px !important;
}

#place_order {
  background: var(--bc-secondary) !important;
  color: var(--bc-white) !important;
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-base) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wide) !important;
  text-transform: uppercase !important;
  padding: 18px 48px !important;
  border-radius: var(--bc-radius) !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background var(--bc-dur-base) !important;
}

#place_order:hover { background: var(--bc-secondary-light) !important; }

/* ============================================================
   CUSTOM SHORTCODE COMPONENTS
   WPBakery: [bc_section_tag], [bc_stat_box], [bc_feature_box],
             [bc_testimonial], [bc_process_step], [bc_quote_form],
             [bc_cta_banner], [bc_category_grid], [bc_faq_item]
   Elementor: All registered as widgets in BoxCraft widget set
   ============================================================ */

/* Stat Box */
.bc-stat-box {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-100);
  border-radius: var(--bc-card-radius);
  padding: 28px 24px;
  text-align: center;
}

.bc-stat-box__number {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-4xl);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.bc-stat-box__label {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-500);
  font-weight: var(--bc-weight-medium);
}

/* Feature Box */
.bc-feature-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-100);
  border-radius: var(--bc-card-radius);
  transition: border-color var(--bc-dur-base), box-shadow var(--bc-dur-base);
}

.bc-feature-box:hover {
  border-color: var(--bc-primary);
  box-shadow: var(--bc-shadow-md);
}

.bc-feature-box__icon {
  width: 52px; height: 52px;
  background: rgba(26,79,190,0.08);
  border-radius: var(--bc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bc-primary);
  font-size: 22px;
}

.bc-feature-box__title {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-md);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
  margin-bottom: 6px;
}

.bc-feature-box__desc {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-500);
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
}

/* Process Step */
.bc-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.bc-process-step__num {
  width: 90px; height: 90px;
  background: var(--bc-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-2xl);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-white);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(26,79,190,0.3);
}

.bc-process-step__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.bc-process-step__title {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-md);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
  margin-bottom: 10px;
}

.bc-process-step__desc {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-400);
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
}

/* Process connector line */
.bc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}

.bc-process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--bc-primary) 0,
    var(--bc-primary) 12px,
    transparent 12px,
    transparent 24px
  );
}

/* Testimonial Card */
.bc-testimonial {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  border-radius: var(--bc-card-radius);
  padding: 32px;
  position: relative;
}

.bc-testimonial--dark { background: var(--bc-navy); border-color: transparent; }

.bc-testimonial__quote-mark {
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--bc-font-heading);
  font-size: 80px;
  font-weight: var(--bc-weight-extrabold);
  line-height: 1;
  color: var(--bc-gray-100);
  opacity: 0.8;
  pointer-events: none;
}

.bc-testimonial--dark .bc-testimonial__quote-mark { color: rgba(255,255,255,0.05); opacity: 1; }

.bc-testimonial__stars {
  color: var(--bc-star-color);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.bc-testimonial__body {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-600);
  line-height: var(--bc-leading-relaxed);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.bc-testimonial--dark .bc-testimonial__body { color: #7a8fa8; }

.bc-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bc-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bc-primary);
  color: var(--bc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-bold);
  flex-shrink: 0;
}

.bc-testimonial__name {
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
}

.bc-testimonial--dark .bc-testimonial__name { color: var(--bc-white); }

.bc-testimonial__company {
  font-size: var(--bc-text-xs);
  color: var(--bc-gray-400);
}

/* CTA Banner */
.bc-cta-banner {
  background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-mid) 60%, #1a3a6a 100%);
  border-radius: var(--bc-radius-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bc-cta-banner::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(26,79,190,0.12);
  pointer-events: none;
}

.bc-cta-banner__tag {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  color: var(--bc-secondary-light);
  margin-bottom: 10px;
}

.bc-cta-banner__heading {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-h2-size);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-white);
  line-height: var(--bc-leading-tight);
  letter-spacing: var(--bc-tracking-tight);
  margin-bottom: 12px;
}

.bc-cta-banner__sub {
  font-size: var(--bc-text-base);
  color: #7a8fa8;
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
}

.bc-cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Quote Form */
.bc-quote-form {
  background: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  box-shadow: var(--bc-shadow-xl);
  padding: 48px;
  border: 1px solid var(--bc-gray-200);
}

.bc-quote-form h3 {
  font-size: var(--bc-h3-size);
  margin-bottom: 4px;
}

.bc-quote-form__sub {
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-400);
  margin-bottom: 28px;
}

.bc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bc-form-group { display: flex; flex-direction: column; gap: 6px; }
.bc-form-group--full { grid-column: 1 / -1; }

.bc-form-label {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-wider);
  text-transform: uppercase;
  color: var(--bc-gray-600);
}

.bc-form-input,
.bc-form-select,
.bc-form-textarea {
  font-family: var(--bc-font-body);
  font-size: var(--bc-input-font-size);
  padding: 12px 14px;
  border: 1.5px solid var(--bc-input-border);
  border-radius: var(--bc-input-radius);
  color: var(--bc-navy);
  background: var(--bc-input-bg);
  outline: none;
  width: 100%;
  transition: border-color var(--bc-dur-fast), box-shadow var(--bc-dur-fast);
}

.bc-form-input:focus,
.bc-form-select:focus,
.bc-form-textarea:focus {
  border-color: var(--bc-input-border-focus);
  box-shadow: 0 0 0 3px rgba(26,79,190,0.08);
}

.bc-form-textarea { height: 110px; resize: vertical; }

.bc-form-submit {
  width: 100%;
  padding: 15px;
  background: var(--bc-secondary);
  color: var(--bc-white);
  font-family: var(--bc-font-body);
  font-size: var(--bc-text-base);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-wide);
  border: none;
  border-radius: var(--bc-radius);
  cursor: pointer;
  transition: background var(--bc-dur-fast), transform var(--bc-dur-fast);
  margin-top: 8px;
}

.bc-form-submit:hover {
  background: var(--bc-secondary-light);
  transform: translateY(-1px);
}

.bc-form-note {
  font-size: var(--bc-text-xs);
  color: var(--bc-gray-400);
  text-align: center;
  margin-top: 10px;
}

/* FAQ */
.bc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bc-faq-item {
  border: 1.5px solid var(--bc-gray-200);
  border-radius: var(--bc-card-radius);
  overflow: hidden;
  background: var(--bc-white);
}

.bc-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-bold);
  color: var(--bc-navy);
  gap: 16px;
  transition: background var(--bc-dur-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.bc-faq-question:hover { background: var(--bc-off-white); }

.bc-faq-question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--bc-primary);
  transition: transform var(--bc-dur-base);
}

.bc-faq-item.open .bc-faq-question svg { transform: rotate(180deg); }

.bc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--bc-dur-slow) ease;
}

.bc-faq-answer p {
  padding: 0 24px 20px;
  font-size: var(--bc-text-sm);
  color: var(--bc-gray-600);
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
  margin: 0;
}

.bc-faq-item.open .bc-faq-answer { max-height: 400px; }

/* ============================================================
   ELEMENTOR WIDGET OVERRIDES
   These ensure Elementor's own heading/text/button widgets
   respect our design system while still being fully editable
   ============================================================ */

/* Elementor headings */
.elementor-heading-title { font-family: var(--bc-font-heading) !important; }

/* Elementor text editor */
.elementor-text-editor { font-family: var(--bc-font-body) !important; }

/* Elementor button — our styles layer on top, builder can override */
.elementor-button-wrapper .elementor-button {
  font-family: var(--bc-font-body);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-wide);
  text-transform: uppercase;
  transition: all var(--bc-dur-base);
}

/* Elementor section inner */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--bc-container-max);
}

/* Elementor global colors — bridge our tokens */
.elementor-color-primary { color: var(--bc-primary) !important; }
.elementor-color-secondary { color: var(--bc-secondary) !important; }
.elementor-color-text { color: var(--bc-gray-800) !important; }
.elementor-color-accent { color: var(--bc-navy) !important; }

/* ============================================================
   WPBAKERY PAGE BUILDER OVERRIDES
   These ensure WPBakery rows and columns display correctly
   ============================================================ */

/* WPBakery full-width rows */
.vc_row.vc_row-no-padding { padding: 0 !important; }

.vc_row-full-width { max-width: none !important; }

/* WPBakery column padding reset */
.vc_column_container > .vc_column-inner { padding: 0 15px; }

/* WPBakery default heading */
.vc_custom_heading,
.wpb_text_column h1,
.wpb_text_column h2,
.wpb_text_column h3,
.wpb_text_column h4,
.wpb_text_column h5,
.wpb_text_column h6 {
  font-family: var(--bc-font-heading) !important;
}

.wpb_text_column p,
.wpb_text_column li {
  font-family: var(--bc-font-body) !important;
  font-size: var(--bc-text-base);
  line-height: var(--bc-leading-normal);
}

/* WPBakery button */
.vc_btn3 {
  font-family: var(--bc-font-body) !important;
  font-weight: var(--bc-weight-bold) !important;
  letter-spacing: var(--bc-tracking-wide) !important;
  transition: all var(--bc-dur-base) !important;
}

.vc_btn3.vc_btn3-color-primary {
  background: var(--bc-secondary) !important;
  border-color: var(--bc-secondary) !important;
}

.vc_btn3.vc_btn3-color-primary:hover {
  background: var(--bc-secondary-light) !important;
  border-color: var(--bc-secondary-light) !important;
}

.vc_btn3.vc_btn3-color-info {
  background: var(--bc-primary) !important;
  border-color: var(--bc-primary) !important;
}

.vc_btn3.vc_btn3-color-info:hover {
  background: var(--bc-primary-light) !important;
  border-color: var(--bc-primary-light) !important;
}

/* WPBakery separator */
.vc_separator .vc_sep_holder .vc_sep_line { border-color: var(--bc-gray-200) !important; }

/* WPBakery icon box */
.vc_icon_element-inner { color: var(--bc-primary) !important; }

/* WPBakery tab */
.vc_tta-tabs .vc_tta-tab > a {
  font-family: var(--bc-font-body) !important;
  font-weight: var(--bc-weight-semibold) !important;
  color: var(--bc-gray-600) !important;
}

.vc_tta-tabs .vc_tta-tab.vc_active > a {
  color: var(--bc-primary) !important;
  border-color: var(--bc-primary) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

#colophon,
.site-footer {
  background: var(--bc-navy) !important;
  color: #7a8fa8 !important;
}

.bc-footer__top {
  max-width: var(--bc-container-max);
  margin: 0 auto;
  padding: 72px var(--bc-section-px) 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bc-footer__logo-text {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-text-xl);
  font-weight: var(--bc-weight-extrabold);
  color: var(--bc-white);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 14px;
}

.bc-footer__logo-text span { color: var(--bc-secondary); }

.bc-footer__desc {
  font-size: var(--bc-text-sm);
  color: #5a6a80;
  line-height: var(--bc-leading-relaxed);
  font-weight: var(--bc-weight-light);
  max-width: 270px;
  margin-bottom: 24px;
}

.bc-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--bc-text-sm);
  color: #5a6a80;
  margin-bottom: 10px;
}

.bc-footer__contact-item svg { width: 14px; height: 14px; color: var(--bc-primary); flex-shrink: 0; }

.bc-footer__contact-item a {
  color: #8a9ab5;
  font-size: var(--bc-text-sm);
  transition: color var(--bc-dur-fast);
}

.bc-footer__contact-item a:hover { color: var(--bc-secondary-light); }

.bc-footer__col-heading {
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  letter-spacing: var(--bc-tracking-widest);
  text-transform: uppercase;
  color: var(--bc-white);
  margin-bottom: 20px;
}

.bc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bc-footer__links a {
  font-size: var(--bc-text-sm);
  color: #5a6a80;
  text-decoration: none;
  font-weight: var(--bc-weight-light);
  transition: color var(--bc-dur-fast);
}

.bc-footer__links a:hover { color: var(--bc-secondary-light); }

.bc-footer__socials { display: flex; gap: 10px; margin-top: 24px; }

.bc-footer__social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--bc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6a80;
  text-decoration: none;
  transition: border-color var(--bc-dur-fast), color var(--bc-dur-fast);
}

.bc-footer__social:hover { border-color: var(--bc-secondary); color: var(--bc-secondary); }

.bc-footer__bottom {
  max-width: var(--bc-container-max);
  margin: 0 auto;
  padding: 20px var(--bc-section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bc-footer__copy { font-size: var(--bc-text-xs); color: #3a4a60; }

.bc-footer__legal {
  display: flex;
  gap: 20px;
}

.bc-footer__legal a {
  font-size: var(--bc-text-xs);
  color: #3a4a60;
  text-decoration: none;
  transition: color var(--bc-dur-fast);
}

.bc-footer__legal a:hover { color: #6a7a90; }

/* Payment badges */
.bc-payment-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--bc-radius-sm);
  padding: 4px 10px;
  font-size: var(--bc-text-xs);
  font-weight: var(--bc-weight-bold);
  color: #4a5a70;
  letter-spacing: var(--bc-tracking-wide);
}

/* ============================================================
   UTILITY & HELPER CLASSES
   Usable as custom CSS classes in any builder
   ============================================================ */

/* Reveal animation */
.bc-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--bc-ease), transform 0.6s var(--bc-ease);
}

.bc-reveal.bc-visible { opacity: 1; transform: translateY(0); }
.bc-reveal-delay-1 { transition-delay: 0.1s; }
.bc-reveal-delay-2 { transition-delay: 0.2s; }
.bc-reveal-delay-3 { transition-delay: 0.3s; }
.bc-reveal-delay-4 { transition-delay: 0.4s; }

/* Toast */
#bc-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bc-navy);
  color: var(--bc-white);
  padding: 12px 24px;
  font-size: var(--bc-text-sm);
  font-weight: var(--bc-weight-medium);
  border-radius: var(--bc-radius);
  z-index: var(--bc-z-toast);
  transition: transform var(--bc-dur-base) var(--bc-ease);
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--bc-shadow-lg);
}

#bc-toast.bc-toast--show { transform: translateX(-50%) translateY(0); }

/* Sticky phone/chat */
.bc-sticky-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--bc-z-overlay);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-sticky-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform var(--bc-dur-fast), box-shadow var(--bc-dur-fast);
}

.bc-sticky-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }

.bc-sticky-btn--call { background: var(--bc-secondary); }
.bc-sticky-btn--chat { background: var(--bc-primary); }

.bc-sticky-btn svg { width: 22px; height: 22px; fill: white; }

/* Grid helpers */
.bc-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.bc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bc-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.bc-grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }

/* Text alignment */
.bc-text-left   { text-align: left !important; }
.bc-text-center { text-align: center !important; }
.bc-text-right  { text-align: right !important; }

/* Display */
.bc-flex          { display: flex !important; }
.bc-flex-center   { display: flex !important; align-items: center !important; justify-content: center !important; }
.bc-flex-between  { display: flex !important; align-items: center !important; justify-content: space-between !important; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1200px) {
  .bc-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .bc-footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  :root {
    --bc-section-py: 64px;
    --bc-section-px: 24px;
  }
  .bc-hero__grid  { grid-template-columns: 1fr; }
  .bc-hero__visual { display: none; }
  .bc-process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bc-process-grid::before { display: none; }
  .bc-cta-banner { grid-template-columns: 1fr; gap: 28px; }
  .bc-faq-grid { grid-template-columns: 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .bc-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-footer__top { grid-template-columns: 1fr 1fr; }
  .bc-grid-4 { grid-template-columns: repeat(2,1fr); }
  .bc-grid-3 { grid-template-columns: repeat(2,1fr); }
  .bc-trust-divider { display: none; }
}

@media (max-width: 640px) {
  :root {
    --bc-section-py: 48px;
    --bc-section-px: 20px;
  }
  .bc-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .bc-footer__top { grid-template-columns: 1fr; }
  .bc-footer__bottom { flex-direction: column; text-align: center; }
  .bc-cta-banner { padding: 36px 28px; }
  .bc-quote-form { padding: 32px 24px; }
  .bc-form-grid { grid-template-columns: 1fr; }
  .bc-grid-2, .bc-grid-3, .bc-grid-4, .bc-grid-5 { grid-template-columns: 1fr; }
  .bc-hero__stats { flex-wrap: wrap; gap: 20px; }
  .bc-stat { border-right: none; padding-right: 0; margin-right: 0; }
  .bc-process-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .bc-reveal { opacity: 1; transform: none; }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--bc-primary);
  outline-offset: 3px;
}
