/*
Theme Name: RedByteTech Kadence Child
Theme URI: https://redbytesite.com
Description: Enterprise B2B IT hardware store — Kadence child theme for RedByte Technology.
Author: RedByte Technology / SDS Consulting
Author URI: https://sds.consulting
Template: kadence
Version: 3.1.0
License: GPL-2.0-or-later
Text Domain: redbytetech
*/

/* ============================================
   RedByte Technology — Brand Design System v3.1
   Axis layout + v2 color palette
   Primary: #040404 (black)  |  Secondary: #343434 (graphite)
   Accent: #F4142B / #EC182C (red)  |  Warm: #3C3434
   Font: Inter
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === CSS Custom Properties === */
:root {
  /* Brand primaries */
  --rb-black: #040404;
  --rb-graphite: #343434;
  --rb-graphite-warm: #3C3434;
  --rb-graphite-light: #4a4748;
  --rb-red: #F4142B;
  --rb-red-hover: #EC182C;

  /* Text — hex-based from v2 palette */
  --rb-text: var(--rb-gray-700);
  --rb-text-light: var(--rb-gray-500);
  --rb-text-muted: var(--rb-gray-400);
  --rb-text-inverse: #ffffff;
  --rb-text-inverse-muted: rgba(255,255,255,0.7);

  /* Neutrals — full v2 gray scale */
  --rb-gray-900: #1a1a1a;
  --rb-gray-700: #404040;
  --rb-gray-600: #525252;
  --rb-gray-500: #737373;
  --rb-gray-400: #a3a3a3;
  --rb-gray-300: #d4d4d4;
  --rb-gray-200: #e5e5e5;
  --rb-gray-100: #f5f5f5;
  --rb-gray-50: #fafafa;
  --rb-white: #ffffff;

  /* Status */
  --rb-success: #16a34a;
  --rb-danger: #dc2626;

  /* Shadows — soft v2 shadows */
  --rb-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --rb-shadow: 0 4px 16px rgba(0,0,0,0.06);
  --rb-shadow-lg: 0 12px 32px rgba(0,0,0,0.08);

  /* Radii — v2 rounded style */
  --rb-radius: 8px;
  --rb-radius-sm: 4px;
  --rb-radius-lg: 12px;

  /* Kadence global palette overrides */
  --global-palette1: #040404;
  --global-palette2: #343434;
  --global-palette3: #525252;
  --global-palette4: #737373;
  --global-palette5: #f5f5f5;
  --global-palette6: #fafafa;
  --global-palette7: #e5e5e5;
  --global-palette8: #1a1a1a;
  --global-palette9: #ffffff;
}


/* =============================================
   GLOBAL TYPOGRAPHY & BASE
   Axis: Open Sans, 18px body, rgba(0,0,0,0.8) text
   ============================================= */

html, body, button, input, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-text);
  background: var(--rb-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--rb-black);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: 48px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.35; }

a {
  color: var(--rb-black);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus {
  color: var(--rb-graphite);
  opacity: 0.85;
}

html {
  scroll-behavior: smooth;
}

/* Axis-style CTA links — underline, no background */
.rb-link-cta,
.rb-hero-cta-row .rb-btn-primary,
.rb-hero-cta-row .rb-btn-secondary {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--rb-text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--rb-text);
  padding: 4px 0;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rb-link-cta:hover,
.rb-hero-cta-row .rb-btn-primary:hover,
.rb-hero-cta-row .rb-btn-secondary:hover {
  border-bottom-color: var(--rb-red);
  color: var(--rb-black);
}


/* =============================================
   HEADER — Ultra-clean, Axis-style
   ============================================= */

.site-header {
  border-bottom: 1px solid var(--rb-gray-200);
  box-shadow: var(--rb-shadow);
  background: var(--rb-white);
}

.site-header .site-branding img,
.site-header .custom-logo-link img {
  max-height: 44px;
  width: auto;
}

.site-header .site-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--rb-black);
  letter-spacing: -0.3px;
}

/* Navigation — Axis: clean, 14-16px, weight 400-600 */
.site-header .header-navigation .menu > li > a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--rb-gray-600);
  letter-spacing: 0;
  padding: 10px 16px;
  transition: color 0.2s ease;
  text-transform: none;
}

