
@media (max-width: 767px) {
    body.wct-mobile-header-active .wct-original-header-hidden {
        display: none !important;
    }

    .wct-mobile-header {
        position: relative;
        z-index: 99990;
        display: grid;
        grid-template-columns: minmax(86px, auto) 1fr auto auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 10px 13px;
        width: 100%;
        padding: 10px 16px 12px;
        background: #ff5b55;
        color: #111;
        box-sizing: border-box;
        box-shadow: 0 3px 10px rgba(0,0,0,.18);
    }

    .wct-mobile-header__logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        max-width: 110px;
        text-decoration: none;
    }

    .wct-mobile-header__logo img {
        display: block;
        width: auto;
        max-width: 105px;
        max-height: 78px;
        object-fit: contain;
    }

    .wct-mobile-header__button,
    .wct-mobile-header__cart {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
        margin: 0;
        padding: 4px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #000;
        text-decoration: none;
        cursor: pointer;
        box-shadow: none;
    }

    .wct-mobile-header__menu {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .wct-mobile-header__search {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        border: 2px solid rgba(0,0,0,.45);
    }

    .wct-mobile-header__cart {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        gap: 4px;
        white-space: nowrap;
        font-size: 12px;
        font-weight: 700;
    }

    .wct-mobile-header__menu svg {
        width: 37px;
        height: 37px;
    }

    .wct-mobile-header__search svg,
    .wct-mobile-header__cart svg {
        width: 21px;
        height: 21px;
    }

    .wct-mobile-header__phone {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 9px 17px;
        border-radius: 999px;
        background: #e68b00;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .wct-mobile-header__phone svg {
        width: 18px;
        height: 18px;
    }

    .wct-mobile-panel,
    .wct-mobile-search-panel {
        position: fixed;
        inset: 0;
        z-index: 1000000;
        display: none;
    }

    .wct-mobile-panel.is-open,
    .wct-mobile-search-panel.is-open {
        display: block;
    }

    .wct-mobile-panel__overlay,
    .wct-mobile-search-panel__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.55);
        backdrop-filter: blur(2px);
    }

    .wct-mobile-panel__drawer {
        position: absolute;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        height: 100%;
        padding: 22px;
        overflow-y: auto;
        background: #fff;
        box-shadow: -14px 0 40px rgba(0,0,0,.25);
    }

    .wct-mobile-panel__close,
    .wct-mobile-search-panel__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin: 0 0 18px auto;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #111;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }

    .wct-mobile-panel__title {
        margin: 0 0 18px;
        padding: 0 4px 12px;
        border-bottom: 2px solid #111;
        color: #111;
        font-size: 22px;
        font-weight: 800;
    }

    .wct-mobile-panel__nav ul {
        display: block;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .wct-mobile-panel__nav li {
        border-bottom: 1px solid #ececec;
    }

    .wct-mobile-panel__nav a {
        display: block;
        padding: 15px 4px;
        color: #111;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
    }

    .wct-mobile-panel__nav ul ul {
        padding-left: 16px;
    }

    .wct-mobile-panel__nav ul ul a {
        padding: 11px 4px;
        font-size: 16px;
        font-weight: 400;
    }

    .wct-mobile-panel__language {
        margin-top: 26px;
        padding-top: 18px;
        border-top: 1px solid #ddd;
    }

    .wct-mobile-panel__language a {
        display: block;
        padding: 8px 4px;
        color: #e68b00;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
    }

    .wct-mobile-search-panel__box {
        position: absolute;
        top: 22px;
        left: 50%;
        width: min(calc(100% - 32px), 560px);
        padding: 20px;
        transform: translateX(-50%);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 20px 60px rgba(0,0,0,.3);
    }

    .wct-mobile-search-panel form {
        display: flex;
        gap: 8px;
    }

    .wct-mobile-search-panel input[type="search"] {
        flex: 1;
        min-width: 0;
        height: 48px;
        padding: 0 14px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 16px;
    }

    .wct-mobile-search-panel button[type="submit"] {
        min-width: 48px;
        border: 0;
        border-radius: 10px;
        background: #111;
        color: #fff;
        cursor: pointer;
    }

    body.wct-mobile-overlay-open {
        overflow: hidden;
    }
}

@media (max-width: 390px) {
    .wct-mobile-header {
        grid-template-columns: minmax(74px, auto) 1fr auto auto;
        gap: 10px 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .wct-mobile-header__logo img {
        max-width: 90px;
        max-height: 68px;
    }

    .wct-mobile-header__menu svg {
        width: 33px;
        height: 33px;
    }
}
