/*
Theme Name: Авторская тема
Description: Тема сайта для Wordpress
Author: Дмитрий Костерин
Author URI: https://dkosterin.ru
License URI: https://dkosterin.ru
Version: 5.0
License: Dmitry Kosterin
Tags: black, white
*/

:root {
  --color: #3e2316;
  --color-s: #3e2316;
  --color-w: #ffffff;
  --color-b: #020201;
  --swiper-theme-color: #595151 !important;
}

 .splide__pagination button.is-active,  .splide__pagination button.is-active:hover {
	background: var(--color-b) !important;
}

html {
  background: var(--color-w);
  font-size: 17px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 100% auto;
}

* {
  font-family: "Arsenal SC", sans-serif;
}

p {
  color: var(--color-b);
  margin: 10px 0;
}

h1 {
  font-size: 3.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color-b);

}

h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: calc(var(--mx) * 0.5) 0;

}

h4 {
  font-size: 1.2rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h5 {
  font-size: 1.1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h6 {
  font-size: 1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

hr {
  margin: 1em auto;
  width: 100px;
  color: var(--color-b);
}

iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: 0.5em 0;
}

a {
  color: var(--color-s);
}

.df-bg {
    background-color: var(--color-w) !important;
}

.contact-header a {
    color: var(--cw);
}

/* header */

header {
  align-items: center;
  align-items: normal;
  background: var(--color-b);
  background-size: cover;
  overflow: hidden;
  height: 400px;
}

.title-header {
  z-index: 1;
  padding: 0 30px;
  display: flex;
}

.info-header {
  font-size: 1.8rem;
  color: var(--color-w);
  position: relative;
  max-width: 700px;
  transition: all ease 1s;
	margin-left: 60px;

}

.site-title {

  font-weight: 400;
  font-size: 5rem;
  color: var(--color-w);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 30px 0 0 0;
  position: relative;
  transition: all ease 1s;
}

.contact-header {
  font-size: 1.2rem;
  color: var(--color-w);
  position: relative;
  display: flex;
  padding-bottom: 20px;
  margin-top: 50px;
	    flex-wrap: wrap;
}


.contact-header li {
  padding-right: 20px;
}

.contact-header i {
  padding-right: 10px;
}

button.splide__pagination__page {
    background: var(--color-w);
    border: 1px solid var(--color);
}

header i {
  color: white;
}

.background-header {
  width: 220px;
  height: 100%;
  margin: 20px;
}

.logo-header {
  position: relative;
  z-index: 1;
}

.logo-header img {
    filter: drop-shadow(0 0 250px #fff);
}

.img-header1 {
  position: relative;
  z-index: 1;
  width: 70%;
  transition: all ease 1s;
  right: -30%;
}

.img-header2 {
  width: 100%;
  margin-top: -100%;
  z-index: -1;
  position: relative;
  right: 30%;
  transition: all ease 1s;
}

/* main */

main {
  padding: 2em 0;
  position: relative;
  z-index: 1;
  background: var(--color-w);
}

.content li {
  list-style-type: disc;
  margin-left: 20px;
}

button {
  height: 42px;
  width: auto;
  box-shadow: none;
  transition: 0.5s ease;
  font-weight: bold;
  border: none;
  background: var(--color);
  color: var(--color-w);
  padding: 0 15px;
}

button a {
  color: var(--color-b);
}

.breadcrumbs {
  margin-top: 2em;
}

.about {
  padding: 40px;
  background: var(--color-b);
}

.about img {
  align-items: center;
  position: relative;
  object-fit: contain;
}

.about p {
  color: var(--color-w);
}

.about-content {
  width: 100%;
  height: 50vh;
  letter-spacing: 3px;
  align-items: center;
  display: flex;
  font-size: 1.3rem;
  align-items: center;
  position: relative;
}

.products-front {
  margin: 20px 0 0 0;
  display: flex;
  justify-content: right;
}

.products-title {
  writing-mode: vertical-rl;
  color: var(--color-w);
  transform: rotate(-180deg);
  padding: 20px;
  margin-top: -21px;
  width: 85px;
  background: var(--color-b);
}

.products-front div.woocommerce {
  width: calc(100% - 85px);
  padding: 0 30px;
}

.product_title {
  margin-top: 10px !important;
}

.products span.price {
  margin-top: -5px;
}


.industry-content {
  background: var(--color-b);
  padding: 50px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.industry-content span {
  font-size: 2rem;
  text-transform: uppercase;
  position: relative;
  color: var(--color-w);
}

.industry-content p {
  font-size: 1.2rem;
  position: relative;
  color: var(--color-w);
}

/* woocommerce */

.product div.entry-summary {
  display: flex;
  flex-wrap: wrap;
}

.price {
  width: 100%;
  color: var(--color);
  font-weight: bold;
  font-size: 2rem;
  text-align: right;
  margin: 0;
}

.product_meta {
  order: -1;
  text-align: right;
  width: 100%;
}

.sku_wrapper {
  width: 100%;
  display: block;
  color: var(--color);
}

.quantity {
  position: relative;
}

.quantity input {
  width: 45px;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 10px;
  border: 1px solid var(--color);
}

.quantity input:focus {
  outline: 0;
}

.woocommerce-tabs {
  display: inline-block;
  max-width: calc(50% - 50px);
}

.related.products {
  display: inline-block;
  width: 100%;
}

.woocommerce-loop-category__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce-loop-category__title mark {
  color: white;
  padding: 5px 10px;
  background: var(--color);
}

.product-category img {
  margin: 0 !important;
}

.wc-block-components-product-price {
  font-size: 1.2rem;
}

.elements-wrapper {
  width: 100%;
  text-align: center !important;
}

.wcps-items-thumb {
  border-radius: 8px;
  transition: .5s all ease;
}

li.woocommerce-order-overview__email.email {
    display: none;
}

li.woocommerce-order-overview__payment-method.method {
    display: none;
}

.wcps-items-thumb a {
  overflow: hidden;
}

.elements-wrapper img {
  height: 500px !important;
  transition: .5s all ease;
}

.elements-wrapper img:hover {
  transform: rotate(7deg) scale(1.2);
}

.product-category img:hover {
  opacity: 0.8;
}

.size-woocommerce_thumbnail {
  transition: .5s all ease;
  margin: 0 0 0 !important;
}

.size-woocommerce_thumbnail:hover {
  opacity: 0.8;
}

.product-type-simple .price {
  margin-top: -5px;
}

.wcps-items-title {
  font-size: 1.2rem;
  color: var(--color-b);
  text-transform: uppercase;
  padding: 10px;
  float: left;
  width: 75%;
}

.wcps-items-price {
  font-size: 1.2rem;
  color: var(--color);
  font-weight: bold;
  display: inline-block;
  padding: 10px;
  width: 25%;
  text-align: right !important;
}

.add_to_cart_inline {
  display: flex;
  justify-content: center;
}

.add_to_cart_inline a {
  display: block;
  background: var(--color);
  padding: 5px !important;
  text-transform: uppercase;
  border: 2px solid var(--color) !important;
  color: var(--color-w);
  margin-right: 5px;
}

/* products */

.products {
  margin: 20px 0;
}

.product img {
  border-radius: 7px;
}

.product-category img {
  border-radius: 7px;
  transition: .5s all ease;
}

ins {
  text-decoration: none;
}

.onsale {
  background-color: var(--color) !important;
}

.product_type_simple {
  display: block;
  background: var(--color);
  padding: 2px 5px !important;
  text-transform: uppercase;
  border: 2px solid var(--color) !important;
  color: var(--color-w);
  margin-right: 5px;
  font-size: 0.8rem;
}

.add_to_cart_button {
  float: right;
  position: relative;
  margin-top: -30px !important;
}

.shop_attributes {
  margin-top: 20px;
}

.shop_attributes th {
  width: auto !important;
  padding: 10px 30px !important;
  text-transform: uppercase;
}

.shop_attributes td {
  font-size: 1.1rem;
  padding: 0px 20px !important;
  text-align: center;
}

.woocommerce ul.products li.product a img {
    height: auto !important;
	margin: 0 !important;
    aspect-ratio: 1 / 1;
}

/* swiper */

.swiper-pagination {
    position: relative !important;  
    margin: 15px 0 20px 0 !important;  
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px  !important;  
    height: 30px  !important; 
	    color: white !important; 
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 19px  !important;
}

.swiper-pagination-bullet {
    width: 16px  !important;  
    height: 12px  !important; 
	border-radius: 10px !important;
}

.swiper-pagination-bullet-active {
    width: 16px  !important; 
      height: 12px  !important; 
	border-radius: 10px !important;
}

.products-slider h3 {
	text-align: center;
	margin: 10px auto 10px auto;
}

/* Для всех экранов */
.products-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: auto; /* По умолчанию */
}

/* Только для мобильных (до 576px) */
@media (max-width: 576px) {
    .products-swiper .swiper-slide {
        justify-content: center; /* Центрирование по вертикали */
        text-align: center; /* Центрирование текста */
    }
    
    .products-swiper .swiper-slide img {
		height: auto;
        width: 100%;
        margin: 0 auto 15px;
    }
}

/* Для экранов больше 576px */
@media (min-width: 577px) {
    .products-swiper .swiper-slide {
        width: auto; /* Адаптивная ширина */
    }
    
    .products-swiper .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
		height: 350px;
    }
}

.related.products h2 {
  margin-bottom: 20px;
}

.woocommerce ul.products li.product .button {
  margin-top: 0 !important;
  background: var(--color-b);
  color: var(--color-w);
  border: 2px solid var(--color-b) !important;
  padding: 5px 10px !important;
  font-size: 0.9rem;
  transition: .5s ease all;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--color-w);
  color: var(--color-b);
}

.single_add_to_cart_button.button.alt {
  background: var(--color-b) !important;
}

.wcgs-swiper-arrow {
  background: none !important;
  background-image: none;
}

.wc_payment_methods {
  display: none;
}

.woocommerce-checkout {
  font-size: 1.2rem;
}

.woocommerce-checkout input {
  height: 30px !important;
  font-size: 1.2rem;
}

.woocommerce-checkout textarea {
  font-size: 1.1rem;
  height: 6em !important;
}

.woocommerce-checkout img {
  width: 70px;
  height: 70px;
  margin-right: 15px;
}

.cart-subtotal {
  display: none;
}

p#billing_first_name_field {
  width: 100% !important;
}

