/**
 * Engraving tool on product card
 */
.engraving-tool {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.engraving-tool #text-char-count {
    text-align: right;
    margin-top: 0.5rem;
    font-size: .8em;
}

.engraving-tool .validate-mark {
    pointer-events: none;
}

.engraving-tool .checkmark-green:before {
    content: "\f00c";
    color: #399f15;
}

.engraving-tool .wrong-red:before {
    content: "\f00d";
    color: #9f1515;
    top: -10px;
}

.engraving-tool .validate-mark:before {
    font-size: 1.75rem;
    font-weight: 300;
    right: 1rem;
    font-family: "FontAwesome";
    position: absolute;
    z-index: 3;
}

.engraving-tool .engraving-demo-image {
    display: none;
    position: fixed;
    padding-top: 0;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
}

.engraving-tool .engraving-image-content {
    margin: auto;
    width: fit-content;
}

.engraving-tool .engraving-image-close {
    float: right;
    color: #f1f1f1;
    font-family: 'FontAwesome', 'Copperplate', 'Trebuchet MS', 'Verdana', fantasy;
    font-size: 60px;
    font-weight: 700;
    border-radius: 50%;
    line-height: .8;
}

.engraving-tool .engraving-image-close:hover,
.engraving-tool .engraving-image-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#engraving-accept {
    margin-right: 5px;
}

.engraving-tool .engrave-btn-group .btn-outline-dark {
    border-color: var(--light) !important;
}

.engraving-tool .engrave-btn-group .btn-outline-dark.active {
    border-color: var(--dark) !important;
}

.engraving-tool .engrave-btn-group input:checked+span .engraving-price {
    display: none;
}

.customization,
.accept-engraving-terms {
    display: none;
}