/* TehranLight desktop shell fixes 1.0.36.15 */

.customer-account-home-link {
    display: none;
}

@media (min-width: 701px) {
    .customer-account-official-header__side--right {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .customer-account-home-link {
        min-width: 108px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 7px 12px;
        border: 1px solid var(--tl-color-line, rgba(23,63,105,.16));
        border-radius: 12px;
        color: var(--tl-color-text, #173f69);
        background: var(--tl-color-surface, #fff);
        box-shadow: 0 6px 18px rgba(9,31,58,.06);
        font-size: var(--tl-type-100);
        font-weight: 850;
        line-height: 1;
        text-decoration: none;
    }

    .customer-account-home-link:hover {
        border-color: color-mix(in srgb, var(--tl-color-primary, #173f69) 35%, transparent);
        background: var(--tl-color-primary-soft, #edf4fb);
    }

    .customer-account-home-link svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media (min-width: 841px) {
    body.storefront-body.cart-route .site-header {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 4100;
        min-height: 64px !important;
    }

    body.storefront-body.cart-route .announcement-bar,
    body.storefront-body.cart-route .main-nav-wrap {
        display: none !important;
    }

    body.storefront-body.cart-route .header-glass {
        min-height: 64px !important;
        border-bottom: 1px solid var(--tl-color-line, rgba(23,63,105,.14));
        background: var(--tl-primary-header-bg);
        box-shadow: 0 8px 24px rgba(7,22,42,.06);
    }

    body.storefront-body.cart-route .header-row {
        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.cart-route .site-logo .logo-copy {
        display: none;
    }

    body.storefront-body.cart-route .site-logo .logo-mark.has-image {
        width: min(180px,100%);
        max-width: 100%;
        height: 46px;
    }

    body.storefront-body.cart-route .site-logo .logo-mark.has-image img {
        width: 100% !important;
        max-width: 180px;
        height: 46px !important;
    }

    body.storefront-body.cart-route .header-search {
        min-height: 42px;
        height: 42px;
        border-radius: 12px;
    }

    body.storefront-body.cart-route .header-search input {
        height: 40px;
    }

    body.storefront-body.cart-route .header-search button {
        min-height: 34px;
        padding-inline: 15px;
        border-radius: 9px;
    }

    body.storefront-body.cart-route .header-actions {
        gap: 5px;
    }

    body.storefront-body.cart-route .header-action,
    body.storefront-body.cart-route .cart-link,
    body.storefront-body.cart-route .theme-toggle {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 11px;
    }

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

    body.storefront-body.cart-route .action-icon,
    body.storefront-body.cart-route .theme-toggle__icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

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