.product-coupon {
    margin-top: 15px;
    position: relative;
}

.product-coupon .coupon-label {
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgb(var(--color-form-field));
    color: rgb(var(--color-form-field-text));
}


.product-coupon .coupon-tag {
    background-color: #ff9e45;
    color: #fff;
    font-size: 12px;
    margin: 0 6px;
    padding: 2px 4px;
    border-radius: 2px;
}


.product-coupon .coupon-box {
    background: #ffefdf;
    padding: 8px;
    border-radius: 12px;
}


.product-coupon .item-coupon {
    display: flex;
    align-items: center;
    background: linear-gradient(#ff4f17, #ff9e45);
    border-radius: 10px;
    line-height: 1.4;
}

.product-coupon .item-coupon span {
    display: block;
    line-height: 1.4;

}

.product-coupon .left-info {
    width:60%;
    flex-grow: 3;
    padding: 10px;
    color: #fff;
    position: relative;
}


.product-coupon .left-info .off {
    font-size: 16px;
    display: block;
}


.product-coupon .condition {
    font-size: 12px;
    margin-top: 4px;
}


.product-coupon .right-info {
    width: 40%;
    flex-grow: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
}
.product-coupon .coupon-item-divider {
    border-left: 2px dashed #fee7cd;
    width: 0;
    position: absolute;
    right: -1px;
    top: 3px;
    bottom: 3px;
    z-index: 9;
}

.product-coupon .left-info::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffefdf;
    right: -4px;
    bottom: -4px;
}

.product-coupon .left-info::before, .coupon-item-divider .left-info::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffefdf;
    right: -4px;
    top: -4px;
}

 .product-coupon .code-btn {
    background: linear-gradient(270deg, #FEE7CD 0%, #FFF4E7 100%);
    border: none;
    border-radius: 16px;
    color: #f10215;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-coupon .code-btn span{
    line-height: 1;
}

.product-coupon .coupon-list {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    max-width: calc(100vw - 20px);
    background: linear-gradient(90deg, #FFF8E7 0%, #ff9e45 100%);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    z-index: 110;
}

.product-coupon .coupon-list:after {
    content: "";
    display: block;
    border-width: 8px 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #ff9e45 transparent;
    position: absolute;
    right: 14px;
    top: -16px;
}


.product-coupon .coupon-list .title {
    text-align: center;
    color: #f10215;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-coupon .set-diy-list {
    display: flex;
    align-items: center;
}

.product-coupon .set-diy-list .coupon-tag {
    display: flex;
    align-items: center;
    position: relative;
    height: 18px;
}

.product-coupon .set-diy-list .coupon-tag .left-arrow {
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0;
    left: -3px;
    background-image: linear-gradient(#ff9e45 2px, transparent 0, transparent), radial-gradient(2px at 0 3px, transparent 2px, #ff9e45 0);
    background-size: 4px 4px;
}

.product-coupon .set-diy-list .coupon-tag .right-arrow {
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0;
    right: -3px;
    background-image: linear-gradient(#ff9e45 2px, transparent 0, transparent), radial-gradient(2px at 4px 3px, transparent 4px, #ff9e45 0);
    background-size: 4px 4px;
}

.product-coupon .icon-arrow {
    color: #F49948;
    fill: #F49948;
}