/* ==========================================================================
   Milkyshisha brand restoration — header, navigation, footer
   Restored from the 2026-10-15 archived storefront styles.
   This file only overrides presentation. OpenCart layout hooks and all
   interactive selectors (search, cart, account, menu) are left intact.
   ========================================================================== */

:root {
  --ms-green: #00c87c;
  --ms-green-dark: #00b06d;
  --ms-red: #df1404;
  --ms-red-dark: #cd1204;
  --ms-topbar: #222222;
  --ms-footer: #181b21;
  --ms-footer-panel: #1f232b;
  --ms-light: #eff1f2;
  --ms-line: #e6e8eb;
  --ms-text: #222222;
  --ms-muted: #777777;
}

body {
  background-color: #f5f7f9;
  background-image: none;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* The archive layout stretches to a 1540 px content width. */
.container {
  width: 100%;
  max-width: 1540px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */

#top.ms-topbar {
  min-height: 40px;
  height: auto;
  background: var(--ms-topbar);
  background-image: none;
  border: 0;
  color: #fff;
  padding: 0;
}

.ms-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.ms-topbar__left,
.ms-topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.ms-topbar__links,
.ms-topbar__settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ms-currency-single {
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.ms-currency-single strong {
  color: var(--ms-green);
  font-weight: 700;
}

.ms-topbar__links a {
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.ms-topbar__links a:hover {
  color: var(--ms-green);
}

#top.ms-topbar .dropdown > span,
#top.ms-topbar .dropdown > a,
#top.ms-topbar form a {
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
}

#top.ms-topbar .dropdown > span {
  cursor: pointer;
}

#top.ms-topbar .dropdown > span:hover {
  color: var(--ms-green);
}

#top.ms-topbar .dropdown-menu {
  border: 1px solid var(--ms-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  padding: 6px;
  margin-top: 4px;
}

#top.ms-topbar .dropdown-item {
  border-radius: 5px;
  color: var(--ms-text);
  font-size: 12px;
  padding: 6px 10px;
}

#top.ms-topbar .dropdown-item:hover,
#top.ms-topbar .dropdown-item:focus {
  background: #eefbf5;
  color: #008f59;
}

.ms-topbar__phone {
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.ms-topbar__phone i {
  margin-right: 5px;
  color: var(--ms-green);
}

.ms-topbar__phone span {
  color: #a7abb2;
  font-size: 12px;
}

.ms-topbar__phone:hover {
  color: var(--ms-green);
}

.ms-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ms-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.ms-socials a:hover {
  background: var(--ms-green);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Main header
   -------------------------------------------------------------------------- */

header.ms-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .06);
  padding: 14px 0;
}

.ms-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

#logo.ms-logo {
  flex: 0 0 auto;
  margin: 0;
  text-align: left;
}

#logo.ms-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 60px;
  height: auto;
}

/* Catalog button and its single mega menu */

.ms-catalog {
  position: static;
  flex: 0 0 auto;
}

.ms-catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 120px;
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: var(--ms-red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}

.ms-catalog-btn:hover,
.ms-catalog-btn:focus,
.ms-catalog-btn[aria-expanded="true"] {
  background: var(--ms-red-dark);
  color: #fff;
}

.ms-catalog-btn:active {
  transform: scale(.97);
}

.ms-catalog-btn:focus-visible {
  outline: 2px solid var(--ms-green);
  outline-offset: 2px;
}

.ms-megamenu {
  --bs-dropdown-padding-x: 0;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-border-width: 0;
  position: absolute;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  width: auto !important;
  max-width: none !important;
  max-height: min(72vh, 680px);
  margin: 0 !important;
  transform: none !important;
  padding: 22px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .16);
  z-index: 1050;
}

.ms-megamenu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px 28px;
  align-items: start;
}

.ms-megamenu__group {
  min-width: 0;
}

.ms-megamenu__parent {
  display: block;
  margin: 0 0 8px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.ms-megamenu__parent:hover,
.ms-megamenu__parent:focus {
  color: var(--ms-red-dark);
}

.ms-megamenu__list {
  margin: 0;
  padding: 0;
}

.ms-megamenu__link {
  display: block;
  padding: 4px 0;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.ms-megamenu__link:hover,
.ms-megamenu__link:focus {
  color: var(--ms-red-dark);
}

.ms-megamenu__all {
  display: inline-block;
  margin-top: 8px;
  color: var(--ms-green-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.ms-megamenu__all:hover,
.ms-megamenu__all:focus {
  color: var(--ms-red-dark);
}

/* Search */

#search.ms-search {
  flex: 1 1 260px;
  min-width: 180px;
  margin: 0;
}

#search.ms-search form {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

#search.ms-search .form-control,
#search.ms-search .form-control-lg {
  display: block;
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 48px 0 15px;
  border: 0;
  border-radius: 6px;
  background: var(--ms-light);
  color: var(--ms-text);
  font-size: 14px;
  line-height: 40px;
  box-shadow: none;
}

#search.ms-search .form-control:focus {
  background: #e9ecef;
  box-shadow: inset 0 0 0 1px #d7dade;
}

#search.ms-search .form-control::placeholder {
  color: #8c9299;
}

#search.ms-search .btn,
#search.ms-search .btn-lg {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0 !important;
  background: transparent;
  color: #666;
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
  transform: none;
}

#search.ms-search .btn:hover,
#search.ms-search .btn:focus {
  background: transparent;
  color: var(--ms-green);
  transform: none;
  box-shadow: none;
}

/* User actions */

.ms-user-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.ms-user-nav__item {
  position: relative;
}

.ms-user-nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 40px;
  padding: 4px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ms-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}

.ms-user-nav__link > i:first-child,
.ms-user-nav__icon-wrap > i:first-child {
  color: var(--ms-text);
  font-size: 20px;
  line-height: 1;
  transition: color .2s ease;
}

.ms-user-nav__label {
  color: #666;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .2px;
  transition: color .2s ease;
}

.ms-user-nav__link:hover,
.ms-user-nav__link:focus,
.ms-user-nav__link.show,
.ms-user-nav__item:hover > .ms-user-nav__link {
  background: transparent;
  color: var(--ms-red);
}

