
/* Header: restored desktop composition inspired by the original Kolagen365 shop. */
.k365-header-strap {
  height: 24px;
  color: #fff;
  background: #13283a;
  font-size: 11px;
  line-height: 24px;
}

.k365-header-strap .container {
  padding-top: 0;
}

#header .k365-contact-link {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 14px;
  color: #fff;
  border-right: 1px solid #474747;
  border-left: 1px solid #474747;
  font-size: 12px;
  font-weight: 700;
}

#header .k365-contact-link:hover,
#header .k365-contact-link:focus {
  color: #fff;
  background: #252525;
}

@media (min-width: 992px) {
  #header {
    position: relative;
    background: #fff;
  }

  #header .header-nav {
    height: 42px;
    max-height: none;
    margin: 0;
    color: #9a9a9a;
    background: #1d3447;
    border: 0;
  }

  #header .header-nav .container,
  #header .header-nav .row,
  #header .header-nav .hidden-sm-down,
  #header .header-nav .right-nav {
    position: static;
    height: 38px;
  }

  #header .header-nav .container,
  #header .header-nav .row,
  #header .header-nav .hidden-sm-down,
  #header .header-nav .right-nav {
    height: 42px;
  }

  #header .header-nav .right-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }

  #header .header-nav .k365-contact-link,
  #header .header-nav #_desktop_user_info {
    flex: 0 0 140px;
    width: 140px;
    height: 42px;
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
  }

  #header .header-nav #_desktop_user_info,
  #header .header-nav #_desktop_user_info .user-info,
  #header .header-nav #_desktop_user_info .user-info a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: none !important;
  }

  #header .header-nav #_desktop_user_info .user-info,
  #header .header-nav #_desktop_user_info .user-info a {
    width: 100%;
    height: 100% !important;
  }

  #header .header-nav #contact-link {
    display: flex;
    height: 42px;
    align-items: center;
    margin-top: 0 !important;
    color: #969696;
    line-height: 1.2;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
  }

  #header .header-nav #contact-link::before {
    margin-right: 7px;
    color: #fff;
    content: "\260e";
    font-size: 16px;
  }

  #header .header-nav #contact-link a,
  #header .header-nav .user-info a {
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  #header .header-nav .user-info {
    height: 42px;
    margin: 0;
    width: 100%;
    padding: 0;
    border-right: 1px solid #474747;
  }

  #header .header-nav .user-info a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
  }

  #header .header-nav .user-info span,
  #header .k365-contact-link {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  #header .header-nav .user-info span.hidden-sm-down {
    display: inline-block;
    width: auto;
    height: auto !important;
  }

  #header .header-nav .user-info .material-icons {
    display: none;
  }

  #header .header-top {
    position: static;
    padding: 0;
  }

  #header .header-top > .container,
  #header .header-top > .container > .row,
  #header .header-top-right {
    position: static !important;
  }

  #header .header-top > .container > .row {
    min-height: 370px;
    margin: 0 -15px;
  }

  #header #_desktop_logo {
    position: absolute;
    top: 92px;
    left: max(15px, calc((100% - 1140px) / 2 + 15px));
    width: 180px;
    padding: 0;
  }

  #header #_desktop_logo h1 {
    margin: 0;
  }

  #header #_desktop_logo .logo {
    width: 180px;
    height: 127px;
    max-height: none;
  }

  #header #search_widget {
    position: absolute;
    top: 118px;
    left: 50%;
    width: 500px;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }

  #header #search_widget form {
    position: relative;
  }

  #header #search_widget input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 64px 0 14px;
    color: #555;
    background: #fff;
    border: 1px solid #cfdbe4;
    border-radius: 2px;
    box-shadow: none;
    font-size: 14px;
  }

  #header #search_widget input[type="text"]::placeholder {
    color: #7f8b95;
    opacity: 1;
  }

  #header #search_widget .material-icons.search {
    top: 0;
    right: 0;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #123f69;
    border-radius: 0 2px 2px 0;
    font-size: 24px;
  }

  #header #search_widget .material-icons.clear {
    display: none;
  }

  #header #_desktop_cart {
    position: absolute;
    z-index: 3;
    top: 118px;
    right: max(15px, calc((100% - 1140px) / 2 + 15px));
    width: 230px;
    height: 50px;
  }

  #header #_desktop_cart .blockcart,
  #header #_desktop_cart .blockcart .header {
    height: 50px;
    margin: 0;
    background: transparent;
  }

  #header #_desktop_cart .blockcart {
    padding: 0;
  }

  #header #_desktop_cart .blockcart .header {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #123f69;
    background: #fff;
    border: 1px solid #bfd0dc;
    border-radius: 2px;
    box-shadow: none;
  }

  #header #_desktop_cart .shopping-cart {
    margin-right: 13px;
    color: #17648c;
  }

  #header #_desktop_cart .hidden-sm-down {
    height: auto;
    color: #123f69;
    font-weight: 700;
  }

  #header #_desktop_cart .cart-products-count {
    margin-left: 7px;
    color: #8294a2;
  }

  #header #_desktop_top_menu {
    position: absolute;
    z-index: 4;
    top: 224px;
    left: max(15px, calc((100% - 1140px) / 2 + 15px));
    width: min(1110px, calc(100% - 30px));
    margin: 0;
    padding: 0;
  }

  #header #_desktop_top_menu > .top-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background: #f5f8fa;
    border-top: 3px solid #123f69;
    border-bottom: 2px solid #d7e1e8;
    box-shadow: none;
  }

  #header #_desktop_top_menu > .top-menu > li {
    display: block;
    float: none;
    margin: 0 0 -1px -1px;
  }

  #header #_desktop_top_menu > .top-menu > .k365-menu-break {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
  }

  #header #_desktop_top_menu > .top-menu > li > a.dropdown-item {
    display: flex;
    height: 48px;
    align-items: center;
    padding: 0 17px;
    color: #263b4a;
    background: #f8fafb;
    border: 1px solid #d7e1e8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
  }

  #header #_desktop_top_menu > .top-menu > li > a.dropdown-item:hover,
  #header #_desktop_top_menu > .top-menu > li:hover > a.dropdown-item {
    color: #fff;
    background: #17648c;
    border-color: #17648c;
  }

  #header #_desktop_top_menu .sub-menu {
    top: 47px !important;
  }
}

/* Desktop stays comfortable without oversized, presentation-like proportions. */
@media (min-width: 1200px) {
  .k365-header-strap {
    height: 24px;
    font-size: 11px;
    line-height: 24px;
  }

  #header .header-nav,
  #header .header-nav .container,
  #header .header-nav .row,
  #header .header-nav .hidden-sm-down,
  #header .header-nav .right-nav {
    height: 42px;
  }

  #header .header-nav #contact-link {
    height: 42px;
    font-size: 14px;
  }

  #header .k365-contact-link {
    padding: 0;
    font-size: 14px;
  }

  #header .header-nav .user-info,
  #header .header-nav .user-info a {
    height: 42px;
    font-size: 14px;
  }

  #header .header-nav #_desktop_user_info {
    height: 42px;
  }

  #header .header-nav .k365-contact-link {
    height: 42px;
  }

  #header .header-top > .container > .row {
    min-height: 370px;
  }

  #header #_desktop_logo {
    top: 92px;
    width: 185px;
  }

  #header #_desktop_logo .logo {
    width: 185px;
    height: 131px;
  }

  #header #search_widget {
    top: 118px;
    width: 500px;
  }

  #header #search_widget input[type="text"],
  #header #search_widget .material-icons.search {
    height: 50px;
  }

  #header #search_widget input[type="text"] {
    padding-right: 66px;
    padding-left: 16px;
    font-size: 14px;
  }

  #header #search_widget .material-icons.search {
    width: 54px;
  }

  #header #_desktop_cart {
    top: 118px;
    width: 230px;
    height: 50px;
  }

  #header #_desktop_cart .blockcart,
  #header #_desktop_cart .blockcart .header {
    height: 50px;
  }

  #header #_desktop_cart .hidden-sm-down,
  #header #_desktop_cart .cart-products-count {
    font-size: 15px;
  }

  #header #_desktop_top_menu {
    top: 224px;
  }

  #header #_desktop_top_menu > .top-menu > li > a.dropdown-item {
    height: 48px;
    padding: 0 17px;
    font-size: 14px;
  }

  #header #_desktop_top_menu .sub-menu {
    top: 47px !important;
  }
}

