/* Quick Search START */
.mega-nav__search-inner input {
    max-width: 849px;
}

.mega-nav--desktop .mega-nav__search.block {
    display: block;
}

.mega-nav--mobile .mega-nav__search.block {
    display: block;
    z-index: 10;
}

.mega-nav--desktop .mega-nav__search.hide {
    display: none;
}

@media (max-width: 640px) {
    .mob-guests {
        display: none;
    }

    .mobile-quick-links a {
        padding: 10px 14px;
        text-align: center;
    }

    .mobile-quick-links-fr a {
        padding: 6px 8px !important;
        font-size: 12px;
    }
}

.TrulyCanadian {
    display: none;
}

@media (min-width: 1280px) {
    .TrulyCanadian {
        white-space: nowrap;
        display: block;
    }
}

@media (min-width: 1280px) {
    .TrulyCanadian {
        white-space: nowrap;
        display: block;
    }
}

.searchTemplatesContainer .title {
    color: #369;
    font-size: 24px;
    line-height: 1;
}

.searchTemplatesContainer h6 {
    margin-bottom: 0rem !important;
    line-height: 1.8;
}

.searchTemplatesContainer .links ul li a,
.searchTemplatesContainer .brands__names-list li a,
.searchTemplatesContainer .trending__list li a {
    line-height: 1.8;
}

.searchTemplatesContainer .links ul li:hover,
.searchTemplatesContainer .brands__names-list li:hover,
.searchTemplatesContainer .trending__list li:hover,
.menu-sale_list a:hover,
.menu-departments_list a:hover,
.menu-bags_list a:hover span {
    color: #e02447;
    background: #f5f5f5
}

@media (max-width: 1023px) {
    .searchTemplatesContainer .title {
        font-size: 16px;
        line-height: 2.5;
        padding-bottom: 0 !important;
    }
}

@media (min-width: 1024px) {
    .searchTemplatesContainer .title {
        width: 10rem;
    }

    .searchTemplatesContainer .links ul {
        column-count: 2;
    }

        .searchTemplatesContainer .links ul li {
            width: 200px;
        }
}

@media (min-width: 1280px) {
    .searchTemplatesContainer .title {
        width: 12.3rem;
    }
}

.searchTemplatesContainer li span {
    font-size: 1rem;
    line-height: 1;
}

.searchTemplatesContainer .brands__logos {
    max-width: 220px;
    flex-wrap: wrap;
}

.searchTemplatesContainer .hover-border:hover {
    border-color: #000;
}

@media (max-width: 1279px) {
    .searchTemplatesContainer .brands__logos {
        max-width: 165px;
    }
}

.possibleItemMatch .possibleItemMatch-items.item1 {
    display: block;
}

.possibleItemMatch-items {
    display: none;
}

.searchTemplatesContainer + .typeAheadOverlay {
    width: 100%;
    z-index: 10;
    position: absolute;
    top: 47px;
    height: 110vh;
    left: 0;
    background-color: #000;
    opacity: .4;
    display: none;
}

