/*
Theme Name: Auto web
Theme URI: http://meat
Author: Ilya
Author URI: http://example.com/
Description: Auto Website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, theme, etc
Text Domain: my-custom-theme
*/
/* #0014a8 - dark-кобальтовый*/
* {
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif !important;
}
body {
  margin: 0;
  overflow-x: hidden;
  /* background-image: url(/wp-content/uploads/2024/08/rrttee-.jpg); */
  background-repeat: no-repeat;
  background-size: cover;
}
.header-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1%;
  border-bottom:1px solid #bbb
}
.header-nav > ul {
  display: flex;
  justify-content: space-between;
  width: 90%;
  padding-bottom: 1%;
}
.header-nav > ul > li {
  width: 25%;
  list-style-type: none;
}
main {
  /* border-top: 1px solid #000; */
}
.menu-hover > a,
.menu-item > a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 24px;
  position: relative;
  transition: color 0.2s ease-in-out;
}
.menu-hover > a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 2px; /* высота полоски */
  background-color: #0047ab; /* цвет полоски */
  transition: width 0.2s ease-in-out;
}
.menu-image > a:hover::after {
  width: 0;
}
.header-nav > ul > li > a:hover::after {
  width: 100%;
}
.header-nav > ul > li > a:hover {
  color: #0047ab;
}
#front-page-section {
  /* border-bottom: 5px solid #0047ab; */
  /* border-top: 5px solid #0047ab; */
  border-top: 1px solid #fff;
  /* background-color: #272727; */
  height: 90vh;
}
.black-overlay,
.main-content,
.two-button-container {
  height: 100%;
}
.main-content {
  display: flex;
  justify-content: center;
  background-image: url(/wp-content/uploads/2024/07/ASDE-.jpg);
  position: relative;
  background-size: 100% 140%;
  background-position: center;
  background-repeat: no-repeat;
}
.two-button-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 75%;
}
.two-button-container > a {
  border: 2px solid #0047ab;
  font-size: 36px;
  text-decoration: none;
  width: 25%;
  height: 100px;
  padding: 0 5%;
  background-color: #0047ab;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  z-index: 2;
  color: #272727;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.two-button-container > a:hover {
  background-color: unset;
}
.header-image {
  width: 100%;
  padding: 2% 2%;
}
.header-image > a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-image > a > img {
  height: 175px;
  width: 75%;
}

.page-production-ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 4% 2%;
  margin-top: 0;
}
.page-production-li {
  list-style-type: none;
  width: 20%;
  margin-right: 5%;
  position: relative;
  height: 200px;
  margin-bottom: 7.5%;
}
.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: 0.3s ease;
  border-radius: 8px;
}
.page-production-li > a {
  height: 100%;
  display: block;
  text-decoration: none;
  color: #fff;
}
.category-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 24px;
}
.category-link:hover .category-image {
  filter: brightness(0.7);
}

.category-link:hover .category-name {
  opacity: 1;
}

.subcat-category-link.active {
  font-weight: bold;
  color: #ff0000; /* Пример выделения цветом */
}
.product-header-title-ruslan {
  font-size: 72px;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}
