/*LINKTREE*/

.linktree {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    overflow: auto;
}

/*HEADER*/

.linktree-header {
    width: 100%;
    height: 138px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: var(--color-primary);
    background-position: center;
}

.linktree-header>div {
    /* background: rgba(0, 0, 0, 0.25); */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/*BODY*/

.linktree-body {
    width: 100%;
    height: calc(100% - 138px);
    max-width: 720px;
    background: #FFFFFF;
    margin: 0 auto;
    padding: 0 16px;
}

/*PROFILE*/

.linktree-profile {
    max-width: 384px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    height: calc(100% - 56px);
    /* overflow: auto; */
}

.linktree-profile-info {
    display: flex;
    /* margin-top: 16px; */
    padding-bottom: 24px;
    padding-top: 16px;
}

.linktree-profile-img {
    min-width: 104px;
    min-height: 104px;
    max-width: 104px;
    max-height: 104px;
    border: 1px solid #DDDDDD;
    border-radius: 112px;
    background: #FFFFFF;
    margin-right: 12px;
    object-fit: cover;
}

.linktree-profile-name {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    color: #4d4d4d;
    margin-bottom: 8px;
    text-align: left;
}

.linktree-profile-address {
    display: flex;
    margin-bottom: 8px;
}

.linktree-profile-payment {
    display: flex;
}

.linktree-profile-address svg,
.linktree-profile-payment svg {
    margin-right: 4px;
    min-width: 17px;
    min-height: 16px;
}

.linktree-profile-address p,
.linktree-profile-payment p {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #4D4D4D;
    text-align: left;
    overflow: hidden;
    /* max-height: 40px; */
}

.linktree-profile-time {
    width: 100%;
    background: #F5F5F5;
    border-radius: 8px;
    margin-bottom: 32px;
}

.linktree-profile-time-minimized {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
    position: relative;
    padding: 0 8px;
    cursor: pointer;
}

.linktree-profile-time-minimized-status {
    display: flex;
    align-items: center;
}

.linktree-profile-time-minimized-status img {
    margin-right: 4px;
    animation: blinker 1.25s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.linktree-profile-time-minimized p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.linktree-profile-time-minimized-status p::after {
    color: #25A65B;
    content: "Aberto agora";
}

.linktree-profile-time-minimized-status.closed p::after {
    content: "Fechado";
    color: #a80606;
}

.linktree-profile-time-minimized-status.closed img {
    display: none;
}

.linktree-profile-time-minimized-button,
.linktree-profile-instructions-minimized-button {
    position: absolute;
    right: 6px;
    display: flex;
    align-items: center;
}

.linktree-profile-time-minimized-button p::after {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-primary);
    content: "Ver horários";
}

.linktree-profile-instructions-minimized-button p::after {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-primary);
    content: "Instalar";
}

.linktree-profile-time.opened .linktree-profile-time-minimized-button p::after {
    content: "Fechar";
}

.linktree-profile-time .linktree-profile-time-minimized-button svg,
.linktree-profile-time .linktree-profile-instructions-minimized-button svg {
    -webkit-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
}

.linktree-profile-time.opened .linktree-profile-time-minimized-button svg,
.linktree-profile-install-instructions.opened .linktree-profile-instructions-minimized-button svg,
.linktree-profile-install-instructions.opened .linktree-profile-time-minimized-button svg {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -webkit-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
    margin-top: 2px;
}

.linktree-profile-time-maximized {
    display: none;
    text-align: left;
    padding: 14px 8px 18px 8px;
}

.linktree-profile-time-maximized .divider {
    width: 100%;
}

.linktree-profile-time-maximized-title {
    height: 20px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4d4d4d;
    margin: 16px 0;
}

.linktree-profile-time-maximized-row:not(:first-child):not(:last-child) {
    margin: 18px 0;
}

.linktree-profile-time-maximized-row p:nth-child(1) {
    height: 24px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4d4d4d;
}

.linktree-profile-time-maximized-row p:nth-child(2) {
    height: 20px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4d4d4d;
}

.linktree-profile-install-instructions {
    background-color: #F5F5F5;
    padding: 8px;
    border-radius: 8px;
}

