@charset "UTF-8";

/*
Theme Name: Twenty Twenty-One
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 5.6
Version: 2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog, portfolio

Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.
*/

/**
 * SETTINGS
 * File-header..........The file header for the themes style.css file.
 * Fonts................Any font files, if the project needs specific fonts.
 * Global...............Project-specific, globally available variables.
 *
 * TOOLS
 * Functions............Global functions.
 * Mixins...............Global mixins.
 *
 * GENERIC
 * Normalize.css........Normalise browser defaults.
 * Breakpoints..........Mixins and variables for responsive styles
 * Vertical-margins.....Vertical spacing for the main components.
 * Reset................Reset specific elements to make them easier to style in other contexts.
 * Clearings............Clearings for the main components.
 *
 * ELEMENTS
 * Blockquote...........Default blockquote.
 * Forms................Element-level form styling.
 * Headings.............H1–H6
 * Links................Default links.
 * Lists................Default lists.
 * Media................Images, Figure, Figcaption, Embed, iFrame, Objects, Video.
 *
 * BLOCKS
 * Audio................Specific styles for the audio block.
 * Button...............Specific styles for the button block.
 * Code.................Specific styles for the code block.
 * Columns..............Specific styles for the columns block.
 * Cover................Specific styles for the cover block.
 * File.................Specific styles for the file block.
 * Gallery..............Specific styles for the gallery block.
 * Group................Specific styles for the group block.
 * Heading..............Specific styles for the heading block.
 * Image................Specific styles for the image block.
 * Latest comments......Specific styles for the latest comments block.
 * Latest posts.........Specific styles for the latest posts block.
 * Legacy...............Specific styles for the legacy gallery.
 * List.................Specific styles for the list block.
 * Media text...........Specific styles for the media and text block.
 * Navigation...........Specific styles for the navigation block.
 * Paragraph............Specific styles for the paragraph block.
 * Pullquote............Specific styles for the pullquote block.
 * Quote................Specific styles for the quote block.
 * Search...............Specific styles for the search block.
 * Separator............Specific styles for the separator block.
 * Table................Specific styles for the table block.
 * Verse................Specific styles for the verse block.
 * Video................Specific styles for the video block.
 * Utilities............Block alignments.
 *
 * COMPONENTS
 * Header...............Header styles.
 * Footer...............Footer styles.
 * Comments.............Comment styles.
 * Archives.............Archive styles.
 * 404..................404 styles.
 * Search...............Search styles.
 * Navigation...........Navigation styles.
 * Footer Navigation....Footer Navigation styles.
 * Pagination...........Pagination styles.
 * Single...............Single page and post styles.
 * Posts and pages......Misc, sticky post styles.
 * Entry................Entry, author biography.
 * Widget...............Widget styles.
 * Editor...............Editor styles.
 *
 * UTILITIES
 * A11y.................Screen reader text, prefers reduced motion etc.
 * Color Palette........Classes for the color palette colors.
 * Editor Font Sizes....Editor Font Sizes.
 * Measure..............The width of a line of text, in characters.
 */

/* Categories 01 to 03 are the basics. */

/* Variables */

:root {
  --font-size-14: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  /*14px*/
  --font-size-main: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  /*16px*/
  --font-size-18: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
  /*18px*/
  --font-size-20: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  /*20px*/
  --font-size-22: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
  /*22px*/
  --font-size-24: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  /*24px*/
  --font-size-26: clamp(1.125rem, 0.943rem + 0.91vw, 1.625rem);
  /*26px*/
  --font-size-28: clamp(1.125rem, 0.898rem + 1.14vw, 1.75rem);
  /*28px*/
  --font-size-30: clamp(1.5rem, 1.364rem + 0.68vw, 1.875rem);
  /*30px*/
  --font-size-32: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
  /*32px*/
  --font-size-34: clamp(1.5rem, 1.273rem + 1.14vw, 2.125rem);
  /*34px*/
  --font-size-36: clamp(1.625rem, 1.398rem + 1.14vw, 2.25rem);
  /*36px*/
  --font-size-38: clamp(1.625rem, 1.352rem + 1.36vw, 2.375rem);
  /*38px*/
  --font-size-40: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
  /*40px*/
  --font-size-42: clamp(2rem, 1.773rem + 1.14vw, 2.625rem);
  /*42px*/
  --font-size-44: clamp(2rem, 1.727rem + 1.36vw, 2.75rem);
  /*44px*/
  --font-size-46: clamp(2.125rem, 1.852rem + 1.36vw, 2.875rem);
  /*46px*/
  --font-size-48: clamp(2.25rem, 1.977rem + 1.36vw, 3rem);
  /*48px*/
  --font-family-main: "Oswald", sans-serif;
  --font-family-second: 'GeorgiaPro', serif;
  --color-main: #000000;
  --border-radius-main: 30px;
  --trans-all: ease all .3s;
  --margin-top-clamp: clamp(50px, calc(50px + 50 * ((100vw - 320px) / 880)), 100px);
  --container-width: 1520px;
  --container-padding: 15px;
  /* Admin-bar height */
  --global--admin-bar--height: 0px;
}