.site-header .header-navigation .menu > li > a:hover {
  color: var(--rb-black);
}

/* Dropdown menus — flat, no shadow, Axis-style */
.site-header .header-navigation .sub-menu {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  box-shadow: var(--rb-shadow-lg);
  border: 1px solid var(--rb-gray-200);
  padding: 8px 0;
}

.site-header .header-navigation .sub-menu li a {
  font-size: 13px;
  color: var(--rb-gray-500);
  padding: 8px 24px;
}

.site-header .header-navigation .sub-menu li a:hover {
  color: var(--rb-text);
  background: var(--rb-gray-100);
}


/* =============================================
   TOP HEADER BAR
   ============================================= */

.rb-top-bar {
  background: var(--rb-black);
  color: var(--rb-text-inverse-muted);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0;
}

.rb-top-bar strong {
  color: var(--rb-text-inverse);
  font-weight: 600;
}

.rb-top-bar a {
  color: var(--rb-text-inverse-muted);
  text-decoration: none;
}

.rb-top-bar a:hover {
  color: var(--rb-text-inverse);
}


/* =============================================
   WOOCOMMERCE — SHOP / ARCHIVE
   ============================================= */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-text);
  line-height: 1.45;
}

.woocommerce ul.products li.product .price {
  color: var(--rb-black);
  font-weight: 700;
  font-size: 18px;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--rb-gray-200);
  border-radius: var(--rb-radius);
  padding: 20px;
  transition: border-color 0.2s ease;
  background: var(--rb-white);
}

.woocommerce ul.products li.product:hover {
  border-color: var(--rb-black);
  box-shadow: var(--rb-shadow);
}

/* Axis uses text-link CTAs, not filled buttons */
.woocommerce ul.products li.product .button {
  background: var(--rb-black);
  color: var(--rb-text-inverse);
  border: none;
  border-radius: var(--rb-radius);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  transition: background 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--rb-graphite);
}


/* =============================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================= */

/* Category chip — Axis-style: flat, no rounding */
.single-product .summary .posted_in a {
  background: var(--rb-black);
  color: var(--rb-text-inverse);
  padding: 4px 12px;
  border-radius: var(--rb-radius);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  display: inline-block;
}

.single-product .summary .posted_in a:hover {
  background: var(--rb-graphite);
  color: var(--rb-text-inverse);
}

/* Price — large, semibold */
.single-product .summary .price {
  font-size: 36px;
  color: var(--rb-black);
  font-weight: 600;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

/* Stock indicators */
.single-product .stock.in-stock {
  background: #f0fdf4;
  color: var(--rb-success);
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid #bbf7d0;
  border-radius: var(--rb-radius);
  font-size: 14px;
  display: inline-block;
}

.single-product .stock.in-stock::after {
  content: ' — Ready to ship';
  font-weight: 400;
  font-size: 13px;
  color: var(--rb-text-light);
}

.single-product .stock.out-of-stock {
  background: #fef2f2;
  color: var(--rb-danger);
  border: 1px solid #fecaca;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--rb-radius);
  font-size: 14px;
}

/* Guaranteed Match Badge */
.rb-match-badge {
  display: inline-block;
  background: var(--rb-success);
  color: var(--rb-text-inverse);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: var(--rb-radius);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Add to Cart — Axis: solid black, angular */
.single-product .single_add_to_cart_button {
  background: var(--rb-black) !important;
  color: var(--rb-text-inverse) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 40px;
  border-radius: var(--rb-radius);
  font-size: 14px;
  border: none;
  transition: background 0.2s ease;
  width: 100%;
}

.single-product .single_add_to_cart_button:hover {
  background: var(--rb-graphite) !important;
}

/* WooCommerce buttons global */
.woocommerce .button.alt,
.woocommerce .checkout-button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt {
  background: var(--rb-black) !important;
  color: var(--rb-text-inverse) !important;
  border-radius: var(--rb-radius) !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.2s ease;
}

.woocommerce .button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce button.button.alt:hover {
  background: var(--rb-graphite) !important;
}

/* SKU / Product Meta */
.single-product .product_meta {
  background: var(--rb-gray-100);
  padding: 18px 22px;
  border-radius: var(--rb-radius);
  border: 1px solid var(--rb-gray-200);
  margin-top: 18px;
  font-size: 14px;
}

.single-product .product_meta .sku {
  background: var(--rb-gray-200);
  padding: 2px 8px;
  border-radius: 2px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
}

/* RFQ Button — secondary, outlined */
.rb-rfq-btn {
  display: block;
  width: 100%;
  background: none;
  color: var(--rb-text);
  padding: 16px 30px;
  border: 2px solid var(--rb-black);
  border-radius: var(--rb-radius);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  margin-top: 12px;
}

.rb-rfq-btn:hover {
  background: var(--rb-black);
  color: var(--rb-text-inverse);
  text-decoration: none;
}

/* Trust Strip */
.rb-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.rb-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--rb-gray-100);
  border-radius: var(--rb-radius);
  border: 1px solid var(--rb-gray-200);
}

