/* Desktop marketplace presentation for the Seattle storefront. */
@media (min-width: 1025px) {
    :root {
        --st-shell-width: 1280px;
        --st-topbar: 144px;
        --st-bg: #f6f7f9;
        --st-surface: #ffffff;
        --st-surface-soft: #fafafa;
        --st-surface-hover: #f6f6f6;
        --st-border: #eceef1;
        --st-border-strong: #dfe3e8;
        --st-primary: #ff6a21;
        --st-primary-hover: #e95610;
        --st-primary-soft: #fff1e8;
        --st-primary-readable: #e9520e;
        --st-on-primary: #ffffff;
        --st-radius-sm: 6px;
        --st-radius: 8px;
        --st-radius-lg: 8px;
    }

    html, body.st-body { background: #f6f7f9 !important; }
    body.st-body { background-image: none !important; color: #171b22; }
    body.st-store-body .st-store-shell { background: #f6f7f9 !important; }
    .st-pjax { min-height: calc(100vh - var(--st-topbar)); }

    .st-market-utility {
        position: sticky;
        top: 0;
        z-index: 90;
        min-height: 30px;
        background: #090909;
        color: #ffffff;
        font-size: 12px;
    }
    .st-market-utility__inner {
        display: flex;
        width: min(100%, var(--st-shell-width));
        min-height: 30px;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
        padding: 0 8px;
        gap: 16px;
    }
    .st-market-utility__links { display: inline-flex; align-items: center; gap: 18px; color: #d7d7d7; }
    .st-market-utility a { color: inherit; }
    .st-market-utility a:hover { color: #ffffff; }

    .st-store-topbar {
        position: sticky;
        top: 30px;
        z-index: 80;
        width: 100%;
        height: 72px !important;
        padding: 0 max(20px, calc((100vw - var(--st-shell-width)) / 2 + 8px)) !important;
        border-bottom: 1px solid #eceef1;
        background: #ffffff !important;
        box-shadow: none;
        backdrop-filter: none;
        gap: 28px;
    }
    .st-store-topbar .st-brand { flex: 0 0 250px; gap: 10px; }
    .st-store-topbar .st-brand-icon { width: 42px; height: 42px; border: 0; border-radius: 50%; }
    .st-store-topbar .st-brand-copy strong { color: #111318; font-size: 20px; font-weight: 800; }
    .st-store-topbar .st-brand-copy small { display: none; }
    .st-store-topbar .st-topnav { display: none; }
    .st-store-topbar .st-topbar-actions { margin-left: auto; }
    .st-store-topbar .st-theme-menu { display: block; }
    .st-store-topbar .st-account-trigger { min-height: 44px; }
    .st-store-topbar .st-account-trigger > span { display: none; }
    .st-store-topbar .st-account-trigger img { width: 38px; height: 38px; }
    .st-store-topbar .st-topbar-login,
    .st-store-topbar .st-topbar-register { min-height: 38px; border-radius: 6px; }

    .st-market-search {
        display: flex;
        width: min(100%, 540px);
        height: 38px;
        align-items: center;
        margin-right: auto;
        padding: 0 10px 0 14px;
        gap: 8px;
        border: 1px solid #dde1e6;
        border-radius: 7px;
        background: #fafafa;
    }
    .st-market-search:focus-within { border-color: #aeb5bd; background: #ffffff; }
    .st-market-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #15181d; font-size: 13px; }
    .st-market-search button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #252a31; }
    .st-market-search button:hover { background: #f0f1f3; }
    .st-market-search .material-icons-outlined { font-size: 19px; }

    .st-market-menu {
        position: sticky;
        top: 102px;
        z-index: 70;
        display: block;
        min-height: 42px;
        border-bottom: 1px solid #eceef1;
        background: #ffffff;
    }
    .st-market-menu__inner {
        display: flex;
        width: min(100%, var(--st-shell-width));
        min-height: 42px;
        align-items: stretch;
        margin: 0 auto;
        padding: 0 8px;
        gap: 4px;
    }
    .st-market-menu a,
    .st-market-menu summary {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        padding: 0 14px;
        gap: 5px;
        border: 0;
        background: transparent;
        color: #4e5661;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
        text-decoration: none;
    }
    .st-market-menu summary::-webkit-details-marker { display: none; }
    .st-market-menu a:hover,
    .st-market-menu a[aria-current="page"],
    .st-market-menu details[open] summary { color: #f45d19; }
    .st-market-menu .material-icons-outlined { font-size: 18px; }
    .st-market-menu details { position: relative; }
    .st-market-menu__dropdown {
        position: absolute;
        top: calc(100% - 1px);
        left: 0;
        display: grid;
        width: 220px;
        padding: 8px;
        gap: 2px;
        border: 1px solid #e7eaee;
        border-radius: 0 0 8px 8px;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(20, 25, 34, .10);
    }
    .st-market-menu__dropdown a { min-height: 36px; padding: 0 10px; border-radius: 5px; font-size: 13px; font-weight: 600; }
    .st-market-menu__dropdown a:hover { background: #fff1e8; }

    body.st-store-body .st-pjax > .st-page { width: min(100%, var(--st-shell-width)); padding: 20px 8px 44px; }
    .st-store-layout { grid-template-columns: 256px minmax(0, 1fr); gap: 20px; }
    .st-store-aside { display: none; }
    .st-category-rail {
        top: calc(var(--st-topbar) + 20px);
        max-height: calc(100vh - var(--st-topbar) - 40px);
        border-color: #e9ebee;
        border-radius: 8px;
        box-shadow: none;
    }
    .st-rail-header { padding: 16px 20px; border-bottom-color: #eceef1; }
    .st-rail-header .st-kicker { display: none; }
    .st-rail-header h1 { font-size: 17px; }
    .st-category-link { min-height: 40px; padding-right: 14px; padding-left: 20px; border-radius: 0; }
    .st-category-link:hover { background: #fff7f1; }
    .st-category-link.is-primary { background: #fff0e7; color: #f45d19; }
    .st-category-link.is-primary .st-category-count { color: #f45d19; }

    .st-catalog-header {
        min-height: 106px;
        padding: 18px 20px;
        margin-bottom: 16px;
        border-color: #e9ebee;
        border-radius: 8px;
        box-shadow: none;
    }
    .st-catalog-heading .st-kicker { display: none; }
    .st-catalog-header h1 { font-size: 18px; }
    .st-catalog-header p { margin-top: 5px; }
    .st-price-sort { min-height: 38px; border-color: #dfe3e8; border-radius: 6px; }
    .st-search { min-height: 38px; border-color: #dfe3e8; border-radius: 6px; }
    .st-search .item-search-trigger { width: 28px; height: 28px; border-radius: 5px; background: #ff6a21; color: #ffffff; }

    .st-product-feed, .st-product-list { border-color: #e9ebee; border-radius: 8px; }
    .st-product-row {
        min-height: 132px;
        grid-template-columns: 100px minmax(0, 1fr) auto 24px;
        padding: 16px 20px;
        gap: 16px;
        border-bottom-color: #edf0f2;
    }
    .st-product-row:hover { background: #fcfcfc; }
    .st-product-row .st-product-icon { width: 100px; height: 100px; border-radius: 8px; }
    .st-product-row .st-product-title { font-size: 15px; line-height: 1.55; }
    .st-product-row .st-product-price { color: #171b22; font-size: 19px; }
    .st-product-row .st-product-stock { color: #16a065; }
    .st-product-row .st-product-arrow { color: #68717c; }
}

@media (max-width: 1024px) {
    .st-market-utility, .st-market-menu, .st-market-search { display: none !important; }
}
