* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  padding-left: 0 !important;
}

body {
  font-family: 'OpenSans', 'Verdana', sans-serif !important;
  color: black;
}

.header {
  position: relative;
  z-index: 200;
  background-color: white;
}

@media (max-width: 992px) {
  .container {
    max-width: 100% !important;
  }
}

/* TOP HEADER */

.top-header {
  height: 32px;
  padding: 0 8px;
  border-bottom: solid 1px rgba(0 0 0 / .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}

.top-icon {
  border: 1px solid rgba(0 0 0 / .1);
  background: none;
  padding: 4px 8px;
  font-size: inherit;
}



.top-header__desktop-links {
  display: none;
}

.account-text {
  display: none;
}

.top-header__mobile-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* MAIN HEADER */


.contact {
  margin-left: auto;
  margin-right: 16px;
}

.contact strong {
  font-size: 13px;
  letter-spacing: 0.2px;
}

:root {
  --primary: #125467;
}

.logo {
  width: 160px;
  height: 64px;
  display: flex;
  align-items: center;
}

.logo__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.desktop-search {
  display: none;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.messengers {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.messenger-icon:hover {
  opacity: 0.75;
}

.messenger-chevron {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  font-size: 11px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.messenger-chevron:hover {
  background: #e0e0e0;
}

.messenger-chevron.open .bi-chevron-down {
  transform: rotate(180deg);
}

.messenger-chevron .bi-chevron-down {
  transition: transform 0.2s;
}

/* CONTACT DROPDOWN */

.contact {
  position: relative;
}

.contact-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  padding: 20px 24px;
  min-width: 240px;
  z-index: 500;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}

.contact-dropdown.open {
  display: block;
}

.contact-dropdown__callback {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  margin-bottom: 4px;
}

.contact-dropdown__callback:hover {
  color: var(--primary);
}

.contact-dropdown__divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 10px 0;
}

.contact-dropdown__hours-title {
  margin-bottom: 10px;
  font-size: 14px;
  color: #222;
}

.contact-dropdown__city {
  margin-bottom: 12px;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

.contact-dropdown__city:last-child {
  margin-bottom: 0;
}

.contact-dropdown__weekend {
  color: #e53935;
}

.main-actions {
  display: flex;
  gap: 20px;
}

.action {
  position: relative;
  padding: 4px;
  cursor: pointer;
  font-size: 20px;
  color: #333;
  line-height: 1;
}

.action-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* CATALOG + SEARCH */

.catalog-search-row {
  display: flex;
  gap: 20px;
}

.catalog-btn {
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.catalog-btn:hover {
  background: #0e3f50;
}

.search {
  display: flex;
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.search input {
  width: 100%;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.search input:focus {
  outline: none;
}

.search-btn {
  width: 48px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-btn:hover {
  background: #0e3f50;
}

/* PHONE */

@media (max-width: 767px) {
  .main-actions .action:not(:last-child) {
    display: none;
  }

  .logo {
    width: 145px;
  }
}

/* MOBILE: two-row header — catalog btn + search on second row */

@media (max-width: 1023px) {
  .main-header__container .catalog-btn:not(.catalog-btn--mobile) {
    display: none;
  }
}

/* TOP NAV DROPDOWN */

.top-nav-dropdown {
  display: none;
  position: absolute;
  left: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 300;
  flex-direction: column;
  min-width: 240px;
  overflow: hidden;
  animation: dropdownFadeIn 0.15s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top-nav-dropdown.open {
  display: flex;
}

.top-nav-dropdown a {
  padding: 12px 20px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
}


.top-nav-dropdown a:last-child {
  border-bottom: none;
}

.top-nav-dropdown a:hover {
  background: #f0f8fa;
  color: var(--primary);
}

.top-nav-dropdown a:hover::before {
  opacity: 1;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1023px) {
  .top-header {
    height: 36px;
    padding: 0 42px;
  }

  .top-icon--menu {
    display: block;
  }

  .top-header__mobile-actions {
    display: none;
  }

  .main-header__container {
    padding: 24px 42px 18px;
  }

  .catalog-search-row {
    padding: 0 42px 18px;
  }
}

/* DESKTOP */

@media (min-width: 1024px) {
  .content-layout > .slider-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
  }


  .top-header {
    height: 38px;
    padding: 0;
  }

  .top-icon--menu,
  .top-header__icons {
    display: none;
  }

  .top-header__desktop-links {
    display: flex;
    gap: 20px;
  }

  .top-header__desktop-links a {
    color: #000;
    text-decoration: none;
  }

  .account-text {
    display: inline;
  }

  .top-header__mobile-actions {
    display: none;
  }

  .main-header {
    padding: 0;
    position: relative;
    z-index: 200;
  }

  .main-header__container {
    display: grid;
    grid-template-columns: 200px auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 16px 0;
  }

  .desktop-search {
    display: block;
    width: 100%;
  }

  .catalog-search-row {
    display: none;
  }

  .contact {
    margin-left: 0;
    margin-right: 0;
    align-items: flex-end;
    min-width: 170px;
  }

  .logo {
    min-width: 200px;
  }

  .main-actions {
    gap: 24px;
  }
}








/* NAV BAR */

.nav-bar {
  display: none;
  background: var(--primary);
  height: 50px;
  position: relative;
  z-index: 150;
}

.nav-bar .container {
  height: 100%;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.catalog-nav-btn {
  padding-left: 10px;
  background-color: #06849a;
  text-align: left;
  border: none;
  width: 320px;
  height: 50px;
  box-sizing: border-box;

  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.main-nav {
  display: none;
  width: 100%;
  align-items: stretch;
  height: 100%;
}

.main-nav a {
  flex: 1;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: color 0.15s;
}

.main-nav a:last-child {
  border-right: 1px solid rgba(255,255,255,0.2);
}

.main-nav a:hover {
  color: rgba(255,255,255,0.75);
}

/* CONTENT LAYOUT */

.content-layout {
  display: flex;
  align-items: stretch;
  position: relative;
}

@media (min-width: 1024px) {
  .content-layout {
    display: grid;
    grid-template-columns: 75% 25%;
    align-items: start;
    padding-top: 30px;
  }
}

/* Full-page overlay triggered when hovering a sidebar item */
.page-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 50;
  pointer-events: none;
  animation: fadeOverlay 0.15s ease;
}

@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body:not(:has(.desktop-catalog-panel .category-item:hover)):has(.category-item:hover) .page-overlay,
body:has(.sticky-catalog-wrap:hover) .page-overlay {
  display: block;
}

/* SIDEBAR */

.sidebar {
  display: none;
  width: 320px;
  flex-shrink: 0;
  z-index: 60;
}

.category-list {
  list-style: none;
}

.category-item {
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f8f8;
}

.category-item__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.15s, background 0.15s;
}

.category-item__label:hover {
  color: var(--primary);
  background: #f0f8fa;
}

.category-item__label span {
  font-size: 14px;
  color: #aaa;
  flex-shrink: 0;
  margin-left: 8px;
}

.category-item__label:hover span {
  color: var(--primary);
}

/* SUBMENU — overlays the slider area on hover */

.category-submenu {
  display: none;
  position: absolute;
  left: 320px;
  top: 0;
  width: auto;
  min-height: 438px;
  background: #fff;
  border: 1px solid #ddd;
  border-left: none;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.12);
  padding: 24px;
  z-index: 100;
  overflow-y: auto;
}

.category-submenu__col {
  width: 250px;
}

.category-item:hover .category-submenu {
  display: block;
}

.category-submenu__cols {
  display: flex;
  gap: 32px;
}

.category-submenu__block {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.category-submenu__block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-submenu__col-title {
  display: block;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 4px;
  text-decoration: none;
  color: #222;
}

.category-submenu__col-title:hover {
  color: var(--primary);
  text-decoration: underline;
}

.category-submenu__col ul {
  list-style: none;
}

.category-submenu__col ul li {
  padding: 3px 0;
}

.category-submenu__col ul li a {
  text-decoration: none;
  color: #555;
  font-size: 12px;
}

.category-submenu__col ul li a:hover {
  color: #000;
}

/* SLIDER */

.slider-wrapper {
  flex: 1;
  position: relative;
}

.content-layout > .slider-wrapper {
  overflow: hidden;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 13px;
  transition: background 0.2s, box-shadow 0.2s;
}

.slider-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 3px 12px rgba(0,0,0,0.16);
}

.slider-btn.left {
  left: -17px;
}

.slider-btn.right {
  right: -17px;
}

@media (max-width: 1023px) {
  .slider-btn.left {
    left: 4px;
  }

  .slider-btn.right {
    right: 4px;
  }

}

/* CARD SLIDER */

.card-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scrollbar-width: none;
}

.card-container::-webkit-scrollbar {
  display: none;
}

.card-item {
  flex-shrink: 0;
  width: calc(25% - 12px);
  scroll-snap-align: start;
}

.card-item:last-child {
  scroll-snap-align: end;
}

/* PRODUCT CARD */

.prod-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.prod-card__image-wrap {
  position: relative;
  flex-shrink: 0;
}

.prod-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.prod-card__id {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.prod-card__actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod-card__action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.prod-card__action-btn:hover {
  background: #fff;
  color: #e53935;
}

.prod-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-card__desc {
  font-size: 12px;
  color: #777;
  margin: 0 0 6px;
  line-height: 1.4;
}

.prod-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.prod-card__name:hover {
  color: #1565c0;
  text-decoration: underline;
}

.prod-card__params {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 12px;
  color: #444;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
}

.prod-card__params li {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px solid #f0f0f0;
}

.prod-card__params li span {
  color: #888;
  margin-right: 6px;
  flex-shrink: 0;
}

.prod-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  margin-top: auto;
}

.prod-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.prod-card__qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.prod-card__qty-btn {
  width: 28px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  color: #444;
  line-height: 1;
}

.prod-card__qty-btn:hover {
  background: #e0e0e0;
}

.prod-card__qty-input {
  width: 36px;
  height: 32px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  -moz-appearance: textfield;
}

.prod-card__qty-input::-webkit-inner-spin-button,
.prod-card__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

.prod-card__cart-btn {
  flex: 1;
  height: 32px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.prod-card__cart-btn:hover {
  background: #0d47a1;
}

.prod-card__extra-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prod-card__extra-btn:hover {
  background: #f5f5f5;
}

/* CATALOG OVERLAY (tablet / mobile) */

.catalog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 700;
  overflow-y: auto;
}

.catalog-overlay.open {
  display: block;
}

.catalog-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1;
}

.catalog-overlay__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.catalog-overlay__list {
  list-style: none;
}

.catalog-overlay__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 699;
}

.catalog-overlay__backdrop.open {
  display: block;
}

/* Category row */
.catalog-overlay__cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 400;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.catalog-overlay__cat span::before {
  content: '+';
  font-size: 16px;
  font-weight: 300;
  color: #555;
}

.catalog-overlay__item.open > .catalog-overlay__cat span::before {
  content: '−';
}

/* Sub panel */
.catalog-overlay__sub {
  display: none;
}

.catalog-overlay__item.open > .catalog-overlay__sub {
  display: block;
}

/* Plain sub-title (no children) */
.catalog-overlay__sub-title {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.catalog-overlay__sub-title:hover {
  color: var(--primary);
}

/* Sub-title with children (toggleable) */
.catalog-overlay__sub-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.catalog-overlay__sub-cat span::before {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #555;
}

.catalog-overlay__sub-item.open > .catalog-overlay__sub-cat span::before {
  content: '−';
}

/* Nested ul (hidden by default) */
.catalog-overlay__sub-item > ul {
  display: none;
  list-style: none;
  background: #f5f5f5;
}

.catalog-overlay__sub-item.open > ul {
  display: block;
}

.catalog-overlay__sub-item > ul li {
  border-bottom: 1px solid #e8e8e8;
}

.catalog-overlay__sub-item > ul li a {
  display: block;
  padding: 11px 16px 11px 28px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.catalog-overlay__sub-item > ul li a:hover {
  color: var(--primary);
}

/* "Все категории" row */
.catalog-overlay__item--all {
  border-bottom: none;
}

.catalog-overlay__item--all > a {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: underline !important;
}

/* TABLET */

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }


}

/* DESKTOP */

@media (min-width: 1024px) {
  .nav-bar {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .catalog-nav-btn {
    cursor: pointer;
    pointer-events: auto;
  }
}





.card-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
}

.card-container::-webkit-scrollbar {
  display: none;
}

.card-item {
  scroll-snap-align: start;
  flex: 0 0 100% !important; /* 1 card on very small screens */
}


/* 2 cards */
@media (min-width: 576px) {
  .card-item {
    flex: 0 0 calc(50% - 0.5rem) !important;
  }
}

/* 3 cards */
@media (min-width: 768px) {
  .card-item {
    flex: 0 0 calc(33.333% - 0.67rem) !important;
  }
}

/* 4 cards */
@media (min-width: 1200px) {
  .card-item {
    flex: 0 0 calc(25% - 0.75rem) !important;
  }
}









.category-card {
  border: 1px solid #e0e8ea;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.category-card:hover {
  box-shadow: 0 4px 18px rgba(18, 84, 103, 0.2);
  border-color: var(--primary);
}

/* Circle image */
.category-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Title */
.category-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: #111;
}

/* Sub-items */
.category-item-link {
  display: block;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  margin-bottom: 5px;
}

.category-content .category-item-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Link */
.category-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
}

.category-link:hover {
  color: #0e3f50;
  border-bottom-color: #0e3f50;
}

/* Tablet + Mobile layout adjustment */
@media (max-width: 991.98px) {
  .category-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}







.footer {
  background-color: #f5f5f5;
}

.footer-icon {
  font-size: 28px;
  color: #555;
  line-height: 1;
  border: 2px solid #999;
  border-radius: 6px;
  padding: 10px 14px;
  flex-shrink: 0;
}

.footer-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ddd;
}

