.box-local-store {
    background-color: rgba(67 191 227 / 10%);
    padding: 6px;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-gap: 4px;
    min-width: 120px;
    line-height: 1.2;
    user-select: none;
    cursor: pointer;
}

.box-local-store:hover {
    background-color: rgba(67 191 227 / 20%);
}

.local-icon {
    width: 24px;
    min-width: 24px;
    color: var(--primary);
}

.local-content {
    width: calc(100% - 28px);
}

.local-content-title {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-gap: 4px;
    white-space: nowrap;
}

.local-content .current-location {
    font-size: 13px;
    color: #595959;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.header-mid.blue .local-icon,
.header-mid.blue .local-content .local-content-title,
.header-mid.blue .local-content .current-location {
    color: #fff;
}

.local-store-popup,
.local-store-popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.local-store-popup-background {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: block;
}

.local-store-popup-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-gap: 16px;
    color: #595959;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
}

.close-local-store-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    user-select: none;
}

.local-store-popup-content {
    width: 90%;
    max-width: 640px;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background-color: #fff;
    border-radius: 11px;
}

.local-store-popup-box {
    padding: 10px 16px;
}

.local-store-tab-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    grid-gap: 16px;
    margin-top: 6px;
    border-bottom: 2px solid #e5e5e5;
}

.local-store-tab {
    text-align: center;
    padding: 10px 0 6px;
    transform: translateY(2px);
    cursor: pointer;
    user-select: none;
}

.local-store-tab:hover{ 
    color: var(--primary);
}

.local-store-tab.active {
    color: var(--primary);
    background-color: rgba(67 191 227 / 10%);
    border-bottom: 2px solid var(--primary);
}
.choose {
    color: #888;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
}

.choose::after {
    content: "";
    position: absolute;
    bottom: 50%;
    left: 50%;
    display: block;
    transform: translateX(-50%);
    width: 100%;
    height: 0;
    z-index: 1;
    border-top: 1px solid #f1f1f1;
}

.choose small {
    background-color: #fff;
    padding: 4px 10px;
    z-index: 2;
}


.local-store-content-panel:not(.active) {
    display: none;
}

.local-store-content-panel.active {
    position: relative;
    height: 100%;
    
}

.current-address {
    display: flex;
    justify-content: flex-start;
    font-size: 15px;
    grid-gap: 4px;
}

.current-address .js-current-address {
    font-weight: bold;
}

.current-address>span {
    color: #595959;
}

.search-local-store-address {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 8px;
    padding: 0;
    margin: 10px 0;
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 7px;
    position: relative;
}

.search-address-input {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0 0 0 12px;
    border: none;
    border-radius: 4px;
    outline: none;
    line-height: 38px;
}

.search-local-store-address-button {
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    width: 36px;
    min-width: 36px;
    color: #595959;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-local-store-address-button:disabled {
    opacity: 0.5;
}

/* .loading-item-location::before {
    opacity: 1;
}

.loading-item-location .local-store-list{
    filter: blur(1px);
    opacity: 0.2;
} */

/* .loading-item-location::after {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: block;
    z-index: 2;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    border: 2px solid rgba(155 155 155 / 60%);
    border-top: 2px solid rgba(99 99 99 / 60%);
    animation: lds-ring 600ms cubic-bezier(0.5, 0, 0.5, 1) infinite;
    pointer-events: none;
} */

.disable {
    color: #d0d5dd;
    pointer-events: none;
}

.LocationLoader {
    width: 24px;
    height: 24px;
    position: absolute;
    display: none;
    pointer-events: none;
    top: 8px;
    right: 6px;
    padding: 2px;
    border-radius: 50%;
    background: var(--primary);
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: location 1s infinite linear;
}

.shipping-text-special{
    font-size: 14px;
}

@keyframes location {
    to {
        transform: rotate(1turn)
    }
}

.local-store-confirm {
    background-color: #25AADA;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    width: fit-content;
    margin: 10px auto 0;
    min-width: 200px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 36px;
    position: sticky;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.local-store-confirm:hover {
    background-color: var(--primary);
}

.local-store-list {
    max-height: 300px;
    /* min-height: 100px; */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2px;
    padding: 10px ;
}

.local-store-item {
    display: block;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    border-radius: 5px;
    transition: all 222ms ease-in-out;
    height: max-content;
}

.local-store-item:hover {
    background-color: rgba(67 191 227 / 10%);
}

.local-store-item.active {
    color: var(--primary);
}

.loading-image-location{
    text-align: center;
}

.local-store-item:hover {
    color: var(--primary);
}

.loading-element {
    max-height: 300px;
    min-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    padding: 10px;
    display: none;
}

.loading-item-location .loading-element {
    display: grid;
}

.loading-item-location .local-store-list {
    padding: 0;
    display: none;
}

.loading-element-item {
    height: 34px;
    border-radius: 5px;
    background: linear-gradient(45deg, rgba(209, 209, 209, 0.35), rgba(11, 11, 11, 0.1), rgba(209, 209, 209, 0.1), rgba(209, 209, 209, 0.15));
    background-size: 400% 400%;
    animation: gradient 3000ms ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.loading-location-wrapper {
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 14px;
}
.loading-location {
    color: var(--primary);
    width: 2px;
    aspect-ratio: 1;
    border-radius: 50px;
    box-shadow: 12px 0 0 3px, 24px 0 0 1.5px, 36px 0 0 0;
    transform: translateX(-24px);
    animation: loadingAli 0.5s infinite alternate linear;
}

.local-content .current-location {
    display: none;
}

.loading-location-wrapper-shipping {
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 14px;
}
.loading-location-shipping {
    color: var(--primary);
    width: 2px;
    aspect-ratio: 1;
    border-radius: 50px;
    box-shadow: 12px 0 0 3px, 24px 0 0 1.5px, 36px 0 0 0;
    transform: translate(-24px, -3px);
    animation: loadingAli 0.5s infinite alternate linear;
}

@keyframes loadingAli {
  50% {
    box-shadow: 12px 0 0 1.5px, 24px 0 0 3px, 36px 0 0 1.5px;
  }
  100% {
    box-shadow: 12px 0 0 0px, 24px 0 0 1.5px, 36px 0 0 3px;
  }
}

.shipping-area{
    display: none;
}