/*
Theme Name:       Bookshop
Theme URI:        https://www.woocommerce.com/products/bookshop/
Description:      A tadi$XbyR&^dHuhs$HGd 
pricetionally designed Storefront child theme for book shops.
Author:           WooCommerce
Author URI:       https://woocommerce.com
Template:         storefront
Version:          1.0.13
License:          GNU General Public License v2 or later
License URI:      http://www.gnu.org/licenses/gpl-2.0.html
Tags:             light, dark, two-columns, right-sidebar, left-sidebar, responsive-layout, accessibility-ready
Text Domain:      bookshop
*/
@import url('https://fonts.googleapis.com/css?family=PT+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700;800;900&display=swap');

/* This stylesheet generated by Transfonter (https://transfonter.org) on September 22, 2017 5:40 PM */



body,
button,
input,
select,
textarea {
  /*font-family: 'PT Sans', sans-serif;*/
  font-family: 'PT Sans';	
  font-weight: 400; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'PT Sans';
  font-weight: 900; }
  h1 a,
  h2 a,
  h3 a,
  h4 a,
  h5 a,
  h6 a {
    font-weight: 900; }
.site-main .storefront-product-section .section-title span {
      font-family: 'PT Sans';
      font-weight: 900; }
body {
  background-color: #ffffff; }

a {
  font-weight: 400; }

label {
  font-weight: 400; }

blockquote {
  font-family: 'PT Sans';}

img {
  border-radius: 2px; }

.wp-caption .wp-caption-text {
  font-family: 'PT Sans'; }

.added_to_cart,
.button,
button:not(.pswp__button),
input[type=button],
input[type=reset],
input[type=submit],
.woocommerce-active .site-header .site-header-cart a.cart-contents {
  border-radius: 3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  font-weight: 900;
  font-family: 'PT Sans';
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.3); }

.input-text,
input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
textarea {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: 'PT Sans';}
  .input-text:focus,
  input[type=text]:focus,
  input[type=email]:focus,
  input[type=url]:focus,
  input[type=password]:focus,
  input[type=search]:focus,
  textarea:focus {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.3); }

.form-row.woocommerce-validated input.input-text {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  border-color: #0f834d; }

.form-row.woocommerce-invalid input.input-text {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  border-color: #e2401c; }

.form-row + .clear {
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
  clear: both;
  margin-bottom: 1em; }https://bhv.ru/wp-admin/theme-editor.php?file=style.css&theme=bookshop

.site-header {
  padding-top: 1.326em;
  padding-bottom: 1em;
  box-shadow: inset 0 -3px 3em rgba(0, 0, 0, 0.075), 0 1px 1px rgba(0, 0, 0, 0.15); }

  .site-header:before {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url("/wp-content/uploads/2020/02/cropped-SS_petropavlovka.jpg");
    height: .53em; }https://bhv.ru/wp-admin/theme-editor.php?file=style.css&theme=bookshop

.site-footer {
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1); }
  .site-footer .footer-widgets,
  .site-footer .site-info {
    font-size: .857em; }
  .site-footer .footer-widgets {
    border: 0; }
  .site-footer .site-info {
    border-top: 1px dotted rgba(0, 0, 0, 0.1); }

.woocommerce-breadcrumb {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  font-family: 'PT Sans';
  font-size: .75em;
  text-transform: uppercase;
  /*margin-left: -9999px;
  margin-right: -9999px;
  padding-left: 9999px;
  padding-right: 9999px;*/
  padding-top: 1.618em;
  padding-bottom: 1.618em; }
  .woocommerce-breadcrumb a {
    font-weight: 900; }

.secondary-navigation {
  font-family: 'PT Sans'; }

.main-navigation {
  font-family: 'PT Sans';
  font-weight: 900; }
  .main-navigation p {
    font-weight: 400;
    font-family: 'PT Sans'; }

.site-branding h1 {
  font-size: 2.244em; }
  .site-branding h1 a {
    font-weight: 900; }

.product .format {
  margin-top: -1em;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .75em;
  margin-bottom: 2.244em; }
  .product .format:before {
    content: "\f02d";
    font-family: "FontAwesome";
    font-weight: 400;
    display: inline-block;
    margin-right: .53em;
    opacity: .6;
    padding: .53em;
    text-align: center;
    background: rgba(0, 0, 0, 0.075);
    height: 1em;
    width: 1em;
    line-height: 1;
    border-radius: 100%; }

.product .author {
  margin: 0;
  text-decoration: underline;}


.onsale {
/*  height: 2.95em;
  line-height: 3;
  padding: 0;
  border: 0;
  font-family: 'PT Sans';
  position: relative;
  letter-spacing: 1px;
  border-radius: 0;
  font-size: .75em; 
  */}

  .onsale:before, .onsale:after {
    content: "";
	
    display: block;
    border:0.5em solid transparent;
    position: absolute;
    top: 0;
    right: 100%; }

  .onsale:after {
    border-right-color: transparent;
    right: auto;
    left: 100%; }

.storefront-sorting {
  padding: 1em 1em 1em 1.618em;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 3px; }

.woocommerce-pagination {
  font-family: 'PT Sans'; }
  .woocommerce-pagination .page-numbers li .page-numbers {
    background: transparent;
    border-radius: 3px;
    font-weight: 900; }
  .woocommerce-pagination .page-numbers li .page-numbers.current {
    border-radius: 100%; }

.site-main .storefront-product-section {
  border-bottom: 0; }
  .site-main .storefront-product-section .section-title {
    font-family: 'PT Sans';
    border-bottom: 4px double rgba(0, 0, 0, 0.1);
    padding-bottom: .618em;
    font-weight: 900;
    position: relative;
    margin-bottom: 1.618em; }
 
    .site-main .storefront-product-section .section-title:after {
      content: "";
      display: block;
      height: 4px;
      width: 4px;
      position: absolute;
      bottom: -6px;
      left: 50%;
      margin-left: -2px;
      background-color: rgba(0, 0, 0, 0.1);
      transform: rotate(45deg); }

ul.products li.product {
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 10px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

ul.products li.product:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Position product container for proper badge placement */
ul.products li.product .woocommerce-LoopProduct-link {
  position: relative;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Create consistent image wrapper */
ul.products li.product .woocommerce-LoopProduct-link:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
}

ul.products li.product img {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto 10px;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 230px;
  position: relative;
  z-index: 5;
  min-height: 250px;
  border-radius: 3px;
}

/* Different aspect ratios for different product types */
ul.products li.product[class*="writerman"] img {
  aspect-ratio: 3/4;
}

ul.products li.product[class*="product_cat-elektronnye-komponenty"] img,
ul.products li.product[class*="product_cat-kontrollery"] img {
  aspect-ratio: 1/1;
}


ul.products li.product .star-rating {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: .618em;
  font-size: 1em;
}

ul.products li.product .onsale {
  position: absolute;
  top: -1.5em;
  left: 50%;
  transform: translateX(-50%);
}

ul.products li.product .button,
ul.products li.product .added_to_cart {
  font-family: 'PT Sans';
  background-color: #002742 !important;
  color: white !important;
  padding: 8px 12px;
  text-shadow: none;
  box-shadow: none;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 3px;
  margin-top: auto;
}

ul.products li.product .button.add_to_cart_button:before,
ul.products li.product .added_to_cart.add_to_cart_button:before {
  font-family: "FontAwesome";
  font-weight: 400;
  content: "\f291";
  margin-right: .53em;
  font-size: .857em;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
  opacity: .5;
  color: #fff;
}

ul.products li.product .added_to_cart {
  display: block;
  margin-top: 10px;
}

ul.products li.product h2,
ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title {
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: left;
}
ul.products li.product .price {
  margin-bottom: 12px;
  text-align: left;
}

ul.products li.product .price del,
ul.products li.product .price ins {
  display: inline-block;
}

ul.products li.product .price ins {
  margin: 0;
  margin-right: 7px;
  font-weight: 700;
  color: #d6001c; /* Красный для привлечения внимания */
  text-decoration: none;
  order: 1; /* Размещаем сначала акционную цену */
}

/* Стиль для зачеркнутой цены */
ul.products li.product .price del {
  font-size: 0.85em;
  opacity: 0.65;
  color: #666;
  order: 2;
  margin-right: 5px;
}

/* Фикс для мобильных устройств */
@media (max-width: 767px) {
  ul.products li.product .price {
    font-size: 0.95em;
  }
  
  ul.products li.product .price ins {
    margin-right: 5px;
  }
  
  ul.products li.product .price del {
    font-size: 0.8em;
  }
}

ul.products li.product .price br {
  display: none;
}

span.price {
	font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 18px;
	font-weight: 800;
	text-align: left;
	display: block;
}
.single-product div.product {
  overflow: visible;
  position: relative; }
  .single-product div.product > .onsale {
    margin-left: 1.5em; }
  .single-product div.product .summary .product_title {
    font-weight: 900; }
  .single-product div.product .summary .product_meta {
    border-top: 1px dotted rgba(0, 0, 0, 0.1);
    font-family: 'PT Sans'; }

/*Цена товара */
  .single-product div.product .summary .price {
    font-size: 1.387em;
    font-family: 'PT Sans'; 	  
}

  .single-product div.product .summary form.cart {
    border-bottom: 0; }
  .single-product div.product .summary .variations_button {
    border-top: 0; }
  .single-product div.product .woocommerce-product-rating {
    padding: 1em 0;
    border: 1px dotted rgba(0, 0, 0, 0.1);
    border-width: 1px 0; }
    .single-product div.product .woocommerce-product-rating .star-rating {
      float: left;
      margin-right: .326em; }
  .single-product div.product table.variations {
    background-color: transparent;
    box-shadow: none; }
    .single-product div.product table.variations th,
    .single-product div.product table.variations td {
      border: 0; }

.woocommerce-tabs {
  border: 0;
  padding-top: 0; }
  .woocommerce-tabs ul.tabs,
  .woocommerce-tabs .panel {
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0;
    float: none; }
  .woocommerce-tabs ul.tabs {
    border: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 2px; }
    .woocommerce-tabs ul.tabs::after {
      clear: both;
      content: "";
      display: table; }
    .woocommerce-tabs ul.tabs li {
      display: block;
      border: 0; }
      .woocommerce-tabs ul.tabs li:after {
        display: none !important; }
      .woocommerce-tabs ul.tabs li a {
        font-weight: 900;
        font-family: 'PT Sans';
        display: block;
        padding: 1em 1.387em; }
      .woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li:hover a {
        background-color: rgba(0, 0, 0, 0.0125); }
      .woocommerce-tabs ul.tabs li:after {
        display: none; }

.storefront-full-width-content .woocommerce-tabs ul.tabs,
.storefront-full-width-content .woocommerce-tabs .panel {
  width: 100%;
  float: left;
  margin-left: 0;
  margin-right: 0;
  float: none; }

.hentry .entry-header {
  margin-bottom: 0;
  border-bottom: 0; }
  .hentry .entry-header h1 {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: .618em; }

.hentry.type-post .entry-header {
  border-bottom: 4px double rgba(0, 0, 0, 0.1);
  margin-bottom: 1.618em; }

.entry-meta .avatar {
  margin-bottom: 1.618em; }

.entry-meta div {
  clear: both; }

.entry-meta .label {
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
  padding-top: 2em;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
  font-size: .857em; }

table {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  border-radius: 3px; }
  table thead th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  table tbody th {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  table tbody td {
    background-color: transparent !important;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1); }
  table th {
    font-family: 'PT Sans';
    background: rgba(255, 255, 255, 0.4); }
  table.cart td.actions {
    border: 0;
    padding: 1.618em; }
  table.cart td.product-remove {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1); }

#order_review_heading,
#order_review {
  border-width: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); }

