.smg-location-picker {
    position: relative;
    text-align: left;
}

.smg-location-picker__switcher {
    align-items: baseline;
    background: transparent !important;
    border: 0;
    color: #222 !important;
    cursor: pointer;
    display: none;
    gap: 0.75rem;
    padding: 0;
    text-align: left;
    width: auto;
}

.smg-location-picker__switcher:hover,
.smg-location-picker__switcher:focus {
    background: transparent !important;
    border: 0;
    box-shadow: none;
    color: #222 !important;
}

.smg-location-picker__switcher:focus {
    outline: none;
}

.smg-location-picker__switcher-label {
    color: #222;
    font-family: alternate-gothic-no-3-d, sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    text-transform: uppercase;
}

.smg-location-picker__switcher-location {
    color: #111;
    font-family: alternate-gothic-no-3-d, sans-serif;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.smg-location-picker__switcher-action {
    border-bottom: 1px solid currentColor;
    color: #222;
    font-family: proxima-nova, sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.03em;
    line-height: 1.2;
    padding-bottom: 0.0625rem;
    text-transform: uppercase;
}

.smg-location-picker__switcher:hover .smg-location-picker__switcher-action,
.smg-location-picker__switcher:focus .smg-location-picker__switcher-action {
    border-bottom-color: #f23f26;
    color: #111;
}

.smg-location-picker button.smg-location-picker__button {
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    color: #222 !important;
    cursor: pointer;
    display: block;
    min-height: 3.75rem;
    padding: 0.65rem 2.5rem 0.6rem 0.85rem;
    position: relative;
    text-align: left;
    width: 100%;
}

.smg-location-picker button.smg-location-picker__button:focus {
    border-color: #212121;
    box-shadow: 0 0 0 1px rgba(33, 33, 33, 0.25);
    outline: none;
}

.error .smg-location-picker button.smg-location-picker__button {
    border-color: #f23f26;
    margin-bottom: 1rem;
}

.smg-location-picker__eyebrow {
    color: #f23f26;
    display: block;
    font-family: alternate-gothic-no-3-d, sans-serif;
    font-size: 1.125rem;
    line-height: 1;
    text-transform: uppercase;
}

.smg-location-picker__selected {
    color: #111;
    display: block;
    font-family: alternate-gothic-no-3-d, sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.smg-location-picker--compact button.smg-location-picker__button {
    min-height: 2.3125rem;
    padding-bottom: 0.45rem;
    padding-top: 0.45rem;
}

.smg-location-picker--compact .smg-location-picker__selected {
    font-family: proxima-nova, sans-serif;
    font-size: 0.875rem;
    line-height: 1.25;
    margin-top: 0;
    text-transform: none;
}

.quick-signup-page .smg-location-picker--compact button.smg-location-picker__button {
    border-radius: 4px;
    min-height: 48px;
    padding-bottom: 0.55rem;
    padding-top: 0.55rem;
}

.quick-signup-page .smg-location-picker--compact .smg-location-picker__selected {
    font-size: 16px;
}

.smg-location-picker__chevron {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #212121;
    height: 0;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
}

.smg-location-picker.is-open .smg-location-picker__chevron {
    border-bottom: 6px solid #212121;
    border-top: 0;
}

.smg-location-picker__panel {
    background: #fff;
    border: 1px solid #212121;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    left: 0;
    max-height: 22rem;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 10000;
}

.smg-location-picker__search-wrap {
    border-bottom: 1px solid #e5e5e5;
    padding: 0.65rem;
}

.smg-location-picker__search {
    border: 1px solid #cfcfcf;
    border-radius: 0;
    box-shadow: none;
    height: 2.25rem;
    margin: 0;
    padding: 0 0.7rem;
    width: 100%;
}

.smg-location-picker__search:focus {
    border-color: #212121;
    box-shadow: none;
    outline: none;
}

.smg-location-picker__options {
    max-height: 17.25rem;
    overflow-y: auto;
    padding: 0.35rem 0;
}

.smg-location-picker__state {
    color: #f23f26;
    font-family: alternate-gothic-no-3-d, sans-serif;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0.65rem 0.85rem 0.25rem;
    text-align: left;
    text-transform: uppercase;
}

.smg-location-picker [hidden] {
    display: none !important;
}

.smg-location-picker button.smg-location-picker__option {
    align-items: center;
    background: #fff;
    border: 0;
    color: #222 !important;
    cursor: pointer;
    display: flex;
    font-family: proxima-nova, sans-serif;
    font-size: 0.9375rem;
    justify-content: space-between;
    line-height: 1.25;
    padding: 0.55rem 0.85rem 0.55rem 1.25rem;
    text-align: left;
    width: 100%;
}

.smg-location-picker button.smg-location-picker__option:hover,
.smg-location-picker button.smg-location-picker__option:focus {
    background: #212121;
    color: #fff !important;
    outline: none;
}

.smg-location-picker__option-check {
    color: #111;
    flex: 0 0 auto;
    font-size: 0.875rem;
    margin-left: 0.75rem;
    opacity: 0;
}

.smg-location-picker__option.is-selected .smg-location-picker__option-check {
    opacity: 1;
}

.smg-location-picker__option:hover .smg-location-picker__option-check,
.smg-location-picker__option:focus .smg-location-picker__option-check {
    color: #fff;
}

.smg-location-picker__empty {
    color: #555;
    font-size: 0.9375rem;
    padding: 1rem;
    text-align: center;
}

.smg-location-picker--desktop-switcher > label,
.smg-location-picker--desktop-switcher > .smg-location-picker__button {
    display: none !important;
}

.smg-location-picker--desktop-switcher .smg-location-picker__switcher {
    display: inline-flex !important;
}

@media only screen and (max-width: 640px) {
    .smg-location-picker__button {
        min-height: 3.375rem;
    }

    .smg-location-picker--compact button.smg-location-picker__button {
        min-height: 2.3125rem;
    }

    .smg-location-picker__selected {
        font-size: 1.375rem;
    }

    .smg-location-picker__panel {
        max-height: 19rem;
    }

    .smg-location-picker__options {
        max-height: 14.5rem;
    }
}

@media only screen and (min-width: 641px) {
    .smg-location-picker--desktop-switcher .smg-location-picker__panel {
        left: 0;
        right: auto;
        transform: none;
        width: 18rem;
    }
}
