* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #183047;
  line-height: 1.65;
}
a {
  color: #087f8c;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(1160px, 92%);
  margin: auto;
}
.topbar {
  background: #072d4b;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container,
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 14px #0001;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #123;
}
.brand img {
  max-height: 120px;
  width: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #0b8692;
  color: #fff;
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: #183047;
  font-weight: 600;
}
.btn {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  padding: 11px 20px;
  background: #f5a623;
  color: #082b46;
  font-weight: 700;
  cursor: pointer;
}
.btn.outline {
  background: transparent;
  border: 1px solid currentColor;
  color: #0a7c88;
}
.hero,
.page-hero {
  background: linear-gradient(90deg, #073455, #0a6676);
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero {
  padding: 92px 0;
}
.page-hero {
  padding: 62px 0;
}
.hero-grid,
.about-band,
.contact-grid,
.product-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.08;
  margin: 12px 0;
}
.hero-card {
  background: #ffffff18;
  border: 1px solid #ffffff33;
  padding: 28px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.eyebrow {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  color: #f7b744;
}
.section {
  padding: 72px 0;
}
.section.alt {
  background: #f3f8f9;
}
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: #fff;
  border: 1px solid #dce7ea;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 25px #102b3b0b;
}
.product-img {
  display: block;
  aspect-ratio: 4/3;
  background: #edf5f6;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}
.product-img img,
.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  display: inline-block;
  background: #e6f5f4;
  color: #087f8c;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
}
.footer {
  background: #062b47;
  color: #d9e9ef;
  padding: 56px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
}
.footer a {
  display: block;
  color: #d9e9ef;
  margin: 6px 0;
}
.copyright {
  border-top: 1px solid #ffffff25;
  margin-top: 30px;
  padding-top: 15px;
}
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.filters input,
.filters select,
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccdce1;
  border-radius: 6px;
}
.product-detail {
  align-items: start;
}
.detail-image {
  aspect-ratio: 4/3;
  border-radius: 12px;
}
.gallery {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.gallery img {
  width: 100px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.content-block {
  max-width: 900px;
}
.content-block table,
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.content-block th,
.content-block td,
.table-wrap th,
.table-wrap td {
  padding: 12px;
  border: 1px solid #dbe4e8;
  text-align: left;
}
.stats > div,
.stat-card {
  background: #f2f8f8;
  padding: 28px;
  border-radius: 10px;
  text-align: center;
}
.stats strong,
.stat-card strong {
  display: block;
  font-size: 36px;
}
.mobile-toggle {
  display: none;
}
.alert.success {
  background: #def7e5;
  padding: 12px;
  border-radius: 6px;
}
.manager {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.manager aside {
  background: #062b47;
  padding: 24px;
  color: #fff;
}
.manager aside a {
  display: block;
  color: #fff;
  padding: 10px 0;
}
.manager main {
  padding: 36px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-form {
  max-width: 850px;
}
.admin-form p {
  margin-bottom: 18px;
}
.link-danger {
  border: 0;
  background: none;
  color: #c0392b;
  cursor: pointer;
}
.notice {
  background: #fff4d7;
  padding: 14px;
  border-radius: 6px;
}
.sku {
  color: #617786;
}
.empty {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
}
.messages {
  padding-top: 15px;
}
@media (max-width: 800px) {
  .grid-3,
  .grid-4,
  .hero-grid,
  .about-band,
  .contact-grid,
  .product-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .desktop {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .brand {
    width: calc(100% - 50px);
    display: block;
    text-align: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
  }
  .nav.open {
    display: flex;
  }
  .hero {
    padding: 60px 0;
  }
  .manager {
    grid-template-columns: 1fr;
  }
  .manager aside {
    position: static;
  }
  .filters {
    flex-direction: column;
  }
}
.header-right {
  width: 60%;
  .btn {
    font-size: 12px;
  }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
   padding-bottom: 18px; 
}
.search-toggle {
  border: 0;
  background: #edf5f6;
  color: #073455;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}
.header-search {
  width: calc(100% - 150px);
}
 
.header-search.open {
  display: block;
}
.header-search form {
  display: grid;
  grid-template-columns: 1fr 170px auto;
  gap: 10px;
}
.header-search input,
.header-search select {
  padding: 12px;
  border: 1px solid #ccdce1;
  border-radius: 6px;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex;
  gap: 5px;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  min-width: 230px;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #dce7ea;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 14px 30px #092d401c;
}
.has-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 5px;
  font-weight: normal;
}
.dropdown-menu a:hover {
  background: #edf6f7;
}
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.category-tabs input {
  position: absolute;
  opacity: 0;
}
.category-tabs span {
  display: block;
  padding: 10px 18px;
  border: 1px solid #cadde1;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.category-tabs input:checked + span {
  background: #087f8c;
  color: #fff;
  border-color: #087f8c;
}
.thumb {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.thumb.active {
  border-color: #087f8c;
}
.thumb img {
  display: block;
  width: 100px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.document-list {
  display: grid;
  gap: 10px;
}
.document-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #dce7ea;
  border-radius: 8px;
  background: #f8fbfb;
}
.related-section {
  padding-top: 48px;
}
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
}
.service-hero-image {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 12px;
}
.service-sidebar {
  position: sticky;
  top: 110px;
  border: 1px solid #dce7ea;
  border-radius: 12px;
  padding: 20px;
}
.service-sidebar > a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e8eff1;
}
.support-box,
.service-cta {
  margin-top: 24px;
  background: #eaf6f6;
  padding: 22px;
  border-radius: 10px;
}
.search-results-panel {
  margin-top: 14px;
  max-height: 520px;
  overflow: auto;
  border: 1px solid #dce7ea;
  border-radius: 10px;
  background: #fff;
}
.search-summary {
  padding: 12px 16px;
  background: #f3f8f9;
  font-weight: 700;
}
.search-result-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid #edf1f2;
  color: #183047;
}
.search-result-item img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
}
.search-result-item span {
  display: grid;
}
.search-result-item small {
  color: #087f8c;
}
.search-result-item em {
  font-style: normal;
  color: #617786;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px;
}
.pagination button {
  padding: 7px 12px;
  border: 1px solid #bad0d5;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.empty-search {
  padding: 20px;
}

#header-search {
  .container {
    max-width: 500px;
            }
            form {width: 100%; display: block;}
            #global-q {
                width:calc(100% - 50px);
            }
            .btn {
                width: 100px;
            }
        }

 
        #search-results .section  {
            /* padding: 72px 0; */
            border-top: 25px solid #0a6676;
              /* background: linear-gradient(90deg, #073455, #0a6676); */
        }

@media (max-width: 800px) {
  .navbar .container {
    flex-wrap: wrap;
    gap: 0;
  }
  .header-right {
    width: 100%;
  }
  .header-search {
    width: 100%;
  }
  .header-search form {
    grid-template-columns: 1fr;
  }
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
  }
  .nav-item {
    width: 100%;
  }
  .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 18px;
  }
  .header-actions {
    margin-left: auto;
  }
}