#order_review_heading {
  box-shadow: none;
  background-color: transparent !important; }

#order_review table {
  border-radius: 0;
  box-shadow: none; }

#payment .payment_methods li label {
  font-family: 'PT Sans';
  font-weight: 900; }

.widget-area .widget {
  padding: 1.618em;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  font-size: 0.8em;
	font-family: 'PT Sans';
  border-top: 6px dotted rgba(0, 0, 0, 0.025);
  border-bottom: 6px dotted rgba(0, 0, 0, 0.025); }
  .widget-area .widget a {
    font-weight: 900; }
  .widget-area .widget .widget-title,
  .widget-area .widget .widgettitle {
    font-size: 1.2em;
    font-family: 'PT Sans';
    font-weight: 900;
    border-bottom: 4px double rgba(0, 0, 0, 0.1);
    padding-bottom: .618em;
    text-align: center;
    position: relative; }
    .widget-area .widget .widget-title span,
    .widget-area .widget .widgettitle span {
      font-family: 'PT Sans', sans-serif;
      font-weight: 900; }
    .widget-area .widget .widget-title:after,
    .widget-area .widget .widgettitle:after {
      content: "";
      display: block;
      height: 4px;
      width: 4px;
      position: absolute;
      bottom: -6px;
      left: 50%;
      margin-left: -2px;
      background-color: rgba(0, 0, 0, 0.1);
      transform: rotate(45deg); }

.widget_product_categories ul li {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  padding-bottom: .618em; }
  .widget_product_categories ul li .count {
    font-weight: 900;
    opacity: .75; }
  .widget_product_categories ul li ul.children li {
    border: 0;
    padding-bottom: 0; }
  .widget_product_categories ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0; }

.widget_shopping_cart p.total {
  border-bottom-style: dotted; }

.widget_shopping_cart .product_list_widget li:first-child {
  padding-top: 0; }

.widget_shopping_cart li a {
  font-weight: 900;
  line-height: 1.387; }

.widget_shopping_cart .quantity {
  font-family: 'PT Sans', sans-serif;
  opacity: .75;
  font-size: .857em; }

a.remove:before {
  content: "\f00d"; }

/*стили для footer-bar*/
.storefront-handheld-footer-bar {
  box-shadow: 0 -1em 1em rgba(0, 0, 0, 0.1); }
  .storefront-handheld-footer-bar ul li.cart .count {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;   
}

.site-header-cart .cart-contents:after,
.storefront-handheld-footer-bar ul li.cart > a:before {
  content: "\f07a";
/* color: #01A9DB;	*/
}
.storefront-handheld-footer-bar {
 height: 55px;
}

/*включаем лупу на footer*/
.storefront-handheld-footer-bar ul.columns-3 li.search  {
/*		display: none;*/
	}


.page-template-template-homepage .site-main {
  padding-top: 2.618em; }
  .page-template-template-homepage .site-main > .type-page:first-child {
    margin-top: -2.618em;
    padding-top: 6.8535260698em; }
    .page-template-template-homepage .site-main > .type-page:first-child h1 {
      font-size: 1.8em; }

.sph-hero h1 {
  font-weight: 900; }

.sph-hero .sph-inner {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
  .sph-hero .sph-inner a:not(.button):hover {
    text-decoration: underline; }

/**
 * Storefront WooCommerce Customiser compatibility
 */
.swc-shop-alignment-center ul.products li.product {
  text-align: center; }

.swc-shop-alignment-right ul.products li.product {
  text-align: right; }

/**
 * Storefront Designer compatibility
 */
.sd-typography-courier .main-navigation,
.sd-typography-courier .secondary-navigation,
.sd-typography-courier .widget-area .widget,
.sd-typography-courier .widget-area .widget .widget-title, .sd-typography-courier .widget-area .widget .widgettitle,
.sd-typography-courier .widget-area .widget .widget-title span, .sd-typography-courier .widget-area .widget .widgettitle span,
.sd-typography-courier .widget_shopping_cart .quantity,
.sd-typography-courier .woocommerce-breadcrumb,
.sd-typography-courier.single-product div.product .summary .product_meta,
.sd-typography-courier .woocommerce-tabs ul.tabs li a,
.sd-typography-courier .onsale,
.sd-typography-courier .site-main .storefront-product-section .section-title,
.sd-typography-courier .site-main .storefront-product-section .section-title span,
.sd-typography-courier .added_to_cart, .sd-typography-courier .button, .sd-typography-courier button, .sd-typography-courier input[type=button], .sd-typography-courier input[type=reset], .sd-typography-courier input[type=submit], .sd-typography-courier.woocommerce-active .site-header .site-header-cart a.cart-contents, .sd-typography-courier.woocommerce-active .site-header .site-header-cart,
.sd-typography-courier button, .sd-typography-courier input[type="button"], .sd-typography-courier input[type="reset"], .sd-typography-courier input[type="submit"], .sd-typography-courier .button, .sd-typography-courier .added_to_cart, .sd-typography-courier .widget-area .widget a.button, .sd-typography-courier .site-header-cart .widget_shopping_cart a.button,
.sd-typography-courier table th,
.sd-typography-courier .single-product div.product .summary .price,
.sd-typography-courier .input-text, .sd-typography-courier input[type=text], .sd-typography-courier input[type=email], .sd-typography-courier input[type=url], .sd-typography-courier input[type=password], .sd-typography-courier input[type=search], .sd-typography-courier textarea {
  font-family: 'Courier' !important; }

.sd-typography-lora .main-navigation,
.sd-typography-lora .secondary-navigation,
.sd-typography-lora .widget-area .widget,
.sd-typography-lora .widget-area .widget .widget-title, .sd-typography-lora .widget-area .widget .widgettitle,
.sd-typography-lora .widget-area .widget .widget-title span, .sd-typography-lora .widget-area .widget .widgettitle span,
.sd-typography-lora .widget_shopping_cart .quantity,
.sd-typography-lora .woocommerce-breadcrumb,
.sd-typography-lora.single-product div.product .summary .product_meta,
.sd-typography-lora .woocommerce-tabs ul.tabs li a,
.sd-typography-lora .onsale,
.sd-typography-lora .site-main .storefront-product-section .section-title,
.sd-typography-lora .site-main .storefront-product-section .section-title span,
.sd-typography-lora .added_to_cart, .sd-typography-lora .button, .sd-typography-lora button, .sd-typography-lora input[type=button], .sd-typography-lora input[type=reset], .sd-typography-lora input[type=submit], .sd-typography-lora.woocommerce-active .site-header .site-header-cart a.cart-contents, .sd-typography-lora.woocommerce-active .site-header .site-header-cart,
.sd-typography-lora button, .sd-typography-lora input[type="button"], .sd-typography-lora input[type="reset"], .sd-typography-lora input[type="submit"], .sd-typography-lora .button, .sd-typography-lora .added_to_cart, .sd-typography-lora .widget-area .widget a.button, .sd-typography-lora .site-header-cart .widget_shopping_cart a.button,
.sd-typography-lora table th,
.sd-typography-lora .single-product div.product .summary .price,
.sd-typography-lora .input-text, .sd-typography-lora input[type=text], .sd-typography-lora input[type=email], .sd-typography-lora input[type=url], .sd-typography-lora input[type=password], .sd-typography-lora input[type=search], .sd-typography-lora textarea {
  font-family: 'Lora' !important; }

.sd-typography-roboto-slab .main-navigation,
.sd-typography-roboto-slab .secondary-navigation,
.sd-typography-roboto-slab .widget-area .widget,
.sd-typography-roboto-slab .widget-area .widget .widget-title, .sd-typography-roboto-slab .widget-area .widget .widgettitle,
.sd-typography-roboto-slab .widget-area .widget .widget-title span, .sd-typography-roboto-slab .widget-area .widget .widgettitle span,
.sd-typography-roboto-slab .widget_shopping_cart .quantity,
.sd-typography-roboto-slab .woocommerce-breadcrumb,
.sd-typography-roboto-slab.single-product div.product .summary .product_meta,
.sd-typography-roboto-slab .woocommerce-tabs ul.tabs li a,
.sd-typography-roboto-slab .onsale,
.sd-typography-roboto-slab .site-main .storefront-product-section .section-title,
.sd-typography-roboto-slab .site-main .storefront-product-section .section-title span,
.sd-typography-roboto-slab .added_to_cart, .sd-typography-roboto-slab .button, .sd-typography-roboto-slab button, .sd-typography-roboto-slab input[type=button], .sd-typography-roboto-slab input[type=reset], .sd-typography-roboto-slab input[type=submit], .sd-typography-roboto-slab.woocommerce-active .site-header .site-header-cart a.cart-contents, .sd-typography-roboto-slab.woocommerce-active .site-header .site-header-cart,
.sd-typography-roboto-slab button, .sd-typography-roboto-slab input[type="button"], .sd-typography-roboto-slab input[type="reset"], .sd-typography-roboto-slab input[type="submit"], .sd-typography-roboto-slab .button, .sd-typography-roboto-slab .added_to_cart, .sd-typography-roboto-slab .widget-area .widget a.button, .sd-typography-roboto-slab .site-header-cart .widget_shopping_cart a.button,
.sd-typography-roboto-slab table th,
.sd-typography-roboto-slab .single-product div.product .summary .price,
.sd-typography-roboto-slab .input-text, .sd-typography-roboto-slab input[type=text], .sd-typography-roboto-slab input[type=email], .sd-typography-roboto-slab input[type=url], .sd-typography-roboto-slab input[type=password], .sd-typography-roboto-slab input[type=search], .sd-typography-roboto-slab textarea {
  font-family: 'PT Sans', sans-serif; }

.sd-fixed-width .site-content {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .sd-fixed-width .site-content .woocommerce-breadcrumb {
    margin-left: -7.236em;
    padding-left: 7.236em;
    margin-right: -7.236em;
    padding-right: 7.236em; }

/**
 * Storefront Checkout Customiser
 */
.woocommerce-checkout.scc-distraction-free-checkout .site-header {
  padding-top: 2em; }
  .woocommerce-checkout.scc-distraction-free-checkout .site-header .site-branding,
  .woocommerce-checkout.scc-distraction-free-checkout .site-header .site-logo-link,
  .woocommerce-checkout.scc-distraction-free-checkout .site-header .custom-logo-link {
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: center; }

/*.otryvok {
	//position: absolute;
	bottom: 0.5em;
	left: 0.5em;
}*/
/*Кнопка на слайдере*/
	div#slider_btn:hover {
		background-color: rgba(255,255,255,0.5);
	}
	div#slider_btn {
		font-size: 1em;
		border-radius: 0.2em;
		border: solid;
		border-color: white;
		border-width: 2px;
		color: white;
		padding: 20px;
			}
	#slider_btn a {
		color: white;
	}
	
	div#slider_whitebtn a {
		color: white;
	}
	/*таблица метаданных товара в карточке товара*/
	div.product_meta table.meta_table{
		font-size: 1.2em;
		line-height: 2em;
	}
	div.product_meta table.meta_table td{
		height: 2em;
		padding: 0;
	}
