.voucher-configuration {
    margin-bottom: 15px
}

.voucher-configuration .input-group-selector label {
    display: block;
    font-weight: bold
}

.voucher-configuration .input-group-selector ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.voucher-configuration .input-group-selector ul li {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    width: calc((100% - 45px) / 4);
    margin-right: 0;
    margin-bottom: 0
}

@media screen and (max-width: 450px) {
    .voucher-configuration .input-group-selector ul {
        column-count: 2;
    }
    .voucher-configuration .input-group-selector ul li {
        width: calc((100% - 15px) / 2);
    }
}

.voucher-configuration .input-group-selector ul li .voucher-preview {
}

.voucher-configuration .input-group-selector ul li .title {
    text-align: center;
    padding: 0.2em 0
}

.voucher-configuration .input-group-selector ul li img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd
}

.voucher-configuration .input-group {
    width: 100%;
    margin-bottom: 5px
}

.voucher-configuration .input-group label {
    display: block;
    font-weight: bold
}

.voucher-configuration .input-group input,
.voucher-configuration .input-group textarea {
    width: 100%;
    min-width: 480px;
}

@media screen and (max-width: 450px) {
    .voucher-configuration .input-group input,
    .voucher-configuration .input-group textarea {
        min-width: inherit;
    }
}

@media only screen and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tbody tr.voucher th,
    .woocommerce-page table.shop_table_responsive tbody tr.voucher th {
        display: inline-block;
        float: left;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: "";
        float: left;
    }
    .woocommerce-page .woocommerce-order-details table.shop_table td small {
        display: block;
    }
}

@media (max-width: 768px) {
    .woocommerce table.shop_table tr.voucher td small {
        display: inline-block;
    }
}

.voucher-configuration .input-group small {
    display: block;
    margin-top: 3px
}

.voucher-configuration .input-group.required label:after {
    content: ' *';
    color: #990000
}

.woocommerce td.product-name dl.variation dt,
.woocommerce td.product-name dl.variation dd {
    float: none !important;
    display: block !important
}

.woocommerce td.product-name dl.variation dt p,
.woocommerce td.product-name dl.variation dd p {
    margin: 0px;
    margin-bottom: 0.5em
}

.woocommerce .cart_item .voucher-product-image {
    display: inline-block;
    width: 104px;
    height: 90px;
}

.woocommerce-order-received table.shop_table td ul.wc-item-meta a {
    font-size: inherit;
    font-weight: inherit;
}