.rb-trust-item strong {
  font-size: 13px;
  display: block;
  color: var(--rb-text);
  font-weight: 600;
}

.rb-trust-item span {
  font-size: 12px;
  color: var(--rb-text-light);
}

/* Key Specs Panel */
.rb-key-specs {
  background: var(--rb-gray-100);
  border: 1px solid var(--rb-gray-200);
  border-radius: var(--rb-radius);
  padding: 22px;
  margin: 18px 0;
}

.rb-key-specs h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px 0;
  color: var(--rb-text-light);
}

.rb-key-specs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rb-key-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rb-gray-200);
}

.rb-spec-label {
  color: var(--rb-text-light);
  font-weight: 500;
}

.rb-spec-value {
  color: var(--rb-text);
  font-weight: 600;
}

/* SKU Copy Button */
.rb-copy-btn {
  background: var(--rb-black);
  color: var(--rb-text-inverse);
  border: none;
  padding: 3px 10px;
  border-radius: var(--rb-radius);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.rb-copy-btn:hover {
  background: var(--rb-graphite);
}

.rb-copy-btn.copied {
  background: var(--rb-success);
}

/* Clean Short Description */
.rb-clean-short-desc p {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: var(--rb-text);
  line-height: 1.65;
}

.rb-short-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rb-short-features li {
  font-size: 14px;
  color: var(--rb-text);
  padding-left: 22px;
  position: relative;
}

.rb-short-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--rb-success);
  font-weight: 700;
}

/* Clean Description Tab */
.rb-clean-description h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--rb-text);
}

.rb-clean-description p {
  margin-bottom: 14px;
  color: var(--rb-text);
  line-height: 1.7;
  font-size: 16px;
}

.rb-clean-description ul {
  margin: 0 0 14px 18px;
  color: var(--rb-text);
  line-height: 1.7;
}

/* Quote callout — Axis-style: left border, flat */
.rb-quote-callout {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--rb-gray-100);
  border-left: 3px solid var(--rb-black);
  border-radius: var(--rb-radius);
}

.rb-quote-callout strong {
  font-size: 14px;
  color: var(--rb-text);
}

.rb-quote-callout a {
  color: var(--rb-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--rb-text);
}

.rb-quote-callout a:hover {
  border-bottom-color: var(--rb-red);
}

/* Product Tabs */
.woocommerce-tabs .wc-tabs li a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.woocommerce-tabs .wc-tabs li.active a {
  color: var(--rb-black);
  border-bottom: 2px solid var(--rb-black);
}


/* =============================================
   CURATED SIDEBAR WIDGET
   ============================================= */

.rb-curated-sidebar h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--rb-text);
}

.rb-curated-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-curated-sidebar li {
  margin-bottom: 2px;
}

.rb-curated-sidebar li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--rb-text-light);
  border-radius: var(--rb-radius);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border-left: 2px solid transparent;
}

.rb-curated-sidebar li a:hover {
  background: var(--rb-gray-100);
  color: var(--rb-text);
  border-left-color: var(--rb-black);
}

.rb-sidebar-divider {
  height: 1px;
  background: var(--rb-gray-200);
  margin: 18px 0;
}

