/* Shahin cockpit header + windowed hero. Keep this file scoped to first viewport only. */
.desktop-cockpit-header {
    display: none;
}

body.storefront-main.page-home {
    --cockpit-shell-gutter: clamp(32px, 4.4vw, 72px);
    --cockpit-shell-max: 1640px;
    --cockpit-shell-width: min(calc(100vw - (var(--cockpit-shell-gutter) * 2)), var(--cockpit-shell-max));
    position: relative;
    background:
        linear-gradient(180deg, rgba(0, 14, 32, 0.1) 0%, rgba(0, 22, 48, 0.34) 42%, rgba(0, 24, 52, 0.82) 100%),
        radial-gradient(circle at 50% 22%, rgba(13, 124, 242, 0.14), transparent 360px),
        url("../images/shahin-page-bg.webp") center top / cover fixed,
        linear-gradient(180deg, #001428 0%, #002a54 100%) !important;
    background-color: #001428 !important;
}

body.storefront-main.page-home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(148, 190, 255, 0.055) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(0deg, rgba(148, 190, 255, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(180deg, rgba(0, 10, 24, 0.16), rgba(0, 16, 36, 0.42));
}

body.storefront-main.page-home .hero-section {
    display: none !important;
}

@media (min-width: 1025px) {
    body.storefront-main.page-home header.site-header {
        position: relative !important;
        top: auto !important;
        padding: 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.storefront-main.page-home header.site-header > .container {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.storefront-main.page-home .header-shell,
    body.storefront-main.page-home .home-header-launcher {
        display: none !important;
    }

    body.storefront-main.page-home .desktop-cockpit-header {
        display: grid !important;
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
        width: var(--cockpit-shell-width) !important;
        max-width: var(--cockpit-shell-max) !important;
        margin: 24px auto 0 !important;
    }

    .cockpit-brand-module,
    .cockpit-control-module {
        border: 1px solid rgba(255, 255, 255, 0.68);
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 12px 50px rgba(0, 20, 48, 0.14);
        backdrop-filter: blur(24px) saturate(1.2);
    }

    .cockpit-brand-module {
        position: relative;
        min-height: 78px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 7px 10px;
        border-radius: 14px 6px 6px 14px;
        overflow: hidden;
    }

    .cockpit-brand-module::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 0 42%, rgba(255, 210, 64, 0.22) 42% 44%, transparent 44%);
        pointer-events: none;
    }

    .cockpit-brand {
        position: relative;
        min-height: 44px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        color: #002a54;
        text-decoration: none;
    }

    .cockpit-mark {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        background: linear-gradient(145deg, #002a54, #005cb9);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 28px rgba(0, 20, 48, 0.22);
        overflow: hidden;
    }

    .cockpit-mark img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        filter: brightness(1.16) contrast(1.08);
    }

    .cockpit-brand-copy strong {
        display: block;
        color: #002a54;
        font-size: 17px;
        font-weight: 950;
        line-height: 1.2;
    }

    .cockpit-brand-copy small {
        display: block;
        margin-top: 2px;
        color: #53657a;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.35;
    }

    .cockpit-status-grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 4px;
    }

    .cockpit-status-pill {
        min-height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3px 7px;
        border: 1px solid rgba(0, 42, 84, 0.1);
        border-radius: 8px;
        color: #002a54;
        background: rgba(255, 255, 255, 0.7);
        font-size: 10px;
        font-weight: 950;
        text-decoration: none;
        text-align: center;
    }

    .cockpit-status-pill span {
        display: block;
        margin-top: 0;
        color: #53657a;
        font-size: 9px;
        font-weight: 800;
    }

    .cockpit-control-module {
        border-radius: 6px 14px 14px 6px;
        overflow: hidden;
    }

    .cockpit-command-row {
        display: grid;
        grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(86px, auto));
        gap: 8px;
        align-items: center;
        min-height: 54px;
        padding: 5px 10px;
        border-bottom: 1px solid rgba(0, 42, 84, 0.12);
    }

    .cockpit-command-row:has(.cockpit-action:nth-of-type(3)) {
        grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(82px, auto));
    }

    .cockpit-command {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 38px;
        padding: 0 14px;
        border: 1px solid rgba(0, 42, 84, 0.14);
        border-radius: 10px;
        background: #fff;
        color: #53657a;
    }

    .cockpit-command input {
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 44px;
        border: 0;
        outline: 0;
        color: #002a54;
        background: transparent;
        font-size: 14px;
        font-weight: 850;
    }

    .cockpit-command kbd {
        min-width: 46px;
        padding: 4px 7px;
        border: 1px solid rgba(0, 42, 84, 0.12);
        border-radius: 6px;
        color: #30445c;
        background: #eef3f8;
        font-size: 11px;
        font-weight: 950;
        text-align: center;
    }

    .cockpit-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .cockpit-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        height: 44px;
        min-width: 86px;
        padding: 0 14px;
        border: 1px solid rgba(0, 42, 84, 0.12);
        border-radius: 10px;
        color: #002a54;
        background: #fff;
        font-size: 13px;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

    .cockpit-action-primary {
        border-color: #004a95;
        color: #fff;
        background: linear-gradient(135deg, #005cb9, #003864);
        box-shadow: 0 14px 30px rgba(0, 92, 185, 0.28);
    }

    .cockpit-nav-rail {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        padding: 4px 10px;
    }

    .cockpit-rail-item {
        position: relative;
        min-height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2px 12px;
        border-left: 1px solid rgba(0, 42, 84, 0.08);
        color: #002a54;
        text-decoration: none;
        overflow: hidden;
        text-align: center;
    }

    .cockpit-rail-item:last-child {
        border-left: 0;
    }

    .cockpit-rail-item::before {
        content: "";
        position: absolute;
        right: 12px;
        bottom: 0;
        left: 12px;
        height: 3px;
        border-radius: 999px;
        background: #ffd240;
        transform: scaleX(0);
        transform-origin: right;
    }

    .cockpit-rail-item:hover,
    .cockpit-rail-item.is-active {
        background: rgba(0, 42, 84, 0.052);
    }

    .cockpit-rail-item:hover::before,
    .cockpit-rail-item.is-active::before {
        transform: scaleX(1);
    }

    .cockpit-rail-item strong {
        display: block;
        font-size: 12px;
        font-weight: 950;
        line-height: 1.2;
    }

    .cockpit-rail-item span {
        display: none;
        margin-top: 0;
        color: #53657a;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.6;
    }

    body.storefront-main.page-home .cockpit-home-hero {
        margin-top: 0 !important;
        padding: 0 0 clamp(48px, 5vw, 72px);
        background: transparent;
    }

    body.storefront-main.page-home .cockpit-home-hero > .container {
        width: var(--cockpit-shell-width) !important;
        max-width: var(--cockpit-shell-max) !important;
        margin: 0 auto !important;
        padding: clamp(112px, 6.6vw, 126px) 0 0 !important;
    }

    body.storefront-main.page-home main > section:not(.cockpit-home-hero):not(.hero-section) > .container,
    body.storefront-main.page-home .site-footer > .container {
        width: var(--cockpit-shell-width) !important;
        max-width: var(--cockpit-shell-max) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.storefront-main.page-home .cockpit-hero-grid {
        direction: ltr;
        display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
        margin-top: 0;
        margin-bottom: 0;
        min-height: clamp(330px, 36vh, 410px);
    }

    body.storefront-main.page-home .cockpit-hero-main {
        direction: rtl;
        grid-column: 2;
        grid-row: 1;
        position: relative;
        overflow: hidden;
        min-height: 100%;
        border: 1px solid rgba(148, 190, 255, 0.24);
        border-radius: 14px;
        color: #fff;
        background: #001a34;
        box-shadow: 0 24px 80px rgba(0, 20, 48, 0.24);
    }

    body.storefront-main.page-home .cockpit-hero-main::before {
        content: "";
        position: absolute;
        inset: 22px;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.14);
        clip-path: polygon(0 0, 100% 0, 100% 72%, 92% 100%, 0 100%);
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-hero-slider {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }

    body.storefront-main.page-home .cockpit-hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: scale(1.035);
        transition: opacity 0.72s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-hero-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

    body.storefront-main.page-home .cockpit-hero-slide img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        filter: contrast(1.06) saturate(1.04) brightness(0.88);
    }

    body.storefront-main.page-home .cockpit-hero-main::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(0, 24, 52, 0.2), rgba(0, 42, 84, 0.06)),
            radial-gradient(circle at 88% 15%, rgba(255, 142, 49, 0.14), transparent 34%);
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-slider-btn {
        position: absolute;
        top: 50%;
        z-index: 5;
        width: 48px;
        height: 48px;
        display: inline-grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.34);
        border-radius: 50%;
        color: #fff;
        background: rgba(0, 42, 84, 0.58);
        box-shadow: 0 16px 34px rgba(0, 20, 48, 0.28);
        backdrop-filter: blur(16px) saturate(1.18);
        transform: translateY(-50%);
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    body.storefront-main.page-home .cockpit-slider-btn:hover {
        background: rgba(0, 92, 185, 0.78);
        border-color: rgba(255, 255, 255, 0.58);
    }

    body.storefront-main.page-home .cockpit-slider-btn:active {
        transform: translateY(-50%) scale(0.96);
    }

    body.storefront-main.page-home .cockpit-slider-btn-prev {
        left: 24px;
    }

    body.storefront-main.page-home .cockpit-slider-btn-next {
        right: 24px;
    }

    body.storefront-main.page-home .cockpit-hero-side {
        direction: rtl;
        grid-column: 1;
        grid-row: 1;
        display: grid;
        grid-template-rows: 1fr 0.95fr 0.9fr;
        gap: 12px;
    }

    body.storefront-main.page-home .cockpit-side-card {
        position: relative;
        min-height: 0;
        padding: 16px;
        overflow: hidden;
        border: 1px solid rgba(148, 190, 255, 0.24);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 24px 80px rgba(0, 20, 48, 0.18);
        backdrop-filter: blur(18px) saturate(1.12);
    }

    body.storefront-main.page-home .cockpit-side-card-dark {
        background:
            radial-gradient(circle at 20% 0%, rgba(255, 210, 64, 0.18), transparent 34%),
            linear-gradient(145deg, #111820, #1f2a35);
    }

    body.storefront-main.page-home .cockpit-side-card > span,
    body.storefront-main.page-home .cockpit-slide-info span {
        color: rgba(0, 42, 84, 0.72);
        font-size: 11px;
        font-weight: 950;
    }

    body.storefront-main.page-home .cockpit-side-card-dark > span,
    body.storefront-main.page-home .cockpit-side-card-dark .cockpit-slide-info span {
        color: rgba(255, 255, 255, 0.84);
    }

    body.storefront-main.page-home .cockpit-slide-info-card {
        display: grid;
    }

    body.storefront-main.page-home .cockpit-slide-info {
        grid-area: 1 / 1;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.46s ease, transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-slide-info.is-active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    body.storefront-main.page-home .cockpit-slide-info h1,
    body.storefront-main.page-home .cockpit-slide-info h2,
    body.storefront-main.page-home .cockpit-login-card h2 {
        margin: 12px 0 10px;
        color: inherit;
        font-size: clamp(22px, 2.1vw, 30px);
        font-weight: 950;
        line-height: 1.18;
        letter-spacing: 0;
    }

    body.storefront-main.page-home .cockpit-slide-info p,
    body.storefront-main.page-home .cockpit-login-card p {
        margin: 0;
        color: rgba(255, 255, 255, 0.76);
        font-size: 12px;
        font-weight: 800;
        line-height: 1.8;
    }

    body.storefront-main.page-home .cockpit-slide-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: auto;
        padding-top: 18px;
    }

    body.storefront-main.page-home .cockpit-slide-actions a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 9px;
        color: #fff;
        background: linear-gradient(135deg, #0d7cf2, #005cb9);
        font-size: 12px;
        font-weight: 950;
        text-decoration: none;
    }

    body.storefront-main.page-home .cockpit-slide-actions .cockpit-slide-link-secondary {
        background: rgba(255, 255, 255, 0.08);
    }

    body.storefront-main.page-home .cockpit-login-card h2 {
        color: #002a54;
        font-size: 22px;
    }

    body.storefront-main.page-home .cockpit-login-card p {
        color: #52667c;
    }

    body.storefront-main.page-home .cockpit-login-form {
        margin-top: 14px;
    }

    body.storefront-main.page-home .cockpit-login-form label {
        display: block;
        margin-bottom: 8px;
        color: #002a54;
        font-size: 11px;
        font-weight: 950;
    }

    body.storefront-main.page-home .cockpit-login-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
    }

    body.storefront-main.page-home .cockpit-login-row input {
        min-width: 0;
        height: 42px;
        border: 1px solid rgba(0, 42, 84, 0.16);
        border-radius: 10px;
        padding: 0 12px;
        color: #002a54;
        background: rgba(255, 255, 255, 0.84);
        font-size: 12px;
        font-weight: 850;
        direction: ltr;
        text-align: left;
    }

    body.storefront-main.page-home .cockpit-login-row button {
        height: 42px;
        border: 0;
        border-radius: 10px;
        padding: 0 13px;
        color: #fff;
        background: linear-gradient(135deg, #0d7cf2, #005cb9);
        font-size: 12px;
        font-weight: 950;
        cursor: pointer;
        white-space: nowrap;
    }

    body.storefront-main.page-home .cockpit-login-card small {
        display: block;
        min-height: 20px;
        margin-top: 10px;
        color: #005cb9;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.6;
    }

    body.storefront-main.page-home .cockpit-login-card.is-error small {
        color: #e66f22;
    }

    body.storefront-main.page-home .cockpit-side-card-empty {
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(233, 243, 255, 0.76));
    }
}

