/* Catalogue tiles and primary storefront navigation */
body .card.product-card {
    container-type: inline-size;
    border: 1px solid #d9e3ed;
    border-radius: 14px;
    padding: clamp(12px, 1vw, 18px);
    min-width: 0;
    color: #162e47;
}
body .product-card:hover { transform: none; border-color: #a7b9ce; }
body .product-card .card-photo { height: clamp(144px, 12vw, 190px); margin: 0 0 8px; padding: 4px; }
body .product-card .card-photo img { width: 100%; height: 100%; object-fit: contain; }
body .product-card .card-sku { color: #526678; font-size: 11px; letter-spacing: .015em; margin: 0; }
body .product-card h3 {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.3;
    font-weight: 650;
    min-height: 2.6em;
    margin: 6px 0 5px;
    overflow-wrap: anywhere;
}
body .product-card h3 a { color: #152e48; }
body .product-card .card-stock { font-size: 12px; font-weight: 500; line-height: 1.35; color: #265d49; margin: 2px 0 9px; }
body .product-card .card-stock[data-available="no"] { color: #555f6a; }
body .product-card .card-buy {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 6px 8px; margin: 0 0 10px; width: 100%;
}
body .product-card .card-buy .price {
    font-size: clamp(19px, 1.45vw, 23px); line-height: 1.13; font-weight: 750;
    max-width: none; white-space: nowrap; letter-spacing: -.045em; color: #152e48;
}
body .product-card .card-buy button {
    width: auto; min-width: 44px; height: auto; min-height: 44px;
    border-radius: 9px; padding: 8px 10px; display: inline-flex; gap: 5px;
    justify-content: center; align-items: center; background: #c51835;
    font-size: 13px; line-height: 1.25; font-weight: 650; color: #fff;
}
body .product-card .card-buy button:disabled { background: #e5e9ed; color: #414e59; }
body .product-card .card-buy button:not(:disabled):hover { background: #a9102b; }
body .product-card .card-buy button .ui-icon { width: 18px; height: 18px; flex: none; }
body .product-card .card-specs {
    display: block; margin: 0 0 4px; min-height: 0;
    border-top: 1px solid #e0e7ef; padding-top: 7px; font-size: 12px; line-height: 1.4;
}
body .product-card .card-specs:empty { display: none; }
body .product-card .card-specs > div { display: block; margin: 3px 0; }
body .product-card .card-specs dt { display: inline; color: #556475; }
body .product-card .card-specs dd { display: inline; color: #263e54; font-weight: 600; }
body .product-card .card-specs dd::before { content: ' '; }
body .product-card .card-compare { margin: auto 0 0; }
body .product-card .card-compare button { min-height: 44px; font-size: 12px; color: #294b68; }
body .product-card .card-favorite button { width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; }
body .product-card .card-favorite button[aria-pressed=true],body .product-card .card-compare button[aria-pressed=true] { color: #ad1231; }
body :where(a,button,input,select,summary,textarea):focus-visible {
    outline: 3px solid #135caa; outline-offset: 2px;
}
@container (max-width: 224px) {
    body .product-card .card-buy form, body .product-card .card-buy button { width: 100%; }
}
@media(max-width:760px) {
    body .card.product-card { padding: 11px; border-radius: 12px; }
    body .product-card .card-photo { height: clamp(108px, 30vw, 165px); margin-bottom: 5px; }
    body .product-card h3 { margin-top: 3px; }
    body .blue-mobile-nav { grid-template-columns: repeat(5, minmax(0,1fr)); }
    body .blue-mobile-nav > :is(a,button) { font-size: 11px; min-height: 44px; padding-inline: 0; }
    body .blue-mobile-nav a[aria-current="page"] { color: #aa1030; font-weight: 700; }
}
@media(max-width:350px) {
    body .blue-mobile-nav > :is(a,button) { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) {
    body .product-card { transition: none; }
}


/* The directory is live catalogue navigation. The primary banner remains CMS-managed. */
.blue-bento.home-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr);
  grid-template-areas: "feature directory" "offers offers";
  align-items: stretch;
  gap: 14px;
  margin: 4px 0 clamp(28px, 4vw, 58px);
}
.home-entry .blue-main-banner { grid-area: feature; min-width: 0; }
.home-entry .entry-directory {
  grid-area: directory;
  align-self: stretch;
  min-width: 0;
  padding: clamp(17px, 2vw, 28px);
  border: 1px solid #d3e0ec;
  border-radius: 20px;
  background: #f6f9fc;
  color: #112f4a;
}
.home-entry .entry-directory > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.home-entry .entry-directory h2 {
  margin: 0;
  color: #112f4a;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.home-entry .entry-directory header a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  color: #234f73;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.home-entry .entry-directory header a svg { width: 16px; height: 16px; }
.home-entry .blue-categories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}
.home-entry .blue-categories > a {
  display: grid;
  grid-template-columns: 47px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 3px 4px;
  color: #173956;
  background: transparent;
  border: 0;
  border-top: 1px solid #d8e3ef;
  border-radius: 0;
  text-align: left;
  font-size: 14px;
}
.home-entry .blue-categories > a img,
.home-entry .blue-categories > a .ui-icon {
  width: 43px;
  height: 35px;
  justify-self: center;
  object-fit: contain;
}
.home-entry .blue-categories span { line-height: 1.25; max-width: none; }
.home-entry .blue-categories > a:hover { transform: none; box-shadow: none; background: #e9f1f8; text-decoration: underline; }
.home-entry .hero-slider {
  height: 100%;
  min-height: 385px;
  border-radius: 20px;
  background: #d5ecfa;
}
.home-entry .home-hero {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 385px;
  border-radius: inherit;
  overflow: hidden;
}
.home-entry .home-hero[hidden] { display: none; }
.home-entry .home-hero .hero-copy {
  width: 57%; max-width: none; box-sizing: border-box;
  padding: 30px 0 68px clamp(25px, 3.1vw, 51px);
  text-shadow: none;
}
.home-entry .home-hero .hero-copy :is(h1,h2) {
  color: inherit; max-width: 14ch; margin: 0 0 14px;
  font-size: clamp(35px, 3.25vw, 52px);
  line-height: 1.03; letter-spacing: -.045em; text-wrap: balance;
}
.home-entry .home-hero .hero-copy p {
  margin: 0 0 22px;
  max-width: 29ch;
  font-size: clamp(15px,1.2vw,18px); line-height: 1.42;
}
.home-entry .home-hero .button { min-height: 46px; padding: 10px 16px; border-radius: 10px; }
.home-entry .hero-slider .hero-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  height: 42px;
  padding: 0 3px;
  inset: auto auto 13px clamp(17px, 2.8vw, 42px);
  border-radius: 999px;
  background: #ffffffeb;
  color: #123652;
}
.home-entry .hero-controls[hidden] { display: none; }
.home-entry .hero-controls :is(.hero-prev,.hero-next) {
  position: static; inset: auto; transform: none;
  width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  padding: 8px; border-radius: 50%; box-shadow: none; background: transparent;
}
.home-entry .hero-controls .hero-prev { order: 0; }
.home-entry .hero-controls .hero-next { order: 2; }
.home-entry .hero-controls .hero-dots {
  position: static; order: 1; transform: none; display: flex; gap: 0;
}
.home-entry .hero-dots button,
.home-entry .hero-dots button[aria-current=true] {
  display: grid; place-items: center; position: static;
  width: 24px; min-width: 24px; height: 32px; min-height: 32px;
  padding: 0; background: transparent; box-shadow: none; border: 0;
}
.home-entry .hero-dots button::after {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: #7890a4;
}
.home-entry .hero-dots button[aria-current=true]::after { width: 15px; background: #143a5c; border-radius: 5px; }
.home-entry .blue-side-banners {
  grid-area: offers; display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  grid-template-rows: minmax(74px,auto); gap: 14px;
}
.home-entry .blue-mini {
  min-height: 74px; border-radius: 14px;
  display: flex; align-items: center; color: #123452;
  isolation: isolate;
}
.home-entry .blue-mini.blue-dark { color: #fff; }
.home-entry .blue-mini > img {
  width: 59%; height: 100%; left: auto; right: 0;
  object-fit: cover; object-position: 80% 58%;
}
.home-entry .blue-mini::after, .home-entry .blue-mini:not(.blue-dark)::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; background: linear-gradient(90deg,#dceffd 38%,#dceffde8 49%,transparent 75%);
}
.home-entry .blue-mini.blue-dark::after { background: linear-gradient(90deg,#0d2441 38%,#0d2441e8 49%,transparent 75%); }
.home-entry .blue-mini > div { display: flex; align-items: center; gap: 10px; max-width: none; padding: 17px 24px; }
.home-entry .blue-mini h2 { color: inherit; font-size: clamp(17px,1.5vw,23px); line-height: 1.16; letter-spacing: -.025em; margin: 0; }
.home-entry .blue-mini .ui-icon { width: 18px; height: 18px; }
.home-entry .blue-mini:hover h2 { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 859px) {
  .blue-bento.home-entry { grid-template-columns: minmax(0,1fr); grid-template-areas: "feature" "directory" "offers"; gap: 11px; }
  .home-entry .hero-slider, .home-entry .home-hero { min-height: 300px; height: auto; }
  .home-entry .entry-directory { padding: 12px 16px; border-radius: 16px; }
  .home-entry .entry-directory > header { margin-bottom: 3px; }
  .home-entry .blue-categories { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 15px; }
  .home-entry .blue-categories > a { min-height: 54px; grid-template-columns: 43px 1fr; }
  .home-entry .hero-slider .hero-controls { left: 22px; }
}
@media (max-width: 539px) {
  .blue-bento.home-entry { margin-top: 1px; margin-bottom: 27px; }
  .home-entry .hero-slider,.home-entry .home-hero { min-height: 246px; border-radius: 15px; }
  .home-entry .home-hero .hero-photo { object-position: 70% center; }
  .home-entry .home-hero .hero-copy { width: 64%; padding: 19px 0 60px 17px; }
  .home-entry .home-hero .hero-copy :is(h1,h2) { font-size: clamp(25px, 6.2vw, 32px); line-height: 1.07; margin-bottom: 9px; }
  .home-entry .home-hero .hero-copy p { margin-bottom: 13px; font-size: 13px; line-height: 1.35; }
  .home-entry .home-hero .button { font-size: 13px; min-height: 42px; padding: 8px 12px; }
  .home-entry .hero-slider .hero-controls { left: 13px; bottom: 8px; height: 35px; padding: 0; gap: 0; }
  .home-entry .hero-controls :is(.hero-prev,.hero-next) { min-width: 32px; width: 32px; height: 32px; min-height: 32px; }
  .home-entry .entry-directory { padding: 9px 12px; }
  .home-entry .entry-directory h2 { font-size: 19px; }
  .home-entry .entry-directory header a { min-height: 34px; }
  .home-entry .blue-categories { column-gap: 9px; }
  .home-entry .blue-categories > a { grid-template-columns: 30px 1fr; gap: 5px; min-height: 50px; padding: 4px 0; font-size: 12px; }
  .home-entry .blue-categories > a :is(img,.ui-icon) { width: 28px; height: 31px; }
  .home-entry .blue-categories span { overflow-wrap: anywhere; }
  .home-entry .blue-side-banners { gap: 9px; grid-template-rows: auto; }
  .home-entry .blue-mini { min-height: 72px; border-radius: 12px; align-items: flex-end; }
  .home-entry .blue-mini > div { padding: 8px 9px; gap: 4px; align-items: center; }
  .home-entry .blue-mini h2 { font-size: 13px; }
  .home-entry .blue-mini > img { width: 75%; object-position: right 57%; }
  .home-entry .blue-mini::after,.home-entry .blue-mini:not(.blue-dark)::after { background: linear-gradient(0deg,#dceffd 8%,#dceffde8 30%,transparent 72%); }
  .home-entry .blue-mini.blue-dark::after { background: linear-gradient(0deg,#0d2441 8%,#0d2441e8 30%,transparent 72%); }
  .home-entry .blue-mini .ui-icon { width: 14px; height: 14px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-entry .blue-mini:hover img { transform: none; transition: none; }
}
.home-entry .blue-categories > a .category-button-icon {
  justify-self: center; box-sizing: border-box;
  width: 34px; height: 34px; padding: 7px;
  color: #28557c; background: #e6eff7; border-radius: 9px;
}
@media(max-width:539px) {
  .home-entry .blue-categories > a .category-button-icon { width: 29px; height: 29px; padding: 5px; border-radius: 7px; }
}
.home-entry .home-hero::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(228,242,251,.98) 0%,rgba(228,242,251,.94) 35%,rgba(228,242,251,.77) 49%,rgba(228,242,251,0) 72%);
}
@media(max-width:539px) {
  .home-entry .home-hero::after {
    background: linear-gradient(90deg,rgba(228,242,251,.98),rgba(228,242,251,.94) 41%,rgba(228,242,251,.75) 56%,rgba(228,242,251,0) 78%);
  }
}


.catalog-results .dnrf-active{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.catalog-results .dnrf-chip,.catalog-results .dnrf-reset{display:inline-flex;align-items:center;min-height:36px;padding:5px 10px;border-radius:8px;font-size:14px;line-height:1.25;text-decoration:none;box-sizing:border-box}
.catalog-results .dnrf-chip{background:#eaf2ff;border:1px solid #bccfeb;color:#143764;gap:8px;overflow-wrap:anywhere}
.catalog-results .dnrf-chip span{font-size:18px;line-height:1}.catalog-results .dnrf-chip:hover{background:#dbe9fa}
.catalog-results .dnrf-reset{color:#274a73;text-decoration:underline;text-underline-offset:3px}
.catalog-results .dnrf-active a:focus-visible,.filters .dnrf-apply:focus-visible{outline:3px solid #2059ac;outline-offset:2px}
.filters .dnrf-apply,.filters .dnrf-touch-hint{display:none}
#catalog-filters .filter-choice:has(input:checked){background:#eaf2ff;color:#193e70;border-radius:5px}
@media(max-width:900px){
 .filters .dnrf-live-hint{display:none}.filters .dnrf-touch-hint{display:inline}
 #catalog-filters .dnrf-apply{display:block;width:100%;min-height:44px;margin:4px 0 8px}
 #catalog-filters .dnrf-actions{position:sticky;z-index:1;bottom:0;background:#fff;border-top:1px solid #d6dfeb;padding:8px 0 max(4px,env(safe-area-inset-bottom));margin-top:12px}
 #catalog-filters .dnrf-actions .filter-reset{display:block;text-align:center;min-height:32px;padding:6px 0}
 .catalog-results .dnrf-chip,.catalog-results .dnrf-reset{min-height:44px}
}
.catalog-results .toolbar small{font-size:14px;line-height:1.4;color:#3d536a}
.catalog-results .toolbar select{min-height:44px;font-size:14px;line-height:1.3}
#catalog-filters .filter-choice input{accent-color:#235da7}


.product-page-layout .purchase .price,
.checkout-layout .cart-total strong {
  color: #132e48;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}

.product-page-layout .purchase > form > button,
.checkout-layout #mk-order > button {
  min-height: 48px;
  width: 100%;
}

.product-page-layout .mk-receipt,
.checkout-layout .mk-receipt {
  padding: 14px;
  background: #f3f7fb;
  border: 1px solid #d7e3ec;
  border-radius: 12px;
}

.product-page-layout .mk-receipt select,
.checkout-layout .mk-receipt select {
  min-height: 44px;
  background-color: white;
  color: #162f48;
}

.product-page-layout .message-copy {
  margin: 12px 0;
  border-block: 1px solid #d7e3ec;
}

.message-copy > summary,
.checkout-layout .order-comment > summary {
  padding-block: 12px;
  color: #154d7a;
  font-weight: 650;
  cursor: pointer;
}

.product-page-layout .message-copy textarea {
  margin-block: 4px 8px;
  font: inherit;
  line-height: 1.4;
}

.product-page-layout .thumbs button:focus-visible,
.product-tabs a:focus-visible,
.checkout-layout :is(button, input, textarea, select, summary, a):focus-visible {
  outline: 3px solid #1967a3;
  outline-offset: 2px;
}

.product-page-layout .purchase .mk-receipt {
  margin-bottom: 0;
}

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

.checkout-layout .checkout-summary > h2,
.checkout-layout .checkout-form > h2 {
  margin-top: 0;
}

.checkout-layout .cart-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px 14px;
  padding-block: 18px;
  border-bottom: 1px solid #d8e2eb;
}

.checkout-layout .cart-thumb {
  background: white;
  object-fit: contain;
}

.checkout-layout .cart-item-info {
  grid-column: -2;
  align-self: center;
}

.checkout-layout .cart-item-info p {
  margin: 5px 0 0;
  color: #475d70;
}

.checkout-layout .cart-item-edit {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.checkout-layout .cart-item-edit label {
  margin: 0;
}

.checkout-layout .cart-item-edit input {
  display: block;
  width: 80px;
  min-height: 44px;
  margin-top: 4px;
}

.checkout-layout button.cart-remove {
  min-height: 44px;
  width: auto;
  padding: 6px 10px;
  background: transparent;
  color: #6f3545;
  border: 1px solid transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-layout button.cart-remove:hover {
  background: #fff4f4;
}

.checkout-layout .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 18px;
}

.checkout-layout .cart-total strong {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  white-space: nowrap;
}

.checkout-layout #mk-order > label > input:not([type="checkbox"]) {
  min-height: 44px;
  font-size: 16px;
}

.checkout-layout .order-comment {
  margin-block: 4px 12px;
}

.checkout-layout #mk-order .checkout-consent {
  display: block;
  margin-block: 12px 18px;
  font-size: .875rem;
  line-height: 1.55;
  cursor: pointer;
}

.checkout-layout #mk-order .checkout-consent input {
  width: 20px;
  height: 20px;
  margin: 0 .45rem 0 0;
  vertical-align: middle;
}

@media (max-width: 760px) {
  .product-page-layout .product-03a { gap: 14px; }
  .product-page-layout .gallery { padding: 8px 10px; }
  .product-page-layout .main-photo-wrap {
    height: clamp(170px, 47vw, 270px);
    width: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
  .product-page-layout .gallery #main-photo {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .product-page-layout .gallery .thumbs {
    margin-top: 0;
    padding: 6px 2px 2px;
    gap: 6px;
  }
  .product-page-layout .gallery .thumbs button {
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 3px;
  }
  .product-page-layout .gallery .thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .product-page-layout .gallery .gallery-arrow {
    width: 44px;
    height: 44px;
  }
  .product-page-layout .product-specs { margin: 0; }
  .product-page-layout .product-tabs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  .checkout-layout .panel { min-width: 0; }
  .checkout-layout .mk-receipt select { font-size: 16px; }
}

@media (min-width:651px) and (max-width:900px) {
  main .catalog:has(.catalog-results) {
  display:block
}
main .catalog .catalog-results {
  width:100%;
  min-width:0
}
main .catalog .catalog-results .cards {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
main .product-page-layout .product-03a .product-right {
  grid-column:2;
  grid-row:1 / span 2;
  display:flex;
  flex-direction:column;
  align-self:start;
  min-width:0
}
main .product-page-layout .product-03a .product-specs {
  grid-column:1;
  grid-row:2;
  min-width:0
}

}

@media(max-width:650px) {
  main:has(> .product-title) > .breadcrumbs {
  margin:4px 0 8px
}
main:has(> .product-title) > .breadcrumbs li {
  display:none
}
main:has(> .product-title) > .breadcrumbs li:nth-last-child(2) {
  display:block
}
main:has(> .product-title) > .breadcrumbs li:nth-last-child(2)::before,main:has(> .product-title) > .breadcrumbs li:nth-last-child(2)::after {
  content:none
}
main:has(> .product-title) > .breadcrumbs a {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  font-size:13px
}
main:has(> .product-title) > .breadcrumbs a::before {
  content:"←"
}

}