.linktree-profile-install-instructions-title {
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
    color: #4D4D4D;
    margin-bottom: 8px;
}

.linktree-profile-install-instructions-subtitle {
    font-family: Inter;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    color: #4D4D4D;
}

.linktree-profile-install-instructions-list {
    list-style-type: disc !important;
    margin-block: 8px;
    padding-inline: 24px;
}

.linktree-profile-install-instructions-last-list {
    list-style-type: disc !important;
    margin-block-start: 8px;
    margin-block-end: 0px;
    padding-inline: 24px;
}

.linktree-profile-install-instructions-list-item {
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    color: #4D4D4D;
}

.linktree-button {
    display: flex;
    width: 100%;
    height: 44px;
    padding: 8px 16px;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    /* letter-spacing: 0.28px; */
    color: var(--color-primary);
    background: #FAFAFA;
    margin-bottom: 16px;
    border: 0.5px solid rgba(11, 19, 36, 0.07);
    box-shadow: 0px -0.5px 0px 0px rgba(11, 19, 36, 0.10) inset, 0px 0.5px 3px 0px rgba(11, 19, 36, 0.10);
    -webkit-box-shadow: 0px -0.5px 0px 0px rgba(11, 19, 36, 0.10) inset, 0px 0.5px 3px 0px rgba(11, 19, 36, 0.10);
    /* box-shadow: 0px 0.5px 3px 0px rgba(0, 0, 0, 0.01); */
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
}

.linktree-button:hover {
    transform: scale(1.005);
    /* box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.20); */
    box-shadow: 0px -0.5px 0px 0px rgba(11, 19, 36, 0.10) inset, 0px 4px 4px -4px rgba(0, 0, 0, 0.19);
    backdrop-filter: saturate(102%) brightness(102%);
    -webkit-backdrop-filter: saturate(102%) brightness(102%);
    -webkit-box-shadow: 0px -0.5px 0px 0px rgba(11, 19, 36, 0.10) inset, 0px 4px 6px -4px rgba(0, 0, 0, 0.19);
    transition: transform 0.5s ease-in-out, box-shadow 0.2s ease-in;
    -webkit-transition: -webkit-transform 0.5s ease-in-out, box-shadow 0.2s ease-in;
}


.linktree-button:visited {
    color: var(--color-primary);
}

.linktree-button img {
    display: none;
}

.linktree-button:active {
    opacity: 0.6;
    transition: 0.1s;
}

/*Novo botão estiloso*/

.linktree-button.pedir-online {
    display: flex;
    background: var(--color-primary);
    height: 48px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    padding: 0px !important;
    border-radius: 12px;
    box-shadow: 0px 2px 2px -1.5px rgba(0, 0, 0, 0.614);
    overflow: hidden;
    cursor: pointer;
}

.linktree-button.pedir-online:hover {
    transform: scale(1.005);
    box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.50);
    transition: transform 0.5s ease-in-out, box-shadow 0.2s ease-in;
    -webkit-transition: -webkit-transform 0.5s ease-in-out, box-shadow 0.2s ease-in;
}

.linktree-button.pedir-online:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: saturate(102%) brightness(102%);
    -webkit-backdrop-filter: saturate(102%) brightness(102%);
    z-index: 99;
}

.linktree-button.pedir-online:not(:hover) {
    transform: scale(1);
    box-shadow: 0px 2px 2px -1.5px rgba(0, 0, 0, 0.614);
    transition: transform 0.5s ease-in-out, box-shadow 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out, box-shadow 0.2s ease-out;
}

.linktree-button.pedir-online:active,
.linktree-button.pedir-online:focus {
    transform: scale(0.995);
    box-shadow: 0px 2px 2px -1.5px rgba(0, 0, 0, 0.8);
    transition: transform 0.012s ease-in-out, box-shadow 0.012s ease-in;
    -webkit-transition: -webkit-transform 0.012s ease-in-out, box-shadow 0.012s ease-in;
}

.linktree-button.pedir-online:active::after,
.linktree-button.pedir-online:focus::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: brightness(95%);
    -webkit-backdrop-filter: brightness(95%);
    z-index: 3;
}