html {
  height: 100%;
}

body {
  font-family: var(--font-family-main);
  height: 100%;
  color: var(--main-color);
  font-size: var(--font-size-main);
  line-height: 1.5;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: var(--font-size-42);
  font-family: var(--font-family-main);
  font-weight: 700;
  margin-bottom: 40px;
  margin-top: 0;
  text-align: center;
}

.site {
  height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

.admin-bar {
  --global--admin-bar--height: 32px;
}

.site-header,
.site-footer {
  width: 100%;
}

.site-footer {
  margin-top: auto;
}

svg {
  display: block;
}

input,
textarea {
  font-family: var(--font-family-main);
}

.entry-content ul,
.entry-content ol {
  padding-inline-start: 20px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 0;
  margin-bottom: 20px;
}

@media only screen and (max-width: 782px) {
  .admin-bar {
    --global--admin-bar--height: 46px;
  }
}

.clear {
  clear: both;
}

.section-margin {
  margin-top: var(--margin-top-clamp);
}

.swiper-initialized {
  overflow: hidden;
}

/* если нужно задать стили элементам содержащие часть класса _section в целом*/
/* [class*="_section"] {
  padding: var(--margin-top-clamp);
} */

/* если нужно задать стили элементам содержащие часть класса _section в начале*/
/* [class^="_section"] {
	padding: var(--margin-top-clamp);
} */

/* если нужно задать стили элементам содержащие часть класса _section в конце*/
/* [class$="_section"] {
	padding: var(--margin-top-clamp);
} */


/* Тут крч смысл в чем, чтобы получалась та ширина, что нужна по макету, но при этом был пуддинг */
.container {
  width: 100%;
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  padding: 0 var(--container-padding);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}


.btn-main {
  cursor: pointer;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--border-radius-main);
  font-weight: 600;
  font-size: 18px;
  background: var(--color-main);
  padding: 10px 40px;
  min-height: 50px;
  color: #fff;
  transition: var(--trans-all);
}

.btn-main:hover {
  background: #403f3d;
}


.btn-secondary {
  cursor: pointer;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  font-weight: 500;
  font-size: 18px;
  padding-left: 30px;
  padding-right: 30px;
  min-height: 40px;
  color: #333;
  transition: all 0.3s ease;
  border-bottom: 2px solid #333;
  padding: 10px 40px;
}

.btn-secondary:hover {
  color: #f6b600;
  background: transparent;
  border-bottom: 2px solid transparent;
}

.btn-center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.link-underline {
  text-decoration: underline;
}

.link-underline:hover {
  text-decoration: none;
}

.link-hov {
  text-decoration: none;
}

.link-hov:hover {
  text-decoration: underline;
}

/* HEADER TOLBAR */
.header-toolbar {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.numbers-wrapper {
  display: flex;
  flex-flow: column;
  gap: 5px;
  font-weight: 700;
}

.mail-link {
  font-weight: 700;
}

@media (max-width: 1200px) {
  .header-toolbar {
    flex-flow: column;
  }
}

/* HEADER NAVIGATION */
.site-name {
  width: max-content;
}

.header-navigation-inner {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid #333;
}

.header-toolbar .site-logo img {
  width: 84px;
  height: 78px;
}

.menu-wrapper li a {
  font-weight: 500;
  text-transform: uppercase;
  font-family: var(--font-family-second);
}

.menu-wrapper li:hover>a {
  font-weight: 600;
  text-decoration: underline;
}

.sub-menu {
  list-style: none;
  position: relative;
}

#site-navigation {
  width: 100%;
}

