/* Tablet header fit: keep the cart visible on desktop-style tablet widths. */
@media (min-width: 768px) and (max-width: 1100px) {
    .header-clean,
    .header-clean.header-clean--mockup {
        width: min(100%, calc(100vw - 18px)) !important;
        max-width: none !important;
        overflow: visible !important;
    }

    .header-clean__topbar {
        display: grid !important;
        grid-template-columns: auto auto minmax(140px, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        padding-inline: 12px !important;
        overflow: visible !important;
    }

    .header-clean .logo--header,
    .header-clean .logo {
        width: 96px !important;
        min-width: 96px !important;
        max-width: 96px !important;
    }

    .header-clean .header-catalog-button {
        min-width: 104px !important;
        padding-inline: 12px !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }

    .header-clean .header-search {
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    .header-clean .header-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        gap: 6px !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }

    .header-clean .selected-models-pill {
        display: none !important;
    }

    .header-clean .header-social-link {
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
        flex: 0 0 42px !important;
    }

    .header-clean .header-social-link span,
    .header-clean .theme-toggle__text {
        display: none !important;
    }

    .header-clean .theme-toggle--desktop,
    .header-clean .icon-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
    }

    .header-clean .icon-button--cart {
        display: inline-grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-right: 0 !important;
        position: relative !important;
        z-index: 4 !important;
    }

    .header-clean .icon-button--menu {
        display: none !important;
    }

    .header-category-nav {
        padding-inline: 12px !important;
        gap: 10px !important;
        overflow: hidden !important;
    }

    .header-category-nav a {
        min-width: 0 !important;
        padding-inline: 6px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}
