﻿/*
Theme Name: Bono Child
Theme URI: https://wpshop.ru/themes/bono
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: bono
Version: 1.0.1
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

.header-phone__item {
    margin-top: 0;
}


@media (min-width: 768px) {
    .header-phone__item {
        margin-top: 0;
    }
}


/* Скрываем подытог корзины на странице корзины */
body.woocommerce-cart .cart-subtotal {
    display: none;
}


.entry-content blockquote:not(.wpremark)
{
margin: 0;
}


.comment-reply-title, .comments-title, .h1, .h2, .h3, .h4, .h5, .h6, .related-posts__header, .related-products__header, .section-block__title, h1, h2, h3, h4, h5, h6 {
     margin: 1em 0 1em; 
}


.entry-content ol.wp-block-list, .entry-content ol:not([class]), .entry-content ul.wp-block-list, .entry-content ul:not([class]) {
max-width: 100% !important;
}


.woocommerce-tabs .tabs li#tab-title-description a {
    display: none !important;
}


/* Стили формы CF7 */
/* Центрируем форму и контент */
#wpcf7-f969-o1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px; /* Отступ формы от заголовка */
}


/* Отступы между полями */
#wpcf7-f969-o1 .wpcf7-form p {
    margin-bottom: 10px;
}


/* Стили для input и tel */
#wpcf7-f969-o1 .wpcf7-form-control.cf7-input {
    width: 100%;
    max-width: 400px; /* Можно менять по ширине */
    height: calc(1.2 * 2.4em); /* 1.2 раза больше стандартной высоты */
    padding: 0.5em;
    font-size: 1em;
    box-sizing: border-box;
}


/* Кнопка */
#wpcf7-f969-o1 .wpcf7-submit.cf7-submit {
    width: 100%;
    max-width: 400px;
    height: calc(1.2 * 2.4em); /* 1.2 раза больше инпута */
    background-color: #3960ff;
    color: #fff;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px; /* Отступ кнопки от инпутов */
}


/* Ховер для кнопки */
#wpcf7-f969-o1 .wpcf7-submit.cf7-submit:hover {
    background-color: #2e4ecc;
}


/* Немного внутренние отступы для текста */
#wpcf7-f969-o1 p span.wpcf7-form-control-wrap {
    display: block;
}


/* Скругление краев инпутов и кнопки */
#wpcf7-f969-o1 .wpcf7-form-control.cf7-input,
#wpcf7-f969-o1 .wpcf7-submit.cf7-submit {
    border-radius: 5px;
}


.payment_box {
	color: green;
}


.input-checkbox {
	height: 13px;
	width: 13px;
	border-radius: 0px !important;
	border: 1px solid #ced4da !important;
	margin-right: 10px;
}


#billing_another_check_field .woocommerce-input-wrapper .checkbox {
	display: flex;
	align-items: center;
}


.optional {
	display: none;
}


.woocommerce-form__label-for-checkbox .required {
	text-decoration: none;
}


.woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-secondary-terms-and-conditions-checkbox-text {
	color:#91a6ba;
	font-size:.9em;
}


.woocommerce form .form-row .required {
	display:none;
}


.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
	display:flex;
}


.woocommerce-privacy-policy-text {
	display:none;
}



.preorder-btn {
    display: inline-block;
    padding: .5em 1em; /* скопируйте значения из вашей темы */
    font-size: 14px;      /* как у корзины */
    line-height: 1.2;
    border-radius: 300px;   /* скругление как у кнопки корзины */
    background-color: #ff4081; /* основной цвет кнопки корзины */
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.preorder-btn:hover {
    background-color: #e73370; /* цвет при наведении */
}


.woocommerce-ordering {
	display: none;
}

.shop-grid {
	    justify-content: left
}

.woocommerce-form__label-secondary-terms {
	color: #91a6ba;
    font-size: .9em;
}


.header-mobile-item {
    width: auto;
    height: auto;
    padding: 0;
	display: flex;
	align-items: center;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.header-customer-account__text {
		display: none;
	}
}


.footer-widgets {
	margin-bottom: 0px;
	padding-bottom: 0px;
}