/**
 * Стилі попапа «Купівля в 1 клік» (власна реалізація теми).
 * Перенесено з плагіна buy-one-click-woocommerce: general.css + form_6.css (form_style_color=6) + formmessage.css.
 * Селектори заскоуплені під #formOrderOneClick / #buyoneclick_form_order. Без зовнішніх url().
 */

/* ===== general.css ===== */
#buyoneclick_form_order {
    font-size: 16px;
}
#buyoneclick_form_order .form-message-result {
    font-size: 13px;
    color: red;
}
#buyoneclick_form_order form {
    margin-bottom: 0;
}
#buyoneclick_form_order .table-wrap {
    display: inline-block;
    width: 100%;
   
    background: linear-gradient(128.87deg, #FABF79 0.48%, #FFBB83 48.94%, #FE9AD4 85.96%);
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04);
border-radius: 10px;
padding: 30px 30px 50px 30px;
margin-bottom: 30px;
}

#buyoneclick_form_order .table-wrap table {
    width: 100%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
}

#buyoneclick_form_order .table-wrap table tr {
display: grid; 
  grid-auto-columns: 1fr; 
  grid-template-columns: .25fr 1fr; 
  gap: 25px 25px; 
  grid-template-areas: 
    "pic title"
    "pic quantity-price"; 
}

.ark-woo-1click-pic { grid-area: pic; }
.ark-woo-1click-title { grid-area: title; }
.ark-woo-1click-quantity-price { grid-area: quantity-price; }

#buyoneclick_form_order .table-wrap table th, #buyoneclick_form_order .table-wrap table td {
    font-size: 14px;
}

#buyoneclick_form_order .table-wrap table th {
    color: #fff;
    background-color: #444;
    text-transform: uppercase;

}

#formOrderOneClick>.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    visibility: hidden;
    z-index: 9999989;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
#formOrderOneClick>.popup {
    display: block;
    opacity: 0;
    width: 100%;
    max-width: 765px;
    min-width: 320px;
    height: auto;
    position: fixed;
    visibility: hidden;
    z-index: 999999997;
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
    border-radius: 4px;
    
    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    padding: 40px 30px;
    background: #FFFAF4;
    border-radius: 10px;
}

#buyoneclick_form_order h2 {
background: linear-gradient(20.61deg, #F9DABE -0.19%, #E9B7D4 104.1%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
font-weight: 600;
font-size: 32px;
}

#formOrderOneClick .popup .close_order {
    display: block;
    width: 2em;
    height: 2em;
    padding:2px;
    top: -6px;
    right: -6px;
    cursor: pointer;
    color: #fff;
    -webkit-border-radius: 20%;
    -moz-border-radius: 20%;
    -o-border-radius: 20%;
    -ms-border-radius: 20%;
    border-radius: 20%;
    text-align: center;
}

#formOrderOneClick textarea{
    resize: none;
    font-family: 'arial', sans-serif;
    padding: 6px;
    width: 100%;
    height: 80px;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
}

#formOrderOneClick input[type="checkbox"] {
    float: left;
}
#formOrderOneClick .popup #buyoneclick_form_order {
    position: relative;
    border-radius: 12px;
    background: none;
}

#formOrderOneClick .button:hover {

    text-decoration: none;
}
#formOrderOneClick .button:active, #buyoneclick_form_order input[type="submit"].button:disabled {
    opacity: 0.7;
    cursor: default;
}
#formOrderOneClick .phoneFormat {
    line-height: 12px;
    font-size: 12px;
    color: #cacaca;
    position: relative;
    z-index: 20;
    padding: 0;
    margin: 2px;
}

#formOrderOneClick th,td {
    font-weight: normal;
}
#formOrderOneClick .button{
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    display: block;
    text-align: center;
    margin: 10px auto;
    text-decoration: none;
    cursor: pointer;


}
#formOrderOneClick [name="quantity_product"] {
    position: relative;
    height: 50%;
    width: 75px;

}