/*кнопки выбора опций товара*/
td.value.woo-variation-items-wrapper ul li.variable-item.image-variable-item {
		width: 10vw;
		height: 180px;
		margin-right: 15px;
		margin-bottom: 20px;
		padding: 15px;
		font-weight: 900;
		text-align: center;
		color: #666;
		line-height: 1.1em;
	}
	.var_tmb_img {
		margin: auto;
/*		width: 70%;	*/
		width: 90%;
		height: 70%;
		margin-bottom: 5px;
	}
	td.value.woo-variation-items-wrapper ul li.variable-item.image-variable-item.selected {
		background-color: #ccc;
	}
	.var_tmb {
		padding-top: 3px;
		width: 120px;
	}
	.var_tmb img {	
		border-width: 0px;
	}

/*закрываем вторую цену*/
		p.price {display: none;}	
/*Отображение цены для наборов */
/*		p.price span.woocommerce-Price-amount { visibility: visible; }	*/
	h1.woocommerce-products-header__title.page-title-cat-0 {
		display: none;
	}
.wpcsp_product_carousel_slider .another_carousel_header i.fa.default {
	    -moz-border-radius:0.7em;
    -webkit-border-radius:0.7em;
    border-radius:0.7em;
	    opacity: 0.7;
	background-color: #000;
	font-size: 2em;
	line-height: 0.6em;
	font-weight: 900;
	padding: 0.2em;
}
/*Бестселлеры*/
span.best {
    font-family: Helvetica, Arial, sans-serif;
    display: inline-block;
    position: relative;
    top: 27px;
    left: -34px;
    z-index: 10;
    padding: 0px 10px 3px 3px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-decoration: none;
    background: #d6001c;
    color: #FFFFFF;
    font-size: 85%;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	font-weight: 600;
}
.best::before {
    background: #fff;
    width: 10px;
    height: 10px;
    content: "";
    display: inline-block;
    border-radius: 20px;
    box-shadow: inset 0px 2px 5px rgba(0,0,0,0.2);
    margin: 0 5px 0 0;
}
.best.arrow {
    display: inline-block;
    border: 30px solid;
    border-color: #fff #fff #fff transparent;
    height: 2px;
    z-index: 5000;
    pointer-events: none;
    position: absolute;
    -webkit-transition: right 0.2s ease-in;
    right: -20px;
    top: -19px;
}

.entry-summary .best {
    position: static;
}

/*Метки*/

span.tagged_as a {
		display: inline-block;
		line-height: 100%;
	  /*background-color: #ccc;*/
		border-radius: 2.0em;
		padding-left: 0.5em;
		padding-right: 0.5em;
		margin-right: 0.5em;
	    margin-bottom: 0.5em;
	
		white-space: nowrap;
        word-wrap: break-word;
		
        border: 1px solid #2F4F4F;
        padding-bottom: 0.5em;
		padding-top: 0.5em;
		
		color: #2F4F4F; /* Цвет символа */
        font-size: 100%; /* Размер шрифта */
		font-weight: normal;
	}

/*закрыли кнопку перехода в корзину*/
	.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled .added_to_cart.wc-forward {
		display: none;
	}


/*WOO Carousel*/
/*Подпись названий книг на главной странице */
	.themeA_product_container div.caption h4.product_name a,
	.item .themeB_product_container div.caption h4.product_name a,
	.themeC_product_container div.caption h4.product_name a{
		font-size: 1.2em;
		font-weight: 600;
		display: inline;
		text-align: center;
		font-family: 'PT Sans', sans-serif;
	
	}

.themeB_product_container div.caption h4.product_name a {
		font-size: 0.9em;
		font-weight: 600;
		display: inline;
	}

.wpcsp_product_carousel_slider .owl-stage .owl-item .item h4.product_name a {
         overflow-x: visible;
		 overflow-y: visible;
		 overflow-wrap: break-word;
		 word-break: normal;
		 white-space: normal;
       }

/*Подпись цен книг на главной странице */
	.themeA_product_container div.caption span.price,
	.themeB_product_container div.caption span.price,
	.themeC_product_container div.caption span.price{
		font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
		font-size:   20px;
		font-weight: 800;
		color:#313B4F;
	}

.themeC_product_container div.caption span.price{
		width: 100%;
		text-align: center;
		margin-top: -1em;
	}

	/*бордюр изображения обложки*/
	.themeA_product_container a img, .themeB_product_container a img, .themeC_product_  a img
	{ 
		border: solid 2px #DCDCDC;
		padding:0px;
	}
	
	
	#content div.col-full .owl-item .item .themeB_product_container, #content div.col-full .owl-item .item .themeC_product_container
	{
		border: none;
	}

	.wpcsp_product_carousel_slider .owl-stage .owl-item .item h4.product_name a {
         overflow-x: visible;
		 overflow-y: visible;
		 overflow-wrap: break-word;
		 word-break: normal;
		 white-space: normal;
       }

	.wpcsp_product_carousel_slider .owl-item.active .item .themeA_product_container {
/*svv убираем почти невидимые прямоугольники */
/*		display: inline;		*/
		overflow: visible; 
		word-wrap: break-word;
		overflow-wrap: break-word;
		word-break: normal;
		white-space: normal;
	}


/*------------------------------------------------------*/

table.shop_attributes {width: 60%;}
table.shop_attributes tr {
	height: 110%;
}
table.shop_attributes td,table.shop_attributes th {
	padding: 0.5em;
}
footer#colophon.site-footer {
		background-color: rgba(0, 50, 100, 0.2);
	}

.vc_custom_heading {
	font-size: 22px;
	color: #444444;
	text-align: center;
	font-family:PT Sans;
	font-weight:700;
	font-style:normal;
	margin-left: auto;
	margin-right: auto;
	
}
.woocommerce-product-gallery__image img  {border: 1px solid #000;}
@media (min-width: 768px) and (max-width: 960px){
	div.footer-widgets.row-1.col-4.fix span.gamma.widget-title {
		font-size: 2vw;
	} 
}
@media (min-width: 768px) {
	#a2a_follow_widget-2 {
		margin-bottom: 5px;
	}
	.vk_i, .vk_t {
		display: block;
		float: left;
		text-align: left;
		
	}
	.vk_t {
		margin-top: 5%;
		
	}
	.socialfooter {
		display: block;
		float: left;
		white-space: nowrap; /* Запрещаем перенос текста */
	}
	.metki {
		margin-bottom: 2em;
	}
	.wpcsp_product_carousel_slider .carousel_header i.fa-angle-left {
		color: red;
	}
	

	
	
	/*уменьшае отступ и красим футер*/
	#primary {
		margin-bottom: 0;
	}
	footer#colophon.site-footer {
		margin-top: -38px;
		background-color: rgba(0, 50, 100, 0.2);
		padding-top: 0;
	}
	footer#colophon.site-footer > div, footer#colophon.site-footer > div > div {
		padding-top: 0;
	}

/*сетка для витрины и шапки*/
	.otbyvka {	
	/*	margin-left: -76px;
		width: 1216px;*/
		margin-bottom: -10px;
		
	}
	.otbyvka_ard {
		width: 1216px;
		margin-left: -167px;
	}
	#content.site-content .col-full{
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding: 0 ;
		box-sizing:content-box
	}
	/* #content .col-full #primary {
		width: 1200px;
		padding-left: 100px;
		padding-right: 100px;
	}*/
	#desktop-logo {
	/*	max-width: 74em;*/
	/*	margin-left:auto;
		margin-right:auto;
		margin-bottom: -40px;*/
		z-index: -10;
	}
	
	/*сетка для меню*/
	div#page.hfeed.site1 nav.main-navigation
	{width: 100%;}
	html body div#page.hfeed.site1 nav#site-navigation.main-navigation div#mega-menu-wrap-primary.mega-menu-wrap {
		/*max-width: 90em;*/
		margin-left:auto;
		margin-right:auto;		
	}

