.options-block {
    border-bottom: 1px solid #e9e9e9;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: white;
}

.choice label {
    display: inline-block;
}

.print-info {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
}

.upload-file input[type=file] {
    padding: 5px;
}

.price-list {
    padding: 0;
    margin-bottom: 15px;
}

.price-list div {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ececec;
    padding: 0.5em 0;
}

.price-list div span {
    flex: 1;
}

.price-list div>span:first-child {
    text-transform: uppercase;
}

.list-options-cart td {
    text-align: left !important;
    padding: 3px !important;
    border: 0;
}

.list-options-cart .divide {
    border-bottom: 1px solid #ececec;
}

.bb-0 {
    border-bottom: 0 !important;
}

.bt-0 {
    border-top: 0 !important;
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.pt-3 {
    padding-top: 3px;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.bt-1 {
    border-top: 1px solid #ececec !important;
}

.error {
    border: 1px solid red;
    border-radius: 8px;
    box-shadow: 0 0 3px 3px rgba(237, 17, 17, 0.26);
    -webkit-box-shadow: 0 0 3px 3px rgba(237, 17, 17, 0.26);
    -moz-box-shadow: 0 0 3px 3px rgba(237, 17, 17, 0.26);
}

.error-message {
    color: red;
}

.wc-item-meta p,
.meta-item p {
    display: inline-block !important;
    margin: 1px;
}

.meta-item p {
    font-weight: 600;
}

.fee {
    display: none;
}

.print-info-text {
    font-size: .85em;
    opacity: .8;
}

.cart-print-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 1.4 !important;
}

.cart-print-info:not(:first-child) {
    margin-top: 10px;
}

.vertical-top {
    vertical-align: top;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.price-print {
    display: flex;
    justify-content: space-between;
}

.woocommerce-Price-currencySymbol::after {
    content: '' !important;
}

#loader-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#print-cost-container {
    position: relative;
    padding: 10px;
}

.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ccc;
    --_m:
            conic-gradient(#0000 10%, #000),
            linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: loader 1s infinite linear;
}

@keyframes loader {
    to {
        transform: rotate(1turn)
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1048;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.section-content {
    z-index: auto !important;
}

.modal-link svg {
    margin-bottom: -4px;
}

.print-info-in-cart {
    background: #f5f5f552;
    border: 1px solid #ececec9e;
    padding: 15px;
}

p.out-of-stock {
    color: var(--fs-color-primary);
}

.widget {
    margin-bottom: 0 !important;
}


.error {
    border: 1px solid red;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.tooltiptext {
    visibility: hidden;
    background-color: #f44336;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    position: absolute;
    white-space: nowrap;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #f44336 transparent transparent transparent;
}

.error + .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.description_cat {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin: 10px -5px 10px -5px;
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}
.description_cat ul, .description_cat ol {
    padding-inline-start: 40px;
}

.box {
    width: 100%;
    max-width: 100%;
}

.choice {
    display: grid;
    grid-template-columns: 48% 48%;
    grid-column-gap: 4%;
    margin-top: 10px;
}

.custom-radio-button__container input[type="radio"] {
    display: none;
}

.custom-radio-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0 5px;
    border: 2px solid var(--fs-color-secondary);
    border-radius: 4px;
    background-color: #fff;
    color: var(--fs-color-secondary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
}

.custom-radio-button__container input[type="radio"]:checked + .custom-radio-button {
    color: #fff;
    background-color: var(--fs-color-secondary);
}

.choice .icon {
    margin-bottom: 10px;
    transition: stroke 0.3s;
}

.custom-radio-button__container input[type="radio"]:checked + .custom-radio-button .icon {
    stroke: #fff;
}

.custom-radio-button__container {
    position: relative;
}

.custom-radio-button__container input[type="radio"]:checked + .custom-radio-button::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 10px solid var(--fs-color-secondary);
}

#pdfModal, #open-modal-form {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.open-pdf-modal {
    color: #0093a7;
    font-weight: 700;
}

#pdfModal .modal-content {
    width: 90%;
    height: 90%;
    max-width: none;
    max-height: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#open-modal-form .modal-content {
    width: 600px;
    max-width: none;
    max-height: none;
    padding: 10px;
}

#open-modal-form .nf-field-element textarea {
    height: 100px !important;
}

#pdfContainer {
    flex: 1;
    width: 100%;
    height: 100%;
}

.close-modal, .close-block {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ff5f57;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    transition: background-color 0.3s ease;
}

.close-modal:hover, .close-block:hover {
    background-color: #e64545;
}

.pdfjs-iframe {
    display: block;
    width: 100%;
    height: 90vh;
    border: none;
    padding: 15px;
}

@media screen and (max-width: 768px) {
    #pdfModal .modal-content {
        border-radius: 0;
    }
    #open-modal-form textarea.ninja-forms-field {
        height: 100px !important;
    }
    #open-modal-form .modal-content {
        width:90%;
        top: 60%;
    }
    #pdfContainer {
        height: calc(100% - 50px);
    }
}

.close-block::before {
    content: "✕";
    font-size: 20px;
    font-weight: bold;
}

#exitpopup-modal {
    top: 50px;
}

#exitpopup-modal .exitpopup-modal-window {
    position: relative !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 5px !important;
    width: 90% !important;
    max-width: 500px !important;
    height: 620px !important;
    display: flex !important;
    flex-direction: column !important;
}

#exitpopup-modal .modal-body {
    flex-grow: 1 !important;
    padding: 10px !important;
    font-size: 1em !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #ffffff!important;
}

#exitpopup-modal .g-recaptcha {
    max-width: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
}

@media (max-width: 600px) {
    #exitpopup-modal .exitpopup-modal-window {
        width: 95% !important;
        max-width: 100% !important;
        min-height: 822px;
        overflow-y: auto;
    }
    #exitpopup-modal {
        top: 70px;
    }
}

#exitpopup-modal .modal-title{
    padding: 0 !important;
}

.alert-print-options, .alert-print-technology {
    background-color: #f443360f;
    border: 1px solid #f44336;
    border-radius: 6px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.alert-print-options.show, .alert-print-technology.show {
    opacity: 1;
    max-height: 500px;
    padding: 7px;
    margin-top:10px;
}

.alert-print-options .button-block {
    display:flex;
    justify-content: space-evenly;
    margin-top: 10px;
}

.alert-print-options button {
    font-size: 12px;
}

.min-quantity  {
    color:#ff6900;
}

.size-modal-content {
    max-width: 600px;
}

.hide {
    display: none !important;
}
#add-to-cart-btn {
    margin-top:10px;
}

.bulk-pricing-table {
    padding:10px;
}

.table-discount {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.table-discount th,
.table-discount td {
    border: 1px solid #ececec !important;
    padding: 10px;
    text-align: center;
    word-wrap: break-word;
}

.table-discount td:first-child, .table-discount th:first-child {
    padding:10px;
}