.ms-user-nav__link:hover > i:first-child,
.ms-user-nav__link:focus > i:first-child,
.ms-user-nav__link:hover .ms-user-nav__label,
.ms-user-nav__link:focus .ms-user-nav__label,
.ms-user-nav__item:hover > .ms-user-nav__link > i:first-child,
.ms-user-nav__item:hover > .ms-user-nav__link .ms-user-nav__label {
  color: var(--ms-red);
}

.ms-user-nav__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ms-user-nav__badge {
  position: absolute;
  top: -7px;
  left: 50%;
  min-width: 15px;
  height: 14px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--ms-red);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.ms-user-nav .dropdown-menu {
  min-width: 210px;
  margin-top: 12px;
  border: 1px solid var(--ms-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  padding: 6px;
}

.ms-user-nav .dropdown-item {
  border-radius: 5px;
  color: var(--ms-text);
  font-size: 13px;
  padding: 8px 12px;
}

.ms-user-nav .dropdown-item:hover,
.ms-user-nav .dropdown-item:focus {
  background: #f5f5f5;
  color: var(--ms-red-dark);
}

/* Cart module: header action plus dropdown */

#cart.ms-cart,
.ms-cart__dropdown {
  margin: 0;
}

.ms-cart__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ms-cart__icon > i {
  color: var(--ms-text);
  font-size: 20px;
  line-height: 1;
  transition: color .2s ease;
}

.ms-cart__toggle:hover .ms-cart__icon > i,
.ms-cart__toggle:focus .ms-cart__icon > i,
.ms-cart__toggle.show .ms-cart__icon > i,
.ms-cart__dropdown:hover .ms-cart__icon > i {
  color: var(--ms-red);
}

.ms-cart__count {
  position: absolute;
  top: -7px;
  left: 50%;
  min-width: 15px;
  height: 14px;
  margin-left: 5px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--ms-red);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.ms-cart__menu,
#cart .dropdown-menu {
  width: 360px;
  max-width: calc(100vw - 24px);
  min-width: 0;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

#cart .table {
  --bs-table-bg: transparent;
  margin-bottom: 12px;
}

#cart .table td {
  border-color: var(--ms-line);
  vertical-align: middle;
}

#cart .table a,
#cart .dropdown-menu a {
  color: var(--ms-text);
  font-weight: 500;
  text-decoration: none;
}

#cart .table a:hover,
#cart .dropdown-menu a:hover,
#cart .table a:focus,
#cart .dropdown-menu a:focus {
  color: var(--ms-red-dark);
}

#cart .btn-danger {
  background: var(--ms-red);
  border-color: var(--ms-red);
}

#cart .btn-danger:hover,
#cart .btn-danger:focus {
  background: var(--ms-red-dark);
  border-color: var(--ms-red-dark);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer.ms-footer {
  padding: 46px 0 0;
  border: 0;
  background: var(--ms-footer);
  background-image: none;
  color: #888;
}

.ms-footer__title,
footer.ms-footer h5 {
  margin: 0 0 18px;
  color: #fff;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.ms-footer__list {
  margin: 0;
  padding: 0;
}

.ms-footer__list li + li {
  margin-top: 8px;
}

.ms-footer__list a,
footer.ms-footer a {
  color: #888;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.ms-footer__list a:hover,
.ms-footer__list a:focus,
footer.ms-footer a:hover,
footer.ms-footer a:focus {
  color: #fff;
}

.ms-footer__contacts {
  height: 100%;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.ms-footer__phone {
  display: block;
  margin-bottom: 4px;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.35;
  text-decoration: none;
}

.ms-footer__phone small {
  color: #8d939b;
  font-size: 12px;
}

.ms-footer__phone:hover {
  color: var(--ms-green) !important;
}

.ms-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  color: #888;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.ms-footer__contact i {
  width: 16px;
  margin-top: 3px;
  color: var(--ms-green);
  text-align: center;
}

a.ms-footer__contact:hover {
  color: #fff;
}

.ms-footer__socials {
  margin-top: 18px;
}

.ms-footer__socials a {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

.ms-footer__socials a:hover {
  background: var(--ms-green);
}

.ms-footer__bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ms-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.ms-footer__bottom p,
footer.ms-footer .ms-footer__bottom p {
  margin: 0;
  color: #888;
  font-size: 12px;
  line-height: 1.5;
}

.ms-footer__bottom a {
  color: #a7abb2;
}

.ms-footer__bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .ms-topbar__phone span {
    display: none;
  }

  #logo.ms-logo img {
    max-width: 190px;
  }

  .ms-catalog-btn {
    min-width: 110px;
    padding: 0 13px;
  }

  .ms-user-nav__link {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ms-megamenu__grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ms-header__inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  #logo.ms-logo {
    flex: 1 1 auto;
    margin-right: 0;
  }

  #logo.ms-logo img {
    max-width: 180px;
  }

  .ms-catalog {
    order: 2;
  }

  .ms-user-nav {
    order: 3;
    margin-left: auto;
  }

  .ms-user-nav__link {
    padding: 4px 10px;
  }

  #search.ms-search {
    order: 4;
    flex: 1 0 100%;
    min-width: 0;
  }

  .ms-megamenu {
    top: calc(100% + 12px);
    padding: 18px;
  }

  .ms-footer__contacts {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* 768–839 px: phones + social icons no longer fit on one utility-bar row.
     Let the right group wrap to its own row instead of overflowing the page.
     All links stay visible; 840 px and wider remain a single row. */
  .ms-topbar__inner {
    flex-wrap: wrap;
  }

  .ms-topbar__right {
    margin-left: auto;
  }
}

