/* Wide web storefront. The same controls serve the public demo and project accounts. */
@media screen and (min-width: 1024px) {
  /* Elementor hides horizontal overflow on body; clip without creating a scroll container. */
  html:not([data-moveu-native-app]) body.moveu-storefront-v4 { overflow-x: clip !important; }

  html:not([data-moveu-native-app]) #moveu-app-main #muStorefrontV4 {
    --sf-toolbar-height: 68px;
    --sf-toolbar-bg: var(--mu-web-product-canvas, #f7fafb);
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-shop-tools {
    position: sticky;
    z-index: 24;
    top: var(--mu-web-offset, 72px);
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--sf-toolbar-height);
    padding: 8px 0;
    background: var(--sf-toolbar-bg);
    border-block: 1px solid #dbe6e8;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-shop-tools .mu-sf-search {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    max-width: none;
    margin: 0;
    border-color: #c4d5da;
    border-radius: 14px;
    animation: none;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-search-toggle,
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-match-notice { display: none; }

  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-shop-tools :is(.mu-sf-wishlist, .mu-sf-category-menu > summary) {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 9px;
    width: auto;
    height: auto;
    min-height: 48px !important;
    padding: 9px 16px;
    border: 1px solid #cbdadd;
    border-radius: 14px;
    background: white;
    color: #163551;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    list-style: none;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-shop-tools .mu-sf-wishlist {
    border-color: #b8d9d4 !important;
    background: #e4f4f0 !important;
    box-shadow: none !important;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-wishlist .mu-sf-heart-icon { width: 20px; height: 20px; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-wishlist > strong { font-weight: inherit; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-wishlist > [data-sf-total-count] {
    position: static;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border: 0;
    background: #fff;
    font-size: .75rem;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-menu { position: relative; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-menu > summary::-webkit-details-marker { display: none; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-menu > summary svg { width: 16px; height: 16px; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-menu[open] > summary {
    background: #edf7f5;
    border-color: #80b7af;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-menu .mu-sf-categories {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(38rem, 70vw);
    max-height: calc(100dvh - var(--mu-web-offset, 72px) - var(--sf-toolbar-height) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 14px;
    border: 1px solid #d4e2e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 40px #153b4c22;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.2rem), 1fr));
    gap: 4px;
    padding: 0;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category {
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 5px;
    border-radius: 10px;
    text-align: left;
  }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category > span { flex: none; width: 32px; height: 32px; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category > span svg { width: 18px; height: 18px; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category > strong { white-space: normal; overflow-wrap: anywhere; text-align: left; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-category:is(:hover, [aria-pressed="true"]) { background: #eef7f5; }

  html:not([data-moveu-native-app]) #muStorefrontV4 #muSfStore {
    scroll-margin-top: calc(var(--mu-web-offset, 72px) + var(--sf-toolbar-height) + 8px);
  }
  html:not([data-moveu-native-app]) #moveu-app-main #muStorefrontV4 .mu-sf-intro { margin-bottom: 16px !important; }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore :is(button, a[href], [tabindex]) {
    scroll-margin-block-start: calc(var(--mu-web-offset, 72px) + var(--sf-toolbar-height) + 8px);
  }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore .mu-sf-section-title { margin: 14px 0 6px; }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore:not(.is-essentials) .mu-sf-section-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-section-eyebrow { display: none; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-worlds { margin: 12px 0 2px; gap: 5px; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-worlds > button { padding-inline: 10px; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-catalog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 16px;
    margin-bottom: 6px;
  }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-catalog-meta :is(.mu-sf-image-note,.mu-sf-context-note,.mu-sf-filter-summary,.mu-sf-selection-swipe) {
    margin: 0;
  }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-image-note { flex: auto; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-context-note { font-weight: 500; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-catalog-meta .mu-sf-selection-swipe { margin-inline-start: auto; }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore .mu-sf-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 198px), 1fr));
    gap: clamp(12px, 1.1vw, 16px);
    align-items: stretch;
  }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore .mu-sf-item__visual {
    aspect-ratio: 1.65;
    margin: 7px 7px 0;
    border-radius: 13px;
  }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore .mu-sf-item__body { padding: 12px 13px 14px; }
  html:not([data-moveu-native-app]) #moveu-app-main #muSfStore .mu-sf-item h3 { font-size: 1rem; line-height: 1.28; }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-item__add {
    top: 4px;
    right: 4px;
    border: 1px solid #cbdedc;
    background: #fff;
    color: #336a67;
  }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-item__add.is-added {
    border-color: #31776c;
    background: #31776c;
  }
  html:not([data-moveu-native-app]) #muSfStore .mu-sf-item__add.is-added .mu-line-icon { fill: #fff; color: #fff; }
  html:not([data-moveu-native-app]) #muStorefrontV4 .mu-sf-prepared { margin-top: 36px; }
}