.footer-accordion .accordion-button {
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  color: #222;
  padding: 16px 0;
  box-shadow: none;
}

.footer-accordion .accordion-button:not(.collapsed) {
  color: #222;
  background: transparent;
  box-shadow: none;
}

.footer-accordion .accordion-button::after {
  filter: none;
}

.footer-accordion .accordion-body {
  padding: 0 0 16px 0;
}

.footer-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  color: #222;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a,
.footer-list li {
  color: #444;
  text-decoration: none;
  font-size: 14px;
}

.footer-list a:hover {
  color: var(--primary);
}

.footer-phone {
  color: #222;
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
}

.footer-phone:hover {
  color: var(--primary);
}

.footer-email {
  color: #444;
  font-size: 14px;
}

.footer-address-block {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.footer-addr-icon {
  color: #555;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-teal,
.input-group .btn-teal {
  background: var(--primary) !important;
  color: white !important;
  white-space: nowrap;
  border-color: var(--primary) !important;
}

.btn-teal:hover,
.input-group .btn-teal:hover {
  background: #229aa0 !important;
  border-color: #229aa0 !important;
  color: white !important;
}

.footer-bottom {
  background: #4a4a4a;
  color: white;
}

.payment {
  background: white;
  color: black;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
#categoryTabs .nav-link {
  color: var(--primary);
}

#categoryTabs .nav-link.active {
  color: black;
}

/* === PRODUCT CARD RESTYLING === */

.prod-card__id {
  background: rgba(255,255,255,0.9);
  color: #555;
  font-family: inherit;
  border: 1px solid #e0e0e0;
}

.prod-card__img {
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.prod-card__action-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  background: rgba(255,255,255,0.95);
  color: #666;
}

.prod-card__action-btn:hover {
  background: #fff;
  color: #e53935;
  border-color: #e53935;
}

.prod-card__desc {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin: 0 0 6px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .prod-card__desc {
    display: none;
  }

  .prod-card__params {
    display: none;
  }
}

.prod-card__availability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #2e9e5b;
  background: #edfaf3;
  border: 1px solid #b6e8cb;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.prod-card__name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}

.prod-card__params li {
  font-weight: 400;
  color: #1a1a1a;
  font-size: 12px;
  padding: 3px 0;
}

.prod-card__params li span {
  font-weight: 400;
  color: #999;
}

.prod-card__price {
  font-size: 17px;
  font-weight: 400;
}

.prod-card__cart-btn {
  height: 36px;
  background: var(--primary);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.prod-card__cart-btn:hover {
  background: #0e3f50;
}

.prod-card__qty-btn {
  height: 36px;
  width: 30px;
}

.prod-card__qty-input {
  height: 36px;
}

.prod-card__extra-btn {
  width: 36px;
  height: 36px;
  background: #f5f5f5;
}

/* PROMO BANNERS */

.promo-banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
}

.promo-banner {
  flex: 1;
  display: block;
  overflow: hidden;
  border: 1px solid #e0e8ea;
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .promo-banners {
    flex-direction: row;
  }
}

/* SEO TEXT SECTION */

.seo-section {
  border: 1px solid #e0e8ea;
  border-radius: 12px;
  padding: 28px 32px;
}

.seo-section h2 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.seo-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.seo-checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.seo-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}