/* Homepage: familiar shop layout with a practical left column. */
.k365-home-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.k365-home-shell > .k365-hero {
  grid-column: 1 / -1;
  grid-row: 1;
}

.k365-home-shell__sidebar {
  grid-column: 1;
  grid-row: 2;
}

.k365-home-shell__main {
  grid-column: 2;
  grid-row: 2;
}

.k365-home-shell__sidebar,
.k365-home-shell__main {
  min-width: 0;
}

.k365-home-shell__sidebar .block,
.k365-home-shell__sidebar .card,
.k365-home-shell__sidebar #search_filters_brands {
  margin-bottom: 20px;
  border: 1px solid #d8e0e6;
  background: #fff;
  box-shadow: none;
}

.k365-home-shell__sidebar .block-title,
.k365-home-shell__sidebar .h6,
.k365-home-shell__sidebar .facet-title,
.k365-home-shell__sidebar .category-top-menu > li:first-child > a {
  display: block;
  margin: 0;
  padding: 12px 14px;
  color: #fff;
  background: #174b78;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.k365-home-shell__sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k365-home-shell__sidebar li a {
  display: block;
  padding: 9px 13px;
  color: #2d3740;
  border-bottom: 1px solid #e6eaed;
  font-size: 13px;
  line-height: 1.35;
}

.k365-home-shell__sidebar li:last-child > a { border-bottom: 0; }

@media (max-width: 991px) {
  .k365-home-shell { display: block; }
  .k365-home-shell__sidebar { display: none; }
}

@media (max-width: 1199px) and (min-width: 992px) {
  #header #_desktop_logo {
    left: 30px;
  }

  #header #_desktop_cart {
    right: 30px;
    width: 230px;
  }

  #header #_desktop_top_menu {
    left: 30px;
    width: calc(100% - 60px);
  }

  #header #_desktop_top_menu > .top-menu > li > a.dropdown-item {
    height: 45px;
    padding: 0 13px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .k365-menu-break {
    display: none !important;
  }

  .k365-header-strap {
    height: auto;
    min-height: 24px;
    background: #20232a;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .k365-header-strap .container {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  #header .k365-contact-link {
    display: none;
  }
}

/* Sale marker: clipped diagonal corner ribbon used on product thumbnails. */
.product-miniature .thumbnail-container .product-flags .product-flag.on-sale,
body#product .product-container .page-content > .product-flags .product-flag.on-sale {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: -35px;
  display: block;
  width: 130px;
  height: 28px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #ed2942;
  box-shadow: 0 2px 4px rgba(95, 10, 22, .18);
  font-size: 11px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  transform-origin: center;
  white-space: nowrap;
}

body#product .product-container > .col-md-6:first-child .page-content {
  overflow: hidden;
}

.product-miniature .thumbnail-container .product-flags .product-flag.discount,
body#product .product-container .page-content > .product-flags .product-flag.discount {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 5px 8px;
}

/* Homepage: full-width hero followed by the classic left column layout. */
.k365-home-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-auto-flow: row;
  column-gap: 30px;
  align-items: start;
}

.k365-home-layout > .k365-hero {
  grid-row: 1;
  grid-column: 1 / -1;
}

.k365-home-sidebar {
  display: flex;
  flex-direction: column;
  grid-row: 2 / span 50;
  grid-column: 1;
  min-width: 0;
}

.k365-home-sidebar .block-categories {
  order: 1;
}

.k365-home-sidebar #search_filters_brands {
  order: 2;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e0e5;
}

.k365-home-sidebar #search_filters_brands .facet,
.k365-home-sidebar #search_filters_brands .facet > div {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.k365-home-sidebar #search_filters_brands .facet-label {
  margin: 0;
}

.k365-home-sidebar #search_filters_brands ul,
.k365-home-sidebar #search_filters_brands li,
.k365-home-sidebar #search_filters_brands li a {
  display: block;
  width: 100%;
  margin: 0;
}

.k365-home-sidebar #search_filters_brands li {
  padding: 0;
}

.k365-home-store { order: 3; }
.k365-home-information { order: 4; }
.k365-home-recent { order: 5; }
.k365-home-facebook { order: 6; }

.k365-home-store,
.k365-home-information,
.k365-home-recent,
.k365-home-facebook {
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e0e5;
}

.k365-home-store h3,
.k365-home-information h3,
.k365-home-recent h3,
.k365-home-facebook h3 {
  margin: 0;
}

.k365-home-store__image,
.k365-home-store__image img {
  display: block;
  width: 100%;
  height: auto;
}

.k365-home-store__content {
  padding: 12px 14px 14px;
}

.k365-home-store__content p {
  margin: 0 0 10px;
  color: #53616a;
  font-size: 13px;
  line-height: 1.5;
}

.k365-sidebar-button {
  display: inline-block;
  padding: 7px 10px;
  color: #fff;
  background: #465761;
  font-size: 12px;
  font-weight: 600;
}

.k365-sidebar-button:hover,
.k365-sidebar-button:focus {
  color: #fff;
  background: #263b48;
  text-decoration: none;
}

.k365-sidebar-payments {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #e3e7e9;
}

.k365-sidebar-payments img {
  width: auto;
  max-width: 62px;
  height: 22px;
  object-fit: contain;
}

.k365-home-information ul,
.k365-home-recent ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k365-home-information li a {
  position: relative;
  padding: 9px 13px 9px 27px;
}

.k365-home-information li a::before {
  position: absolute;
  top: 8px;
  left: 13px;
  content: "›";
  color: #476173;
  font-size: 16px;
  line-height: 1;
}

.k365-home-recent li + li {
  border-top: 0;
}

.k365-home-recent__header {
  display: flex;
  height: 42px;
  align-items: center;
  color: #fff;
  background: #123f69;
}

.k365-home-recent__header h3 {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 42px;
  text-transform: uppercase;
}

.k365-home-recent__viewport {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.k365-home-recent .k365-home-recent__track {
  display: flex;
  width: 100%;
  transition: transform 300ms ease;
  will-change: transform;
}

.k365-home-recent__slide {
  display: flex;
  flex: 0 0 calc(100% / var(--k365-recent-per-view, 1));
  min-width: 0;
  width: calc(100% / var(--k365-recent-per-view, 1));
  flex-direction: column;
  align-items: center;
  padding: 15px 30px 13px;
}

.k365-home-recent__slide + .k365-home-recent__slide {
  border-left: 1px solid #edf0f2;
}

.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__image {
  display: flex;
  width: 100%;
  height: 190px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
}

.k365-home-recent__image img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: 190px;
  object-fit: contain;
}

.k365-home-recent__body {
  width: 100%;
  padding-top: 10px;
  text-align: center;
}

