/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: Child theme for Hello Elementor
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* SINGLE-PRODUCT */
body.single-product {
  font-family: "Titillium Web";
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 80%
  );
}

.custom-block-content1 {
  margin-bottom: 15px;
  width: 50%;
  font-family: "Roboto Condensed";
  font-size: 22px;
  color: #0f5684;
}

.custom-block-content2 {
  margin-bottom: 30px;
  width: 50%;
  font-family: "Roboto Condensed";
  font-size: 18px;
  color: #333;
}
.custom-divider {
  border: none;
  border-top: 1px solid #c5a25d; /* Цвет можно изменить */
  width: 80px;
  margin: 12px 0 16px;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
  border: 1px solid grey;
}

div.woocommerce-tabs.wc-tabs-wrapper > ul {
  display: none;
}

div.summary.entry-summary > h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 26px;
  color: #333;
}

div.summary.entry-summary > p > span > bdi {
  font-weight: 600;
  font-size: 32px;
  color: #333;
}

.product_meta {
  display: none;
}

div.summary.entry-summary > form > button.single_add_to_cart_button.button.alt {
  text-transform: uppercase;
  height: 41px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  background: #0f5684;
}

#tab-description > h2 {
  font-size: 20px;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
}

.li-cart {
  margin-bottom: 10px;
}

mark {
  background-color: white;
  color: inherit; /* сохраняем основной цвет текста */
}

.tar1 {
  margin-bottom: 20px;
  font-size: 14px;
}
/*Кастомные стрелки в карточке товара*/
/* Увеличиваем ширину и корректируем отступы */
.woocommerce div.quantity input[type="number"] {
  width: 70px;
  padding-right: 20px; /* чтобы цифра не наезжала на стрелки */
  font-size: 16px;
  text-align: center;
  height: 41px;
  box-sizing: border-box;
  border: 2px solid #0f5684;
  border-radius: 3px;
}

/* Обязательно включить стрелки (если ты их раньше скрывал) */
.woocommerce div.quantity input::-webkit-inner-spin-button,
.woocommerce div.quantity input::-webkit-outer-spin-button {
  -webkit-appearance: auto;
  appearance: auto;
  opacity: 1 !important;
}

/*Доп кнопка справа от add to cart*/
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.woocommerce div.product form.cart div.quantity {
  margin-right: 10px !important;
}

.ask-question-button {
  margin-left: 10px;
  text-transform: uppercase;
  background-color: #e53935;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.ask-question-button:hover {
  background-color: #c62828;
}

@media (min-width: 1301px) {
  body.single-product .site-main {
    max-width: 1300px !important;
    padding-top: 70px;
    padding-bottom: 120px;
  }
}
@media (max-width: 1300px) {
  body.single-product .site-main {
    padding-top: 70px;
    padding-bottom: 60px;
  }
  div.summary.entry-summary > p > span > bdi {
    font-size: 24px;
  }
  .custom-block-content1,
  .custom-block-content2 {
    width: 60%;
  }
}

@media (max-width: 640px) {
  div.summary.entry-summary > p > span > bdi {
    font-size: 32px;
  }

  .woocommerce div.product form.cart {
    flex-wrap: nowrap;
  }
  .woocommerce div.quantity input[type="number"] {
    width: 50px;
  }
  .ask-question-button {
    padding: 10px;
  }

  div.summary.entry-summary > h1 {
    font-size: 20px;
  }

  .custom-block-content2 {
    width: 70%;
  }
}

/*SERVICES*/
.products columns-4 {
  font-family: "Titillium Web";
}
.orderby {
  display: none;
}

.woocommerce-result-count {
  display: none;
}

/* Карточка товара */
.custom-product-card {
  padding: 20px;
  max-width: 300px;
  width: auto !important;
  border: 2px solid #e1e1e1;
  padding: 20px !important;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.custom-product-card:hover {
  border: 2px dashed #004b78;
  border-radius: 10px;
  box-shadow: none;
}

/* Изображение товара */
.custom-product-image {
  display: flex;
  justify-content: center;
}
.woocommerce ul.products li.product a img {
  width: auto;
  height: 150px;
  margin-bottom: 15px;
}

/* Название товара */
.woocommerce-loop-product__title {
  white-space: nowrap;
  overflow: hidden;
  font-size: 22px !important;
  font-weight: 700;
  color: #002f4b;
}

/* Краткое описание */
.product-excerpt {
  font-size: 15px;
  color: #555;
  margin: 10px 0;
}

/* Цена */
.woocommerce ul.products li.product .price {
  font-size: 26px !important;
  color: #333 !important;
  font-weight: 600 !important;
  margin-bottom: 10px;
}

/* Форма добавления в корзину */
form.custom-loop-cart {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 10px;
}

/* Поле количества */
form.custom-loop-cart .qty {
  width: 60px;
  padding: 7px;
  text-align: center;
  border: 2px solid #0f5684;
  border-radius: 3px 0 0 3px;
}

/* Кнопка "Add to cart" */
form.custom-loop-cart .add-to-cart-button {
  background-color: #002f4b;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form.custom-loop-cart .add-to-cart-button:hover {
  background-color: #004b78;
}

.woocommerce ul.products li.product .button {
  border-radius: 0 3px 3px 0;
  background-color: #0f5684;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 14px 25px;
  margin-top: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 10px;
}

.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce a.added_to_cart {
  display: none !important;
}

@media (min-width: 1300px) {
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 1300px !important;
    padding-top: 70px;
    padding-bottom: 120px;
  }
}