.primary-menu-container {
  width: 100%;
}

.menu-wrapper {
  list-style-type: none;
  /* display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px; */
  display: grid;
  grid-template-columns: .8fr .01fr 1fr .01fr 1.6fr .01fr 1fr .01fr 1fr .01fr 1fr .01fr .8fr;
  gap: 5px;
  position: relative;
  width: 100%;
}

.menu-wrapper li {
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 18px;
}

/* .menu-wrapper li {
  flex: 1;
} */

.menu-wrapper>li:not(:first-child) {
  text-align: center;
}

.menu-wrapper span {
  position: relative;
}

#site-navigation .menu-wrapper>span:after {
  content: "";
  position: absolute;
  background: #333;
  right: 0;
  top: 40%;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

@media (min-width: 1200px) {
  #site-navigation .sub-menu-wrapper {
    padding: 10px;
    background: white;
    min-width: 240px;
    border: 1px Solid #e1e1e1;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
    display: none;
  }

  #site-navigation li:hover>.sub-menu-wrapper {
    display: block;
  }

  #site-navigation .sub-menu-wrapper li .sub-menu-wrapper {
    left: 100%;
    top: 0;
    top: -11px;
  }
}

/* 
#site-navigation .menu-item:first-child:after {
  left: 50%;
} */

.menu-button-container {
  display: none;
}

.sub-menu-toggle {
  display: none;
}

.sub-menu-toggle .icon-minus {
  display: none;
}

.sub-menu-toggle[aria-expanded="true"] .icon-minus {
  display: block;
}

.sub-menu-toggle[aria-expanded="true"] .icon-plus {
  display: none;
}

.menu-item-has-children {
  display: flex;
  flex-flow: wrap;
  align-items: center;
}

.submenu-wrapper {
  position: absolute;
  padding: 18px 20px;
  background-color: #fff;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, .2);
  display: none;
  flex-flow: column;
  gap: 10px;
  top: 30px;
  width: 100%;
}

.submenu-wrapper:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: -20px;
  border: solid transparent;
  border-width: 10px;
  left: 50%;
  transform: translate(-50%, 0%);
  border-bottom-color: #fff;
}

.menu-item-has-children .sub-menu-toggle[aria-expanded="true"]+.submenu-wrapper {
  display: block;
}

/* .sub-menu li a {
  text-transform: none;
} */

@media only screen and (max-width: 1200px) {
  .header-navigation-inner {
    justify-content: flex-end;
    overflow-anchor: none;
  }

  .menu-button-container {
    display: block;
    text-align: right;
    position: relative;
    z-index: 99;
  }

  .mobile-btn {
    width: 40px;
    height: 40px;
  }

  .mobile-btn svg {
    width: 100%;
    height: 100%;
  }

  .mobile-btn[aria-expanded="false"] .dropdown-icon.close {
    display: none;
  }

  .mobile-btn[aria-expanded="true"] .dropdown-icon.open {
    display: none;
  }

  .menu-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
    overflow: hidden;
  }

  .header-nav-inner {
    position: relative;
  }

  .header-address {
    text-align: center;
  }

  .menu-item-has-children {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sub-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    vertical-align: sub;
  }

  /* .sub-menu-toggle span {
    width: 100%;
    height: 100%;
  } */

  .sub-menu-toggle svg {
    width: 100%;
    height: 100%;
  }

  .submenu-wrapper {
    background: #fff;
    z-index: 99;
    position: static;
    box-shadow: unset;
  }

  .submenu-wrapper:before {
    display: none;
  }

  .admin-bar #site-navigation {
    top: initial;
  }

  .site-header #site-navigation {
    transition: all 0.15s ease-in-out;
    height: max-content;
    z-index: 499;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-header .primary-menu-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: var(--trans-all);
  }

  .primary-navigation-open .site-header .primary-menu-container {
    grid-template-rows: 1fr;
  }

  .admin-bar #site-navigation {
    top: var(--global--admin-bar--height);
  }

  .menu-wrapper .sub-menu-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: var(--trans-all);
    opacity: 0;
    visibility: hidden;
  }

  .menu-wrapper .sub-menu-wrapper .sub-menu {
    overflow: hidden;
  }

  .sub-menu-toggle[aria-expanded="true"]+.sub-menu-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
  }
}


