/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*----------CSS Variables for new layout blocks---------*/
:root {
  /* === Fonts === */
  --font-main: 'TildaSans', sans-serif;

  /* === Base Colors === */
  --black: #000000;
  --white: #ffffff;
  --green: #0A6E6D;
  --brown: #270000;
  --yellow: #FDB93D;
  --grey: #D7D3CD;

  /* === Background Colors === */
  --milk: #F6F3EC;
  --red: #9C1717;
  --black-red: #801515;

  /* === Gradient Colors === */
  --yellow-gradient: linear-gradient(180deg, rgba(252, 165, 3, 1), rgba(251, 210, 133, 1) 100%);

  /* === Shadows === */
  --shadow: 0px 0px 23px 0px rgba(61, 61, 61, 0.295);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

img {
  max-width: 100%;
}

span, label {
  display: inline-block;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  font-style: normal;
  font-display: swap;
  background-color: #F6F3EC; /* Бежевый фон по бокам */
  background-image: url("../img/new-layout/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 70px;
}
@media (max-width: 680px) {
  body {
    /*padding-top: 95px;*/ /* Увеличен отступ для мобильного хедера */
  }
}

input, textarea {
  outline: none;
  border: 0;
  background: transparent;
}

button {
  border: none;
  cursor: pointer;
  background: transparent;
  outline: 0;
}

address {
  font-style: normal;
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

ul, ol, dl {
  list-style: none;
  padding: 0;
  margin: 0;
}

p, h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.main_in {
  max-width: 1000px;
  margin: auto;
  background: #F6F3EC; /* Бежевый фон вместо белого */
}

/* Фикс для мобильных устройств - контент не должен заезжать под хедер */
@media (max-width: 680px) {
  .main_in {
    margin-top: 5px; /* Дополнительный отступ от хедера на мобильных */
  }
}

.header {
  background: #4a372f url("../img/head-menu-bg.jpg") repeat-x 50% 0;
  position: fixed;
  background-size: auto 130px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  gap: 24px;
  width: 100%;
}
@media (max-width: 680px) {
  .header {
    /* Сдвигаем фон вниз чтобы пунктирная линия была ниже элементов */
   /*background-position: 50% 100%;*/
  }
  .header .container {
    padding: 10px 12px; /* Уменьшаем верхний padding */
  }
}
.header_left {
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1024px) {
  .header_left {
    gap: 12px;
  }
}
@media (max-width: 680px) {
  .header_left {
    display: none;
  }
}
.header_right {
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1024px) {
  .header_right {
    gap: 12px;
  }
}
.header_logo {
  width: 46px;
  height: 46px;
  display: flex;
  flex-shrink: 0;
}
.header_contact {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .header_contact {
    width: 100px;
  }
}
@media (max-width: 800px) {
  .header_contact {
    width: 70px;
  }
}
@media (max-width: 680px) {
  .header_contact {
    display: none;
  }
}
.header_contact li {
  display: flex;
  align-items: center;
}
.header_contact a {
  font-weight: 728;
  font-size: 14px;
  line-height: 151%;
  text-align: center;
  color: #EBD0B8;
}
@media (max-width: 1024px) {
  .header_contact a {
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  .header_contact a {
    font-size: 8px;
  }
}
.header_contact_btn {
  width: 154px;
}
@media (max-width: 1024px) {
  .header_contact_btn {
    width: 120px;
  }
}
@media (max-width: 680px) {
  .header_contact_btn {
    width: 186px;
    height: 44px;
  }
}
.header_contact_btn img {
  width: 100%;

}
.header_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 560px;
}
@media (max-width: 1024px) {
  .header_link {
    width: auto;
  }
}
@media (max-width: 800px) {
  .header_link {
    gap: 12px;
  }
}
.header_link a {
  font-weight: 700;
  font-size: 10px;
  line-height: 112%;
  text-align: center;
  color: #EBD0B8;
  max-width: 80px;
}
@media (max-width: 800px) {
  .header_link a {
    font-size: 8px;
    max-width: 55px;
  }
}
.header .media_btns {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (max-width: 680px) {
  .header .media_btns {
    display: flex;
  }
}
.header .media_btns a,
.header .media_btns button {
  width: 55px;
  height: 55px;
  display: flex;
  flex-shrink: 0;
}
.header .media_btns a img,
.header .media_btns button img {
  width: 100%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 110, 109, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-content {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.mobile-menu-links li {
  margin: 15px 0;
}
.mobile-menu-links a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: 10px;
}
.mobile-menu-links a:hover {
  color: #FCA503;
}
.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-contacts a {
  color: #FCA503;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 680px) {
  .home .container {
    padding: 0;
  }
}
.home_title {
  background: #0A6E6D;
  border-radius: 0 0 20px 20px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 680px) {
  .home_title {
    border-radius: 0;
  }
}
.home_title h1 {
  padding: 8px 25px;
  font-weight: 728;
  font-size: 40px;
  line-height: 44px;
  color: #FFFFFF;
  text-transform:uppercase;
}
@media (max-width: 680px) {
  .home_title h1 {
    font-size: 25px;
    line-height: 35px;
    padding: 18px 12px;
  }
}
.home .title_coral {
  padding: 10px 25px;
  background: #FCA503;
}
@media (max-width: 680px) {
  .home .title_coral {
    padding: 18px 12px 64px 12px;
  }
}
.home .title_coral h2 {
  font-weight: 728;
  font-size: 30px;
  line-height: 39px;
  color: #270000;
  text-transform:uppercase;
}
@media (max-width: 680px) {
  .home .title_coral h2 {
    font-size: 27px;
  }
}
.home .title_coral h3 {
  font-weight: 728;
  font-size: 24px;
  line-height: 39px;
  color: #270000;
  text-transform:uppercase;
}
@media (max-width: 680px) {
  .home .title_coral h3 {
    font-size: 18px;
    line-height: 29px;
  }
}
.home_text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
@media (max-width: 800px) {
  .home_text {
    flex-direction: column;
	margin-top:-50px;
  }
}

.home_text_img {
  width: 270px;
  position: relative;
  flex-shrink: 0;
  margin-left:-10px;
}
.home_text_img .one {
  width: 167px;
  height: 167px;
  flex-shrink: 0;
}

.home_text_img .two {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 135px;
  width: 130px;
  height: 130px;
}

.home_text_center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.home_text_center h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 138%;
  color: #270000;
  text-transform:uppercase;
}
@media (max-width: 680px) {
  .home_text_center h2 {
    max-width: 325px;
    line-height: 130%;
  }
}
@media (max-width: 680px) {
  .home_text_center h2 br {
    display: none;
  }
}
.home_text_center span {
  font-weight: 728;
  font-size: 22px;
  line-height: 151%;
  color: #270000;
  padding: 6px 27px;
  border: 1px solid rgba(142, 142, 142, 0.4588235294);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home_text_right {
  border: 1px solid #707070;
  border-radius: 15px;
  padding: 10px 18px;
  text-align: center;
  width: 241px;
  flex-shrink: 0;
}
.home_text_right h3 {
	text-transform: uppercase;
  font-family: 'museo-sans-cyrl-900';
 }
.home_text_right h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 151%;
  color: #270000;
}
.home_text_right p {
  font-weight: 400;
  font-size: 12px;
  line-height: 13px;
  color: #270000;
}
.home_text_right span {
  font-weight: 400;
  font-size: 13px;
  line-height: 151%;
  color: #270000;
}
.home_blocks {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .home_blocks {
    flex-direction: column;
    align-items: center;
    padding-bottom: 680px;
    position: relative;
  }
}
.home_img {
  width: 254px;
  position: relative;
  margin-top: 20px;
}
@media (max-width: 800px) {
  .home_img {
    width: 271px;
    flex-shrink: 0;
    margin-top: 0;
    order: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
}
@media (max-width: 480px) {
  .home_img {
    transform: translateX(-15%);
  }
}
.home_img_price {
  width: 143px;
  height: 143px;
  position: absolute;
  z-index: 2;
  bottom: -95px;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.home_img_price span {
  font-weight: 700;
  font-size: 20px;
  line-height: 110%;
  text-align: center;
  color: #584646;
  position: relative;
}
.home_img_price span::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 17px;
  transform: rotate(-7deg);
  height: 1px;
  width: 98px;
  background: #8E8E8E;
}
.home_img_price p {
  font-weight: 700;
  font-size: 20px;
  line-height: 110%;
  text-align: center;
  color: #8C0000;
}
.home_img_price img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.home_img_price span,
.home_img_price p {
  position: relative;
  z-index: 2;
}
@media (max-width: 800px) {
  .home_img.one .home_img_price {
    position: absolute;
    left: -75px;
    bottom: 80px;
    right: auto;
  }
}
@media (max-width: 800px) {
  .home_img.one {
    position: absolute;
    bottom: 308px;
    transform: translateX(63px);
  }
}
@media (max-width: 480px) {
  .home_img.one {
    transform: translateX(30px);
  }
}
@media (max-width: 800px) {
  .home_img.two .home_img_price {
    position: absolute;
    right: -75px;
    bottom: 80px;
    left: auto;
  }
}
.home_form {
  position: relative;
  width: 429px;
  height: 513px;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .home_form {
    order: 1;
    display: flex;
    justify-content: center;
    /* transform убран для правильного центрирования */
  }
}
@media (max-width: 480px) {
  .home_form {
    width: 368px;
    height: 439px;
  }
}
.home_form_in {
  padding: 72px 80px 38px 87px;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 480px) {
  .home_form_in {
    padding: 70px;
  }
}
.home_form img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.home_form h2 {
  font-weight: 700;
  font-size: 23px;
  line-height: 121%;
  text-align: center;
  color: #FCA503;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .home_form h2 {
    font-size: 19px;
  }
}
.home_form h3 {
  font-weight: 700;
  font-size: 21px;
  line-height: 121%;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .home_form h3 {
    font-size: 18px;
  }
}
.home_form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 480px) {
  .home_form form {
    width: 224px;
  }
}
.home_form form input {
  font-weight: 300;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: #FFFFFF;
  background: rgba(247, 242, 231, 0.53);
  height: 44px;
  border-radius: 40px;
}
@media (max-width: 480px) {
  .home_form form input {
    height: 38px;
  }
}
.home_form form input::-moz-placeholder {
  color: #FFFFFF;
}
.home_form form input::placeholder {
  color: #FFFFFF;
}
.home_form form button {
  font-weight: 728;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  color: #270000;
  padding: 5px 20px;
  border-radius: 18px;
  background: #FCA503;
  border: 2px dashed #270000;
  width: 202px;
  margin: 10px auto;
}
@media (max-width: 480px) {
  .home_form form button {
    font-size: 9px;
    line-height: 14px;
    height: 34px;
    padding: 2px 20px;
    width: 176px;
  }
}
.home_form form span {
  font-weight: 300;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: #FFFFFF;
  max-width: 121px;
  margin: auto;
}
@media (max-width: 480px) {
  .home_form form span {
    font-size: 8px;
  }
}

@media (max-width: 680px) {
  .product .container {
    padding: 0;
  }
}
.product_title {
  background: #FCA503;
  border-radius: 20px;
  padding: 18px 25px;
  margin-bottom: 18px;
}
@media (max-width: 680px) {
  .product_title {
    border-radius: 0;
    padding: 16px;
  }
}
.product p {
  font-weight: 728;
  font-size: 40px;
  line-height: 44px;
  text-align: center;
  color: #270000;
}
@media (max-width: 680px) {
  .product h2 {
    font-size: 28px;
    line-height: 37px;
  }
}
.product_end {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 50px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.product_end img {
  max-width: 300px;
  width: 100%;
}
@media (max-width: 1024px) {
  .product_end {
    margin-bottom: 20px;
    padding: 0 20px;
  }
}
@media (max-width: 680px) {
  .product_end {
    gap: 12px;
    padding: 0 20px;
  }
  .product_end img {
    max-width: 250px;
  }
}
.product .products {
  position: relative;
}
@media (max-width: 680px) {
  .product .products {
    padding: 0 10px;
    margin: 0 20px;
  }
}
.product .products .btn {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 2;
  width: 45px;
  height: 45px;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2509803922);
  background: #FFFFFF;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
@media (max-width: 680px) {
  .product .products .btn {
    display: flex;
  }
}
.product .products .product_btn-next {
  right: -14px;
}
.product .products .product_btn-prev {
  left: -14px;
}
.product .product-card {
  border: 1px solid #EBD0B8;
  border-radius: 15px;
  overflow: hidden;
  height: 330px;
}
@media (max-width: 680px) {
  .product .product-card {
    height: 516px;
  }
}
.product .product-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.product .products__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 15px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .product .products__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .product .products__list {
    display: block;
  }
}
@media (min-width: 680px) {
  .product .swiper-wrapper {
    display: contents;
  }
}

.contact {
  padding-bottom: 83px;
}
@media (max-width: 680px) {
  .contact {
    padding-bottom: 120px;
  }
}
.contact p {
  font-weight: 728;
  font-size: 32px;
  line-height: 44px;
  text-align: center;
  color: #270000;
  margin-bottom: 20px;
}
@media (max-width: 680px) {
  .contact h2 {
    font-size: 16px;
    line-height: 19px;
  }
}
.contact p span {
  font-size: 30px;
  text-transform: uppercase;
  display: block;
}
@media (max-width: 680px) {
  .contact h2 span {
    font-size: 25px;
    line-height: 28px;
    max-width: 331px;
    margin: 0 auto 10px auto;
    display: block;
  }
}
.contact_head {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}
@media (max-width: 680px) {
  .contact_head {
    flex-direction: column;
    margin-bottom: 32px;
  }
}
.contact .date {
  background: #0A6E6D;
  border-radius: 62px;
  padding: 5px 45px;
}
.contact .date span {
  font-weight: 700;
  font-size: 37px;
  line-height: 151%;
  text-align: center;
  color: #FFFFFF;
}
.contact_logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact_logo .one {
  width: 202px;
}
@media (max-width: 680px) {
  .contact_logo .one {
    width: 170px;
  }
}
.contact_logo .two {
  width: 103px;
}
@media (max-width: 680px) {
  .contact_logo .two {
    width: 88px;
  }
}
.contact_form {
  border-radius: 18px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);
  background: rgba(243, 236, 228, 0.4588235294);
  overflow: hidden;
  max-width: 604px;
  margin: auto;
}
.contact_form_title {
  background: #FCA503;
  border-radius: 18px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 680px) {
  .contact_form_title {
    height: 54px;
  }
}
.contact_form h3 {
  font-weight: 728;
  font-size: 27px;
  line-height: 44px;
  text-align: center;
  color: #270000;
  margin-bottom: 0;
  text-transform: uppercase;
  font-family: 'museo-sans-cyrl-900';
}
@media (max-width: 680px) {
  .contact_form h2 {
    font-size: 21px;
    line-height: 36px;
  }
}
.contact_form p {
  font-weight: 300;
  font-size: 20px;
  line-height: 21px;
  text-align: center;
  color: #270000;
  max-width: 393px;
  margin: 18px auto;
}
@media (max-width: 680px) {
  .contact_form p {
    font-size: 14px;
    line-height: 21px;
    margin: 14px auto;
  }
}
.contact_form form {
  padding: 0 24px 32px 24px;
}
@media (max-width: 680px) {
  .contact_form form {
    padding: 0 12px 32px 12px;
  }
}
.contact_form form .input_block_one {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
@media (max-width: 680px) {
  .contact_form form .input_block_one {
    gap: 8px;
  }
}
.contact_form form .input_block_one input {
  height: 46px;
}
@media (max-width: 680px) {
  .contact_form form .input_block_one input {
    width: 100%;
  }
}
.contact_form form .input_block_two {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 680px) {
  .contact_form form .input_block_two {
    gap: 5px;
  }
}
.contact_form form .input_block_two .input_block {
  display: flex;
  align-items: center;
}
.contact_form form .input_block_two input {
  height: 36px;
  width: 100%;
  padding: 10px;
}
@media (max-width: 480px) {
  .contact_form form .input_block_two input {
    padding: 2px;
  }
}
.contact_form form .input_block_two span {
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #270000;
  min-width: 60px;
}
@media (max-width: 680px) {
  .contact_form form .input_block_two span {
    font-size: 8px;
    line-height: 9px;
    min-width: 34px;
  }
}
.contact_form form input {
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: #270000;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2509803922);
  border-radius: 110px;
  background: var(--milk, #F6F3EC);
  padding: 5px 20px;
  border: 1px solid #d4c9bc;
}
.contact_form form input::placeholder {
  color: #8a7e6e;
}
.contact_form form button {
  margin: 36px auto 0 auto;
  font-weight: 728;
  font-size: 20px;
  line-height: 17px;
  text-align: center;
  color: #270000;
  background: #FCA503;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  width: 206px;
  border: 2px dotted #000;
}
@media (max-width: 680px) {
  .contact_form form button {
    font-size: 17px;
  }
}

.legendary {
  padding-bottom: 24px;
}
@media (max-width: 1024px) {
  .legendary {
    padding-bottom: 0;
  }
}
@media (max-width: 1024px) {
  .legendary .container {
    padding: 0;
  }
}
.legendary_text {
  position: relative;
}
.legendary_text h3 {
  font-weight: 700;
  font-size: 39px;
  line-height: 151%;
  color: #34100F;
  padding-right: 200px;
  position: relative;
  z-index: 2;
  text-align:center;
  text-transform: uppercase;
  font-family: 'museo-sans-cyrl-900';
}
@media (max-width: 640px) {
  .legendary_text h2 {
    font-size: 27px;
    padding: 0;
	width:auto;
	padding: 0 50px 0 0;
	text-align:right;
  }
}
.legendary_text p {
  font-weight: 700;
  font-size: 31px;
  line-height: 151%;
  color: #34100F;
  position: relative;
  z-index: 2;
  text-transform:uppercase;
  font-family: 'museo-sans-cyrl-900';
}
@media (max-width: 1024px) {
  .legendary_text h3 {
    font-size: 21px;
  }
}
.legendary_text_in {
  position: relative;
  padding: 23px 90px 23px 124px;
  width: 568px;
  min-height: 186px;
  margin-left: 70px;
}
@media (max-width: 1024px) {
  .legendary_text_in {
    width: 100%;
    margin-left: 0;
    padding: 16px 16px 16px 187px;
  }
}
.legendary_text_in .user {
  position: absolute;
  left: -100px;
  bottom: 0;
  width: 210px;
}
@media (max-width: 1024px) {
  .legendary_text_in .user {
    width: 250px;
    left: -68px;
  }
}
.legendary_text_in .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.legendary_text .legendary_group {
  position: absolute;
  bottom: 0;
  right: -86px;
  width: 467px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .legendary_text .legendary_group {
    min-width: calc(100% + 50px);
    transform: translateX(-25px);
    position: static;
  }
}

.blue_block {
  background: #F6F3EC;
}
@media (max-width: 1024px) {
  .blue_block {
    transform: translateY(-7px);
  }
}
.blue_block .container {
  position: relative;
  background: #0A6E6D;
  padding: 24px 0;
}
@media (max-width: 1024px) {
  .blue_block .container {
    padding: 30px 30px 130px 30px;
  }
}
.blue_block img {
  position: absolute;
  left: -28px;
  bottom: 0;
  width: 247px;
}
@media (max-width: 1024px) {
  .blue_block img {
    width: 373px;
    bottom: -333px;
    left: 20px;
  }
}
.blue_block_text {
  max-width: 697px;
  margin-left: 193px;
}
@media (max-width: 1024px) {
  .blue_block_text {
    margin-left: 0;
  }
}
.blue_block_text .blue_block_h {
  font-weight: 700;
  font-size: 31px;
  line-height: 151%;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-transform:uppercase;
  font-family: 'museo-sans-cyrl-900';
}
@media (max-width: 1024px) {
  .blue_block_text h2 {
    font-size: 18px;
  }
}
.blue_block_text p {
  font-weight: 300;
  font-size: 16px;
  line-height: 151%;
  color: #FFFFFF;
}

.end_imgs {
  padding-bottom: 30px;
  background: #F6F3EC;
  padding-top: 17px;
}
@media (max-width: 1024px) {
  .end_imgs {
    padding-top: 333px;
  }
}
.end_imgs .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
}
@media (max-width: 1024px) {
  .end_imgs .container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
  }
}
@media (max-width: 680px) {
  .end_imgs .container {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}
.end_imgs .container img {
  width: 100%;
  height: 195px;
  border-radius: 16px;
  border: 1px solid #D4D1CA;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1024px) {
  .end_imgs .container img {
    border-radius: 8px;
    height: 187px;
  }
}

.footer {
  background: #9C1717;
}
.footer .container {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 800px) {
  .footer .container {
    gap: 24px;
  }
}
@media (max-width: 680px) {
  .footer .container {
    padding: 28px 16px;
  }
}
.footer_left {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  padding: 20px 10px 20px 0;
}
@media (max-width: 680px) {
  .footer_left {
    width: 100%;
    justify-content: center;
  }
}
.footer_left::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  top: 0;
  right: 0;
  background: #D9D9D9;
}
@media (max-width: 680px) {
  .footer_left::before {
    display: none;
  }
}
.footer_left img {
  width: 109px;
  height: 108px;
  flex-shrink: 0;
}
.footer_left h3 {
  font-weight: 900;
  font-size: 28px;
  line-height: 151%;
  color: #FFFFFF;
  max-width: 168px;
  text-transform: uppercase;
  font-family: 'museo-sans-cyrl-900';
}
.footer ul {
  display: flex;
  flex-direction: column;
}
@media (max-width: 680px) {
  .footer ul {
    display: none;
  }
}
.footer ul li {
  font-weight: 300;
  font-size: 24px;
  line-height: 151%;
  color: #FFFFFF;
}
@media (max-width: 800px) {
  .footer ul li {
    font-size: 18px;
  }
}

/* Модальные окна */
#modal_window, #modal_window2, #modal_window3, #modal_window4, #modal_window5, #modal_window6, #modal_window7, #modal_window_video {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  max-width: 500px;
  width: 90%;
}

#background, #background2, #background3, #background4, #background5, #background6, #background7, #background_video {
  left: 0px;
  top: 0px;
  position: fixed;
  background: none repeat scroll 0% 0% #000;
  opacity: 0.5;
  z-index: 999;
  display: none;
  height: 100%;
  width: 100%;
}

