f-product-customize{
    padding-top: 40px;
    position: relative;
    display: block;
}

f-product-customize .f-product-customize__360-media{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
f-product-customize .f-product-customize__360-media .product-main-media-360{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
f-product-customize .f-product-customize-container{
    display: flex;
    gap: 10px;
    padding-right: 100px;
    position: relative;
    z-index: 1;
}

f-product-customize .product-main-image{
    flex: 7 1 0;
    min-width: 0;
}

f-product-customize .product-info-left{
    flex: 3 1 0;
    min-width: 0;
}


f-product-customize .product-wrapper{
    display: flex;
    flex-direction: column;
    background-color: #1A1A1A;
    box-shadow: -3px -3px 4px 0 #8A8A8A inset, 3px 3px 4px 0 #D1D1D1 inset;
    border-radius: 6px;
    padding: 40px;
}

f-product-customize .wrapper-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
}
f-product-customize .wrapper-title{
    font-size: 40px;
    line-height: 1;
    font-family: var(--font-akzidenz-grotesk);
    font-weight: 700;
    color:#ffffff;
    text-transform: uppercase;
}
f-product-customize .product-main-image{
    position: relative;
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
f-product-customize .product-info-left{
    flex:0 0 40%;
    margin-bottom: 100px;
}
f-product-customize .product-tab{
    background-color: #2B2B2B;
    border-radius: 10px;
    padding: 18px 28px 20px 28px;
}
f-product-customize .product-row{
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

f-product-customize .product-icon-grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 10px 40px;
    color: #7B7B7B;
    overflow: hidden;
    width: 100%;
    bottom: 0;
}

f-product-customize .product-icon-grid::before{
    position: absolute;
    inset: 0;
    z-index: 0;
    content: '';
    background: rgba(26, 26, 26, 0.95);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%);
}

f-product-customize .product-icon-item{
    position: relative;
    z-index: 1;
}

f-product-customize .product-buy-button button{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 40px;
    color:#000;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    font-family: var(--font-akzidenz-grotesk);
    text-transform: uppercase;
}

f-product-customize .product-buy-button__spinner{
    display: none;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: f-product-customize-spin 0.7s linear infinite;
}

f-product-customize .product-buy-button button.is-loading .product-buy-button__spinner{
    display: block;
    position: absolute;
    inset: 50% auto auto 50%;
    margin: -9px 0 0 -9px;
}

f-product-customize .product-buy-button button.is-loading .product-buy-button__text{
    visibility: hidden;
}

f-product-customize .product-buy-button button.is-loading{
    cursor: wait;
    opacity: 0.75;
}

@keyframes f-product-customize-spin{
    to {
        transform: rotate(360deg);
    }
}

f-product-customize .tab-header{
    color: #F9F9F9;
    font-family: var(--font-hongmeng-sans-sc);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 28px;
}

f-product-customize .tab-title-item{
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    font-family: var(--font-hongmeng-sans-sc);
    cursor: pointer;
}

f-product-customize .tab-title-item.active{
    color: #F5731B;
}

f-product-customize .tab-title-group{
    display: flex;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #676767;
    margin-bottom: 26px;
}

f-product-customize .product-row{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 38px;
}

f-product-customize .product-image{
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

f-product-customize .product-image img,
f-product-customize .product-image svg{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

f-product-customize .product{
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

f-product-customize .product.active{
    border-color: #F5731B;
}

f-product-customize .f-product-customize-form{
    display: none;
}

f-product-customize .color-group{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

f-product-customize .color-item{
    width: 32px;
    height: 32px;
    padding: 0;
    overflow: hidden;
    border: 3px solid #2B2B2B;
    border-radius: 50%;
    outline: 1px solid #676767;
    background: #fff;
    cursor: pointer;
}

f-product-customize .color-item img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

f-product-customize .color-item.active{
    outline: 2px solid #F5731B;
}

f-product-customize .color-item:disabled{
    cursor: not-allowed;
    opacity: 0.35;
}

f-product-customize .tab-container-item{
    display: none;
}

f-product-customize .tab-container-item.active{
    display: block;
}

f-product-customize .product-variant-group{
    background-color: #2B2B2B;
    border-radius: 10px;
    padding: 18px 30px;
    margin-top: 30px;
}

f-product-customize .product-main-image-360-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
}
f-product-customize .product-main-media{
    width: 100%;
    height: 550px;
    max-height: 550px;
    display: flex;
    margin-left: auto;
    justify-content: flex-end;
}
f-product-customize .product-main-media.has-360-viewer{
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
f-product-customize .product-main-media.has-360-viewer.is-dragging{
    cursor: grabbing;
}
f-product-customize .product-main-media-360{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}
f-product-customize .product-main-media .empty-image-class{
    background-color: #676767;
}
f-product-customize .icon-360-wrapper{
    display: flex;
    justify-content: center;
}
f-product-customize .icon-360{
    width: 66px;
    height: 40px;
}
@media(max-width:959px){
    f-product-customize .product-main-media{
        height: 60vw;
        max-height: 550px;
    }
    f-product-customize .f-product-customize-container{
        flex-direction: column;
        padding-right: 0;
    }
    f-product-customize .product-main-image,
    f-product-customize .product-info-left{
        flex: none;
        width: 100%;
    }
    f-product-customize .product-main-image{
        padding: 20px;
    }
    f-product-customize .product-info-left{
        padding-inline: 20px;
        margin-bottom: 20px;
    }
    f-product-customize .product-wrapper{
        padding: 20px;
    }
    f-product-customize .product-variant-group{
        margin-top: 4vw;
    }
}