@media (max-width: 767.98px) {
  .ms-topbar__inner {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .ms-topbar__left {
    order: 1;
  }

  .ms-topbar__right {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }

  .ms-topbar__phone {
    font-size: 12px;
  }

  .ms-topbar__settings {
    gap: 10px;
  }

  .ms-topbar__links {
    gap: 10px;
  }

  .ms-topbar__links a {
    font-size: 12px;
  }

  #logo.ms-logo img {
    max-width: 160px;
  }

  .ms-catalog-btn {
    min-width: 104px;
    padding: 0 12px;
    font-size: 14px;
  }

  #search.ms-search {
    order: 4;
  }

  .ms-user-nav {
    order: 5;
    width: 100%;
    margin-left: 0;
    gap: 0;
    justify-content: space-between;
    border-top: 1px solid var(--ms-line);
    padding-top: 8px;
  }

  .ms-user-nav__label {
    display: inline;
  }

  .ms-user-nav__link {
    padding: 4px 8px;
  }

  .ms-megamenu {
    right: 0 !important;
    left: 0 !important;
    width: auto !important;
    padding: 16px;
    max-height: 70vh;
  }

  .ms-megamenu__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ms-megamenu__group + .ms-megamenu__group {
    padding-top: 12px;
    border-top: 1px solid var(--ms-line);
  }

  .ms-cart__menu,
  #cart .dropdown-menu {
    width: calc(100vw - 24px);
  }

  .ms-footer {
    text-align: left;
  }

  .ms-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .ms-topbar__phone:nth-of-type(2) {
    display: none;
  }

  .ms-socials {
    display: none;
  }

  #logo.ms-logo img {
    max-width: 142px;
  }

  .ms-catalog-btn {
    min-width: 0;
    padding: 0 11px;
  }

  .ms-user-nav__link {
    padding-left: 6px;
    padding-right: 6px;
  }

  .ms-user-nav__label {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   Brand palette alignment and page flow
   The stage 1 header/footer are kept intact. These rules replace the
   remaining violet theme tokens with the archived Milkyshisha palette and
   make the footer part of the normal document flow instead of overlaying
   a large reserved blank area.
   -------------------------------------------------------------------------- */

:root,
[data-bs-theme=light] {
  --brand-50: #eefbf5;
  --brand-100: #d7f7e9;
  --brand-200: #a9edd0;
  --brand-400: #29d992;
  --brand-500: #00c87c;
  --brand-600: #00b06d;
  --brand-700: #008f59;
  --accent-500: #df1404;
  --accent-600: #cd1204;
  --ink: #1b1f24;
  --ink-soft: #444b52;
  --muted: #777777;
  --surface: #ffffff;
  --page-bg: #f5f7f9;
  --line: #e6e8eb;
  --bs-primary: #00c87c;
  --bs-primary-rgb: 0, 200, 124;
  --bs-secondary: #222222;
  --bs-secondary-rgb: 34, 34, 34;
  --bs-body-bg: #f5f7f9;
  --bs-body-color: #333333;
  --bs-body-font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bs-border-color: #e6e8eb;
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-xl: 18px;
  --bs-link-color: #008f59;
  --bs-link-color-rgb: 0, 143, 89;
  --bs-link-hover-color: #00b06d;
  --bs-link-hover-color-rgb: 0, 176, 109;
  --bs-emphasis-color: #1b1f24;
  --bs-heading-color: #1b1f24;
  --bs-tertiary-bg: #eff1f2;
  --bs-secondary-bg: #f1f3f5;
}

html,
body {
  min-height: 100%;
}

body {
  background-color: var(--page-bg);
  background-image: none;
  color: var(--bs-body-color);
}

#container {
  position: static;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 0;
}

main {
  flex: 1 0 auto;
}

#content,
#column-left,
#column-right {
  padding-bottom: 0;
}

#common-home #content {
  padding-bottom: 0;
}

footer.ms-footer {
  position: static;
  bottom: auto;
  width: 100%;
}

#common-home #content h2::after,
#common-home #content h3::after,
#content > h2::after,
#content > h3::after {
  background: var(--ms-green);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Milkyshisha 2.0 — catalogue, unified product cards and pagination
   Presentation only: every link, price, product and category record is
   supplied by the existing OpenCart controllers.
   ========================================================================== */

.ms-catalog-page {
  padding-top: 24px;
  padding-bottom: 56px;
}

.ms-catalog-page #content {
  min-width: 0;
}

.ms-breadcrumb {
  margin-bottom: 20px;
}

.ms-breadcrumb .breadcrumb-item {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category menu in the existing side column, aligned to the brand palette. */
#column-left .list-group,
#column-right .list-group {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px -24px rgba(15, 23, 42, .4);
}

#column-left .list-group-item,
#column-right .list-group-item {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #f0f2f4;
  background: #ffffff;
  color: #444b52;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

#column-left .list-group-item:last-child,
#column-right .list-group-item:last-child {
  border-bottom: 0;
}

#column-left .list-group-item.active,
#column-right .list-group-item.active {
  background: #00b06d;
  color: #ffffff;
  font-weight: 600;
}

#column-left .list-group-item:hover:not(.active),
#column-left .list-group-item:focus:not(.active),
#column-right .list-group-item:hover:not(.active),
#column-right .list-group-item:focus:not(.active) {
  background: #eefbf5;
  color: #008f59;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Category / special page intro
   -------------------------------------------------------------------------- */

.ms-category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 124, .14) 0%, rgba(0, 200, 124, 0) 42%),
    linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);
  box-shadow: 0 10px 30px -26px rgba(15, 23, 42, .45);
}

.ms-category-hero--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.ms-category-hero::after {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -104px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(0, 143, 89, .12);
  border-radius: 50%;
  pointer-events: none;
}