/* FOOTER ФУТЕР */

.footer-top {
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-top {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-family-second);
}

.footer-bottom {
  background: var(--color-main);
  color: #fff;
}

.footer-navigation-wrapper {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  list-style: none;
}

.footer-contact-block {
  display: flex;
  flex-flow: column;
  gap: 5px;
}

.social-block {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

.footer-bottom-inner {
  font-family: var(--font-family-second);
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.privacy-block {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  max-width: 550px;
}

/* HERO SECTION */
.hero-section * {
  color: #fff;
  margin-bottom: 0;
}

.hero-section {
  background: url('/wp-content/uploads/main/hero-back.webp') no-repeat;
  background-size: cover;
  position: relative;
}

.hero-image {
  position: absolute;
  left: 0;
  bottom: 0;
}

.hero-image img {
  width: 100%;
}

.hero-inner {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  justify-content: space-between;
  padding-top: 150px;
  padding-bottom: 150px;
}

.hero-left {
  display: flex;
  flex-flow: column;
}

.hero-titlte {
  font-size: var(--font-size-38);
  font-weight: 400;
  text-transform: uppercase;
}

.hero-subtitle {
  font-weight: 400;
  font-size: var(--font-size-24);
  text-transform: uppercase;
}

.btn-hero {
  margin-top: 60px;
}

.hero-right {
  display: flex;
  flex-flow: column;
  gap: 30px;
}

.hero-right-text {
  font-size: var(--font-size-20);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hero-right-text:after {
  content: '';
  display: block;
  width: 10px;
  height: 9px;
  background: url('/wp-content/uploads/main/hero-dot.webp') no-repeat;
  background-size: cover;
}

@media (max-width: 1200px) {
  .hero-inner {
    text-align: center;
    justify-content: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-right {
    align-items: center;
  }
}

/* PRODUCTS CATEGORIES */
.products-categories-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.product-category {
  list-style: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  max-height: 280px;
  transition: var(--trans-all);
}

.product-category a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  transition: var(--trans-all);
}

.product-category a:before {
  content: '';
  background: rgba(0, 0, 0, .5);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  transition: var(--trans-all);
}

.product-category:hover a:before {
  opacity: 0;
}

.product-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-loop-category__title {
  font-size: var(--font-size-22);
  color: #fff;
  position: absolute;
  text-align: center;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 99;
}

/* PRODUCTS TABS */
.products-tabs {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
}

.products-tabs-nav {
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  gap: 20px;
}

.mobile_nav {
  display: none;
  width: 100%;
}

.products-tab-btn {
  font-size: 18px;
  font-weight: 300;
  color: rgb(0 0 0 / 60%);
  border: unset;
  padding: 0;
}

.products-tab-btn.active,
.products-tab-btn:hover {
  text-decoration: underline;
  color: rgb(0 0 0 / 100%);
}

.products-tabs-content-wrapper {
  display: flex;
}

.products-tabs-content {
  margin-top: 50px;
}

.products-tab-content-inner {
  display: none;
}

.products-tab-content-inner.active {
  display: block;
}

.products-tabs-section .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(370px, 100%), 1fr));
  gap: 20px;
}

.products-pagination {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 1200px) {
  .products-tabs-nav {
    display: none;
  }

  .mobile_nav {
    display: block;
  }
}

/* STOCKS BLOCK */
.stocks-wrapper {
  background: url('/wp-content/uploads/main/stocks-back.webp') no-repeat;
  background-size: cover;
}

.stocks-inner {
  padding: 50px;
}

.stocks-title {
  color: #fff;
  font-size: var(--font-size-30);
  text-align: left;
}

.stocks-subtitle {
  color: #ffffff;
  font-size: 18px;
}

.btn-stocks {
  margin-top: 50px;
}

.stocks-link {
  position: absolute;
  inset: 0;
}

/* CALL ZAMER BLOCK */
.call-zamer-wrapper {
  background: url('/wp-content/uploads/main/zamer-back.webp') no-repeat;
  background-size: cover;
  color: #fff;
}

.call-zamer-inner {
  padding: 50px;
  padding-bottom: 200px;
}

.call-zamer-title {
  text-align: center;
  color: #fff;
}

