html {
    height: auto;
}
html, body {
    font-size: 10px;
}
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: antialiased;
}
.modal.fancybox__content {
    padding: 0;
    max-width: 560px;
    background: none;
    border-radius: 10px;
}
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.55) !important;
}
@media (max-width: 479px) {
    .fancybox__slide {
        padding: 0;
    }
    .modal.fancybox__content {
        border-radius: 0px;
    }
}
    .is-close-btn {
display: none !important;
}
.form-checkbox-label::before {
    content: "";
    display: block;
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 2px solid #DBDBDB;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><path fill="%23ffffff" d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>') center center no-repeat;
    left: 0;
    top: 0;
    box-sizing: border-box;
}
.form-checkbox-input:checked+.form-checkbox-label::before {
    background-color: #8f201d;
    border-color: #8f201d;
}
.counter {
    display: flex;
    align-items:center;
    justify-content:center;
}
.counter-minus {
    font-size: 26px;
    color: var(--color-secondary);
    cursor: pointer;
}
.counter-plus {
    font-size: 26px;
    color: var(--color-secondary);
    cursor: pointer;
}
.counter-value {
    width: 80px;
    font-size: 18px;
    text-align: center;
    font-weight: 900;
    background: none;
    border: none;
    text-align: center;
    color: var(--color-secondary);
}
.modal-counter {
    display: flex;
    align-items:center;
    justify-content:flex-end;
    width: 110px;
}
.modal-counter-minus {
    font-size: 28px;
    color: var(--color-secondary);
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.modal-counter-plus {
    font-size: 28px;
    color: var(--color-secondary);
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.modal-counter-plus svg,
.modal-counter-minus svg{
    font-size: 28px;
}
.modal-counter-value {
    width: 40px;
    font-size: 16px;
    text-align: center;
    font-weight: 900;
    background: none;
    border: none;
    text-align: center;
    color: var(--color-secondary);
}
@media (max-width: 479px) {
    .modal-counter-plus,
    .modal-counter-minus{
        width: 24px;
        height: 24px;
    }
    .modal-counter-plus svg,
    .modal-counter-minus svg{
        font-size: 24px;
    }
}
.pds-item-checkbox:checked + .pds-item-checkbox-icon {
    background-color:var(--color-secondary);
    border-color: var(--color-secondary);
}
.pds-item-radio:checked + .pds-item-radio-icon {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
@media (max-width: 375px) {
    .basket-num+.btn-icon {
        display: none;
    }
}
.modal-close.w-inline-block {
    outline: none;
}

.mps-grid-item-text {
    text-overflow: elipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.mps-grid-item-name {
    text-overflow: elipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.menu-page-nav::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.menu-page-nav::-webkit-scrollbar-track {
background-color: #E0E0E0;
border-radius: 10px;
}
.menu-page-nav::-webkit-scrollbar-thumb {
background-color: var(--color-secondary);
border-radius: 10px;
}
.menu-page-nav .mpn-item:last-child,
.my-account-menu .mpn-item:last-child{
margin-right: 0px;
}
.my-account-menu::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.my-account-menu::-webkit-scrollbar-track {
    background-color: #E0E0E0;
    border-radius: 10px;
}
.my-account-menu::-webkit-scrollbar-thumb {
    background-color: var(--color-secondary);
    border-radius: 10px;
}
.my-account-menu .mpn-item:last-child,
.my-account-menu .mpn-item:last-child {
    margin-right: 0px;
}
@media (min-width: 480px) {
    .mps-grid-item-text {
      text-overflow: elipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;  
      overflow: hidden;
    }
    .mps-grid-item-name{
      text-overflow: elipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;  
      overflow: hidden;
    }
}
@media (max-width: 479px) {
    .mps-grid-item-name {
        text-overflow: elipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;  
        overflow: hidden;
        display: block;
    }
    .mps-grid-item-text {
        text-overflow: elipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;  
        overflow: hidden;
    }
}
.menu-page-nav::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.menu-page-nav::-webkit-scrollbar-track {
background-color: #E0E0E0;
border-radius: 8px;
}
.menu-page-nav::-webkit-scrollbar-thumb {
background-color: var(--color-secondary);
border-radius: 8px;
}
.pds-item-radio:checked + .pds-item-radio-icon,
.pds-item-checkbox:checked + .pds-item-checkbox-icon{
    background-color: var(--color-secondary);
}
.overscroll {
    height: calc(92vh - 20rem);
overflow: auto;
}
@media (max-width: 479px) {
    .overscroll {
        /*height: calc(100vh - 21rem);*/
    height: auto;
    overflow: auto;
    }
.product-details-form {
    min-height: -webkit-fill-available;
}
}
.overscroll::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.overscroll::-webkit-scrollbar-track {
background-color: #E0E0E0;
border-radius: 10px;
}
.overscroll::-webkit-scrollbar-thumb {
background-color: var(--color-secondary);
border-radius: 10px;
}
.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn {
    padding-top: 0;
}


/* iphone 100vh fix */
:root {
    --app-height: 100%;
}
@media (max-width: 479px) {
    .product-details-form {
        height: 100vh;
        height: var(--app-height);
    }
}
/* iphone 100vh fix */


.quick-stack {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
}



.fancybox__container .pds-item-radio,
.fancybox__container .pds-item-checkbox {
    display: none !important;
}

@media screen and (max-width: 479px) {
    .header .logo-img,
    .header-inner .logo-img {
        max-width: 140px !important;
        max-height: 90px !important;
        height: auto !important;
        width: 100% !important;
    }
    .body.page-menu .mps-grid-item-text {
        font-size: var(--font-size-medium) !important;   
    }
}
@media screen and (max-width: 767px) {
    .ssi-ttx-text {
        font-size: 1.6rem;
    }
    .h3.text-center {
        font-size: 1.8rem !important;
    }
    .h3-fancy {
        font-size: 2rem !important;
    }
    .body.page-basket .boi-item-contains-list, 
    .body.page-basket .boi-cl-item-text, 
    .body.page-basket .boi-stack-cell {
        font-size: var(--font-size-medium) !important;
    }
    

}
    .menu-page .page-inner-wrapper {
        padding-bottom: 0;
    }

    .pds-item-stack {
        grid-template-rows: auto;
        grid-template-columns: 1fr .5fr .5fr;
    }

    .pds-item.pdsi-counter .pds-item-stack {
        grid-template-rows: auto;
        grid-template-columns: 1fr .5fr .5fr .5fr;
    }
    .boi-stack {
        grid-template-rows: auto;
        grid-template-columns: 22rem 1fr 10rem 10rem;
    }
    @media screen and (max-width: 767px) {
        .boi-stack {
            grid-template-rows: auto;
            grid-template-columns: 18rem 1fr;
        }
    }
    @media screen and (max-width: 479px) {
        .boi-stack {
            grid-template-rows: auto;
            grid-template-columns: 1fr;
        }
    }

    .modal-footer.centered {
        display: flex;
        flex-direction: column; /* Stacks elements vertically */
        align-items: center; /* Center elements horizontally */
        gap: 1rem; /* Space between elements */
    }

    .add-to-cart-btn {
        display: flex;
        align-items: center; /* Aligns icon and text */
    }
    .product-details-btn {
        width: 90%;
    }



    .overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: var(--color-secondary, #791f1a);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0.8;
    }


    .loader {
        border: 4px solid var(--color-primary, #f3d015);
        border-top: 4px solid var(--color-quaternary, #ffffff);
        border-radius: 50%;
        width: 80px;
        height: 80px;
        animation: spin 1s linear infinite;
        top: calc(50% - 40px);
        left: calc(50% - 40px);
        position: fixed;
    }
    @media screen and (orientation: landscape) {
        .maal-default-badge {
            max-width: 30rem;
            overflow: hidden;
        }
    }
    @media screen and (max-width: 767px) {
    }

    @media screen and (max-width: 479px) {
        .maal-default-badge {
            max-width: 20rem;
            overflow: hidden;
        }
    }
    .body:not(.page-homepage) .header-inner {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .body:not(.page-homepage) .menu-page-nav {
        position: sticky;
        top: 145px;
        z-index: 1;
    }
.body:not(.page-homepage) .my-account-menu {
    position: sticky;
    top: 145px;
    z-index: 1;
}

    @media screen and (orientation: landscape) {
        .body:not(.page-homepage) .menu-page-nav {
            position: sticky;
            top: 145px;
            height: 7rem;
            margin-bottom: 0;
            margin-left: 0;
            margin-right: 0;
            padding: 1.4rem 1.5rem 1.1rem;
        }
        .body:not(.page-homepage) .my-account-menu {
            position: sticky;
            top: 145px;
            height: 7rem;
            margin-bottom: 0;
            margin-left: 0;
            margin-right: 0;
            padding: 1.4rem 1.5rem 1.1rem;
        }
         .maal-default-badge {
            max-width: 30rem;
            overflow: hidden;
        }
    }
    @media screen and (max-width: 991px) {
        .body:not(.page-homepage) .menu-page-nav {
            position: sticky;
            top: 120px;
        }
        .body:not(.page-homepage) .my-account-menu {
            position: sticky;
            top: 120px;
        }
        .maal-default-badge {
            max-width: 35rem;
            overflow: hidden;
        }
    }
    @media screen and (max-width: 767px) {
        .body:not(.page-homepage) .menu-page-nav {
            position: sticky;
            top: 211px;
        }
        .body:not(.page-homepage) .my-account-menu {
            position: sticky;
            top: 211px;
        }
        .maal-default-badge {
            max-width: 30rem;
            overflow: hidden;
        }
    }
    @media screen and (max-width: 479px) {
        .body:not(.page-homepage) .menu-page-nav {
            position: sticky;
            top: 211px;
        }
        .body:not(.page-homepage) .my-account-menu {
            position: sticky;
            top: 211px;
        }

        .maal-default-badge {
            max-width: 25rem;
            overflow: hidden;
        }
    }

    .address-list-modal {
        max-height: 60vh;
        overflow: scroll;
    }

    @media screen and (min-width: 768px) {
        .my-details-form .two-stack {
            grid-template-rows: auto;
            grid-template-columns: 1fr 1fr;
        }
    }

    .body {
        min-height: 100vh;
    }
    .big-button,
    .btn-primary,
    .use-my-location-text,
    .modal-close-icon {
        cursor: pointer;
    }
    .modal {
        margin-left: auto;
        margin-right: auto;
    }

    pre.paragraph {
        /*white-space: pre-wrap ;*/
    }
    .counter-plus,
    .counter-minus {
        background: transparent;
    }
    .modal-footer.centered {
        display: block;
    }
        .modal-footer.centered .counter-module .counter.modal-counter {
            width: auto !important;
            justify-content: center;
        }
    .header-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .mps-grid-item {
        cursor: pointer;
    }
    .modal-close:hover {
        color: var(--modal-close-btn-color);
    }
    .search-form-field:focus {
        border-color: var(--store-search-bg-color);
    }
    .ssi-distance-badge {
        cursor: pointer;
    }
    .mpn-item-link {
        cursor: pointer;
    }
    .modal-counter-minus,
    .modal-counter-plus {
        background: transparent;
        padding: 0;
    }
    .pds-item-text {
        text-align: left;
    }
    .add-to-cart-btn {
        width: 100%;
    }
    .bm-container.position-middle {
        bottom: 0;
    }
    @media(max-width: 575px) {
        .bm-container.position-middle > .blazored-modal-focus-trap,
        .bm-container.position-middle > .blazored-modal-focus-trap > .modal,
        .bm-container.position-middle > .blazored-modal-focus-trap > .modal > .bm-content,
        #modal-product-details {
            height: 100%;
        }
    }
    .menu-page-section {
        margin-top: 3rem;
        margin-bottom: 0;
    }


    .body.page-account-addressBook .maal-item > div {
        grid-template-rows: auto;
        grid-template-columns: 1fr 140px;
    }

    .body.page-account-addressBook .maal-item .btn-white,
    .body.page-account-addressBook .maal-item .btn-white-inverted {
        width: 100%;
    }
    button[disabled] {
        cursor: default;
        opacity: 0.5;
        filter: blur(0.6px);
    }


    .body.page-basket .page-inner-wrapper .counter,
    .body.page-orderReview-ClickAndCollect .page-inner-wrapper .counter {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .body.page-basket .page-inner-wrapper .counter-minus,
    .body.page-orderReview-ClickAndCollect .page-inner-wrapper .counter-minus {
        font-size: 26px;
        color: var(--color-secondary);
        cursor: pointer;
    }
    .body.page-basket .page-inner-wrapper .counter-plus,
    .body.page-orderReview-ClickAndCollect .page-inner-wrapper .counter-plus {
        font-size: 26px;
        color: var(--color-secondary);
        cursor: pointer;
    }
    .body.page-basket .page-inner-wrapper .counter-value,
    .body.page-orderReview-ClickAndCollect .page-inner-wrapper .counter-value {
        width: 45px;
        font-size: 18px;
        text-align: center;
        font-weight: 900;
        background: none;
        border: none;
        text-align: center;
        color: var(--color-secondary);
    }
    @media (max-width: 375px) {
        .basket-num + .btn-icon {
            display: none;
        }
    }
    .tip-selector-item-link {
        cursor: pointer;
    }
        .tip-selector-item-link.active {
            cursor: default;
        }
    .rod-item {
        border-bottom: 1px dotted var(--color-secondary);
    }

    .modal-generic-action .paragraph.text-center.color-darkred.fz-18.fw-700 {
        word-wrap: break-word;
    }
    #modal-find-addresses-list .btn-primary.form-big.mt-2rem._w-160 {
        width: 100%;
    }
    #modal-find-addresses-list .modal-content.address-list-modal {
        padding: 0px 20px;
    }
    @media (min-width: 992px) {
        .review-order-stack {
            grid-template-rows: auto;
            grid-template-columns: 1fr 1fr;
        }
    }
    .body.page-homepage {
        background-attachment: fixed !important;
    }

.page-basket .basket-points-redeem {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.page-basket .points-numbers-text {
    color: var(--color-secondary);
}
.page-basket .section-separator {
    border-bottom: 1px solid var(--color-secondary);
    margin: 10px 0px 10px 0px;
}
.page-basket .form-input-numbers {
    max-width:100px;
}
.page-account-loyaltyscheme .loyaltySchemeIcon {
    font-size: 64px;
    color: var(--color-secondary);
}
.page-account-giftcard .buy-gift-card-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.page-account-giftcard .section-separator {
    border-bottom: 1px solid var(--color-secondary);
    margin: 10px 0px 10px 0px;
}
.page-account-ReferaFriend .social-media-icons {
    color: var(--btn-primary-bg-color);
    z-index:10;
    font-size:48px;
}