.hfeed.site1 div#mega-menu-wrap-primary.mega-menu-wrap ul#mega-menu-primary {
	   width: 100%;
		float: none;
	   display: table;  
	    z-index: 10;
	margin-bottom: 3px;
   }

	.hfeed.site1 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		border-bottom: solid rgb(0, 50, 100) 2px;
	}
	.hfeed.site1 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
	.hfeed.site1 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item  > a.mega-menu-link {
		border-bottom: solid rgb(0, 50, 100) 4px;
	}
	
	
/*корзина*/
	
		.xoo-wsc-sc-cont {float: right; }
/*не показываем лупу на обложке*/
	.woocommerce-product-gallery.woocommerce-product-gallery--with-images.images a.woocommerce-product-gallery__trigger {
      display: none;
	}
	
	
	#primary #main div.summary.entry-summary {
		margin-bottom: 5px;
	}
	div.summary.entry-summary form.variations_form.cart{
		padding-top: 0px;
		padding-bottom: 0px;
		margin-bottom: 0px;
	}
	.woocommerce-variation.single_variation {
		display: flex; flex-direction: row;
	}
	div.woocommerce-variation.single_variation div.woocommerce-variation-add-to-cart.variations_button  {
		padding-top: 0;
		margin-top: -0.5em;
		margin-left: 1em;
		margin-right: 1em;
	}

	h1.left {
	float: left;
	}
	#left_title {
		width: 100%;
	display: block;
	float: left;
		text-align: left;
		margin-bottom: 2em;
		margin-top: -0.3em;
	}
	
	/*Оформление страниц категорий*/
	.cat_author {
		color: #000;
		font-size: 1.2em;
	}
	#cit {
		 text-align: justify;
		font-style: italic;
		
	/*background: none repeat scroll 0 0 #E1F5FF;
	color: #383838;
	font-family: Georgia,serif;
	font-size: 18px;
	line-height: 1.45;
	padding: 1.25em 40px;
	position: relative;*/
		
		
	}
	#cat_right {
		text-align: left;
		width: 60%;
		padding-left: 20px;
		margin-top: 0.6em;	
		}	
	#cat_left {
		width: 30%;
		/*margin-top: 1em;*/
		margin-left: 0px;
		/*margin-left: 50px;*/
		
	}
		
	#cat_right .button.add_to_cart_button {
		font-size: 1em;
		margin-top: 0.5em;
		
	}
	#cat_right #p_title {
		font-size: 1.4em;
		font-weight: 900;
	}
	#cat_right #price {
		font-size: 2em;
		font-weight: 900;
		color: red;
	}
	#cat_desc {
		text-align: left;
	}
	#podpis{
		float: right;
		font-style: italic;
		text-align: right;
		font-weight: 900;
	}
	p#first {padding-top: 1em; }
