/* Tectronis commerce shell and WooCommerce presentation. */

:root {
  --store-header-bg: rgba(255,255,255,.96);
  --store-navy: #0b1f36;
  --store-navy-2: #102c4a;
  --store-blue: #0873c2;
  --store-cyan: #22d3ee;
  --store-surface: #f5f8fb;
  --store-soft: #e9f1f7;
  --store-line: #d7e2ec;
  --store-muted: #5a6b7d;
  --store-white: #fff;
  --store-danger: #b42318;
  --store-success: #147d64;
  --store-radius: .85rem;
  --store-shadow: 0 16px 42px rgba(11,31,54,.10);
}

.store-utility {
  background: var(--store-navy);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
}
.store-utility a { color: inherit; text-decoration: none; }
.store-utility a:hover,
.store-utility a:focus-visible { color: var(--store-white); }
.store-utility__inner,
.store-utility__left,
.store-utility__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.store-utility__inner {
  min-height: 2.35rem;
  justify-content: space-between;
}
.store-utility__right { justify-content: flex-end; }

.store-languages ul {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-languages a,
.store-languages .current-lang span {
  display: inline-flex;
  min-width: 2rem;
  min-height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: .45rem;
  color: inherit;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.store-languages .current-lang a,
.store-languages .current-lang span { background: rgba(255,255,255,.12); color: #fff; }

.store-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: var(--store-header-bg);
  border-bottom: 1px solid var(--store-line);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}
.admin-bar .store-header { top: 32px; }
.store-header.is-scrolled { box-shadow: 0 10px 34px rgba(11,31,54,.08); }

.store-header__main {
  display: grid;
  grid-template-columns: minmax(130px, 190px) auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: .8rem;
  min-height: 5.3rem;
}
.store-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.store-brand__desktop,
.store-brand__mobile { display: inline-flex; align-items: center; }
.store-brand__mobile { display: none; }
.store-brand__logo {
  display: block;
  width: min(182px, 100%);
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}
.store-brand__icon {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.tectronis-wordmark { color: var(--store-navy); font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; }

.catalog-trigger {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--store-navy);
  border-radius: var(--store-radius);
  padding: .65rem .9rem;
  background: var(--store-navy);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-trigger svg { width: 20px; height: 20px; }
.catalog-trigger:hover { background: var(--store-blue); border-color: var(--store-blue); color: #fff; }

.store-header__search { min-width: 0; }
.store-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #b7c7d6;
  border-radius: var(--store-radius);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.store-search:focus-within {
  border-color: var(--store-blue);
  box-shadow: 0 0 0 3px rgba(8,115,194,.12);
}
.store-search__icon {
  width: 19px;
  height: 19px;
  margin-left: .85rem;
  color: var(--store-muted);
}
.store-search__input {
  min-width: 0;
  min-height: 46px;
  border: 0;
  outline: 0;
  padding: 0 .75rem;
  background: transparent;
  color: var(--store-navy);
  font: inherit;
  font-size: .9rem;
}
.store-search__input::placeholder { color: #7b8997; }
.store-search__submit {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--store-line);
  padding: 0 1rem;
  background: var(--store-soft);
  color: var(--store-navy);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
}
.store-search__submit:hover { background: #dceaf4; }

.store-header__actions {
  display: flex;
  align-items: stretch;
  gap: .15rem;
}
.header-action {
  position: relative;
  display: inline-flex;
  min-width: 58px;
  min-height: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  border-radius: .7rem;
  padding: .35rem .5rem;
  color: var(--store-navy);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
}
.header-action:hover { background: var(--store-soft); color: var(--store-blue); }
.header-action svg { width: 21px; height: 21px; }
.header-action__icon-wrap,
.mobile-bottom-nav__cart-icon { position: relative; display: inline-flex; }
.header-action__badge,
.mobile-bottom-nav__badge {
  position: absolute;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--store-blue);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
}
.header-action__badge { top: -9px; right: -10px; }
.mobile-bottom-nav__badge { top: -8px; right: -10px; }

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--store-line);
  border-radius: .7rem;
  background: #fff;
  color: var(--store-navy);
}
.mobile-menu-toggle svg { width: 23px; height: 23px; }
.mobile-menu-toggle__close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__open { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__close { display: block; }

.store-header__nav-row {
  display: flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(215,226,236,.82);
}
.store-header__nav-row .site-nav { min-width: 0; }
.store-header__nav-row .site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-header__nav-row .site-nav__list > li { margin: 0; }
.store-header__nav-row .site-nav__list a,
.site-nav__corporate-link {
  color: var(--store-muted);
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.store-header__nav-row .site-nav__list a:hover,
.store-header__nav-row .site-nav__list .current-menu-item > a,
.site-nav__corporate-link:hover { color: var(--store-blue); }
.site-nav__corporate-link {
  flex: 0 0 auto;
  padding-left: 1rem;
  border-left: 1px solid var(--store-line);
}

.store-mobile-menu {
  border-top: 1px solid var(--store-line);
  background: #fff;
}
.store-mobile-menu[hidden] { display: none !important; }
.store-mobile-menu__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding-block: 1.2rem 1.5rem;
}
.store-mobile-menu ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .25rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-mobile-menu li { margin: 0; }
.store-mobile-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: .55rem;
  padding: .5rem .65rem;
  color: var(--store-navy);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}
.store-mobile-menu a:hover { background: var(--store-soft); color: var(--store-blue); }
.store-mobile-menu__meta {
  display: grid;
  align-content: start;
  gap: .55rem;
  color: var(--store-muted);
  font-size: .8rem;
}
.store-mobile-menu__meta a { min-height: auto; padding: 0; }

.mobile-bottom-nav { display: none; }

/* Footer */
.store-footer {
  margin-top: clamp(4rem,7vw,7rem);
  background:
    radial-gradient(circle at 86% 10%, rgba(34,211,238,.13), transparent 22rem),
    linear-gradient(145deg, #102c4a, #071522);
  color: rgba(255,255,255,.74);
}
.store-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px,1.7fr) repeat(3,minmax(150px,1fr));
  gap: clamp(1.5rem,4vw,4rem);
  padding-block: 4rem 3rem;
}
.store-footer h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.store-footer ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.store-footer li { margin: 0; }
.store-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.store-footer a:hover { color: var(--store-cyan); }
.store-footer__brand > a { display: inline-flex; }
.store-footer__logo {
  display: block;
  width: min(210px,100%);
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}
.store-footer__brand p { max-width: 34rem; color: rgba(255,255,255,.62); line-height: 1.65; }
.store-footer__contact { display: grid; gap: .45rem; font-size: .85rem; }
.store-footer__legal {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
}
.store-footer__legal-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* WooCommerce catalog */
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  color: var(--store-muted);
  font-size: .78rem;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--store-blue); }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 1.2rem; }