.form {
  width: 100%;
  max-width: 400px;
  margin: 50px auto 0;
  padding: 50px 20px 20px;
  background: #f5fdff url("../img/form.png") no-repeat 50% 10px;
  background-size: auto 150px;
  border-radius: 30px;
  border: 2px #7fe4fd solid;
  position: relative;
}

.form-close {
  background: url("../img/form-close.png") no-repeat;
  width: 34px;
  height: 33px;
  position: absolute;
  top: 15px;
  right: 10px;
  display: block;
  outline: none;
  border: none;
  cursor: pointer;
  background-size: contain;
  text-decoration: none;
}

.form-input {
  border: 1px solid #cdcfcf;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0px;
  text-align: left;
  border-radius: 20px;
  font-size: 16px;
  margin-bottom: 7px;
  padding-left: 30px;
  padding-right: 10px;
  box-sizing: border-box;
}

.form-input::-webkit-input-placeholder {
  color: #2a211a;
}

.form-input::-moz-placeholder {
  color: #2a211a;
}

.form-input:-ms-input-placeholder {
  color: #2a211a;
}

.form-input select,
.form select {
  width: 100%;
  height: 40px;
  border: 1px solid #cdcfcf;
  border-radius: 20px;
  padding: 0 30px;
  font-size: 16px;
  background: var(--milk, #F6F3EC);
  cursor: pointer;
}

/* Каталог товаров */
.catalog-flex {
  display: flex;
  /*justify-content: space-between;*/
  flex-wrap: wrap;
  margin: 30px 0;
  gap: 0;
}

.catalog-item {
  width: calc(33.333% - 20px);
  max-width: 365px;
  margin-bottom: 30px;
  margin-right: 20px;
  background: #f5fdff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  padding: 45px 20px 30px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.catalog-item:nth-child(3n) {
  margin-right: 0;
}

.catalog-item .card-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
}