.ms-category-hero__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ms-category-hero__eyebrow {
  display: inline-block;
  color: var(--ms-green-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ms-category-hero__title {
  margin: 8px 0 0;
  padding-bottom: 0;
  color: #1b1f24;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.ms-category-hero__title::after {
  display: none;
}

.ms-category-hero__description {
  max-width: 860px;
  margin-top: 14px;
  color: #555c62;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.ms-category-hero__description > :last-child {
  margin-bottom: 0;
}

.ms-category-hero__description img {
  max-width: 100%;
  height: auto;
}

.ms-category-hero__media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 190px;
  padding: 14px;
  border: 1px solid rgba(0, 143, 89, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.ms-category-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Subcategories
   -------------------------------------------------------------------------- */

.ms-subcategories {
  margin-bottom: 18px;
  padding: 14px 16px 16px;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px -24px rgba(15, 23, 42, .4);
}

.ms-subcategories__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ms-subcategories__title {
  margin: 0;
  padding: 0;
  color: #1b1f24;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.ms-subcategories__title::after {
  display: none;
}

.ms-subcategories__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eefbf5;
  color: #008f59;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.ms-subcategories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
}

.ms-subcategory {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid #edf1ef;
  border-radius: 9px;
  background: #f8faf9;
  color: #333333;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ms-subcategory:hover,
.ms-subcategory:focus {
  border-color: #bdeed9;
  background: #eefbf5;
  color: #008f59;
  text-decoration: none;
  transform: translateY(-1px);
}

.ms-subcategory__icon {
  display: inline-flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #eefbf5;
  color: #008f59;
  font-size: 10px;
  transition: background-color .2s ease, color .2s ease;
}

.ms-subcategory:hover .ms-subcategory__icon,
.ms-subcategory:focus .ms-subcategory__icon {
  background: #00b06d;
  color: #ffffff;
}

.ms-subcategory__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.ms-subcategory__arrow {
  flex: 0 0 auto;
  color: #9aa1a8;
  font-size: 9px;
  transition: color .2s ease, transform .2s ease;
}

.ms-subcategory:hover .ms-subcategory__arrow,
.ms-subcategory:focus .ms-subcategory__arrow {
  color: #008f59;
  transform: translateX(2px);
}

/* Category tiles with images (accessories type grid) */
.ms-subcategories--media .ms-subcategories__grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.ms-subcategories--media .ms-subcategory {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px;
  border-color: #e6e9ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.ms-subcategories--media .ms-subcategory:hover,
.ms-subcategories--media .ms-subcategory:focus {
  border-color: #bdeed9;
  background: #ffffff;
  color: #008f59;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .09);
  transform: translateY(-2px);
}

.ms-subcategory__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.ms-subcategory__media--empty {
  background: #f8faf9;
}

.ms-subcategory__media img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  transition: transform .25s ease;
}

.ms-subcategories--media .ms-subcategory:hover .ms-subcategory__media img,
.ms-subcategories--media .ms-subcategory:focus .ms-subcategory__media img {
  transform: scale(1.04);
}

.ms-subcategories--media .ms-subcategory__name {
  margin-top: 8px;
  color: #1b2430;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.ms-subcategories--media .ms-subcategory__arrow {
  display: none;
}

@media (max-width: 767.98px) {
  .ms-subcategories--media .ms-subcategories__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .ms-subcategories--media .ms-subcategory {
    padding: 8px;
  }

  .ms-subcategories--media .ms-subcategory__name {
    font-size: 12.5px;
  }
}

/* --------------------------------------------------------------------------
   Catalogue toolbar: compare, view mode, sorting and page size
   -------------------------------------------------------------------------- */

.ms-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px -24px rgba(15, 23, 42, .4);
}

.ms-catalog-toolbar__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.ms-catalog-toolbar__group--filters {
  justify-content: flex-end;
}

.ms-compare-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background: #f8faf9;
  color: #444b52;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ms-compare-link i {
  color: #008f59;
  font-size: 12px;
}

.ms-compare-link:hover,
.ms-compare-link:focus {
  border-color: #bdeed9;
  background: #eefbf5;
  color: #008f59;
  text-decoration: none;
}

.ms-view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background: #f8faf9;
}

.ms-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8c9299;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.ms-view-toggle button + button {
  border-left: 1px solid var(--ms-line);
}

.ms-view-toggle button:hover,
.ms-view-toggle button:focus-visible {
  background: #eefbf5;
  color: #008f59;
}

.ms-view-toggle button.active {
  background: #00b06d;
  color: #ffffff;
}

.ms-catalog-toolbar__select {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.ms-catalog-toolbar__select label {
  margin: 0;
  color: #777777;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.ms-catalog-toolbar__select .form-select {
  width: auto;
  min-width: 178px;
  max-width: 250px;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background-color: #f8faf9;
  color: #333333;
  font-size: 13px;
  box-shadow: none;
}

.ms-catalog-toolbar__select .form-select:focus {
  border-color: #8ee4bf;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 200, 124, .12);
}

.ms-catalog-toolbar__group--filters .ms-catalog-toolbar__select:last-child .form-select {
  min-width: 96px;
  max-width: 130px;
}

/* --------------------------------------------------------------------------
   Unified product card
   -------------------------------------------------------------------------- */

.product-thumb.ms-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 20px -18px rgba(15, 23, 42, .4);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-thumb.ms-card:hover,
.product-thumb.ms-card:focus-within {
  border-color: #bdeed9;
  box-shadow: 0 22px 36px -26px rgba(0, 143, 89, .55);
  transform: translateY(-4px);
}

.ms-card__form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.ms-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #eaf8f1 0%, #ffffff 72%);
}

.ms-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.ms-card__image-link img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.product-thumb.ms-card:hover .ms-card__image-link img,
.product-thumb.ms-card:focus-within .ms-card__image-link img {
  transform: scale(1.05);
}

.ms-card__badge {
  top: 13px;
  left: 13px;
  z-index: 2;
  background: linear-gradient(135deg, var(--ms-red), var(--ms-red-dark));
  box-shadow: 0 8px 16px -10px rgba(205, 18, 4, .8);
}

.ms-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 14px 16px 0;
}

.ms-card__rating {
  display: flex;
  align-items: center;
  gap: 1px;
  min-height: 14px;
  color: #f2b01e;
  font-size: 11px;
}

.ms-card__rating .fa-stack {
  width: 13px;
  height: 13px;
  line-height: 13px;
}

.ms-card__title {
  display: -webkit-box;
  min-height: 2.76em;
  margin: 0;
  overflow: hidden;
  color: #1b1f24;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ms-card__title a {
  color: #1b1f24;
  text-decoration: none;
}

.ms-card__title a:hover,
.ms-card__title a:focus {
  color: #008f59;
  text-decoration: none;
}

.ms-card__description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #777777;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ms-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-height: 26px;
  margin-top: auto;
  padding-top: 2px;
}

.ms-card__price .price-new {
  color: #008f59;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.ms-card__price .price-old {
  color: #9aa1a8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: line-through;
}

.ms-card__price .price-tax {
  flex: 1 0 100%;
  color: #8c9299;
  font-size: 10px;
  line-height: 1.3;
}

.ms-card__actions {
  position: static;
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  width: auto;
  margin-top: 12px;
  padding: 12px 16px 15px;
  border-top: 1px solid #f0f2f4;
  background: #ffffff;
}

.ms-card__cart {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #00b06d;
  border-radius: 10px;
  background: #00b06d;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 16px -12px rgba(0, 143, 89, .9);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ms-card__cart i {
  font-size: 12px;
}

.ms-card__cart:hover,
.ms-card__cart:focus {
  border-color: #008f59;
  background: #008f59;
  color: #ffffff;
  transform: translateY(-1px);
}

