/* MEKANICA: shared storefront surfaces, controls and media. */
:root {
  --m-action-radius: 12px;
  --m-panel-radius: 20px;
  --m-photo-ground: #edf0f3;
  --m-stroke: #d9dfe6;
  --m-focus: #2360c0;
}
:where(.u-site,.w-page) :focus-visible {
  outline: 3px solid var(--m-focus);
  outline-offset: 3px;
}
.u-site .u-button,.u-site .button,.u-site .finder button,.u-site .u-nav-toggle,
.u-site .u-header-phone,.u-site .n-zoom,.u-site .n-close,
.u-site .s-compare-bar button,.u-site .s-comparison button,
.u-site .e-contact a,.u-site .m-mobile-buy a,.u-site #fit-expand,
.u-site .w-actions a,.u-site .w-toolbar button,.u-site #w-clear,
.u-site .catalog-reset,.u-site #filtersDialog button {
  border-radius: var(--m-action-radius);
}
.u-site :where(.u-button,.button,.n-zoom,.n-close,.w-actions a,#w-clear) { min-height: 44px; }
.u-home .finder .field { min-width: 0; }
.u-home .finder select,.u-site #w-query,.u-product #fit-search {
  border-radius: var(--m-action-radius);
  min-height: 44px;
}
.u-home .filmHero .heroVideoFrame,.u-home .journeyPhoto,.u-home .w-card,
.u-site .w-card,.u-product .m-passport,.u-site .s-comparison,.u-site .n-zoom-dialog {
  border-radius: var(--m-panel-radius);
}
.u-home .filmHero .heroVideoFrame,.u-home .journeyPhoto { overflow: hidden; }
.u-catalog .a-catalog-intro h1 { white-space: normal; text-wrap: balance; }
.u-catalog .a-catalog-intro h1 br { display: none; }
.u-catalog .heading { margin: 0; }
.u-catalog .heading .search {
  position: relative; min-height: 48px; border: 1px solid var(--m-stroke);
  padding: 0 14px; border-radius: var(--m-action-radius); background: #f4f6f8;
}
.u-catalog .search input { min-height: 46px; width: 100%; font-size: 16px; }
.u-catalog .topFilters { border: 0; background: transparent; gap: 8px; }
.u-catalog .topFilters .pill {
  min-height: 48px; min-width: 0; border: 1px solid var(--m-stroke);
  border-radius: var(--m-action-radius); padding: 4px 12px; background: #fff;
}
.u-catalog .topFilters .pill.selected { background: #29313b; color: #fff; }
.u-catalog .topFilters .pill :is(select,input) { width: 100%; min-height: 38px; }
.u-catalog .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.u-catalog .tools label { margin-inline-start: auto; }
.u-catalog .tools select { min-height: 44px; }
.u-catalog .catalog-reset {
  padding: 0 12px; min-height: 44px; border: 1px solid var(--m-stroke);
  background: white; color: #224a88; font: inherit; cursor: pointer;
}
.u-catalog .catalog-reset:hover { border-color: #224a88; }
.u-catalog .catalog-reset[hidden],.u-catalog .card[hidden],.u-catalog #empty[hidden] { display: none !important; }
.u-catalog #empty:not([hidden]) { background: #f4f6f8; padding: 24px; border-radius: var(--m-action-radius); }
.u-catalog #filtersDialog { border-radius: var(--m-panel-radius); max-width: calc(100vw - 32px); }
.u-catalog #filtersDialog button { min-height: 44px; }
.u-catalog .wide .grid { column-gap: clamp(12px,1.7vw,24px); row-gap: clamp(20px,2.5vw,32px); }
.u-catalog .wide .card {
  min-width: 0; border-radius: var(--m-panel-radius); overflow: hidden;
  border-color: var(--m-stroke);
}
.u-catalog .wide .photo,.u-product .u-product-photo,.u-product .gallery-thumbs button,
.u-catalog .a-angles,.u-catalog .s-compare-photo,.u-product .u-related .product-photo {
  background: var(--m-photo-ground);
}
.u-catalog .wide .photo {
  height: auto; aspect-ratio: 1; display: grid; place-items: center;
  border: 0; border-radius: 0; padding: 22px 8px 8px;
}
.u-catalog .wide .photo img,.u-product .u-product-photo > img {
  display: block; position: static; inset: auto; width: 100%; height: 100%;
  max-width: 100%; max-height: 100%; min-height: 0; min-width: 0;
  object-fit: contain; object-position: center; padding: 0; mix-blend-mode: multiply;
}
.u-catalog .wide .card:hover .photo img { transform: none; }
.u-catalog .wide .photo img { grid-area: 1 / 1; }
.u-catalog .wide .photo:focus-visible { outline-offset: -4px; }
.u-catalog .card .new {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  border-radius: 7px; padding: 3px 8px; background: #fff; color: #384555;
}
.u-catalog .a-angles { padding: 0 6px; border-top: 1px solid #dfe4e9; }
.u-catalog .a-angles button { min-height: 44px; min-width: 32px; }
.u-catalog .wide .title { gap: 4px 8px; }
.u-catalog .arrow { min-width: 44px; min-height: 44px; justify-content: center; }
.u-catalog .arrowDisc { border-radius: 50%; }
.u-catalog .s-compare-add { min-height: 44px; }
.u-catalog .s-compare-add i { border-radius: 4px; }
.u-product .u-product-photo {
  height: auto; min-width: 0; aspect-ratio: 1.18; padding: 30px 14px 44px;
  border-radius: var(--m-panel-radius); border: 1px solid var(--m-stroke);
}
.u-product .u-product-photo > img { transform: none; }
.u-product .gallery-thumbs button { border-radius: 10px; }
.u-product .u-photo-state { border-radius: 7px; }
.u-product .u-product-summary h1 { overflow-wrap: anywhere; text-wrap: balance; }
.u-product .u-product-nav a { min-height: 44px; align-content: center; }
.u-product .u-price-area { border-color: var(--m-stroke); border-radius: var(--m-action-radius); }
.u-product .u-detail-section { scroll-margin-top: 108px; }
.u-product .u-related .product-photo { border-radius: var(--m-action-radius); }
.u-site .w-card { min-width: 0; }
@media (max-width: 700px) {
  :root { --m-panel-radius: 15px; }
  .u-catalog .a-catalog-intro h1 { font-size: clamp(32px,9vw,43px); }
  .u-catalog .heading .search { width: 100%; }
  .u-catalog .topFilters .pill { padding-inline: 9px; }
  .u-catalog .topFilters .pill :is(select,input) { font-size: 16px; }
  .u-catalog .tools label { margin-inline-start: 0; }
  .u-catalog .wide .photo { padding: 24px 5px 6px; }
  .u-catalog .wide .info { padding-inline: 11px; }
  .u-catalog .wide .title h2 { font-size: clamp(22px,6vw,29px); }
  .u-catalog .a-card-actions { padding-inline: 11px; }
  .u-product .u-product-photo { aspect-ratio: 1.05; padding: 27px 9px 46px; }
  .u-product .u-product-nav { gap: 8px 14px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .u-catalog .wide .card,.u-catalog .wide .photo img,.u-site .u-button { transition: none; }
}

/* Mission and catalogue alignment. */
.u-home .mekanicaMission {
  isolation: isolate; overflow: hidden;
  padding-block: clamp(58px, 8.4vw, 132px);
  background: #171c25; color: #fff;
}
.u-home .mission-layout {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 25%);
  align-items: center; gap: clamp(24px, 5vw, 84px);
}
.u-home .mekanicaMission .mission-label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  color: #b5c9ed; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.u-home .mission-label::before { content: ""; inline-size: 28px; block-size: 2px; background: #7398eb; }
.u-home .mission-copy h2 {
  margin: 0; font-size: clamp(37px, 5vw, 82px); font-weight: 750;
  line-height: 1.02; letter-spacing: -.045em; text-wrap: balance;
}
.u-home .mission-copy h2 span { display: block; color: #a9c3f6; }
.u-home .mission-emblem { width: 100%; height: auto; opacity: .22; filter: brightness(0) invert(1); }
.u-catalog .wide .card .info { display: flex; flex-direction: column; }
.u-catalog .wide .card .bottom { margin-block-start: auto; }
.u-catalog .a-angles { min-width: 0; overflow-x: auto; justify-content: safe center; }
.u-catalog .a-angles button { flex: 0 0 auto; }
.u-catalog .arrow:hover .arrowDisc, .u-catalog .arrow:focus-visible .arrowDisc {
  color: #fff; background: #244c8a; border-color: #244c8a;
}
@supports (grid-template-rows: subgrid) {
  .u-catalog .wide .grid > .card {
    display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  }
  .u-catalog .wide .card > .photo { grid-row: 1; }
  .u-catalog .wide .card > .a-angles { grid-row: 2; }
  .u-catalog .wide .card > .info { grid-row: 3; }
  .u-catalog .wide .card > .a-card-actions { grid-row: 4; }
}
@media (max-width: 700px) {
  .u-home .mission-layout { grid-template-columns: minmax(0, 1fr); }
  .u-home .mission-copy h2 { font-size: clamp(32px, 9.4vw, 58px); }
  .u-home .mission-emblem { position: absolute; z-index: -1; right: -15%; top: 50%; width: 56%; opacity: .07; transform: translateY(-50%); }
}

/* A curated selection on the home page. */
.u-home .pick-section { background: #171c25; color: #f8fafc; scroll-margin-top: 72px; }
.pick-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(22px,3.5vw,48px); }
.u-home .pick-head h2 { margin: 0 0 8px; color: inherit; font-size: clamp(39px,5.8vw,86px); line-height: .98; letter-spacing: -.045em; }
.u-home .pick-head p { margin: 0; color: #b8c6d8; font-size: clamp(16px,1.5vw,21px); }
.u-home .pick-head .u-button { flex: none; background: #e4ecfa; color: #182236; }
.u-home .pick-head .u-button:hover { background: white; }
.pick-grid { display: grid; grid-template-columns: 1.27fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 12px; }
.pick-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; min-width: 0; overflow: hidden; border-radius: var(--m-panel-radius); text-decoration: none; background: #edf0f3; color: #182236; }
.pick-card.pick-lead { grid-row: span 2; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; }
.pick-photo { position: relative; isolation: isolate; background: #edf0f3; overflow: hidden; display: grid; place-items: center; min-height: 170px; }
.pick-photo > span { display: none; }
.pick-lead .pick-photo { min-height: clamp(250px,28vw,430px); }
.pick-lead .pick-photo > span { display: block; position: absolute; z-index: 0; left: 4%; top: 5%; color: #cdd5df; font-size: clamp(78px,13vw,195px); line-height: 1; font-weight: 800; letter-spacing: -.08em; }
.pick-photo img { width: 100%; height: 100%; position: absolute; z-index: 1; inset: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .28s ease; }
.pick-lead .pick-photo img { width: 88%; left: 9%; }
.pick-info { align-self: stretch; align-content: center; position: relative; padding: 16px 12px; }
.pick-lead .pick-info { padding: 18px 166px 20px 24px; }
.u-home .pick-info p { margin: 0; color: #46566b; font-size: 15px; }
.pick-info p span { white-space: nowrap; }
.pick-info p span::before { content: ' / '; }
.u-home .pick-info h3 { overflow-wrap: anywhere; color: inherit; margin: 2px 0 5px; font-size: clamp(23px,2.6vw,42px); line-height: 1; }
.u-home .pick-lead h3 { font-size: clamp(36px,4vw,64px); }
.pick-info strong { display: block; font-size: clamp(15px,1.7vw,25px); }
.pick-card:hover img { transform: scale(1.045); }
@media (max-width: 760px) {
  .pick-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .pick-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: none; }
  .pick-card.pick-lead { grid-row: auto; }
  .pick-photo { min-height: 146px; }
}
.u-home .pick-head h2 { display: flex; gap: clamp(12px,2vw,24px); align-items: center; font-size: clamp(36px,5.7vw,82px); text-wrap: balance; }
.pick-star { display: grid; place-items: center; flex: none; width: clamp(48px,6vw,82px); aspect-ratio: 1; border-radius: 24%; color: #c7d8ff; background: #283d65; transform: rotate(-9deg); }
.pick-star svg { width: 62%; }
.pick-grid-icon { display: grid; grid-template-columns: repeat(2,5px); gap: 3px; }
.pick-grid-icon i { width: 5px; height: 5px; background: currentColor; border-radius: 1px; }
.pick-cta { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; min-height: 36px; padding: 4px 10px; margin-top: 12px; border: 1px solid #a8b9d3; border-radius: 8px; color: #234678; font-size: 14px; font-weight: 650; transition: background .2s,color .2s,border-color .2s; }
.pick-cta > span { font-size: 20px; line-height: .8; font-weight: 400; }
.pick-lead .pick-cta { position: absolute; right: 20px; bottom: 20px; min-height: 44px; padding-inline: 13px; }
.pick-card:is(:hover,:focus-visible) .pick-cta { background: #244c8a; border-color: #244c8a; color: #fff; }
@media (max-width: 480px) {
  .pick-lead .pick-info { padding: 16px 14px; }
  .pick-lead .pick-cta { position: static; }
  .u-home .pick-head h2 { text-wrap: initial; }
}
@media (prefers-reduced-motion: reduce) { .pick-card img,.pick-cta { transition: none; } .pick-card:hover img { transform: none; } }

.u-home #finder { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 8px; }
.u-home #finder .field { border: 1px solid #d9dfe6; border-radius: 10px; padding: 6px 10px; }
.u-home #finder :is(select,input) { display: block; width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; color: #171c25; font: inherit; font-size: 16px; }
.u-home #finder button { grid-column: 1 / -1; justify-content: center; min-height: 46px; }
.u-home .benefit .benefitIcon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #657a9d; border-radius: 12px; color: #d6e5ff; background: #293247; }
.u-home .benefitIcon svg { width: 23px; height: 23px; }
.u-home .pick-star { background: transparent; border: 1px solid #647dba; border-radius: 50%; color: #aec9ff; transform: none; }
@media(max-width: 480px) { .u-home #finder { grid-template-columns: minmax(0,1fr); } }