.seo-checklist li i {
  color: var(--primary);
  font-size: 17px;
  flex-shrink: 0;
}

/* BENEFIT CARDS */

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e0e8ea;
  border-radius: 10px;
  background: #fff;
  height: 100%;
}

.benefit-icon {
  font-size: 38px;
  color: var(--primary);
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: #111;
}

.benefit-text {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* STICKY HEADER */

.sticky-header {
  display: none;
}

@media (min-width: 1024px) {
  .sticky-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 400;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }

  .sticky-header.visible {
    transform: translateY(0);
  }
}

.sticky-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 80px;
  height: 58px;
}

.sticky-catalog-wrap {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.sticky-catalog-btn {
  height: 40px;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.sticky-catalog-btn:hover {
  background: #0e3f50;
}

.sticky-catalog-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: visible;
}

.sticky-catalog-wrap:hover .sticky-catalog-panel {
  display: block;
}

.sticky-catalog-panel .category-list {
  width: 320px;
  background: #f8f8f8;
}

.sticky-catalog-panel .category-list .category-item:last-child {
  border-radius: 0 0 0 8px;
}

.sticky-catalog-panel .category-submenu {
  border-radius: 0 0 8px 0;
}

.sticky-phone {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: #111;
}

.sticky-header .search {
  flex: 1;
}

/* MOBILE BOTTOM NAV */

.mob-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
}