.ms-card__icon-btn {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background: #f8faf9;
  color: #777777;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ms-card__icon-btn:hover,
.ms-card__icon-btn:focus {
  border-color: #bdeed9;
  background: #eefbf5;
  color: #008f59;
  transform: translateY(-1px);
}

.ms-card__actions .ms-card__icon-btn:nth-of-type(2):hover,
.ms-card__actions .ms-card__icon-btn:nth-of-type(2):focus {
  border-color: #ffd2ce;
  background: #fff1f0;
  color: var(--ms-red-dark);
}

.ms-card__cart:focus-visible,
.ms-card__icon-btn:focus-visible,
.ms-view-toggle button:focus-visible,
.ms-compare-link:focus-visible,
.ms-subcategory:focus-visible,
.ms-search-panel__submit:focus-visible,
.ms-pagination .page-link:focus-visible {
  outline: 3px solid rgba(0, 200, 124, .45);
  outline-offset: 2px;
}

/* Home page uses the same card but its own four-column wrapper. */
.ms-products .product-thumb.ms-card {
  border-radius: 16px;
  border-color: var(--ms-line);
  box-shadow: 0 6px 20px -18px rgba(15, 23, 42, .4);
}

.ms-products .product-thumb.ms-card:hover,
.ms-products .product-thumb.ms-card:focus-within {
  border-color: #bdeed9;
  box-shadow: 0 22px 36px -26px rgba(0, 143, 89, .55);
  transform: translateY(-4px);
}

.ms-products .product-thumb.ms-card .ms-card__price .price-new {
  color: #008f59;
  font-size: 18px;
}

.ms-products .product-thumb.ms-card .ms-card__badge {
  top: 13px;
  left: 13px;
  background: linear-gradient(135deg, var(--ms-red), var(--ms-red-dark));
}

/* --------------------------------------------------------------------------
   Grid and list views
   -------------------------------------------------------------------------- */

#product-list {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
  margin-bottom: 0;
}

#product-list > .col {
  display: flex;
  min-width: 0;
}

#product-list > .col > .product-thumb.ms-card {
  flex: 1 1 auto;
}

.product-list {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.product-list > .col {
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
}

.product-list > .col:last-child {
  margin-bottom: 0;
}

/* Override the legacy row layout until the themed list breakpoint. */
.product-list .product-thumb.ms-card {
  flex-direction: column;
}

@media (min-width: 992px) {
  .product-list .product-thumb.ms-card {
    flex-direction: row;
    min-height: 216px;
  }

  .product-list .ms-card__form {
    flex-direction: row;
    align-items: stretch;
  }

  .product-list .ms-card__media {
    flex: 0 0 240px;
    width: 240px;
    height: auto;
    min-height: 214px;
    padding: 20px;
  }

  .product-list .ms-card__body {
    flex: 1 1 auto;
    justify-content: center;
    gap: 6px;
    padding: 20px 20px 20px 4px;
  }

  .product-list .ms-card__title {
    display: -webkit-box;
    min-height: 0;
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .product-list .ms-card__description {
    max-width: 760px;
    -webkit-line-clamp: 2;
  }

  .product-list .ms-card__price {
    min-height: 0;
    margin-top: 5px;
  }

  .product-list .ms-card__price .price-new {
    font-size: 20px;
  }

  .product-list .ms-card__actions {
    flex: 0 0 auto;
    align-self: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 20px 20px 20px 0;
    border-top: 0;
    background: transparent;
  }

  .product-list .ms-card__cart {
    flex: 0 0 auto;
    padding: 0 18px;
  }
}

@media (max-width: 991.98px) {
  .product-list .ms-card__form {
    flex-direction: column;
  }

  .product-list .ms-card__media {
    width: 100%;
    height: 190px;
  }
}

/* --------------------------------------------------------------------------
   Search page form
   -------------------------------------------------------------------------- */

.ms-search-panel {
  margin-bottom: 26px;
  padding: 26px 28px;
  border: 1px solid var(--ms-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 124, .12) 0%, rgba(0, 200, 124, 0) 42%),
    linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);
  box-shadow: 0 10px 30px -26px rgba(15, 23, 42, .45);
}

.ms-search-panel__head {
  margin-bottom: 18px;
}

.ms-search-panel__eyebrow {
  display: block;
  color: var(--ms-green-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ms-search-panel__title {
  margin: 7px 0 0;
  padding-bottom: 0;
  color: #1b1f24;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.ms-search-panel__title::after {
  display: none;
}

.ms-search-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ms-form-field {
  min-width: 0;
}

.ms-form-field__label {
  display: block;
  margin-bottom: 6px;
  color: #555c62;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.ms-form-field .form-control,
.ms-form-field .form-select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--ms-line);
  border-radius: 10px;
  background-color: #ffffff;
  color: #333333;
  font-size: 13px;
  box-shadow: none;
}

.ms-form-field .form-control:focus,
.ms-form-field .form-select:focus {
  border-color: #8ee4bf;
  box-shadow: 0 0 0 3px rgba(0, 200, 124, .12);
}

.ms-form-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 0;
}

.ms-form-check .form-check-input {
  margin: 2px 0 0;
  border-color: #cfd5da;
}

.ms-form-check .form-check-input:checked {
  border-color: #00b06d;
  background-color: #00b06d;
}

.ms-form-check .form-check-label {
  color: #6b7278;
  font-size: 12px;
  line-height: 1.4;
}

.ms-search-panel__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.ms-search-panel__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid #00b06d;
  border-radius: 10px;
  background: #00b06d;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ms-search-panel__submit:hover,
.ms-search-panel__submit:focus {
  border-color: #008f59;
  background: #008f59;
  transform: translateY(-1px);
}

.ms-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ms-results-head__title {
  margin: 0;
  padding: 0;
  color: #1b1f24;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.ms-results-head__title::after {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer of the product list, empty states and pagination
   -------------------------------------------------------------------------- */

.ms-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ms-line);
}

.ms-catalog-footer__pagination {
  min-width: 0;
}

.ms-catalog-footer__results {
  color: #777777;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.ms-pagination {
  min-width: 0;
}

.ms-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.ms-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ms-line);
  border-radius: 9px;
  background: #ffffff;
  color: #444b52;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ms-pagination .page-link i {
  font-size: 11px;
}