.catalog-flag {
  position: absolute;
  top: 20px;
  right: 0;
  width: 200px;
  height: 46px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  z-index: 10;
}

.catalog-flag-1 {
  background: url("../img/catalog-flag-1.png") no-repeat;
}

.catalog-flag-2 {
  background: url("../img/catalog-flag-2.png") no-repeat;
}

.catalog-flag-3 {
  background: url("../img/catalog-flag-3.png") no-repeat;
}

.catalog-text {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  margin-bottom: 25px;
}

.catalog-text h3 {
  font-weight: bold;
  font-size: 24px;
  margin: 10px 0;
  line-height: 1.2;
}

.catalog-text span {
  display: block;
  margin: 5px 0;
  font-size: 13px;
}

.catalog-cost {
  color: #5f96d7;
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 30px;
  margin: 5px 0;
  font-weight: bold;
}

.catalog-cost span {
  display: inline-block;
}

.catalog-size {
  font-weight: bold;
  font-size: 18px;
  margin: 5px 0;
}

.catalog-text .btn {
  box-shadow: 0px 5px rgb(214, 214, 213);
  margin-top: 15px;
  font-size: 19px;
  line-height: 20px;
  padding: 4px 20px;
  background: #ff8100;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.catalog-text .btn:hover {
  background: #e67300;
  transform: translateY(-2px);
}