#site-navigation #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
  padding: 10px 15px 0px 15px;
}
	#page .wpb_wrapper .woocommerce ul.products li.product h2.woocommerce-loop-product__title{
		text-align: center;
		font-size: 1.3em;
	}
	#page .wpb_wrapper .woocommerce ul.products li.product span.author{
		font-size: 1.2em;
		display: block;	
		text-align: left;
	}
	
	#page .storefront-breadcrumb {margin-bottom: 10px;}
	.site-header {
	padding-top: .618em;
    padding-bottom: 0; }
    .site-header ul.menu > li {
      float: none; }
  .storefront-primary-navigation {
    background-color: transparent;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0; }
  .page-template-template-homepage .site-main {
    padding-top: 4.236em; }
    .page-template-template-homepage .site-main > .type-page:first-child {
      margin-top: -4.236em;
      padding-top: 6.8535260698em; }
  .site-header .secondary-navigation,
  .woocommerce-active .site-header .secondary-navigation {
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    margin-bottom: 2.618em; }
    .site-header .secondary-navigation .menu,
    .woocommerce-active .site-header .secondary-navigation .menu {
      float: none; }
      .site-header .secondary-navigation .menu li:first-of-type a,
      .woocommerce-active .site-header .secondary-navigation .menu li:first-of-type a {
        padding-left: 0; }
  .woocommerce-active .site-header .site-search {
    width: 47.8260869565%;
    float: left;
    margin-right: 4.347826087%; }
    .woocommerce-active .site-header .site-search .widget_product_search form:before {
      top: 1.15em; }
  .woocommerce-active .site-header .site-header-cart {
    width: 21.7391304348%;
    float: right;
    margin-right: 0; }
  .woocommerce-active .site-header .main-navigation {
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0; }
  .woocommerce-active .site-header .site-header-cart {
    padding-top: 0;
    font-family: "Roboto Slab", sans-serif; }
    .woocommerce-active .site-header .site-header-cart li {
      float: none; }
    .woocommerce-active .site-header .site-header-cart a.cart-contents {
      padding: 1em 1.387em; }
      .woocommerce-active .site-header .site-header-cart a.cart-contents .count {
        font-weight: 300;
        opacity: .8; }
      .woocommerce-active .site-header .site-header-cart a.cart-contents:after {
        float: left;
        margin-right: .618em;
        position: static;
        line-height: 1.618; }
    .woocommerce-active .site-header .site-header-cart .widget_shopping_cart {
      border-radius: 3px; }
    .woocommerce-active .site-header .site-header-cart > li:nth-child(2) {
      padding-top: 1em; }
  .main-navigation {
    padding-top: 0; }
  .main-navigation ul.menu > li:first-child,
  .main-navigation ul.nav-menu > li:first-child {
    margin-left: -1.387em; }
  .main-navigation ul.menu > li > a,
  .main-navigation ul.nav-menu > li > a {
    padding: 1em 1.387em;
    border-right: 1px dotted rgba(0, 0, 0, 0.1);
    font-weight: 900; }
  .main-navigation ul.menu ul li a,
  .main-navigation ul.nav-menu ul li a {
    padding-left: 1.387em;
    padding-right: 1.387em;
    width: 220px; }
  .main-navigation ul.menu ul li.menu-item-has-children > a:after,
  .main-navigation ul.menu ul li.page_item_has_children > a:after {
    font-weight: 700; }
  .main-navigation ul.menu ul li,
  .main-navigation ul.nav-menu ul li,
  .site-header .widget_shopping_cart li,
  .site-header .widget_shopping_cart p.buttons,
  .site-header .widget_shopping_cart p.total {
    background-color: transparent; }
  .main-navigation ul.menu ul li > a,
  .main-navigation ul.nav-menu ul li > a {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1); }
  .main-navigation ul.menu ul li:last-child > a,
  .main-navigation ul.nav-menu ul li:last-child > a {
    border-bottom: 0; }
  .main-navigation ul.menu ul a:hover,
  .main-navigation ul.menu ul li:hover > a,
  .main-navigation ul.nav-menu ul a:hover,
  .main-navigation ul.nav-menu ul li:hover > a {
    background-color: transparent;
    background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.025));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.025)); }
  .site-header-cart .widget_shopping_cart,
  .main-navigation ul.menu > li ul {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
  .site-main .storefront-product-section {
    margin-bottom: 0; }
    .site-main .storefront-product-section.first.storefront-product-categories ul.products li.product {
      width: 13.0434782609%;
      float: left;
      margin-right: 4.347826087%; }
      .site-main .storefront-product-section.first.storefront-product-categories ul.products li.product:first-child {
        width: 47.8260869565%;
        float: left;
        margin-right: 4.347826087%; }
      .site-main .storefront-product-section.first.storefront-product-categories ul.products li.product.first {
        clear: none !important; }
      .site-main .storefront-product-section.first.storefront-product-categories ul.products li.product:nth-child(4n), .site-main .storefront-product-section.first.storefront-product-categories ul.products li.product:nth-child(7n) {
        margin-right: 0; }
    .site-main .storefront-product-section.penultimate {
      margin-right: 0 !important; }
    .site-main .storefront-product-section.first .section-title, .site-main .storefront-product-section.last .section-title {
      width: 30.4347826087%;
      float: left;
      margin-right: 4.347826087%;
      margin-left: 34.7826086957%; }
  .site-main .storefront-product-section.position-2,
  .site-main .storefront-product-section.position-3,
  .site-main .storefront-product-section.position-4 {
    width: 30.4347826087%;
    float: left;
    margin-right: 4.347826087%; }
    .site-main .storefront-product-section.position-2 .section-title,
    .site-main .storefront-product-section.position-3 .section-title,
    .site-main .storefront-product-section.position-4 .section-title {
      font-size: 1.387em; }
    .site-main .storefront-product-section.position-2 ul.products,
    .site-main .storefront-product-section.position-3 ul.products,
    .site-main .storefront-product-section.position-4 ul.products {
      margin-bottom: 4.236em; }
      .site-main .storefront-product-section.position-2 ul.products li.product,
      .site-main .storefront-product-section.position-3 ul.products li.product,
      .site-main .storefront-product-section.position-4 ul.products li.product {
        width: 100%;
        float: left;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
        padding-bottom: 2.618em;
        margin-bottom: 2.618em; }
        .site-main .storefront-product-section.position-2 ul.products li.product img,
        .site-main .storefront-product-section.position-3 ul.products li.product img,
        .site-main .storefront-product-section.position-4 ul.products li.product img {
          width: 42.5%;
          float: right;
          margin-left: 1.618em;
          margin-bottom: 0; }
        .site-main .storefront-product-section.position-2 ul.products li.product h3,
        .site-main .storefront-product-section.position-2 ul.products li.product h2,
        .site-main .storefront-product-section.position-2 ul.products li.product .woocommerce-loop-product__title,
        .site-main .storefront-product-section.position-3 ul.products li.product h3,
        .site-main .storefront-product-section.position-3 ul.products li.product h2,
        .site-main .storefront-product-section.position-3 ul.products li.product .woocommerce-loop-product__title,
        .site-main .storefront-product-section.position-4 ul.products li.product h3,
        .site-main .storefront-product-section.position-4 ul.products li.product h2,
        .site-main .storefront-product-section.position-4 ul.products li.product .woocommerce-loop-product__title {
          clear: none; }
        .site-main .storefront-product-section.position-2 ul.products li.product:last-child,
        .site-main .storefront-product-section.position-3 ul.products li.product:last-child,
        .site-main .storefront-product-section.position-4 ul.products li.product:last-child {
          border-bottom: 0; }
        .site-main .storefront-product-section.position-2 ul.products li.product .onsale,
        .site-main .storefront-product-section.position-3 ul.products li.product .onsale,
        .site-main .storefront-product-section.position-4 ul.products li.product .onsale {
          top: -1em;
          right: 0;
          transform: none;
          left: auto; }
  .site-main .storefront-product-section.position-4 {
    margin-right: 0; }
  .site-main ul.products li.product {
    width: 20.5882352941%;
    float: left;
    margin-right: 5.8823529412%; }
  .site-main ul.products li.product-category img {
    border-radius: 0;
    box-shadow: none; }
  .site-main ul.products li.product-category .count {
    font-weight: 300; }
  .storefront-full-width-content.single-product .related ul.products li.product, .storefront-full-width-content.single-product .upsells ul.products li.product {
    width: 21.7391304348%;
    float: left;
    margin-right: 4.347826087%; }
  .main-navigation ul li.smm-active li:hover a:not(.button),
  .main-navigation ul li.smm-active li a:not(.button):hover {
    background: transparent !important; }
  .main-navigation ul.menu > li .smm-mega-menu ul {
    box-shadow: none; }
  .smm-mega-menu {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
    .smm-mega-menu ul.menu li {
      float: none; }
    .smm-mega-menu ul.products li.product a {
      border-bottom: 0 !important; }
  .main-navigation ul li.smm-active .smm-mega-menu a.button.add_to_cart_button,
  .main-navigation ul li.smm-active .smm-mega-menu a.added_to_cart,
  .main-navigation ul li.smm-active .smm-mega-menu a.button.product_type_grouped {
    background: transparent !important;
    border: 0; }
    .main-navigation ul li.smm-active .smm-mega-menu a.button.add_to_cart_button:hover,
    .main-navigation ul li.smm-active .smm-mega-menu a.added_to_cart:hover,
    .main-navigation ul li.smm-active .smm-mega-menu a.button.product_type_grouped:hover {
      background: transparent !important; }
  .single-product div.product .images,
  .storefront-full-width-content.single-product div.product .images {
    width: 41.1764705882%;
    float: right;
    margin-right: 0; }
  .single-product div.product .summary,
  .storefront-full-width-content.single-product div.product .summary {
    width: 52.9411764706%;
    float: left;
    margin-right: 5.8823529412%; }
  .woocommerce-tabs ul.tabs li {
    display: inline-block;
    float: left;
    border-right: 1px dotted rgba(0, 0, 0, 0.1); }
	.vc_custom_mobile.search{display: none;}
.berocket_aapf_widget input.berocket_aapf_widget_update_button,
.berocket_aapf_widget input.berocket_aapf_reset_button
{
	width: 60%;
	margin-left: 20%; 
}
 .content-area-test,  .hfeed.site1 {width: 97vw; 
	margin: 0 auto;}

 

select.product_cat,
select.orderby,
select._stock_status {

	border: 1px solid #39487f;
	height: 3rem;
	font-weight: 400;
    color: #39487f;
	}

select.product_cat option.depth__1 {
	padding-left: 0;
	border-bottom: 1px;
	font-weight: 900;
}

select.product_cat option.depth__2 {
	padding-left: 10px;
	margin-left: auto;
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link img {
	border: 1px solid #aaa;
}
.filters, .berocket_single_filter_widget {
	float: left;
	height: 3rem;
	display: block;
}

.hfeed.site1 .woocommerce-products-header {
	padding-bottom: 0;
}

.vc_btn3-container.bestseller_button.vc_btn3-center a {
	background-color: #202f66;	
}
#best_pic img {border: 1px solid #000;}
.woocommerce-product-gallery__image img  {border: 1px solid #000;}
.wpb_wrapper p{text-align: left;}
#zag_glav{line-height: 1.2em; margin-top: 1em;}
#zag_glav h2, #zag_glav h3 {color: red;}
.berocket_aapf_widget-wrapper .berocket_aapf_widget-title_div {line-height: 0px; min-height: 0em;}
.filters form.woocommerce-ordering {padding: 0px;}
#pages, .woocommerce-pagination {clear: both; display: block; float: left;}
	
	
/* Цена в блоке поиска*/
.aws_result_link .woocommerce-Price-amount.amount,
.aws_result_link .aws_result_price,
.aws_result_head .aws_result_price{
	color: #202020;
	font-size: 18px;
	font-weight: 900;
}
input[type="text"].aws-search-field::-webkit-input-placeholder
 {
	color:#A8A8A8;
	font-size: 18px;
	font-weight: 400;
}
input.aws-search-field::-moz-placeholder
 {
    color:#A8A8A8;
	font-size: 18px;
	font-weight: 400;
}
input[type="text"].aws-search-field { 
	/*background-image: url(/wp-content/uploads/2018/06/zoom.gif);*/
    background-position:97% center;
    background-repeat: no-repeat;}

	/*Цены в рекомендуем*/
ul.products li.product.type-product .price {
	 font-size: 20px;
	 font-weight: 800;
}
.wpb_wrapper a {font-size: 1em; text-align: center;}
	.cell-text {
		 font-size: 1em;
		margin-top: -30px;
		text-align: center;}
	.cell-text-1 {text-align: center;}
	.cell-img, .cell-img-1 {margin-top: 0px;
	width: 236px; height: 161px; background-color: transparent;
	}
	.cell-img, .cell-img-1 a img {width: 236px; height: 161px; }

	#mobile-logo {display: none;}
	.aws-container .aws-search-form .aws-search-field {
		font-size: 16px;
	}
}

@media (max-width: 1100px) {
  a.cart-contents .count {
    display: none; } }

@media (max-width: 910px) {
  a.cart-contents:after {
    display: none !important; }
	h1.woocommerce-products-header__title.page-title {
		font-size: 2em;
	}
	.col-full{
	display: block;	
	}
	#secondary.widget-area {
		order: 0;
	}	
	#primary.content-area {order:1;}
	.berocket_aapf_product_count_desc	{display: none;}
}
h1.product_title.entry-title
{
	font-size: 2em;
} 

 .select2 {
   
}
.price_label
{
float: left;
}
 .berocket_label_widgets {
	line-height: 120%;
	margin-bottom: 20%;
	
}
.berocket_style_block
{
	text-indent: -10%;
	padding-left: 10%;
}
.berocket_style_block .berocket_term_depth_1
{
	text-indent: -13%;
	padding-left: 10%;
}
.berocket_term_depth_1 label.berocket_label_widgets {
    padding-left: 0em;
}
li.berocket_term_parent_0 {
	margin-bottom: 3%;
}
label.berocket_checked {color: #bc343d;
font-weight: 900;
}

.berocket_aapf_widget li.slider span.left input.berocket_slider_start_val, .berocket_aapf_widget li.slider span.right input.berocket_slider_end_val {
	width: 80%;
	}

@media (min-width: 768px) and (max-width: 1200px) {
		/*кнопки выбора опций пошире*/
	td.value.woo-variation-items-wrapper ul li.variable-item.image-variable-item {
		width: 20vw;
			}
}
@media (max-width: 767px) {
	
	/*Ширина тоггле меню*/
	.vc_row.wpb_row.vc_row-fluid.vc_row-o-content-middle.vc_row-flex {
		margin-left: auto;
		margin-right: auto;
	}
	/*Табоица Детали - во всю ширину*/
	table.shop_attributes {width: 100%;}
	/*Названия раудрик покрупнее*/
	.vc_custom_heading {
	font-size: 1em;
	}
/*Не показываем на мобильных описание рубрики */
/*.woocommerce-products-header div.term-description, .woocommerce-products-header h1.woocommerce-products-header__title {display: none;} */
/* НЕТ, показываем и центруем */
.woocommerce-products-header div.term-description, .woocommerce-products-header h1.woocommerce-products-header__title {text-align: center;}
	/*кнопки выбора опций пошире*/
	td.value.woo-variation-items-wrapper ul li.variable-item.image-variable-item {
		width: 30vw;
			}
/*	.popup{display: none;}		*/
/* включаем отображение просмотра PDF в мобильной версии */
	.popup{display: block;}
	.menu-toggle {display: none;}

/*	.storefront-handheld-footer-bar ul.columns-3 li.search  {
		display: none;
	}	
*/	

/*показывать Тектовый блок в WPBackery Page Builder*/	
	.wpb_text_column.wpb_content_element {
		/*display: none; так было до 20200318 */
		display: block;
	}	
	
	
	.storefront-sorting {
		padding: 0;
	}
	.vc_custom_mobile.search {
		margin-bottom: 0;
	}
	/* .vc_column-inner {display: none;} */
	#site-navigation #mega-menu-wrap-primary #mega-menu-primary li{background-color: #eee; z-index: 100;}
	#site-navigation #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		color: #444;
	}
		#site-navigation #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
		color: #ccc;
	}
	.vc_custom_mobile.search{display: block; width: 90%; margin-left: auto; margin-right: auto; margin-bottom: 5px;}
	
	.aws_result_link .woocommerce-Price-amount.amount,
.aws_result_link .aws_result_price,
.aws_result_head .aws_result_price{
	color: rgb(0,50,100);
	font-size: 18px;
	font-weight: 900;
}
input[type="text"].aws-search-field::-webkit-input-placeholder
 {
	color:rgb(0,50,100);
	font-size: 12px;
	font-weight: 700;
}
input.aws-search-field::-moz-placeholder
 {
	color:rgb(0,50,80);
	font-size: 12px;
    font-weight: bold;
}
input[type="text"].aws-search-field { 
/*	background-image: url(/wp-content/uploads/2018/06/zoom.gif);	*/
    background-position:97% center;
    background-repeat: no-repeat;}

/*выводим значок мобильного меню в правом верхнем углу*/
	.vc_empty_space {display: none;}
	#mega-menu-wrap-primary .mega-menu-toggle {width: 100%; margin-top:10px; height: 80px;} 
	#mega-menu-wrap-primary .mega-menu-toggle .mmlogo { margin-left: 2vw; }
/*	#mega-menu-wrap-primary .mega-menu-toggle .mmlogo a img {margin-left: 0; max-height: 20vw;} */
#mega-menu-wrap-primary .mega-menu-toggle .mmlogo a img {margin-left: 0; max-height: 20vw; max-width: 50%;}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right {width: 20%; float: left;}
	
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:after {
    content: '\f333';
    font-family: 'dashicons';
    font-size: 40px;
    color: rgb(213,217,219);
    }
	#desktop-logo {display: none;}
	#desktop-menu {display: none;}
	
/*отключаем лупу*/
	.woocommerce-product-gallery.woocommerce-product-gallery--with-images.images a.woocommerce-product-gallery__trigger {
      display: none;
	} 

	ul.products li.product .price {font-weight: 600;}

	}