.searchTemplatesContainer {
    position: absolute;
    border-width: 1px 0 0;
    border-top: 1px solid #ddd;
    top: 70px;
    left: 0;
    right: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: var(--zindex-popover);
    font-size: .875rem;
    line-height: 20px;
    color: #333;
    background: #fff;
    padding: 0;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

@media only screen and (max-width: 1023px) {
    .searchTemplatesContainer {
        border: none;
    }
}

@media only screen and (max-width: 767px) {
    .product-logo {
        display: none;
    }
}

.searchTemplatesContainer a:not(.see-all-item-matches) {
    color: inherit;
}

.searchTemplatesContainer > div.suggestedItems {
    -webkit-transition: width .5s;
    transition: width .5s;
}

.suggestionsBrandsCategories:not(:empty) + .suggestedItems {
    border-left: 5px solid #eee;
}

.searchTemplatesContainer > .container {
    padding: 0 16px;
    margin: 0 auto;
}

    .searchTemplatesContainer > .container.active {
        display: flex;
    }

    .searchTemplatesContainer > .container > div {
        padding: 25px 20px 25px 0px;
        vertical-align: top;
    }

        .searchTemplatesContainer > .container > div:last-child {
            padding-right: 0;
        }

@media (max-width: 1023px) {
    .searchTemplatesContainer > .container.active {
        display: block;
        padding: 10px 16px;
    }

    .searchTemplatesContainer > .container > div {
        padding: 0px 20px 0px 15px;
    }

        .searchTemplatesContainer > .container > div:last-child {
            padding-top: 0;
        }

    .searchTemplatesContainer h6 {
        margin-bottom: 0rem !important;
        line-height: 2.5;
    }
}

.searchTemplatesContainer > div:empty:not(.typeAheadOverlay) {
    overflow: hidden;
    width: 0;
    min-width: 0;
    padding: 0;
    border: 0;
}

.suggestionsBrandsCategories > div {
    display: flex;
    margin-top: 15px;
}

.suggestionsBrandsCategories a,
.suggestionsBrandsCategories li {
    min-height: 30px;
    margin-bottom: 0;
}

@media only screen and (max-width: 639px) {
    .suggestionsBrandsCategories a,
    .suggestionsBrandsCategories li {
        font-size: 13px;
        line-height: 2.2;
    }
}

.suggestionsBrandsCategories > div:first-child {
    margin-top: 0;
}

.searchTemplatesContainer .search-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 30px;
}

.searchTemplatesContainer .search-description {
    font-size: 14px;
}

.suggestionsBrandsCategories .search-title {
    width: 30%;
}

@media only screen and (max-width: 639px) {
    .suggestionsBrandsCategories .search-title {
        width: 40%;
        font-size: 12px;
    }
}

.suggestionsBrandsCategories .search-description {
    width: calc(100% - 138px);
    padding-left: 0px;
    font-size: 16px;
}

.suggestionsBrandsCategories .product-logo {
    width: 75px;
    padding: 8px 0 0;
}

@media only screen and (max-width: 639px) {
    .suggestionsBrandsCategories .search-description {
        width: 60%;
    }
}

.searchTemplatesContainer .search-description .link-text {
    width: 90%;
    display: inline-block;
    vertical-align: middle;
}

@media only screen and (max-width: 1023px) {
    .searchTemplatesContainer .search-description .link-text {
        width: 96%;
    }
}

@media only screen and (max-width: 611px) {
    .searchTemplatesContainer .search-description .link-text {
        width: 90%;
    }
}

.searchTemplatesContainer .search-description .autoFillContainer {
    width: 10%;
    text-align: center;
    height: 16px;
}

    .searchTemplatesContainer .search-description .autoFillContainer:hover #autoFill {
        fill: #404040;
    }

    .searchTemplatesContainer .search-description .autoFillContainer #autoFill {
        display: inline-block;
        width: 10px;
        height: 10px;
        fill: #ccc;
    }

.searchHistory .search-description a,
.suggestionsBrandsCategories .search-description a {
    padding: 3px 5px;
    cursor: pointer;
    width: 100%;
    line-height: normal;
    display: inline-block;
}

.searchTemplatesContainer .ta-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchHistory .search-description a:hover,
.suggestionsBrandsCategories .search-description a.hover,
.suggestionsBrandsCategories .search-description a:hover {
    background: #eee;
    position: relative;
}

    .suggestionsBrandsCategories .search-description a:hover:after {
        content: '';
        margin-left: 5px;
        border: 14px solid transparent;
        border-left-color: #eee;
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }

@media only screen and (max-width: 1023px) {
    .suggestionsBrandsCategories .search-description a:hover:after {
        content: '*';
        display: none;
    }
}

