/*
Theme Name:   BusGeriau Child
Theme URI:    https://busgeriau.lt
Description:  BusGeriau child theme — auto deploy test
Author:       BusGeriau
Template:     storefront
Version:      1.0.0
*/

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

:root {
  --navy-900:        #0a1628;
  --navy-800:        #0f1f3a;
  --navy-700:        #1a2f4f;
  --navy-100:        #e6ebf3;

  --bg-blue:         #1e40af;
  --bg-blue-d:       #16348f;
  --bg-blue-l:       #eef3fb;
  --bg-blue-2:       #2459c9;
  --bg-info-bg:      #d8e3f5;

  --bg-ink:          #0b1426;
  --bg-ink-2:        #2c3a52;
  --bg-gray:         #5b6b85;
  --bg-gray-2:       #94a3b8;
  --bg-gray-3:       #cbd5e1;
  --bg-border:       #e8ecf2;
  --bg-border-2:     #f1f4f8;
  --bg-surface:      #f7f9fc;
  --bg-white:        #ffffff;

  --bg-success:      #2f6b4f;
  --bg-success-bg:   #eef5f0;
  --bg-success-dot:  #3f9b73;
  --bg-danger:       #a64545;
  --bg-danger-bg:    #f9eded;
  --bg-warning:      #8a6a2a;
  --bg-warning-bg:   #f9f3e6;
  --bg-warning-dot:  #c79a3a;
  --bg-neut:         #475569;
  --bg-neut-bg:      #eef1f5;

  --fg-1:            var(--bg-ink);
  --fg-2:            var(--bg-gray);
  --fg-3:            var(--bg-gray-2);
  --fg-link:         var(--bg-blue);
  --fg-on-dark:      #ffffff;
  --fg-on-dark-2:    #9bb0cf;

  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:       ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;

  --fs-display:      clamp(2.2rem, 5vw, 3.4rem);
  --fs-h1:           clamp(1.6rem, 4vw, 2.1rem);
  --fs-h2:           clamp(1.3rem, 3vw, 1.5rem);
  --fs-h3:           1.05rem;
  --fs-body:         0.875rem;
  --fs-body-sm:      0.82rem;
  --fs-caption:      0.78rem;
  --fs-eyebrow:      0.72rem;

  --lh-heading:      1.2;
  --lh-body:         1.55;

  --tracking-tight:  -0.025em;
  --tracking-snug:   -0.015em;
  --tracking-eyebrow: 0.08em;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  --r-1: 4px;  --r-2: 6px;  --r-3: 8px;
  --r-4: 10px; --r-5: 12px; --r-6: 14px;

  --sh-sm:   0 1px 2px rgba(11,20,38,.06);
  --sh-md:   0 4px 12px rgba(11,20,38,.08);
  --sh-lg:   0 30px 60px -28px rgba(11,20,38,.15);

  --ease:       cubic-bezier(.4, 0, .2, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   500ms;

  /* Shop-specific */
  --shop-ink:        #07101e;
  --shop-ink-2:      #0e1b30;
  --shop-ink-3:      #18243d;
  --shop-line-dark:  rgba(255,255,255,.09);
  --shop-accent:     #1e40af;
  --shop-spark:      #ffb547;
  --shop-spark-2:    #f59e0b;

  --nav-h-shop:    64px;
  --top-strip-h:   34px;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans) !important;
  font-size: 14.5px;
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TOP STRIP
   ============================================================ */
.top-strip {
  background: var(--shop-ink);
  color: #c8d2e4;
  height: var(--top-strip-h);
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  z-index: 100;
}
.top-strip .ts-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.top-strip .ts-left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-strip .ts-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.16);
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.top-strip .ts-right {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8ea0c1;
}
.top-strip .ts-sep { color: #3a4f6a; }
.top-strip a { color: inherit; }
.top-strip a:hover { color: #fff; text-decoration: none; }

/* Remove old banner */
.top-delivery-banner { display: none !important; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
/* #masthead contains TWO direct children:
   1. div.col-full  → logo + search
   2. div.storefront-primary-navigation → nav + cart
   Make #masthead itself the flex row. */
#masthead,
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99 !important;
  background: rgba(255,255,255,.93) !important;
  backdrop-filter: saturate(180%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px) !important;
  border-bottom: 1px solid var(--bg-border) !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: var(--nav-h-shop) !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow: hidden !important;
}

/* Left section: logo + search */
#masthead > .col-full {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 24px 0 28px !important;
  overflow: visible !important;
}

/* Logo */
.site-header .site-branding {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.custom-logo {
  height: 40px !important;
  width: auto !important;
  max-width: none !important;
  filter: brightness(0);
}
.site-title {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
  color: var(--bg-ink) !important;
  margin: 0 !important;
}
.site-title a { color: inherit !important; text-decoration: none !important; }
.site-title a:hover { text-decoration: none !important; }

/* Search — inside left .col-full */
#masthead > .col-full .site-search {
  flex: 0 1 240px;
  min-width: 120px;
  margin: 0;
}
#masthead > .col-full .site-search button[type="submit"] {
  display: none !important;
}
#masthead > .col-full .site-search form {
  position: relative;
  margin: 0;
}
#masthead > .col-full .site-search form::before {
  display: none !important;
}
#masthead > .col-full .site-search input[type="search"] {
  height: 36px;
  border-radius: 9px !important;
  background: #f1f4f9 !important;
  border: 1px solid transparent !important;
  padding: 0 12px !important;
  font: inherit !important;
  font-size: 13px !important;
  color: var(--shop-ink) !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: all var(--dur-fast) var(--ease) !important;
}
#masthead > .col-full .site-search input[type="search"]:focus {
  background: #fff !important;
  border-color: var(--bg-blue) !important;
  box-shadow: 0 0 0 4px rgba(30,64,175,.10) !important;
  outline: none !important;
}

