@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

/* 피팅 커스텀 UI */
.fm-top-copyright {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 56px;
}
.fm-logo {
    position: absolute;
    top: 4px;
    left: 50%;
	transform: translate(-50%);
}
.fm-capture-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 142px;
    height: 142px;
}
.fm-capture {
    position: absolute;
    bottom: 114px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: center url(https://apilive.fittingmonster.com/iframe/img/v2/i_camera.png) no-repeat;
    background-color: #fff;
    border-radius: 50%;
}
.fm-product-outer {
    position: fixed;
    width: 90%;
    height: 80px;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.fm-product-outer::-webkit-scrollbar {
    height: 8px;
}
.fm-product-outer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.fm-product-outer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}
.fm-product-outer::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}
#fm-product {
    text-align: left;
    height: 64px;
    white-space: nowrap;
    display: inline-block;
    min-width: 100%;
}
#fm-product::-webkit-scrollbar {
    display: none;
}
#fm-product .square-box {
    position: relative;
    display: inline-block;
    width: 170px;
    height: 64px;
    margin-right: 15px;
    border-radius: 5px;
    background-color: #fff;
    opacity: 70%;
}
#fm-product .square-box.on {
    opacity: 100%;
}
#fm-product .square-box:last-child {
    margin-right: 0px;
}

#fm-product .fm-product-image {
    position: absolute;
    width: 52px;
    height: 52px;
    top: 50%;
    left: 10px;
    transform: translate(0%, -50%);
    -webkit-user-drag: none;
}
#fm-product .fm-product-description {
    position: absolute;
    right: 10px;
    width: 88px;
    font-family: 'Noto Sans KR', sans-serif;
    font-stretch: normal;
    font-style: normal;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#fm-product-brand {
    top:6px;
    height: 14px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: -0.4px;
    color: #414141;
}
#fm-product-name, .fm-product-name {
    top: 12px;
    height: 15px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.55;
    letter-spacing: -0.44px;
    color: #414141;
}
.fm-color-name {
    top: 32px;
    height: 15px;
    font-size: 10px;
    font-weight: normal;
    line-height: 1.55;
    letter-spacing: -0.44px;
    color: #666;
    font-style: italic;
}
#fm-product-price {
    top:43px;
    height: 15px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.55;
    letter-spacing: -0.44px;
    color: #282724;
}
.fm-capture-download {
    position: absolute;
    bottom: 114px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: center url(https://apilive.fittingmonster.com/iframe/img/v2/i_down.png) no-repeat;
    background-color: #fff;
    border-radius: 50%;
}
.fm-capture-download-text {
    position: absolute;
    bottom: 110px;
    right: 96px;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
     font-weight: 500;
    text-align: right;
    line-height: 1.54;
}
#fm-browser-check {
    display: none;
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: auto;
    background-color: #ffefef;
    padding: 15px 0;
    text-align: center;
}
#fm-browser-check.on {
    display: block;
}
.fm-browser-text {
    font-family: 'NanumSquare', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #ff3b3b;
}

.fm-op-trans{
  position: absolute;
  width: 52px;
  height: 52px;
  left: 30px;
  bottom: 114px;
  background: center url('https://apilive.fittingmonster.com/iframe/img/v2/i_lens.png') no-repeat;
  background-color: #fff;
  border-radius: 50%;
  cursor: hand;
}
.fm-op-slider {
  display: none;
  position: absolute;
  left: -46px;
  bottom: 280px;
  -webkit-appearance: none;
  width: 200px;
  height: 3px;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  border-radius: 10px;
  transform: rotate(-90deg);
}

.fm-op-slider:focus {
  outline: none;
}

.fm-op-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius:50%;
  cursor: pointer;
}
.fm-op-slider::-moz-range-thumb{
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius:50%;
  cursor: pointer;
}

@media (max-width: 800px) {
    .fm-capture {
        bottom: 90px;
        right: 20px;
        width: 38px;
        height: 38px;
        background: center url(https://apilive.fittingmonster.com/iframe/img/v2/i_camera_m.png) no-repeat;
        background-color: #fff;
        border-radius: 50%;
    }
    .fm-capture-download {
        bottom: 90px;
        right: 20px;
        width: 38px;
        height: 38px;
        background: center url(https://apilive.fittingmonster.com/iframe/img/v2/i_down_m.png) no-repeat;
        background-color: #fff;
        border-radius: 50%;
    }
    .fm-product-outer {
        width: 90%;
        height: 76px;
        bottom: 15px;
    }
    .fm-product-outer::-webkit-scrollbar {
        height: 6px;
    }
    #fm-product {
        height: 60px;
    }
    #fm-product .square-box {
        width: 154px;
        height: 60px;
        margin-right: 12px;
    }
    #fm-product .fm-product-image {
        width: 48px;
        height: 48px;
        left: 8px;
    }
    #fm-product .fm-product-description {
        right: 8px;
        width: 80px;
    }
    #fm-product-brand {
        height: 14px;
        font-size: 9px;
    }
    #fm-product-name, .fm-product-name {
        top: 12px;
        font-size: 10px;
    }
    .fm-color-name {
        top: 30px;
        font-size: 9px;
    }
    #fm-product-price {
        top:40px;
        font-size: 10px;
    }
    .fm-capture-download-text {
        bottom: 81px;
        right: 72px;
        font-size: 11px;
        line-height: 1.82;
    }
}