html {
  background: #1b2430;
}

body {
  background: #edf1f4;
  color: #1b2430;
  font-family: "Segoe UI", Tahoma, sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
}

.site-main {
  min-height: 60vh;
  background: #edf1f4;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #152938;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
}

.header-logo img {
  width: auto;
  object-fit: contain;
  display: block;
}

.header-logo .logo-desktop {
  display: block;
  height: 66px;
}

.header-logo .logo-mobile {
  display: none;
  height: 44px;
}

@media (max-width: 991.98px) {
  .header-logo .logo-desktop {
    display: none;
  }

  .header-logo .logo-mobile {
    display: block;
    height: 42px;
  }
}

.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  position: relative;
}

.header-cart img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cart-badge {
  position: absolute;
  right: -3px;
  top: -4px;
  background: #d9f1ff;
  color: #103a5a;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.menu-toggle {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.45);
}

.menu-toggle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.offcanvas {
  background: linear-gradient(180deg, #152938, #1a3448);
}

.offcanvas-header {
  position: relative;
  display: block;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.offcanvas-brand {
  position: absolute;
  left: 45%;
  top: 64%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.offcanvas-brand img {
  display: block;
  height: 42px;
  width: auto;
}

.offcanvas-header .btn-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.side-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.offcanvas-start {
  --bs-offcanvas-width: 260px;
  width: 260px;
}

.hero-section {
  padding: 0;
}

.catalog-page {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.hero-slider {
  height: 100%;
  background: #dfeaf4;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-top: none;
  border-bottom: none;
}

.hero-slider .carousel-item img {
  height: 360px;
  object-fit: cover;
  filter: saturate(1.05);  
}

.intro-block {
  padding: 4rem 0 2rem;
  background: #edf1f4;
}

.eyebrow {
  box-shadow: 5px 5px 30px rgba(17, 42, 64, 0.3);
  display: inline-block;
  background: #be8fffb2;
  color: #0b4a7d;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
}

.intro-block h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  color: #1b2430;
}

.lead {
  color: rgba(27, 36, 48, 0.75);
}

.info-card {
  background: linear-gradient(135deg, #0d233d 0%, #143d67 100%);
  color: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 5px 10px 30px rgba(13, 35, 61, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
}

.info-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
  margin: 0 auto 1rem;
  text-align: left;
}

.info-card .btn {
  display: inline-block;
  margin: 0 auto;
}

.company-section {
  padding: 2rem 0 4rem;
  background: #edf1f4;
}

.section-header {
  margin-bottom: 1.5rem;
}

.company-eyebrow {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.section-title {
  margin: 0;
  color: #1b2430;
  font-weight: 800;
  text-align: center;
}

.company-text {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 22px;
  padding: 1.6rem 1.75rem;
  box-shadow: 5px 10px 30px rgba(17, 42, 64, 0.15);
  font-size: 1.03rem;
  line-height: 1.8;
  color: #24384d;
}

.company-kicker {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: #36536d;
}

.company-text h3 {
  margin: 1.2rem 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  color: #111827;
}

.company-text h4 {
  margin: 1.2rem 0 0.7rem;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #12263a;
}

.company-text p {
  margin: 0 0 1rem;
}

.company-quote {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid #b7d4ef;
  background: rgba(182, 211, 239, 0.12);
  border-radius: 12px;
  color: #21374d;
}

.company-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.company-list li {
  margin-bottom: 0.42rem;
  line-height: 1.7;
}

.company-contacts {
  margin-top: 1rem;
}

.card {
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 5px 10px 24px rgba(17, 42, 64, 0.16);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.product-card .card-body {
  background: rgba(255, 255, 255, 0.82);
}

.product-card .card-title a,
.product-card .text-muted,
.product-card .badge {
  color: #1b2430 !important;
}

.sidebar {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: 5px 12px 35px rgba(17, 42, 64, 0.15);
  border: 1px solid rgba(17, 27, 38, 0.08);
}

.category-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.65rem;
  position: relative;
}

.category-list a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: #1b2430;
}

.category-list a:hover,
.category-list a.active {
  background: rgba(31, 57, 84, 0.06);
  color: #111827 !important;
  transform: translateX(2px);
}

.category-list .child {
  margin-left: 1rem;
  margin-top: 0.6rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.category-list li:hover > .child,
.category-list li:focus-within > .child,
.category-list li.is-open > .child {
  max-height: 900px;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .category-list li > .child {
    display: none;
  }

  .category-list li.is-open > .child {
    display: block;
  }
}

.category-list .child li a {
  padding-left: 0.9rem;
}

.empty-state {
  border: 1px dashed rgba(17, 27, 38, 0.18);
  border-radius: 18px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  color: #1b2430;
}

.checkout-page {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.checkout-layout {
  align-items: flex-start;
}

.checkout-summary-col {
  position: relative;
}

.checkout-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 5px 12px 35px rgba(17, 42, 64, 0.10);
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.checkout-box-title {
  margin-bottom: 1rem;
  color: #1b2430;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(17, 27, 38, 0.08);
}

.checkout-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checkout-item-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.checkout-item-link:hover {
  text-decoration: none;
}

.checkout-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(17, 27, 38, 0.08);
  background: rgba(17, 27, 38, 0.03);
  flex-shrink: 0;
}

.checkout-item-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f5d73;
  text-align: center;
  padding: 0.2rem;
}

.checkout-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-item-name {
  font-weight: 600;
  color: #1b2430;
  line-height: 1.35;
}

.checkout-item-qty {
  color: #5d6b7a;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.checkout-note {
  color: rgba(27, 36, 48, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkout-qty-form {
  margin-left: auto;
}

.site-footer {
  background: #152938;
  color: #eff6ff;
  margin-top: 4rem;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-text,
.footer-contacts {
  color: rgba(239, 246, 255, 0.8);
  line-height: 1.8;
}

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(239, 246, 255, 0.7);
}

.cart-page-container {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.cart-page-container .row {
  justify-content: center;
}

.cart-page-container .col-lg-8 {
  display: flex;
  justify-content: center;
}

.cart-shell {
  width: 100%;
  max-width: 820px;
  padding: 1rem 0;
  text-align: center;
}

.cart-shell h2 {
  text-align: center;
}

.cart-item {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 27, 38, 0.08);
  text-align: left;
}

.cart-item-block {
  min-width: 0;
  flex: 1;
}

.cart-item-image {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(17, 27, 38, 0.08);
  background: rgba(17, 27, 38, 0.03);
  flex-shrink: 0;
}

.cart-item-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f5d73;
  text-align: center;
  padding: 0.2rem;
}

.cart-item-main h5 {
  color: #1b2430;
}

.cart-item-total {
  color: #1b2430;
}

.cart-qty-form {
  margin-left: auto;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 27, 38, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.qty-btn {
  width: 36px;
  height: 38px;
  border: 0;
  background: rgba(21, 41, 56, 0.06);
  color: #152938;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0 2px 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.qty-btn:hover {
  background: rgba(21, 41, 56, 0.12);
}

.qty-input {
  width: 64px;
  min-width: 64px;
  height: 38px;
  border: 0;
  text-align: center;
  background: transparent;
  color: #1b2430;
  box-shadow: none;
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  box-shadow: none;
  outline: none;
}

.cart-qty-form .qty-input {
  background: rgba(17, 27, 38, 0.02);
  color: #1b2430;
  border-color: transparent;
}

.quantity-stepper-product {
  margin-right: 0.25rem;
}

.product-page {
  padding-top: 1.5rem;
}

.product-title {
  color: #1b2430;
}

.product-info-box {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(17, 27, 38, 0.08);
}

.product-info-box h4,
.product-info-box p {
  color: #1b2430;
}

.product-gallery .main-image-card {
  background: rgba(255,255,255,0.8);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 38, 0.08);
}

.product-gallery .main-image-card img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.thumbs-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thumb {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(17, 27, 38, 0.12);
  background: rgba(255,255,255,0.8);
  padding: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: rgba(164, 208, 255, 0.9);
}

.cart-checkout-bar {
  position: sticky;
  bottom: 0;
  background: rgba(237, 241, 244, 0.96);
  border-top: 1px solid rgba(17, 27, 38, 0.04);
  padding: 0.9rem 1rem;
  margin-top: 1.5rem;
  z-index: 10;
  text-align: center;
}

.cart-checkout-bar .btn {
  width: min(100%, 420px);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
}

@media (max-width: 575.98px) {
  .quantity-stepper {
    transform: scale(0.96);
    transform-origin: left center;
  }
}

.empty-state {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 991.98px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.65rem 0;
    min-height: 76px;
  }

  .header-left,
  .header-right,
  .header-logo {
    padding-left: 10px;
    padding-right: 10px;
    min-width: auto;
  }

  .header-logo {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
  }

  .hero-slider .carousel-item img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-page-container {
    padding-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    min-height: 68px;
    padding: 0.45rem 0;
  }

  .header-logo {
    top: 0;
    transform: translateY(0);
  }

  .logo-mobile {
    height: 36px;
  }

  .hero-slider .carousel-item img {
    height: 170px;
    object-fit: cover;
    object-position: center center;
    background: #dfeaf4;
  }
}