/* Right section: nav + cart — fills remaining width */
#masthead > .storefront-primary-navigation {
  flex: 1 !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 28px 0 0 !important;
  margin: 0 !important;
}

/* Inner col-full inside storefront-primary-navigation */
#masthead > .storefront-primary-navigation > .col-full {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Primary navigation */
.main-navigation {
  flex: 1;
  min-width: 0;
}
.main-navigation ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation ul li a {
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--bg-ink-2) !important;
  font-weight: 500;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -.005em;
  cursor: pointer;
  text-decoration: none !important;
}
.main-navigation ul li a:hover {
  background: #f1f4f9;
  color: var(--bg-ink) !important;
  text-decoration: none !important;
}
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
  color: var(--bg-blue) !important;
  background: var(--bg-blue-l) !important;
}

/* Cart link in header */
.site-header-cart {
  margin-left: auto;
  flex-shrink: 0;
}
.site-header-cart .cart-contents {
  background: var(--shop-ink) !important;
  color: #fff !important;
  padding: 0 16px 0 14px !important;
  height: 38px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -.005em !important;
  text-decoration: none !important;
}
.site-header-cart .cart-contents:hover {
  background: var(--shop-ink-2) !important;
  text-decoration: none !important;
}
.site-header-cart .count {
  background: var(--shop-spark) !important;
  color: var(--shop-ink) !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  padding: 2px 6px !important;
  border-radius: 100px !important;
  line-height: 1 !important;
}
.site-header-cart .amount {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 10px 18px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  letter-spacing: -.005em !important;
  transition: all var(--dur-fast) var(--ease) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  background: var(--bg-blue) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.button:hover {
  background: var(--bg-blue-d) !important;
  text-decoration: none !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--shop-ink) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--shop-ink-2) !important;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
ul.products li.product,
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}
ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
  border-color: var(--bg-gray-3);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(11,20,38,.22);
}

/* Product image */
.woocommerce ul.products li.product a img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border-radius: 14px 14px 0 0;
}

/* Product body */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--bg-ink) !important;
  letter-spacing: -.005em !important;
  padding: 14px 16px 0 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--bg-ink) !important;
  padding: 8px 16px !important;
}
.woocommerce ul.products li.product .price del {
  font-size: 12px !important;
  color: var(--bg-gray-2) !important;
  margin-left: 6px !important;
}