@media (min-width: 768px) and (max-width: 1176px) {
 .wpb_wrapper a.xoo-wsc-sc-cont {float: right; font-size: 2vw;}
}

/*---------Разделитель---------------------------*/
.myHR {
  margin:32px auto;
  width:70%; 
  max-width: 100%;
  position:relative;
}
.myHR { 
    overflow:hidden; height:20px; 
}
.myHR:after { 
    content:''; 
    display:block; margin:-25px auto 0;
    width:100%; height:25px;  
    border-radius:125px / 12px;
    box-shadow:0 0 8px #049372;
}
/*---------------------*/


/*--Красивые кавычки для цитат----*/
blockquote {
	background: none repeat scroll 0 0 #E1F5FF;
	color: #383838;
	font-family: Georgia,serif;
	font-size: 18px;
	font-style: italic;
	line-height: 1.45;
	padding: 1.25em 40px;
	padding-bottom: 0.1em;
	margin: 5px;
	margin-bottom: 0px;
	position: relative;
	/*width: 600px;*/
}

blockquote:before {
	color: #7A7A7A;
	content: "\201C";
	display: block;
	font-size: 80px;
	left: -10px;
	position: absolute;
	top: -10px;
}
blockquote cite:before {
	content: "\2014 \2009";
}
blockquote cite {
	color: #999999;
	display: block;
	font-size: 14px;
	margin-top: 5px;
}

blockquote_cat {
	font-family: Georgia,serif;
	font-size: 18px;
	font-style: italic;
	line-height: 1.45;
	padding: 1.25em 40px;
	padding-bottom: 0.1em;
	margin: 5px;
	margin-bottom: 0px;
	position: relative;
}

blockquote_cat:before {
	color: #7A7A7A;
	content: "\201C";
	display: block;
	font-size: 80px;
	left: -10px;
	position: absolute;
	top: -10px;
}


/*------кнопки соцсетей в подвале-----*/
.content-wrapper { float:left; 
	/*height:47px;*/
}
.image-wrapper img { 
	border-radius:50%; 
	height:47px;
	width:47px;
	padding: 0;
    margin: 0;
}
#socialfooter2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  margin: 0;
 /* height:32px;*/
	
}
/*сообщение белым цветом на оранжевом фоне в описании книги*/
.sellingMessage {
	background: none repeat scroll 0 0 #DAA520;
	color: #FFFFFF;
	font-size: 1.5em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 0px;
	text-align: center;
}

/*две колонки для состава набора*/
/*.column2 { 
-webkit-column-width: 200px; -moz-column-width: 200px; column-width: 200px;     -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: 30px;     -moz-column-gap: 30px; column-gap: 30px; -webkit-column-rule: 1px solid #ccc; -moz-column-rule: 1px solid #ccc;    column-rule: 1px solid #ccc; 
}
*/

/*для сказок оформление*/

@media (min-width: 600px) {
.colour-block {
  background:#369A7E;
  width:100%;
  padding:1% 20% 3% 20%;
  color:white;
}
.white-block {
  background:#fff;
  width:100%;
  padding:1% 20% 3% 20%;
  color:#369A7E;
}
	
.header p{
  text-align:center;
  font-size:60px;
  font-family:'wire one', serif;
  font-weight:800;
}
.p1 p{
  font-size:20px;
  font-family:'PT Sans', serif;
}

}

@media (max-width: 600px) {
.colour-block {
  background:#369A7E;
  width:100%;
 padding:1% 4% 3% 4%;
  color:#fff;
}
.white-block {
  background:#fff;
  width:100%;
  padding:1% 4% 3% 4%;
  color:#369A7E;
}
.header p{
  text-align:center;
  font-size:30px;
  font-family:'wire one', serif;
  font-weight:800;
}
.p1 p{
  font-family: 'PT Sans';	
  font-weight: 400; 
}
}