.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__name {
  display: -webkit-box;
  min-height: 55px;
  padding: 0;
  overflow: hidden;
  color: #34434c;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__name:hover,
.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__name:focus {
  color: #123f69;
  background: transparent;
  text-decoration: underline;
}

.k365-home-recent__price {
  display: block;
  margin: 5px 0 10px;
  color: #123f69;
  font-size: 15px;
  font-weight: 700;
}

.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__details {
  display: inline-block;
  padding: 7px 12px;
  color: #fff;
  background: #174c78;
  border: 1px solid #174c78;
  font-size: 12px;
  font-weight: 600;
}

.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__details:hover,
.k365-home-sidebar .k365-home-recent__slide .k365-home-recent__details:focus {
  color: #fff;
  background: #123d61;
  border-color: #123d61;
  text-decoration: none;
}

.k365-home-recent__nav {
  position: absolute;
  z-index: 2;
  top: 94px;
  display: flex;
  width: 30px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #36586e;
  background: #fff;
  border: 1px solid #d9e0e5;
  cursor: pointer;
}

.k365-home-recent__nav[hidden],
.k365-home-recent__dots[hidden] {
  display: none;
}

.k365-home-recent__nav--prev { left: 0; }
.k365-home-recent__nav--next { right: 0; }

.k365-home-recent__nav .material-icons {
  font-size: 24px;
}

.k365-home-recent__nav:hover,
.k365-home-recent__nav:focus {
  color: #fff;
  background: #174c78;
  border-color: #174c78;
  outline: 0;
}

.k365-home-recent__dots {
  display: flex;
  min-height: 28px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px 9px;
  background: #fff;
}

.k365-home-recent__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: #c5ccd1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.k365-home-recent__dots button[aria-current="true"] {
  background: #174c78;
}

.k365-home-recent__dots button:focus {
  outline: 2px solid #7b9bb4;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .k365-home-recent .k365-home-recent__track {
    transition: none;
  }
}

.k365-home-facebook > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: #314554;
}

.k365-home-facebook > a:hover,
.k365-home-facebook > a:focus {
  background: #f5f7f8;
  text-decoration: none;
}

.k365-home-facebook__icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #315e9b;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.k365-home-facebook strong,
.k365-home-facebook small {
  display: block;
}

.k365-home-facebook strong {
  font-size: 12px;
  line-height: 1.35;
}

.k365-home-facebook small {
  margin-top: 3px;
  color: #6d7a82;
  font-size: 11px;
}

.k365-home-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 10px;
}

.k365-home-banners a,
.k365-home-banners img {
  display: block;
  width: 100%;
}

.k365-home-banners img {
  height: auto;
}

.k365-home-banners__wide {
  grid-column: span 2;
}

.k365-home-facebook {
  width: calc((100% - 20px) / 3);
  min-width: 230px;
  margin: 0 0 38px;
  padding: 18px;
  background: #f5f6f6;
}

.k365-home-facebook h2 {
  margin: 0 0 14px;
  color: #44525d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.k365-home-facebook > a {
  background: #fff;
  border: 1px solid #d5dadd;
}

@media (max-width: 767px) {
  .k365-home-facebook {
    width: 100%;
    min-width: 0;
  }
}

.k365-home-layout > :not(.k365-hero):not(.k365-home-sidebar) {
  grid-column: 2;
  min-width: 0;
}

.k365-home-sidebar .block,
.k365-home-sidebar > div,
.k365-home-sidebar > section {
  margin-bottom: 24px;
}

.k365-home-sidebar .block-categories,
.k365-home-sidebar .block-contact,
.k365-home-sidebar .links,
.k365-home-sidebar .card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe3e9;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(19, 40, 58, .06);
}

.k365-home-sidebar .block-title,
.k365-home-sidebar .h6,
.k365-home-sidebar h3,
.k365-home-sidebar h4 {
  margin: 0;
  padding: 13px 15px;
  color: #fff;
  background: #123f69;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.k365-home-sidebar .facet-label,
.k365-home-sidebar .category-top-menu > li:first-child > .h6 {
  display: block;
  width: 100%;
}

.k365-home-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k365-home-sidebar li a {
  display: block;
  padding: 9px 14px;
  color: #334754;
  border-bottom: 1px solid #edf1f4;
  font-size: 13px;
  line-height: 1.35;
}

.k365-home-sidebar li:last-child > a {
  border-bottom: 0;
}

.k365-home-sidebar li a:hover,
.k365-home-sidebar li a:focus {
  color: #123f69;
  background: #f3f7fa;
  text-decoration: none;
}

/* Keep the storefront deliberately restrained and close to a classic shop UI. */
#header #search_widget input[type="text"],
#header #search_widget .material-icons.search,
#header #_desktop_cart .blockcart .header,
#header #_desktop_top_menu > .top-menu,
.k365-home-sidebar .block-categories,
.k365-home-sidebar .block-contact,
.k365-home-sidebar .links,
.k365-home-sidebar .card,
.k365-hero__slider,
.k365-hero__promo {
  border-radius: 0;
  box-shadow: none;
}

#header #search_widget input[type="text"],
#header #_desktop_cart .blockcart .header {
  border-color: #ccd6de;
}

#header #_desktop_top_menu > .top-menu {
  border-bottom-width: 1px;
}

.k365-home-sidebar .block-categories,
.k365-home-sidebar .block-contact,
.k365-home-sidebar .links,
.k365-home-sidebar .card {
  border-color: #d9e0e5;
}

/* Human storefront pass: calm, practical and driven by the actual merchandise. */
body {
  color: #26343d;
  background: #fff;
}

#wrapper {
  background: #f7f6f3;
}

#wrapper > .container {
  padding-top: 26px;
  padding-bottom: 44px;
}

.page-home .featured-products {
  margin: 0 0 42px;
}

.page-home .products-section-title,
.featured-products .products-section-title {
  margin: 0 0 18px;
  padding: 0 0 11px;
  color: #19384f;
  border-bottom: 1px solid #d9dddf;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-transform: none !important;
}

.product-miniature .thumbnail-container {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e3e3;
  border-radius: 0;
  box-shadow: none;
}

.product-miniature .thumbnail-container:hover,
.product-miniature .thumbnail-container:focus-within {
  border-color: #c9d0d4;
  box-shadow: none;
}

.product-miniature .product-description {
  background: #fff;
  box-shadow: none;
}

.product-miniature .product-title,
.product-miniature .product-title a {
  color: #34434c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.product-miniature .product-title {
  min-height: 54px;
  margin: .65rem 10px 0;
}

.product-miniature .product-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
}

.product-miniature .product-price-and-shipping,
.product-miniature .price {
  color: #173f5f;
  font-weight: 700;
}

.k365-product-actions {
  min-height: 39px;
  margin: 9px 10px 3px;
  text-align: center;
}

.k365-product-actions form {
  margin: 0;
}

.k365-add-to-cart,
.k365-product-details {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  color: #fff;
  background: #174c78;
  border: 1px solid #174c78;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.k365-add-to-cart .material-icons {
  width: 17px;
  font-size: 17px;
  line-height: 1;
}

.k365-add-to-cart:hover,
.k365-add-to-cart:focus,
.k365-product-details:hover,
.k365-product-details:focus {
  color: #fff;
  background: #123d61;
  border-color: #123d61;
  text-decoration: none;
}

.product-miniature .highlighted-informations {
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
}