.ms-pagination .page-link:hover,
.ms-pagination .page-link:focus {
  border-color: #bdeed9;
  background: #eefbf5;
  color: #008f59;
  text-decoration: none;
}

.ms-pagination .page-item.active .page-link {
  border-color: #00b06d;
  background: #00b06d;
  color: #ffffff;
}

.ms-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  padding: 46px 24px;
  border: 1px dashed #d7dde2;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
}

.ms-empty-state--compact {
  padding: 32px 24px;
}

.ms-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #eefbf5;
  color: #008f59;
  font-size: 21px;
}

.ms-empty-state h2 {
  margin: 0 0 7px;
  padding: 0;
  color: #1b1f24;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.ms-empty-state h2::after {
  display: none;
}

.ms-empty-state p {
  max-width: 480px;
  margin: 0;
  color: #777777;
  font-size: 13px;
  line-height: 1.55;
}

.ms-empty-state__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #008f59;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.ms-empty-state__link i {
  font-size: 11px;
  transition: transform .2s ease;
}

.ms-empty-state__link:hover,
.ms-empty-state__link:focus {
  color: var(--ms-red-dark);
  text-decoration: none;
}

.ms-empty-state__link:hover i,
.ms-empty-state__link:focus i {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Responsive catalogue
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .ms-category-hero {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px;
    padding: 26px 28px;
  }

  .ms-category-hero__media {
    height: 170px;
  }

  .ms-card__media {
    height: 190px;
    padding: 18px;
  }

  #product-list {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .ms-card__cart {
    gap: 5px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
}

@media (max-width: 991.98px) {
  .ms-catalog-page {
    padding-top: 20px;
    padding-bottom: 46px;
  }

  .ms-category-hero {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 18px;
    padding: 24px;
  }

  .ms-category-hero__media {
    height: 150px;
  }

  .ms-category-hero__description {
    font-size: 13px;
  }

  .ms-subcategories {
    padding: 18px;
  }

  .ms-subcategories__grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  }

  .ms-catalog-toolbar {
    align-items: stretch;
  }

  .ms-catalog-toolbar__group--filters {
    justify-content: flex-start;
  }

  .ms-catalog-toolbar__select {
    flex: 1 1 210px;
  }

  .ms-catalog-toolbar__select .form-select {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .ms-catalog-toolbar__group--filters .ms-catalog-toolbar__select:last-child .form-select {
    min-width: 96px;
    max-width: none;
  }

  .ms-search-panel {
    padding: 22px;
  }
}

@media (max-width: 767.98px) {
  .ms-catalog-page {
    padding-top: 16px;
    padding-bottom: 38px;
  }

  .ms-breadcrumb {
    margin-bottom: 14px;
  }

  .ms-category-hero,
  .ms-category-hero--text-only {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
  }

  .ms-category-hero__media {
    height: 140px;
    order: -1;
    border-radius: 12px;
  }

  .ms-category-hero__title {
    font-size: 1.55rem;
  }

  .ms-category-hero__description {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.6;
  }

  .ms-subcategories {
    padding: 16px;
    border-radius: 15px;
  }

  .ms-subcategories__title {
    font-size: 16px;
  }

  .ms-subcategories__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ms-subcategory {
    padding: 9px 10px;
  }

  .ms-catalog-toolbar {
    flex-direction: column;
    gap: 10px;
    padding: 11px;
  }

  .ms-catalog-toolbar__group,
  .ms-catalog-toolbar__group--filters {
    width: 100%;
    justify-content: flex-start;
  }

  .ms-catalog-toolbar__group--filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .ms-catalog-toolbar__select {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 0;
  }

  .ms-catalog-toolbar__select .form-select {
    width: 100%;
    min-width: 0;
    max-width: none;
    font-size: 12px;
  }

  .ms-catalog-toolbar__group--filters .ms-catalog-toolbar__select:last-child .form-select {
    min-width: 0;
  }

  .ms-compare-link {
    flex: 1 1 auto;
    justify-content: center;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .ms-view-toggle button {
    width: 38px;
    height: 36px;
  }

  .ms-card__media {
    height: 168px;
    padding: 14px;
  }

  .ms-card__body {
    gap: 5px;
    padding: 11px 11px 0;
  }

  .ms-card__title {
    min-height: 2.7em;
    font-size: 12px;
  }

  .ms-card__description {
    font-size: 11px;
  }

  .ms-card__price {
    min-height: 22px;
  }

  .ms-card__price .price-new,
  .ms-products .product-thumb.ms-card .ms-card__price .price-new {
    font-size: 15px;
  }

  .ms-card__price .price-old {
    font-size: 11px;
  }

  .ms-card__actions {
    gap: 5px;
    margin-top: 9px;
    padding: 9px 10px 11px;
  }

  .ms-card__cart {
    height: 36px;
    padding: 0 8px;
    font-size: 11px;
  }

  .ms-card__icon-btn {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .ms-search-panel {
    padding: 18px;
    border-radius: 16px;
  }

  .ms-search-panel__title {
    font-size: 1.45rem;
  }

  .ms-search-panel__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ms-search-panel__actions {
    justify-content: stretch;
    margin-top: 16px;
  }

  .ms-search-panel__submit {
    width: 100%;
  }

  .ms-results-head {
    margin-bottom: 11px;
  }

  .ms-results-head__title {
    font-size: 17px;
  }

  .ms-catalog-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
  }

  .ms-catalog-footer__results {
    text-align: left;
  }

  .ms-pagination .page-link {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 8px;
  }

  .ms-empty-state {
    padding: 34px 18px;
  }

  .ms-empty-state__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 19px;
  }

  .ms-empty-state h2 {
    font-size: 17px;
  }
}

@media (max-width: 575.98px) {
  .ms-catalog-toolbar__group {
    flex-wrap: wrap;
  }

  .ms-compare-link {
    flex-basis: 100%;
  }

  .ms-view-toggle {
    flex: 0 0 auto;
  }

  #product-list {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
  }

  /* Keep the compact two-column rhythm used by the home page on phones. */
  #product-list.ms-product-grid > .col {
    width: 50%;
    max-width: 50%;
  }

  .ms-card__media {
    height: 148px;
    padding: 12px;
  }

  .ms-card__title {
    font-size: 11.5px;
  }

  .ms-card__description {
    display: none;
  }

  .ms-card__cart {
    font-size: 10.5px;
  }

  .ms-card__cart span {
    display: none;
  }

  .ms-card__cart i {
    font-size: 14px;
  }

  .ms-subcategories__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .ms-card__badge {
    top: 9px;
    left: 9px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .ms-card__media {
    height: 136px;
  }
}