.rb-sidebar-cta {
  display: block;
  background: var(--rb-black);
  color: var(--rb-text-inverse);
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--rb-radius);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s;
}

.rb-sidebar-cta:hover {
  background: var(--rb-graphite);
  color: var(--rb-text-inverse);
}

.rb-sidebar-cta-secondary {
  background: none;
  color: var(--rb-text);
  border: 2px solid var(--rb-black);
  margin-top: 10px;
}

.rb-sidebar-cta-secondary:hover {
  background: var(--rb-black);
  color: var(--rb-text-inverse);
}


/* =============================================
   PRIORITY SORT BADGES
   ============================================= */

.rb-priority-header {
  padding: 12px 16px;
  background: var(--rb-gray-100);
  border-bottom: 1px solid var(--rb-gray-200);
  border-radius: var(--rb-radius);
}

.rb-priority-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.rb-priority-label {
  color: var(--rb-text);
  font-weight: 600;
}

.rb-priority-info {
  color: var(--rb-text-muted);
  font-size: 12px;
}

.rb-priority-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--rb-radius);
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

.rb-badge-top5 {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.rb-badge-top15 {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.rb-badge-top50 {
  background: var(--rb-gray-100);
  color: var(--rb-graphite);
  border: 1px solid var(--rb-gray-300);
}

.rb-badge-trending {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #86efac;
}

.rb-sold-count {
  display: inline-block;
  font-size: 11px;
  color: var(--rb-text-muted);
  margin-left: 6px;
  font-style: italic;
}


/* =============================================
   HOMEPAGE SECTIONS
   Axis: editorial, large type, generous whitespace
   ============================================= */

/* Hero */
.rb-hero {
  background: var(--rb-white);
  padding: 100px 0 80px;
}

.rb-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--rb-text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.rb-hero h1 {
  font-size: 52px;
  font-weight: 600;
  color: var(--rb-text);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.rb-hero p {
  font-size: 18px;
  color: var(--rb-text-light);
  max-width: 580px;
  line-height: 1.65;
}

.rb-hero-cta-row {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
}

/* Override — hero CTAs get the Axis underline-link style */
.rb-hero-cta-row a {
  padding: 6px 0;
  border-radius: var(--rb-radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rb-text);
  color: var(--rb-text);
}

.rb-hero-cta-row a:hover {
  border-bottom-color: var(--rb-red);
  color: var(--rb-black);
}

.rb-hero-cta-row .rb-btn-phone {
  color: var(--rb-text-light);
  border-bottom-color: var(--rb-text-light);
}

.rb-hero-cta-row .rb-btn-phone:hover {
  border-bottom-color: var(--rb-black);
  color: var(--rb-black);
}

/* Hero Stats — Axis "in numbers" style */
.rb-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rb-gray-200);
}

.rb-hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--rb-text);
  letter-spacing: -0.3px;
}

.rb-hero-stat span {
  font-size: 14px;
  color: var(--rb-text-light);
  font-weight: 400;
}

/* Trust Bar */
.rb-trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 48px 0;
  background: var(--rb-white);
  border-bottom: 1px solid var(--rb-gray-200);
}

/* Fix trust bar in WP columns block */
.wp-block-columns.rb-trust-bar,
.entry-content .wp-block-columns {
  gap: 32px;
}

.entry-content .wp-block-column {
  flex-basis: 0;
  flex-grow: 1;
}

.rb-trust-bar-item strong {
  display: block;
  font-size: 15px;
  color: var(--rb-text);
  font-weight: 600;
  margin-bottom: 4px;
}

.rb-trust-bar-item span {
  font-size: 13px;
  color: var(--rb-text-light);
}

/* Category Grid */
.rb-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rb-category-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  background: var(--rb-white);
  border: 1px solid var(--rb-gray-200);
  border-radius: var(--rb-radius);
  text-decoration: none;
  transition: border-color 0.2s ease;
  text-align: center;
}

.rb-category-card:hover {
  border-color: var(--rb-black);
}