.all-product-link {
  color: #36586e;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

.all-product-link:hover,
.all-product-link:focus {
  color: #123f69;
}

/* Product information belongs below the buying area and uses the full content width. */
body#product .product-container {
  align-items: flex-start;
  margin: 0 0 10px;
  padding: 20px 10px 24px;
  background: #fff;
  border: 1px solid #dce3e7;
  box-shadow: 0 2px 8px rgba(24, 47, 64, .04);
}

body#product .product-container > .col-md-6:first-child .page-content {
  padding: 12px;
  background: #fff;
  border: 0;
}

body#product .product-container > .col-md-6:last-child {
  padding: 8px 26px 0;
}

body#product .product-container h1.h1 {
  margin: 0 0 14px;
  color: #182f40;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.28;
}

body#product .product-cover img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

body#product .product-prices {
  margin: 0 0 18px;
}

body#product .product-prices .current-price,
body#product .product-prices .current-price span {
  color: #174c78;
  font-size: 22px;
  font-weight: 700;
}

body#product .product-information > .product-description {
  margin-bottom: 20px;
  color: #334650;
  font-size: 14px;
  line-height: 1.55;
}

body#product .product-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e7ea;
}

body#product .product-add-to-cart .add-to-cart {
  min-height: 46px;
  padding: 0 22px;
  font-size: 13px;
}

body#product #main > .k365-product-tabs {
  width: 100%;
  margin: 34px 0 44px;
  padding: 0;
  background: #fff;
  border: 1px solid #d9e0e5;
  box-shadow: none;
}

body#product .k365-product-tabs .nav-tabs {
  display: flex;
  min-height: 52px;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0 26px;
  background: #f5f7f8;
  border-bottom: 1px solid #d9e0e5;
}

body#product .k365-product-tabs .nav-tabs .nav-link {
  padding: 16px 15px 13px;
  color: #40535f;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
}

body#product .k365-product-tabs .nav-tabs .nav-link.active,
body#product .k365-product-tabs .nav-tabs .nav-link:hover,
body#product .k365-product-tabs .nav-tabs .nav-link:focus {
  color: #123f69;
  background: transparent;
  border-bottom-color: #174c78;
  text-decoration: none;
}

body#product .k365-product-tabs .tab-content {
  padding: 30px 34px 36px;
}

body#product .k365-product-tabs .product-description {
  width: 100%;
  max-width: none;
  color: #283b47;
  font-size: 15px;
  line-height: 1.65;
}

body#product .k365-product-tabs .product-description p,
body#product .k365-product-tabs .product-description ul,
body#product .k365-product-tabs .product-description ol {
  margin-bottom: 16px;
}

body#product .k365-product-tabs .product-description img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}

body#product .k365-product-tabs .product-description iframe,
body#product .k365-product-tabs .product-description video {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 20px auto;
  border: 0;
}

body#product .k365-product-tabs .product-description table {
  width: 100% !important;
  max-width: 100%;
}

@media (max-width: 767px) {
  body#product,
  body#category {
    overflow-x: hidden;
  }

  body#product .product-container {
    padding: 12px 0 20px;
  }

  body#product .product-container > .col-md-6:first-child .page-content {
    padding: 10px;
  }

  body#product .product-container > .col-md-6:last-child {
    padding: 22px 15px 0;
  }

  body#product .product-container h1.h1 {
    font-size: 22px;
  }

  body#product #main > .k365-product-tabs {
    margin: 24px 0 32px;
  }

  body#product .k365-product-tabs .nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px;
    white-space: nowrap;
  }

  body#product .k365-product-tabs .nav-tabs .nav-link {
    padding: 14px 10px 11px;
    font-size: 13px;
  }

  body#product .k365-product-tabs .tab-content {
    padding: 22px 16px 26px;
  }

  body#product .k365-product-tabs .product-description {
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  body#product .k365-product-tabs .product-description [style*="text-align: justify"] {
    text-align: left !important;
  }
}

/* Category header: compact and useful; the catalogue starts without a large empty banner. */
body#category #js-product-list-header .block-category {
  min-height: 0;
  margin: 0 0 20px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #d9e0e5;
  box-shadow: none;
}

body#category #js-product-list-header .block-category h1 {
  margin: 0;
  color: #182f40;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
}

body#category #js-product-list-header .block-category-inner {
  min-height: 0;
}

body#category #js-product-list-header .category-cover {
  display: none;
}

/* This category has a real landscape photograph; keep it visible without the old tall header. */
body#category.category-id-3 #js-product-list-header .block-category-inner {
  display: block;
}

body#category.category-id-3 #js-product-list-header .category-cover {
  display: block;
  width: 100%;
  margin-top: 16px;
}

body#category.category-id-3 #js-product-list-header .category-cover picture,
body#category.category-id-3 #js-product-list-header .category-cover img {
  display: block;
  width: 100%;
  height: auto;
}

body#category #category-description {
  max-width: 820px;
  margin-top: 12px;
  color: #536773 !important;
  font-size: 14px;
  line-height: 1.55;
}

body#category .products-selection {
  margin-bottom: 18px;
  padding: 12px 0;
  border-top: 1px solid #dfe5e8;
  border-bottom: 1px solid #dfe5e8;
}

@media (max-width: 767px) {
  body#category #js-product-list-header .block-category {
    margin-bottom: 14px;
    padding: 15px 0;
    background: transparent;
    border-width: 0 0 1px;
  }

  body#category #js-product-list-header .block-category h1 {
    font-size: 25px;
  }
}

/* Faceted navigation: clear, usable filters on product listings. */
#left-column #search_filters_wrapper {
  margin-bottom: 26px;
}

#left-column #search_filters {
  padding: 0 14px 16px;
  background: #fff;
  border: 1px solid #d9e0e5;
  box-shadow: none;
}

#left-column #search_filters > .h6 {
  margin: 0 -14px 16px;
  padding: 13px 14px;
  color: #fff;
  background: #123f69;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

#left-column #search_filters .facet {
  margin: 0 0 15px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e4e8ea;
}

#left-column #search_filters .facet:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

#left-column #search_filters .facet .facet-title {
  margin: 0 0 9px;
  color: #263b4a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

#left-column #search_filters .facet ul {
  margin: 0;
  padding: 0;
}

#left-column #search_filters .facet li {
  margin: 0;
  padding: 0;
}

#left-column #search_filters .facet .facet-label {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 5px 0;
  text-align: left;
}

#left-column #search_filters .facet .facet-label > a {
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
  color: #40515c;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

#left-column #search_filters .facet .facet-label > a:hover,
#left-column #search_filters .facet .facet-label > a:focus,
#left-column #search_filters .facet .facet-label.active > a {
  color: #123f69;
  text-decoration: none;
}

#left-column #search_filters .custom-checkbox,
#left-column #search_filters .custom-radio {
  flex: 0 0 18px;
  margin-top: 0;
}

#left-column #search_filters .custom-checkbox input + span,
#left-column #search_filters .custom-radio input + span {
  width: 18px;
  height: 18px;
  border-color: #aebbc4;
}

#left-column #search_filters .custom-checkbox input:checked + span {
  background: #174c78;
  border-color: #174c78;
}

#left-column #search_filters .magnitude {
  color: #778893;
  font-size: 12px;
}

#left-column #search_filters .faceted-slider p {
  margin: 0 0 12px;
  color: #60727d;
  font-size: 12px;
}

#left-column #search_filters .ui-slider-horizontal {
  height: 5px;
  margin: 5px 7px 8px;
  background: #dce3e7;
  border: 0;
}

#left-column #search_filters .ui-slider .ui-slider-range {
  background: #174c78;
}

#left-column #search_filters .ui-slider .ui-slider-handle {
  top: -6px;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 2px solid #174c78;
  border-radius: 50%;
}