.mob-bottom-nav__bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.mob-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 2px 10px;
  background: none;
  border: none;
  font-size: 5px;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
  line-height: 1.2;
}

.mob-bottom-nav__item i {
  font-size: 20px;
  line-height: 1;
}

.mob-bottom-nav__item span {
  white-space: nowrap;
}

.mob-bottom-nav__item--catalog,
.mob-bottom-nav__item--search {
  color: var(--primary);
}

.mob-bottom-nav__item--catalog:active,
.mob-bottom-nav__item--search:active {
  color: #0e3f50;
}

.mob-bottom-nav__item--inactive {
  cursor: default;
  pointer-events: none;
}

.mob-bottom-nav__badge {
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(calc(50% + 8px));
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search bar that slides up above the bottom nav */

.mob-search-bar {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 10px 12px;
  display: none;
}

.mob-search-bar.open {
  display: block;
}

.mob-search-bar__inner {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.mob-search-bar__input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.mob-search-bar__btn {
  width: 48px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.mob-search-bar__btn:hover {
  background: #0e3f50;
}

/* Push page content up so it isn't hidden behind the bottom nav */
@media (max-width: 1023px) {
  body {
    padding-bottom: 62px;
  }
}

/* === TOP / MAIN HEADER CONTAINER WRAPPERS === */

.top-header__container {
  display: contents;
}

.main-header__container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 10px;
  width: 100%;
}

@media (min-width: 1024px) {
  .top-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
  }
}

/* === DESKTOP CATALOG PANEL === */

.desktop-catalog-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  clip-path: inset(0 -100px -100px -100px);
}