/*----------------*/
/*  SCALLOP down  */
/*----------------*/
.scallop-down{
  height:30px;
  width:100%;
  background: -webkit-gradient(radial, 50% 0, 10, 50% 0, 40, from(#369A7E), color-stop(0.49, #369A7E), color-stop(0.51, #fff), to(white));
-webkit-background-size: 49px 100%;
}

/*----------------*/
/*  SCALLOP up    */
/*----------------*/
.scallop-up{
  height:30px;
  width:100%;
  background: -webkit-gradient(radial, 50% 100%, 10, 50% 100%, 40, from(#369A7E), color-stop(0.49, #369A7E), color-stop(0.51, #fff), to(white));
-webkit-background-size: 49px 100%;
}

/*ЗИГЗАГ для оформления наборов*/
.container1 {
	width: 100%;
	background: #222;
}

.zigzag {
	position: relative;
	width: 100%;	
	padding:1% 4% 3% 4%;
}
.zigzag:before {
	content: "";
	display: block;
	position: absolute;
	top: -10px;
	width: 100%;
	height: 10px;
}
.container2 {
	background: #FAFAD2;  /* Цвет фона */
}

.container2:before {
	background:
	linear-gradient(
	45deg, transparent 33.333%,#FAFAD2 33.333%, #FAFAD2 66.667%,transparent 66.667%
	),
	linear-gradient(
	-45deg, transparent 33.333%,#FAFAD2 33.333%, #FAFAD2 66.667%,transparent 66.667%
	);
	background-size: 20px 40px;
	}
	
.container3 {
	background: #fff; /* Цвет фона */
}
.container3:before {
	background:
	linear-gradient(
	45deg, transparent 33.333%,#FFF 33.333%, #FFF 66.667%,transparent 66.667%
	),linear-gradient(-45deg, transparent 33.333%,#FFF 33.333%, #FFF 66.667%,transparent 66.667%
	);
	background-size: 20px 40px;
}
dt {margin-top: 1em; margin-bottom: 0.5em;}

/************** svv styles для кнопки Купить и скачать  *************/
.not_show
{
 /* display: none !important; */

visibility: hidden;
/* display: inline-block; */
}

.yes_show
{
/* display: visible !important; */

visibility: visible;
/* display: inline-block; */

}
/*************  svv end ***************/
/*************modal okno bhv*********/
/* Форимируем слой затемнения фона */
.bhv_overlay {
 /*   background-color: rgba(0, 0, 0, 0.7); */
	background-color: #C0BABA; 
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.bhv_overlay:target {
    visibility: visible;
    opacity: 1;
}

/* Формируем и позиционируем всплывающее окно */
.bhv_popup { 
    min-width: 320px;
    max-width: 600px;
    width: 600px;
    margin: auto;
    background-color: #fff;
    border: 3px solid #fff;
    display: block;
    left: 0; right: 0;
    opacity: 0;
    padding: 15px;
    position: fixed;
    font-size: 18px;
    top: 0;
    visibility: hidden;
    z-index: 10;
/* Скругление углов окна  */	
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
/* Тень блока окна  */	
    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
/* Устанавливаем эффект перехода появления окна */ 
    -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;
}
/* Устанавливаем позицию появления окна */ 
.bhv_overlay:target+.bhv_popup {
    top: 20%;
    opacity: 1;
    visibility: visible;
}

.bhv_popup p, .bhv_popup div {
    margin-bottom: 10px;
}

.bhv_text_bold {
    font-weight: bold;
}
/************end modal***************/

   /*Таблица к книгам Ч. Платта*/	
       .platt_table{
			border-collapse: collapse;
            color: #686461;	
		  
	}
	.platt_table a { 
    text-decoration: none; /* Отменяем подчеркивание у ссылки */
	font-weight: 500; 
   } 
   
   .platt_table tr{
			border: 1px solid #E1F5FF; /* Граница вокруг ячеек */
	         
    }
	.platt_table td{
		 padding: 2px;
    }
	.platt_table th {
			border-bottom: 3px solid #E1F5FF;
			padding: 0px;
			text-align: left;
    }
	
	.platt_table tr:nth-child(odd) {
			background: white;
    }
    .platt_table tr:nth-child(even) {
			background: #E1F5FF;
    }	
	
	.platt_table thead td{
			font-weight: 800;
			text-align: center;   
            background:	#E1F5FF;
    }
		
	.platt_table_pic{
		  text-align:center; 
		  border:1px #2a2a2a;
	}
	
	.platt_table_text_black{
			font-family: PT Sans;
  			font-weight: 500; 
			text-align: left;
			font-size: 0.8em; /* Размер шрифта*/
			background:#E1F5FF;
			border: 2px solid #ffffff;
	}
			
	.platt_table_text{	
 			font-weight: 400;
  			text-align: center;
			font-size: 0.8em; /* Размер шрифта*/
			
	}
	.platt_table_text_left{
			font-weight: 400;
  			text-align: left;
			font-size: 0.8em; /* Размер шрифта*/
			background:#FFE4E1;
    }
	
	/*==========Галка зеленая=====================*/
	.platt_table_galka{
		color: green; /* Зеленый цвет символов */ 
		font-size: 100%; /* Размер шрифта в процентах */ 
		text-align: center;
	}
/*конец таблицы дл Ч.Платта*/


/*текст в заголовке*/
p.headerText {
	color: #fdce64;
	font-size: 0.8em;
	margin: 0em;
	padding: 0em;
	margin-bottom: 0px;
	text-align: left;
}

.mySlader h2{
	color:rgb(49,59,79);
	font-size: 1.2em;
}
/*шрифт для автора*/
.wpb_wrapper .woocommerce ul.products li.product span.author,
ul.products li.product span.author {
    font-size: 1em;
    text-align: left;
    display: inline;
    white-space: nowrap;
}


/*размер шрифта в HoverBox*/

.ih-item .info p {
    color: #fff !important;
    font-size: 1.2em !important;
}

.vc_gitem-woocommerce-product-price {
	font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size:20px !important;;
	font-weight:800;
}

p.book-title a {
   font-family: 'PT Sans';
    color: #444444;
    font-size: 1.4em;
    text-decoration: none;
    font-weight: 600;
    line-height: 100%;
}

p.book-title-recomendation {
    text-decoration: none;
    color: #444444;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 8px;
    margin-bottom: 8px;
}

/*обратный отсчет*/
.countdown-message {
	font-family: sans-serif;
	display: inline-block;
	font-weight: 200;
	font-size: 12px;
    color:#000;
    margin-top:-5px;       
}
.countdown {
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
	font-weight: 100;
	text-align: center;
	font-size: 12px;
}
.countdown-time {
	padding: 0px;
 	display: inline-block;
	font-weight: bold;
        color:#000;
}

/*заголовок в шапке*/
.title {
	font-size: 16px;
	line-height: 26px;	
	color: #000;
}
.title span {
	padding: 0 10px;
	background: rgba(176,91,21,0.8);
}
/*снежинки на странице*/
/*body.page-id-90649 .site-content {
    background: url("https://bhv.ru/wp-content/uploads/2020/11/fon-snezhinki2.jpg") repeat center;
}*/

/*снежинки на главной странице*/
/*body.page-id-16406 .site-content {
    background: url("https://bhv.ru/wp-content/uploads/2020/11/fon-snezhinki2.jpg") repeat center;
}
*/

/*text in postgrid*/
.postgrid_excerpt_text {
	font-size: 1.1em;
	color: #444444;
	text-align:left;
	font-family:PT Sans;
	font-weight:400;
	font-style:normal;
	
}

/*-------------------Подписка--------------------*/
/*фон подписки*/
.vc_custom_1612451982084{
	background-image: url(https://bhv.ru/wp-content/uploads/2020/12/podpiska.png) !important;
/*	background-image: url(https://bhv.ru/wp-content/uploads/2021/02/podpiska2021.png) !important;*/
		
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	width: 100vw;
}

/*текст подписки*/
.podpiska_txt {
	font-family: serif;
	color: #fff;
	display: inline-block;
	font-weight: 400;
	text-align: left;
	font-style: italic; /* Курсивное начертание */
	font-size: 18px;
	margin-top:0px;
	background:#89b9cf;
	line-height: 18px;
}

/*текст подписки*/
.podpiska_conf {
	font-family: sans-serif;
	color: #fff;
/*	display: inline-block;*/
	font-weight: 400;
	text-align: left;
	font-size:  9px;
	margin-top:-20px;
	background:#89b9cf;
	line-height: 12px;
/* svv */
	text-align: center;
}

.tnp-subscription input.tnp-submit {
    background-color: #c2a421;
	color: #fff;
    width: auto;
    height: auto;
    font-weight: 400;
}

.tnp-subscription:hover input.tnp-submit:hover {
  background:#d58300;
  font-weight: 600;
}

/*убираем расстояние перед подпиской*/
@media (min-width: 768px){
.storefront-full-width-content .woocommerce-tabs .panel {
    margin-bottom: 0;
}
}

.tnp-subscription label{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
	font-weight: 600;
	text-align: center;
	font-size: 18px;
	margin-bottom:10px;
	background:#89b9cf;
	line-height: 18px;
	
}

/*--------------*/
/*Шапка*/

/*текст КНИГИ, ЦИФРОВЫЕ КНИГИ...*/
.myhead{
  /*background: #266382;*/
  color: #266382; 
	/*зима*/
	/*color:white;*/
	/*background:#367594;*/

}

.myhead a{
  font-size: 10pt; 
  /*ЗИМА: цвет текста КНИГИ, НАБОРЫ*/
  /*color: white;*/
  /*ВЕСНА: цвет текста КНИГИ, НАБОРЫ*/
  color: #266382; 
  text-decoration: none; 
  font-weight: 700;
 /* background: #266382;*/

}
.headPhone {
	color: #ffffff; 
	/*background: #78c5e5;*/
	font-size: 18pt; 
	font-weight: 800;
	text-align: center;
}
/*2. цвет корзины в Header*/
@media (min-width: 768px) {
a.xoo-wsc-sc-cont {
	margin-top:10px;
	margin-left:-30px;
	float: left; 
	font-size: 2.5vw;
   /*color:#FDCE64;*/
  /*color:#266382;*/
	color:white;

}
}

/* bhv yakaboo link css block*/
 .bhv_yakaboo:before {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
	 margin-top: 20px;
	}
  .bhv_yakaboo:before  {
    content: url(https://bhv.ru/wp-content/uploads/2024/12/ozon.png);
	/*content: 'купить на Озон';*/
    margin-right: 12px;
	margin-bottom: 25px;
    }
	
	.bhv_yakaboo:after  {
    content: ' Купить у нас на Озон';
    margin-right: 12px;
	margin-bottom: 25px;
    }

.wpb-js-composer .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a {
    color: #666;
    text-align: left;
}

/*обрезание 2 строк названия... */

.product_name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.3em;
  height: 4.5em;
}

.woocommerce-loop-product__title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.3em;
  height: 4.0em;
}

/* Нашли дешевле */
.bhv_lowprice{
    display: inline-block;
    vertical-align: middle;
    font-style: normal; 
    }
.bhv_lowprice:before  {
    content: url(/bhv_data/price50-2.png);
    margin-right: 12px;
    }

/*Нашли дешевле */
.nashli-deshevle2  {
    display: inline-block;
    line-height: 100%;
    /* background-color: #ccc; */
    border-radius: 2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    white-space: nowrap;
    word-wrap: break-word;
    border: 1px solid #2F4F4F;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    color: #2F4F4F;
    font-size: 100%;
    font-weight: normal;
}

/*оформление Карусели на главной странице*/
.vc_images_carousel.vc_per-view-more .vc_carousel-slideline .vc_carousel-slideline-inner>.vc_item>.vc_inner{
    margin: 0 10px;
 /*  height: 258px;*/
}
.vc_images_carousel.vc_per-view-more .vc_carousel-slideline .vc_carousel-slideline-inner>.vc_item>.vc_inner {
   border: none;
}
.images_carousel_main img{
	/*height:158px;*/
	border: 4px solid white;
	height: 258px;
}


/*оформление Карусели изображений*/
/*в новинках на главной странице*/
.images_carousel img{
    margin: 0 10px;
    border: 4px solid white;
}

/*категории электронного магазина*/
.eshop-category img
{margin-bottom: 1.618em;
    height: 150px;
    width: 150px;
}
.eshop-category  h2{
	 font-size: 1.1em;
    text-align: center;
	/*color:red;*/
}

/*оформление Дополнительного меню*/
/*в Отделе электронных компонентов*/
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item > a.mega-menu-link{
	color:red;
}
   
/*Cкрываем изображение Категории (из группы "Электронные компоненты") */
/* на страницах ИМ БХВ-Электроника, которые были в верхнем левом углу,*/ 
/*20230907*/

.term-3455 #start_shop_loop{
  display:none;
}
.term-3565 #start_shop_loop{
  display:none;
}
.term-3567 #start_shop_loop{
  display:none;
}
.term-3575 #start_shop_loop{
  display:none;
}
.term-3465 #start_shop_loop{
  display:none;
}	
.term-3466 #start_shop_loop{
  display:none;
}	
.term-3578 #start_shop_loop{
  display:none;
}	
.term-3472 #start_shop_loop{
  display:none;
}	
.term-3585 #start_shop_loop{
  display:none;
}	
.term-3586 #start_shop_loop{
  display:none;
}

/*------------------------*/

.countNY{
	padding: 0px;
 	text-align: left;
}
/*перенос из дополнительного меню*/

/*
*/

/*4. цвет пунктов меню в выпадающем*/
@media (min-width: 768px){
.main-navigation ul li a {
   color:#313B4F;
	/* color:#313B4F;*/
	/*color:#000; */
	font-size:0.85em;
	 margin-top:-5px;
	 margin-bottom:-20px;
	 text-align:center;
}
.main-navigation ul li a:hover{
    color: #000;   
  } 

.cell-text{
	width:200px;
	margin-top:-14px;}
.cell-img{	
background-color: rgba(0, 0, 0, 0.0);
	width:200px;
	height:144px;
	margin-top:-0px;}
	}
/*============================*/
/*4а. цвет фона в выпадающем*/
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{
	background-color: rgba(250, 250, 250, 0.9);
}

	
/*цвет иконок на нижнем Toolbar*/
.site-footer .storefront-handheld-footer-bar a:not(.button), button.menu-toggle, button.menu-toggle:hover, .handheld-navigation .dropdown-toggle {
    color: #fff;
background-color:	#313B4F!important;
}

/*цвет кнопки поиска*/
.aws-container .aws-search-form .aws-form-btn {
    background: #FDCE64;
}
.aws-container .aws-search-form .aws-search-btn svg {
    fill:#313B4F;
}

/*цвет мобильного меню*/
@media (max-width: 767px){
#mega-menu-wrap-primary .mega-menu-toggle {
    width: 100%;
    margin-bottom:3px;
  	margin-top:0px;
    height: 40px;
	background-color: #313B4F!important;
}
}
#mega-menu-wrap-primary .mega-menu-toggle img {
    max-width: 50%;
    padding: 0;
}

.woocommerce-Price-currencySymbol{
font-family: 'PT Sans';
}

/*Категория*/
#cat_right #price {
		font-size: 2em;
		font-weight: 900;
		color: #313B4F;
	}
#cat_right .button{
	   background: #E35950; 
     color: white;
	   border-radius: 0px;
	   width:150px;     
	   font-size:1.5em;
}
#cat_right .button::before {
  font-family: fontAwesome;
  content: "\f218\00a0\00a0";
	font-size:1.2em;
}
#cat_right .button:hover {
  background-color: #D68910;
	 width:160px;

}
/*------------------------*/
/*Тематика и сортировака для десктоп------------------------*/
@media (min-width: 768px){
 select.product_cat,  select.orderby,  select._stock_status {
 height:30px;
/* color: rgb(49, 59, 79);*/
	 color: #002742;
}
.storefront-sorting {
		/*background-color: rgba(49, 5, 79, 0.9);*/
	background-color:#002742;;
    padding: 0.5em;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
	  color:#FDCE64;
	  width:100%;
	  height:35px;
}
.woocommerce-result-count{
	margin-top:-1.1em;
	margin-left:0px;
	color: rgba(49, 59, 79, 0.7);
}
}
/*-----------------------*/
.wpb_text_column.wpb_content_element {
		display: block;
	}