div#payment {
    background: var(--color-w) !important;
    border: 2px solid var(--color-s) !important;
}

button#place_order {
  color: var(--color-w);
  background: var(--color-b);
}

.woocommerce-checkout-review-order-table td.product-name {
  display: flex;
  align-items: center;
  height: 70px !important;
  line-height: normal !important;
  padding: 0 !important;
}

th.product-total {
  display: none;
}

.woocommerce-order p {
  display: none;
}

.woocommerce-notice {
  display: block !important;
  font-size: 1.5rem;
}

.woocommerce ul.order_details {
  border: none;
}

li.woocommerce-order-overview__total.total {
  border: none !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  margin: 2em 0;
}

h2.woocommerce-order-details__title {
  margin-bottom: 0.5em;
}

section.woocommerce-customer-details {
  display: none;
}

.woocommerce-table--order-details tfoot {
  display: none;
}

/* menu */

nav {
  display: flex;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 100%;
}

nav a {
  color: var(--color);
}

.menu-top {
  width: 100vw;
  height: 50px;
  padding: 10px;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 999;
  background: var(--color-b);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-top img {
  width: 35px;
  height: 35px;
  margin: 0 auto;
}

.nav-title p {
  color: var(--color-w);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.menu {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}

.menu-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: 0.5s;
  transform: translate(-3000px);
}

.menu-block {
  position: absolute;
  align-items: center;
  top: 0;
  padding: 0 0 2em 2em;
  width: 100vw;
  height: 100vh;
  z-index: 10;
}

.menu-mobile li {
  text-align: left;
  font-size: 1.4rem;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-mobile a {
    color: var(--color-w);
    padding: 10px 5px;
    transition: 0.5s all;
    display: block;
}

.menu-mobile li a:hover {
  background: var(--color-l);
}

.sub-menu {
  max-height: 0;
  opacity: 0;
  left: 0;
  transition: all 1s;
}

.sub-menu.active-menu {
  background: var(--color);
  text-align: left;
  display: block;
  position: relative;
  top: 0;
  left: 20px;
  max-height: 1000px;
  opacity: 1;
  transition: all 1s;
}

.menu-next {
  margin-left: 10px;
  color: var(--color);
  cursor: pointer;
}

.menu {
  justify-content: left;
}

.menu ul {
  display: flex;
}

.menu li a {
  color: var(--color-w);
  font-weight: bold;
  font-size: 1.4rem;
  padding-right: 25px;
}

/* hamburger */

.hamb {
  display: none;
  width: 50px;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.5s;
  user-select: none;
  right: -20px;
  position: relative;
  top: 0;
}

.hamb~.menu-bg {
  background: var(--color-b);
  z-index: 1;
}

.hamb path {
  fill: none;
  stroke: var(--color-w);
  stroke-width: 6;
  stroke-linecap: round;
}

.hamb.active path {
  stroke: var(--color-w);
}

.hamb.active {
  transform: rotate(180deg);
}

.hamb .top {
  stroke-dasharray: 40 82;
}

.hamb .bottom {
  stroke-dasharray: 40 82;
}

.hamb.active .top {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}

.hamb.active .bottom {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}

/* breadcrumbs */

.breadcrumbs span {
  color: var(--color);
  margin: 0 15px;
}

.wpcf7-form {
  margin: 20px auto;
  font-family: Arial, sans-serif;
  padding: 30px;
  background: var(--color-w);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wpcf7-form p {
  margin-bottom: 25px;
  position: relative;
}

.wpcf7-form label {
  display: none;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 15px 12px;
  border: 1px solid var(--color-b);
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  background-color: var(--color-w);
}

/* Placeholder стили */
.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--color);
  font-size: 14px;
}

/* Стили при фокусе */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color);
  box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