.rb-category-card strong {
  font-size: 16px;
  color: var(--rb-text);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.rb-category-card span {
  font-size: 13px;
  color: var(--rb-text-light);
}

/* Bulk Quote Banner */
.rb-bulk-banner {
  background: var(--rb-gray-100);
  border-radius: var(--rb-radius);
  padding: 56px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0;
  border: 1px solid var(--rb-gray-200);
}

.rb-bulk-banner h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.rb-bulk-banner p {
  color: var(--rb-text-light);
  font-size: 16px;
  margin: 0;
}

/* Why Choose Section */
.rb-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.rb-why-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-gray-200);
  border-radius: var(--rb-radius);
  padding: 32px;
  transition: border-color 0.2s ease;
}

.rb-why-card:hover {
  border-color: var(--rb-black);
}

.rb-why-card strong {
  font-size: 18px;
  color: var(--rb-text);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.rb-why-card span {
  font-size: 15px;
  color: var(--rb-text-light);
  line-height: 1.6;
}

/* Enterprise CTA Section — dark background, Axis style */
.rb-enterprise-cta {
  background: var(--rb-black);
  border-radius: var(--rb-radius);
  padding: 80px 60px;
  text-align: center;
  color: var(--rb-text-inverse);
  margin: 60px 0;
}

.rb-enterprise-cta h2 {
  color: var(--rb-text-inverse);
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

.rb-enterprise-cta p {
  color: var(--rb-text-inverse-muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.rb-cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.rb-cta-btn {
  padding: 6px 0;
  border-radius: var(--rb-radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.rb-cta-primary {
  background: none;
  color: var(--rb-text-inverse);
  border-bottom: 1px solid var(--rb-text-inverse);
}

.rb-cta-primary:hover {
  border-bottom-color: var(--rb-red);
  color: var(--rb-text-inverse);
}

.rb-cta-secondary {
  background: none;
  color: var(--rb-text-inverse-muted);
  border: none;
  border-bottom: 1px solid var(--rb-text-inverse-muted);
}

.rb-cta-secondary:hover {
  color: var(--rb-text-inverse);
  border-bottom-color: var(--rb-text-inverse);
}


/* =============================================
   AXIS-STYLE MEGA MENU
   ============================================= */

/* Main navigation bar — clean, minimal */
.main-navigation,
#masthead .site-header-wrap .header-desktop-items .header-navigation-layout,
.header-navigation[class*="header-navigation"] {
  font-family: 'Inter', sans-serif;
}

.main-navigation ul > li > a,
.header-menu-container > ul > li > a,
.header-navigation .menu > li > a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--rb-text);
  text-transform: none;
  padding: 12px 18px;
  transition: color 0.2s ease;
}

.main-navigation ul > li > a:hover,
.header-menu-container > ul > li > a:hover,
.header-navigation .menu > li > a:hover {
  color: var(--rb-black);
  background: none;
}

/* Active state — bottom border accent like Axis */
.main-navigation ul > li.current-menu-item > a,
.main-navigation ul > li.current-menu-ancestor > a,
.header-navigation .menu > li.current-menu-item > a {
  color: var(--rb-black);
  border-bottom: 2px solid var(--rb-black);
}

/* Mega menu dropdown — warm off-white background */
.main-navigation ul ul,
.header-menu-container ul ul,
.header-navigation .sub-menu,
.header-navigation .menu ul,
.wp-mega-menu,
.kadence-mega-menu {
  background: #f7f3f1 !important;
  border: none !important;
  border-radius: var(--rb-radius) !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  padding: 38px 48px !important;
  min-width: 320px;
}

/* Full-width mega menu panel */
.header-navigation .mega-menu-width-full .sub-menu,
.kadence-mega-menu.mega-menu-width-full,
.wp-mega-menu.full-width {
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 44px 60px !important;
}

/* Multi-column layout inside mega menu */
.kadence-mega-menu .mega-menu-content,
.wp-mega-menu .mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Column headers in mega menu */
.kadence-mega-menu .mega-menu-content > .menu-item > a,
.wp-mega-menu .menu-item-has-children > a,
.main-navigation ul ul li.menu-item-has-children > a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(0,0,0,0.55);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  pointer-events: none;
}

/* Submenu items inside mega columns */
.main-navigation ul ul li a,
.header-navigation .sub-menu li a,
.kadence-mega-menu .sub-menu li a {
  font-size: 14px;
  font-weight: 400;
  color: var(--rb-text);
  padding: 8px 0;
  background: none !important;
  border-radius: var(--rb-radius);
  transition: color 0.15s ease;
  line-height: 1.5;
}

.main-navigation ul ul li a:hover,
.header-navigation .sub-menu li a:hover,
.kadence-mega-menu .sub-menu li a:hover {
  color: var(--rb-black);
  background: none !important;
  text-decoration: underline;
}

/* Left border active indicator on sidebar-style nav (Axis pattern) */
.main-navigation ul ul li.current-menu-item > a,
.header-navigation .sub-menu li.current-menu-item > a {
  color: var(--rb-black);
  font-weight: 600;
  border-left: 3px solid var(--rb-black);
  padding-left: 12px;
}

/* Mega menu with thumbnail images (Axis 125x125 style) */
.kadence-mega-menu .menu-item .menu-item-image,
.mega-menu-image,
.rb-menu-thumb {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: var(--rb-radius);
  margin-bottom: 12px;
  display: block;
  background: var(--rb-gray-100);
}

/* Menu items with image + text layout */
.kadence-mega-menu .has-image,
.rb-menu-image-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.kadence-mega-menu .has-image a,
.rb-menu-image-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-text);
}

/* Image grid layout inside mega menu */
.rb-menu-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 125px);
  gap: 24px;
}