/* Add to cart button on product card */
.woocommerce ul.products li.product .button {
  margin: auto 16px 16px !important;
  border-radius: 9px !important;
  width: calc(100% - 32px) !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale {
  background: var(--bg-danger) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.woocommerce div.product .product_title {
  font-size: var(--fs-h1) !important;
  font-weight: 600 !important;
  letter-spacing: var(--tracking-tight) !important;
  color: var(--fg-1) !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-mono) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--bg-ink) !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--bg-gray) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 0 !important;
  border-bottom: 1px solid var(--bg-border) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600 !important;
  color: var(--bg-gray) !important;
  padding: 12px 16px !important;
  font-size: 13.5px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bg-blue) !important;
  border-bottom: 2px solid var(--bg-blue) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.woocommerce table.shop_table {
  border: 1px solid var(--bg-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.woocommerce table.shop_table th {
  background: var(--bg-surface) !important;
  color: var(--bg-ink-2) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
}
.woocommerce table.shop_table td {
  border-top: 1px solid var(--bg-border-2) !important;
  padding: 16px !important;
  vertical-align: middle !important;
}
.woocommerce table.shop_table .cart-subtotal th,
.woocommerce table.shop_table .order-total th {
  font-size: 14px !important;
}
.woocommerce table.shop_table .order-total .amount {
  font-family: var(--font-mono) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--bg-ink) !important;
}

/* Coupon / cart actions */
.woocommerce .coupon input[type="text"] {
  border-radius: 9px !important;
  border: 1px solid var(--bg-border) !important;
  padding: 10px 14px !important;
  font: inherit !important;
  font-size: 13.5px !important;
}

/* ============================================================
   FORMS
   ============================================================ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 9px !important;
  border: 1px solid var(--bg-border) !important;
  padding: 10px 14px !important;
  font: inherit !important;
  font-size: 13.5px !important;
  color: var(--bg-ink) !important;
  background: #fff !important;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--bg-blue) !important;
  box-shadow: 0 0 0 4px rgba(30,64,175,.10) !important;
  outline: none !important;
}

/* ============================================================
   TYPOGRAPHY OVERRIDES
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans) !important;
  letter-spacing: var(--tracking-tight) !important;
  color: var(--fg-1) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--shop-ink) !important;
  color: #9bb0cf !important;
  border-top: none !important;
}
.site-footer a { color: #9bb0cf !important; }
.site-footer a:hover { color: #fff !important; text-decoration: none !important; }
.site-footer .site-info { color: #6a7f9e !important; font-size: 12px !important; }
.site-footer h2.widget-title,
.site-footer .widget-title {
  color: #fff !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  font-family: var(--font-mono) !important;
}

/* ============================================================
   CHIPS / EYEBROW LABELS (utility classes for templates)
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-info-bg);
  color: var(--bg-blue);
  line-height: 1.4;
}
.chip-nasa {
  background: var(--shop-ink); color: var(--shop-spark);
  letter-spacing: .08em;
}
.chip-ok { background: var(--bg-success-bg); color: var(--bg-success); }
.chip-warn { background: var(--bg-warning-bg); color: var(--bg-warning); }
.chip-danger { background: var(--bg-danger-bg); color: var(--bg-danger); }

/* ============================================================
   BLUEPRINT DARK SECTIONS
   ============================================================ */
.blueprint {
  position: relative;
  background-color: var(--shop-ink);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blueprint::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(30,64,175,.25), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(255,181,71,.10), transparent 45%);
  pointer-events: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s var(--ease) both; }