.using-slider {
  margin-top: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.using-slider img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

.headh {
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 40px;
  text-align: center;
  margin: 30px 0;
  display: block;
  color: #2a211a;
}

.headh h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.head3 {
  font-weight: bold;
  font-size: 24px;
  display: block;
}

.clear {
  clear: both;
}

/* Дополнительные стили для каталога */
.using-slider {
  margin-top: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.using-slider img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

/* Slick slider стили */
.using-slider .slick-slide {
  margin: 0 5px;
}

.using-slider .slick-slide img {
  width: 100%;
  height: auto;
}

/* Стили для секций */
.sizes {
  margin-bottom: 40px;
  margin-top: 20px;
}

.sizes h2 {
  color: #5f96d7;
}

.sizes span.headh {
  color: #5f96d7;
}

.showroom {
  padding: 40px 0;
}

.showroom-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 20px 0;
}

.showroom-contacts {
  max-width: 600px;
}

.showroom-img {
  text-align: center;
  margin: 20px 0;
}

.shop_big {
  display: inline-block;
  margin: 10px;
  vertical-align: top;
}

.img_width_260 {
  width: 260px;
  max-width: 100%;
  height: auto;
}

.reviews {
  margin: 20px 0;
}

.reviews-flex {
  margin-top: 15px;
}

.reviews-flex .slick-list {
  max-height: 550px;
}

.reviews-flex .slick-track {
  max-height: 550px;
}

.reviews-flex .slick-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  /*height: 550px;
  min-height: 550px;*/
}

.reviews-flex .slick-slide > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-flex img,
.reviews-flex video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.reviews-flex video {
  max-height: 500px;
}

/* Стрелки для основного слайдера отзывов */
.reviews-flex .slick-prev,
.reviews-flex .slick-next {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  z-index: 10;
  transition: all 0.3s ease;
}

.reviews-flex .slick-prev:hover,
.reviews-flex .slick-next:hover {
  background: #0A6E6D;
  box-shadow: 0 4px 20px rgba(10, 110, 109, 0.4);
}

.reviews-flex .slick-prev {
  left: 20px;
}

.reviews-flex .slick-next {
  right: 20px;
}

.reviews-flex .slick-prev:before,
.reviews-flex .slick-next:before {
  color: #0A6E6D;
  font-size: 28px;
  opacity: 1;
}

.reviews-flex .slick-prev:hover:before,
.reviews-flex .slick-next:hover:before {
  color: #fff;
}

/* Контейнер изображений в основном слайдере */
.reviews-flex .slick-slide > div > a,
.reviews-flex .slick-slide > div > video {
  max-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.reviews-flex .slick-slide > div > a img {
  border-radius: 12px;
}

/*@media (max-width: 991px) {
  .reviews-flex .slick-list {
    height: 400px;
  }
  
  .reviews-flex .slick-prev,
  .reviews-flex .slick-next {
    width: 50px;
    height: 50px;
  }
  
  .reviews-flex .slick-prev:before,
  .reviews-flex .slick-next:before {
    font-size: 24px;
  }
  
  .reviews-flex .slick-track {
    height: 400px;
  }
  
  .reviews-flex .slick-slide {
    height: 400px;
    min-height: 400px;
  }
  
  .reviews-flex video {
    max-height: 400px;
  }
}

@media (max-width: 640px) {
  .reviews-flex .slick-list {
    height: 300px;
    overflow: visible;
  }
  
  .reviews-flex .slick-track {
    height: 300px;
    display: flex;
    align-items: center;
  }
  
  .reviews-flex .slick-slide {
    height: 300px;
    min-height: 300px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .reviews-flex .slick-slide > div {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
  }
  
  .reviews-flex .slick-slide img {
    max-width: 90%;
    max-height: 280px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block !important;
    margin: 0 auto;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .reviews-flex .slick-slide > div > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
  }
  
  .reviews-flex video {
    max-height: 300px;
  }
  
  .reviews-flex .slick-prev,
  .reviews-flex .slick-next {
    width: 40px;
    height: 40px;
  }
  
  .reviews-flex .slick-prev {
    left: 10px;
  }
  
  .reviews-flex .slick-next {
    right: 10px;
  }
  
  .reviews-flex .slick-prev:before,
  .reviews-flex .slick-next:before {
    font-size: 20px;
  }
}*/

.slider-nav {
  margin-top: 20px;
  padding: 0 60px;
}

.slider-nav .slick-track {
  display: flex;
  align-items: center;
}

.slider-nav .slick-slide {
  padding: 0 8px;
}

.slider-nav .slick-slide > div {
  width: 200px;
  height: 250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-nav .slick-slide > div:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.slider-nav .slick-current > div {
  border: 3px solid #FCA503;
  box-shadow: 0 4px 15px rgba(252, 165, 3, 0.3);
}

.slider-nav img,
.slider-nav video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.slider-nav a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .slider-nav {
    padding: 0 50px;
  }
  
  .slider-nav .slick-slide > div {
    width: 160px;
    height: 200px;
  }
}

@media (max-width: 640px) {
  .slider-nav {
    padding: 0 40px;
  }
  
  .slider-nav .slick-slide {
    padding: 0 5px;
  }
  
  .slider-nav .slick-slide > div {
    width: 120px;
    height: 150px;
    border-radius: 8px;
  }
}

/* Стрелки для слайдера отзывов */
.slider-nav .slick-prev,
.slider-nav .slick-next {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav .slick-prev:hover,
.slider-nav .slick-next:hover {
  background: #FCA503;
  box-shadow: 0 4px 15px rgba(252, 165, 3, 0.4);
}

.slider-nav .slick-prev {
  left: 5px;
}

.slider-nav .slick-next {
  right: 5px;
}

.slider-nav .slick-prev:before,
.slider-nav .slick-next:before {
  color: #0A6E6D;
  font-size: 24px;
  opacity: 1;
}

.slider-nav .slick-prev:hover:before,
.slider-nav .slick-next:hover:before {
  color: #fff;
}

@media (max-width: 640px) {
  .slider-nav .slick-prev,
  .slider-nav .slick-next {
    width: 40px;
    height: 40px;
  }
  
  .slider-nav .slick-prev:before,
  .slider-nav .slick-next:before {
    font-size: 20px;
  }
}

#slider-show-room .slick-slide,
#slider-factory .slick-slide {
  padding: 0 10px;
}

#slider-show-room .slick-slide img,
#slider-factory .slick-slide img {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Стили delivery и guarantee используются из main.css */

@media (max-width: 1200px) {
  .catalog-item {
    width: calc(50% - 15px);
  }
  
  .catalog-item:nth-child(3n) {
    margin-right: 20px;
  }
  
  .catalog-item:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 680px) {
  .catalog-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .catalog-item {
    width: 100%;
    max-width: 365px;
    margin-right: 0 !important;
  }
  
  .headh {
    font-size: 28px;
  }
  
  .catalog-text h3 {
    font-size: 20px;
  }
  
  .catalog-cost {
    font-size: 24px;
  }
  
  .shop_big {
    display: block;
    margin: 10px auto;
  }
  
  .img_width_260 {
    width: 100%;
    max-width: 260px;
  }
  
}

.form-input textarea,
.form textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #cdcfcf;
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 16px;
  resize: vertical;
  font-family: inherit;
}

