@import "design-tokens.less";
@import "layout-header-footer.less";

* {
    box-sizing: border-box;
    text-align: initial;
}

body {
    font-family: 'Gotham-book';
}
input,textarea{
    border:none;
    outline:none;
    margin:0;
    padding:0;
    font-family: 'Gotham-book';
}

.font-m {
    font-family: 'Gotham-med';
}
.font-b {
    font-family: 'Gotham-bold';
}
.font-r {
    font-family: 'Gotham-reg';
}
.font-l {
    font-family: 'Gotham-light';
}
.font-pro-b {
    font-family: 'Gotham-pro-bold';
}
.font-pro-m {
    font-family: 'Gotham-pro-med';
}
.font-pro-r {
    font-family: 'Gotham-pro-reg';
}
.font-pro-l {
    font-family: 'Gotham-pro-light';
}

.hide{
    display: none;
}

.rel {
    position: relative;
}
.abs {
    position: absolute;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.flex {
    display: flex;
}
.flex-col {
    display: flex;
    flex-direction: column;
}
.pc-only {
    @media (max-width: 990px) {
        display: none;
    }
}
.mo-only {
    @media (min-width: 991px) {
        display: none;
    }
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;

}
.justify-start{
    justify-content: start;
}
.justify-end{
    justify-content: end;
}
.justify-between {
    justify-content: space-between;
}
.justify-evenly {
    justify-content: space-evenly;
}
.justify-around {
    justify-content: space-around;
}

.bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.bg-img2{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: scale-down;
}
.abs-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.abs-center-x {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.abs-center-y {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

* .button:hover {
    background: #79bfe4 !important;
}

.button[type="submit"] {
    outline: none;
    border: none;
}

.text-white {
    color: white;
}
.text-black {
    color: black;
}
.text-blue{
    color:#3b91d1;
}
.text-red{
    color:#FF0000 !important;
}

.pointer{
    cursor: pointer;
}

.f-22{
    font-size: 2.2rem;
}



.consent-banner {
    position: fixed;
    bottom: 15px;
    z-index: 999;
    color: #fff;
    text-align: center;
    width: 100%;
    .consent-prompt {
        display: block;
        text-align: left;
        border-radius: 4px;
        background-color: #FFF;
        color: #444;
        font-size: 14px;
        z-index: 1000;
        word-break: break-word;
        box-shadow: 0px 0px 8px 6px #666;
        width: 60%;
        min-width: 300px;
        margin: auto;
        .close-btn-thick {
            position: absolute;
            display: block;
            top: 10px;
            right: 21%;
            text-decoration: none;
            text-shadow: 0 1px 0 #fff;
            color: #777;
            font: 14px / 100% arial, sans-serif;
            cursor: pointer;
            &::after {
                content: "\2716";
            }
        }
        .consent-prompt-content {
            padding: 20px;
            font-size: 0.9em;
            background-color: white;
            margin: auto;
            .consent-header {
                font-size: 1.3em;
                color: #444;
                font-weight: 400;
            }
            .consent-content {
                font-size: 2.2rem;
                line-height: 1.2;
                margin-top: 1.6rem;
                margin-bottom: 1.6rem;
                @media (max-width: 990px) {
                    font-size: 12px;
                }
            }
            .consent-footer {
                padding: 0px 20px 20px 20px;
                overflow: auto;
                display: flex;
                justify-content: flex-end;
                @media (max-width: 990px) {
                    flex-direction: column;
                    padding: 20px 0;
                }
                .button {
                    font-size: 1em;
                    padding: 4px 15px;
                    min-width: 50px;
                    text-align: center;
                    border-radius: 4px;
                    background-color: #1F94D2;
                    color: #FFFFFF;
                    cursor: pointer;
                    margin: 0 5px;
                    @media (max-width: 990px) {
                        padding: 8px 12px;
                    }
                }
                #consent-reject-button {
                    background: transparent;
                    color: #1f94d2;
                    border: 1px solid #1f94d2;
                    @media (max-width: 990px) {
                        margin-bottom: 12px;
                    }
                    &:hover {
                        background: transparent !important;
                    }
                }
            }
            a {
                text-decoration: none;
                color: #0077bf;
            }
        }
    }
}

.categories {
    display: none;
    padding-top: 8.3rem;
    .title {
        margin-left: 10rem;
        color: #333333;
        font-size: 4rem;
        margin-bottom: 5.2rem;
    }
    .pills {
        padding-left: 10rem;
        padding-right: 10rem;
        .pill {
            padding: 1.2rem 1.2rem;
            white-space: nowrap;
            font-size: 1.8rem;
            background-color: #ebebeb;
            box-shadow: 0px 0.6rem 1rem 0px 
                rgba(0, 0, 0, 0.18);
            border-radius: 2rem;
            cursor: pointer;
            color: black;
            &.active {
                background-color: #1f94d2;
                box-shadow: 0px 0.6rem 1rem 0px 
                    rgba(0, 0, 0, 0.18);
                border-radius: 2rem;
                color: white;
            }
        }
    }
}

.ani-tab-grid {
    width: 100%;
    .ani-tab-grid-title {
        cursor: pointer;
        padding-top: 4.8rem;
        padding-bottom: 4.8rem;
        padding-left: 11.4rem;
        padding-right: 11.4rem;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 172rem;
        background-image: linear-gradient(-90deg, 
            #ededed 0%, 
            #f7f7f7 100%), 
        linear-gradient(
            #000000, 
            #000000);
        background-blend-mode: normal, 
            normal;
        border-radius: 0.5rem;
        .tab-grid-left {
            color: #333333;
            font-size: 4rem;
            font-family: 'Gotham-pro-bold';
        }
        .tab-grid-right {
            display: flex;
            align-items: center;
            color: #333333;
            font-size: 2.8rem;
            font-family: 'Gotham-pro-med';
            .plus {
                margin-left: 2rem;
            }
        }
    }
    .ani-tab-show-more {
        width: 100%;
        position: relative;
        overflow: hidden;
        height: 0;
        transition: height 0.3s ease;
        margin-top: 0.3rem;
        .video-grid {
            width: 100%;
            height: 41.7rem;
            top: 0;
            left: 0;
            .video-grid-inner {
                color: white;
                align-items: center;
                justify-content: center;
                .play-btn {
                    width: 2.8rem;
                    height: 2.8rem;
                    margin-right: 0.6rem;
                }
                .title {
                    font-size: 4rem;
                    font-family: 'Gotham-pro-bold';
                }
                .desc {
                    margin-top: 2.6rem;
                    font-size: 2.2rem;
                    line-height: 1.5;
                    width: 46.4rem;
                    text-align: center;
                }
                .button {
                    margin-top: 3rem;
                    width: 16.9rem;;
                    height: 4rem;
                    background-color: #1f94d2;
                    border-radius: 2rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: #fff;
                    font-size: 2.2rem;
                }
            }
        }
      }
}

.button-expand-area {
    position: absolute;
    width: 600%;
    height: 300%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.m-1{
	margin-top: 1rem;
}
.m-2{
	margin-top: 2rem;
}
.m-3{
	margin-top: 3rem;
}
.m-4{
	margin-top: 4rem;
}

.slider-bar {
    top: 21rem;

    .slider-title .quick-icon {
        background: url("/images/new/toolbox/yuan.svg") no-repeat center center;
        background-size: 1.4rem 1.4rem;
    }

    

    .slider-bar-btn {
        .shop-icon{
            background: url("/images/new/toolbox/shop-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .line-icon{
            background: url("/images/new/toolbox/line-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .access-icon{
            background: url("/images/new/toolbox/access-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .brand-icon{
            background: url("/images/new/toolbox/brand-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .promo-icon{
            background: url("/images/new/toolbox/promo-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .booth-icon{
            background: url("/images/new/toolbox/booth-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .doc-icon{
            background: url("/images/new/toolbox/doc-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .plibrary-icon{
            background: url("/images/new/toolbox/plibrary-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .fullvideo-icon{
            background: url("/images/new/toolbox/fullvideo-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .linecard-icon{
            background: url("/images/new/toolbox/linecard-blue.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
    }
    .active{
        background-color: #199fcd;
        .text{
            color:#fff;
            position: relative;
            &::after{
                display: block;
                content: "";
                position: absolute;
                top: 50%;        /* 垂直居中 */
                right: 1rem;    /* 距离右边距离 */
                margin-top: -0.2rem; /* 微调位置，让视觉更居中 */
                
                width: 0;
                height: 0;
                border-top: 0.3rem solid transparent;
                border-bottom: 0.3rem solid transparent;
                border-left: 0.5rem solid #fff;
            }
        }
        .shop-icon{
            background: url("/images/new/toolbox/shop-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .line-icon{
            background: url("/images/new/toolbox/line-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .access-icon{
            background: url("/images/new/toolbox/access-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .brand-icon{
            background: url("/images/new/toolbox/brand-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .promo-icon{
            background: url("/images/new/toolbox/promo-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .booth-icon{
            background: url("/images/new/toolbox/booth-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .doc-icon{
            background: url("/images/new/toolbox/doc-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .plibrary-icon{
            background: url("/images/new/toolbox/plibrary-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .fullvideo-icon{
            background: url("/images/new/toolbox/fullvideo-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
        .linecard-icon{
            background: url("/images/new/toolbox/linecard-white.png") no-repeat center center;
            background-size: 1.6rem 1.8rem;
        }
    }
}

// @media screen and (min-width: @bp-desktop) {
//     .slider-bar {
//         .toolbox-slider-bar-desktop();
//     }
// }

.hovera{
	cursor: help;
	&:hover{
		text-decoration-line: underline;
  		text-decoration-style: dotted;
	}
}

.tooltip {
    font-size: 1.2rem;
    line-height: 1.5;
    position: absolute;
    padding: 0.5rem;
    z-index: 100003;
}

.tipsy-arrow {
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    border: 0.6rem dashed #1d9edc;
    top: 0;
    left: 20%;
    margin-left: -0.6rem;
    border-bottom-style: solid;
    border-top: 0;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-arrow-n {
    border-bottom-color: #1d9edc;
} 

.tipsy-inner {
    border: 0.1rem solid #1d9edc;
    border-radius: 1rem;
    background-color: #1d9edc;
    color:#fff;
    max-width: 20rem;
    padding: 0.5rem 0.8rem;
    text-align: center;
}






























.breadcrumb-nav{
    margin-top: 8.7rem;
    padding-left: 0rem;
    margin-bottom: 11rem;
    width: 120rem;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    color: #858585;
    font-size: 1.8rem;
    margin-bottom: 5rem;
}


.mt-3{
    margin-top: 3rem;
}

.ml-2{
    margin-left: 2rem;
}






@media (max-width: 990px) {
    .breadcrumb-nav{
        margin-top: 4rem;
        padding-left: 0rem;
        margin-bottom: 4rem;
        width: 100%;
        margin-left: 1.6rem;
        margin-right: 1.6rem;
        overflow: hidden;
        color: #858585;
        font-size: 1.8rem;
        margin-bottom: 5rem;
    }
#main {
        margin-top: 5.5rem;
        sup {
            transform-origin: top;
            transform: scale(0.6);
        }
    }
    @keyframes consent {
        0% {
            transform: translateY(calc(100% + 5rem));
        }
        100% {
            transform: translateY(0)
        }
    }
    .consent-banner {
        transform: translateY(calc(100% + 5rem));
        animation: consent 0.3s linear forwards;
    }
    .categories {
        padding-top: 7.7rem;
        .title {
            margin-left: 1.5rem;
            font-size: 2.4rem;
            letter-spacing: 0px;
            margin-bottom: 7.2rem;
        }
        .pills {
            padding-left: 5.4rem;
            padding-right: 5.4rem;
            flex-wrap: wrap;
            .pill {
                width: 47rem;
                padding: 0;
                height: 12rem;
                text-align: center;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 1.2rem;
                letter-spacing: -0.5px;
                border-radius: 6rem;
                box-shadow: 0px 0.6rem 1rem 0px 
                rgba(0, 0, 0, 0.18);
                &.active {
                    border-radius: 6rem;
                    box-shadow: 0px 0.6rem 1rem 0px 
                rgba(0, 0, 0, 0.18);
                }
                &:nth-child(1) {
                    margin-bottom: 5rem;
                }
                &:nth-child(2) {
                    margin-bottom: 5rem;
                }
                &:nth-child(5) {
                    margin-top: 5rem;
                }
                &:nth-child(6) {
                    margin-top: 5rem;
                }
            }
        }
    }
    .ani-tab-grid {
        .ani-tab-grid-title {
            width: 38.2rem;
            padding-left: 1.3rem;
            padding-right: 1.3rem;
            padding-top: 1.3rem;
            padding-bottom: 1.3rem;
            border-radius: 0.5rem;
            .tab-grid-left {
                font-size: 1.6rem;
            }
            .tab-grid-right {
                font-size: 1.2rem;
                .plus {
                    margin-left: 1.8rem;
                }
            }
        }
        .ani-tab-show-more {
            margin-top: 0;
            .video-grid {
                height: 26rem;
                .video-grid-inner {
                    padding-top: 4.9rem;
                    padding-left: 8rem;
                    padding-right: 8rem;
                    align-items: center;
                    justify-content: flex-start;
                    .play-btn {
                        width: 3.2rem;
                        height: 3.2rem;
                        margin-right: 1rem;
                    }
                    .title {
                        font-size: 2.4rem;
                    }
                    .desc {
                        text-align: center;
                        font-size: 1.2rem;
                        margin-top: 1.1rem;
                        width: 100%;
                    }
                    .button {
                        font-size: 1.6rem;
                        text-align: center;
                        width: 20.4rem;
                        margin-top: 3.2rem;
                        border-radius: 3.1rem;
                        height: 5.4rem;
                    }
                }
            }
        }
    }
}



#reset-popup {
    &.hidden {
        display: none;
    }
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.52);
    .popup-content {
        .close-wrapper {
            width: 3rem;
            height: 3rem;
            right: -5rem;
            top: 0;
            border: 1px solid #fff;
            border-radius: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0.5;
            .close-img {
                width: 1rem;
                height: 1rem;
            }
        }
        position: relative;
        background: white;
        width: 50rem;
        border-radius: 1.4rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 5rem;
        padding-right: 5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        .popup-title {
            font-size: 2.8rem;
            color: #222;
            margin-bottom: 3rem;
        }
        .popup-desc {
            font-size: 1.4rem;
            color: #666;
            line-height: 1.125;
            margin-bottom: 3rem;
        }
        .button {
            cursor: pointer;
            width: 100%;
            height: 4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 2rem;
            background: #1f94d2;
            color: #fff;
            font-size: 1.6rem;
            box-shadow: 0px 0.2rem 1.4rem 0px rgba(0,107,153,0.2);
            margin-top: 1rem;
            margin-bottom: 3rem;
        }
        .cancel-button {
            cursor: pointer;
            color: #666;
            font-size: 1.6rem;
            text-align: center;
        }
        .label {
            color: #222;
            font-size: 1.4rem;
            margin-bottom: 1rem;
          }
        .input-grid {
            width: 100%;
            margin-bottom: 3rem;
            input {
              width: 100%;
              outline: none;
              height: 3.5rem;
              font-size: 1.4rem;
              border-radius: 0.5rem;
              border: 1px solid #cbcbcb;
              padding-left: 2.8rem;
              padding-right: 2.8rem;
              display: flex;
              align-items: center;
              color: #818181;
              &::placeholder {
                color: #c2c2c2;
              }
              &:active {
                border-color: #1f94d2;
              }
              &:focus {
                border-color: #1f94d2;
              }
              &:focus-within {
                border-color: #1f94d2;
              }
            }
          }
        .popup-bottom {
            width: 100%;
            font-size: 1.4rem;
            color: #888;
            .forgot-button, .signup-button {
                color: #666;
                cursor: pointer;
                text-decoration: underline;
                text-underline-offset: 3px;
            }
        }
    }

    .m-1{
        margin-top: 1rem;
    }
    .m-2{
        margin-top: 2rem;
    }
    .m-3{
        margin-top: 3rem;
    }
    .m-4{
        margin-top: 4rem;
    }

}

/* slider-bar 手机版见 css/toolbox-filter.less（Quick Nav 底栏，与 shop Filters 同款） */

/* Legal / policy pages — full-width title strip, no hero image (see terms, privacy) */
.page-legal-banner {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    background: #1f94d2;
    padding-top: 6.4rem;
    padding-bottom: 6.4rem;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-legal-banner-inner {
    .home-section-shell();
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}

.page-legal-banner-title {
    margin: 0;
    font-size: 4.4rem;
    font-weight: inherit;
    line-height: 1.2;
    letter-spacing: -0.1rem;
    color: #fff;
}

@media (max-width: 990px) {
    .page-legal-banner {
        background: #fff;
    }

    .page-legal-banner-inner {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .page-legal-banner-title {
        font-size: 2.2rem;
        letter-spacing: normal;
        color: #000;
    }
}










[data-target="sub-accounts"],
[data-target="sub-account-orders"],
[data-target="sellsheet-manage"],
[data-target="gift-manage"]
{
    display: none;
}