@media (min-width: 769px) {
    body:has(.recipe-app),
    body:has(.add-recipe-page),
    body:has(.recipe-view),
    body:has(.cart-page),
    body:has(.profile-app) {
        padding-top: 104px !important;
    }

    body:has(.recipe-app) .ios-header,
    body:has(.add-recipe-page) .ios-header,
    body:has(.recipe-view) .ios-header,
    body:has(.cart-page) .ios-header,
    body:has(.profile-app) .ios-header {
        top: 14px;
        left: 50%;
        width: min(1180px, calc(100% - 34px));
        height: 76px;
        overflow: visible;
        border: 1px solid rgba(255,255,255,.82) !important;
        border-radius: 24px;
        background: rgba(255,249,243,.88) !important;
        box-shadow: 0 16px 45px rgba(91,57,39,.12);
        transform: translateX(-50%);
    }

    body:has(.recipe-app) .header-content,
    body:has(.add-recipe-page) .header-content,
    body:has(.recipe-view) .header-content,
    body:has(.cart-page) .header-content,
    body:has(.profile-app) .header-content {
        width: 100%;
        max-width: none;
        height: 74px;
        padding: 0 18px 0 22px;
        gap: 16px;
    }

    body:has(.recipe-app) .brand,
    body:has(.add-recipe-page) .brand,
    body:has(.recipe-view) .brand,
    body:has(.cart-page) .brand,
    body:has(.profile-app) .brand {
        width: 220px;
        font-family: "Playfair Display", serif;
        font-size: 20px;
    }

    body:has(.recipe-app) .search-box,
    body:has(.add-recipe-page) .search-box,
    body:has(.recipe-view) .search-box,
    body:has(.cart-page) .search-box,
    body:has(.profile-app) .search-box {
        max-width: none !important;
        min-width: 230px;
    }

    body:has(.recipe-app) .search-box input,
    body:has(.add-recipe-page) .search-box input,
    body:has(.recipe-view) .search-box input,
    body:has(.cart-page) .search-box input,
    body:has(.profile-app) .search-box input {
        height: 44px;
        border-radius: 13px;
        background-color: rgba(255,255,255,.78);
    }

    body:has(.recipe-app) .nav-actions,
    body:has(.add-recipe-page) .nav-actions,
    body:has(.recipe-view) .nav-actions,
    body:has(.cart-page) .nav-actions,
    body:has(.profile-app) .nav-actions {
        gap: 9px;
    }

    .header-action {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid rgba(99,62,43,.07);
        border-radius: 13px;
        background: rgba(255,255,255,.68);
        color: #6f4b3a !important;
        box-shadow: 0 6px 17px rgba(91,57,39,.045);
        font-size: 12px;
        font-weight: 700;
        text-decoration: none !important;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .header-action:hover {
        background: #fff;
        box-shadow: 0 9px 22px rgba(91,57,39,.09);
        transform: translateY(-1px);
    }

    .header-action svg {
        width: 20px;
        height: 20px;
    }

    .header-action-primary {
        min-width: 108px;
        border-color: transparent;
        background: linear-gradient(135deg,#f78a76,#ed6755);
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(237,103,85,.23);
    }

    .header-action-primary:hover {
        background: linear-gradient(135deg,#fa927e,#ef6b59);
    }

    .header-action .badge {
        top: -7px;
        right: -5px;
        border-color: #fff9f3;
        background: #f37462;
    }

    .profile-menu {
        position: relative;
    }

    .profile-menu-trigger {
        display: grid;
        grid-template-columns: 36px auto 13px;
        align-items: center;
        gap: 8px;
        min-height: 52px;
        padding: 5px 9px 5px 6px;
        border: 1px solid rgba(99,62,43,.07);
        border-radius: 17px;
        background: rgba(255,255,255,.72);
        color: #654333;
        box-shadow: 0 7px 20px rgba(91,57,39,.07);
        cursor: pointer;
    }

    .profile-menu-trigger > img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
    }

    .profile-menu-trigger > span {
        font-size: 11px;
        font-weight: 700;
    }

    .profile-chevron {
        width: 13px;
        height: 13px;
        transition: transform .25s ease;
    }

    .profile-menu.is-open .profile-chevron {
        transform: rotate(180deg);
    }

    .profile-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 260px;
        padding: 10px;
        border: 1px solid rgba(255,255,255,.85);
        border-radius: 20px;
        background: rgba(255,250,246,.97);
        box-shadow: 0 22px 55px rgba(78,47,31,.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(.96);
        transform-origin: top right;
        transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .22s;
        backdrop-filter: blur(24px) saturate(160%);
    }

    .profile-menu.is-open .profile-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .profile-dropdown-head {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 8px 8px 13px;
        border-bottom: 1px solid rgba(99,62,43,.07);
    }

    .profile-dropdown-head img {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
    }

    .profile-dropdown-head strong {
        display: block;
        overflow: hidden;
        color: #533428;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-dropdown-head small {
        display: block;
        margin-top: 3px;
        color: #a18a7e;
        font-size: 10px;
    }

    .profile-dropdown-links {
        display: grid;
        gap: 2px;
        padding: 7px 0;
    }

    .profile-dropdown-links a,
    .profile-menu-exit {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 39px;
        padding: 0 10px;
        border-radius: 11px;
        color: #68493a !important;
        font-size: 12px;
        font-weight: 650;
        text-decoration: none !important;
        transition: background .15s ease, color .15s ease;
    }

    .profile-dropdown-links a:hover {
        background: rgba(243,116,98,.09);
        color: #df5d4c !important;
    }

    .profile-dropdown-links svg,
    .profile-menu-exit svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .profile-menu-exit {
        width: 100%;
        border-top: 1px solid rgba(99,62,43,.07);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 0 0 11px 11px;
        background: transparent;
        color: #cf5448 !important;
        cursor: pointer;
    }

    .profile-menu-exit:hover {
        background: rgba(207,84,72,.08);
    }
}
