/* Native header, search, and related products. */
#page-header { position: fixed; top: 0; left: 0; right: 0; z-index: 111; background: #29302a; color: #fff; }
#page-header.bg_transparent { background: transparent; }
#page-header .mc-layout-subheader.at_middle { height: 106px; padding: 0; line-height: normal; }
#page-header.sticky .mc-layout-subheader.at_middle { height: 83px; line-height: normal; }
#page-header .mc-layout-subheader-h { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 90%; max-width: 1250px; height: 100%; margin: 0 auto; }
#page-header .mc-layout-subheader-cell { display: flex; align-items: center; height: 100%; min-width: 0; line-height: normal; }
#page-header .mc-layout-subheader-cell.at_left { flex: 0 0 auto; }
#page-header .mc-header-image_1, #page-header.sticky .mc-header-image_1 { display: flex; align-items: center; flex: none; height: auto !important; margin: 0; line-height: 0; }
#page-header .mc-image-h { display: flex; align-items: center; height: auto; line-height: 0; }
#page-header .mc-header-image_1 img { display: block; width: 98px; height: auto; margin: 0; object-fit: contain; }
#page-header .mc-layout-subheader-cell.at_center { display: none; }
#page-header .mc-layout-subheader-cell.at_right { flex: 0 1 auto; justify-content: flex-end; gap: 18px; margin-left: auto; }
#page-header .ui-site-nav { order: 1; }
#page-header .ui-site-nav { margin: 0 !important; }
#page-header .mc-search { order: 2; }
#page-header .mc-cart { order: 3; }
#page-header .ui-language-switcher { order: 4; margin: 0; }
#page-header .ui-language-switcher summary { height: 44px; padding: 0; }
#page-header .mc-search, #page-header .mc-cart { flex: 0 0 44px; width: 44px; height: 44px; margin: 0 !important; line-height: 1; }
#page-header :is(.mc-search-open, .mc-cart-link) { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; line-height: 1; }
#page-header :is(.mc-search-open, .mc-cart-link) svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#page-header .mc-search-open { border: 0; background: transparent; color: inherit; appearance: none; cursor: pointer; }
#page-header .mc-search-form { position: fixed; inset: calc(var(--header-height, 106px) + 12px) max(16px, calc((100vw - 1250px) / 2)) auto auto; z-index: 120; width: min(560px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - var(--header-height, 106px) - 32px); overflow: auto; padding: 16px; border: 1px solid var(--ui-line); border-radius: 14px; background: #fff; color: var(--ui-ink); box-shadow: 0 16px 40px rgb(0 0 0 / 16%); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .16s, transform .16s; }
#page-header.sticky .mc-search-form { top: calc(var(--header-sticky-height, 83px) + 12px); }
#page-header .mc-search.active .mc-search-form { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
#page-header .ui-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#page-header .ui-search-heading label { margin: 0; color: var(--ui-ink); font: 600 16px/1.4 var(--ui-font); }
#page-header .mc-search-form form { display: flex; align-items: stretch; gap: 10px; max-width: none; height: auto; margin: 0; padding: 0; transition: none; }
#page-header .mc-search-form input { flex: 1; min-width: 0; width: auto; height: 48px; margin: 0; padding: 11px 14px; border: 1px solid var(--ui-line); border-radius: 8px; box-shadow: none; font: 400 16px/1.4 var(--ui-font); text-overflow: ellipsis; transition: border-color .16s, box-shadow .16s; }
#page-header .mc-search-close { position: static; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f2f3ef; color: var(--ui-ink); line-height: 1; transform: none; visibility: visible; opacity: 1; appearance: none; cursor: pointer; }
#page-header .mc-search-close::before { content: none; }
#page-header .ui-search-submit { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--ui-ink); color: #fff !important; line-height: 1; box-shadow: none; appearance: none; cursor: pointer; }
#page-header :is(.mc-search-close, .ui-search-submit) svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
#page-header .mc-search-close:hover { background: #e7eae1; }
#page-header .ui-search-submit:hover { background: #43513d; }
@media (prefers-reduced-motion: reduce) {
  #page-header .mc-search-form { transition: none; }
}
.ui-related-heading { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--ui-line, #dce2d6); }
.mc-product-carousel > .mc-product-track { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; height: auto; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 24px; }
.mc-product-track::-webkit-scrollbar { display: none; }
.mc-product-carousel .mc-product-track > .mc-grid-item { display: flex; flex: 0 0 calc((100% - 32px) / 5); width: calc((100% - 32px) / 5); height: auto; padding: 0; margin: 0; scroll-snap-align: start; }
.mc-product-carousel .mc-grid-item.product > .mc-grid-item-h { display: flex; flex: 1; min-width: 0; height: auto; }
.mc-product-carousel .mc-grid-item.product .mc-card-vwrapper_1 { flex: 1; min-width: 0; height: auto; }
.mc-product-controls { display: flex; justify-content: flex-end; gap: 10px; margin: 0 0 12px; }
.mc-product-controls button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ui-line); border-radius: 50%; background: white; color: var(--ui-ink); line-height: 1; appearance: none; cursor: pointer; }
.mc-product-controls svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mc-product-controls button:disabled { opacity: .35; cursor: default; }
@media (min-width: 1025px) and (max-width: 1380px) {
  #page-header .mc-layout-subheader-h { width: calc(100% - 48px); gap: 20px; }
  #page-header .mc-layout-subheader-cell.at_right { gap: 10px; }
  #page-header .ui-main-menu { gap: 14px; }
  #page-header .ui-mc-menu-item > a, #page-header .ui-category-toggle { font-size: 13px; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  #page-header .ui-main-menu { gap: 8px; }
}
@media (max-width: 1024px) {
  #page-header .mc-layout-subheader.at_middle, #page-header.sticky .mc-layout-subheader.at_middle { height: 88px; }
  #page-header .ui-language-switcher { order: 1; }
  #page-header .mc-search { order: 2; }
  #page-header .ui-site-nav { order: 3; }
  #page-header .ui-site-nav { flex: none; height: 44px; }
  #page-header .ui-menu-toggle { align-items: center; line-height: 1; }
  #page-header .mc-cart { display: none; }
}
@media (max-width: 1024px) {
  .mc-product-carousel .mc-product-track > .mc-grid-item { flex-basis: calc((100% - 24px) / 4); width: calc((100% - 24px) / 4); }
}
@media (max-width: 600px) {
  :root { --header-height: 85px; --header-sticky-height: 70px; }
  #page-header .mc-layout-subheader.at_middle { height: 85px; }
  #page-header.sticky .mc-layout-subheader.at_middle { height: 70px; }
  #page-header .mc-layout-subheader-h { width: calc(100% - 40px); gap: 8px; }
  #page-header .mc-header-image_1 img { width: 76px; }
  #page-header .mc-layout-subheader-cell.at_right { gap: 8px; }
  .mc-product-carousel .mc-product-track > .mc-grid-item { flex-basis: calc((100% - 8px) / 2); width: calc((100% - 8px) / 2); }
}
@media (max-width: 360px) {
  #page-header .mc-layout-subheader-cell.at_right { gap: 4px; }
  #page-header .ui-language-switcher { font-size: 13px; }
}