.suggestionsBrandsCategories .brands img {
    width: 40px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.suggestedItems:not(:empty),
.suggestionsBrandsCategories:not(:empty) {
    min-height: 450px;
}

@media only screen and (max-width: 1023px) {
    .suggestedItems:not(:empty),
    .suggestionsBrandsCategories:not(:empty) {
        width: 100%;
        min-height: auto;
        height: 250px;
        overflow: auto;
    }
}

.suggestedItems {
    position: relative;
}

@media only screen and (max-width: 1023px) {
    .suggestedItems {
        display: none;
    }
}

.possibleItemMatch-items,
.recentlyViewed-items {
    margin-top: 15px;
}

.possibleItemMatch-item,
.recentlyViewed-item {
    position: relative;
    float: left;
    padding: 2%;
}

@media (max-width: 1023px) {
    .possibleItemMatch-item {
        width: 100%;
        font-size: 16px;
        padding: 0;
        line-height: 1.2;
    }
}

.recentlyViewed-item-image {
    position: relative;
    width: 50%;
}

.possibleItemMatch-item-image {
    position: relative;
    border: 1px solid #ddd;
}

.overlay-on-hover:hover:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: background-color .2s;
    pointer-events: none;
    border-radius: inherit;
    background-color: rgba(0, 0, 0, .04);
}

.see-all-container {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: inherit;
}

@media only screen and (max-width: 1023px) {
    .see-all-container {
        position: unset;
        text-align: right;
    }
}

.see-all-item-matches {
    color: #333;
    text-decoration: none;
    font-size: 12px;
    line-height: 18px;
}

    .see-all-item-matches:hover,
    .see-all-item-matches:hover .fa {
        color: #EE332C;
    }

    .see-all-item-matches .fa {
        color: #999;
        font-size: 8px;
    }

@media only screen and (max-width: 1023px) {
    .searchTemplatesContainer:after,
    .searchTemplatesContainer:before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.matches__list {
    max-width: 240px;
    flex-wrap: wrap;
    overflow: hidden;
}

.matches__list_wide {
    /*max-width: 240px;*/
    flex-wrap: wrap;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .matches__list_wide {
        /*max-width: 840px;*/
        flex-wrap: wrap;
        overflow: hidden;
    }
}

@media only screen and (max-width: 1023px) {
    .matches__list li {
        margin-bottom: .75rem;
        overflow: hidden;
    }
}


/* Quick Search END */
/* Choose Your Store START */

html.scroll-disabled {
    position: fixed;
    width: 100%;
    overflow-y: hidden;
}

.mystore-clear {
    color: #369;
    font-size: 0.75rem;
    cursor: pointer;
}

#mystore-modal {
    z-index: 16;
}

    #mystore-modal[data-no-location] #nearest-to-user-store-popup,
    #mystore-modal[data-no-location] #nearest-to-user-store-popup-m {
        display: none;
    }

    #mystore-modal[data-no-location] .nearest-stores-container {
        display: none;
    }

    #mystore-modal .modal__content {
        max-height: 80vh;
    }

.modal__content {
    max-height: calc(100vh - 5*(var(--modal-close-btn-size) + var(--modal-close-btn-padding)));
}

@media (min-width: 1200px) {
    #mystore-modal .modal__content {
        max-height: 90vh;
    }
}

#nearest-to-user-store-popup div {
    background: #F5F5F5;
    border-radius: 0.25rem;
    transition: 250ms;
    cursor: pointer;
}

    #nearest-to-user-store-popup div.active {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 4px;
    }

    #nearest-to-user-store-popup div span {
        display: block;
    }

#nearest-to-user-store-popup .title,
#nearest-to-user-store-popup .distance {
    font-family: 'open-sans-condensed-bold', sans-serif;
}

.gm-style [title='your-location'],
.gm-style [title='alt-location'] {
    pointer-events: none;
}

.gm-style .gm-style-iw-d {
    overflow: visible !important;
    max-width: unset !important;
    max-height: unset !important;
}

.gm-style .gm-style-iw-c {
    padding: 0.75rem !important;
    min-height: 160px !important;
}

