/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/*HEADING BIG*/
.heading-big::before{
    content: '';
    background-image: url(https://pandrive.net/wp-content/uploads/2025/09/bg_heading.png);
    width: 252px;
    height: 186px;
    display: block;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}
.heading-big-danie-dnia:before{
    content: '';
    background-image: url(https://pandrive.net/wp-content/uploads/2025/09/bg_heading.png);
    width: 252px;
    height: 186px;
    display: block;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}
.heading-big-danie-dnia span{
    position: absolute;
    top: -60px;
    left: 50%;
    font-family: 'League Spartan';
    font-size: 64px;
    display: block;
    transform: translateX(-50%);
    z-index: 2;
    color: #292007;
}
.heading-big.heading-contact::before{
    background-image: url(https://pandrive.net/wp-content/uploads/2025/09/bigyellowbg.png);
    width: 343px;
    top: -64px;
}
.heading-big.heading-regulamin::before{
    background-image: url(https://pandrive.net/wp-content/uploads/2025/09/bigregulamin.png);
    width: 420px;
    top: -64px;
}
.heading-big.heading-politicy::before{
    background-image: url(https://pandrive.net/wp-content/uploads/2025/09/bigregulamin.png);
    width: 420px;
    top: -40px;
}
.mcb-background-overlay{
    z-index: 0 !important;
    display: none !important;
}
.heading-big .mcb-column-inner{
    z-index: 3;  
}
.heading-dish{
    position: absolute;
    top: 195px;
    left: 45px;
}
.woocommerce-checkout #Subheader, .woocommerce-cart #Subheader{
    display: none;
}
.woocommerce-checkout #Header_wrapper, .woocommerce-cart #Header_wrapper{
    background-color: #FFFAEC;
    padding: 50px;
}
/* ORDERABLE */
.orderable-products-list.orderable-products-list--list{
    display: grid;
    column-gap: 109px;
    row-gap: 0;
    grid-template-columns: 1fr 1fr;   
}
.orderable-products-list--list .orderable-products-list__item .orderable-product{
    box-shadow: none;    
    padding-bottom: 33px;
    border-radius: 0px;

}
.orderable-product__description{    
    height: auto !important;
    text-transform: none;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
}
.orderable-products-list--list .orderable-products-list__item:nth-child(1) .orderable-product, .orderable-products-list--list .orderable-products-list__item:nth-child(2) .orderable-product{
    border-bottom: 1px solid #D4CCB8;
}
.orderable-products-list .orderable-product__actions{
    padding: 0px 0px 0px 35px;
    margin-top: 25px;
}
.orderable-button.orderable-product__add-to-order{
    color: #292007;
    padding: 10px 32px !important;
    border: none;
    background: #FDC939;
    text-transform: uppercase;
    line-height: 21px;    
}
.orderable-button.orderable-product__add-to-order:hover{
    background: #f6a03b !important;
}
.orderable-products-list__item{
    padding-left: 45px;
    margin-bottom: 32px;
}
.orderable-products-list__item:nth-child(even) {
    padding-right: 45px;
    padding-left: 0px;
}
.orderable-product__title{
    width: auto;
    display: inline-block;
    margin-right: 8px;
    color: #292007;
    font-weight: 700;
}
.orderable-product__content{
    display: block;
    padding: 0px 0px 0px 35px;
}
.orderable-product__tags{
    width: auto;
    display: inline-block;
}
.orderable-product__tags img{
    margin-right: 4px;
}
.orderable-button.orderable-button--out-of-stock:active, .orderable-button.orderable-button--out-of-stock:focus, .orderable-button.orderable-button--out-of-stock:hover{
    color: #292007;    
}
#coderockz_woo_delivery_setting_wrapper {
    margin: 20px 0;
}
.select2-container.select2-container--open .select2-dropdown--below{}
.select2-search--dropdown{
    display: none !important;
}
.form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.required_field {
    color: #dc3545;
}


.form-row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 13px;
    background: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-row input[type="text"]:focus,
.form-row select:focus {
    outline: none;
    border-color: #8b5a3c;
    box-shadow: 0 0 0 2px rgba(139, 90, 60, 0.1);
}


.form-row.woocommerce-validated input[type="text"],
.form-row.woocommerce-validated select {
    border-color: #28a745;
    background: #f0fdf4;
}

.form-row.woocommerce-invalid input[type="text"],
.form-row.woocommerce-invalid select {
    border-color: #dc3545;
    background: #fff5f5;
}


.select2-container--default .select2-selection--single {
    border: 1px solid #ddd !important;
    height: 40px !important;
    padding-top: 5px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #8b5a3c !important;
    box-shadow: 0 0 0 2px rgba(139, 90, 60, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.woocommerce-input-wrapper {
    position: relative;
}

.info-notice {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    padding-left: 20px;
}

.info-notice::before {
    content: "ℹ";
    position: absolute;
    left: 0;
    color: #8b5a3c;
    font-weight: bold;
}

.coderockz-woo-delivery-loading-image {
    text-align: center;
    padding: 20px;
    margin-top: 15px;
}

.coderockz-woo-delivery-loading-gif {
    display: inline-block;
}

.coderockz-woo-delivery-loading-gif img {
    max-width: 50px;
    height: auto;
}
/* KONTAKT */
.contact-section .wpcf7-form .row {
    display: flex;
    gap: 20px;
}
.contact-section .wpcf7-form .col-md-6 {
    flex: 1;
}
.contact-section .wpcf7-form .col-md-12 {
    flex: 1;
}
.contact-section .wpcf7-form input[type="tel"], 
.contact-section .wpcf7-form input[type="text"],
.contact-section .wpcf7-form input[type="email"],
.contact-section .wpcf7-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D8D8D8;
    border-radius: 0px;
    font-size: 16px;
    color: #B8B8B8;
    background: white;
    box-sizing: border-box;
}
.contact-section .wpcf7-form textarea {
    height: 145px;
    resize: vertical;
    margin-bottom: 8px;
}
.contact-section .wpcf7-list-item label{
    display: flex;
    align-items: center;    
}
.contact-section .wpcf7-list-item label .wpcf7-list-item-label{
    margin-left: 10px;
    color: #B8B8B8;
}
.contact-section .wpcf7-list-item input[type="checkbox"]{
    width: 12px;
    height: 12px;
    border-radius: 2px;
}
.contact-section .wpcf7-list-item{
    margin-left: 0px;
    font-size: 12px;
}
.contact-section .wpcf7-form input[type="submit"] {
    background: #FDC939;
    color: #292007;
    padding: 10px 32px;
    text-transform: uppercase;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 0px;
    font-weight: 700;
    width: auto;
    float: right;
}
.contact-section .wpcf7-form input[type="submit"]:hover {
    background: #f6a03b;
}
.orderable-product--image-cropped .orderable-product__hero{
    background: #FDC939;
}
.orderable-drawer__close{
   border-color: transparent; 
}
.orderable-drawer__close::after, .orderable-drawer__close::before{
    background-color: #000;
}
.orderable-drawer__close:active, .orderable-drawer__close:focus, .orderable-drawer__close:hover{
    background-color: transparent;
    border-color: transparent;
}
.added_to_cart.wc-forward{
    display: none;
}
/*Mobile*/
@media (max-width: 767px){
    .heading-big::before {
        width: 152px;
        top: -43px;
        height: 115px;
    }
    .heading-our-menu .heading-big::before {
        width: 152px;
        top: -25px;
        height: 115px;
    }
    .heading-big.heading-contact::before{
        width: 182px;
        top: -45px;
    }
    .mfn-item-inline.column.heading-dish {
        position: static;
        width: 100% !important;
        text-align: center;
    }
    .heading-dis h2{
        font-size: 16px;
    }
    .heading-big-danie-dnia:before{
        width: 152px;
        top: -43px;
        height: 115px;
    }
    .heading-big-danie-dnia span{
        font-size: 34px;
        top: -20px;
    }
    .modern-hotdeal-content{
       flex-wrap: wrap; 
        gap: 30px;
    }
    .modern-hotdeal-button{
        width: auto;
    }
    .orderable-products-list.orderable-products-list--list{
        display: block;
    }
    .orderable-products-list__item{   
        padding: 0px;
        border-bottom: none;
    }
    .orderable-products-list--list .orderable-products-list__item:nth-child(1) .orderable-product, .orderable-products-list--list .orderable-products-list__item:nth-child(2) .orderable-product{
       border-bottom: none; 
    }
    .orderable-products-list__item:nth-child(even){
        padding: 0px;
    }
    .orderable-products-list--list .orderable-products-list__item .orderable-product{
        flex-direction: column;
    }
    .content_slider.carousel .content_slider_ul .content_slider_li img, .content_slider.carousel .content_slider_ul .content_slider_li .title{
        opacity: 1;
    }
}
@media screen and (max-width: 480px) {
    .orderable-products-list__item .orderable-product__hero{
        max-width: 200px;
        margin: 0px auto 10px;
    }
    .orderable-products-list__item .orderable-product__content{
        text-align: center;
        padding: 0px 20px;
    }
    .orderable-products-list__item .orderable-product__actions{
        padding: 0 20px !important;
    }
}
@media screen and (min-width: 480px) {
    .orderable-products-list .orderable-product__hero {
        width: 173px;
        height: 173px;
    }
}
/* Stylowanie wtyczki Delivery & Pickup - podobny wygląd do custom kodu */
.coderockz-woo-delivery-block-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.coderockz-woo-delivery-block-container .wc-block-components-checkout-step__title {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    font-size: 18px;
}

/* Data odbioru */
.coderockz-woo-pickup-date-container,
.coderockz-woo-pickup-time-container {
    margin-bottom: 15px;
}

.coderockz-woo-delivery-date-label,
.wc-blocks-components-select__label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

/* Input daty */
.coderockz-woo-pickup-date-container input[type="text"] {
    width: 100% !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
}

.coderockz-woo-pickup-date-container input[type="text"]:focus {
    outline: none !important;
    border-color: #007cba !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25) !important;
}

/* Select godziny */
.coderockz-woo-pickup-time-container select {
    width: 100% !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
}

.coderockz-woo-pickup-time-container select:focus {
    outline: none !important;
    border-color: #007cba !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25) !important;
}

/* Błędy walidacji */
.coderockz-woo-pickup-date-container.has-error input,
.coderockz-woo-pickup-time-container.has-error select {
    border-color: #dc3545 !important;
}

.coderockz-woo-pickup-date-container .wc-block-components-validation-error,
.coderockz-woo-pickup-time-container .wc-block-components-validation-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

/* Ukryj niepotrzebne elementy */
.coderockz-woo-delivery-block-container .screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* Strzałka w select */
.wc-blocks-components-select__expand {
    pointer-events: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .coderockz-woo-delivery-block-container {
        padding: 15px;
    }
    
    .coderockz-woo-pickup-date-container input,
    .coderockz-woo-pickup-time-container select {
        font-size: 13px !important;
    }
}


