/* ==========================================================================
   buildashelf v5 — store primitives.
   Ported from dt-the7-child (style.css utilities + layout.css breadcrumb and
   section wrapper) because the Elementor theme-builder store templates 15-18
   and the About page markup use these classes. Colours/fonts resolve through
   the v5 tokens (and the legacy aliases) in assets/css/base.css.
   Loaded on WooCommerce pages and the About page only.
   ========================================================================== */

/* ==========================================================================
   TYPOGRAPHY — Eyebrows, mono labels, long-copy helpers
   ========================================================================== */

/* Mono eyebrow / label — applied via .bas-eyebrow utility class */
.bas-eyebrow {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    500;
  text-transform: uppercase;
  letter-spacing: 1.75px;
  color:          var(--warm-mid);
}

/* Mono section eyebrow — slightly wider tracking for section headers. */
.bas-section-eyebrow {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:          var(--warm-mid);
  margin-bottom:  8px;
}

/* Serif section title — homepage / related-product section headings. */
.bas-section-title {
  font-family:    var(--font-display);
  font-size:      34px;
  font-weight:    400;
  letter-spacing: -0.5px;
  color:          var(--ink);
  line-height:    1.15;
}
.bas-section-title em { color: var(--rust); font-style: italic; }

/* Prose / long-copy — DM Sans 300, looser leading for body paragraphs. */
.bas-prose {
  font-size:   15px;
  font-weight: 300;
  color:       var(--ink-mid);
  line-height: 1.8;
  max-width:   720px;
}
.bas-prose p       { margin-bottom: 16px; }
.bas-prose p:last-child { margin-bottom: 0; }
.bas-prose strong  { font-weight: 500; color: var(--ink); }

/* ==========================================================================
   BUTTONS / CTAs
   Three variants per DESIGN-BRIEF: primary (ink), secondary (rust), outline.
   Radius: 8px. Font: DM Sans 500 (medium).
   ========================================================================== */

.bas-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-body);
  font-size:       15px;
  font-weight:     500;
  border-radius:   8px;
  padding:         12px 24px;
  border:          1px solid transparent;
  cursor:          pointer;
  transition:      background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space:     nowrap;
  text-decoration: none;
}

/* Primary — ink fill, cream text ("Add to cart") */
.bas-btn--primary {
  background-color: var(--ink);
  color:            var(--cream);
  border-color:     var(--ink);
}
.bas-btn--primary:hover {
  background-color: var(--ink-mid);
  border-color:     var(--ink-mid);
  color:            var(--cream);
}

/* Secondary — rust fill, white text ("Buy it now") */
.bas-btn--secondary {
  background-color: var(--rust);
  color:            #ffffff;
  border-color:     var(--rust);
}
.bas-btn--secondary:hover {
  background-color: var(--rust-soft);
  border-color:     var(--rust-soft);
  color:            #ffffff;
}

/* Outline — transparent bg, linen-dark border ("Request a quote") */
.bas-btn--outline {
  background-color: transparent;
  color:            var(--ink);
  border-color:     var(--linen-dark);
}
.bas-btn--outline:hover {
  border-color: var(--chrome);
  color:        var(--ink);
}

/* ==========================================================================
   CARDS
   linen or white fill, 0.5px linen-dark border, 10–14px radius.
   Border shifts to --chrome on hover — no shadow.
   ========================================================================== */

.bas-card {
  background-color: var(--linen);
  border:           0.5px solid var(--linen-dark);
  border-radius:    12px;
  transition:       border-color 0.15s ease;
}

.bas-card:hover {
  border-color: var(--chrome);
}

.bas-card--white {
  background-color: var(--white);
}

/* ==========================================================================
   COMPONENT STYLESHEETS — split for the 500-line file cap
   The following component groups live in assets/css/ and are enqueued by
   functions.php in dependency order (parent -> style.css -> these):
     - layout.css       header/nav, topbar, breadcrumb, footer, marquee, sections
     - product.css      product page upper — layout, gallery, info panel,
                        configurator, CTA stack, trust grid, quick specs
     - product-tabs.css product page lower — tabbed specs, reviews, related cards
     - components.css   homepage upper — hero, category grid, how-it-works
     - homepage.css     homepage lower — featured products, USA banner,
                        testimonials, email capture, scroll-reveal helpers
   Keep this file limited to tokens, base, typography, buttons, cards, and the
   shared utilities below so the theme header + token source stay in one place.
   ========================================================================== */

/* ==========================================================================
   UTILITY — Hairline divider, badges
   ========================================================================== */

.bas-divider {
  border:     none;
  border-top: 0.5px solid var(--linen-dark);
  margin:     0;
}

/* Savings chip / in-stock badge */
.bas-badge {
  font-family:      var(--font-mono);
  font-size:        9px;
  font-weight:      500;
  text-transform:   uppercase;
  letter-spacing:   1.5px;
  border-radius:    4px;
  padding:          3px 6px;
  display:          inline-block;
}

.bas-badge--savings {
  background-color: var(--sage-light);
  color:            var(--sage);
}

.bas-badge--instock {
  background-color: var(--sage-light);
  color:            var(--sage);
}

.bas-badge--sku {
  background-color: transparent;
  color:            var(--warm-mid);
  padding:          0;
  letter-spacing:   2px;
}

/* ==========================================================================
   BREADCRUMB
   Mono uppercase trail under the nav on interior pages.
   ========================================================================== */

.bas-breadcrumb {
  padding:        14px 48px;
  font-family:    var(--font-mono);
  font-size:      10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          var(--warm-mid);
  border-bottom:  0.5px solid var(--linen);
  display:        flex;
  align-items:    center;
  gap:            8px;
}
.bas-breadcrumb a               { color: var(--warm-mid); transition: color 0.15s ease; }
.bas-breadcrumb a:hover         { color: var(--ink-mid); }
.bas-breadcrumb .bas-breadcrumb__sep { color: var(--linen-dark); }
.bas-breadcrumb .bas-breadcrumb__current { color: var(--ink-mid); }

/* ==========================================================================
   SECTION WRAPPER
   Centered max-width container shared by homepage + related-product blocks.
   ========================================================================== */

.bas-section {
  max-width: 1200px;
  margin:    0 auto;
  padding:   80px 56px;
}

.bas-section__header {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  margin-bottom:   36px;
  gap:             24px;
}

/* Mono "view all" link with blush underline. */
.bas-section__link {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          var(--rust);
  border-bottom:  1px solid var(--blush);
  padding-bottom: 2px;
  flex-shrink:    0;
  transition:     border-color 0.15s ease;
}
.bas-section__link:hover { border-color: var(--rust); }


@media (max-width: 1024px) {
  .bas-section        { padding: 64px 32px; }
  .bas-breadcrumb     { padding: 14px 32px; }
}
@media (max-width: 768px) {
  .bas-section        { padding: 48px 20px; }
  .bas-section__header{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .bas-breadcrumb     { padding: 12px 20px; flex-wrap: wrap; }
}
