/* TehranLight unified desktop catalog 1.0.36.14
   One public /products route; mobile catalogue behavior is intentionally untouched. */

@media (min-width: 841px) {
    body.storefront-body.products-route:not(.product-detail-route) {
        --catalog-desktop-max-width: 1320px;
        --catalog-desktop-sidebar-width: 280px;
        --catalog-desktop-columns: 4;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-shell {
        width: min(var(--catalog-desktop-max-width), calc(100% - 32px));
        max-width: none;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-page {
        padding: 18px 0 42px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-main {
        min-width: 0;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-main.has-desktop-filters {
        display: grid;
        grid-template-columns: minmax(220px, var(--catalog-desktop-sidebar-width)) minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top {
        grid-column: 1 / -1;
        min-height: 48px;
        margin: 0 0 14px;
        padding: 0 4px;
        align-items: center;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top.is-desktop-hidden {
        display: none !important;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top > div:first-child {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top .section-eyebrow {
        display: none;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top h1 {
        margin: 0;
        font-size: var(--tl-type-900);
        line-height: 1.35;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-top .catalog-count {
        font-size: var(--tl-type-100);
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-discovery-form {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 14px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(8, 24, 45, .07);
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-shell.has-sticky-desktop-filters .catalog-discovery-form {
        position: sticky;
        top: 78px;
        max-height: calc(100vh - 92px);
        overflow: auto;
        scrollbar-width: thin;
    }

    body.storefront-body.products-route:not(.product-detail-route):not(.products-desktop-compact-header) .catalog-shell.has-sticky-desktop-filters .catalog-discovery-form {
        top: 132px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-search-field {
        display: none !important;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-mobile-panel {
        display: block;
        min-width: 0;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-filter-field {
        gap: 5px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-filter-field input,
    body.storefront-body.products-route:not(.product-detail-route) .catalog-filter-field select {
        min-height: 42px;
        border-radius: 10px;
        padding: 8px 10px;
        font-size: var(--tl-type-100);
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-advanced-panel {
        display: grid;
        gap: 9px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-quick-filters {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-quick-check:only-child {
        grid-column: auto;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-specialized-filter-head {
        display: grid;
        gap: 2px;
    }

    body.storefront-body.products-route:not(.product-detail-route) details.catalog-attribute-filter .catalog-attribute-values {
        grid-template-columns: 1fr;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-filter-actions :is(.catalog-apply-filters, .catalog-clear-filters) {
        width: 100%;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: var(--tl-type-100);
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-results {
        grid-column: 2;
        min-width: 0;
        display: grid;
        gap: 16px;
        align-content: start;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-main.without-desktop-filters .catalog-results {
        grid-column: auto;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-results .product-grid {
        grid-template-columns: repeat(var(--catalog-desktop-columns), minmax(0, 1fr));
        gap: 14px;
    }

    body.storefront-body.products-route:not(.product-detail-route) .catalog-results .empty-state {
        min-height: 220px;
        display: grid;
        place-items: center;
        margin: 0;
        padding: 30px;
        border-radius: 16px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .announcement-bar,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .main-nav-wrap {
        display: none !important;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .site-header,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-glass {
        min-height: 64px !important;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-glass {
        border-bottom: 1px solid var(--tl-color-line);
        background: var(--tl-primary-header-bg);
        box-shadow: 0 8px 24px rgba(7, 22, 42, .06);
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-row {
        width: min(var(--catalog-desktop-max-width), calc(100% - 32px));
        min-height: 64px !important;
        height: 64px !important;
        grid-template-columns: minmax(110px, 190px) minmax(260px, 1fr) auto;
        gap: 10px;
        padding-block: 6px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .site-logo .logo-copy {
        display: none;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .site-logo .logo-mark.has-image {
        width: min(180px, 100%);
        max-width: 100%;
        height: 46px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .site-logo .logo-mark.has-image img {
        width: 100% !important;
        max-width: 180px;
        height: 46px !important;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-search {
        min-height: 42px;
        height: 42px;
        border-radius: 12px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-search input {
        height: 40px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-search button {
        min-height: 34px;
        padding-inline: 15px;
        border-radius: 9px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-actions {
        gap: 5px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-action,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .cart-link,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .theme-toggle {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 11px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .header-action > span:not(.action-icon),
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .cart-label,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .theme-toggle > span:not(.theme-toggle__icon) {
        display: none !important;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .action-icon,
    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .theme-toggle__icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    body.storefront-body.products-route:not(.product-detail-route).products-desktop-compact-header .cart-count {
        position: absolute;
        top: -5px;
        left: -4px;
        min-width: 18px;
        height: 18px;
        border-width: 1px;
        font-size: var(--tl-type-100);
    }
}
