.op-desktop-home-only, .op-desktop-card-detail, .op-theme-stars.star-rating, .op-review-history-theme-stars { display: none; }

@media (min-width: 1024px) {
    html:has(.op-desktop-storefront),
    .op-desktop-storefront,
    .op-desktop-storefront :is(#view, #page, #content, #primary, #main, .site-content, .site-main, .wp-site-blocks) {
        background-color: rgb(248 249 250);
    }
    .op-desktop-storefront {
        --op-home-ink: #142744;
        --op-home-blue: #193756;
        --op-home-accent: #087567;
        --op-home-mint: #e4f5ef;
        --op-home-line: #dce6eb;
        --op-home-width: 1280px;
        --op-home-offset: 16px;
    }
    .op-desktop-storefront.admin-bar { --op-home-offset: 48px; }
    body:has(.op-desktop-home-header) { --op-home-offset: 70px; }
    body.admin-bar:has(.op-desktop-home-header) { --op-home-offset: 102px; }
    body:has(.op-desktop-utility) { --op-home-offset: 108px; }
    body.admin-bar:has(.op-desktop-utility) { --op-home-offset: 140px; }
    .op-desktop-home-only:not([hidden]) { display: block; }
    .op-desktop-storefront :is(.op-desktop-nav, #opAppHeader, #opMobileNav) { display: none; }
    body:has(.op-desktop-home-header) :is(#masthead, .topbar, .wp-site-blocks > header, .tow-shop-search) { display: none; }
    body:has(.op-desktop-home-footer) :is(#colophon, .site-footer, .wp-site-blocks > footer) { display: none; }
    body:has(.op-home-discovery-ready .op-desktop-showcase) :is(#secondary, .widget-area) { display: none; }
    .op-desktop-storefront :is(#content, #primary, #main, .site-content, .wp-site-blocks, .entry-content, .op-home-discovery-ready):has(.op-home-discovery) {
        box-sizing: border-box; float: none; width: 100%; max-width: none; margin: 0; padding: 0;
    }
    .op-desktop-storefront .op-home-discovery-ready > :not(.op-home-discovery) { display: none; }
    .op-contact .op-cart-heading > a { display: none; }
    .op-contact .op-cart-heading h1 { grid-column: 2; }
    .op-theme-stars.star-rating, .op-review-history-theme-stars { display: inline-block; }
    .op-catalog-rating:has(.op-theme-stars) .op-catalog-stars,
    .op-review-stars:has(.op-theme-stars) .op-mobile-rating,
    .op-review-history-item:has(.op-review-history-theme-stars .star-rating) .op-your-review-stars { display: none; }

    .op-desktop-home-only :is(a, button):focus-visible, .op-home-discovery :is(a, button):focus-visible {
        outline: 2px solid #347fa8; outline-offset: 3px;
    }
    .op-desktop-wrap, .op-home-discovery {
        box-sizing: border-box; width: min(var(--op-home-width, 1280px), calc(100% - 48px)); margin-inline: auto;
    }
    .op-desktop-home-only svg {
        width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor;
        stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
    }
    .op-desktop-home-header {
        position: sticky; z-index: 100; inset-block-start: 0;
        color: var(--op-masthead-ink, #fff); background: var(--op-masthead-bg, var(--op-home-blue)); box-shadow: 0 1px 0 #14274424;
    }
    .admin-bar .op-desktop-home-header { inset-block-start: 32px; }
    .op-desktop-utility { color: #1b4949; background: #e5f4ef; }
    .op-desktop-utility .op-desktop-wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; }
    .op-desktop-utility :is(.op-value-props-ribbon, .op-prop-col) {
        display: flex; flex: 1; align-items: center; justify-content: flex-start; gap: 12px;
        margin: 0; padding: 0; border: 0; background: transparent; color: inherit;
    }
    .op-desktop-utility .op-prop-divider { width: 1px; height: 18px; background: #aecfc5; }
    .op-desktop-utility .op-prop-texts { display: flex; align-items: baseline; flex-flow: row wrap; gap: 0 6px; }
    .op-desktop-utility .op-prop-texts strong { color: inherit; font-size: .78rem; }
    .op-desktop-utility .op-prop-texts span { color: inherit; font-size: .73rem; }
    .op-desktop-utility .op-desktop-tracking-link {
        box-sizing: border-box; display: inline-flex; align-items: center; min-height: 38px;
        gap: 7px; margin-inline-start: auto; color: inherit; font-size: .79rem; font-weight: 650; text-decoration: none;
    }
    .op-desktop-utility :is(.op-prop-col, .op-desktop-tracking-link):hover[href] { color: inherit; text-decoration: underline; }
    .op-desktop-masthead {
        display: grid; grid-template-columns: auto auto minmax(210px, 1fr) auto; align-items: center;
        position: relative; gap: clamp(9px, 1.2vw, 23px); min-height: 64px;
    }
    .op-desktop-brand {
        display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis;
        color: inherit; font-size: clamp(1rem, 1.4vw, 1.4rem); font-weight: 800; white-space: nowrap; text-decoration: none;
    }
    .op-desktop-brand img { display: block; width: auto; height: auto; max-width: 140px; max-height: 43px; object-fit: contain; }
    .op-desktop-shop-links, .op-desktop-customer-links { display: flex; align-items: center; gap: clamp(3px, .75vw, 14px); }
    .op-desktop-shop-links, .op-desktop-categories { align-self: stretch; }
    .op-desktop-categories { display: flex; }
    :is(.op-desktop-shop-links, .op-desktop-categories, .op-desktop-customer-links) > a {
        display: inline-flex; align-items: center; gap: 5px; min-height: 42px; padding-inline: 4px;
        color: inherit; font-weight: 650; font-size: .78rem; text-decoration: none; white-space: nowrap;
    }
    :is(.op-desktop-shop-links, .op-desktop-categories, .op-desktop-customer-links) > a > span:not(.op-desktop-cart-count) {
        max-inline-size: clamp(92px, 8.5vw, 145px); overflow: hidden; text-overflow: ellipsis;
    }
    :is(.op-desktop-shop-links, .op-desktop-categories, .op-desktop-customer-links) > a:hover,
    .op-desktop-shop-links a[aria-expanded=true], .op-desktop-brand:hover { color: inherit; text-decoration: underline; }
    .op-desktop-categories > a svg { width: 13px; height: 13px; }
    .op-desktop-search.op-search-form {
        min-width: 0; min-height: 42px; width: 100%; margin: 0; padding: 2px;
        background: #fff; border: 0; border-radius: 10px;
    }
    .op-desktop-search .op-search-input {
        min-width: 0; padding-inline-start: 16px !important; cursor: text;
    }
    .op-desktop-search :is(.op-camera-btn, .op-search-submit) { flex: 0 0 38px; min-height: 38px; padding: 0; }
    .op-desktop-search .op-camera-btn { color: var(--op-home-blue); }
    .op-desktop-search .op-search-submit { color: #fff; background: var(--op-home-accent); border-radius: 8px; }
    .op-desktop-search .op-search-submit:hover { background: #095d52; }
    .op-desktop-cart-count {
        display: grid; place-items: center; min-width: 20px; min-height: 20px; padding-inline: 3px;
        border-radius: 6px; background: #c9f1e2; color: #164241; font-size: .69rem; font-variant-numeric: tabular-nums;
    }

    #opDesktopCategories {
        position: absolute; inset-block-start: 100%; inset-inline-start: 96px; margin: 0;
        display: flex; flex-direction: column; box-sizing: border-box;
        width: min(840px, calc(100% - 96px)); max-height: min(660px, var(--op-menu-space, 70dvh)); overflow: hidden;
        border: 1px solid var(--op-home-line); border-radius: 0 0 14px 14px;
        background: #fff; color: var(--op-home-ink); box-shadow: 0 18px 50px #11294138;
    }
    #opDesktopCategories[hidden] { display: none; }
    .op-desktop-menu-top {
        display: flex; align-items: center; justify-content: space-between;
        min-height: 52px; padding: 0 14px 0 20px; border-bottom: 1px solid var(--op-home-line);
    }
    .op-desktop-menu-top h2 { margin: 0; color: inherit; font-size: 1.02rem; }
    .op-desktop-menu-top button {
        display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
        border: 0; border-radius: 8px; background: #edf4f7; color: var(--op-home-ink);
    }
    .op-desktop-menu-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 0; }
    .op-desktop-menu-roots, .op-desktop-category-children {
        min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    }
    .op-desktop-menu-roots { padding: 9px 8px; border-inline-end: 1px solid var(--op-home-line); background: #f4f8fa; }
    .op-desktop-menu-roots button {
        display: flex; align-items: center; justify-content: space-between; gap: 8px;
        width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 7px;
        color: var(--op-home-ink); background: transparent; text-align: start; font-size: .83rem;
    }
    .op-desktop-menu-roots button:is(:hover, [aria-expanded=true]) {
        color: #065d53; background: var(--op-home-mint); font-weight: 650;
    }
    .op-desktop-menu-roots svg, .op-desktop-category-children h3 svg { width: 15px; height: 15px; }
    .op-desktop-category-children { min-width: 0; min-height: min(320px, 50vh); padding: 16px 19px 24px; }
    .op-desktop-category-children[hidden] { display: none; }
    .op-desktop-category-children h3 { margin: 0 0 18px; font-size: .95rem; }
    .op-desktop-category-children h3 a { display: inline-flex; align-items: center; color: var(--op-home-accent); }
    .op-desktop-category-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 19px 12px; }
    .op-desktop-category-tiles a {
        display: flex; flex-direction: column; align-items: center; gap: 7px;
        color: var(--op-home-ink); font-size: .78rem; text-align: center; overflow-wrap: anywhere;
    }
    .op-desktop-category-tiles img { width: min(100%, 88px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #f4f8fa; }

    .op-home-discovery { padding: 24px 0 56px; }
    .op-home-discovery :is(.op-home-pair-title, .op-featured-pair) { display: none; }
    .op-home-discovery .op-trust-guarantee-bar {
        box-sizing: border-box; margin: 0 0 24px; padding: 10px 14px; min-height: 42px;
        border: 1px solid #badad0; border-radius: 9px; color: #18594e; background: #effaf6;
    }
    .op-home-discovery .op-trust-guarantee-bar .op-trust-right { color: inherit !important; }
    .op-desktop-showcase { margin-block-end: 32px; }
    .op-desktop-showcase > header {
        display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px;
    }
    .op-desktop-showcase > header h2 { margin: 0; color: var(--op-home-ink); font-size: 1.16rem; font-weight: 750; }
    .op-desktop-showcase > header a {
        display: inline-flex; align-items: center; gap: 2px; color: #315773; font-weight: 650;
        font-size: .79rem; text-decoration: none;
    }
    .op-desktop-showcase > header a:hover { text-decoration: underline; }
    .op-desktop-showcase > header svg { width: 15px; height: 15px; }
    .op-desktop-shelf-grid {
        display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: start;
    }
    .op-desktop-discover-heading {
        display: flex; align-items: center; justify-content: center; gap: 16px;
        margin-bottom: 16px; scroll-margin-top: var(--op-home-offset);
    }
    .op-desktop-discover-heading::before, .op-desktop-discover-heading::after {
        content: ''; width: clamp(22px, 6vw, 92px); height: 1px; background: #b4d5d0;
    }
    .op-desktop-discover-heading h2 { margin: 0; color: var(--op-home-ink); font-size: 1.35rem; font-weight: 760; }
    .op-desktop-category-rail {
        display: flex; align-items: center; gap: 7px; margin-bottom: 9px;
    }
    [data-op-desktop-categories] {
        display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto;
        padding: 4px; scrollbar-width: none;
    }
    [data-op-desktop-categories] a, .op-home-discovery .op-feed-tabs button {
        box-sizing: border-box; display: inline-flex; align-items: center; flex: none; min-height: 36px;
        padding: 6px 12px; border: 1px solid var(--op-home-line); border-radius: 8px;
        color: #27455d; background: #fff; font-size: .81rem; white-space: nowrap; text-decoration: none;
    }
    [data-op-desktop-categories] a:is(.active, :hover), .op-home-discovery .op-feed-tabs button:is([aria-pressed=true], :hover) {
        border-color: #bad9d1; background: var(--op-home-mint); color: #174f49;
    }
    .op-desktop-category-rail button {
        flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px;
        padding: 0; border: 1px solid var(--op-home-line); border-radius: 8px; color: var(--op-home-ink); background: #fff;
    }
    .op-desktop-category-rail button:disabled { opacity: .4; }
    .op-desktop-category-rail[data-op-overflow=false] button { visibility: hidden; }
    .op-home-discovery .op-feed-tabs { justify-content: center; padding: 4px; margin-bottom: 17px; }
    .op-home-discovery .op-filtered-feed {
        grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 21px 15px; align-items: start;
    }
    .op-home-discovery .op-filtered-feed::before { display: none; }
    .op-home-discovery .op-catalog-card {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px 5px;
        border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none;
    }
    .op-home-discovery .op-catalog-photo { display: contents; }
    .op-home-discovery .op-catalog-photo > .op-discovery-link {
        grid-column: 1 / -1; position: relative; inset: auto; aspect-ratio: 1;
        overflow: hidden; border-radius: 9px; background: #f0f5f8;
    }
    .op-home-discovery .op-catalog-photo img { border-radius: 0; transition: transform .18s ease; }
    .op-home-discovery .op-catalog-photo a:hover img { transform: scale(1.035); }
    .op-home-discovery .op-catalog-title {
        grid-column: 1 / -1; margin: 2px 0 0; color: var(--op-home-ink); font-size: .82rem;
        font-weight: 500; text-decoration: none;
    }
    .op-home-discovery .op-catalog-title:hover { text-decoration: underline; }
    .op-home-discovery .op-catalog-card .op-discovery-price {
        grid-area: 3 / 1; align-self: center; padding: 0; color: var(--op-home-ink); font-size: .87rem;
    }
    .op-home-discovery .op-card-price-current bdi { white-space: nowrap; }
    .op-home-discovery .op-card-price-current del { opacity: .75; font-size: .74rem; font-weight: 500; }
    .op-home-discovery .op-card-price-current ins { color: #a94313; text-decoration: none; }
    .op-home-discovery .op-catalog-photo .op-quick-cart-btn {
        grid-area: 3 / 2; position: static; width: 41px; height: 30px; min-width: 41px; min-height: 30px;
        box-sizing: border-box; border: 1px solid #c4d7e1; border-radius: 8px; color: var(--op-home-blue); box-shadow: none;
    }
    .op-home-discovery .op-catalog-photo .op-quick-cart-btn:hover { color: #fff; background: var(--op-home-blue); }
    .op-home-discovery .op-catalog-rating { display: flex; }
    .op-home-discovery .op-catalog-sales { display: block; color: #435569; font-size: .74rem; }
    .op-home-discovery :is(.op-catalog-rating, .op-catalog-sales, .op-card-saving, .op-card-badges) { grid-column: 1 / -1; margin: 0; }
    .op-home-discovery .op-desktop-shelf-grid :is(.op-catalog-rating, .op-catalog-sales, .op-card-badges) { grid-column: 1; }
    .op-home-discovery .op-desktop-shelf-grid .op-quick-cart-btn { justify-self: center; }
    .op-desktop-shelf-grid .op-card-timer-plain {
        grid-area: 4 / 2; justify-self: center; color: var(--op-home-ink);
        font-size: .73rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap;
    }
    .op-desktop-feed-more:not([hidden]), .op-home-discovery .op-feed-retry:not([hidden]) {
        display: flex; align-items: center; gap: 8px; min-height: 44px;
        margin: 28px auto 0; padding: 0 18px; border: 0; border-radius: 9px;
        color: #fff; background: var(--op-home-accent); font-size: .87rem; font-weight: 650;
    }
    .op-desktop-feed-more svg {
        width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
    }
    .op-desktop-feed-more:disabled { opacity: .6; }
    .op-home-discovery .op-feed-status { margin-block: 14px; text-align: center; }

    .op-desktop-home-footer { color: #e1ebf4; background: #142744; }
    .op-desktop-home-footer .op-desktop-wrap {
        display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0,1fr)); gap: 24px;
        padding-block: 33px 39px;
    }
    .op-desktop-home-footer a { color: inherit; text-decoration: none; }
    .op-desktop-home-footer a:hover { color: #b2ffed; text-decoration: underline; }
    .op-desktop-footer-brand { font-size: 1.2rem; font-weight: 750; }
    .op-desktop-home-footer nav h2 { margin: 0 0 9px; color: #fff; font-size: .9rem; }
    .op-desktop-home-footer nav a { display: block; width: fit-content; padding-block: 4px; font-size: .82rem; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .op-desktop-customer-links a > span:not(.op-desktop-cart-count) { display: none; }
    .op-desktop-home-header .op-desktop-shop-links { gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    .op-home-discovery .op-catalog-photo img { transition: none; }
}