.rb-menu-image-grid .rb-menu-image-item {
  text-align: center;
}

.rb-menu-image-grid .rb-menu-image-item img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  border-radius: var(--rb-radius);
  margin-bottom: 8px;
  background: var(--rb-white);
  border: 1px solid var(--rb-gray-200);
}

.rb-menu-image-grid .rb-menu-image-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--rb-text);
  display: block;
}

/* Featured content area in mega menu */
.rb-mega-featured {
  background: var(--rb-white);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.08);
}

.rb-mega-featured img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 16px;
}

.rb-mega-featured h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--rb-text);
}

.rb-mega-featured p {
  font-size: 13px;
  color: var(--rb-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.rb-mega-featured a {
  font-size: 13px;
  font-weight: 600;
  color: var(--rb-text);
  border-bottom: 1px solid var(--rb-text);
  text-decoration: none;
}

/* Kadence-specific mega menu overrides */
.header-navigation[class*="header-navigation"] .header-menu-container ul ul.sub-menu {
  background: #f7f3f1 !important;
  box-shadow: none !important;
  border-radius: var(--rb-radius) !important;
}

#masthead .kadence-mega-menu > ul > li.menu-item > a {
  background: none !important;
  padding: 8px 0 !important;
}

#masthead .kadence-mega-menu > ul > li.menu-item > a:hover {
  background: none !important;
  text-decoration: underline;
}

/* Arrow indicators for items with children */
.main-navigation .menu-item-has-children > a::after,
.header-navigation .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Mobile menu — Axis clean style */
@media (max-width: 1024px) {
  .mobile-navigation ul li a,
  .header-mobile-nav .menu li a {
    font-size: 15px;
    font-weight: 400;
    color: var(--rb-text);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .mobile-navigation ul li a:hover,
  .header-mobile-nav .menu li a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--rb-black);
  }

  .mobile-navigation ul ul,
  .header-mobile-nav .sub-menu {
    background: #f7f3f1 !important;
    padding: 0 !important;
  }

  .mobile-navigation ul ul li a,
  .header-mobile-nav .sub-menu li a {
    padding-left: 36px;
    font-size: 14px;
  }
}


/* =============================================
   AXIS-STYLE IMAGE USAGE
   ============================================= */

/* Full-bleed hero images — edge to edge like Axis */
.rb-hero-image-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Image with text overlay (Axis product hero pattern) */
.rb-image-overlay-section {
  position: relative;
  overflow: hidden;
  background: var(--rb-gray-100);
}

.rb-image-overlay-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rb-image-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--rb-text-inverse);
}