.btn-form {
  width: 100%;
  height: 60px;
  border-radius: 50px;
  font-size: 25px;
  box-shadow: 0px 5px rgb(214, 214, 213);
  margin-top: 20px;
  background: #FCA503;
  color: #270000;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.form table {
  width: 100%;
  margin-bottom: 15px;
}

.form table td {
  padding: 5px 0;
}

.form-header {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #CC2329;
}

/* ===== Стили для старых секций (СТРОГО 1 в 1 как в main.css) ===== */

/* Базовые шрифты для старых секций */
section.delivery,
section.guarantee,
section.guarantee-order,
section.experience,
section.catalog,
section.seo,
section.change,
section.gift,
footer {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  color: #232323;
}

section.delivery span.headh,
section.guarantee span.headh,
section.guarantee-order span.headh,
section.experience span.headh,
section.catalog span.headh,
section.change span.headh,
section.gift span.headh {
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 40px;
  display: block;
}

section.experience .m2,
section.catalog .m2,
section.seo .m2 {
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 50px;
  text-align: center;
  margin-top: 40px;
}

section.seo .m3 {
  font-weight: bold;
  font-size: 18px;
}

section.experience .head3,
section.catalog .head3 {
  font-size: 47px;
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  margin-top: 80px;
  margin-bottom: 30px;
  display: block;
}

/* Восстанавливаем оригинальный container для старых секций */
.delivery .container,
.guarantee .container,
.guarantee-order .container,
.experience .container,
.catalog .container,
.seo .container,
.change .container,
.gift .container,
footer .container,
.showroom .container,
.sizes .container,
.reviews .container {
  width: 1130px;
  max-width: 100%;
  padding: 0;
}

/* ========== DELIVERY СЕКЦИЯ (1 в 1 как в main.css) ========== */
section.delivery {
  background: #f5fdff;
  padding-top: 40px;
  padding-bottom: 40px;
}

section.delivery span.headh {
  color: #5f96d7;
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 40px;
}

section.delivery .delivery-flex {
  display: flex;
  justify-content: center;
}

section.delivery .delivery-item {
  margin: 30px 31px 0;
}

section.delivery .delivery-item span.head3 {
  color: #2a498c;
  padding-left: 75px;
  min-height: 45px;
  font-size: 40px;
  font-family: 'museo-sans-cyrl-900';
  display: block;
}

section.delivery .delivery-item.delivery-item-0 span.head3 {
  background: url(../img/delivery-icon-0.png) no-repeat 0% 50%;
}

section.delivery .delivery-item.delivery-item-1 span.head3 {
  background: url(../img/delivery-icon-1.png) no-repeat 0% 50%;
}

section.delivery .delivery-item.delivery-item-2 span.head3 {
  background: url(../img/delivery-icon-2.png) no-repeat 0% 50%;
}

section.delivery .delivery-item p {
  margin-bottom: 15px;
}

section.delivery .delivery-item p span {
  font-weight: bold;
}

/* ========== GUARANTEE СЕКЦИЯ (1 в 1 как в main.css) ========== */
section.guarantee {
  background: url(../img/guarantee-bg.png) no-repeat 50% 30px;
  min-height: 524px;
}

