/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/
:root{
    --gap: 0.5rem;
    --pad-y: 0.25rem;       
    --pad-x: 0.75rem;       
    --radius: 9999px;      
    --font-size: 0.875rem;
    --font-weight: 600;
}

.badges{
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-bottom: 1rem;
    align-items: center;
}

.badge{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--pad-y) var(--pad-x);
    border-radius: var(--radius);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: 1;
    white-space: nowrap;
}

.badge__icon{
    display: block;
    flex: 0 0 auto;
    width: 1rem;   /* 16px */
    height: 1rem;
    vertical-align: middle;
}

/* Color variants */
.badge--green{
    background-color: #ecfdf5; /* green-100 */
    color: #065f46;           /* green-800 */
}

.badge--blue{
    background-color: #eff6ff; /* blue-100 */
    color: #1e3a8a;            /* blue-800 */
}

.badge--purple{
    background-color: #f5f3ff; /* purple-100 */
    color: #5b21b6;            /* purple-800 */
}

/* Optional: better tap target on small screens */
@media (max-width: 480px){
    .badge{
        padding: 0.35rem 0.9rem;
        font-size: 0.8125rem;
    }
}

.info-block {
    display: flex;
    flex-direction: column; /* вертикальный стэк */
    gap: 0.5rem;            /* расстояние между строками (Tailwind space-y-2 ≈ 0.5rem) */
    margin-bottom: 1rem;    /* mb-4 */
}

.info-item {
    display: flex;
    align-items: center;    /* вертикальное выравнивание иконки и текста */
}

.info-icon {
    margin-right: 0.5rem;  /* mr-2 */
    color: #685c80;        /* цвет иконки */
    font-size: 1rem;       /* можно подогнать под дизайн */
}

.info-text {
    font-size: 0.875rem;   /* text-sm ≈ 14px */
    color: grey;           /* серый цвет текста */
}

.pr-pg-add-to-cart .qty {
	width: 100%!important;
}

.pr-pg-add-to-cart form.cart {
    flex-direction: column;
}

.pr-pg-add-to-cart .single_add_to_cart_button {
    margin: 0!important;
}

.pr-pg-add-to-cart .custom-buttons {
	flex-direction: column;
}

.pr-pg-add-to-cart .custom-buttons button {
	width: 100%;
    margin: 0!important;
    background-color: #695d81;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 48px;
    font-family: "PT Sans Caption", Sans-serif;
}

.pr-pg-add-to-cart .custom-buttons button:hover {
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.22);
    background-color: #695d81;
    color: #fff;
}

.pr-pg-add-to-cart .cart_total_price {
	display: none!important;
}

.pr-pg-add-to-cart .quantity {
	margin-right: 0!important;
}

.pr-pg-add-to-cart form .quantity {
	order: 1;
    margin-bottom: 10px!important;
    font-family: "PT Sans Caption", Sans-serif;
}

.pr-pg-add-to-cart form .product_total_price {
	order: 2;
    font-family: "PT Sans Caption", Sans-serif;
}

.pr-pg-add-to-cart form .single_add_to_cart_button {
	order: 3;
    background-color: #695d81!important;
    min-height: 48px;
    font-family: "PT Sans Caption", Sans-serif; 
}

.pr-pg-add-to-cart form .custom-buttons {
	order: 4;
}

#product_total_price .cust_price {
	color: #303030;
    font-weight: 700;
}

#product_total_price {
	text-align: end;
    margin-bottom: 10px;
}

.woocommerce .quantity .qty {
    text-align: left;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 50%, 0.025);
}

.attribute-table table tbody  {
   font-family: "PT Sans Caption", Sans-serif; 
}



.application-block {
  background: #fff;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 24px;
}

.application-block h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}

.application-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .application-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.application-item {
  text-align: center;
  padding: 10px;
}

.icon-circle {
  background: #f3e8ff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.icon-circle i {
  font-size: 22px;
  color: #685c80;
}

.application-item h3 {
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 20px;
}

.application-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/
.custom-prod-gallery .woocommerce-product-gallery {
	display: flex;
}

.custom-prod-gallery ol.flex-control-nav {
	display: flex;
	flex-direction: column;
	order: -1;
    justify-content: center;
    width: 70%;	
}

.custom-prod-gallery ol.flex-control-nav li { 
	width: 80%!important;	
}

