/* Desktop feature access — intentionally uses the existing Maxi Mart theme. */
.maxi-desktop-tools { display: none; }

@media (min-width: 901px) {
  .maxi-desktop-tools {
    display: flex;
    align-items: stretch;
    gap: 7px;
    padding: 9px 18px;
    background: #fff;
    border-bottom: 1px solid #d9d6cd;
    box-shadow: 0 5px 16px rgba(32,39,45,.055);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .maxi-desktop-tools::before {
    content: "TOOLS";
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0 7px 0 0;
    color: #bf1522;
    font: 900 8px/1 Inter,Arial,sans-serif;
    letter-spacing: .16em;
  }

  .maxi-desktop-tool {
    position: relative;
    display: grid;
    grid-template-columns: 28px auto;
    grid-template-rows: auto auto;
    align-items: center;
    flex: 0 0 auto;
    min-width: 128px;
    min-height: 49px;
    padding: 7px 11px 7px 8px;
    color: #17191c;
    text-align: left;
    background: #f7f6f1;
    border: 1px solid #cfcac0;
    border-radius: 7px;
    cursor: pointer;
  }

  .maxi-desktop-tool:hover,
  .maxi-desktop-tool:focus-visible {
    border-color: #087fe8;
    background: #fff;
    box-shadow: 3px 3px 0 #cfe9ff;
    transform: translate(-1px,-1px);
    outline: none;
  }

  .maxi-desktop-tool-icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: #fff;
    background: #087fe8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 900;
  }

  .maxi-desktop-tool[data-action="build"] .maxi-desktop-tool-icon,
  .maxi-desktop-tool[data-action="clock"] .maxi-desktop-tool-icon { background: #ed1c2b; }
  .maxi-desktop-tool[data-action="university"] .maxi-desktop-tool-icon,
  .maxi-desktop-tool[data-action="invent"] .maxi-desktop-tool-icon { color: #111; background: #ffd51b; }

  .maxi-desktop-tool strong {
    align-self: end;
    font: 800 11px/1.15 Inter,Arial,sans-serif;
  }

  .maxi-desktop-tool small {
    align-self: start;
    margin-top: 3px;
    color: #747d85;
    font: 700 8px/1 Inter,Arial,sans-serif;
    letter-spacing: .035em;
  }

  .maxi-desktop-tool[data-action="build"] {
    color: #fff;
    background: #17191c;
    border-color: #17191c;
  }
  .maxi-desktop-tool[data-action="build"] small { color: #ffd51b; }

  .maxi-tool-feedback {
    position: fixed;
    z-index: 2147481000;
    left: 50%;
    bottom: 24px;
    translate: -50% 14px;
    padding: 10px 15px;
    color: #fff;
    background: #17191c;
    border: 2px solid #ffd51b;
    border-radius: 7px;
    opacity: 0;
    pointer-events: none;
    transition: .18s ease;
    font: 800 11px/1 Inter,Arial,sans-serif;
  }
  .maxi-tool-feedback.show { translate: -50% 0; opacity: 1; }
}
