@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,900;1,300;1,400;1,600&display=block');
:root {
    --mirra-accent: #000000;
}

/* Animations */
@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add to cart modal styles */

.mirra-add-to-cart-modal {
    width: 600px;
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: 5px 6px 60px rgba(0, 0, 0, 0.87);
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    border: 1px solid #E6E6E6;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    text-transform: none;
}

.try-before-you-buy-text {
    font-size: 34px;
    line-height: 34px;
    letter-spacing: 8px;
    color: #000000;
    opacity: 1;
    margin: 45px auto 20px auto;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadeInAnimation 1s ease forwards;
}

.try-up-to-items-text {
    font-size: 25px;
    line-height: 25px;
    color: #000000;
    margin: 15px auto;
    text-align: center;
    font-style: italic;
    font-weight: 300;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
    animation-delay: 0.1s;
}

.free-home-try-on-text {
    font-size: 26px;
    line-height: 26px;
    color: #000000;
    margin: 5px auto;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
    animation-delay: 0.2s;
}

.items-added-to-cart-text {
    font-size: 32px;
    line-height: 32px;
    color: #000000;
    text-align: center;
    margin: 5px auto;
    text-transform: uppercase;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    display: flex;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
    animation-delay: 0.4s;
}

.add-to-cart-divider {
    height: 2px;
    width: 100%;
    background-color: #000;
    margin: 30px auto;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
    animation-delay: 0.3s;
}

.terms-and-conditions-link-text {
    font-size: 14px;
    line-height: 14px;
    color: #000;
    text-align: center;
    font-weight: 300;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
    animation-delay: 0.6s;
}

.terms-and-conditions-link-text a:visited {
    color: #000;
}

/* Info modal styles */

.mirra-info-modal {
    width: 600px;
    height: 780px;
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: 5px 6px 60px rgba(0, 0, 0, 0.87);
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    border: 1px solid #E6E6E6;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    text-transform: none;
    padding: 30px 0px;
}

.mirra-exchange-modal {
    width: 600px;
    height: auto;
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: 5px 6px 60px rgba(0, 0, 0, 0.87);
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    border: 1px solid #E6E6E6;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    text-transform: none;
    padding: 30px 0px;
}

.modal-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    justify-items: center;
    gap: 0;
    max-width: 450px;
    margin: auto;
}

.svg-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon-container {
    cursor: pointer;
    vertical-align: top;
    display: inline-block;
    line-height: 0;
    height: 20px;
    width: 20px;
}

.modal-icon-container svg {
    width: 120px;
    height: 120px;
    fill: #000000;
}

.check-icon-container svg {
    width: 55px;
    height: 55px;
    fill: var(--mirra-accent);
}

.modal-row-container {
    width: 100%;
    height: 165px;
    opacity: 1;
    margin: 10px;
}

.arrow-container {
    display: flex;
    align-items: center;
    max-width: 50px;
    margin-top: -10px;
}

.modal-row-container.modal-row-subheader {
    height: 75px;
    min-width: 150px;
}

.modal-subheader {
    height: 65px;
}

.horizontal-bar {
    width: 90%;
    border-top: 2px solid black;
    display: block !important;
    border-radius: 25px;
    align-self: center;
    margin: 10px 0;
}

.modal-info-text {
    font-size: 14px;
    line-height: 14px;
    text-decoration: none;
    color: #000000;
}

.instructions-icon-container {
    vertical-align: text-bottom;
    margin-right: 8px;
    display: inline-block;
}

.additional-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.button-action {
    width: 250px;
    height: 50px;
    background: var(--mirra-accent) 0 0 no-repeat;
    color: #FFFFFF;
    border-radius: 25px !important;
    opacity: 1;
    margin: 15px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--mirra-accent);
    padding: 0;
    min-height: 0;
}

.button-action.button-action-secondary {
    background: #FFFFFF;
    color: var(--mirra-accent);
}

.button-action.button-logo {
    width: 125px;
    height: 25px;
    margin: -6px 5px !important;
}

.row-center {
    display: flex;
    justify-content: center;
    margin: 2px auto;
    flex-wrap: wrap;
}