/*======Caption героев=================*/
.vc_figure-caption{
  color:black;
	background:rgba(253,206, 100, 0.7);
}

/*цена наборов на главной странице*/
.secondary-navigation ul.menu li a, .woocommerce-breadcrumb a, ul.products li.product .price, .star-rating span:before {
/*  color: #bc343d;*/
	color:#313B4F;
	text-align:center;
	font-weight:900;

}

/*вкладка СКАЧАТЬ*/
.extra_files_tab {
	color:black;
	font-size:1.1em;
		background-color: rgba(251, 236, 93, 0.5);
	  height:55px;
  	text-transform: uppercase;
}
.extra_files_tab ::before {
  font-family: fontAwesome;
  content: "\f019\00a0\00a0";
}

/*шрифт сниженной цены INS#1*/
 ul.products li.product .price ins, span:before {
	font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size:20px;
	font-weight:800;
	margin-top:-40px
	}

/*шрифт сниженной цены INS#2*/
 .single-product .price ins, span:before {
	font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size:26px;
	font-weight:800;
	margin-top:-10px
	}

/*шрифт сниженной цены INS#3*/
.single-product div.product .summary .price {
    	font-family: 'Exo 2', Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size:26px;
	font-weight:800;
	margin-top:-10px
}
/*кнопки бумажная*/
.var_tmb {
    padding-top: 3px;
    width: 80px;
}
.var_tmb_img {
	    width: 90%;
}

/*цвет кнопки подписки*/
button:not(.pswp__button) {
	  background: #c15252;
}
button:not(.pswp__button) .a:hover{
    background: #0000;
	  background-color:green;  
}

/*вопросы и ответы*/
.vc_tta-panel-title .vc_tta-title-text{
	text-align:left;
}

/*
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left{
  background-color: blue; 
}
*/
ul.menu li a {
	color:#002742
};

/*панель сортировки*/
.woocommerce-ordering{
	color:white;
}
.storefront-sorting{
	background-color:#f1f1f1;
	color:#f1f1f1;
	
}
select.orderby {
	color:gray;
}
.storefront-sorting select{
	color:gray;
	border-block-color:gray;
} 

.berocket_single_filter_widget_52215 {
	//color:gray;
	display:none;
}
.vc_custom_1694028249231 {
	background-color:lightskyblue;
}

.page-title-cat{
	/*background-color:#8EDEEC;*/
	 border-bottom: 1px solid #C8C8C8; 
	/* Добавляем подчёркивание */
    padding-bottom: 3px; /* Расстояние от текста до линии */
}

/*не показывать жополнительное меню на мобильном устройстве*/
@media (max-width: 768px){
#menu-dopolnitelnoe-menyu{
display:none;
}
}

/*цвет меню на планщете*/
#mega-menu-wrap-handheld #mega-menu-handheld > li.mega-menu-item > a.mega-menu-link{
	color:white;
}

#mega-menu-item-175992{
background-color:#282828!important;
}

/*ШАПКА*/
/*1. фон, высота, положение  панели Header*/
 @media only screen and (min-width:768px){
#desktop-logo{
/*background-color: #313B4F!important;*/
/* background: url(https://bhv.ru/wp-content/uploads/2020/12/newyear-bg2.jpg) repeat-y #A8C2DB;*/
background: url(https://bhv.ru/wp-content/uploads/2021/03/shapka-vesna.png) no-repeat #A8C2DB;	
/*background: url( https://bhv.ru/shapka-osen3) no-repeat #313B4F;*/
	
  margin-bottom:-5px;
	margin-left:-35px;
	margin-right:-35px;
	height:120px;
/*	height:9.0vw;*/
	padding:0px;
	/*max-width: 120em;*/
  width: 120%;
}
}

  @media only screen and (device-width:767px){
       /* default iPad screens */
/*nav.main-navigation {
		width: 100vw !important;
    background: #000;
   	margin-right: 0px !important; 
		 	margin-left: -16px !important; 	
		}
		*/
}

.vc_custom_1590489870760{
	background: #000;
}

/*2. цвет корзины в Header*/
@media (min-width: 768px) {
a.xoo-wsc-sc-cont {
	margin-top:10px;
	margin-left:-30px;
	float: left; 
	font-size: 2.5vw;
  /*color:#FDCE64;*/
	color:#002742;

}
}

/**/
.myhead a{
  font-size: 10pt; 
  /*color: #266382;*/
	color: white;
  text-decoration: none; 
  font-weight: 700;
/*  background: #266382;*/
}

/*3. цвет и положение пунктов главного меню*/
@media (min-width: 768px) {
	nav.main-navigation {
		width: 100vw !important;
    background: #002742;
   	margin-right: 0px !important; 
		 	margin-left: -16px !important; 	
		}
}
/*Цвет и размеры пунктов главного меню*/
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: red;
    font-size: 17px;
	 /* background-color: #313B4F!important;*/
}
@media (min-width: 768px){
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link
{
	color: white;
  font-size:12px;	
}
}

/*
//Заголовок в новостях
.news_title a{
font-size: 24px; 
text-align: left;
font-family:PT Serif Caption;
font-weight:600;
font-style:normal;
}
*/
@media (max-width: 767px) {
  /* Переключаем вывод карточек товаров в сетку (2 в строке) */
  ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -5px;
  }
  ul.products li.product {
    width: 48% !important; /* 2 колонки */
    margin: 0 0 15px 0 !important; /* уменьшенные отступы */
    padding: 5px;
    box-sizing: border-box;
  }
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.9em;
    height: 2.4em;
  }
}

/* Container for authors with expandable hover effect */
ul.products li.product {
  position: relative;
}

/* Author container setup */
ul.products li.product .woocommerce-LoopProduct-link ~ a[href*="/attribute-name/attribute/writerman/"] {
  position: relative;
  z-index: 1;
}

/* Create a wrapper for first author that's always visible */
ul.products li.product .woocommerce-LoopProduct-link + a[href*="/attribute-name/attribute/writerman/"] {
  display: block;
  height: 1.2em;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

/* Hide subsequent authors by default */
ul.products li.product .woocommerce-LoopProduct-link + a[href*="/attribute-name/attribute/writerman/"] ~ a[href*="/attribute-name/attribute/writerman/"] {
  display: block;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}


/* Show all authors on hover */
ul.products li.product .woocommerce-LoopProduct-link + a[href*="/attribute-name/attribute/writerman/"]:hover ~ a[href*="/attribute-name/attribute/writerman/"],
ul.products li.product .woocommerce-LoopProduct-link + a[href*="/attribute-name/attribute/writerman/"] ~ a[href*="/attribute-name/attribute/writerman/"]:hover {
  height: 1.2em;
  opacity: 1;
  margin-bottom: 2px;
}

/* Style for the author spans */
ul.products li.product span.author {
  margin: 0;
  text-align: left;
  line-height: 1.2em;
  white-space: nowrap;
  vertical-align: top;
}

/* Make sure author spans don't break */
ul.products li.product a[href*="/attribute-name/attribute/writerman/"] {
  display: block;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile styling for product cards and authors */
@media (max-width: 767px) {
  /* Adjust product grid on mobile */
  ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -5px;
  }
  
  ul.products li.product {
    width: 48% !important; /* Keep 2 columns on mobile */
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 5px;
    box-sizing: border-box;
  }
  
  /* Fix product images */
  ul.products li.product img {
    max-height: 180px; /* Smaller images on mobile */
  }
  
  /* Make sure titles are readable */
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.9em;
    height: 2.4em;
  }
  
  /* Adjust author links */
  ul.products li.product a[href*="/attribute-name/attribute/writerman/"] {
    height: 1.1em;
    margin-bottom: 2px;
  }
  
  /* Smaller product fields */
  .product-fields {
    font-size: 0.75em;
  }
  
  /* Fix price */
  ul.products li.product .price {
    margin-bottom: 8px;
    margin-top: 5px;
    font-size: 0.9em;
  }
  
  /* Fix add to cart button */
  .woocommerce ul.products li.product .add_to_cart_button,
  .woocommerce ul.products li.product .ajax_add_to_cart {
    padding: 5px;
    font-size: 0.85em;
  }
}

.product-fields {
  text-align: left;
  font-size: 0.8em;
  width: 100%;
}

.product-fields .product-article,
.product-fields .product-sku {
  display: inline-block;
  color: #666;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-fields .product-series {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Исправление выравнивания виджетов в футере */
footer#colophon.site-footer {
    clear: both;
    padding-top: 30px;
}

.footer-widgets.row-1.col-4.fix {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 20px;
}

.footer-widgets .block {
    float: none;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-widgets.row-1.col-4.fix {
        display: block;
    }
    
    .footer-widgets .block {
        margin-bottom: 20px;
    }
}

/* Кнопка "В корзину" в списке товаров на всю ширину блока */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart {
    display: block;
    margin: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding: 8px 10px;
    background-color: #002742 !important;
    color: white !important;
    font-weight: bold;
}

/* Исправленные стили для корректного отображения карточек товаров */
ul.products li.product .woocommerce-LoopProduct-link:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
}


/* Предотвращаем применение стилей для пустых ссылок в product-fields */
.product-fields .woocommerce-LoopProduct-link {
  display: none !important;
}

.product-fields .field-link {
  margin-bottom: 2px;
  text-decoration: none;
}

.product-fields .field-link:hover {
  text-decoration: underline;
}

/* Style for the no-author spans */
ul.products li.product span.no-author {
  display: inline-block;
  margin: 0;
  text-align: left;
  font-size: 1em;
  line-height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666; /* Slightly different color to indicate it's a placeholder */
}

.site-main ul.products.columns-4 li.product {
        width: 25%;
        margin-right: 0px;
        border-radius: 3px;
    }