.gm-ui-hover-effect {
    top: -3px !important;
    right: -3px !important;
}

.select-button {
    display: block;
    margin: .5rem auto 0;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    line-height: 1.3125;
    text-align: center;
    background-color: #4299E1;
    color: #FEFEFE;
}

#nearest-to-user-store-popup .select-button {
    margin: 0;
    margin-top: .25rem;
}

#nearest-to-user-store-popup-m .select-button {
    margin: .5rem 0;
    padding: .25rem .5rem;
}

.select-button:hover,
.select-button:focus {
    background-color: #3182CE;
}

#mystore-map {
    height: 500px;
    max-height: 500px;
}

@media (min-width: 768px) {
    #mystore-map {
        min-height: 480px;
        max-height: 100% !important;
        height: 100% !important;
    }

    #nearest-to-user-store-popup .title {
        line-height: 0.75rem;
    }
}

@media (min-width: 1024px) {
    #nearest-to-user-store-popup div:last-child {
        margin-bottom: 0;
    }

    #nearest-to-user-store-popup .title {
        line-height: 0.875rem;
    }
}

@media (max-width: 767px) {
    .select-button {
        line-height: 1.625;
    }
}

#guest-menu-login,
#guest-menu,
#help-menu-sub {
    list-style: none;
    width: auto;
    position: absolute;
    left: 50%;
    top: calc(100% + 2px);
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xxs) 0;
    border-radius: var(--radius-md);
    z-index: var(--zindex-popover);
    --space-md: calc(1.25 * 1rem);
    --space-xxl: calc(5.25 * 1rem);
    --component-padding: var(--space-md);
    font-size: 1rem;
    transform: translate(-50%, -4px);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.2s, opacity 0.2s, transform 0.2s ease-out;
}

html[data-signed-in] #my-account:hover #guest-menu-login,
html:not([data-signed-in]) #my-account:hover #guest-menu,
#help:hover #help-menu,
#help-sticky:hover #help-menu-sub {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
    transition: opacity 0.2s, transform 0.2s ease-out;
}

html[data-signed-in] #my-account:hover #guest-menu-login,
html:not([data-signed-in]) #my-account:hover #guest-menu,
#help-sticky:hover #help-menu-sub {
    transform: translate(-50%, 0);
}

/* Choose Your Store END */

.chat-menu {
    display: none;
}

@media (max-width: 320px) {
    .show-break {
        display: block !important
    }
}

@media (max-width: 480px) {
    .notice__banner {
        width: 100%;
        max-width: 100%;
    }
}




#footer .payment-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 icons per row on desktop */
    gap: 12px;
    margin-top: 0.5rem;
    max-width: 18.75rem;
}

#footer .payment-icon {
    background: #fff;
    border-radius: 4px;
    padding: 4px;
    width: 60px; /* fixed box width */
    height: 36px; /* fixed box height */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* On tablet: switch to single horizontal row, wrap if needed */
@media (max-width: 1023.98px) {
    #footer .payment-icons {
        display: flex;
        flex-wrap: wrap; /* wrap to next row if no space */
        justify-content: flex-start; /* keep left aligned */
        gap: 8px;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    #footer .payment-icon {
        margin: 0; /* remove auto-centering in flex layout */
    }
}




.tooltip {
    z-index: 15 !important;
    /*display: none;*/
}

#pick-up-today-confirmation-main .label,
#pick-up-today-confirmation .label {
    border-radius: 2px;
    padding: 0 8px;
}

.sizeChartSizes td {
    padding: 4px 0 !important;
    text-align: center;
}

/* Size Chart styles */
#size-chart-modal .modal-content {
    max-height: 91.666667%;
}

#size-chart-modal table {
    border: 1px solid #EEE;
}

    #size-chart-modal table td {
        padding: 0.5rem;
    }

    #size-chart-modal table thead tr,
    #size-chart-modal table tr:nth-child(even) {
        background: #EEE;
    }

.icon-arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    position: relative;
    top: -2px;
}