@media (max-width: 1024px) {
    body.storefront-main.page-home {
        --cockpit-shell-gutter: 12px;
    }

    body.storefront-main.page-home header.site-header {
        position: relative !important;
        padding: 10px 0 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.storefront-main.page-home .header-shell,
    body.storefront-main.page-home .home-header-launcher {
        display: none !important;
    }

    body.storefront-main .desktop-cockpit-header {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 0 12px 0 !important;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.68);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 12px 34px rgba(0, 20, 48, 0.14);
        backdrop-filter: blur(20px) saturate(1.18);
    }

    .cockpit-brand-module,
    .cockpit-control-module {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cockpit-brand-module {
        min-height: 0;
        padding: 0;
    }

    .cockpit-brand-module::before,
    .cockpit-status-grid,
    .cockpit-command {
        display: none;
    }

    .cockpit-brand {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 9px;
        align-items: center;
    }

    .cockpit-mark {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        background: linear-gradient(145deg, #002a54, #005cb9);
        overflow: hidden;
    }

    .cockpit-mark img {
        width: 34px;
        height: 34px;
    }

    .cockpit-brand-copy strong {
        color: #002a54;
        font-size: 14px;
        font-weight: 950;
        line-height: 1.35;
    }

    .cockpit-brand-copy small {
        display: none;
    }

    .cockpit-command-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0;
        border: 0;
    }

    .cockpit-action {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border: 1px solid rgba(0, 42, 84, 0.12);
        border-radius: 11px;
        color: #002a54;
        background: #fff;
        font-size: 12px;
        font-weight: 950;
        text-decoration: none;
    }

    .cockpit-action-primary {
        color: #fff;
        background: linear-gradient(135deg, #005cb9, #003864);
        border-color: #004a95;
    }

    .cockpit-nav-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 8px 0 0;
    }

    .cockpit-rail-item {
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: 1px solid rgba(0, 42, 84, 0.1);
        border-radius: 11px;
        color: #002a54;
        background: rgba(255, 255, 255, 0.72);
        text-align: center;
    }

    .cockpit-rail-item span {
        display: none;
    }

    .cockpit-rail-item strong {
        font-size: 12px;
        font-weight: 950;
    }

    body.storefront-main.page-home .cockpit-home-hero {
        margin-top: 0 !important;
        padding: 0 0 58px;
        background: transparent;
    }

    body.storefront-main.page-home .cockpit-home-hero > .container {
        width: auto !important;
        max-width: none !important;
        padding: 36px 12px 0 !important;
    }

    body.storefront-main.page-home main > section:not(.cockpit-home-hero):not(.hero-section) > .container,
    body.storefront-main.page-home .site-footer > .container {
        width: auto !important;
        max-width: none !important;
        margin-right: var(--cockpit-shell-gutter) !important;
        margin-left: var(--cockpit-shell-gutter) !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.storefront-main.page-home .cockpit-hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 0;
        margin-bottom: 0;
    }

    body.storefront-main.page-home .cockpit-hero-main {
        position: relative;
        min-height: 420px;
        overflow: hidden;
        border: 1px solid rgba(148, 190, 255, 0.24);
        border-radius: 16px;
        color: #fff;
        background: #001a34;
    }

    body.storefront-main.page-home .cockpit-hero-main::before {
        content: "";
        position: absolute;
        inset: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-hero-slider {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    body.storefront-main.page-home .cockpit-hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: scale(1.035);
        transition: opacity 0.62s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    body.storefront-main.page-home .cockpit-hero-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

    body.storefront-main.page-home .cockpit-hero-slide img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        filter: contrast(1.05) brightness(0.9);
    }

    body.storefront-main.page-home .cockpit-hero-main::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 42, 84, 0.08), rgba(0, 20, 48, 0.18));
        pointer-events: none;
    }

    body.storefront-main.page-home .cockpit-slider-btn {
        position: absolute;
        top: 50%;
        z-index: 4;
        width: 42px;
        height: 42px;
        display: inline-grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.36);
        border-radius: 50%;
        color: #fff;
        background: rgba(0, 42, 84, 0.62);
        transform: translateY(-50%);
    }

    body.storefront-main.page-home .cockpit-slider-btn-prev {
        left: 12px;
    }

    body.storefront-main.page-home .cockpit-slider-btn-next {
        right: 12px;
    }

    body.storefront-main.page-home .cockpit-hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    body.storefront-main.page-home .cockpit-side-card {
        min-height: 78px;
        padding: 16px;
        border: 1px solid rgba(148, 190, 255, 0.24);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.86);
    }

    body.storefront-main.page-home .cockpit-side-card-dark {
        grid-column: 1 / -1;
        background: linear-gradient(145deg, #002a54, #00508f);
    }

    body.storefront-main.page-home .cockpit-slide-info {
        display: none;
    }

    body.storefront-main.page-home .cockpit-slide-info.is-active {
        display: block;
    }

    body.storefront-main.page-home .cockpit-slide-info h1,
    body.storefront-main.page-home .cockpit-slide-info h2 {
        color: #fff;
        margin: 8px 0;
        font-size: 18px;
        font-weight: 950;
        line-height: 1.3;
    }

    body.storefront-main.page-home .cockpit-login-card h2 {
        color: #002a54;
        margin: 8px 0;
        font-size: 18px;
        font-weight: 950;
        line-height: 1.3;
    }

    body.storefront-main.page-home .cockpit-slide-info p {
        margin: 0;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.8;
    }

    body.storefront-main.page-home .cockpit-login-card p {
        margin: 0;
        color: #52667c;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.8;
    }

    body.storefront-main.page-home .cockpit-slide-info p {
        color: rgba(255, 255, 255, 0.76);
    }

    body.storefront-main.page-home .cockpit-slide-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    body.storefront-main.page-home .cockpit-slide-actions a,
    body.storefront-main.page-home .cockpit-login-row button {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 9px;
        padding: 8px 11px;
        color: #fff;
        background: linear-gradient(135deg, #0d7cf2, #005cb9);
        font-size: 11px;
        font-weight: 950;
        text-decoration: none;
    }

    body.storefront-main.page-home .cockpit-login-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.storefront-main.page-home .cockpit-login-form {
        margin-top: 10px;
    }

    body.storefront-main.page-home .cockpit-login-form label {
        display: block;
        margin-bottom: 6px;
        color: #002a54;
        font-size: 11px;
        font-weight: 950;
    }

    body.storefront-main.page-home .cockpit-login-row input {
        width: 100%;
        min-width: 0;
        height: 40px;
        border: 1px solid rgba(0, 42, 84, 0.16);
        border-radius: 9px;
        padding: 0 10px;
        color: #002a54 !important;
        background: #fff !important;
        direction: ltr;
        text-align: left;
    }

    body.storefront-main.page-home .cockpit-login-card small {
        display: block;
        min-height: 18px;
        margin-top: 8px;
        color: #005cb9;
        font-size: 10px;
        font-weight: 900;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    body.storefront-main.page-home header.site-header {
        position: relative !important;
        padding: 8px 0 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.storefront-main.page-home header.site-header > .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 12px !important;
    }

    body.storefront-main.page-home .desktop-cockpit-header,
    body.storefront-main.page-home .home-header-launcher,
    body.storefront-main.page-home .header-top {
        display: none !important;
    }

    body.storefront-main.page-home .header-shell {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        border-radius: 14px !important;
        background: rgba(0, 42, 84, 0.24) !important;
        box-shadow: 0 12px 28px rgba(0, 10, 24, 0.18) !important;
        backdrop-filter: blur(18px) saturate(1.16) !important;
    }

    body.storefront-main.page-home .header-shell::before {
        display: none !important;
    }

    body.storefront-main.page-home .header-main,
    body.storefront-main.page-home .header-main-inner {
        background: transparent !important;
    }

    body.storefront-main.page-home .header-main-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        min-height: 64px !important;
        padding: 8px 10px !important;
        gap: 10px !important;
    }

    body.storefront-main.page-home .header-brand-group {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.storefront-main.page-home .logo {
        gap: 8px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.storefront-main.page-home .logo-text {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.storefront-main.page-home .logo-image {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.9) !important;
    }

    body.storefront-main.page-home .logo-title {
        display: block !important;
        color: #fff !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.storefront-main.page-home .logo-subtitle,
    body.storefront-main.page-home .logo-theme-note {
        display: block !important;
        color: rgba(255, 255, 255, 0.72) !important;
        font-size: 10px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.storefront-main.page-home .header-actions {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        min-width: 0 !important;
        gap: 8px !important;
    }

    body.storefront-main.page-home .header-link-chip--support,
    body.storefront-main.page-home #pwa-install-button,
    body.storefront-main.page-home .theme-mode-toggle,
    body.storefront-main.page-home .cart-icon-link {
        display: none !important;
    }

    body.storefront-main.page-home .header-link-chip,
    body.storefront-main.page-home .btn-auth,
    body.storefront-main.page-home .btn-logout,
    body.storefront-main.page-home .cart-icon-link,
    body.storefront-main.page-home .theme-mode-toggle,
    body.storefront-main.page-home .nav-toggle {
        min-height: 44px !important;
        height: 44px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 12px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, 0.12) !important;
        box-shadow: none !important;
    }

    body.storefront-main.page-home .header-link-chip span:not(.chip-icon),
    body.storefront-main.page-home .theme-toggle-text,
    body.storefront-main.page-home .user-menu {
        display: none !important;
    }

    body.storefront-main.page-home .nav-toggle {
        width: 44px !important;
        min-width: 44px !important;
        flex: 0 0 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
    }

    body.storefront-main.page-home .nav-toggle span {
        width: 20px !important;
        height: 2px !important;
        margin: 3px auto !important;
        background: #fff !important;
    }

    body.storefront-main.page-home .main-nav {
        background: rgba(0, 28, 58, 0.96) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
    }

    body.storefront-main.page-home .main-nav a,
    body.storefront-main.page-home .mobile-nav-brand strong,
    body.storefront-main.page-home .mobile-nav-brand span,
    body.storefront-main.page-home .mobile-nav-footer p {
        color: #fff !important;
    }
}

body.storefront-main.page-home header.site-header a:focus-visible,
body.storefront-main.page-home header.site-header button:focus-visible,
body.storefront-main.page-home header.site-header input:focus-visible {
    outline: 3px solid #ffd240 !important;
    outline-offset: 3px !important;
}
@keyframes cockpitHeroLine {
    0%, 100% {
        transform: translateX(0) rotate(-12deg);
        opacity: 0.35;
    }

    50% {
        transform: translateX(-42px) rotate(-12deg);
        opacity: 0.9;
    }
}