.k365-active-filters .active_filters {
  margin: 0 0 18px;
  padding: 10px 12px;
  background: #eef3f6;
  border: 1px solid #d7e0e5;
  box-shadow: none;
}

.products-selection #search_filter_toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: #174c78;
  border-color: #174c78;
  font-size: 13px;
  font-weight: 600;
}

.products-selection #search_filter_toggler .material-icons {
  font-size: 18px;
}

@media (max-width: 767px) {
  body#category #left-column > :not(#search_filters_wrapper),
  body#manufacturer #left-column > :not(#search_filters_wrapper),
  body#supplier #left-column > :not(#search_filters_wrapper),
  body#search #left-column > :not(#search_filters_wrapper),
  body#prices-drop #left-column > :not(#search_filters_wrapper),
  body#new-products #left-column > :not(#search_filters_wrapper),
  body#best-sales #left-column > :not(#search_filters_wrapper) {
    display: none !important;
  }

  #left-column #search_filters_wrapper {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
  }

  body#category #left-column #search_filters_wrapper,
  body#manufacturer #left-column #search_filters_wrapper,
  body#supplier #left-column #search_filters_wrapper,
  body#search #left-column #search_filters_wrapper,
  body#prices-drop #left-column #search_filters_wrapper,
  body#new-products #left-column #search_filters_wrapper,
  body#best-sales #left-column #search_filters_wrapper {
    margin: 0 0 20px !important;
  }

  #left-column #search_filter_controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 12px;
    background: #123f69;
  }

  #left-column #search_filter_controls .ok {
    min-height: 38px;
    margin-left: auto;
    color: #123f69;
    background: #fff;
    border: 0;
    font-size: 13px;
    font-weight: 600;
  }

  #left-column #search_filters {
    width: 100%;
    padding: 0;
    border-top: 0;
  }

  #left-column #search_filters .facet {
    margin: 0;
    padding: 0;
  }

  #left-column #search_filters .facet .title {
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #e4e8ea;
  }

  #left-column #search_filters .facet .title .facet-title {
    margin: 0;
    padding: 0;
    font-size: 13px;
    text-transform: none;
  }

  #left-column #search_filters .facet > ul.collapse.in {
    padding: 9px 14px 13px;
    background: #f8fafb;
    border-bottom: 1px solid #e4e8ea;
  }

  .products-selection #search_filter_toggler {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
  }

  .k365-active-filters .active_filters {
    margin-top: 12px;
  }
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  border-radius: 2px;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background: #123f69;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0d3458;
}

.k365-newsletter {
  background: #173f5b;
}

.k365-newsletter::after {
  display: none;
}

.k365-newsletter .block_newsletter form > .row > .col-xs-12:first-child {
  border-radius: 2px;
  box-shadow: none;
}

.k365-newsletter .block_newsletter input[type="submit"] {
  background: #102f47;
  border-radius: 2px;
}

#footer,
.k365-footer {
  background: #1d2e3a;
}

.k365-footer__bottom {
  border-top-color: rgba(255, 255, 255, .11);
}

.k365-payment-logo,
.k365-payment-text {
  border-radius: 2px;
}

@media (max-width: 991px) {
  #wrapper > .container {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .page-home .products-section-title,
  .featured-products .products-section-title {
    font-size: 18px;
  }
}

/* Homepage hero: original Kolagen365 composition in a cleaner responsive layout. */
.k365-hero {
  display: grid;
  grid-template-columns: minmax(0, 779fr) minmax(260px, 381fr);
  gap: 10px;
  margin: 0 auto 28px;
  max-width: 1170px;
}

.k365-hero__slider,
.k365-hero__promos,
.k365-hero__promo {
  min-width: 0;
}

.k365-hero__slider {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.k365-hero__slider #carousel,
.k365-hero__slider .carousel-inner,
.k365-hero__slider .carousel-item,
.k365-hero__slider .carousel-item a,
.k365-hero__slider .carousel-item figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.k365-hero__slider #carousel {
  aspect-ratio: 779 / 448;
}

.k365-hero__slider .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k365-hero__slider .carousel-item figcaption {
  display: none;
}

.k365-hero__slider .rslides,
.k365-hero__slider .slide,
.k365-hero__slider .slide > a {
  height: 100%;
}

.k365-hero__slider .slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.k365-hero__slider .caption {
  display: none;
}

.k365-hero__slider .caption h2 {
  max-width: 470px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
}

.k365-hero__promos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.k365-hero__promo {
  display: block;
  overflow: hidden;
  background: #fff;
}

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

/* Newsletter – a clear full-width invitation above the footer. */
.k365-newsletter {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  color: #fff;
  background: linear-gradient(120deg, #123f69 0%, #17648c 58%, #23849d 100%);
}

.k365-newsletter::after {
  position: absolute;
  top: -110px;
  right: 4%;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025);
  pointer-events: none;
}

.k365-newsletter__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: 65px;
  align-items: center;
}

.k365-newsletter__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #a9e0ed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.k365-newsletter h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
}

.k365-newsletter__intro > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.6;
}

.k365-newsletter .block_newsletter {
  float: none;
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
}

.k365-newsletter .block_newsletter > .row,
.k365-newsletter .block_newsletter .col-md-7,
.k365-newsletter .block_newsletter form > .row,
.k365-newsletter .block_newsletter .col-xs-12 {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.k365-newsletter #block-newsletter-label {
  display: none;
}

.k365-newsletter .block_newsletter form > .row > .col-xs-12:first-child {
  display: flex;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(3,25,42,.25);
}

.k365-newsletter .block_newsletter .input-wrapper {
  flex: 1 1 auto;
}

.k365-newsletter .block_newsletter input[type="email"] {
  width: 100%;
  height: 48px;
  padding: 0 17px;
  color: #283744;
  background: #fff;
  border: 0;
  outline: 0;
}

.k365-newsletter .block_newsletter input[type="submit"] {
  order: 2;
  height: 48px;
  padding: 0 25px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  background: #172b3c;
  border: 0;
  border-radius: 5px;
}

.k365-newsletter .block_newsletter input[type="submit"]:hover,
.k365-newsletter .block_newsletter input[type="submit"]:focus {
  background: #0d1d2b;
}

.k365-newsletter .block_newsletter form > .row > .col-xs-12:last-child p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1.45;
}

/* Structured footer – familiar sections with a more compact hierarchy. */
#footer {
  padding-top: 0;
  color: #d8e0e8;
  background: #1f2933;
}

.k365-footer {
  padding: 48px 0 0;
  background: linear-gradient(135deg, #1d2833 0%, #132536 100%);
}

.k365-footer__grid {
  display: grid;
  grid-template-columns: 2.1fr 1.05fr 1.05fr 1.55fr;
  gap: 34px;
  padding-bottom: 44px;
}

.k365-footer h3 {
  margin: 0 0 20px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
}

.k365-footer h3 {
  font-size: 15px;
  text-transform: uppercase;
}

.k365-footer p,
.k365-footer li,
.k365-footer address {
  color: #cbd5df;
  font-size: 13px;
  line-height: 1.7;
}

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

#footer .k365-footer a {
  color: #dce7f1;
  text-decoration: none;
}

#footer .k365-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.k365-footer li + li { margin-top: 6px; }

.k365-footer__categories ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
}

.k365-footer__contact {
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.k365-footer__company { margin: 0 0 18px; }
.k365-footer address { margin: 0; font-style: normal; }

.k365-footer__contact-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
}

.k365-footer__contact-row svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  fill: #83c4d7;
}