.zamer-list {
  font-size: 18px;
  line-height: 2;
}

.btn-zamer {
  margin-top: 50px;
}

.call-zamer-pic {
  position: absolute;
  right: 0;
  bottom: 0;
}

.call-zamer-pic img {
  width: 100%;
}

@media (max-width: 1200px) {
  .call-zamer-inner {
    padding: 25px;
  }

  .call-zamer-pic {
    max-width: 30vw;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
}

/* WHY US SLIDER */
.why-us-slide-inner {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.why-us-inner .why-us-slide {
  display: flex;
  flex-flow: column;
  gap: 30px;
}

.why-us-slide-item {
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
}

.why-us-slide-item img {
  width: 100%;
}

.why-us-slide-item.right {
  max-width: 25%;
}

.why-us-slide-title {
  font-size: 24px;
}

.why-us-slide-subtitle {
  font-size: 18px;
}

.why-us-slide-item.right img {
  width: max-content;
}

.why-us-slide-line {
  display: flex;
  align-items: center;
  margin-left: -20%;
  z-index: 1;
}

.line {
  width: 265px;
  height: 2px;
  background: #000000;
}

.square {
  background: #000000;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transform: rotate(45deg);
}

.why-us-slide-inner.reverse {
  flex-flow: row-reverse wrap;
}

.why-us-slide-inner.reverse .why-us-slide-line {
  margin-right: -30%;
  flex-flow: row-reverse wrap;
}

.why-us-pagination {
  position: static !important;
  margin-top: 20px;
  margin-bottom: 20px;
}

.why-us-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
}

.why-us-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,
.why-us-pagination .swiper-pagination-bullet:hover {
  background: #000000;
  opacity: 1;
}

.btn-why-us {
  margin: auto;
}

@media (max-width: 1200px) {
  .why-us-slide-inner {
    flex-flow: column;
  }

  .why-us-slide-inner.reverse {
    flex-flow: column;
  }

  .why-us-slide-item.right {
    max-width: 100%;
  }

  .why-us-slide-line {
    margin-left: 0;
    flex-flow: column;
    display: none;
  }

  .line {
    height: 165px;
    width: 2px;
  }
}

/* WORK BEST */
.work-best-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  position: relative;
}

.work-best-item {
  position: relative;
}

.work-best-item:not(:has(img)) {
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 50px;
}

.work-best-item img {
  width: 100%;
  object-fit: cover;
}

.work-best-item-title {
  font-size: 20px;
  font-weight: 700;
}

.work-best-square {
  position: absolute;
  transform: rotate(45deg);
  background-color: #ffffff;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  top: 40%;
  right: -25px;
  width: 53px;
  height: 53px;
  z-index: 1;
}

.work-best-inner .work-best-item:nth-child(n+6) .work-best-square {
  right: unset;
  left: -25px;
}

@media (max-width: 1200px) {
  .work-best-item:not(:has(img)) {
    padding: 25px 0;
  }

  .work-best-square {
    display: none;
  }
}

/* STEPS BLOCK */
.etaps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr .6fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 25px;
  position: relative;
}

.qqqqqqqqetaps:before {
  content: "";
  position: absolute;
  background: #000;
  width: 82%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}

.etap {
  min-height: 400px;
  color: #000;
  position: relative;
}

.etap:nth-child(odd) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.etap:before {
  position: absolute;
  background: #000;
  color: #fff;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: block;
  width: 38px;
  height: 38px;
  text-align: center;
  border-radius: 50%;
  outline: 1px solid #000;
  outline-offset: 2px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  z-index: 1;
}

.etap:nth-child(1):before {
  content: "1";
}

.etap:nth-child(2):before {
  content: "2";
}

.etap:nth-child(3):before {
  content: "3";
}

.etap:nth-child(4):before {
  content: "4";
}

.etap:nth-child(5):before {
  content: "5";
}

.etap:after {
  content: "";
  position: absolute;
  background: #000;
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
  z-index: 0;
}

.etap:nth-child(5):after {
  display: none;
}