#primary {
  padding: 2% 2%;
  margin-bottom: 0 !important;
}
.woocommerce-breadcrumb {
  padding: 2% 2%;
  font-size: 16px;
}
.child-categories {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5%;
  padding-left: 2%;
  justify-content: center;
}
.child-categories > div {
  list-style-type: none;
  margin-right: 5%;
  /* border: 2px solid #0047ab; */
  /* background-color: #0047ab; */
  /* border-radius: 60px; */
  /* padding: 1% 2%; */
  /* width: 300px; */
  margin-bottom: 5%;
  text-align: center;
}
.child-categories > div > a {
  /* font-size: 24px; */
  text-decoration: none;
  /* color: whitesmoke; */
  color: #272727;
  border-radius: 6px;
  font-size: 24px;
  border: 4px solid #0047ab;
  background-color: #fff;
  padding: 19px 33px;
  /* border-radius: 60px; */
  /* width: 100%; */
  /* height: 100%; */
}
.child-categories > div > a:hover {
    cursor: pointer;
    background-color: #0047ab;
    color: whitesmoke;
}
.child-categories > div.active {
  background-color: unset;
  color: #272727;
}
.child-categories > div > a.active {
    cursor: pointer;
    background-color: #0047ab;
    color: whitesmoke;
}
.woocommerce-breadcrumb > div > a:hover {
  background-color: unset;
  color: #272727;
}
.woocommerce-breadcrumb > ul > li > a:hover {
  color: #272727;
}
.products {
  display: flex;
  flex-wrap: wrap;
  padding: 2% 2%;
}
.products > li {
  list-style-type: none;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #272727;
  width: 21%;
  margin-right: 3%;
  padding-bottom: 2%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 5%;
}
.products > li:hover {
  border: 2px solid #0047ab;
  opacity: 0.9;
  box-shadow: -5px -5px 79px -15px #0047ab;
}
.products > li > a {
  width: 100%;
  height: fit-content;
  display: block;
  text-decoration: none;
}
.add_to_cart_button {
  position: relative !important;
  width: fit-content !important;
  height: fit-content !important;
}
.product-custom-buttons-container {
  display: none;
}
/* .custom-image-wrapper {
  height: 350px;
} */
.custom-image-wrapper > img {
  padding-left: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
  width: 85% !important;
  height: 100%;
}
.woocommerce-loop-product__title,
.entry-title {
  font-size: 30px;
  text-decoration: none;
  color: #666;
  margin-top: 0;
  margin-bottom: 2%;
  padding-left: 2%;
  line-height: 40px;
  text-align: start;
  text-wrap: wrap;
  padding-right: 2%;
}
.price {
  padding-left: 2%;
  font-size: 18px;
  color: #272727;
  font-weight: 800; //добавил сам
}
.card-count-input-form {
  padding-left: 2%;
  padding-right: 2%;
  margin-top: 7%;
}
.card-count-input-quantity {
  display: none;
  /* display: flex; */
  justify-content: space-between;
}
.card-count-input-quantity > label {
  font-size: 18px;
  margin-right: 5%;
  font-weight: 600;
}
.card-count-input-container {
  width: 30%;
  display: flex;
  justify-content: space-between;
}
.card-count-input-container > button {
  width: 30%;
  height: 25px;
  /* border: 2px solid #0047ab; */
  border: 2px solid rgb(38, 38, 38);
  border-radius: 4px;
  color: white;
  /* background-color: #0047ab; */
  background-color: rgb(38, 38, 38);
  cursor: pointer;
}
.card-count-input-container > input {
  width: 25%;
  text-align: center;
  /* border: 2px solid #0047ab; */
  border: 2px solid rgb(38, 38, 38);
  border-radius: 4px;
}
.add-to-cart-ajax {
  width: 100%;
  padding: 6% 3%;
  margin-top: 5%;
  color: #272727;
  border-radius: 6px;
  border: 4px solid #0047ab;
  background-color: #fff;
  font-size: 24px;
}
.add-to-cart-ajax:hover {
  background-color: #0047ab;
  color: whitesmoke;
  cursor: pointer;
}
#search-results {
  position: absolute;
  width: 395px;
  white-space-collapse: preserve-breaks;
  background-color: white;
  border: 1px solid #ddd;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1;
}
#search-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#search-results ul li {
  padding: 2%;
  border-bottom: 1px solid #ddd;
}
#search-results ul li img {
  max-width: 50px;
  margin-right: 10px;
  vertical-align: middle;
}
#search-results ul li a {
  text-decoration: none;
  color: #333;
  text-wrap: wrap;
}
#search-results ul li span {
  float: right;
  color: #999;
}
#main > h1 {
  text-align: center;
  padding-left: 2%;
  font-size: 48px;
}
#product-search-form {
  padding-left: 2%;
}
#product-search-input {
  width: 390px;
  height: 40px;
  font-size: 24px;
  border-radius: 6px;
}
.product-top-section-container {
  padding: 2% 2%;
}
.product-top-section {
  display: flex;
  justify-content: center;
}
.entry-summary {
  margin-left: 3%;
}
.woocommerce-product-gallery__wrapper img {
  border-radius: 8px;
}
.woocommerce-message {
  border-top-color: white !important;
  font-size: 16px;
}
.woocommerce-product-details__short-description p {
  font-size: 20px;
  padding-left: 2%;
}
.woocommerce-product-details__short-description li {
  font-size: 20px;
}
.woocommerce-tabs {
  display: none;
}
.related > h2 {
  width: 100%;
  text-align: center;
  font-size: 32px;
}
.related ul {
  width: 100%;
}
.wc-block-cart {
  padding: 2% 2% !important;
}
.wc-block-cart-item__image {
  width: 20%;
}
.wc-block-components-product-name {
  font-size: 20px !important;
  text-decoration: none;
  color: #272727;
}
.wc-block-components-product-price {
  padding-left: 0;
}
.wc-block-cart-items__header span,
.wp-block-woocommerce-cart-order-summary-heading-block {
  font-size: 24px !important;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wc-block-components-shipping-address,
.wc-block-components-totals-shipping__change-address__link {
  display: none !important;
}
.wc-block-components-button__text {
  padding: 2% 2%;
  background-color: #fff;
  text-decoration: underline;
  color: #272727;
  font-size: 32px;
  text-align: center;
  border-radius: 8px;
  /* text-decoration-color: #0047ab; */
  text-decoration-color: #fff;
  border: 4px solid #0047ab;
}
.wc-block-components-button__text:hover {
  /* background-color: unset; */
  background-color: #0047ab;
  text-decoration-color: #0047ab;
  color: whitesmoke; 
  /* border: 2px solid #0047ab; */
}
.wc-block-components-product-metadata__description p {
  font-size: 20px;
}
.wc-block-components-quantity-selector__button {
  background-color: #0047ab !important;
  border: 2px solid #0047ab !important;
  color: #272727 !important;
  opacity: 1 !important;
  font-size: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wc-block-components-quantity-selector__input {
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif;
}
.wp-block-woocommerce-cart-order-summary-totals-block {
  display: none;
}
.wc-block-components-totals-item {
  font-size: 20px;
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif;
}
.checkout-column-right #payment {
  display: none;
}
.woocommerce-checkout {
  padding: 2% 2%;
}
.checkout-columns h3 {
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif ;
  font-size: 24px;
}
.checkout-columns label {
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #333;
}
.checkout-columns input {
  border: 2px solid #0047ab;
  border-radius: 8px;
  height: 30px;
  font-size: 14px;
  padding-left: 5px;
}
.woocommerce-checkout-review-order-table th {
  font-size: 16px;
  color: #333;
}
.minus-checkout,
.plus-checkout {
  width: 45px;
  height: 36px;
  border: 2px solid #0047ab;
  border-radius: 4px;
  color: white;
  background-color: #0047ab;
  cursor: pointer;
}
.card-count-input-container-checkout {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.card-count-input-container-checkout input {
  margin: 0 2%;
}
.product-name {
  font-size: 24px;
  margin-top: 5%;
  width: 40%;
}
.product-thumbnail {
  width: 250px;
  border-radius: 8px;
  border: 2px solid #0047ab;
  overflow: hidden;
  height: 250px;
}
.product-thumbnail > img {
  height: 100%;
}
.product-thumbnail > img {
  height: 100%;
}
.woocommerce-Price-amount > bdi,
.product-subtotal,
.cart-subtotal-amount,
.woocommerce-Price-amount,
.order-total-amount {
  /* font-size: 16px; */
  font-size: 25px;
  color: #333;
}
#payment {
  background-color: unset !important ;
}
.wc_payment_methods li {
  display: flex;
  align-items: center;
}
#place_order {
  background-color: #fff;
  border: 4px solid #0047ab;
  color: #272727;
  float: unset !important;
  width: 60%;
  border-radius: 8px;
  padding: 3% 2%;
  font-size: 24px;
  margin-top: 2%;
}
#place_order:hover {
  background-color: #0047ab;
  color: whitesmoke;
}
.custom-price-update > label {
  display: flex;
  align-items: center;
}
.checkout-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.checkout-column-left,
.checkout-column-right {
  flex: 1;
  min-width: 300px;
}
.woocommerce-shipping-totals {
  display: none;
}
.woocommerce-form-coupon-toggle {
  display: none;
}
.price-update-input {
  display: flex;
  flex-direction: column;
}
.enable-price-update {
  margin-right: 3%;
}
.apply-new-price {
  display: block;
  border: 2px solid #0047ab;
  background: #0047ab;
  border-radius: 4px;
  margin-top: 2%;
  padding: 3% 3%;
  font-size: 16px;
  color: white;
  cursor: pointer;
}
#order-total-with-discount,
tfoot > .cart-subtotal {
  display: none;
}
.woocommerce-customer-details {
  display: none;
}
.woocommerce-order {
  padding-left: 2%;
}
.woocommerce-order-details > table > tfoot > tr:nth-child(4) {
  display: none;
}
.menu-item {
  position: relative;
}

