/* components/static/good-detail-popup/good-detail-popup.wxss */
@import "variables";

.popup-header {
    .location {
        min-height: 60rpx;
        width: 100%;
        color: $primary-color;
        display: flex;
        flex-direction: row;
        // align-items:end;
        border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
        .icon {
          min-width: 40rpx;
          line-height: 60rpx;
          width: 40rpx;
          height: 40rpx;
        }
        .address{
          padding-bottom: $primary-gap;
        }
      }

    .info {
        display: flex;
        margin-top: $primary-gap;

        .left {
            border-radius: $primary-border-radius;
            width: 200rpx;
            height: 200rpx;
            overflow: hidden;
            margin-right: $primary-gap;

            image {
                width: 100%;
                height: 100%;
            }
        }

        .right {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            ;

            .price {
                color: $primary-color;
                font-size: $x-large-font-size;
                font-weight: 800;
            }

            .count {
                width: 400rpx;
            }

            .stock {
                font-size: $large-font-size;
                color: $gray-color;
            }
        }
    }
}

.sku-container {
    display: flex;
    flex-direction: column;
    // max-height: 500rpx;
    // margin-bottom: 54rpx;
    .skuTitle {
        font-size: $large-font-size;
        font-weight: 600;
        margin: $primary-gap 0rpx;
    }
    .scroll {
        max-height: 500rpx;
    }
}

.footer {
    display: flex;
    // gap: $primary-gap;
    justify-content: center;
    position: fixed;
    bottom: 0;
    width: 702rpx;

    .submit {
        flex: 1;
        height: 80rpx;
        background: $primary-color;
        color: white;
        font-size: $large-font-size;
        font-weight: 600;
        line-height: 80rpx;
        text-align: center;
        border-radius: 0rpx $primary-border-radius $primary-border-radius 0rpx;
    }
     .submit1 {
        flex: 1;
        height: 80rpx;
        background: $primary-color;
        color: white;
        font-size: $large-font-size;
        font-weight: 600;
        line-height: 80rpx;
        text-align: center;
        border-radius: 10rpx;
    }

    .add-cart {
        background-color: #FEB30C;
        border-radius: $primary-border-radius 0rpx 0rpx $primary-border-radius ;
    }
}