.k365-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.k365-footer__payments {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.k365-footer__payments-label {
  margin-right: 4px;
  color: #91a5b7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.k365-payment-logo,
.k365-payment-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 4px 9px;
  color: #dce7f1;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
}

.k365-payment-logo img {
  display: block;
  width: auto;
  max-width: 94px;
  height: 23px;
  object-fit: contain;
}

.k365-payment-text {
  gap: 6px;
  color: #d6e2ec;
  background: rgba(255,255,255,.07);
  font-size: 11px;
  white-space: nowrap;
}

.k365-payment-text svg {
  width: 16px;
  height: 16px;
  fill: #83c4d7;
}

.k365-footer__legal {
  flex: 0 0 auto;
  text-align: right;
}

.k365-footer__legal > span {
  display: block;
  margin-bottom: 3px;
  color: #91a5b7;
  font-size: 11px;
}

.k365-footer__legal p {
  margin: 0;
  color: #b8c5d1;
  font-size: 12px;
}

@media (max-width: 991px) {
  .k365-home-layout {
    display: block;
  }

  .k365-home-sidebar {
    display: none;
  }

  .k365-home-banners {
    margin-top: 28px;
  }

  .k365-hero {
    grid-template-columns: 1fr;
  }

  .k365-hero__promos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .k365-newsletter__layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .k365-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .k365-footer__contact {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .k365-home-banners {
    grid-template-columns: 1fr;
  }

  .k365-home-banners__wide {
    grid-column: auto;
  }
}

@media (min-width: 1200px) {
  .k365-home-layout .featured-products .products > .product {
    width: 33.333333%;
  }
}

@media (max-width: 575px) {
  .k365-hero {
    gap: 10px;
    margin-bottom: 28px;
  }

  .k365-hero__slider .slide img {
    min-height: 210px;
  }

  .k365-hero__promos {
    gap: 10px;
  }

  .k365-footer {
    padding-top: 36px;
  }

  .k365-newsletter {
    padding: 34px 0;
  }

  .k365-newsletter__layout {
    min-width: 0;
  }

  .k365-newsletter h2 {
    font-size: 21px;
  }

  .k365-newsletter .block_newsletter form > .row > .col-xs-12:first-child {
    display: flex;
    flex-direction: column;
  }

  .k365-newsletter .block_newsletter .input-wrapper {
    display: block;
    width: 100%;
    overflow: visible;
  }

  .k365-newsletter .block_newsletter input[type="submit"] {
    float: none !important;
    width: 100%;
    margin-top: 6px;
  }

  .k365-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .k365-footer__categories ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .k365-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .k365-footer__payments {
    justify-content: center;
  }

  .k365-footer__payments-label {
    width: 100%;
    margin: 0 0 3px;
  }

  .k365-footer__legal {
    text-align: center;
  }
}

/* Category tree: keep the expand control centred against its category row. */
.k365-home-sidebar .block-categories .category-sub-menu > li[data-depth="0"] {
  position: relative;
}

.k365-home-sidebar .block-categories .category-sub-menu > li[data-depth="0"] > a {
  padding-right: 44px;
}

.k365-home-sidebar .block-categories .category-sub-menu > li[data-depth="0"] > .collapse-icons {
  position: absolute;
  top: 0;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 1;
}

.k365-home-sidebar .block-categories .category-sub-menu > li[data-depth="0"] > .collapse-icons .material-icons {
  position: static;
  margin: 0;
  font-size: 21px;
  line-height: 1;
}

/* Mobile homepage: compact product grid, complete hero banners and a shorter footer. */
@media (max-width: 575px) {
  body#index #wrapper > .container {
    padding: 18px 10px 28px;
  }

  body#index .k365-hero {
    gap: 8px;
    margin-bottom: 24px;
  }

  body#index .k365-hero__slider #carousel {
    left: 0;
    right: auto;
    width: 100%;
    margin-left: 0;
    padding-bottom: 0;
  }

  body#index .k365-hero__slider #carousel,
  body#index .k365-hero__slider .carousel-inner {
    aspect-ratio: 779 / 448;
    height: auto;
  }

  body#index .k365-hero__slider .carousel-item img,
  body#index .k365-hero__slider .slide img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  body#index .k365-hero__promos {
    gap: 8px;
  }

  body#index .k365-hero__promo {
    aspect-ratio: 381 / 219;
  }

  body#index .page-home .featured-products {
    margin-bottom: 30px;
  }

  body#index .page-home .products-section-title,
  body#index .featured-products .products-section-title {
    margin-bottom: 12px;
    padding-bottom: 9px;
    font-size: 18px;
  }

  body#index .featured-products .products {
    align-items: stretch;
    margin-right: -5px;
    margin-left: -5px;
  }

  body#index .featured-products .products > .product {
    display: flex;
    width: 50%;
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 10px;
  }

  body#index .featured-products .product-miniature,
  body#index .featured-products .thumbnail-container {
    width: 100%;
  }

  body#index .featured-products .thumbnail-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    margin-bottom: 0;
  }

  body#index .featured-products .thumbnail-top,
  body#index .featured-products .product-thumbnail {
    width: 100%;
    height: auto;
  }

  body#index .featured-products .product-thumbnail {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
  }

  body#index .featured-products .product-thumbnail img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0 auto;
  }

  body#index .featured-products .product-description {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 142px;
    padding: 4px 4px 8px;
  }

  body#index .featured-products .product-title {
    min-height: 55px;
    margin: 7px 5px 0;
  }

  body#index .featured-products .product-title,
  body#index .featured-products .product-title a {
    font-size: 12px;
    line-height: 1.35;
  }

  body#index .featured-products .product-price-and-shipping {
    margin-top: auto;
    font-size: 14px;
  }

  body#index .featured-products .k365-product-actions {
    min-height: 34px;
    margin: 7px 4px 0;
  }

  body#index .featured-products .k365-add-to-cart,
  body#index .featured-products .k365-product-details {
    width: 100%;
    min-height: 32px;
    gap: 3px;
    padding: 6px 4px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  body#index .featured-products .k365-add-to-cart .material-icons {
    width: 15px;
    font-size: 15px;
  }

  .k365-footer {
    padding-top: 28px;
  }

  .k365-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-bottom: 28px;
  }

  .k365-footer__categories,
  .k365-footer__contact {
    grid-column: 1 / -1;
  }

  .k365-footer h3 {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .k365-footer p,
  .k365-footer li,
  .k365-footer address {
    font-size: 12px;
    line-height: 1.5;
  }

  .k365-footer li + li {
    margin-top: 4px;
  }

  .k365-footer__categories ul {
    column-gap: 16px;
  }

  .k365-footer__company {
    margin-bottom: 12px;
  }

  .k365-footer__contact-row {
    margin-top: 9px;
  }

  .k365-footer__bottom {
    gap: 14px;
    padding: 16px 0 18px;
  }
}

/* Zwroty i reklamacje: spokojny, czytelny układ zgodny z wyglądem sklepu. */
.pmrc.pmrc-center {
  box-sizing: border-box;
  max-width: 1110px;
  margin: 26px auto 48px;
  padding: 28px 30px 32px;
  color: #293b48;
  background: #fff;
  border: 1px solid #d9e1e6;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(23, 63, 95, .07);
  overflow: hidden;
}

.pmrc-center .pmrc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 3px solid #174a73;
}

.pmrc-center .pmrc-header > div {
  min-width: 0;
}