.rb-image-overlay-content h2 {
  color: var(--rb-text-inverse);
  font-size: 32px;
  margin-bottom: 12px;
}

.rb-image-overlay-content p {
  color: var(--rb-text-inverse-muted);
  font-size: 16px;
  max-width: 520px;
}

/* Side-by-side image + text (Axis 50/50 split) */
.rb-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin: 60px 0;
}

.rb-split-image {
  overflow: hidden;
  background: var(--rb-gray-100);
}

.rb-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rb-split-text {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rb-split-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.rb-split-text p {
  font-size: 16px;
  color: var(--rb-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Product image grid — clean, no borders (Axis product browsing) */
.rb-product-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.rb-product-image-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--rb-gray-100);
}

.rb-product-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.3s ease;
}

.rb-product-image-card:hover img {
  transform: scale(1.05);
}

.rb-product-image-card .rb-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: rgba(255,255,255,0.95);
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-text);
}

/* Inline product photos — consistent white background (Axis product detail) */
.woocommerce div.product div.images,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  background: var(--rb-white);
}

.woocommerce div.product div.images img {
  border-radius: var(--rb-radius);
  border: 1px solid var(--rb-gray-200);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  border-radius: var(--rb-radius);
  border: 1px solid var(--rb-gray-200);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: var(--rb-black);
}

/* Category banner images — full width with text overlay */
.rb-category-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  margin-bottom: 40px;
}

.rb-category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-category-banner .rb-banner-content {
  position: absolute;
  bottom: 40px;
  left: 48px;
}

.rb-category-banner .rb-banner-content h1 {
  color: var(--rb-text-inverse);
  font-size: 40px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive image adjustments */
@media (max-width: 1024px) {
  .rb-split-section { grid-template-columns: 1fr; }
  .rb-split-image { height: 300px; }
  .rb-split-text { padding: 36px 24px; }
  .rb-product-image-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-menu-image-grid { grid-template-columns: repeat(3, 100px); gap: 16px; }
}

@media (max-width: 768px) {
  .rb-hero-image-full { height: 280px; }
  .rb-image-overlay-content { padding: 24px; }
  .rb-image-overlay-content h2 { font-size: 24px; }
  .rb-product-image-grid { grid-template-columns: 1fr 1fr; }
  .rb-category-banner { height: 200px; }
  .rb-category-banner .rb-banner-content { left: 24px; bottom: 24px; }
  .rb-category-banner .rb-banner-content h1 { font-size: 28px; }
  .rb-menu-image-grid { grid-template-columns: repeat(2, 100px); }
}


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

.site-footer {
  font-size: 14px;
  border-top: 1px solid var(--rb-gray-200);
}

.site-footer a {
  color: var(--rb-text-light);
}

.site-footer a:hover {
  color: var(--rb-text);
}


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

@media (max-width: 1024px) {
  .rb-hero h1 { font-size: 40px; }
  .rb-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rb-trust-bar { grid-template-columns: repeat(3, 1fr); }
  .rb-category-grid { grid-template-columns: repeat(3, 1fr); }
  .rb-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rb-hero { padding: 60px 0 48px; }
  .rb-hero h1 { font-size: 32px; }
  .rb-hero p { font-size: 16px; }
  .rb-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .rb-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .rb-category-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-why-grid { grid-template-columns: 1fr; }
  .rb-trust-strip { grid-template-columns: 1fr; }
  .rb-bulk-banner { flex-direction: column; text-align: center; gap: 24px; padding: 36px 24px; }
  .rb-enterprise-cta { padding: 48px 24px; }
  .rb-cta-buttons { flex-direction: column; align-items: center; }
  .rb-key-specs ul { grid-template-columns: 1fr; }
  .rb-short-features { grid-template-columns: 1fr; }
  .single-product .summary .price { font-size: 28px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}

@media (max-width: 580px) {
  .rb-hero { padding: 40px 0 32px; }
  .rb-hero h1 { font-size: 28px; }
  .rb-hero-cta-row { flex-direction: column; gap: 16px; }
  .rb-hero-cta-row a { text-align: center; }
  .rb-hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .rb-hero-stat strong { font-size: 24px; }
  .rb-category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
