/* Mirswa.com — delivery postcode gate + header pin display (all www pages). */

body.mirswastyle {
    background-color: #fff;
}

html.mirswa-landing-pin-gate-active,
body.mirswa-landing-pin-gate-active {
    overflow: hidden;
}

.mirswa-landing-pin-gate {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mirswa-landing-pin-gate.is-open {
    display: flex;
}

.mirswa-landing-pin-gate__panel {
    width: min(100%, 420px);
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.mirswa-landing-pin-gate__brand img {
    display: inline-block;
    max-width: 140px;
    height: auto;
    margin-bottom: 0.75rem;
}

.mirswa-landing-pin-gate__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    color: #0f172a;
}

.mirswa-landing-pin-gate__lead {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #475569;
}

.mirswa-landing-pin-gate__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mirswa-landing-pin-gate__input {
    text-align: center;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mirswa-landing-pin-gate__use-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.625rem;
    background: #f8fafc;
    color: #1648b8;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.mirswa-landing-pin-gate__use-current:hover:not(:disabled),
.mirswa-landing-pin-gate__use-current:focus-visible {
    background: #eef2ff;
    outline: none;
}

.mirswa-landing-pin-gate__use-current:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mirswa-landing-pin-gate__hint {
    min-height: 1.25rem;
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.mirswa-landing-pin-gate__hint.is-error {
    color: #dc2626;
}

.mirswa-landing-pin-gate__btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

.mirswa-landing-pin-gate__btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.mirswa-landing-pin-gate__nearby {
    text-align: left;
    margin-top: 0.25rem;
    display: none;
}

.mirswa-landing-pin-gate__nearby.is-visible {
    display: block;
}

.mirswa-landing-pin-gate__nearby-title {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
}

.mirswa-landing-pin-gate__nearby-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.mirswa-landing-pin-gate__nearby-chip {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.mirswa-landing-pin-gate__nearby-chip:hover {
    background: #e2e8f0;
}

/* ── Two-row header: utility bar (#1f56a8) + main bar (logo | menu | app) ── */
body.mirswastyle .mirswa-header-shell {
    --mirswa-header-blue: #1f56a8;
    --mirswa-header-pad-x: clamp(0.875rem, 2.5vw, 1.5rem);
    background: #fff;
}

body.mirswastyle .mirswa-header-shell.header-2,
body.mirswastyle .mirswa-header-shell .top-header,
body.mirswastyle .mirswa-header-shell .top-nav {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.mirswastyle .mirswa-header-shell .container-fluid-lg {
    padding-left: var(--mirswa-header-pad-x);
    padding-right: var(--mirswa-header-pad-x);
}

body.mirswastyle .mirswa-header-row--utility {
    width: 100%;
    background: var(--mirswa-header-blue);
    color: #fff;
}

body.mirswastyle .mirswa-header-utility-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.2rem 0;
}

body.mirswastyle .mirswa-header-postcode-row {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(100%, 240px);
    display: flex;
    align-items: center;
}

body.mirswastyle .mirswa-header-auth--utility {
    flex: 0 0 auto;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: none;
    overflow: hidden;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7em;
    background: #fff;
    color: var(--mirswa-header-blue) !important;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link:hover {
    background: #f5f8fd;
    color: #1648b8 !important;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link--secondary {
    background: transparent;
    color: #fff !important;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.38);
}

body.mirswastyle .mirswa-header-row--main {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

body.mirswastyle .mirswa-header-main-grid {
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
    grid-template-areas: "logo nav app";
    align-items: center;
    column-gap: clamp(0.75rem, 2vw, 1.25rem);
    min-height: 52px;
    padding: 0.25rem 0;
}

body.mirswastyle .mirswa-header-zone--logo {
    grid-area: logo;
}

body.mirswastyle .mirswa-header-zone--nav {
    grid-area: nav;
    min-width: 0;
    display: flex;
    justify-content: center;
}

body.mirswastyle .mirswa-header-zone--app {
    grid-area: app;
    justify-self: end;
    display: flex;
    align-items: center;
}

body.mirswastyle .mirswa-header-brand-cluster {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

body.mirswastyle .mirswa-header-zone--nav .mirswa-header-nav-slot {
    margin: 0 !important;
    width: 100%;
}

body.mirswastyle .mirswa-header-shell .main-nav .navbar-nav {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
}

body.mirswastyle .mirswa-header-shell .nav-link {
    color: var(--mirswa-header-blue) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.35rem 0.5rem !important;
    white-space: nowrap;
}

body.mirswastyle .mirswa-header-shell .nav-link:hover,
body.mirswastyle .mirswa-header-shell .nav-link:focus-visible {
    color: #1648b8 !important;
}

body.mirswastyle .mirswa-header-shell .web-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

body.mirswastyle .mirswa-header-shell .web-logo img {
    display: block;
    max-height: 2.75rem;
    width: auto;
    max-width: min(190px, 38vw);
    object-fit: contain;
    object-position: left center;
}

body.mirswastyle .mirswa-header-zone--app .mirswa-header-google-play {
    display: inline-flex;
    align-items: center;
}

body.mirswastyle .mirswa-header-zone--app .mirswa-header-google-play img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 124px;
}

/* Pincode — white dropdown chip on blue utility bar */
body.mirswastyle .mirswa-www-location-trigger,
body.mirswastyle .mirswa-location-trigger {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.28rem 0.55rem 0.28rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0.3rem;
    background: #fff;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 1.75rem;
    line-height: 1;
}

body.mirswastyle .mirswa-www-location-trigger:hover,
body.mirswastyle .mirswa-www-location-trigger:focus-visible,
body.mirswastyle .mirswa-location-trigger:hover,
body.mirswastyle .mirswa-location-trigger:focus-visible {
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
    outline: none;
}

body.mirswastyle .mirswa-www-location-trigger__icon,
body.mirswastyle .mirswa-location-trigger__icon {
    color: var(--mirswa-header-blue);
    font-size: 0.8125rem;
    line-height: 1;
    flex: 0 0 auto;
}

body.mirswastyle .mirswa-www-location-trigger__text,
body.mirswastyle .mirswa-location-trigger__text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.mirswastyle .mirswa-www-location-trigger__label,
body.mirswastyle .mirswa-location-trigger__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #64748b;
    white-space: nowrap;
    flex: 0 0 auto;
}

body.mirswastyle .mirswa-www-location-trigger__value,
body.mirswastyle .mirswa-location-trigger__value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
}

body.mirswastyle .mirswa-www-location-trigger__caret,
body.mirswastyle .mirswa-location-trigger__caret {
    margin-left: 0.15rem;
    font-size: 0.625rem;
    color: #64748b;
    flex: 0 0 auto;
}

@media (max-width: 1199.98px) {
    body.mirswastyle .mirswa-header-utility-grid {
        min-height: 34px;
    }

    body.mirswastyle .mirswa-header-postcode-row {
        max-width: min(100%, 220px);
    }

    body.mirswastyle .mirswa-header-main-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 48px;
        padding: 0.25rem 0;
    }

    body.mirswastyle .mirswa-header-zone--logo {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    body.mirswastyle .mirswa-header-zone--nav {
        order: 0;
        flex: 0 0 0;
        width: 0;
        height: 0;
        position: fixed;
        top: 0;
        left: 0;
        overflow: visible;
        padding: 0;
        z-index: 1046;
        pointer-events: none;
    }

    body.mirswastyle .mirswa-header-zone--app {
        flex: 0 0 auto;
        order: 2;
        margin-left: 0 !important;
    }

    body.mirswastyle .mirswa-header-shell .web-logo img {
        max-height: 2.5rem;
        max-width: min(170px, 48vw);
    }

    body.mirswastyle .mirswa-header-zone--app .mirswa-header-google-play img {
        height: 32px;
        max-width: 108px;
    }

    body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link {
        font-size: 0.6875rem;
        padding: 0 0.6em;
    }
}

@media (max-width: 767.98px) {
    body.mirswastyle .mirswa-header-utility-grid {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        min-height: 32px;
        padding: 0.15rem 0;
    }

    body.mirswastyle .mirswa-header-postcode-row {
        flex: 0 0 66.666%;
        max-width: 66.666%;
        min-width: 0;
    }

    body.mirswastyle .mirswa-header-auth--utility {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        justify-content: flex-end;
        min-width: 0;
    }

    body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-pill {
        min-height: 1.625rem;
        width: 100%;
        justify-content: stretch;
    }

    body.mirswastyle .mirswa-header-auth--utility .mirswa-header-auth-link {
        min-height: 1.625rem;
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.625rem;
        padding: 0 0.35em;
    }

    body.mirswastyle .mirswa-www-location-trigger,
    body.mirswastyle .mirswa-location-trigger {
        padding: 0.22rem 0.4rem;
        min-height: 1.625rem;
        gap: 0.25rem;
    }

    body.mirswastyle .mirswa-www-location-trigger__label,
    body.mirswastyle .mirswa-location-trigger__label,
    body.mirswastyle .mirswa-www-location-trigger__value,
    body.mirswastyle .mirswa-location-trigger__value {
        font-size: 0.6875rem;
    }

    body.mirswastyle .mirswa-header-main-grid {
        min-height: 44px;
    }

    body.mirswastyle .mirswa-header-zone--app .mirswa-header-google-play img {
        height: 30px;
        max-width: 100px;
    }

    body.mirswastyle .mirswa-header-shell .web-logo img {
        max-height: 2.35rem;
        max-width: min(155px, calc(100vw - 7.5rem));
    }
}

@media (min-width: 1200px) {
    body.mirswastyle .mirswa-header-zone--logo .navbar-menu-button {
        display: none !important;
    }

    /* Desktop: keep nav in header grid (inline horizontal menu) */
    body.mirswastyle .mirswa-header-nav-slot {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        pointer-events: auto;
    }

    body.mirswastyle .mirswa-header-zone--nav {
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    body.mirswastyle .mirswa-header-nav-slot .main-nav {
        width: 100%;
        justify-content: center;
    }

    body.mirswastyle #primaryMenu.offcanvas-collapse {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    body.mirswastyle #primaryMenu .offcanvas-header {
        display: none !important;
    }

    body.mirswastyle #primaryMenu .offcanvas-body {
        display: flex !important;
        padding: 0 !important;
        overflow: visible !important;
    }
}

.mirswa-www-uk-address-wrap {
    position: relative;
    text-align: left;
}

.mirswa-www-uk-address-search {
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
}

.mirswa-www-uk-address-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    max-height: 240px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.mirswa-www-uk-address-dropdown__item {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 0;
    background: #fff;
    text-align: left;
    font-size: 0.92rem;
    color: #0f172a;
    cursor: pointer;
}

.mirswa-www-uk-address-dropdown__item:hover,
.mirswa-www-uk-address-dropdown__item:focus {
    background: #f1f5f9;
}

.mirswa-landing-pin-gate__map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #1f56a8;
    font-weight: 600;
    cursor: pointer;
}

.mirswa-landing-pin-gate__or {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.mirswa-www-uk-map-modal {
    position: fixed;
    inset: 0;
    z-index: 10100;
}

.mirswa-www-uk-map-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.mirswa-www-uk-map-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin: 5vh auto;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.mirswa-www-uk-map-modal__head,
.mirswa-www-uk-map-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}

.mirswa-www-uk-map-modal__head {
    border-bottom: 1px solid #e2e8f0;
}

.mirswa-www-uk-map-modal__foot {
    border-top: 1px solid #e2e8f0;
    justify-content: flex-end;
}

.mirswa-www-uk-map-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.mirswa-www-uk-map-wrap {
    position: relative;
    height: 320px;
}

.mirswa-www-uk-map-canvas {
    width: 100%;
    height: 100%;
}

.mirswa-www-uk-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    z-index: 2;
    color: #dc2626;
    font-size: 2rem;
    pointer-events: none;
}

.mirswa-www-uk-map-status,
.mirswa-www-uk-map-label {
    padding: 0 1rem;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.mirswa-www-uk-map-label {
    font-weight: 600;
    color: #0f172a;
}