.ark-woo-1click-pic img {
width: 125px;
height: 125px;
border-radius: 10px;
}

.ark-woo-1click-title span {
font-weight: 700;
font-size: 22px;
line-height: 30px;
color: #FFFFFF;
}

.ark-woo-1click-quantity-price {
background: #FFFFFF;
border: 1px solid #FFFFFF;
border-radius: 10px;
padding: 10px 35px;
display: flex;
justify-content: space-between;
}

.ark.qib-button {
display: block !important;
}

.ark-woo-1click-quantity label,
.ark-woo-1click-price p {
margin-bottom: 10px;
    display: block;
    font-size: 18px;
}

.ark-woo-1click-price span {
font-size: 32px;
}

.ark-woo-1click-sign-form {
    font-size: 22px;
line-height: 30px;
margin-bottom: 30px;
}

.b1c-form > label {
    font-size: 12px;
color: #222222;
display: block;
margin-bottom: 10px;
}

.b1c-form > label span {
    margin-bottom: 5px;
}

.b1c-form > label input {
    background: #FFFFFF;
border: 1px solid rgba(227, 220, 214, 0.42);
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04);
border-radius: 10px;
padding: 15px 20px;
}

.b1c-form > label input::placeholder {
    color: #7C7C7C;
}

.ark-woo-1click-submit {
    padding: 15px !important;
    color: #FFFFFF;
    background: linear-gradient(107.96deg, #FEA02E -10.77%, #FCA35B 46.84%, #FF7FC9 90.85%) !important;
    box-shadow: 0px 0px 8px rgb(0 0 0 / 1%) !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    width: 100%;
    font-weight: 500 !important;
    font-size: 18px !important;
    justify-content: center;
    margin: 30px 0 0 0 !important;
}

.ark-woo-1click-close {
    display: flex;
    justify-content: space-between;
margin-bottom: 30px;
}

.ark-woo-1click-price-mob {
	display: none;
}


@media screen and (max-width: 768px) {
	#formOrderOneClick>.popup {
		max-width: 90%;
		min-width: 90%;
		overflow: auto;
    	max-height: 90vh;
	}
	
	#buyoneclick_form_order .table-wrap table tr {
		grid-template-columns: .35fr 1fr;
	}
	
	.ark-woo-1click-quantity-price {
		padding: 10px 15px;
	}
}

@media screen and (max-width: 600px) {
    #formOrderOneClick > .popup {
        min-width: 90%;
    }

    #buyoneclick_form_order .table-wrap table {
        border: 0;
    }
    #buyoneclick_form_order .table-wrap table thead {
        display: none;
    }
    #buyoneclick_form_order .table-wrap table tr {
    }
    #buyoneclick_form_order .table-wrap table td {
        display: block;
        font-size: 13px;
    }
    #buyoneclick_form_order .table-wrap table td:last-child {
        border-bottom: 0;
    }
    #buyoneclick_form_order .table-wrap  table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
		display: none;
    }
	
	#buyoneclick_form_order .table-wrap table tr {
		grid-template-areas:
        "pic title"
        "quantity-price quantity-price";
		gap: 20px 10px;
		grid-template-columns: .5fr 1fr;
	}
	
	.ark-woo-1click-price-mob {
	display: flex;
	align-items: center;
	justify-content: space-between;
		margin-bottom: 35px;
}
	
	.ark-woo-1click-price-mob p {
		font-size: 14px;
	}
	
	.ark-woo-1click-price-mob span {
		font-size: 22px;
	}
	
	.ark-woo-1click-sign-form {
		display: none;
	}
	
	.ark-woo-1click-price {
		display: none;
	}
	
	.ark-woo-1click-quantity-price {
		padding: 0;
		background: transparent;
    border: none;
    border-radius: 0;
	}
	
	#formOrderOneClick>.popup {
		padding: 30px 20px 0 20px;
	}
	
	#buyoneclick_form_order h2 {
		font-size: 22px;
		line-height: 30px;
	}
	
	.ark-woo-1click-close {
		margin-bottom: 10px;
	}
	
	#buyoneclick_form_order .table-wrap {
		padding: 15px;
		margin-bottom: 20px;
	}
	
	.ark-woo-1click-title span {
		    font-weight: 400;
    		font-size: 12px;
	}
	
	.ark-woo-1click-quantity label, .ark-woo-1click-price p {
		color: #FFFFFF;
		font-size: 14px;
	}
	
	.ark-qty-button {
		color: #FFF !important;
    border: 1px solid #FFF !important;
	}
	
	.ark-woo-1click-quantity-price .qib-container .quantity input.qty:not(#qib_id):not(#qib_id) {
		background: #fff !important;
		color: #FEA02E;
	}
	
	.b1c-form > label {
		margin-bottom: 25px;
	}
	
	#formOrderOneClick .button {
		    width: calc(100% + 40px);
    		margin: 0 -20px !important;
			border-radius: 0 !important;
	}
}