.fade-up.d1 { animation-delay: .08s; }
.fade-up.d2 { animation-delay: .16s; }
.fade-up.d3 { animation-delay: .24s; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.blink { animation: blink 1.6s var(--ease) infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  #masthead > .col-full { gap: 8px !important; padding: 0 8px 0 16px !important; }
  #masthead > .storefront-primary-navigation { padding: 0 16px 0 0 !important; }
  .top-strip .ts-right { display: none; }
  .main-navigation { display: none; }
}

/* ============================================================
   HOMEPAGE — LAYOUT UTILITIES
   ============================================================ */
.wrap      { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 28px; }

.sec    { padding: 80px 0; }
.sec-sm { padding: 56px 0; }
.sec-dark { background: var(--shop-ink); color: #d8e0ec; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

.row     { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-2   { gap: 8px; }
.gap-3   { gap: 12px; }
.gap-4   { gap: 16px; }
.gap-5   { gap: 24px; }
.mt-2    { margin-top: 8px; }
.mt-3    { margin-top: 12px; }
.mt-4    { margin-top: 16px; }
.mt-5    { margin-top: 24px; }
.mt-6    { margin-top: 32px; }
.mt-7    { margin-top: 48px; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 12px 0 0;
  color: var(--bg-ink);
}
.section-lede {
  margin: 14px 0 0;
  max-width: 580px;
  color: var(--bg-gray);
  font-size: 15px;
  line-height: 1.6;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--bg-blue);
}
.eyebrow .bar { width: 18px; height: 1px; background: var(--bg-blue); display: inline-block; }
.eyebrow.on-dark { color: var(--shop-spark); }
.eyebrow.on-dark .bar { background: var(--shop-spark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-blue);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .arr { display: inline-block; transform: translateX(4px); }
.link-arrow .arr { display: inline-block; transition: transform var(--dur-fast) var(--ease); }

/* Standalone .btn (not WP .button) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  letter-spacing: -.005em;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary     { background: var(--bg-blue); color: #fff; }
.btn-primary:hover { background: var(--bg-blue-d); }
.btn-dark        { background: var(--shop-ink); color: #fff; }
.btn-dark:hover  { background: var(--shop-ink-2); }
.btn-spark       { background: var(--shop-spark); color: var(--shop-ink); }
.btn-spark:hover { background: var(--shop-spark-2); }
.btn-outline     { background: transparent; color: var(--bg-ink); border-color: var(--bg-border); }
.btn-outline:hover { background: #f1f4f9; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.18); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.btn-ghost       { background: transparent; color: var(--bg-ink); }
.btn-ghost:hover { background: #f1f4f9; }
.btn-lg  { padding: 14px 22px; font-size: 14px; border-radius: 10px; }
.btn-sm  { padding: 7px 12px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }

/* Crosshair corners */
.ch { position: absolute; width: 14px; height: 14px; color: rgba(255,255,255,.25); }
.ch::before, .ch::after { content: ""; position: absolute; background: currentColor; }
.ch::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.ch::after  { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.ch.tl { top: -7px; left: -7px; }
.ch.tr { top: -7px; right: -7px; }
.ch.bl { bottom: -7px; left: -7px; }
.ch.br { bottom: -7px; right: -7px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-nasa {
  background: var(--shop-ink);
  color: #d8e0ec;
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero-radials {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(255,181,71,.10), transparent 50%),
    radial-gradient(ellipse at 15% 70%, rgba(30,64,175,.25), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 72px;
  align-items: center;
}
.hero-copy { grid-column: 1; }
.telemetry-wrap { grid-column: 2; }
.hero-badges {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  opacity: .75;
  margin-top: 8px;
}
.hero-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero-badge-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--shop-spark);
  font-size: 16px;
  flex-shrink: 0;
}
.hero-badge-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.hero-badge-sub   { font-size: 11px; color: #7e8fb2; margin-top: 2px; }

.hero-eyebrow-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.hero-coords { font-size: 11px; color: #7e8fb2; letter-spacing: .1em; }
.hero-dot    { width: 6px; height: 6px; border-radius: 50%; background: var(--shop-spark); display: inline-block; margin-right: 4px; }
.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0;
  color: #fff;
}
.hero-accent { color: var(--shop-spark); }
.hero-lead {
  margin-top: 22px; max-width: 520px;
  font-size: 16.5px; line-height: 1.65;
  color: #a7b6d2;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-ctas .woocommerce { display: contents; }
.hero-ctas .button,
.hero-ctas a.button {
  background: var(--shop-spark) !important;
  color: var(--shop-ink) !important;
  font-size: 14px !important;
  padding: 14px 22px !important;
  border-radius: 10px !important;
}
.hero-reassure {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #a7b6d2;
  letter-spacing: .04em;
}
.hero-check { color: #4ade80; margin-right: 6px; }

/* Telemetry card */
.telemetry-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  backdrop-filter: blur(20px);
}
.tc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tc-id     { font-size: 10.5px; color: #7e8fb2; letter-spacing: .12em; }
.tc-status { font-size: 10.5px; color: #4ade80; letter-spacing: .1em; display: flex; align-items: center; }
.tc-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
}
.tc-img { border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-img-placeholder { display: flex; align-items: center; justify-content: center; padding: 16px; }
.tc-cert  { font-size: 10.5px; color: #7e8fb2; letter-spacing: .08em; }
.tc-title { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 4px; line-height: 1.25; }
.tc-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tc-price { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.tc-price .woocommerce-Price-amount { font-size: inherit; color: inherit; }
.tc-old   { font-size: 13px; color: #7e8fb2; text-decoration: line-through; }
.tc-readouts {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; overflow: hidden;
}
.tc-readout     { padding: 14px 16px; }
.tc-readout.mid { border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); }
.tc-rl { font-size: 9.5px; letter-spacing: .12em; color: #7e8fb2; }
.tc-rv { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.tc-rv .mono { font-size: 17px; color: #fff; font-weight: 600; letter-spacing: -.01em; }
.tc-actions {
  display: flex; gap: 8px; margin-top: 14px;
}
.tc-actions .woocommerce      { flex: 1; }
.tc-actions .button,
.tc-actions a.button {
  width: 100% !important;
  background: var(--shop-spark) !important;
  color: var(--shop-ink) !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  padding: 11px 14px !important;
}
.tc-tx { margin-top: 14px; font-size: 10.5px; color: #7e8fb2; letter-spacing: .06em; text-align: center; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--bg-border);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--bg-ink-2);
}
.trust-ico { font-size: 16px; color: var(--bg-blue); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats-sec { padding-bottom: 40px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none !important;
  transition: all var(--dur-base) var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cat-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.cat-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cat-meta {
  position: absolute;
  bottom: 18px; left: 22px; right: 22px;
  color: #fff;
}
.cat-ref   { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,.7); letter-spacing: .12em; margin-bottom: 6px; }
.cat-title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.cat-icon  { position: absolute; top: 20px; right: 20px; font-size: 24px; color: rgba(255,255,255,.4); }
.cat-foot  {
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  background: #fff;
}
.cat-desc  { font-size: 13px; color: var(--bg-gray); }

/* ============================================================
   FLAGSHIP SPOTLIGHT
   ============================================================ */
.flagship-sec { padding-top: 40px; background: linear-gradient(180deg,#fff 0%,#f7f9fc 100%); }
.flagship-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 0;
  overflow: hidden;
  background: var(--shop-ink);
  color: #fff;
  border-color: transparent;
  border-radius: 14px;
}
.flagship-left {
  padding: 56px;
  position: relative;
}
.flagship-eyebrow-row {
  display: flex; gap: 12px; align-items: center; margin-bottom: 18px;
}
.flagship-title {
  font-size: 34px; font-weight: 600;
  letter-spacing: -.025em; margin: 0; color: #fff; line-height: 1.15;
}
.flagship-desc {
  margin-top: 14px; color: #9bb0cf;
  font-size: 15px; max-width: 460px; line-height: 1.65;
}
.flagship-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  max-width: 520px;
}
.flagship-stat { border-left: 2px solid var(--shop-spark); padding-left: 14px; }
.flagship-stat-n { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.flagship-stat-l { font-size: 11.5px; color: #7e8fb2; margin-top: 2px; }
.flagship-actions {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.flagship-actions .woocommerce { display: contents; }
.flagship-actions .button,
.flagship-actions a.button {
  background: var(--shop-spark) !important;
  color: var(--shop-ink) !important;
  font-size: 14px !important;
  padding: 14px 22px !important;
  border-radius: 10px !important;
}
.flagship-right {
  position: relative;
  background: linear-gradient(135deg,#f7f9fc,#e6ebf3);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  min-height: 340px;
}
.flagship-img { max-height: 320px; object-fit: contain; }
.flagship-img-ph { display: flex; align-items: center; justify-content: center; }
.flagship-disc-badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--shop-spark); color: var(--shop-ink);
  padding: 8px 12px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  transform: rotate(8deg);
  border: 2px solid var(--shop-ink);
}

/* ============================================================
   BESTSELLERS
   ============================================================ */
.bestsellers-sec { padding-top: 40px; }
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bestsellers-grid .product-card { height: 100%; }
.pc-img-link { display: block; position: relative; }
.pc-img-link img,
.pc-img { aspect-ratio: 1/1; object-fit: cover; width: 100%; border-radius: 14px 14px 0 0; }
.nasa-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--shop-ink); color: var(--shop-spark);
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 4px;
  z-index: 2;
}
.disc-tag {
  position: absolute; top: 10px; right: 10px;
  background: var(--bg-danger); color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.pc-sku { font-family: var(--font-mono); font-size: 10.5px; color: var(--bg-gray-2); letter-spacing: .06em; margin-bottom: 4px; }
.pc-price .woocommerce-Price-amount { font-size: inherit; color: inherit; }
.pc-old .woocommerce-Price-amount   { font-size: inherit; color: inherit; }

/* ============================================================
   NASA STORY
   ============================================================ */
.nasa-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.nasa-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.nasa-fact  { display: flex; gap: 14px; align-items: flex-start; }
.nasa-check { color: var(--bg-success); font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.nasa-fact-title { font-weight: 600; color: var(--bg-ink); }
.nasa-fact-sub   { font-size: 13.5px; color: var(--bg-gray); margin-top: 2px; }
.nasa-cert-panel {
  background: var(--shop-ink);
  border-radius: 16px; padding: 32px;
  color: #fff; position: relative; overflow: hidden;
}
.nasa-cert-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.nasa-cert-badge { text-align: center; padding: 32px 0; }
.nasa-cert-badge svg { display: block; margin: 0 auto; }
.nasa-cert-kv {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

/* ============================================================
   BENEFITS / SPECS
   ============================================================ */
.benefits-sec {
  background: var(--shop-ink);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
}
.benefit-cell {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.benefit-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: #7e8fb2; }
.benefit-value {
  font-family: var(--font-mono);
  font-size: 42px; font-weight: 700;
  color: var(--shop-spark);
  letter-spacing: -.025em;
  line-height: 1;
  margin: 12px 0 6px;
}
.benefit-sub { font-size: 12.5px; color: #9bb0cf; line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-sec { background: var(--bg-surface); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.testi-card {
  background: #fff; border: 1px solid var(--bg-border);
  border-radius: 14px; padding: 28px; position: relative;
}
.testi-quote {
  position: absolute; top: 14px; right: 18px;
  font-size: 48px; color: var(--bg-blue-l); line-height: 1;
}
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 100px;
  background: var(--shop-ink); color: var(--shop-spark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.testi-name   { font-weight: 600; color: var(--bg-ink); }
.testi-role   { font-size: 11.5px; color: var(--bg-gray); letter-spacing: .04em; }
.testi-stars  { color: var(--shop-spark); letter-spacing: 2px; margin-left: auto; }
.testi-text   { margin: 0 0 0; font-size: 14.2px; line-height: 1.65; color: var(--bg-ink-2); }
.testi-rating { display: flex; align-items: center; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-sec { background: #fff; }
.newsletter-form {
  display: flex; gap: 10px;
  margin: 28px auto 0;
  max-width: 480px;
}
.newsletter-input {
  flex: 1; height: 46px; border-radius: 10px;
  border: 1px solid var(--bg-border); background: #fff;
  padding: 0 16px; font: inherit; font-size: 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.newsletter-input:focus {
  border-color: var(--bg-blue);
  box-shadow: 0 0 0 4px rgba(30,64,175,.10);
}

/* ============================================================
   HOMEPAGE — FULL WIDTH (no Storefront sidebar)
   ============================================================ */
.home .site-main,
.home .content-area,
.home #primary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}
.home .widget-area,
.home #secondary { display: none !important; }
.home .storefront-full-width-content .col-full { padding: 0 !important; }
.home .entry-header,
.home .page-header { display: none !important; }

/* Shop / archive full-width */
.woocommerce-page .site-main,
.archive .site-main,
.single-product .site-main {
  width: 100% !important; float: none !important; margin: 0 !important;
}
.woocommerce-page #secondary,
.archive #secondary,
.single-product #secondary { display: none !important; }

/* ============================================================
   RESPONSIVE — HOMEPAGE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-badges { grid-column: 1; }
  .telemetry-wrap { grid-column: 1; max-width: 500px; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .bestsellers-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship-card { grid-template-columns: 1fr; }
  .flagship-right { min-height: 240px; }
  .nasa-story-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-nasa { padding: 48px 0 64px; }
  .wrap-wide, .wrap, .wrap-narrow { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .hero-h1 { font-size: 2.1rem; }
  .flagship-left { padding: 32px; }
  .flagship-title { font-size: 24px; }
  .cats-grid { grid-template-columns: 1fr; }
  .bestsellers-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit-value { font-size: 30px; }
  .hero-badges { gap: 20px; justify-content: flex-start; }
}