.mirra-modal-overlay {
    display: none;
    position: fixed;
    vertical-align: middle;
    z-index: 100000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-icon-container {
    float: right;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.close-icon-container svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
}

.modal-header {
    display: flex;
    margin: 30px 30px 20px 30px;
    text-align: center;
    justify-content: center;
}

.modal-title-text {
    font-size: 32px;
    line-height: 32px;
    color: #000000;
    opacity: 1;
    text-transform: uppercase;
}

.modal-header-text {
    font-size: 20px;
    line-height: 20px;
    color: #000000;
    opacity: 1;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.modal-bold-text {
    font-weight: 600 !important;
}

.modal-sub-header-text {
    font-size: 12px;
    line-height: 14px;
    font-weight: 300;
    color: #000000;
    opacity: 1;
}

.heading-container,
.subheading-container {
    text-align: center;
}

.more-info-text {
    font-size: 12px;
    line-height: 12px;
    text-decoration: none;
    color: #625c5c;
    text-align: center;
    font-weight: 300;
}

.more-info-text a {
    cursor: pointer;
    text-decoration: underline;
}

.more-info-text a:visited {
    color: #625c5c;
}

.mirra-banner {
    width: 100px;
    height: 50px;
    margin: auto;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.mirra-banner > svg:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mirra-banner.banner-secondary {
    width: 125px;
    height: 55px;
    margin-top: -16px;
}

.mirra-banner.banner-large {
    width: 150px;
    height: 75px;
    margin-top: -25px;
    margin-bottom: -15px;
}

.mirra-banner svg {
    width: 100%;
    height: 100%;
}

.product-text-row {
    font-size: 12px;
    letter-spacing: normal;
    margin-top: 2px;
}

.product-logo-row {
    display: inline;
}

.product-logo-row > .mirra-banner {
    margin: -15px 0; /* 15px is the margin (top & bottom space) of the logo */
}

.product-logo-row > * {
    margin: 0;
    white-space: nowrap;
}

.button--full-width {
    width: 100%;
}

.mirra-display-desktop {
    display: block;
}

.mirra-display-mobile {
    display: none !important;
}

.mirra-error-message {
    background-color: #ffcccc;
    border: 1px solid #f00;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-height: 50px;
    overflow: hidden;
    margin: 5px auto;
    line-height: 12px;
    font-size: 12px;
}

.mirra-error-message-text {
    color: #f00;
}

.mirra-error-dismiss-btn {
    border: none;
    background-color: transparent;
    color: #777;
    cursor: pointer;
    font-size: 20px
}

.mirra-tooltip {
    visibility: hidden;
    text-align: center;
    position: absolute;
    justify-content: center;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    transition-delay: 0.1s;
    margin: 0;
}

.mirra-button:hover[disabled] ~ .mirra-tooltip, .mirra-tooltip:hover {
    visibility: visible;
    opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.product-instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    text-align: center;
}

.product-instructions-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 150px;
    margin: 0 auto;
}

.product-instructions-icon > svg {
    width: 100%;
    height: 100%;
    max-width: 100px;
    fill: var(--mirra-accent);
}

.modal-icon-container > svg {
    fill: var(--mirra-accent);
}

.product-instructions-header {
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

.product-instructions-subtitle {
    font-size: 13px;
    line-height: 13px;
    color: #000000;
    flex: auto;
}

.mirra-button {
    font-weight: normal;
}

.mirra-button:disabled {
    opacity: 0.5 !important;
}

.try-with-mirra-extension {
    display: none;
    text-transform: none;
    font-family: Poppins, sans-serif;
}

.mirra-info-modal-divider {
    height: 3px;
    width: 300px;
    background-color: #000;
    margin: 20px auto;
}

.heading-mobile {
    display: none;
}

.mirra-add-to-cart-banner {
    display: flex;
    width: 300px;
    height: 80px;
    text-align: center;
    margin: auto;
    align-items: center;
}

.try-item-added-header {
    font-size: 22px;
    line-height: 22px;
    letter-spacing: normal;
}

.mirra-modal-step-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 25px 0;
    border-top: 1px solid #000;
}

.mirra-modal-step-number {
    font-size: 40px;
    font-weight: 300;
    line-height: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    text-align: center;
    color: #000;
}

.mirra-modal-step-content {
    padding-left: 20px;
}

.mirra-info-modal-steps {
    padding: 0px 60px;
}

.mirra-modal-step-title {
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.mirra-modal-step-description {
    font-size: 12px;
    line-height: 1.5;
    color: #000;
}

.mirra-modal-content {
    display: flex;
    flex-direction: column;
    padding: 0 60px;
}

.mirra-modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 60px;
}

.mirra-modal-footer .mirra-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mirra-modal-footer .mirra-button-container button {
    width: 100%;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    font-family: Poppins;
    letter-spacing: 2px;
}

.mirra-modal-footer .mirra-terms {
    font-size: 12px;
    text-align: center;
}

.mirra-modal-footer .mirra-terms a {
    text-decoration: underline;
    color: inherit;
}

.modal-footer .mirra-banner {
    width: 120px;
    height: 60px;
}

.mirra-exchange-progress-bar {
    position: relative;
    width: 100%;
    background-color: #e0e0e0;
    height: 5px;
    border-radius: 5px;
}

.mirra-exchange-progress-bar-fill {
    position: absolute;
    background-color: #000;
    height: 100%;
    border-radius: 5px;
    display: block !important;
}

.mirra-exchange-time-left {
    font-weight: 600;
    display: block !important;
}

/* Mobile */
@media screen and (max-width: 625px) {
    .items-added-to-cart-text {
        font-size: 22px;
    }

    .mirra-add-to-cart-modal {
        transform: translate(-50%, -50%) scale(0.5);
        height: auto;
        padding: 10px 0px;
    }

    .mirra-add-to-cart-modal.first-item-added {
        transform: translate(-50%, -50%) scale(1);
        max-width: 95%;
    }

    .mirra-info-modal {
        width: 95%;
        height: auto;
        padding: 10px 0px;
    }

    .mirra-exchange-modal {
        width: 95%;
        height: auto;
        padding: 10px 0px;
        display: flex
    }

    .modal-header {
        margin-bottom: 0;
        margin: 10px 30px 0px 30px;
    }

    .modal-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
        min-width: 115px;
        margin: 0;
    }

    .modal-icon-container svg {
        width: 72px;
        height: 72px;
    }

    .horizontal-bar {
        display: none !important;
    }

    .modal-items-container {
        display: flex;
        max-width: 315px;
        margin: 20px auto;
    }

    .modal-info-text {
        font-size: 10px;
        line-height: 10px;
    }

    .modal-title-text {
        font-size: 20px;
        line-height: 23px;
    }

    .close-icon-container svg {
        width: 30px;
        height: 30px;
    }

    .modal-header-text {
        font-size: 16px;
        line-height: 16px;
        margin: 0;
    }

    .button-action {
        width: 150px;
        height: 38px;
        margin: 10px;
        font-size: 13px;
    }

    .modal-row-container {
        height: 80px;
    }

    .modal-row-text {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .additional-info-container {
        flex-direction: column;
        align-items: center;
    }

    .arrow-container {
        display: none;
    }

    .modal-row-container.modal-row-subheader {
        height: 80px;
        margin: 10px 0;
    }

    .more-info-text {
        font-size: 8px;
        line-height: 8px;
        max-width: 315px;
    }

    .modal-subheader {
        height: unset;
    }

    .add-to-cart-divider {
        margin: 20px auto;
    }

    .button-logo {
        display: none;
    }

    .modal-sub-header-text.subheading-container {
        text-align: left;
        max-width: 180px;
    }

    .heading-mobile {
        display: block;
        align-self: end;
    }

    .heading-desktop {
        display: none;
    }

    .mirra-info-modal-divider {
        margin: 10px auto;
        height: 2px;
    }

    .modal-sub-header-text {
        font-size: 11px;
        align-self: flex-start;
    }

    .mirra-banner.banner-large {
        width: 120px;
        height: 60px;
    }

    .mirra-modal-step-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 15px 0;
        border-top: 1px solid #000;
    }
    
    .mirra-modal-step-number {
        font-size: 30px;
        font-weight: 300;
        line-height: 0.9;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 25px;
        text-align: center;
    }
    
    .mirra-modal-step-content {
        padding-left: 15px;
    }
    
    .mirra-modal-step-title {
        padding-bottom: 5px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
    }
    
    .mirra-modal-step-description {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .mirra-modal-content {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }

    .mirra-info-modal-steps {
        padding: 0px 20px;
    }

    .mirra-modal-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .mirra-modal-footer .mirra-button-container {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }

    .mirra-modal-footer .mirra-button-container button {
        width: 100%;
        border-radius: 50px;
        color: #fff;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 500;
        font-family: Poppins;
        letter-spacing: 2px;
    }

    .mirra-modal-footer .mirra-terms {
        font-size: 12px;
        text-align: center;
    }

    .mirra-modal-footer .mirra-banner {
        width: 120px;
        height: 60px;
    }
}