@media (max-width: 1300px) {
  body:not([class*="elementor-page-"]) .site-main {
    padding-top: 70px;
    padding-bottom: 60px;
  }
  .woocommerce ul.products {
    flex-wrap: wrap;
    gap: 0;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    margin: 10px !important;
  }
}

/*CONCTACT US Планшет*/
@media (min-width: 768px) and (max-width: 1299px) {
  .elementor-45 .elementor-element.elementor-element-9d7d8d4 {
    --width: auto;
  }
}

/*LOG IN*/
.woocommerce {
  padding-top: 70px;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  margin-bottom: 0;
  padding: 0;
  border: none;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"],
.form-card input[type="tel"] {
  margin-bottom: 0 !important;
}

.form-login-flex {
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#reg-btn,
#login-btn,
#show-full-register {
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  background-color: black !important;
  color: white !important;
}

.account-login-form {
  padding-left: 10px;
  margin-top: 20px;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 700;
  color: black;
}

#login-register-wrapper
  > div.login-section
  > div:nth-child(4)
  > form
  > p:nth-child(3)
  > a,
#full-register-box > div > p:nth-child(3) > a {
  color: #0a4265 !important;
}

#login-register-wrapper
  > div.login-section
  > div:nth-child(4)
  > form
  > p:nth-child(5) {
  display: none;
}

.form-card-new {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*FORM REGISTRATION*/

.reg-form-flex {
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"],
.form-card input[type="tel"] {
  padding: 6px 12px !important;
}

#h2-reg {
  margin-bottom: 10px;
  font-size: 16px;
}

/*MY ACCOUNT*/
.elementor-element-79cb4845 {
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
}

.account-navigation-wrapper {
  width: 70%;
}

#h2-myaccount {
  font-family: "Roboto Condensed";
  color: #333;
  font-size: 26px;
}

/* Стилизация для изменения порядка колонок */
.account-section {
  display: flex;
  gap: 20px;
}

.account-box {
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border-radius: 3px;
  flex: 1 1 48%; /* для 2 колонок */
}

.account-box:hover {
  background: white;
  box-shadow: 0 15px 90px -10px rgba(0, 0, 0, 0.2);
}

.account-box h2 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 15px;
}

.account-box .button-black {
  text-decoration: none;
  color: #000 !important;
  text-align: center;
  cursor: pointer;
}

.account-box i {
  font-size: 45px;
  color: #000000;
}

/* Меняем порядок колонок: левая колонка (навигация) перемещена вправо */
.woocommerce-MyAccount-navigation {
  order: 2;
}

.woocommerce-MyAccount-content {
  width: 100% !important;
  float: left !important;
}

/*NAVIGATION ACCOUNT*/
#h2-accountMenu {
  font-weight: 700;
  font-size: 16px;
  color: #333;
}
/* Стили для бокового меню */
.woocommerce-MyAccount-navigation {
  float: right !important;
  top: 0;
  right: 0;
  max-width: 220px !important;
  width: auto !important; /* Ширина меню */
}

/* Убираем отступы и стилизуем ссылки */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin: 10px 0;
}

.woocommerce-MyAccount-navigation li a {
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  font-family: "Titillium Web";
  font-size: 14px;
  font-weight: 700;
  border-radius: 5px;
  display: block;
}

.woocommerce-MyAccount-navigation li a:hover {
  color: #0f5684;
}

.comments-area a,
.page-content a {
  text-decoration: none !important;
}

/* Непонятные пробелы */
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > p:nth-child(2),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > p:nth-child(3),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(4)
  > a:nth-child(1)
  > p,
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(4)
  > p:nth-child(2),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(4)
  > p:nth-child(4),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(4)
  > p:nth-child(6),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(5)
  > a:nth-child(1)
  > p,
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(5)
  > p:nth-child(2),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div:nth-child(5)
  > p:nth-child(4),
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > p:nth-child(6) {
  display: none;
}

.woocommerce-MyAccount-navigation-link--dashboard > a > br,
.woocommerce-MyAccount-navigation-link--edit-address > a > br,
.woocommerce-MyAccount-navigation-link--edit-account > a > br,
.woocommerce-MyAccount-navigation-link--orders > a > br,
.woocommerce-MyAccount-navigation-link--transactions > a > br {
  display: none;
}

