.product-coupon {
    margin-top: 15px;
    position: relative;
    container-type: inline-size;
    font-family: inherit;
    color: #2F2F2F;
}

.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: #8B7355;
    color: #fff;
    font-size: 12px;
    margin: 0 6px;
    padding: 2px 4px;
    border-radius: 2px;
}


.product-coupon .coupon-box {
    background: #F5F0EA;
    padding: 8px;
    border-radius: 12px;
}


.product-coupon .item-coupon {
    display: flex;
    align-items: center;
    background: #2F2F2F;
    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: flex;
}


.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 #FAF7F2;
    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: #F5F0EA;
    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: #F5F0EA;
    right: -4px;
    top: -4px;
}

 .product-coupon .code-btn {
    background: #FAF7F2;
    border: none;
    border-radius: 16px;
    color: #2F2F2F;
    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: #FAF7F2;
    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 #FAF7F2 transparent;
    position: absolute;
    right: 14px;
    top: -16px;
}


.product-coupon .coupon-list .title {
    text-align: center;
    color: #2F2F2F;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}
.product-coupon .coupon-label .ml-10 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: #2F2F2F;
}
.product-coupon .off,
.product-coupon .condition,
.product-coupon .code-btn,
.product-coupon .coupon-tag {
    font-family: inherit;
}

.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(#8B7355 2px, transparent 0, transparent), radial-gradient(2px at 0 3px, transparent 2px, #8B7355 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(#8B7355 2px, transparent 0, transparent), radial-gradient(2px at 4px 3px, transparent 4px, #8B7355 0);
    background-size: 4px 4px;
}

.product-coupon .icon-arrow {
    color: #8B7355;
    fill: #8B7355;
}

.product-coupon .coupon-label {
    gap: 8px;
    min-width: 0;
}

.product-coupon .coupon-label > .m\:flex {
    margin-left: 0;
    margin-right: 0;
}

.product-coupon .coupon-label > .m\:flex:first-child {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 46%;
    overflow: hidden;
}

.product-coupon .coupon-label > .m\:flex:last-child {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    overflow: hidden;
}

.product-coupon .coupon-label .ml-10 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-coupon .set-diy-list {
    min-width: 0;
    overflow: hidden;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.product-coupon .set-diy-list .coupon-tag {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .product-coupon .coupon-label {
        padding: 12px 14px;
    }

    .product-coupon .set-diy-list .coupon-tag:nth-child(n+2) {
        display: none;
    }
}

@container (max-width: 420px) {
    .product-coupon .set-diy-list .coupon-tag:nth-child(n+2) {
        display: none;
    }
}