/* Shared responsive refinements; original brand palette is retained. */
:root { --brand-blue: #0098db; --brand-navy: #0d1e38; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.site-header { position: sticky; top: 0; z-index: 1030; }
/* Bootstrap and Tailwind both define `.collapse` with different meanings.
   Keep Bootstrap's display-based navbar behavior, but neutralize Tailwind's
   `visibility: collapse` utility when it is used on the navbar component. */
.site-header .navbar-collapse,
.site-header .navbar-collapse.collapse,
.site-header .navbar-collapse.collapsing {
  visibility: visible !important;
}
/* Ensure the shared footer remains visible and readable regardless of the
   utility classes used inside the original page content. */
.site-footer {
  display: block !important;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 76px;
  color: #475569;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.site-footer p { color: inherit; }
.site-nav-container { max-width: 1320px; margin-inline: auto; padding-inline: clamp(12px, 3vw, 32px); min-height: 80px; }
.site-logo { width: auto; height: 42px; max-width: 150px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; color: var(--brand-navy); line-height: 1.2; white-space: nowrap; }
.brand-copy strong { font: 600 .9rem Montserrat, sans-serif; letter-spacing: .01em; }
.brand-copy small { font: 500 .65rem Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #64748b; margin-top: 3px; }
.navbar .nav-link { color: #475569; font-size: .9rem; padding: .6rem .7rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand-blue); }
.navbar .nav-link.active { font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--brand-blue); --bs-btn-border-color: var(--brand-blue); --bs-btn-hover-bg: #0083bd; --bs-btn-hover-border-color: #0083bd; }
main { min-width: 0; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
main img { max-width: 100%; }
table { width: 100%; }
.product-carousel__controls { display: none; }
@media (max-width: 1023.98px) {
  .home-entrance-image { height: auto !important; object-fit: contain !important; }
}
@media (max-width: 767.98px) {
  .product-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  .product-carousel__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    width: 100%;
    gap: .875rem;
    padding: 0 0 .75rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
  .product-carousel__track::-webkit-scrollbar { display: none; }
  .product-carousel__track > * {
    flex: 0 0 100% !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: center;
    box-sizing: border-box;
  }
  .product-carousel__track > * p,
  .product-carousel__track > * h3,
  .product-carousel__track > * span {
    overflow-wrap: anywhere;
  }
  .product-carousel__controls {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
  }
  .product-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #facc15;
    border-radius: 9999px;
    color: #111827;
    background: #fef08a;
    font-size: 1.5rem;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
  }
  .product-carousel__button--prev { left: .25rem; }
  .product-carousel__button--next { right: .25rem; }
  .product-carousel__button:disabled { opacity: .4; }
}
@media (max-width: 991.98px) {
  .site-nav-container { min-height: 72px; }
  .site-logo { height: 36px; max-width: 112px; }
  .brand-copy strong { font-size: .78rem; }
  .brand-copy small { font-size: .58rem; }
  .navbar-collapse { max-height: calc(100vh - 72px); overflow-y: auto; }
  .navbar-nav { align-items: stretch !important; }
  .navbar-nav .btn { display: inline-block; margin: .35rem 0; }
}
@media (max-width: 575.98px) {
  .brand-copy { white-space: normal; max-width: 145px; }
  .brand-copy strong { font-size: .72rem; }
  main h1 { overflow-wrap: anywhere; }
  main section { max-width: 100%; }
  .site-footer { text-align: center; }
}
