.picture-editor-wrap{
  @extend %sp-fontfamily;

  *::selection {
    background: $color-2; /* WebKit/Blink Browsers */
    color: #fff;
  }
  *::-moz-selection {
    background: $color-2; /* WebKit/Blink Browsers */
    color: #333;
  }
  display: table;
  width: 100%;
  &:after{
    content: "";
    clear: both;
    display: block;
  }
  .picture-wrap,
  .picture-control-wrap{
    display: table-cell;
    vertical-align: top;
  }
  .picture-wrap{
    width: 60%;
    position: relative;
    line-height: 0;
    overflow: hidden;
    position: relative;
    .picture-pick{
      img{
        width: 100%;
        height: auto;
        border-radius: 0;
      }
    }
    .sp-follow{
      position: absolute;
      z-index: 5;
      left: 8px;
      bottom: 8px;
      border-radius: 2px;
      span.sp-icon{
        width: 18px;
        height: 18px;
      }
      .instagram-user-link{
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        font-size: 11px;

        background: #111;
        border-radius: 2px;
        padding: 5px;
        line-height: 11px;
        a{
          color: #FFF;
          font-weight: bold;
          text-decoration: none;
          white-space: nowrap;
        }
        &:after{
          content: "";
          border: solid 4px transparent;
          border-right-color: #111;
          position: absolute;
          top: 50%;
          left: -8px;
          transform: translateY(-50%);
          -webkit-transform: translateY(-50%);
        }
      }
    }
    .sp-picture-points-wrap{
      .point-item{
        position: absolute;
        .point-item-inner{
          cursor: pointer;
          border: solid 2px;
          position: absolute;
          left: -13px;
          top: -13px;
          width: 26px;
          height: 26px;
          border-radius: 26px;
          line-height: 26px;
          text-align: center;
          font-weight: bold;
          font-size: 11px;
          color: #FFF;
          background: #111;
          box-sizing: content-box;
          transition: .3s ease;
          -webkit-transition: .3s ease;
        }
        &.is-hover{
          .point-item-inner{
            background: red;
            border-color: red;
          }
        }
      }
    }
  }
  .picture-control-wrap{
    width: 40%;
    color: #bdbdbd;
    position: relative;
    .medium-editor-element{
      position: relative;
      outline: none;
      box-shadow: none;
      padding: 10px;
      border: dashed 1px rgba(255,255,255,.4);
      &.medium-editor-placeholder{
        &:after{
          font-style: normal;
        }
      }
      > *{
        &:first-child{
          margin-top: 0;
          padding-top: 0;
        }
        &:last-child{
          margin-bottom: 0;
          padding-bottom: 0;
        }
      }
      &:before{
        content: "";
        position: absolute;
        left: 10px;
        top: -14px;
        width: 20px;
        height: 20px;
        background: url('../../icons/svg/edit.svg') no-repeat center center, #000;
        background-size: 85%;
        // visibility: hidden;
        // opacity: 0;
        transition: .3s ease;
        -webkit-transition: .3s ease;
      }
      &:hover{
        &:before{
          visibility: visible;
          opacity: 1;
        }
      }
    }
    .picture-control-inner{
      position: absolute;
      left: 10px;
      top: 10px;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      box-sizing: border-box;
      .nano-content{

      }
      .nano-pane{
        z-index: 8;
      }
    }
    .picture-name{
      position: relative;
      z-index: 3;
      margin-bottom: 30px;
      border-bottom: solid 1px rgba(255,255,255,.15);
      h3{
        color: #FFF;
        font-weight: bold;
        font-size: 20px;
        line-height: 24px;
        margin: 0 0 20px 0;
        letter-spacing: -.7px;
      }
    }
    .picture-description{
      position: relative;
      z-index: 3;

      font-size: 14px;
      line-height: 1.5;
      margin: 0 0 20px;
    }
    a{
      color: $color-1;
      text-decoration: underline;
      transition: .3s ease;
      -webkit-transition: .3s ease;
      &:hover{
        color: $color-2;
      }
    }

    .picture-products{
      position: relative;
      z-index: 2;
      display: block;
      margin-left: -20px;
      box-sizing: inherit;
      &:after{
        content: "";
        display: block;
        clear: both;
      }
      .p-item{
        width: calc(100% / 2 - 20px);
        margin: 0 0 20px 20px;
        display: inline-block;
        vertical-align: top;
        .product-item-inner{
          box-shadow: 0 0 0 0 transparent;
          transition: .1s ease;
          -webkit-transition: .1s ease;
          &.is-hover{
            box-shadow: 0 0 0 1000px rgba(1,1,1,.6);
            z-index: 5;
          }
          .sp-loading-animate{
            margin: 20px 0 10px;
          }
          position: relative;
          .is-hover{
            position: absolute;
            left: 5px;
            top: 5px;
            font-weight: bold;
            z-index: 2;
            background: #111;
            border-radius: 100%;
            padding: 2px;
            line-height: 0;
            span{
              background-position: center !important;
              background-size: 80% !important;
              background-repeat: no-repeat;
              width: 18px;
              height: 18px;
            }
          }
          .p-remove-item{
            visibility: hidden;
            opacity: 0;
            transform: scale(.6);
            -webkit-transform: scale(.6);
            transition: .3s ease;
            -webkit-transition: .3s ease;
            position: absolute;
            right: -10px;
            top: -10px;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            line-height: 20px;
            text-align: center;
            font-size: 11px;
            background: red;
            color: #FFF;
            &:active,
            &:focus{
              visibility: visible;
              opacity: 1;
              transform: scale(1);
              -webkit-transform: scale(1);
            }
            span{
              font-size: 20px;
            }
          }
          &:hover{
            .p-remove-item{
              visibility: visible;
              opacity: 1;
              transform: scale(1);
              -webkit-transform: scale(1);
            }
          }
          .p-thumb{
            border-radius: 3px;
            overflow: hidden;
            line-height: 0;
            img{
              width: 100%;
              height: auto;
              margin: 0;
            }
          }
          .p-entry{
            margin-top: 10px;
            .title{
              font-weight: bold;
              font-size: 13px;
              line-height: 20px;
              letter-spacing: -.6px;
              margin-bottom: 5px;
            }
            .sp-woo-add-to-cart{
              margin: 0;
              font-size: 13px;
              letter-spacing: -0.5px;
              del{}
              ins{
                text-decoration: none;
                font-weight: bold;
              }
              > ins,
              > .amount{
                &:after{
                  content: "";
                  display: block;
                  clear: both;
                }
              }
              .button,
              .added_to_cart{
                &.added{
                  display: none;
                }
                margin-top: 4px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                max-width: 100%;
                line-height: 16px;
                display: inline-block;
                border-radius: 0;
                padding: 3px 8px;
                line-height: normal;
                text-decoration: none;
                border: none;
                border-radius: 4px;
                background: $color-1;
                color: #FFF;
                box-shadow: none;
                font-weight: bold;

                transition: .3s ease;
                -webkit-transition: .3s ease;
                &:hover{
                  background: darken($color-1, 5%);
                }
              }
            }
          }
        }
      }
    }
  }
@extend %picture-modal-editor-responsive-mobi;
}

%picture-modal-editor-responsive-mobi{
  @media (max-width: 600px) {
    display: block;
    width: 100%;
    .picture-wrap,
    .picture-control-wrap{
      width: 100%;
      display: block;
    }
    .picture-control-wrap{
      .picture-control-inner{
        position: relative;
        .nano-content{
          position: relative;
          .picture-name{

          }
        }
      }
    }
  }
}