@media screen and (max-width: 420px) {
		#buyoneclick_form_order .table-wrap table tr {
    grid-template-columns: 1fr 1fr;
	}
}

/* ===== form_6.css ===== */
/*Style WordPress theme*/

#formOrderOneClick .buyvalide {
    width: 100%;
    margin-top: 10px;
}




/* ===== formmessage.css ===== */
/*
Стили дополнительного сообщения
*/
#formOrderOneClick .overlay_message {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
#formOrderOneClick .popummessage {
    display: inline-block;
    opacity: 0;
    position: fixed;
    visibility: hidden;
    z-index: 999999;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
    border-radius: 11px;

    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(107.96deg, #FEA02E -10.77%, #FCA35B 46.84%, #FF7FC9 90.85%);
    border-radius: 10px;
    padding: 35px 50px;
    width: 100%;
    max-width: 530px;
}
#formOrderOneClick .popummessage .close_message {
    font-size: 13px;
    display: block;
    width: 6px;
    height: 17px;
    position: absolute;
    padding: 1px 9px 4px 9px;
    top: -15px;
    right: -15px;
    cursor: pointer;
    color: #fff;
    font-family: 'tahoma', sans-serif;
    background: -webkit-gradient(linear, left top, right top, from(#3d51c8), to(#051fb8));
    background: -webkit-linear-gradient(top, #3d51c8, #051fb8);
    background: -moz-linear-gradient(top, #3d51c8, #051fb8);
    background: -o-linear-gradient(top, #3d51c8, #051fb8);
    background: -ms-linear-gradient(top, #3d51c8, #051fb8);
    background: linear-gradient(top, #3d51c8, #051fb8);
    background-color: #3d51c8;
    border: 1px solid #061fb8;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.5);
    display: none;
}
#formOrderOneClick .popummessage .close_message:hover {
    background: -webkit-gradient(linear, left top, right top, from(#051fb8), to(#3d51c8));
    background: -webkit-linear-gradient(top, #051fb8, #3d51c8);
    background: -moz-linear-gradient(top, #ff5f0, #3d51c87);
    background: -o-linear-gradient(top, #051fb8, #3d51c8);
    background: -ms-linear-gradient(top, #051fb8, #3d51c8);
    background: linear-gradient(top, #051fb8, #3d51c8);
    background-color: #051fb8;
    border: 1px solid #00385E;
}
#formOrderOneClick .popummessage .close_message:active {
    background: #8f9be0;
}

.ark-woo-1click-thank-img {
text-align: center;
margin-bottom: 20px;
}

#formOrderOneClick .popummessage p {
    font-weight: 500;
font-size: 18px;
line-height: 26px;
color: #FFFFFF;
text-align: center;
}

@media (max-width: 576px) {
	#formOrderOneClick .popummessage {
		width: 89%;
		padding: 20px;
	}
	
	#formOrderOneClick .popummessage p {
    font-weight: 400;
    font-size: 14px;
}
}