.pmrc-center .pmrc-header,
.pmrc-center .pmrc-intro,
.pmrc-center .pmrc-muted,
.pmrc-center .pmrc-type,
.pmrc-center .pmrc-type strong,
.pmrc-center .pmrc-type small {
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.pmrc-center h1 {
  margin: 0 0 9px;
  padding: 0;
  color: #173f5f;
  border: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.pmrc-center .pmrc-intro {
  max-width: 720px;
  margin: 0;
  color: #435762;
  font-size: 15px;
  line-height: 1.6;
}

.pmrc-center .pmrc-muted {
  margin: 6px 0 0;
  color: #6b7c87;
  font-size: 13px;
  line-height: 1.45;
}

.pmrc-center .pmrc-header > a {
  flex: 0 0 auto;
  margin: 0;
  padding: 11px 18px;
  color: #fff;
  background: #174a73;
  border: 1px solid #174a73;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.pmrc-center .pmrc-header > a:hover,
.pmrc-center .pmrc-header > a:focus-visible {
  color: #fff;
  background: #103b5d;
  border-color: #103b5d;
}

.pmrc-center .pmrc-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  font-size: initial;
}

.pmrc-center .pmrc-type {
  display: flex;
  flex-direction: column;
  width: auto;
  min-height: 120px;
  margin: 0;
  padding: 19px 18px 16px;
  color: #354955;
  background: #fff;
  border: 1px solid #d6dfe4;
  border-radius: 2px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.pmrc-center .pmrc-type::after {
  content: "›";
  margin-top: auto;
  color: #174a73;
  font-size: 22px;
  line-height: 1;
}

.pmrc-center .pmrc-type strong {
  display: block;
  margin-bottom: 7px;
  color: #173f5f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.pmrc-center .pmrc-type small {
  color: #61737f;
  font-size: 13px;
  line-height: 1.45;
}

.pmrc-center .pmrc-type:hover,
.pmrc-center .pmrc-type:focus-visible {
  color: #354955;
  border-color: #174a73;
  box-shadow: 0 4px 12px rgba(23, 63, 95, .11);
  transform: translateY(-1px);
}

.pmrc-center > p {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e1e7ea;
  color: #526671;
}

.pmrc-center > p a {
  color: #174a73;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .pmrc-center .pmrc-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pmrc.pmrc-center {
    width: calc(100% - 30px);
    max-width: calc(100vw - 30px);
    margin: 16px 0 32px;
    padding: 20px 16px 24px;
  }

  .pmrc-center .pmrc-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
  }

  .pmrc-center h1 {
    font-size: 22px;
  }

  .pmrc-center .pmrc-header > a {
    width: 100%;
  }

  .pmrc-center .pmrc-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pmrc-center .pmrc-type {
    min-height: 106px;
  }
}

/* Formularze i podgląd spraw zwrotów/reklamacji. */
.pmrc.pmrc-wizard,
.pmrc.pmrc-guest,
.pmrc.pmrc-view,
.pmrc.pmrc-pin-view {
  box-sizing: border-box;
  max-width: 1110px;
  margin: 26px auto 48px;
  padding: 28px 30px 32px;
  color: #293b48;
  background: #fff;
  border: 1px solid #d9e1e6;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(23, 63, 95, .07);
}

.pmrc-wizard h1,
.pmrc-guest h1,
.pmrc-view h1,
.pmrc-pin-view h1 {
  margin: 0 0 12px;
  padding: 0 0 16px;
  color: #173f5f;
  border-bottom: 3px solid #174a73;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.pmrc-wizard h2,
.pmrc-guest h2,
.pmrc-view h2 {
  color: #173f5f;
  font-size: 20px;
  font-weight: 600;
}

.pmrc-wizard .pmrc-intro,
.pmrc-guest .pmrc-intro,
.pmrc-view .pmrc-intro {
  max-width: 820px;
  margin: 0 0 20px;
  color: #526671;
  font-size: 15px;
  line-height: 1.6;
}

.pmrc-wizard .pmrc-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 0;
}

.pmrc-wizard .pmrc-steps li {
  display: block;
  padding: 10px 9px;
  color: #667985;
  background: #f7f9fa;
  border-right: 1px solid #e1e7ea;
  border-bottom: 3px solid #cbd5da;
  font-size: 13px;
  text-align: left;
}

.pmrc-wizard .pmrc-steps li:last-child {
  border-right: 0;
}

.pmrc-wizard .pmrc-steps li.is-complete,
.pmrc-wizard .pmrc-steps li.is-active {
  color: #173f5f;
  background: #f2f6f8;
  border-bottom-color: #174a73;
}

.pmrc-wizard .pmrc-steps li.is-complete::before {
  color: #174a73;
}

.pmrc-form fieldset {
  margin-bottom: 20px;
  padding: 20px 18px 18px;
  background: #fbfcfd;
  border: 1px solid #d9e1e6;
  border-radius: 2px;
  box-shadow: none;
}

.pmrc-form legend {
  margin: 0 0 12px;
  padding: 0 8px;
  color: #173f5f;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.pmrc-form label,
.pmrc-form .pmrc-label {
  color: #304654;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left !important;
}

.pmrc-form .form-control,
.pmrc-form input[type="text"],
.pmrc-form input[type="email"],
.pmrc-form input[type="tel"],
.pmrc-form input[type="number"],
.pmrc-form select,
.pmrc-form textarea {
  min-height: 42px;
  margin-top: 6px;
  padding: 9px 11px;
  color: #293b48 !important;
  background: #fff !important;
  border: 1px solid #cbd6dc !important;
  border-radius: 2px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.pmrc-form textarea {
  min-height: 130px;
  line-height: 1.55;
}

.pmrc-form .form-control:focus,
.pmrc-form input:focus,
.pmrc-form select:focus,
.pmrc-form textarea:focus {
  border-color: #174a73 !important;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(23, 74, 115, .12);
}

.pmrc-wizard .pmrc-type-grid,
.pmrc-guest .pmrc-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 8px 0 18px;
}

.pmrc-wizard .pmrc-type,
.pmrc-guest .pmrc-type {
  display: block;
  width: auto;
  min-height: 68px;
  margin: 0;
  padding: 14px 15px;
  color: #304654 !important;
  background: #fff !important;
  border: 1px solid #d3dde2;
  border-radius: 2px;
  box-shadow: none;
  font-size: 14px;
}

.pmrc-wizard .pmrc-type:hover,
.pmrc-wizard .pmrc-type:focus-visible,
.pmrc-wizard .pmrc-type.is-active,
.pmrc-guest .pmrc-type:hover,
.pmrc-guest .pmrc-type:focus-visible,
.pmrc-guest .pmrc-type.is-active {
  color: #173f5f !important;
  border-color: #174a73;
  box-shadow: inset 3px 0 0 #174a73;
}

.pmrc-manual-product,
.pmrc-view-card,
.pmrc-table-wrap,
.pmrc-confirm {
  border-color: #d6e0e5 !important;
  border-radius: 2px;
  box-shadow: none;
}

.pmrc-confirm {
  background: #f5f8fa !important;
  border-color: #174a73 !important;
}

.pmrc-primary,
.pmrc-file-button {
  color: #fff !important;
  background: #174a73 !important;
  border-color: #174a73 !important;
  border-radius: 2px;
  box-shadow: none;
}

.pmrc-primary {
  min-height: 42px;
  padding: 10px 18px;
}

.pmrc-primary:hover,
.pmrc-primary:focus,
.pmrc-file:hover .pmrc-file-button {
  color: #fff !important;
  background: #103b5d !important;
  border-color: #103b5d !important;
}

.pmrc-add-product,
.pmrc-remove-product,
.pmrc-qty-btn {
  color: #174a73;
  background: #fff;
  border-color: #174a73;
  border-radius: 2px;
}

.pmrc-add-product:hover,
.pmrc-remove-product:hover,
.pmrc-qty-btn:hover {
  color: #fff;
  background: #174a73;
}

.pmrc-view-header {
  border-bottom-color: #174a73;
}

.pmrc-view-card h2,
.pmrc-manual-product-head {
  color: #173f5f;
}

.pmrc-history-list li {
  border-left-color: #174a73;
}

.pmrc-pin-input:focus,
.pmrc-pin-resend:hover,
.pmrc-pin-resend:focus {
  border-color: #174a73;
  box-shadow: 0 0 0 2px rgba(23, 74, 115, .12);
}

@media (max-width: 767px) {
  .pmrc.pmrc-wizard,
  .pmrc.pmrc-guest,
  .pmrc.pmrc-view,
  .pmrc.pmrc-pin-view {
    width: calc(100% - 30px);
    max-width: calc(100vw - 30px);
    margin: 16px 0 32px;
    padding: 20px 16px 24px;
    overflow: hidden;
  }

  .pmrc-wizard h1,
  .pmrc-guest h1,
  .pmrc-view h1,
  .pmrc-pin-view h1 {
    font-size: 22px;
  }

  .pmrc-wizard .pmrc-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pmrc-wizard .pmrc-steps li {
    padding: 7px 3px;
    font-size: 11px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .pmrc-wizard .pmrc-steps li.is-complete::before {
    display: block;
    margin: 0 0 2px;
  }

  .pmrc-wizard .pmrc-type-grid,
  .pmrc-guest .pmrc-type-grid {
    grid-template-columns: 1fr;
  }

  .pmrc-wizard .pmrc-type,
  .pmrc-guest .pmrc-type {
    min-height: 0;
  }

  .pmrc-form fieldset {
    padding: 17px 13px 14px;
  }

  .pmrc-file {
    display: flex;
    width: 100%;
    white-space: normal;
  }

  .pmrc-file-button {
    flex: 0 0 auto;
  }

  .pmrc-file-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
/* The first breadcrumb is an icon; its text remains available to screen readers. */
#wrapper .breadcrumb .k365-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  vertical-align: middle;
}

#wrapper .breadcrumb .k365-breadcrumb-home svg {
  display: block;
  width: 17px;
  height: 17px;
}

/* Product recommendations: native, swipeable carousel without a library dependency. */
body#product .k365-related-carousel {
  margin: 34px 0 40px;
  min-width: 0;
}

body#product .k365-related-carousel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d9dddf;
}