.wpcf7-form p {
  margin-bottom: 25px;
  position: relative;
}

.wpcf7 {
  padding-right: 25px;
}

p.form-contacts {
  display: flex;
  margin: 0 -10px 25px -10px;
}

p.form-contacts>* {
  padding: 0 10px 0 10px;
}

.wpcf7-form input[type="submit"] {
  background-color: var(--color-s);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-weight: bold;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--color-s);
}

/* footer */

footer {
  background: var(--color-w);
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

footer>div {
  align-items: center;
  width: 100%;
}

.footer-info {
  height: fit-content;
}

footer h3 {
  text-transform: uppercase;
}

footer p {
  color: var(--color-b);
}

footer a {
  color: var(--color-b);
}

.footer-contacts li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-contacts i {
  font-size: 1.4rem;
  margin-right: 10px;
  color: var(--color);
}

footer img {
  z-index: 0;
  opacity: 0.4;
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.footer-info>div>div {
  margin-bottom: 15px;
}

.social {
  display: flex;
  justify-content: left;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 1.4rem;
  margin: 15px 5px 0 0;
  justify-content: center;
  align-items: center;
  background: var(--color);
  color: var(--color-w);
}

footer ul.products img {
  display: none !important;
}

footer ul.products mark {
  display: none !important;
}

footer ul.products li {
  margin: 0 !important;
  padding: 0 !important;
}

footer ul.products h2 {
  font-size: 1rem !important;
  padding: 0 0 5px 0 !important;
  font-weight: normal;
}

.industry-gallery {
    padding: 0 !important;
}

.industry-gallery video {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* mobile */

@media (max-width: 1400px) {
  .img-header1 {
    width: 80%;
    right: -20%;
  }

    .img-header2 {
        width: 130%;
        margin-top: -95%;
    }
}

@media (max-width: 1200px) {

  .img-header2 {
    margin-top: -150%;
    width: 150%;
  }

  .img-header1 {
    width: 110%;
    right: -10%;
  }

  .info-header {
    font-size: 1.6rem;
    max-width: 600px;
  }

  .elements-wrapper img {
    height: 400px !important;
  }
	
}

@media (max-width: 992px) {
  html {
    font-size: 16px;
  }

  header {
    height: auto;
    padding: 20px 0;
  }

  .elements-wrapper img {
    height: 200px !important;
  }

  .footer-img {
    padding: 0 100px !important;
  }

  .info-header {
    font-size: 1.5rem;
    max-width: 500px;
  }

  .wcps-items-title {
    text-align: center !important;
    width: 100%;
  }

  .wcps-items-price {
    text-align: center !important;
    width: 100%;
    padding: 0;
  }

  .site-title {
    font-size: 4rem;
  }

  .about-content {
    font-size: 1.2rem;
  }

  .industry-content p {
    font-size: 1.1rem;
  }

  .industry-content span {
    font-size: 1.8rem;
  }

  .nav-title p {
    font-size: 1rem;
  }

  .menu li a {
    font-size: 1rem;
  }

  .wpcf7 {
    padding-right: 0px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .menu {
    display: none;
  }

  .hamb {
    display: block;
  }

  h2 {
    font-size: 1.7rem;
  }

  .title-single {
    height: 400px;
    grid-template-columns: auto;
  }
	
	.info-header {
	    margin-left: 0;
}
	
  .title-single h1 {
    max-width: min-content;
  }

  .logo-header {
    display: none;
  }

  .woocommerce-tabs {
    max-width: 100%;
  }

  .woocommerce-loop-category__title {
    width: 100%;
  }

  .about-content {
    order: -1;
  }

  .footer-img {
    padding: 0 40px !important;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    padding: 12px 10px;
    font-size: 16px;
    /* Важно для iOS */
  }

  .wpcf7-form {
    padding: 20px;
  }
	
	.title-header {
    flex-wrap: wrap;
    justify-content: center;
}
	
	.background-header {
    width: 150px;
    height: auto;
    margin: 10px;
}
	.contact-header {
   display: none;
}
	
	    .site-title {
			    font-size: 2.5rem;
        padding-right: 0;
        text-align: center;
    }
	
	
	.info-header {
		        text-align: center;
	}
	
	
    .menu-top img {
        margin: 0;
    }
	
	.industry-gallery {
  padding: 0 !important;
}

.industry-gallery video {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover; /* можно убрать, если не нужен кроп */
}
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.8rem;
  }

.product_title {
    font-size: 2.3rem;
}

  .elements-wrapper img {
        height: auto !important;
  }

  .about-content {
    letter-spacing: 0px;
    height: auto;
  }

    .contact-header {
        width: 100%;
        justify-content: center;
    }
	
  .site-title {
    font-size: 2rem;
  }

  .info-header {
    font-size: 1.3rem;
  }

    .contact-header li {
        padding: 5px 10px;
    }

  .woocommerce li.product {
    width: 100% !important;
  }

  .nav-title p {
    font-size: 0.8rem;
  }
	
	p.form-contacts {
    display: block;
}

	
	p.form-contacts > * {
    margin-bottom: 20px;
}

  .hamb {
    right: 0px;
  }

  .woocommerce-checkout {
    font-size: 1.1rem;
  }

  .woocommerce-checkout-review-order-table td.product-name {
    height: 50px !important;
  }

  .woocommerce-checkout img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
}