.linktree-button.pedir-online .button-inner {
    display: flex;
    align-items: center;
    /* padding: 12px 8px; */
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 1px 2px rgba(255, 255, 255, 0.10) inset;
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    user-select: none;
    -webkit-user-select: none;
    color: #FFF;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    z-index: 2;
}

.linktree-button.pedir-online .button-inner svg.menuic {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
}

.linktree-button.pedir-online .button-inner svg {
    height: 16px;
    width: 0;
    transition: 0.2s;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.linktree-button.pedir-online:hover .button-inner svg.arrow {
    width: 16px;
    margin-left: 4px;
}

.linktree-button.pedir-online .button-inner::before {
    content: "";
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
    transform: skew(-30deg, 0deg);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 1%,
            rgba(255, 255, 255, 0.6) 30%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.85) 60%,
            rgba(255, 255, 255, 0.85) 61%,
            rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff',
            endColorstr='#00ffffff',
            GradientType=1);
    animation: button-move 3s;
    animation-iteration-count: infinite;
    animation-delay: 1.5s;
}

.linktree-button.pedir-online.loading {
    pointer-events: none;
    opacity: 0.75;
}

.linktree-button.pedir-online.loading .button-inner svg.arrow {
    display: none;
}

.linktree-button.pedir-online.loading .button-inner svg.spin {
    width: 16px;
    margin-left: 8px;
}

@keyframes button-move {
    0% {
        left: 0;
        opacity: 0;
    }

    5% {
        opacity: 0.0;
    }

    30% {
        opacity: 0.2;
    }

    60% {
        opacity: 0.0;
    }

    100% {
        left: 100%;
    }
}

.linktree-button svg {
    /* margin-right: 4px; */
}

.linktree-button.pedir-mesa svg {
    margin-right: 4px;
}

.linktree-share {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    height: 40px;
    margin-top: 64px !important;
    cursor: pointer;
}

.linktree-share:active {
    opacity: 0.6;
    transition: 0.1s;
}

.linktree-share p::after {
    height: 20px;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    /* letter-spacing: 0.4px; */
    color: var(--color-primary);
    margin-left: 4px;
    content: "Compartilhar";
}

.linktree-share.message {
    display: flex;
    width: 100%;
    z-index: 2;
    margin: 0 auto;
}

.linktree-share.message p::after {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    /* letter-spacing: 0.4px; */
    color: #25A65B;
    margin-left: 4px;
    white-space: nowrap;
    content: "Link copiado! Agora é só compartilhar!";
}

.linktree-share.message svg path {
    d: path("M19.0709 9.49412C19.0709 14.6816 14.7265 19.0061 9.58285 19.0061C4.37968 19.0061 0.0749054 14.7212 0.0749054 9.49412C0.0749054 4.29497 4.37968 0.00608826 9.58285 0.00608826C14.79 0.00608826 19.0709 4.29095 19.0709 9.49412ZM12.962 5.29368L8.40592 11.6227L6.09569 9.12581C5.89315 8.92308 5.60715 8.73643 5.20208 8.73643C4.56288 8.73643 4.03472 9.24067 4.03472 9.89958C4.03472 10.1697 4.12622 10.5191 4.34847 10.7455L7.52034 14.2275C7.74681 14.4976 8.13982 14.6129 8.45358 14.6129C8.85464 14.6129 9.23961 14.454 9.42243 14.1839L14.8521 6.62396C15.0267 6.40151 15.118 6.14346 15.118 5.93288C15.118 5.27377 14.5701 4.76552 13.9548 4.76552C13.5182 4.76552 13.1646 4.98394 12.962 5.29368Z");
}

.linktree-share.message svg * {
    fill: #25A65B !important;
}

/*LINKTREE CLOSED*/

.linktree.closed {
    position: unset;
    top: unset;
    height: unset;
}

.linktree.closed .linktree-button {
    display: none;
}

.linktree.closed .linktree-profile {
    height: unset !important;
    min-height: unset !important;
}

.linktree.closed .linktree-profile-info {
    margin-top: 0px;
}

.linktree.closed .linktree-share {
    display: none;
}

.linktree.closed .linktree-profile-time {
    margin-bottom: 0;
}

.linktree.closed .simulate-shipping,
.linktree.closed .dropdown-districts {
    display: block;
}