section.guarantee .container.guarantee-block {
  width: 1130px;
  max-width: 100%;
  padding-left: 370px;
  padding-right: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

section.guarantee .guarantee-block p {
  margin-top: 35px;
}

section.guarantee .guarantee-block p span {
  color: #3597da;
  font-weight: bold;
}

section.guarantee span.headh {
  text-align: left;
  color: #2a211a;
  font-family: 'museo-sans-cyrl-900', Arial, sans-serif;
  font-size: 40px;
}

/* ========== GIFT СЕКЦИЯ (акция с подарками) ========== */
section.gift {
  background-color: #F6F3EC; /* Бежевый фон вместо белой полосы */
  background-image: url(../img/gift-bg.png);
  background-repeat: no-repeat;
  background-position: 50% 30px; /* Опускаем картинку вниз на 30px */
  margin-top: 0;
  padding-top: 130px;
}

/* ========== GUARANTEE-ORDER СЕКЦИЯ ========== */
section.guarantee-order {
  background: url(../img/guarantee-order.jpg) no-repeat 50% 0px;
  min-height: 476px;
  margin-top: 30px;
}

section.guarantee-order .guarantee-order-block {
  padding-top: 85px;
  padding-left: 510px;
  color: #eed4b5;
}

section.guarantee-order .guarantee-order-block span.headh {
  text-align: left;
  color: #eed4b5;
  margin-top: 0;
  margin-bottom: 30px;
}

/* ========== MEDIA QUERIES ДЛЯ ПЛАНШЕТОВ ========== */
@media (max-width: 1130px) {
  .delivery .container,
  .guarantee .container,
  .guarantee-order .container,
  .experience .container,
  .catalog .container,
  .seo .container,
  .change .container,
  .gift .container,
  footer .container,
  .showroom .container,
  .sizes .container,
  .reviews .container {
    width: auto;
  }

  section.delivery span.headh,
  section.guarantee span.headh,
  section.guarantee-order span.headh,
  section.experience span.headh,
  section.catalog span.headh,
  section.change span.headh,
  section.gift span.headh {
    font-size: 22px;
  }

  section.experience .m2,
  section.catalog .m2,
  section.seo .m2 {
    font-size: 22px;
    margin-top: 20px;
  }

  section.experience .head3,
  section.catalog .head3 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 15px;
  }

  section.delivery .delivery-flex {
    flex-wrap: wrap;
  }
  
  /*section.delivery .delivery-item {
    margin: 30px 0px 0;
  }*/
  
  section.guarantee {
    background: none;
    min-height: auto;
  }
  
  section.guarantee .container.guarantee-block {
    width: 640px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  section.guarantee span.headh {
    text-align: center;
  }
  
  section.guarantee-order {
    background: url(../img/guarantee-order-medium.jpg) no-repeat 50% 0px;
    min-height: 336px;
  }
  
  section.guarantee-order .guarantee-order-block {
    padding-left: 230px;
  }
}

/* ========== MEDIA QUERIES ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 640px) {
  .delivery .container,
  .guarantee .container,
  .guarantee-order .container,
  .experience .container,
  .catalog .container,
  .seo .container,
  .change .container,
  .gift .container,
  footer .container,
  .showroom .container,
  .sizes .container,
  .reviews .container {
    width: auto;
	padding:0  15px;
  }

  section.delivery span.headh,
  section.guarantee span.headh,
  section.guarantee-order span.headh,
  section.experience span.headh,
  section.catalog span.headh,
  section.change span.headh,
  section.gift span.headh {
    font-size: 18px;
  }

  /* Задача 37: Блок акции на всю ширину */
  /* Секция gift - на всю ширину страницы как блок ниже */
  section.gift {
    background: url(../img/gift-bg-mobile.jpg) no-repeat center top;
    background-size: cover;
    background-color: #3d2a1f;
    min-height: auto;
    padding: 20px 15px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  section.gift .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  section.gift .gift-block {
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    line-height: 1.4;
  }
  section.gift .gift-block p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0 10px;
    color: #eed4b5;
  }
  section.gift .gift-block .btn-max {
    width: 180px;
    height: 40px;
    line-height: 30px;
    border-radius: 80px;
    border: 5px solid #fff;
    font-size: 16px;
    margin: 10px auto;
    display: block;
  }
  
  /* Убираем белую полосу между секциями */
  section.guarantee-order {
    margin-bottom: 0 !important;
    padding-bottom: 0;
  }

  section.experience .m2
  section.catalog .m2,
  section.seo .m2 {
    font-size: 18px;
  }

  section.experience .head3,
  section.catalog .head3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  section.delivery .delivery-item span.head3 {
    font-size: 26px;
    padding-left: 55px;
  }
  
  section.guarantee .container.guarantee-block {
    max-width: 480px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  section.guarantee-order {
    background: url(../img/guarantee-order-mobile.jpg) no-repeat 50% 0px;
    min-height: 238px;
  }
  
  section.guarantee-order .guarantee-order-block {
    padding-left: 110px;
    padding-top: 25px;
  }
  
  section.guarantee-order .guarantee-order-block span.headh {
    font-size: 15px;
  }
  
  section.guarantee-order .guarantee-order-block span.headh br {
    display: none;
  }
}

/* ========== ВНУТРЕННИЕ СТРАНИЦЫ (О нас, Контакты, Политика) ========== */

/* Сбрасываем padding body для внутренних страниц */
body.inner-page {
  padding-top: 0 !important;
}

/* Фикс белой полоски под хедером на внутренних страницах */
body.inner-page .head-top-screen,
.wrapper > .head-top-screen,
div.head-top-screen,
.head-top-screen {
  margin-top: 0 !important;
  padding-top: 70px !important;
  padding-bottom: 0px !important;/* Отступ для фиксированного хедера */
  background-color: #c9e4f2 !important; /* Цвет неба - заполняет отступ сверху */
  background-position: center top !important;
  background-size: cover !important;
}

@media (max-width: 680px) {
  body.inner-page .head-top-screen,
  .wrapper > .head-top-screen,
  div.head-top-screen,
  .head-top-screen {
    padding-top: 70px !important;
  }
}

/* Убираем дублирующий фон для секций experience внутри нового дизайна */
.wrapper .experience {
 /* margin-top: 10px;*/ /* Уменьшаем отступ */
}

/* Заголовок на странице О НАС - после снежинки с отступом */
.head-top-screen .experience .m2,
.head-top-screen section.experience .m2 {
  margin-top: -20px !important;
  padding-top: 50px;
}

.head-top-screen .experience .container,
.head-top-screen section.experience .container {
  padding-top: 0;
}

/* Страница Контакты - заголовок ближе к верху */
.head-top-screen .showroom,
.head-top-screen section.showroom {
  margin-top: 0 !important;
}


.head-top-screen .showroom .container,
.head-top-screen section.showroom .container {
  padding-top: 0;
}

/* Сетка фотографий шоурума 3x3 */
.showroom-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 810px;
  margin: 20px auto;
}

.showroom-photos-grid a {
  display: block;
}

.showroom-photos-grid img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .showroom-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Women section styles - задачи 35, 36 */
.women-section {
  padding: 40px 0;
  text-align: center;
}

.women-photos-top {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.women-photos-top img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

.women-title {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
}

.women-photos-bottom {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.women-photos-bottom img {
  width: 224px;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .women-photos-top img {
    max-width: 250px;
  }
  
  .women-photos-bottom img {
    width: 150px;
  }
}

/* Исправление для catalog секции внутри нового дизайна */
.wrapper > .catalog {
  padding: 40px 0;
}

.wrapper > .catalog .m2 {
  font-size: 36px;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .wrapper > .catalog .m2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .wrapper > .catalog .m2 {
    font-size: 20px;
  }
}

/* SEO секция */
.wrapper .seo {
  padding: 40px 0 0;
}

.wrapper .seo h2 {
  font-size: 36px;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .wrapper .seo h2 {
    font-size: 24px;
  }
}

/* Footer стили */
.wrapper footer {
  margin-top: 0;
}

/* ========== ABOUT SECTION (новый блок) ========== */
.about-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -20px; /* Сокращение расстояния сверху */
  background-color: var(--milk);
}

@media screen and (max-width: 768px) {
  .about-section {
    margin-top: -40px; /* Еще меньше расстояние на мобильных */
  }
}

.about-header {
  width: 100%;
  max-width: 965px;
  margin: 0 auto;
  margin-top: 0; /* Убран лишний отступ */
  background: var(--yellow-gradient);
  padding: 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-header img {
  width: 100%;
  max-width: 120px;
}

@media screen and (max-width: 991px) {
  .about-header {
    max-width: 1000px;
    border-radius: 0;
    gap: 20px;
    margin-top: 0;
  }
  .about-header img {
    max-width: 110px;
  }
}

@media screen and (max-width: 768px) {
  .about-header img {
    max-width: 80px;
  }
}

@media screen and (max-width: 500px) {
  .about-header img {
    max-width: 50px;
  }
}

.about-header .description p {
  font-size: 28.5px;
  font-weight: 700;
  line-height: 120%;
  white-space: nowrap;
}

.about-header .description p.main {
  font-size: 52px;
}

.about-header .description p.bottom {
  font-size: 22px;
}

@media screen and (max-width: 991px) {
  .about-header .description p {
    font-size: 25px;
  }
  .about-header .description p.main {
    font-size: 45px;
  }
  .about-header .description p.bottom {
    font-size: 19px;
  }
}

@media screen and (max-width: 768px) {
  .about-header .description p {
    font-size: 15.5px;
  }
  .about-header .description p.main {
    font-size: 28px;
  }
  .about-header .description p.bottom {
    font-size: 12px;
  }
}

@media screen and (max-width: 500px) {
  .about-header .description p {
    font-size: 11px;
  }
  .about-header .description p.main {
    font-size: 20px;
  }
  .about-header .description p.bottom {
    font-size: 8.5px;
  }
}

.about-content {
  max-width: 850px;
  padding: 20px;
  padding-bottom: 50px;
  margin: 0 auto;
}

.cities_list {
  font-size: 11px;
  text-align: center;
  line-height: 150%;
  font-weight: 300;
}

@media screen and (max-width: 991px) {
  .cities_list {
    font-size: 7px;
  }
}

.contry {
  display: flex;
  align-items: flex-end;
}

@media screen and (max-width: 768px) {
  .contry {
    flex-direction: column;
    align-items: center;
  }
}

.contry .description {
  padding: 45px 0px 70px 15px;
  min-height: 280px;
}

@media screen and (max-width: 768px) {
  .contry .description {
    min-height: 10px;
    padding: 10px 0px 0 0px;
  }
}

.contry .description h1 {
  font-weight: 900;
  font-size: clamp(40px, 6dvw, 60px);
  margin-bottom: 5px;
  white-space: nowrap;
}

.contry .description h2 {
  font-weight: 900;
  font-size: clamp(22px, 3.5dvw, 32px);
  white-space: nowrap;
}

.contry .description p {
  margin-top: 20px;
  font-weight: 900;
  font-size: clamp(25px, 4dvw, 39px);
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .contry .description h1 {
    font-size: 60px;
  }
  .contry .description h2 {
    font-size: 32px;
  }
  .contry .description p {
    font-size: 39px;
  }
}

.contry .image {
  position: relative;
  flex: 1;
  min-height: 200px;
}

.contry .image .main {
  width: 120%;
  max-width: 510px;
  position: absolute;
  bottom: 0;
  left: -10px;
}

@media screen and (max-width: 991px) {
  .contry .image .main {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .contry .image .main {
    width: 100%;
    position: static;
  }
}

.banners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 17px;
}

.banners .banner_item {
  flex: 1;
  width: 100%;
  text-align: center;
  font-size: clamp(20px, 2.5dvw, 25px);
  font-weight: 900;
  background-color: var(--green);
  color: var(--white);
  border-radius: 80px;
  padding: 15px 28px;
  white-space: nowrap;
}

/* ========== GALLERY SECTION (новый блок) ========== */
.gallery-section {
  max-width: 984px;
  padding: 50px 40px;
  margin: 0 auto;
  background-color: var(--milk);
}

@media screen and (max-width: 768px) {
  .gallery-section {
    padding: 40px 16px;
  }
}

.gallery-section .head {
  width: 100%;
  max-width: 345px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow-gradient);
  font-size: 44px;
  font-weight: 700;
  line-height: 151%;
  border-radius: 18px;
  margin: 0 auto;
  margin-bottom: 10px;
  justify-content: center;
  height: 72px;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .gallery-section .head {
    margin-bottom: 28px;
  }
}

.gallery-section .slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  column-gap: 14px;
  flex-wrap: wrap;
}

