/**
* Theme Name: Djewno Child
* Description: This is a child theme of Djewno, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: djewno
* Version: 1.1.9
*/

:root {
    --theme-site-brand-height: auto;
    --theme-site-brand-mobile-height: auto;
}

.site-countdown {
    display: none !important;
}

.current-lang {
    font-weight: 700;
}

form.cart .qty {
    display: block !important;
}

.product-detail .buy_now_button {
    width: auto;
    min-width: 300px;
}

.site-drawer .site-drawer-inner .site-brand img {
    height: 100px;
}

.klbtheme-terms.klbtheme-type-button span {
    min-width: 100px;
}

.single-product-wrapper .product-detail form.cart table.variations .label {
    vertical-align: top;
    display: block;
    width: 100%;
    padding: 0;
}

.single-product-wrapper form.cart .variations tr label {
    font-size: 1.2rem;
}

.klbtheme-terms.klbtheme-type-button span {
    min-width: 150px;
    font-size: 0.9rem;
    height: 100%;
    padding: 10px 5px;
    margin: 5px;
    height: auto;
}

.price {
    flex-direction: unset;
    -webkit-box-direction: unset;
}

.products.list-style .price {
    display: inline-block;
}

.klbtheme-terms.klbtheme-type-button {
    display: inline-block;
}

.klbwl-list.woocommerce-cart-form .product-addtocart {
    display: none;
}

table.variations label span:nth-child(2) {
    display: none;
}

.product-custom-type7 .product-footer {
    float: right;
    margin-top: -40px;
    position: relative !important;
}

.product-content-fade.style-4 {
    margin-bottom: 0 !important;
}

a.button.djewno-telegram-btn {
    font-weight: normal;
    font-size: 1em;
}

button.single_add_to_cart_button.button.alt {
    display: none;
}

.djewno-product-bottom-popup-cart .djewno-custom-buttons {
    display: block;
}

.elementor-121 .elementor-element.elementor-element-33b2ff7, .elementor-3055 .elementor-element.elementor-element-33b2ff7 {
    background: #eee;
}

.site-social.style-2 li a {
    background-color: inherit !important;
    color: #333 !important;
    padding: 0 !important;
    height: 33px !important;
    font-weight: 500 !important;
}

.site-social.style-2 ul li a .social-label p {
    font-weight: 500 !important;
    text-transform: capitalize;
}

@media screen and (max-width: 768px) {
    .klbtheme-terms.klbtheme-type-button span {
            display: inline-block;
            vertical-align: middle;
            height: auto;
            padding: 10px;
            margin: 4px;
            text-align: left;
        }
    .klbtheme-terms.klbtheme-type-button {
        display: block;
    }
    .single-product-wrapper .product-detail form.cart table.variations tr td {
        padding: 0 0 10px;
    }
    form.cart.single-ajax {
        display: flex;
        justify-content: center !important;
    }
}



/* Custom product buttons styles */

form.cart.single-ajax #buynow {
    display: none;
}

.djewno-custom-buttons {
    display: grid;
}

.single-product-wrapper .product-detail form.cart .quantity {
    height: fit-content;
    padding-bottom: 3px;
}

button.button.djewno-booking-btn {
    border: 1px solid #abb5bd;
    text-transform: uppercase;
}

.is-content-justification-center {
    text-align: center;
}

.post .post-thumbnail {
    float: left;
    margin-right: 30px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .single-product-wrapper .product-detail form.cart {
        display: flex;
        justify-content: center;
        justify-items: start;
    }
    .djewno-custom-buttons {
        flex-direction: column;
    }
    
    .djewno-booking-btn,
    .djewno-telegram-btn,
    .wpcf7-submit {
        min-width: 100%;
        margin-bottom: 10px;
    }

    .post .post-thumbnail {
        float: none;
        margin-right: 0;
    }
}

/* Magnific Popup styles for booking form */
.fhidden {
    display: none !important;
}

.djewno-booking-mfp {
    z-index: 9999999;
}

span.wpcf7-spinner {
    position: absolute;
    left: 0;
}

form.wpcf7-form.init label {
    width: 100%;
}

.wpcf7-submit {
    width: 100%;
}

div#one-quantity .quantity {
    margin: auto;
    text-align: center;
    display: inline-flex;
    border: 1px solid #eee;
}

.djewno-booking-mfp .mfp-content {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
}

.djewno-booking-popup {
    background: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    max-width: 450px;
    margin: auto;
}

.djewno-booking-mfp .mfp-close {
    color: #666 !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 24px !important;
}

.djewno-booking-mfp .mfp-close:hover {
    color: #000;
}

/* Fixed modal styles */
#djewno-booking-modal button.mfp-close {
    display: none;
}

#djewno-booking-modal .djewno-booking-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

#djewno-booking-modal .djewno-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #666;
}

#djewno-booking-modal .djewno-close-modal:hover {
    color: #000;
}

button.button.djewno-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Close button for Magnific Popup */
.djewno-close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #666;
    z-index: 10000;
}

.djewno-close-popup:hover {
    color: #000;
}