.desktop-catalog-panel.open {
  display: block;
}

.desktop-catalog-panel__inner {
  position: relative;
  display: flex;
  min-height: 380px;
}

.desktop-catalog-panel .category-list {
  width: 320px;
  flex-shrink: 0;
}

.desktop-catalog-panel .category-item {
  background: #fff;
}

.desktop-catalog-panel .category-submenu {
  left: 320px;
  right: 0;
  min-height: 590px;
  box-shadow: none;
  border: none;
  border-left: 1px solid #e0e0e0;
  padding: 0;
}

.desktop-catalog-panel .category-item:hover .category-submenu,
.desktop-catalog-panel .category-item.default-active .category-submenu {
  display: flex;
  flex-direction: row;
}

.desktop-catalog-panel .category-submenu > .category-submenu__cols {
  flex: 1;
  padding: 24px;
}

.desktop-catalog-panel .category-submenu .category-submenu__banner {
  width: 200px;
  flex-shrink: 0;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  align-self: stretch;
}

.desktop-catalog-panel .category-submenu .category-submenu__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.category-submenu__banner {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.category-submenu__banner img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* Catalog button open/close icon toggle */
.catalog-btn .catalog-btn-icon-close {
  display: none;
}

.catalog-btn.open .catalog-btn-icon-open {
  display: none;
}

.catalog-btn.open .catalog-btn-icon-close {
  display: inline;
}

/* === SIDE BANNERS (next to main slider on desktop) === */

.side-banners {
  display: none;
}

@media (min-width: 1024px) {
  .side-banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    margin-left: 12px;
    overflow: hidden;
  }

  .side-banner {
    height: 100%;
    overflow: hidden;

    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    background: #f5f5f5;
  }

}