.gallery-section .slogan p {
  position: relative;
  font-weight: 700;
  font-size: 39px;
  line-height: 151%;
  text-transform: uppercase;
}

.gallery-section .slogan p.decor {
  padding-left: 30px;
  position: relative;
}

.gallery-section .slogan p.decor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: var(--black-red);
  transform: translateY(-50%);
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .gallery-section .slogan {
    margin-bottom: 13px;
  }
  .gallery-section .slogan p {
    font-size: 32px;
  }
}

.gallery-section .pretitle {
  background-color: var(--green);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  font-weight: 700;
  padding: 15px 10px;
  color: var(--white);
  text-align: center;
  line-height: 151%;
}

@media screen and (max-width: 768px) {
  .gallery-section .pretitle {
    width: calc(100% + 32px);
    margin: 0 -16px;
  }
}

.gallery-section .gallery_grid {
  display: flex;
  width: 100%;
  gap: 18px;
  padding: 24px 0px;
}

.gallery-section .gallery_grid .image_container {
  position: relative;
  flex: 1;
}

.gallery-section .gallery_grid .image_container img {
  width: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 556px) {
  .gallery-section .gallery_grid {
    padding: 35px 24px;
    justify-content: center;
  }
  .gallery-section .gallery_grid:not(.bottom) .image_container:nth-child(1),
  .gallery-section .gallery_grid:not(.bottom) .image_container:nth-child(3) {
    display: none;
  }
  .gallery-section .gallery_grid.bottom .image_container:nth-child(1),
  .gallery-section .gallery_grid.bottom .image_container:nth-child(2) {
    display: none;
  }
  .gallery-section .gallery_grid .image_container {
    flex: 0 0 auto;
    max-width: 280px;
  }
}

.gallery-section .main_button {
  max-width: 385px;
  margin: 44px auto 10px auto;
  height: auto;
  padding: 7px;
  border-radius: 44px;
  background: var(--yellow-gradient);
  cursor: pointer;
  display: block;
}

.gallery-section .main_button .content {
  border: 2px dashed var(--brown);
  font-size: 30px;
  text-align: center;
  padding: 5px 20px;
  border-radius: 37px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .gallery-section .main_button .content {
    font-size: 26px;
    border-radius: 33px;
  }
}

@media screen and (max-width: 370px) {
  .gallery-section .main_button .content {
    font-size: 25px;
    border-radius: 32px;
  }
}

/* ========== PAYMENT SECTION (новый блок) ========== */
.payment-section {
  max-width: 850px;
  padding: 40px 16px;
  margin: 0 auto;
  background-color: #f5eee6;
}

.payment-section h1 {
  font-weight: 900;
  font-size: 60px;
  text-transform: uppercase;
  margin: 0 auto;
  width: max-content;
  color: var(--brown);
  text-align: center;
}

.payment-section h2 {
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--brown);
  margin: 0 auto;
  margin-bottom: 9px;
  width: max-content;
  text-align: center;
}

.payment-section h3 {
  font-size: 14px;
  margin: 0 auto;
  width: max-content;
  margin-top: 27px;
  text-align: center;
  font-weight: 300;
  color: var(--brown);
}

@media screen and (max-width: 768px) {
  .payment-section h3 {
    margin-top: 17px;
  }
}

.payment-section .payment_grid {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.payment-section .payment_grid .image_container {
  width: max-content;
}

.payment-section .payment_grid .image_container:nth-child(3) {
  padding: 0 20px;
}

.payment-section .payment_grid img {
  width: 100%;
}

/* ========== PRODUCTION SECTION (новый блок) ========== */
.production-section {
  padding: 40px;
  padding-top: 20px; /* Уменьшен верхний отступ */
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -20px; /* Сокращение расстояния от предыдущей секции */
  background-color: var(--milk);
}

@media screen and (max-width: 768px) {
  .production-section {
    padding: 40px 16px;
    margin-top: -30px; /* Еще меньше расстояние на мобильных */
  }
}

.production-section h1 {
  font-weight: 900;
  font-size: clamp(26px, 2vw, 37px);
  color: var(--brown);
  text-align: center;
  margin-bottom: 10px;
}

.production-section h2 {
  font-weight: 300;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5;
  color: var(--brown);
  text-align: center;
}

.production-section .product_list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
}

.production-section .product_card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F3EE 100%);
  border: 1px solid rgba(217, 217, 217, 1);
  box-shadow: 3px 3px 4.1px 0px rgba(0, 0, 0, 0.11);
  border-radius: 12px;
}

.production-section .product_card .image_container {
  position: relative;
  width: 70%;
  margin-bottom: 17px;
}

.production-section .product_card .product_image {
  width: 100%;
  height: auto;
}

.production-section .product_card .gost_marker {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 48px;
  transform: rotate(-19.96deg);
  opacity: 0.56;
}

.production-section .product_card .product_size {
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 9px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.76);
}

.production-section .product_card .product_size p {
  font-size: 9px;
  line-height: 1.5;
  color: #8E8E8E;
  font-weight: 300;
  margin: 0;
}

.production-section .product_card .product_size .number {
  font-size: 15px;
  font-weight: 700;
}

.production-section .product_card .product_type {
  width: 32%;
  position: absolute;
  top: -18px;
  right: -14px;
  min-width: 77px;
  z-index: 10;
}

.production-section .product_card .product_type img {
  width: 100%;
}

.production-section .product_card .product_name {
  color: var(--brown);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.production-section .product_card .discont_price {
  color: #8C0000;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 900;
}

.production-section .product_card .product_price {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 7px;
  text-decoration: line-through;
  text-decoration-color: #8E8E8E;
  color: #8E8E8E;
}

.production-section .product_card .main_button {
  height: 30px;
  background: var(--yelloаw-gradient);
  border-radius: 30px;
  padding: 4px;
  cursor: pointer;
  border: none;
}

.production-section .product_card .main_button .content {
  font-weight: 900;
  font-size: 15px;
  border: 1px dashed var(--brown);
  width: 100%;
  height: 100%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  padding: 0 20px;
}

/* ========== GIFT/PROMO SECTION (новый блок) ========== */
.gift-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 40px 20px;
  background-color: var(--milk);
}