.etap div {
  height: 85px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.etap div:before {
  content: "";
  position: absolute;
  border-right: 1px solid #000;
  left: 0;
  top: -65px;
  display: block;
  width: 0;
  height: 60px;
}

.etap:nth-child(even) div:before {
  top: auto;
  bottom: -70px;
  height: 55px;
}

.etap div:after {
  content: "";
  position: absolute;
  background: #000;
  left: -7px;
  top: -65px;
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(45deg) translate(0%, -50%);
}

.etap:nth-child(even) div:after {
  top: auto;
  bottom: -75px;
}

.etap a {
  color: #000;
  text-decoration: underline;
}

.etap a:hover {
  color: #000;
  text-decoration: none;
}

.etap span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}

.etap p {
  font-weight: 300;
  margin: 0;
  padding: 0;
}


@media screen and (max-width: 1200px) {
  .etaps {
    display: flex;
    flex-direction: column;
    align-items: start;
    grid-row-gap: 80px;
    width: 80%;
    margin: 80px auto 0 auto;
  }

  .etap {
    min-height: auto;
  }

  .etap:before {
    top: -40px;
    left: 0;
    transform: translate(-50%, 0%);
  }

  .etap:after {
    content: "";
    position: absolute;
    background: #000;
    width: 1px;
    height: auto;
    top: -15px;
    left: 0;
    bottom: -35px;
    transform: translate(0%, 0%);
    z-index: 0;
  }

  .etap div {
    padding: 0 0 0 20px;
  }

  .etap div:before {
    content: "";
    position: absolute;
    left: 0;
    top: -20px;
    display: block;
    width: 80px;
    height: 0px;
    border-right: 0;
    border-top: 1px solid #000;
  }

  .etap:nth-child(even) div:before {
    top: -20px;
    bottom: auto;
    height: 0;
  }

  .etap div:after {
    content: "";
    position: absolute;
    background: #000;
    left: 70px;
    top: -20px;
    display: block;
    width: 8px;
    height: 8px;
    transform: rotate(45deg) translate(0%, -50%);
  }

  .etap:nth-child(even) div:after {
    top: -20px;
    bottom: auto;
  }
}

/* INFO BLOCK */
.info-block-image img {
  width: 100%;
}

.info-block-image {
  max-width: 228px;
}

.info-block-inner {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.info-block-text {
  flex: 1;
}

@media (max-width: 1200px) {
  .info-block-text {
    flex: auto;
  }
}

/* PROJECTS BLOCK */
.projects-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  gap: 50px;
}

.projects-item {
  position: relative;
  display: flex;
  flex-flow: column;
  transition: var(--trans-all);
  max-height: 490px;
  overflow: hidden;
}

.projects-link {
  transition: var(--trans-all);
  height: 100%;
}

.projects-item:hover .projects-link {
  filter: brightness(0.3);
}

.projects-item-info {
  position: absolute;
  font-size: 18px;
  color: #fff;
  top: 50%;
  left: 50%;
  text-align: center;
  opacity: 0;
  transition: var(--trans-all);
  transform: translate(-50%, 0);
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.projects-item:hover .projects-item-info {
  opacity: 1;
}

.btn-projects {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .projects-item-info {
    opacity: 1;
  }

  .projects-item .projects-link {
    filter: brightness(0.3);
  }
}

/* TERMS BLOCK */
.terms-works-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

.term-works-item {
  position: relative;
  overflow: hidden;
}

.terms-works-image {
  transition: all linear 1s;
  height: 100%
}

.term-works-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all linear 0.4s;
}

.terms-works-info {
  display: flex;
  flex-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 30px;
  padding-right: 30px;
  transition: all linear 0.4s;
  text-align: center;
  transform: translate(00px, 100%);
  background: rgba(255, 255, 255, 0.3);
}


.terms-works-image img {
  width: 100%;
  height: 100%;
}

.terms-works-info-title {
  font-size: 18px;
  font-weight: 500;
}

.term-works-item:hover .terms-works-info {
  transform: translate(0px, 0px);
}

.term-works-item:hover:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
}

.qr-image {
  text-align: center;
}

.qr-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  /* max-height: 60%; */
}

.term-works-link {
  position: absolute;
  inset: 0;
}

/* QUESTIONS BLOCK */
.question-inner {
  display: flex;
  flex-flow: wrap;
  gap: 60px;
  padding: 100px 0px;
}

.question-left-block {
  display: flex;
  flex-flow: column;
  gap: 35px;
  flex-basis: 370px;
}

.question-link {
  color: var(--background-color);
}

