/* Phase 1 visual refresh for BioSistemas. Loaded after the original template CSS. */
:root {
  --bio-primary: #16834f;
  --bio-primary-dark: #0f5d3a;
  --bio-accent: #f6c744;
  --bio-ink: #1f2933;
  --bio-muted: #67737f;
  --bio-border: #dde5dc;
  --bio-surface: #f6f8f5;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--bio-ink);
  background: #fff;
}

.site,
.site__body,
.block,
.products-view,
.products-view__list,
.product,
.product__content {
  background: #fff;
}

a,
a:hover {
  color: var(--bio-primary);
}

.btn,
.form-control,
.card,
.product-card,
.dropcart,
.view-options,
.page-link {
  border-radius: 8px;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
  border-color: var(--bio-primary);
  background: var(--bio-primary);
  color: #fff;
  fill: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--bio-primary-dark);
  background: var(--bio-primary-dark);
  color: #fff;
}

.site-header__topbar {
  background: var(--bio-surface);
  border-bottom: 1px solid var(--bio-border);
}

.site-header__middle {
  min-height: 104px;
  gap: 28px;
}

.nav-panel {
  background: var(--bio-primary-dark);
  color: #fff;
}

.nav-links__item > a {
  color: #fff;
}

.nav-links__item > a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.indicator__area {
  border-radius: 999px;
}

.indicator__button:hover .indicator__area {
  background: rgba(22, 131, 79, .1);
}

.search__input {
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--bio-border);
}

.search__button {
  fill: var(--bio-primary);
}

.mobile-header__panel {
  border-bottom: 1px solid var(--bio-border);
}

.mobile-header__logo {
  font-weight: 700;
  letter-spacing: 0;
  color: var(--bio-primary-dark);
}

.store-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(8, 47, 31, .86), rgba(8, 47, 31, .55), rgba(8, 47, 31, .16)), url("../images/banners/banner-1.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  margin-bottom: 28px;
}

.store-hero__content {
  max-width: 720px;
  padding: 52px 0;
}

.store-hero__eyebrow {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bio-accent);
}

.store-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
}

.store-hero__text {
  max-width: 560px;
  margin-top: 16px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
}

.store-hero__search {
  display: flex;
  max-width: 620px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.store-hero__search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 18px;
  color: var(--bio-ink);
  outline: 0;
}

.store-hero__search .btn {
  border-radius: 999px;
  white-space: nowrap;
}

.block-features__list,
.view-options,
.card,
.product-card,
.cart__table {
  border-color: var(--bio-border);
  box-shadow: 0 12px 30px rgba(31, 41, 51, .06);
}

.block-header__title {
  color: var(--bio-ink);
  font-size: 22px;
}

.block-header__divider {
  background: var(--bio-border);
}

.product-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  border-color: rgba(22, 131, 79, .35);
  box-shadow: 0 18px 36px rgba(31, 41, 51, .12);
  transform: translateY(-2px);
}

.product-card__image {
  background: #fff;
}

.product-card__image img {
  object-fit: contain;
}

.product-card__name {
  min-height: 44px;
}

.product-card__prices,
.product__prices {
  color: var(--bio-ink);
}

.product-card__badge--sale,
.product-card__badge--hot,
.product-card__badge--new {
  border-radius: 999px;
}

.product-card__badge--sale {
  background: #d94141;
}

.product-card__badge--hot {
  background: var(--bio-accent);
  color: var(--bio-ink);
}

.product-card__badge--new {
  background: var(--bio-primary);
  color: #fff;
}

.page-header {
  background: #fff;
  margin-bottom: 12px;
}

.breadcrumb-item.active {
  color: var(--bio-muted);
}

.product__name {
  color: var(--bio-ink);
}

.product__gallery,
.product__info,
.product__sidebar {
  border-radius: 12px;
}

.cart__checkout-button {
  font-weight: 700;
}

.cart-table__head th {
  color: var(--bio-muted);
  font-size: 13px;
  text-transform: uppercase;
}

.cart-table__product-name {
  color: var(--bio-ink);
  font-weight: 600;
}

.cart__totals-footer th,
.cart__totals-footer td {
  font-size: 20px;
}

#customer-form {
  border: 1px solid var(--bio-border);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 41, 51, .06);
}

#customer-form h4 {
  margin-bottom: 18px;
  color: var(--bio-ink);
  font-size: 22px;
}

#customer-form label {
  color: var(--bio-muted);
  font-size: 14px;
  font-weight: 700;
}

.checkout-captcha {
  margin-bottom: 20px;
}

.checkout-captcha canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--bio-border);
  border-radius: 8px;
  background: var(--bio-surface);
}

.checkout-submit {
  min-width: 170px;
}

.checkout-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.products-view__options {
  margin-bottom: 20px;
}

.view-options {
  background: #fff;
  border: 1px solid var(--bio-border);
  padding: 12px 14px;
}

.product-card__buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

.product-card__availability-ribbon {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 6px;
  border-radius: 999px;
}

.product-card__availability-ribbon--available {
  background: var(--bio-primary);
}

.product-card__availability-ribbon--backorder {
  background: #9eddf2;
}

.product-card__addtocart {
  width: 100%;
  min-width: 0;
}

.product-card__prices {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.product-card__old-price {
  margin-left: 6px;
}

.product__description {
  color: var(--bio-muted);
  font-size: 16px;
}

.product-order-note {
  margin-top: 8px;
  color: var(--bio-muted);
  font-size: 12px;
  line-height: 1.35;
}

.mobile-header .indicator__area {
  position: relative;
}

.mobile-header .indicator__value {
  position: absolute;
  top: -6px;
  right: -8px;
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bio-accent);
  color: var(--bio-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.product-tabs {
  margin-top: 24px;
}

.checkout-assurance {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--bio-border);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bio-surface);
  color: var(--bio-muted);
  box-shadow: 0 12px 30px rgba(31, 41, 51, .05);
}

.checkout-assurance strong {
  color: var(--bio-ink);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer {
  background: #12231b;
  color: rgba(255, 255, 255, .82);
}

.site-footer a,
.footer-links__item a {
  color: rgba(255, 255, 255, .82);
}

.footer-links__title,
.footer-contacts__title {
  color: #fff;
}

@media (max-width: 767px) {
  .store-hero {
    min-height: 430px;
    background-image: linear-gradient(180deg, rgba(8, 47, 31, .88), rgba(8, 47, 31, .54)), url("../images/banners/banner-1-mobile.jpg");
  }

  .store-hero__content {
    padding: 42px 0;
  }

  .store-hero__title {
    font-size: 32px;
  }

  .store-hero__search {
    display: block;
    border-radius: 14px;
    padding: 10px;
  }

  .store-hero__search input {
    width: 100%;
    height: 42px;
    padding: 0 8px;
  }

  .store-hero__search .btn {
    width: 100%;
    margin-top: 8px;
  }

  .cart__table {
    box-shadow: none;
  }

  #customer-form {
    padding: 18px;
  }

  .cart__buttons {
    display: grid;
    gap: 8px;
  }

  .cart__buttons .btn,
  .checkout-submit {
    width: 100%;
  }

  .cart-table__column--image {
    display: none;
  }

  .cart-table__column--price {
    display: none;
  }
}