.menu-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  transition: opacity 0.5s ease-in-out;
}

.menu-item:hover .sub-menu {
  display: block;
}

.sub-menu li {
  display: flex;
  align-items: center;
  padding: 5px 20px;
}

.sub-menu li a {
  display: flex;
  align-items: center;
}

.sub-menu li img {
  margin-right: 10px;
}
.sub-menu a {
  /* font-family: "Roboto Slab"; */
  font-family: bmwTypeNextWeb, Arial, Helvetica, sans-serif inherit;
  text-decoration: none;
  color: black;
}
.sub-menu a:hover {
  color: #0047ab;
}
.woocommerce-breadcrumb > a {
  font-size: 16px;
  text-decoration: none;
  color: #272727;
}
.woocommerce-breadcrumb > a:hover {
  color: #0047ab;
}
.category-header {
  text-align: center;
  font-size: 24px;
  color: #666;
}
.category-header {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.category-link:hover + .category-header {
  opacity: 0;
}
.cart-image {
  width: 40px;
}
.cart-counter {
  position: relative;
  display: inline-block;
  width: auto !important;
}
.cart-counter .counter {
  position: absolute;
  top: -15px;
  background-color: #0b82c5;
  color: white;
  border-radius: 50%;
  padding: 4px 9px;
  font-size: 13px;
  text-align: center;
}
.cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  z-index: 1000;
  padding: 10px;
  border: 1px solid #ddd;
}
.cart-dropdown .cart-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}
.cart-dropdown .cart-item:last-child {
  border-bottom: none;
}
.cart-dropdown img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.cart-dropdown .item-info {
  display: flex;
  flex-direction: column;
}
.cart-dropdown .item-info .item-name {
  font-size: 14px;
}
.cart-dropdown .item-info .item-quantity {
  font-size: 12px;
  color: #555;
}
.promo-product-label {
  font-size: 20px;
}
.woocommerce-pagination {
  display: flex;
  justify-content: center;
}
.woocommerce-pagination ul {
  display: flex;
  padding-left: 0;
  flex-wrap: wrap;
  align-items: center;
}
.woocommerce-pagination li {
  list-style-type: none;
  width: 25px;
}
.woocommerce-pagination li span, a {
  font-size: 20px;
  color: black;
}
.woocommerce-pagination li span {
  font-size: 22px;
}