.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid var(--store-line);
  border-radius: .65rem;
  padding: .45rem .7rem;
  background: #fff;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  width: auto !important;
  min-width: 0;
  height: 100%;
  float: none !important;
  flex-direction: column;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 1rem;
  padding: .9rem;
  background: #fff;
  box-shadow: 0 7px 24px rgba(11,31,54,.045);
}
.woocommerce ul.products li.product:hover {
  border-color: #a9c8de;
  box-shadow: var(--store-shadow);
}
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 .85rem;
  object-fit: contain;
  background: #fff;
}
.tectronis-product-brand {
  margin-bottom: .2rem;
  color: var(--store-blue);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.4em;
  margin: 0;
  padding: .25rem 0;
  color: var(--store-navy);
  font-size: .96rem;
  line-height: 1.35;
}
.tectronis-product-specs {
  display: grid;
  gap: .28rem;
  margin: .45rem 0 .25rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.tectronis-product-specs li {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: .4rem;
  margin: 0 !important;
  color: var(--store-muted);
  font-size: .68rem;
  line-height: 1.35;
}
.tectronis-product-specs strong {
  overflow: hidden;
  color: var(--store-navy);
  font-weight: 650;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.woocommerce ul.products li.product .price {
  margin-top: auto;
  padding-top: .65rem;
  color: var(--store-navy);
  font-size: 1rem;
  font-weight: 800;
}
.woocommerce ul.products li.product .price del { color: #83909d; font-size: .8rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 42px;
  margin-top: .75rem;
  border-radius: .65rem;
  background: var(--store-navy);
  color: #fff;
  text-align: center;
}
.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  left: .8rem;
  top: .8rem;
  border-radius: .45rem;
  padding: .35rem .5rem;
  background: var(--store-danger);
  line-height: 1;
}

/* Single product */
.woocommerce div.product {
  color: var(--store-navy);
}
.woocommerce div.product div.images img {
  border-radius: 1rem;
  background: #fff;
  object-fit: contain;
}
.woocommerce div.product div.summary {
  padding: clamp(1rem,2.5vw,2rem);
  border: 1px solid var(--store-line);
  border-radius: 1rem;
  background: #fff;
}
.woocommerce div.product .product_title {
  margin-top: 0;
  font-size: clamp(1.7rem,3vw,2.6rem);
  line-height: 1.1;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--store-navy);
  font-size: 1.45rem;
  font-weight: 800;
}
.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.woocommerce .quantity .qty {
  min-height: 46px;
  border: 1px solid var(--store-line);
  border-radius: .65rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 2rem 0 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: 1px solid var(--store-line);
  border-radius: .65rem .65rem 0 0;
  background: var(--store-soft);
}
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 1.5rem;
  border: 1px solid var(--store-line);
  border-radius: 0 1rem 1rem 1rem;
  background: #fff;
}