.question-right-block {
  display: flex;
  flex-flow: column;
  flex: 1;
}

.accordion {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.accordion-content {
  transition: all linear .3s;
  display: grid;
  grid-template-rows: 0fr;

}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
  padding: 10px 0 10px 20px;
  border: 1px solid #000;
  border-radius: 30px;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-header {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 12px 20px;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  background: #000;
  border-radius: 30px;
  border-top: 1px solid #eee;
  color: #fff;
}

.accordion-item.active .accordion-header {
  background: #fff;
  color: #000;
}

.accordion-header p {
  flex: 1;
}

.accordion-icon {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #000;
  background-image: url("data:image/svg+xml, %3Csvg width='15' height='14' viewBox='0 0 15 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4458 6.04245H8.2907V0H6.2059V6.04245H0.0507812V7.99057H6.2059V14H8.2907V7.99057H14.4458V6.04245Z' fill='white' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all linear .2s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* REVIEWS BLOCK */
.reviews-subtitle {
  text-align: center;
  margin-top: 30px;
}

.reviews-inner {
  margin-top: 30px;
}

.reviews-wrapper .reviews-slide {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.reviews-image {
  flex: 1;
  overflow: hidden;
}

.reviews-image img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.reviews-text-wrapper {
  flex: 1;
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.reviews-nav-wrapper {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  top: 60%;
  width: 99%;
}

.custom-nav-wrapper .swiper-button-next,
.custom-nav-wrapper .swiper-button-prev {
  color: var(--color-main);
  position: static;
  height: auto;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 1);
  margin-top: 0;
}

.custom-nav-wrapper .swiper-button-next:after,
.custom-nav-wrapper .swiper-button-prev:after {
  font-size: 20px;
}

.reviews-text {
  font-weight: 300
}

.reviews-author {
  font-weight: 700;
}

.reviews-description {
  font-weight: 300;
}

@media (max-width: 1200px) {

  .reviews-image,
  .reviews-text-wrapper {
    flex: auto;
  }

  .reviews-nav-wrapper {
    width: 90%;
  }
}

/* PORTFOLIO BLOCK */
.portfolio-section {
  overflow: hidden;
}

.portfolio-inner {
  overflow: visible;
}

.portfolio-inner .portfolio-slide {
  display: flex;
  flex-flow: column;
  height: auto;
}

.portfolio-image {
  height: 100%;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
}

.portfolio-info {
  background-color: rgba(0, 0, 0, 0.50);
  padding: 20px;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 10px;
  transition: all linear 0.5s;
}

.portfolio-slide:hover .portfolio-info {
  opacity: 0;
}

.portfolio-info-title {
  font-size: 20px;
}

.portfolio-nav-wrapper {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  top: 60%;
  width: 100%;
}

@media (max-width: 1200px) {
  .portfolio-nav-wrapper {
    width: 90%;
  }
}

/* CATALOG SHOP */
.site-main .woocommerce-breadcrumb {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.woocommerce .content-area {
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--container-padding);
}

.product .product_title {
  font-size: 20px;
}

ul.products li.product .button,
.summary .single_add_to_cart_button {
  background-color: #ff4a4a;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  max-width: max-content;
  border: 1px solid #ff4a4a;
  transition: all linear .2s;
}

.extra-category-description,
.term-description {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* PRODUCT CARD */
.summary .cart {
  display: flex;
  flex-flow: wrap;
  align-items: center;
}

.summary .product_title.entry-title {
  text-align: left;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
}

.summary .price {
  font-size: 20px;
  font-weight: 600;
}

.single-product div.product .product_meta {
  margin-top: 0px;
  color: #777;
}

.product_meta .posted_in {
  display: none;
}

.woocommerce-tabs .panel h2 {
  text-align: left;
}

.woocommerce-product-details__short-description p {
  margin-bottom: 20px;
}

.onsale {
  font-size: 16px;
  font-weight: 400;
  height: 50px;
  text-align: center;
  border-radius: 50px;
  padding: 0 10px;
  text-transform: uppercase;
  right: 10px;
  background-color: #ff4a4a;
  top: 10px;
}

.single-product .type-product.sale>.onsale {
  right: calc(35% - .7rem);
  top: 45px;
}

.woocommerce-product-details__short-description {
  font-weight: 300;
}

/* ADVANTAGES CATEGORY */
.advantages-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 20px;
}

.advantages-item {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.advantages-item.border-item {
  border-right: 9px solid #d1d1d1;
}

.advantages-item-title {
  font-size: var(--font-size-24);
  font-weight: 600;
}

.btn-advantages {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .advantages-item.border-item {
    border-right: 0;
    border-bottom: 9px solid #d1d1d1;
  }
}

/* OZON BLOCK */
.ozon-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(600px, 100%), 1fr));
  gap: 20px;
}

.ozone-item-text {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #eeeeee;
  border-radius: 0px 50px 50px 0px;
  padding: 50px;
}

.ozon-image img {
  width: 100%;
}

.ozon-item-title {
  font-size: var(--font-size-40);
  font-weight: 600;
}

.ozon-item-text {
  font-size: var(--font-size-30);
}

.ozon-link {
  position: absolute;
  inset: 0;
}

/* PORTFOLIO PAGE */
.portfolio-inner-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(650px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.portfolio-item {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.portfolio-item-text {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.portfolio-link {
  max-width: 380px;
}

.portfolio-link img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .portfolio-link {
    max-width: 100%;
    width: 100%;
  }

  .portfolio-item-text {
    flex: auto;
  }
}

/* REVIEWS INNER PAGE */
.reviews-inner-page {
  margin-top: 50px;
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.reviews-inner-item {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.reviews-inner-page .reviews-image {
  flex: auto;
  max-width: 380px;
}

@media (max-width: 1200px) {
  .reviews-inner-page .reviews-image {
    max-width: 100%;
  }
}

/* CONTACTS INNER PAGE */
.contacts-inner-page {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  justify-content: space-between;
}

.contacts-left {
  font-size: 18px;
}

.contacts-right {
  max-width: 1000px;
  width: 100%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.woocommerce .woocommerce-cart-form,
.woocommerce .cart-collaterals, 
.woocommerce-page .cart-collaterals {
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
}
.woocommerce .woocommerce-cart-form .shop_table_responsive {
  width: 100%;
}
.woocommerce .cart-collaterals .cart_totals, 
.woocommerce-page .cart-collaterals .cart_totals {
  width: 100%;
}
.woocommerce table.shop_table tbody tr, .woocommerce-page table.shop_table tbody tr {
  font-size: 18px;
  line-height: 1.25;
}
.woocommerce .return-to-shop a.button, 
.woocommerce .wc-proceed-to-checkout a.button {
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  height: 60px;
  text-decoration: none !important;
}
.woocommerce .return-to-shop a.button:hover,
.woocommerce .wc-proceed-to-checkout a.button:hover {
  background: #403f3d;
}
.woocommerce .return-to-shop a.button br, 
.woocommerce .wc-proceed-to-checkout a.button br {
  display: none;
}
.recommended-product-item a.button,
.custom-submit-btn {
  background-color: #000 !important;
  text-decoration: none !important;
}
.recommended-product-item a.button:hover,
.custom-submit-btn:hover {
  background: #403f3d !important;
}
.woocommerce table.shop_table .product-quantity br {
  display: none;
}
.woocommerce table.shop_table .product-name {
  text-align: left;
}
.custom-checkbox input[type="checkbox"] {
  width: fit-content;
  flex: none;
  margin: 0;
}
.checkout-product-image img {
  display: block;
  width: 100px !important;
  height: 100px !important;
}
.woocommerce-checkout #main .woocommerce {
  padding: 0;
  max-width: 1550px;
}
.custom-checkout-wrapper {
  padding: 0 !important;
}
.custom-checkout-form input:focus, 
.custom-checkout-form textarea:focus {
    border-color: #000 !important;
}
.woocommerce .recommended-products-block {
  margin-top: 100px;
}
h1.page-title-error {
        font-weight: 300;
        color: #000000;
        padding-top: 130px;
        padding-bottom: 40px;
        font-size: 30px;
}
 

.error-404 a{
    font-size: 16px;
    padding: 17px;
    border: 3px solid #000000;
    border-radius: 20px;
    margin: 0 auto;
    padding: 20px 60px;
    font-weight: 700;
}

.error-404.not-found.default-max-width {}

.error-404.not-found.default-max-width {
    margin-bottom: 130px;
}
