:root {
--mws-accent: #1f7a4d;
--mws-primary: #f5c518;
--mws-secondary: #d81f26;
--mws-ink: #1d2327;
--mws-muted: #5b6770;
--mws-line: #d8dde1;
--mws-surface: #fff;
--mws-danger: #a4262c;
--mws-radius: 6px;
} .mws-modal {
position: fixed;
inset: 0;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.mws-modal[hidden] {
display: none;
}
.mws-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(15, 23, 28, 0.55);
}
.mws-modal__panel {
position: relative;
width: 100%;
max-width: 420px;
max-height: calc(100vh - 40px);
overflow-y: auto;
padding: 24px 22px 22px;
background: var(--mws-surface);
border-radius: 10px;
box-shadow: 0 18px 48px rgba(15, 23, 28, 0.28);
color: var(--mws-ink);
text-align: left;
}
.mws-modal__panel--map {
max-width: 500px;
}
.mws-modal__close {
position: absolute;
top: 6px;
right: 8px;
width: 34px;
height: 34px;
padding: 0;
border: 0;
background: none;
font-size: 26px;
line-height: 1;
color: var(--mws-muted);
cursor: pointer;
border-radius: 50%;
z-index: 2;
}
.mws-modal__close:hover,
.mws-modal__close:focus-visible {
background: rgba(15, 23, 28, 0.07);
color: var(--mws-ink);
}
.mws-modal__title {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 0 0 16px;
font-size: 1.25em;
line-height: 1.3;
color: inherit;
text-align: center;
}
.mws-modal__pin {
display: inline-flex;
color: var(--mws-muted);
}
.mws-modal__intro {
margin: 0 0 18px;
font-size: 0.92em;
line-height: 1.55;
color: var(--mws-muted);
}
body.mws-modal-open {
overflow: hidden;
} .mws-pane[hidden] {
display: none;
}
.mws-maparea {
position: relative;
border-radius: 8px;
overflow: hidden;
background: #e9edf0;
}
.mws-map {
width: 100%;
height: 340px;
} .mws-map__pin {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -100%);
pointer-events: none;
filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
z-index: 2;
}
.mws-map__hint {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
margin: 0;
padding: 6px 12px;
border-radius: 999px;
background: rgba(15, 23, 28, 0.78);
color: #fff;
font-size: 0.78em;
white-space: nowrap;
pointer-events: none;
z-index: 3;
}
.mws-map__hint[hidden] {
display: none;
} .mws-searchbar {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
z-index: 4;
display: flex;
align-items: stretch;
gap: 6px;
}
.mws-searchbar__field {
position: relative;
flex: 1 1 auto;
min-width: 0;
}
.mws-searchbar__icon {
position: absolute;
top: 50%;
left: 12px;
transform: translateY(-50%);
display: inline-flex;
color: var(--mws-muted);
pointer-events: none;
}
.mws-searchbar__input {
width: 100%;
height: 42px;
box-sizing: border-box;
padding: 0 34px 0 36px;
border: 1px solid var(--mws-line);
border-radius: var(--mws-radius);
background: var(--mws-surface);
color: var(--mws-ink);
font-size: 0.95em;
box-shadow: 0 2px 6px rgba(15, 23, 28, 0.16);
}
.mws-searchbar__input:focus-visible {
outline: 2px solid var(--mws-accent);
outline-offset: 1px;
}
.mws-searchbar__clear {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
width: 26px;
height: 26px;
padding: 0;
border: 0;
background: none;
color: var(--mws-muted);
font-size: 20px;
line-height: 1;
cursor: pointer;
}
.mws-searchbar__locate,
.mws-searchbar__go {
flex: 0 0 auto;
height: 42px;
border: 0;
border-radius: var(--mws-radius);
cursor: pointer;
box-shadow: 0 2px 6px rgba(15, 23, 28, 0.16);
font-weight: 700;
}
.mws-searchbar__locate {
width: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--mws-secondary);
color: #fff;
}
.mws-searchbar__go {
padding: 0 16px;
background: var(--mws-primary);
color: var(--mws-ink);
font-size: 0.9em;
letter-spacing: 0.03em;
}
.mws-searchbar__locate:hover,
.mws-searchbar__go:hover {
filter: brightness(0.94);
} .pac-container {
z-index: 1000000 !important;
} .mws-address {
margin: 12px 0 0;
padding: 9px 12px;
border-left: 3px solid var(--mws-accent);
background: rgba(31, 122, 77, 0.07);
font-size: 0.88em;
line-height: 1.45;
color: var(--mws-ink);
}
.mws-hub {
margin: 0 0 14px;
padding: 9px 12px;
border-left: 3px solid var(--mws-accent);
background: rgba(31, 122, 77, 0.07);
font-size: 0.88em;
color: var(--mws-ink);
}
.mws-address[hidden],
.mws-hub[hidden],
.mws-error[hidden] {
display: none;
}
.mws-error {
margin: 12px 0 0;
font-size: 0.88em;
color: var(--mws-danger);
} .mws-modal__actions {
display: flex;
gap: 10px;
margin-top: 16px;
}
.mws-btn {
flex: 1 1 0;
min-height: 46px;
padding: 0 14px;
border: 0;
border-radius: 999px;
font-size: 1em;
font-weight: 700;
cursor: pointer;
line-height: 1.2;
}
.mws-btn--primary {
background: var(--mws-primary);
color: var(--mws-ink);
}
.mws-btn--secondary {
background: var(--mws-secondary);
color: #fff;
}
.mws-btn:hover,
.mws-btn:focus-visible {
filter: brightness(0.94);
}
.mws-btn--busy {
opacity: 0.65;
cursor: progress;
} .mws-field {
margin-bottom: 16px;
}
.mws-field label {
display: block;
margin-bottom: 6px;
font-size: 0.82em;
font-weight: 600;
letter-spacing: 0.02em;
text-transform: uppercase;
color: var(--mws-muted);
}
.mws-field select {
width: 100%;
min-height: 44px;
padding: 10px 12px;
border: 1px solid var(--mws-line);
border-radius: var(--mws-radius);
background-color: var(--mws-surface);
color: var(--mws-ink);
font-size: 1em;
line-height: 1.3;
}
.mws-field select:focus-visible {
outline: 2px solid var(--mws-accent);
outline-offset: 1px;
border-color: var(--mws-accent);
}
.mws-field select:disabled {
background-color: #f4f6f7;
color: var(--mws-muted);
cursor: not-allowed;
} .mws-logo-row {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: nowrap;
}
.mws-selector {
display: inline-flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
font-size: 0.9em;
line-height: 1.35;
}
.mws-selector__btn {
display: inline-flex;
align-items: center;
gap: 8px;
max-width: 230px;
padding: 6px 10px;
border: 1px solid var(--mws-line);
border-radius: 999px;
background: var(--mws-surface);
color: var(--mws-ink);
font: inherit;
text-align: left;
cursor: pointer;
}
.mws-selector__btn:hover,
.mws-selector__btn:focus-visible {
border-color: var(--mws-accent);
}
.mws-selector__pin {
display: inline-flex;
flex: 0 0 auto;
color: var(--mws-secondary);
}
.mws-selector__text {
display: flex;
flex-direction: column;
min-width: 0;
}
.mws-selector__label {
font-size: 0.72em;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--mws-muted);
line-height: 1.2;
}
.mws-selector__value {
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mws-selector__value--prompt {
color: var(--mws-secondary);
}
.mws-selector__hub {
padding: 2px 8px;
border-radius: 999px;
background: rgba(31, 122, 77, 0.1);
font-size: 0.8em;
color: var(--mws-accent);
white-space: nowrap;
}
.mws-link {
padding: 0;
border: 0;
background: none;
color: var(--mws-accent);
font-size: inherit;
font-weight: 600;
text-decoration: underline;
text-underline-offset: 2px;
cursor: pointer;
}
.mws-link:hover,
.mws-link:focus-visible {
filter: brightness(0.85);
} .mws-hub-notice {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin: 0 0 14px;
padding: 9px 12px;
border: 1px solid var(--mws-line);
border-radius: var(--mws-radius);
font-size: 0.9em;
}
.mws-hub-notice--empty {
border-color: rgba(164, 38, 44, 0.35);
background: rgba(164, 38, 44, 0.05);
}
.mws-hub-notice__pin {
display: inline-block;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--mws-accent);
flex: 0 0 auto;
}
.mws-hub-notice--empty .mws-hub-notice__pin {
background: var(--mws-danger);
}
.mws-order-hub {
margin-top: 12px;
font-size: 0.92em;
color: var(--mws-muted);
}
.mws-elsewhere {
margin: 6px 0 0;
font-size: 0.88em;
color: var(--mws-muted);
} @media (max-width: 782px) {
.mws-selector__label {
display: none;
}
.mws-selector__btn {
max-width: 150px;
}
.mws-selector__hub {
display: none;
}
}
@media (max-width: 480px) {
.mws-modal {
padding: 0;
align-items: flex-end;
}
.mws-modal__panel {
max-width: none;
max-height: 92vh;
border-radius: 10px 10px 0 0;
padding: 20px 16px 18px;
}
.mws-map {
height: 300px;
}
.mws-searchbar__go {
padding: 0 12px;
}
} .mws-logo-row {
gap: 10px;
}
.mws-logo-row > :first-child {
flex: 0 0 auto;
}
.mws-selector--header {
flex: 0 1 auto;
min-width: 0;
}
.mws-selector--header .mws-selector__btn {
max-width: 190px;
padding: 5px 9px;
} .mws-selector__short {
display: none;
}
@media (max-width: 782px) {
.mws-selector__full {
display: none;
}
.mws-selector__short {
display: inline;
}
} .mws-modal .mws-searchbar__field .mws-searchbar__input {
height: 42px;
padding: 0 36px 0 38px !important;
line-height: normal;
margin: 0;
} @media (max-width: 782px) {
.mws-logo-row {
flex-wrap: wrap;
row-gap: 4px;
}
.mws-selector--header {
flex: 0 0 auto;
width: max-content;
max-width: calc(100vw - 24px);
margin-top: 2px;
} .mws-selector--header .mws-selector__btn {
max-width: 250px;
}
}