/*CART PAGE*/
.cart-title {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #333;
}

.cart-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.cart-left {
  flex: 1 1 65%;
}

.cart-right {
  flex: 1 1 30%;
}

.woocommerce-cart-form__contents {
  border-radius: 0 !important;
}

table thead:first-child tr:first-child th {
  border-block-start: none !important;
}

table tbody > tr:nth-child(odd) > td {
  background-color: transparent !important;
}

.shop_table th,
.shop_table td {
  padding: 12px;
  border: none;
  text-align: center;
  vertical-align: middle;
}

.product-thumbnail img {
  max-width: 60px;
}

.product-name {
  text-align: left !important;
}

.product-name a {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

td.product-name > a {
  color: #0a4265 !important;
}

.product-actions a {
  margin: 0 5px;
  font-size: 18px;
}

.update-cart-item i {
  color: #007bff;
  cursor: pointer;
}

.btn-remove i {
  color: red;
  cursor: pointer;
}

.custom-cart-summary {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.custom-cart-summary h3 {
  font-family: "Roboto Condensed";
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.totals-block {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.subtotal-row,
.total-row {
  padding: 8px 14px;
  border: 1px solid #ddd;
  display: flex;
  justify-content: flex-end;
  font-size: 16px;
}

.subtotal-row {
  border-bottom: 0;
}

div.subtotal-row > span:nth-child(1),
div.total-row > span:nth-child(1) {
  margin-right: 30px;
}

div.cart-left > form > table > thead > tr {
  font-family: "Titillium Web";
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

div.subtotal-row > span:nth-child(1),
div.total-row > span:nth-child(1) {
  font-weight: 700;
}

.woocommerce-Price-amount.amount {
  font-size: 16px;
  font-weight: 400 !important;
}

.continue-shopping {
  background-color: #0f5684 !important;
  font-size: 14px;
  font-weight: 400 !important;
  text-transform: uppercase;
  color: #fff !important;
  padding: 13px !important;
  border-radius: 0 !important;
  display: inline-block;
  text-decoration: none;
  margin-right: 10px;
}

.woocommerce a.checkout-button {
  width: 45%;
  text-align: center;
  border-radius: 0 !important;
  font-weight: 400 !important;
  background: #000 !important;
  color: #fff !important;
  padding: 13px !important;
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: "Titillium Web";
  font-size: 14px;
}

/*Страница чекаут оформленный заказ*/
.woocommerce-order {
  color: black;
}

.product-name-2,
.product-total-2,
.product-subTotal-2 {
  font-family: "Titillium Web";
  text-align: right !important;
  font-size: 16px;
}

#step-4 > table > thead,
#step-4 > table > tfoot {
  background-color: #fff;
}

#step-4 > table > tbody {
  background-color: transparent;
}

#menu-item-867 > ul {
  background: black;
}

.elementor-widget-navigation-menu .sub-menu a.hfe-sub-menu-item:hover {
  color: #0f5684 !important;
}

/*Страница ORDER HISTORY*/

#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > table {
  color: black;
}

#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > table
  > tbody
  > tr
  > th
  > p
  > a {
  color: black;
}

#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > table
  > tbody
  > tr
  > td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions
  > p
  > a.woocommerce-button.button.pay,
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > table
  > tbody
  > tr
  > td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions
  > p
  > a.woocommerce-button.button.cancel {
  display: none;
}

/*Хедер выпадающее меню входа*/

/* Скрываем по умолчанию */
#menu-item-906,
#menu-item-907 {
  display: none;
}

/* Показываем, если пользователь залогинен */
body.logged-in #menu-item-906,
body.logged-in #menu-item-907 {
  display: block;
}

/*ORDER DETAILS*/

.woocommerce-customer-details,
.woocommerce .woocommerce-order-details {
  color: black;
}

/*EDIT ACCOUNT*/
.woocommerce-EditAccountForm.edit-account {
  color: black;
}

/*TRANSACTIONS*/
.woocommerce-MyAccount-transactions {
  color: black;
}
#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > div.woocommerce-MyAccount-transactions
  > table
  > tbody
  > tr
  > td:nth-child(4)
  > span
  > br {
  display: none;
}

/*Мой аккаунт*/
/* Скрываем .account-section ТОЛЬКО на странице заказов */

.account-section,
#h2-myaccount {
  display: none;
}

body.woocommerce-dashboard .account-section {
  display: flex;
}

#h2-myaccount {
  display: block;
}

#content
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > div.woocommerce-MyAccount-content
  > form {
  color: #000;
}

#content > div > div > div > div > div > div > div > form {
  color: #000;
  margin-top: 50px;
}

p.woocommerce-form-row.form-row > button > br {
  display: none;
}
