/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

html {
    overflow-y: scroll;
}



/* Скрываем стандартный чекбокс */
.wpc-term-item-content-wrapper input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Стили для label */
.wpc-term-item-content-wrapper label {
  position: relative;
  padding-left: 28px !important; /* место под кастомный чекбокс */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}


	
	
/* Кастомная рамка чекбокса */
.wpc-term-item-content-wrapper label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px !important;
  height: 22px !important;
  border: 2px solid lightgrey;
  border-radius: 0px; /* убери для квадрата */
  background: transparent;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* Галочка */
.wpc-term-item-content-wrapper input[type=checkbox]:checked + label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: calc(50% - 3px);
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: 1px solid #fff;
  border-width: 0 2px 2px 0;
}

/* Цвет при checked */
.wpc-term-item-content-wrapper input[type=checkbox]:checked + label::before {
  background: #000; /* меняешь под свой брендовый */
  border-color: #000;
}

/* widget-title wpc-filter-title */
.wpc-filter-header .wpc-filter-title {
	text-transform: uppercase;
	color: #000;
	font-size: 16px;
    font-weight: 600;
	border-bottom: 1px solid lightgrey;
}



/* НОВА ПОШТА */

.woocommerce-billing-fields, .woocommerce-shipping-fields {display: flex; flex-direction: column; flex-wrap: wrap; row-gap: var(--bt-space-xs);}

.select2-container--default .select2-selection--single {border: 1px solid var(--bricks-border-color) !important; padding: 6px 0px !important;}
.select2-container .select2-selection--single {height: 42px !important;}
.select2-container--default .select2-selection--single .select2-selection__arrow {top:8px !important;}



