/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.wpdtp-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.wpdtp-label {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-personalization-image .zoomImg {
    display: none !important;
}

.personalization-text-box {
    position: absolute;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    text-align: left;
    border-radius: 5px;
    padding: 5px;
    line-height: normal;
}

input#wpdtp_personalization_line_1,
input#wpdtp_personalization_line_2 {
    border-radius: 5px;
    border: 2px #B2B2B8 solid;
}

input#wpdtp_personalization_line_1:focus,
input#wpdtp_personalization_line_2:focus {
    border: 2px #FF330A solid;
    outline-color: #FF330A;
}

input[disabled]#wpdtp_personalization_line_2 {
    cursor: not-allowed;
    background: #F2F2F6;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    position: relative;
}

#wpdtp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    height: 100vh;
    width: 100vw;
    display: block;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
}

#wpdtp-modal-overlay.showed {
    opacity: 1;
    visibility: visible;
}

#wpdtp-modal {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    height: 100vh;
    background: #fff;
    width: 100%;
    max-width: 380px;
    transform: translateX(100%);
    transition: all .3s ease-in-out;
}

#wpdtp-modal.is-admin {
    padding-top: 32px;
}

@media screen and (max-width: 782px) {
    #wpdtp-modal.is-admin {
        padding-top: 40px;
    }
}

#wpdtp-modal.showed {
    transform: translateX(0);
}

#wpdtp-modal button {
    border-radius: 0;
}

.wpdtp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 15px;
    border-bottom: solid 2px #F2F2F6;
}

.wpdtp-modal-header .h4 {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    color: #09090B;
    font-size: 21px;
    font-style: italic;
    font-weight: 800;
}

.wpdtp-modal-header button {
    border: 0;
    margin: 0;
    padding: 0;
}

.wpdtp-modal-header button svg {
    width: 24px;
    height: 24px;
    display: block;
}

.wpdtp-modal-header button#wpdtp-modal-close:hover {
    background-color: transparent !important;
}

.wpdtp-modal-header button#wpdtp-modal-close svg .close {
    color: #09090B !important;
    transition: all .3s;
}

.wpdtp-modal-header button#wpdtp-modal-close:hover svg .close {
    fill: #FF330A !important;
}

.wpdtp-main .wpdtp-activate {
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    border: 2px #f2f2f6 solid;
    background-color: #f2f2f6;
    color: #09090B !important;
    border-radius: 5px;
    padding: 5px 15px;
    font-style: italic;
    font-weight: 600;
    gap: 5px;

    @media screen and (max-width: 768px) {
        font-size: 14px;
        padding: 5px 10px;
    }
}

.wpdtp-main .wpdtp-activate svg {
    max-width: 24px;
    max-height: 24px;
}

.wpdtp-main .wpdtp-activate:hover {
    background-color: #b2b2b8;
    border-color: #b2b2b8;
}

.wpdtp-main .price {
    line-height: 2;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.wpdtp-main .fields-group .image-wrapper {
    padding: 20px 2px 0 2px;
    position: relative;
}

.wpdtp-main .fields-group .image-wrapper img {
    max-height: 150px;
    border-radius: 5px;
    box-shadow: 0 0 0 2px #b2b2b8;
    max-width: fit-content !important;
    width: 100% !important;
}

.wpdtp-main .fields-group .image-wrapper span {
    position: absolute;
    left: 10px;
    top: 25px;
    background-color: #FF330A;
    padding: 0 7px;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
}

.wpdtp-main .fields-group .field-label {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 5px;
}

.wpdtp-main .fields-group label {
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0 0;
    line-height: 1.5;
}

.wpdtp-main .fields-group {
    font-weight: 500;
}

.wpdtp-modal-main {
    padding: 20px 30px;
}

#wpdtp-details {
    transition: color 0.3s;
    color: #FF330A !important;
    font-weight: 500;
}

#wpdtp-details:hover {
    cursor: pointer !important;
    text-decoration: underline;
}