.linktree.closed .linktree-body {
    padding-top: 16px;
}

/*SIMULATE SHIPPING*/

.simulate-shipping,
.linktree .dropdown-districts {
    display: none;
}

.linktree .dropdown-districts-button {
    background: #F5F5F5;
    box-shadow: none !important;
}

.simulate-shipping-field {
    margin-top: 24px;
}

.simulate-shipping-field>div {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
}

.simulate-shipping-error {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    /* letter-spacing: 0.4px; */
    color: #B00020;
    text-align: right;
    margin-top: 8px;
    display: none;
}

.simulate-shipping-address {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #4d4d4d;
    margin-top: 8px;
    text-align: left;
    display: none;
}

.simulate-shipping-field>div p {
    display: flex;
    align-items: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4d4d4d;
}

.simulate-shipping-field>div p>div {
    color: #25A65B;
    margin-left: 4px;
}

.simulate-shipping-field>div>div {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 40px;
}

.simulate-shipping-field>div>div input[type="text"] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    width: 104px;
    height: 40px;
    background: #FCFCFC;
    border-radius: 8px 0 0 8px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 131%;
    letter-spacing: 0.023em;
    color: #4d4d4d;
    border: 0.5px solid #DDDDDD;
    border-right: none;
}

.simulate-shipping-field>div>div button {
    width: 80px;
    height: 40px;
    background: var(--color-primary-effects);
    color: var(--color-primary);
    border-radius: 0 8px 8px 0;
    border: 0.5px solid #DDDDDD;
    border-left: none;
}

.simulate-shipping-field>div>div button::after {
    content: "Verificar";
}

.address-button {
    margin-top: 16px;
    background: #EBF5FF;
    border-radius: 8px;
    border: none;
    width: 100%;
    height: 44px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #0962BA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-button svg {
    margin-right: 8px;
}

.simulate-shipping.default .simulate-shipping-field>div>div input[type="text"] {
    display: none;
}

.simulate-shipping.default .simulate-shipping-field>div>div button {
    display: flex;
    align-items: center;
    text-align: right;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-primary);
    width: unset;
    height: 16px;
    background: none;
    border: none;
    padding: unset;
}

.simulate-shipping.default .simulate-shipping-field>div>div button::after {
    content: "Inserir CEP";
}

.simulate-shipping.default .address-button {
    display: none;
}

.simulate-shipping.result .simulate-shipping-address {
    display: block;
}

.simulate-shipping.result .simulate-shipping-field>div>div input[type="text"] {
    display: none;
}

.simulate-shipping.result .simulate-shipping-field>div>div button {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: right;
    /* letter-spacing: 0.4px; */
    /* font-feature-settings: 'tnum' on, 'lnum' on; */
    color: var(--color-primary);
    width: unset;
    height: 20px;
    background: none;
    border: none;
    padding: unset;
}

.simulate-shipping.result .simulate-shipping-field>div>div button::after {
    content: "Alterar CEP";
}

.simulate-shipping.result .address-button {
    display: none;
}

@media screen and (min-width: 720px) {
    .linktree-header {
        z-index: -1;
        height: 272px;
    }

    .linktree-body {
        margin-top: -48px;
        border-radius: 16px 16px 0px 0px;
        padding-top: 32px;
        /* height: calc(100% - 96px); */
        height: 100%;
    }

    .linktree.closed .linktree-body {
        padding-top: 32px;
        border-radius: 16px 16px 0px 0px;
    }

    .linktree.closed .linktree-profile {
        display: flex;
        max-width: 672px;
        gap: 16px;
    }

    .linktree.closed .linktree-profile-info,
    .linktree.closed .linktree-profile-second {
        width: 100%;
        padding: 0;
    }

    .bottom-bar .option {
        width: 96px;
    }

    .bottom-bar .option:not(:last-child) {
        margin-right: 24px;
    }

    .simulate-shipping-field {
        margin-top: 8px;
    }
}

@media screen and (min-width: 1440px) {
    .linktree-body {
        margin: -96px auto 0 auto;
        border-radius: 16px;
        /* border-radius: 16px 16px 0px 0px; */
        overflow: auto;
    }

    .linktree:not(.closed) .linktree-body {
        height: 720px;
    }
}