.gift-section .gift-card {
  background: linear-gradient(180deg, #0A6E6D 0%, #085857 100%);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  outline: none;
}

.gift-section .gift-card::before,
.gift-section .gift-card::after,
.gift-section::before,
.gift-section::after {
  display: none !important;
  content: none !important;
}

@media screen and (max-width: 768px) {
  .gift-section .gift-card {
    flex-direction: column;
    padding: 20px;
  }
}

.gift-section .gift-image {
  flex-shrink: 0;
  width: 200px;
  border: none;
  position: relative;
  overflow: hidden;
}

.gift-section .gift-image::before,
.gift-section .gift-image::after {
  display: none !important;
}



.gift-section .gift-content {
  flex: 1;
  color: var(--white);
}

.gift-section .gift-header {
  background: #FF6B00;
  border-radius: 10px;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 15px;
}

.gift-section .gift-header span {
  font-size: 14px;
  font-weight: 700;
}

.gift-section .gift-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.gift-section .gift-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.gift-section .gift-list li {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.gift-section .gift-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #FCA503;
  font-weight: 700;
}

.gift-section .gift-subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.gift-section .gift-description {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.gift-section .gift-button {
  background: var(--yellow-gradient);
  border-radius: 30px;
  padding: 4px;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.gift-section .gift-button .content {
  border: 2px dashed var(--brown);
  border-radius: 26px;
  padding: 10px 30px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--brown);
}

/* ========== ИСПРАВЛЕНИЕ БЕЛЫХ ПОЛОС МЕЖДУ СЕКЦИЯМИ ========== */
/* Все обертки и секции должны иметь бежевый фон чтобы не было белых полос */

.wrapper,
.main_in,
main {
  background-color: #F6F3EC !important;
}

/* Убираем возможные белые полосы вокруг секций */
section {
  background-color: inherit;
}

/* Секции со своим фоном остаются без изменений */
section.delivery,
section.reviews,
.blue_block,
.end_imgs {
  /* Эти секции имеют свой фон */
}

/* Мобильные исправления для белых полос */
@media (max-width: 680px) {
  .wrapper,
  .main_in,
  main {
    background-color: #F6F3EC !important;
  }
  
  /* Убираем белые отступы между секциями */
  section.gift {
    margin-top: 0;
    padding-top: 30px;
  }
  
  /* Guarantee-order не должен иметь белый отступ снизу */
  section.guarantee-order {
    margin-bottom: 0;
  }
}

/* ==========================================
   Задача 1: 3 инфо-блока (services) в 1 ряд
   ========================================== */
.product_end {
  flex-wrap: nowrap;
  gap: 15px;
}
.product_end img {
  max-width: 280px;
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 680px) {
  .product_end {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 10px;
  }
  .product_end img {
    max-width: none;
    width: 33%;
  }
}

/* ==========================================
   Задача 5: Ссылки в хедере больше + ховер
   ========================================== */
.header_link a {
  font-size: 12px;
  transition: color 0.3s ease;
}
.header_link a:hover {
  color: #ff8100;
}
@media (max-width: 800px) {
  .header_link a {
    font-size: 10px;
  }
}



/* ==========================================
   Задача 9: "Своя ведущая фабрика" по левому краю
   ========================================== */
.blue_block_text {
  text-align: left;
}
.blue_block_text h2 {
  text-align: left;
}
.blue_block_text p {
  text-align: left;
}

/* ==========================================
   Задача 13: Центрировать текст "Заказать сегодня"
   ========================================== */
.catalog-item .btn-medium {
  text-align: center;
}

/* ==========================================
   Задача 21: Увеличить цены в сопутствующих товарах
   ========================================== */
.catalog-item .catalog-cost {
  font-size: 28px;
}
.catalog-item .catalog-cost span {
  font-size: 28px;
}
@media (max-width: 680px) {
  .catalog-item .catalog-cost {
    font-size: 24px;
  }
  .catalog-item .catalog-cost span {
    font-size: 24px;
  }
}

/* ==========================================
   Задача 20: Оранжевый блок "Отправка по РФ"
   ========================================== */
.shipping-banner {
  text-align: center;
  padding: 25px 15px;
  background-color: #F6F3EC;
}
.shipping-banner p {
  font-size: 28px;
  font-weight: 700;
  color: #ff8100;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 680px) {
  .shipping-banner p {
    font-size: 20px;
  }
}

/* ===== Блок "Тулупы.ру — это" с Путиным ===== */
.tolops-section {
  width: 100%;
  margin-top: 70px;
  display: flex;
  align-items: flex-end;
  padding: 0px 0px 0px 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tolops-termin {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 1;
  min-width: 470px;
}

.tolops-termin h2 {
  font-size: 39px;
  font-weight: 700;
  padding-right: 20px;
  line-height: 150%;
  color: #270000;
}

.tolops-description {
  padding: 25px 20px 20px 20px;
  width: 100%;
  background: var(--yellow-gradient);
}

.tolops-description p {
  position: relative;
  font-weight: 700;
  font-size: 30px;
  max-width: 354px;
  margin-left: auto;
  line-height: 150%;
  color: #270000;
}

.tolops-description p img {
  position: absolute;
  bottom: -20px;
  left: 0;
  transform: translateX(-100%);
  width: 210px;
}

.tolops-putin {
  width: 100%;
  min-width: 300px;
  max-width: 467px;
  display: block;
  margin-right: -35px;
}

@media screen and (max-width: 991px) {
  .tolops-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }
  .tolops-termin {
    min-width: 10px;
  }
  .tolops-description {
    padding: 25px 20px 20px 185px;
  }
  .tolops-description p img {
    width: 250px;
  }
  .tolops-putin {
    margin-right: 0px;
    max-width: none;
    padding: 10px;
  }
}

@media screen and (max-width: 556px) {
	.tolops-section {
	  margin-top: 20px;
	}
  .tolops-termin h2 {
    font-size: 27px;
    padding-right: 0;
    display: block;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .tolops-description p {
    font-size: 21px;
    max-width: 156px;
  }
  .tolops-description {
    padding: 25px 20px 20px 160px;
  }
  .tolops-description p img {
    width: 180px;
  }
}


.lider_block {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  padding: 25px 0px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.image_item {
  flex: 1;
  position: relative;

  .year {
    position: absolute;
    top: 20px;
    left: 2.5dvw;
    font-weight: 800;
    font-size: 37px;
    color: var(--white);
  }

  img {
    width: 100%;
    height: auto;
    border-radius: 30px;
  }
}

@media screen and (max-width: 768px) {
  .image_item:nth-child(1) {
    order: 1;
  }
  .image_item:nth-child(1) {
    order: 3;
  }
}

.lider_block .slogan {
  position: relative;
  top: -30px;
  width: 100%;
  flex: 1 1 100%;
  background-color: var(--green);
  padding-top: clamp(60px, 4dvw, 80px);
  padding-right: 60px;
  padding-left: 60px;
  padding-bottom: clamp(9px, 4dvw, 30px);

  @media screen and (max-width: 768px) {
    top: 0;
    flex: 1;
    order: 2;
  }

  h3 {
    font-size: clamp(30px, 4dvw, 38px);
    font-family: 'museo-sans-cyrl-900';
    color: var(--white);
    text-align: center;
  }
  
  .main_button {
    background: var(--yellow-gradient);
    border-radius: 30px;
    height: 40px;
    padding: 4px;

    .content {
        border: 1px dashed var(--brown);
        width: 100%;
        height: 100%;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-weight: 700;    
        font-size: 15px;
        padding: 0 20px;
    }
}

.icon_btn {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    background-color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        width: 45px;
    }
}

  .main_button {
    position: absolute;
    left: 50%;
    top: -25%;
    transform: translateX(-50%);
    height: max-content;
    border-radius: 100px;
    width: max-content;

    .content {
      padding: 10px 4dvw;
      font-size: clamp(23px, 4dvw, 37px);
    }

    @media screen and (max-width: 768px) {
      max-width: 90%;
    }
  }
}


/*# sourceMappingURL=style.css.map */