/* Product free-area styles adapted from the EC-CUBE 3 free_area.css. */
#product-free-area {
    clear: both;
    margin: 16px 0 24px;
    padding: 0;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#product-free-area h2,
#product-free-area h5 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: inherit;
    color: inherit;
}

#product-free-area p {
    margin: 0 0 0.75em;
}

#product-free-area p:last-child {
    margin-bottom: 0;
}

#product-free-area img {
    max-width: 100%;
    height: auto;
}

/* Long keyword text is a small supplementary box, rather than a heading. */
#product-free-area .box6,
#product-free-area .nj-word {
    margin: 16px 0;
    padding: 8px 12px;
    background: #fff;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.6;
}

#product-free-area .box6 {
    border: 1px dashed #ff8e9d;
}

#product-free-area .nj-word {
    border: 1px solid #ccc;
    box-shadow: 1px 1px 6px 0 #ccc;
}

#product-free-area .box6 p,
#product-free-area .nj-word p {
    font-size: inherit;
    line-height: inherit;
}

/* Original Vings tags. */
#product-free-area .bm-tag {
    position: relative;
    display: inline-block;
    margin: 2px 4px 6px 10px;
    padding: 2px 7px;
    border-radius: 0 2px 2px 0;
    background: #d23879;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    vertical-align: middle;
}

#product-free-area .bm-tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 8px solid #d23879;
    border-bottom: 10px solid transparent;
}

#product-free-area .bm-tag::after {
    content: "";
    position: absolute;
    top: 8px;
    left: -2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}

/* Original Newjoy labels and shipping note. */
#product-free-area .nj-tag {
    display: inline-block;
    padding: 0 0 5px 20px;
    background: url("../img/free-area-jewel.png") no-repeat 0 1px / 18px 18px;
    color: #ad8a57;
    font-weight: bold;
}

#product-free-area .nj-ribbon {
    position: relative;
    display: inline-block;
    min-width: 120px;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 8px 12px 8px 40px;
    background: #000 url("../img/free-area-airplane.png") no-repeat 12px 14px / 18px 18px;
    color: #fff;
    font-size: 12px;
    box-sizing: border-box;
}

#product-free-area .nj-ribbon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #666;
}

#product-free-area .nj-ribbon p {
    margin: 0;
    padding: 0;
}

#product-free-area .nj-ribbon p span {
    font-size: 16px;
}

#product-free-area .priceoff {
    color: #ff3b70;
}

#product-free-area .pt_dat {
    padding: 15px 0;
}