/* === PROMO BANNERS (mid-page) === */

.promo-banner {
  overflow: hidden;
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.promo-banner--primary {
  background: linear-gradient(120deg, #125467 0%, #1c8a9a 100%);
}

.promo-banner--secondary {
  background: linear-gradient(120deg, #1a1a2e 0%, #16213e 100%);
}

.promo-banner__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 8px;
}

.promo-banner__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.promo-banner__text {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 280px;
}

.promo-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  width: fit-content;
}

.promo-banner__btn:hover {
  opacity: 0.85;
}

.promo-banner--primary .promo-banner__btn {
  background: #fff;
  color: var(--primary);
}

.promo-banner--secondary .promo-banner__btn {
  background: var(--primary);
  color: #fff;
}

.promo-banner__bg-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

/* === MOBILE: Catalog overlay font size increases === */

@media (max-width: 1023px) {
  .catalog-overlay__cat {
    font-size: 17px;
    padding: 16px 16px;
  }

  .catalog-overlay__sub-title {
    font-size: 15px;
    padding: 14px 16px;
  }

  .catalog-overlay__sub-cat {
    font-size: 15px;
    padding: 14px 16px;
  }

  .catalog-overlay__sub-item > ul li a {
    font-size: 14px;
    padding: 12px 16px 12px 28px;
  }
}

/* === MOBILE: Bottom nav size increases === */

@media (max-width: 1023px) {
  .mob-bottom-nav__item {
    font-size: 12px;
    padding: 8px 2px 12px;
    gap: 4px;
  }

  .mob-bottom-nav__item i {
    font-size: 22px;
  }
}

/* === MOBILE: Catalog/search row size increases === */

@media (max-width: 767px) {
  .catalog-search-row {
    padding: 8px 12px 12px;
  }

  .catalog-btn {
    font-size: 15px;
    padding: 10px 18px;
  }

  .search input {
    font-size: 15px;
    padding: 10px 14px;
  }

  .search-btn {
    font-size: 18px;
    width: 52px;
  }
}

/* === MOBILE: Main header phone/contact size === */

@media (max-width: 767px) {
  .main-header {
    padding: 10px 12px;
  }

  .logo {
    width: 130px;
  }

  .contact strong {
    font-size: 12px;
    font-weight: normal;
  }
}

/* === MOBILE: Homepage section fonts === */

@media (max-width: 767px) {
  #categoryTabs .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }

  .prod-card__name {
    font-size: 14px;
  }

  .prod-card__price {
    font-size: 16px;
  }

  .category-title {
    font-size: 15px;
  }

  .category-item-link {
    font-size: 13px;
  }

  .seo-section h2 {
    font-size: 17px;
  }

  .seo-section p,
  .seo-checklist li {
    font-size: 14px;
  }
}