body#product .k365-related-carousel__header h2 {
  margin: 0;
  padding-bottom: 12px;
  color: #19384f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

body#product .k365-related-carousel__controls {
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
}

body#product .k365-related-carousel__arrow {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #173f5f;
  background: #fff;
  border: 1px solid #c9d4db;
  border-radius: 2px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

body#product .k365-related-carousel__arrow:hover,
body#product .k365-related-carousel__arrow:focus-visible {
  color: #fff;
  background: #173f5f;
}

body#product .k365-related-carousel__arrow:disabled {
  opacity: .35;
  cursor: default;
}

body#product .k365-related-carousel .products {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c9d4db transparent;
}

body#product .k365-related-carousel .products > .product {
  flex: 0 0 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  max-width: none;
  min-width: 0;
  padding: 0;
  scroll-snap-align: start;
}

body#product .k365-related-carousel .product-miniature,
body#product .k365-related-carousel .thumbnail-container {
  width: 100%;
}

@media (max-width: 991px) {
  body#product .k365-related-carousel .products > .product {
    flex-basis: calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 575px) {
  body#product .k365-related-carousel__header h2 {
    font-size: 18px;
  }

  body#product .k365-related-carousel .products > .product {
    flex-basis: 100%;
    width: 100%;
  }
}

/* K365 InPost GeoWidget modal layers 2026-09-29 */
html.fancybox-lock {
  overflow: hidden !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-overlay,
body:has(.fancybox-wrap inpost-geowidget) .fancybox-overlay-fixed {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  background: rgba(9, 24, 38, .76) !important;
  z-index: 2147483000 !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-wrap {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: min(94vw, 1600px) !important;
  height: min(90vh, 920px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  overflow: visible !important;
  z-index: 2147483001 !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-skin,
body:has(.fancybox-wrap inpost-geowidget) .fancybox-outer,
body:has(.fancybox-wrap inpost-geowidget) .fancybox-inner {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-skin {
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38) !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-outer,
body:has(.fancybox-wrap inpost-geowidget) .fancybox-inner {
  overflow: hidden !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-inner inpost-geowidget,
body:has(.fancybox-wrap inpost-geowidget) .fancybox-inner iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  color: #fff !important;
  background: #142d43 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .32) !important;
  text-decoration: none !important;
  z-index: 2147483002 !important;
}

body:has(.fancybox-wrap inpost-geowidget) .fancybox-close::after {
  content: '\00d7';
  display: block;
  color: #fff;
  font: 400 32px/1 Arial, sans-serif;
}

@media (max-width: 767px) {
  body:has(.fancybox-wrap inpost-geowidget) .fancybox-wrap {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    transform: none !important;
  }

  body:has(.fancybox-wrap inpost-geowidget) .fancybox-skin {
    border-radius: 0 !important;
  }
}
/* K365 checkout header isolation 2026-09-29 */
@media (min-width: 992px) {
  body#checkout #header .header-nav {
    position: relative !important;
    height: 142px !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: linear-gradient(to bottom, #1d3447 0, #1d3447 42px, #fff 42px, #fff 100%) !important;
  }

  body#checkout #header .header-nav .container,
  body#checkout #header .header-nav .row {
    position: relative !important;
    height: 142px !important;
    min-height: 142px !important;
  }

  body#checkout #header .header-nav .row {
    margin-right: -15px !important;
    margin-left: -15px !important;
  }

  body#checkout #header #_desktop_logo {
    position: absolute !important;
    top: 51px !important;
    left: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 125px !important;
    height: 82px !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
  }

  body#checkout #header #_desktop_logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  body#checkout #header #_desktop_logo .logo {
    display: block !important;
    width: auto !important;
    height: 76px !important;
    max-width: 118px !important;
    max-height: 76px !important;
    object-fit: contain !important;
  }

  body#checkout #header .header-nav .col-md-6.text-xs-right {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 330px !important;
    height: 42px !important;
    padding: 0 !important;
    text-align: center !important;
    transform: translateX(-50%) !important;
  }

  body#checkout #header #_desktop_contact_link,
  body#checkout #header #contact-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 42px !important;
    margin: 0 !important;
  }
}
/* K365 checkout logo finish 2026-09-29 */
@media (min-width: 992px) {
  body#checkout #header .header-nav,
  body#checkout #header .header-nav .container,
  body#checkout #header .header-nav .row {
    height: 156px !important;
    min-height: 156px !important;
  }

  body#checkout #header .header-nav {
    background: linear-gradient(to bottom, #1d3447 0, #1d3447 42px, #fff 42px, #fff 100%) !important;
  }

  body#checkout #header #_desktop_logo {
    top: 48px !important;
    width: 154px !important;
    height: 104px !important;
  }

  body#checkout #header #_desktop_logo .logo {
    width: 146px !important;
    height: 103px !important;
    max-width: 146px !important;
    max-height: 103px !important;
    border-radius: 50% !important;
    clip-path: ellipse(49% 48% at 50% 50%) !important;
  }
}