/* Cart / checkout / account */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  width: min(1180px,calc(100% - 2rem));
  margin-inline: auto;
}
.woocommerce table.shop_table,
.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content {
  border: 1px solid var(--store-line);
  border-radius: 1rem;
  background: #fff;
}
.woocommerce table.shop_table { overflow: hidden; }
.woocommerce table.shop_table th { background: var(--store-soft); }
.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content { padding: 1rem; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 46px;
  border: 1px solid #b8c7d5;
  border-radius: .65rem;
  padding: .65rem .75rem;
  background: #fff;
}
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
  min-height: 44px;
  border-radius: .65rem !important;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-radius: .75rem;
  border-top: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11,31,54,.06);
}
.woocommerce-info { border-left: 4px solid var(--store-blue); }
.woocommerce-message { border-left: 4px solid var(--store-success); }
.woocommerce-error { border-left: 4px solid var(--store-danger); }

body.tectronis-checkout .store-utility,
body.tectronis-checkout .store-header__nav-row,
body.tectronis-checkout .store-header__actions .header-action:not(.header-action--cart),
body.tectronis-checkout .catalog-trigger {
  display: none;
}
body.tectronis-checkout .store-header__main {
  grid-template-columns: minmax(140px,190px) 1fr auto;
}
body.tectronis-checkout .store-header__search { grid-column: 2; }

/* Main commerce surfaces and search */
.commerce-main { padding-block: clamp(2rem,5vw,4.5rem); }
.commerce-main__inner { min-width: 0; }