/* --------------------------------------------------------------------------
   Delivery & payment page
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#information-information #content > h1 {
  margin: 4px 0 14px;
  color: #1b2430;
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

#information-information .breadcrumb {
  margin: 2px 0 18px;
  padding: 0;
  background: transparent;
  font-size: 13px;
}

.ms-delivery {
  --msd-ink: #1b2430;
  --msd-muted: #5d6675;
  --msd-line: #e6e9ef;
  --msd-soft: #f6f8fa;
  --msd-green: #00c87c;
  --msd-green-dark: #008a56;
  --msd-green-soft: #e9faf2;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--msd-ink);
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.ms-delivery p {
  margin: 0 0 12px;
}

.ms-delivery ul,
.ms-delivery ol {
  margin: 0;
  padding-left: 20px;
}

.ms-delivery li {
  margin: 6px 0;
}

.ms-delivery h2 {
  margin: 0 0 16px;
  color: var(--msd-ink);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ms-delivery h3 {
  margin: 0 0 10px;
  color: var(--msd-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.ms-delivery p.ms-delivery__lead {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--msd-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ms-delivery__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ms-delivery__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--msd-green-soft);
  color: var(--msd-green-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.ms-delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ms-delivery-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--msd-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ms-delivery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, .09);
}

.ms-delivery-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--msd-green-soft);
  color: var(--msd-green-dark);
  font-size: 18px;
}

.ms-delivery .ms-delivery-card__title {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ms-delivery-card__meta {
  margin: 0 0 12px;
  color: var(--msd-green-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ms-delivery-card > p:not(.ms-delivery-card__meta) {
  color: var(--msd-muted);
}

.ms-delivery-card ul {
  margin-top: auto;
  padding-top: 8px;
  color: var(--msd-muted);
  font-size: 14.5px;
}

.ms-delivery-card li::marker {
  color: var(--msd-green);
}

.ms-delivery__section {
  margin-top: 40px;
}

.ms-delivery__section--soft {
  padding: 26px;
  border-radius: 20px;
  background: var(--msd-soft);
}

.ms-delivery__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ms-delivery__panel {
  padding: 22px;
  border: 1px solid var(--msd-line);
  border-radius: 16px;
  background: #fff;
}

.ms-delivery__panel ul {
  color: var(--msd-muted);
}

.ms-delivery__panel strong {
  color: var(--msd-ink);
  font-weight: 700;
}

.ms-delivery__pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ms-delivery__pay-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(0, 176, 109, .16);
  border-radius: 16px;
  background: #fff;
}

.ms-delivery__pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--msd-green-soft);
  color: var(--msd-green-dark);
  font-size: 17px;
}

.ms-delivery__pay-item h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.ms-delivery__pay-item p {
  margin: 0;
  color: var(--msd-muted);
  font-size: 14.5px;
}

.ms-delivery__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: msd-step;
}

.ms-delivery__steps li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--msd-line);
  border-radius: 16px;
  background: #fff;
  color: var(--msd-muted);
  font-size: 14.5px;
}

.ms-delivery__steps li::before {
  counter-increment: msd-step;
  content: counter(msd-step);
  position: absolute;
  top: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--msd-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ms-delivery__note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid #f0dfb2;
  border-radius: 16px;
  background: #fff9e9;
}

.ms-delivery__note-icon {
  flex: 0 0 auto;
  color: #b8860b;
  font-size: 20px;
  line-height: 1.4;
}

.ms-delivery__note strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.ms-delivery__note p {
  margin: 0;
  color: #6b5a2e;
  font-size: 14.5px;
}

.ms-delivery__cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00b06d 0%, #00c87c 100%);
  color: #fff;
}

.ms-delivery__cta-text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 800;
}

.ms-delivery__cta-text p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14.5px;
}

.ms-delivery__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ms-delivery__cta-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.ms-delivery__cta-actions a:hover,
.ms-delivery__cta-actions a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.ms-delivery p.ms-delivery__legal {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--msd-line);
  color: #8a919c;
  font-size: 12px;
  line-height: 1.6;
}

.ms-guarantees__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

.ms-guarantees__stat {
  padding: 18px 20px;
  border: 1px solid var(--msd-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
}

.ms-guarantees__stat strong {
  display: block;
  color: var(--msd-green-dark);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ms-guarantees__stat span {
  display: block;
  margin-top: 4px;
  color: var(--msd-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .ms-guarantees__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .ms-delivery__grid,
  .ms-delivery__split,
  .ms-delivery__pay,
  .ms-delivery__steps {
    grid-template-columns: 1fr;
  }

  .ms-delivery__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ms-delivery__cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .ms-delivery {
    font-size: 15px;
  }

  .ms-delivery__lead {
    font-size: 16px;
  }

  .ms-delivery__section--soft {
    padding: 20px;
  }

  .ms-delivery__panel,
  .ms-delivery-card {
    padding: 18px;
  }

  .ms-delivery__cta {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   Contacts page
   -------------------------------------------------------------------------- */

#information-contact {
  padding-top: 24px;
}

#information-contact .breadcrumb {
  margin: 2px 0 18px;
  padding: 0;
  background: transparent;
  font-size: 13px;
}

.ms-contact {
  --msc-ink: #1b2430;
  --msc-muted: #5d6675;
  --msc-line: #e6e9ef;
  --msc-soft: #f6f8fa;
  --msc-green: #00c87c;
  --msc-green-dark: #008a56;
  --msc-green-soft: #e9faf2;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--msc-ink);
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.ms-contact h1,
.ms-contact h2,
.ms-contact p,
.ms-contact ul {
  margin-top: 0;
}

.ms-contact h2 {
  margin-bottom: 10px;
  color: var(--msc-ink);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ms-contact__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .9fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.ms-contact__hero-main {
  position: relative;
  overflow: hidden;
  padding: 34px 36px;
  border: 1px solid var(--msc-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 200, 124, .14), transparent 46%),
    #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .05);
}

.ms-contact__hero-main::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 200, 124, .07);
  pointer-events: none;
}