.prod-widget .products li {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    padding: 10px!important;
}
.prod-widget .products li img {
    border-radius: 8px 8px 0 0;
}

.prod-widget .product-excerpt {
	font-size: 14px;
	line-height: 16px;
}

.prod-widget table td, .prod-widget table th {
	padding: 4px 8px;
    border: none;
}

.prod-widget table td.attr-value {
    text-align: right;
    font-weight: 500;
}

.prod-widget table td.attr-name {
    text-align: left;
    padding-left: 0;
    font-weight: 400;
    font-size: 14px;
}

.prod-widget .product-attributes table {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

/**/
/* Только для Firefox */
@-moz-document url-prefix() {
    .woocommerce-product-gallery__image > a > img {
        width: 96% !important;
    }
}

/**/

.mkupak-cat-acf-fields {
    border-top: 1px solid #efefef;
    padding-top: 10px;
}

.prod-widget mark.count {
	display: none;
}

/*чекбоксы категорий в сайдбаре начало*/
.mkupak-category-checkboxes label {
    position: relative;
    padding-left: 23px;
    cursor: pointer;
    display: inline-block;
    line-height: 1.3;
    font-size: 14px;
}

/* Скрываем реальный input */
.mkupak-category-checkboxes input[type="checkbox"] {
    display: none;
}

/* Квадратик */
.mkupak-category-checkboxes label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    width: 15px;
}

/* Галочка */
.mkupak-category-checkboxes label span::after {
    content: "✔";
    font-family: Arial, sans-serif;
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #303030;
    opacity: 0; /* скрыта по умолчанию */
    transition: opacity 0.2s;
}

/* Когда checked — показываем галочку */
.mkupak-category-checkboxes input[type="checkbox"]:checked + span::after {
    opacity: 1;
}

/* Вложенные списки */
.mkupak-category-checkboxes ul {
    list-style: none;
    margin-left: 20px;
    padding-left: 0;
}
/*чекбоксы категорий в сайдбаре конец*/

.prod-widget select.orderby,
.prod-widget select.orderby:focus-visible {
	border-color: #E5E7EB;
    outline-color: #E5E7EB;
}

.prod-widget p.woocommerce-result-count {
	margin-bottom: 0;
}

.prod-widget .products .product a.button {
	width: 38%;
    text-align: center;
    font-family: "PT Sans Caption", Sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.prod-widget .products .product a.my-custom-button {
    width: 60%;
    text-align: center;
    font-family: "PT Sans Caption", Sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease-in-out;
}

.prod-widget .products .product a.my-custom-button:hover {
        background-color: #dcd7e2;
}

.prod-widget span.custom-price {
    border-top: 1px solid #E5E7EB;
    padding-top: 5px;
}

.form-cb span {
    font-weight: 400;
}

@media (max-width: 1199px) {
	.elementor-image-box-content div p {
		font-size: 13px;
	}
}
@media (max-width: 768px) {
    .prod-widget .woocommerce-ordering {
        width: 100%;
        border-radius: 8px;
        display: none;
    }

    .prod-widget .woocommerce-ordering select {
        border-radius: 8px;
        padding: 10px;
    }
}

@media (max-width: 700px) {
    .raschet-form-wrapper {
        flex-direction: column!important;
    }
    .raschet-form-wrapper .raschet-form-column {
       width: 100%; 
    }

    .elementor-widget-wc-archive-products.prod-widget-main-cat .products {
        grid-template-columns: repeat(1, 1fr);
    }


}

.filter-accord summary {
    transition: border-radius 0.5s ease-in-out;
}

.filter-accord summary[aria-expanded="false"] {
  border-radius: 8px 8px 8px 8px;
}

/*новый списко категорий на странице архивов товаров начало*/
.mkupak-category-links ul li {
	list-style: none;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
	color: #333;
    padding: 1px;
}

.mkupak-category-links>ul {
    padding-left: 20px;
}

.mkupak-category-links>ul ul {
    padding-left: 15px;
} 

.mkupak-category-links li.current-cat > a {
    text-decoration: underline;
    font-weight: 700;
}

.mkupak-category-links>ul>li>a {
	font-size: 16px;
    font-weight: 500;
}

.mkupak-category-links>ul>li>ul>li>a {
	font-size: 15px;
	font-weight: 500;
}

.mkupak-category-links ul a:hover {
    color: #74688d;
    text-decoration: underline;
}
/*новый списко категорий на странице архивов товаров конец*/