.search-commerce__header {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.8fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.search-commerce__header h1 {
  max-width: 18ch;
  margin: .45rem 0 0;
  font-size: clamp(1.8rem,4vw,3.3rem);
}
.search-product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
}
.search-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--store-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 7px 24px rgba(11,31,54,.045);
}
.search-product-card__media {
  display: grid;
  aspect-ratio: 1/1;
  place-items: center;
  padding: .9rem;
  background: #fff;
}
.search-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.search-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 .9rem .9rem;
}
.search-product-card__brand {
  color: var(--store-blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.search-product-card__title {
  min-height: 2.8em;
  margin: .35rem 0 .65rem;
  font-size: .96rem;
  line-height: 1.4;
}
.search-product-card__title a { color: var(--store-navy); text-decoration: none; }
.search-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  color: var(--store-muted);
  font-size: .7rem;
}
.search-product-card__stock { font-weight: 700; }
.search-product-card__stock--in_stock { color: var(--store-success); }
.search-product-card__stock--out_of_stock { color: var(--store-danger); }
.search-product-card__stock--on_backorder { color: #8a5b00; }
.search-product-card__footer {
  display: grid;
  gap: .7rem;
  margin-top: auto;
  padding-top: .9rem;
}
.search-product-card__price { color: var(--store-navy); font-size: 1rem; font-weight: 800; }
.search-product-card__price del { color: #83909d; font-size: .8rem; }
.search-product-card__price ins { text-decoration: none; }
.search-product-card__cta { width: 100%; }

.search-empty-state {
  display: grid;
  max-width: 680px;
  justify-items: center;
  margin: 2rem auto 0;
  padding: clamp(2rem,6vw,4rem);
  border: 1px solid var(--store-line);
  border-radius: 1.2rem;
  background: #fff;
  text-align: center;
}
.search-empty-state svg { width: 52px; color: var(--store-blue); }
.search-empty-state h2 { margin: 1rem 0 .5rem; }
.search-empty-state p { max-width: 36rem; margin: 0; }
.search-empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.3rem; }

@media (max-width: 960px) {
  .search-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .search-commerce__header { grid-template-columns: 1fr; gap: 1rem; }
  .search-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 360px) {
  .search-product-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1180px) {
  .store-header__main { grid-template-columns: 150px auto minmax(240px,1fr) auto; }
  .header-action { min-width: 44px; }
  .header-action > span:last-child { display: none; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .store-utility__left a:nth-child(2),
  .store-utility__hours { display: none; }
  .store-header__main {
    grid-template-columns: auto auto minmax(220px,1fr) auto;
    min-height: 4.9rem;
  }
  .store-brand__desktop { display: none; }
  .store-brand__mobile { display: inline-flex; }
  .store-header__nav-row .site-nav__list { gap: .75rem; }
  .store-header__nav-row .site-nav__list a,
  .site-nav__corporate-link { font-size: .74rem; }
}

@media (max-width: 800px) {
  .admin-bar .store-header { top: 46px; }
  body { padding-bottom: 68px; }
  .store-utility { display: none; }
  .store-header__main {
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: .55rem;
    min-height: auto;
    padding-block: .65rem;
  }
  .catalog-trigger { display: none; }
  .store-header__search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .store-header__actions .header-action:not(.header-action--cart) { display: none; }
  .store-header__actions { gap: .35rem; }
  .header-action--cart { min-width: 44px; min-height: 44px; padding: 0; }
  .header-action--cart > span:last-child { display: none; }
  .mobile-menu-toggle { display: grid; }
  .store-header__nav-row { display: none; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 95;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    min-height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--store-line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 28px rgba(11,31,54,.08);
    backdrop-filter: blur(16px);
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    border: 0;
    background: transparent;
    color: var(--store-muted);
    font: inherit;
    font-size: .61rem;
    font-weight: 650;
    text-decoration: none;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button:hover,
  .mobile-bottom-nav a:focus-visible,
  .mobile-bottom-nav button:focus-visible { color: var(--store-blue); }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .store-mobile-menu__inner { grid-template-columns: 1fr; gap: 1rem; }
  .store-mobile-menu__meta { border-top: 1px solid var(--store-line); padding-top: .9rem; }
  .store-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .store-footer__brand { grid-column: 1 / -1; }
  .store-footer__legal { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tectronis-checkout .store-header__main { grid-template-columns: auto 1fr auto; }
  body.tectronis-checkout .store-header__search { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .store-header__main { padding-block: .55rem; }
  .store-brand__icon { width: 34px; height: 34px; }
  .store-search { min-height: 44px; }
  .store-search__input { min-height: 42px; font-size: .84rem; }
  .store-search__submit { padding-inline: .7rem; font-size: .75rem; }
  .store-mobile-menu ul { grid-template-columns: 1fr; }
  .store-footer__grid { grid-template-columns: 1fr; padding-block: 3rem 2rem; }
  .store-footer__brand { grid-column: auto; }
  .store-footer__legal-links { display: grid; gap: .45rem; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: .65rem; border-radius: .8rem; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .84rem; }
  .woocommerce ul.products li.product .price { font-size: .9rem; }
  .woocommerce ul.products li.product .button { padding-inline: .5rem; font-size: .75rem; }
}

@media (max-width: 360px) {
  .site-frame { width: min(100% - 1rem,1180px); }
  .store-search__submit { display: none; }
  .store-search { grid-template-columns: auto minmax(0,1fr); }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button { font-size: .56rem; }
}

.t-home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(34,211,238,.16), transparent 32rem),
    linear-gradient(135deg, #081a2d 0%, #0d2947 58%, #0b4771 100%);
  color: #fff;
}
.t-home-hero .section-block { padding-block: clamp(3.4rem,7vw,6.4rem); }
.t-home-hero h1 {
  max-width: 850px;
  margin: .55rem 0 1rem;
  color: #fff;
  font-size: clamp(2.2rem,5vw,4.6rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.t-home-hero p:not(.t-badge) { max-width: 780px; color: rgba(255,255,255,.78); font-size: clamp(1rem,1.8vw,1.18rem); }
.t-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.t-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.t-section-heading h2 { margin: .2rem 0 0; }
.t-section-heading > a { color: var(--store-blue); font-weight: 700; text-decoration: none; }
.t-eyebrow { margin: 0; color: var(--store-blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.t-brand-cloud {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.25rem;
}
.t-brand-cloud span,
.t-brand-cloud a {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: #fff;
  color: var(--store-navy);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(11,31,54,.05);
}
.t-business-band {
  margin-block: 1rem;
  background: linear-gradient(120deg, var(--store-navy) 0%, var(--store-navy-2) 58%, #0b5c8f 100%);
  color: #fff;
}
.t-business-band .section-block { padding-block: clamp(2.8rem,5vw,4.5rem); }
.t-business-band h2 { max-width: 820px; margin: .45rem 0 .75rem; color: #fff; }
.t-business-band p:not(.t-eyebrow) { max-width: 820px; color: rgba(255,255,255,.78); }
.t-business-band .t-eyebrow { color: var(--store-cyan); }
.t-business-band .t-button { margin-top: 1rem; }

@media (max-width: 960px) {
  .t-brand-cloud { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .t-section-heading { align-items: flex-start; flex-direction: column; }
  .t-brand-cloud { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .t-home-hero h1 { line-height: 1.03; }
}

.store-fibosearch,
.store-fibosearch .dgwt-wcas-search-wrapp {
  width: 100%;
  max-width: none;
}
.store-fibosearch .dgwt-wcas-search-input {
  min-height: 48px;
  border-color: #b7c7d6;
  border-radius: var(--store-radius);
  background: #fff;
}
.store-fibosearch .dgwt-wcas-search-input:focus {
  border-color: var(--store-blue);
  box-shadow: 0 0 0 3px rgba(8,115,194,.12);
}
.t-brand-cloud a {
  color: var(--store-navy);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.t-brand-cloud a:hover,
.t-brand-cloud a:focus-visible {
  border-color: rgba(8,115,194,.42);
  box-shadow: 0 12px 28px rgba(11,31,54,.09);
  transform: translateY(-2px);
}
.t-contact-card {
  margin-top: 1.5rem;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  padding: clamp(1.15rem,3vw,2rem);
  background: #fff;
  box-shadow: 0 12px 36px rgba(11,31,54,.06);
}
.t-contact-card h2 { margin-top: 0; }
.t-contact-card a:not(.t-button) { color: var(--store-blue); font-weight: 700; }
.tectronis-b2b-form-wrap { margin-top: 1.5rem; }
.tectronis-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tectronis-form-grid p { margin: 0; }
.tectronis-b2b-form label { display: grid; gap: .4rem; color: var(--store-navy); font-weight: 650; }
.tectronis-b2b-form input:not([type="checkbox"]),
.tectronis-b2b-form textarea {
  width: 100%;
  border: 1px solid var(--store-line);
  border-radius: .65rem;
  padding: .8rem .9rem;
  background: #fff;
  color: var(--store-navy);
  font: inherit;
}
.tectronis-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 640px) {
  .tectronis-form-grid { grid-template-columns: 1fr; }
}

.tectronis-product-b2b { margin-top: .8rem; }
.tectronis-b2b-button {
  width: 100%;
  justify-content: center;
  border: 1px solid rgba(8,115,194,.3) !important;
  background: #eef7fc !important;
  color: var(--store-blue) !important;
}
.tectronis-b2b-button:hover,
.tectronis-b2b-button:focus-visible {
  border-color: var(--store-blue) !important;
  background: #e3f3fb !important;
}
.woocommerce-tabs .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.woocommerce-tabs .tabs li a { white-space: nowrap; }
.tectronis-product-info-tab {
  max-width: 820px;
  color: var(--store-muted);
  line-height: 1.72;
}
.tectronis-product-info-tab a {
  color: var(--store-blue);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .store-header,
  .store-search,
  .catalog-trigger,
  .header-action { transition: none !important; }
}