.ms-contact__eyebrow {
  margin-bottom: 10px;
  color: var(--msc-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ms-contact .ms-contact__hero-main h1 {
  margin-bottom: 14px;
  color: var(--msc-ink);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ms-contact p.ms-contact__lead {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--msc-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ms-contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-contact__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--msc-green-soft);
  color: var(--msc-green-dark);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.ms-contact__chips i {
  font-size: 12px;
}

.ms-contact__messengers {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0, rgba(0, 200, 124, .24), transparent 48%),
    #181b21;
  color: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, .16);
}

.ms-contact__messengers h2 {
  margin-bottom: 8px;
  color: #fff;
}

.ms-contact__messengers > p {
  margin-bottom: 20px;
  color: #a7adb6;
  font-size: 13.5px;
  line-height: 1.6;
}

.ms-contact__messenger {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ms-contact__messenger:hover,
.ms-contact__messenger:focus-visible {
  border-color: rgba(0, 200, 124, .55);
  background: rgba(0, 200, 124, .16);
  color: #fff;
  transform: translateY(-1px);
}

.ms-contact__messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(0, 200, 124, .16);
  color: #48e3a7;
  font-size: 19px;
}

.ms-contact__messenger-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.ms-contact__messenger-text strong {
  font-size: 15px;
  font-weight: 700;
}

.ms-contact__messenger-text small {
  margin-top: 2px;
  color: #9aa0aa;
  font-size: 12.5px;
}

.ms-contact__messenger-arrow {
  margin-left: auto;
  color: #6f7681;
  font-size: 12px;
  transition: color .2s ease, transform .2s ease;
}

.ms-contact__messenger:hover .ms-contact__messenger-arrow {
  color: #48e3a7;
  transform: translateX(2px);
}

.ms-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ms-contact-card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 21px;
  border: 1px solid var(--msc-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ms-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, .08);
}

.ms-contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--msc-green-soft);
  color: var(--msc-green-dark);
  font-size: 17px;
}

.ms-contact-card__title {
  margin-bottom: 8px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.ms-contact-card__value {
  margin: 0 0 6px;
  color: var(--msc-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ms-contact-card__value a {
  color: var(--msc-ink);
  text-decoration: none;
}

.ms-contact-card__value a:hover,
.ms-contact-card__value a:focus {
  color: var(--msc-green-dark);
}

.ms-contact-card__value small {
  display: block;
  margin-top: 1px;
  color: var(--msc-muted);
  font-size: 12px;
  font-weight: 500;
}

.ms-contact-card__note {
  margin: 0;
  color: var(--msc-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.ms-contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--msc-green-dark);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.ms-contact-card__link:hover,
.ms-contact-card__link:focus {
  color: var(--msc-green);
}

.ms-contact-card__link i {
  font-size: 10px;
}

.ms-contact__form-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: var(--msc-soft);
}

.ms-contact__form-aside {
  padding-top: 4px;
}

.ms-contact__form-aside > p {
  margin-bottom: 18px;
  color: var(--msc-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.ms-contact__form-points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ms-contact__form-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 9px 0;
  color: var(--msc-ink);
  font-size: 14px;
  line-height: 1.5;
}

.ms-contact__form-points i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--msc-green-soft);
  color: var(--msc-green-dark);
  font-size: 9px;
}

.ms-contact p.ms-contact__form-call {
  margin: 0;
  color: var(--msc-muted);
  font-size: 13.5px;
}

.ms-contact__form-call a {
  color: var(--msc-ink);
  font-weight: 800;
  text-decoration: none;
}

.ms-contact__form-call a:hover,
.ms-contact__form-call a:focus {
  color: var(--msc-green-dark);
}

.ms-contact__form {
  padding: 24px;
  border: 1px solid var(--msc-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .05);
}

.ms-contact__field {
  margin-bottom: 16px;
}

.ms-contact__form .form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--msc-ink);
  font-size: 13px;
  font-weight: 700;
}

.ms-contact__form .form-control {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dde2e9;
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--msc-ink);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ms-contact__form textarea.form-control {
  min-height: 148px;
  resize: vertical;
}

.ms-contact__form .form-control::placeholder {
  color: #a2a8b2;
}

.ms-contact__form .form-control:focus {
  border-color: var(--msc-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 200, 124, .14);
  outline: 0;
}

.ms-contact__form .form-control.is-invalid {
  border-color: #df1404;
}

.ms-contact__form .invalid-feedback {
  margin-top: 5px;
  color: #c8102e;
  font-size: 12px;
}

.ms-contact .ms-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 4px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b06d 0%, #00c87c 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 176, 109, .24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ms-contact .ms-contact__submit:hover,
.ms-contact .ms-contact__submit:focus {
  background: linear-gradient(135deg, #009a5f 0%, #00b06d 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(0, 176, 109, .3);
}

.ms-contact p.ms-contact__legal {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--msc-line);
  color: #8a919c;
  font-size: 11.5px;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .ms-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-contact-card {
    min-height: 196px;
  }
}

@media (max-width: 991.98px) {
  .ms-contact__hero {
    grid-template-columns: 1fr;
  }

  .ms-contact__form-section {
    grid-template-columns: 1fr;
  }

  .ms-contact__form-aside {
    padding-top: 0;
  }
}

@media (max-width: 575.98px) {
  #information-contact {
    padding-top: 16px;
  }

  .ms-contact {
    font-size: 15px;
  }

  .ms-contact__hero-main {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .ms-contact p.ms-contact__lead {
    font-size: 15.5px;
  }

  .ms-contact__chips li {
    font-size: 11.5px;
  }

  .ms-contact__messengers {
    padding: 22px;
    border-radius: 20px;
  }

  .ms-contact__grid {
    grid-template-columns: 1fr;
  }

  .ms-contact-card {
    min-height: 0;
  }

  .ms-contact__form-section {
    padding: 18px;
    border-radius: 20px;
  }

  .ms-contact__form {
    padding: 18px;
    border-radius: 16px;
  }

  .ms-contact .ms-contact__submit {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Header social icons — slightly larger and more visible
   -------------------------------------------------------------------------- */

.ms-topbar .ms-socials {
  gap: 8px;
}

.ms-topbar .ms-socials a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .13);
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ms-topbar .ms-socials a:hover,
.ms-topbar .ms-socials a:focus-visible {
  border-color: var(--ms-green);
  background: var(--ms-green);
  color: #fff;
  transform: translateY(-1px);
}
