:root {
  --white: #ffffff;
  --dark-grey: #382e2d;
  --light-blue: #c18b7f;
  --regular-blue: #5c6b6e;
  --scroll: 0;
  --flower-shift: 0;
}

/*reset css*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  height: 100%;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*---*/

/*common*/
html {
  width: 100%;
}

body {
  width: 100%;
  background-color: var(--white);
  color: var(--dark-grey);
  background-image: url("../assets/images/bg_site.jpg");
  background-repeat: no-repeat;
  background-size: contain;
}

input::placeholder {
  color: var(--dark-grey);
}

input:focus::placeholder {
  color: transparent;
}

section {
  width: 100%;
}

h1 {
  font-size: 98px;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 95px;
  word-wrap: break-word;
}

h2 {
  font-family:
    Open Sans,
    sans-serif;
  font-stretch: condensed;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 46px;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: var(--light-blue);
}

button {
  padding: 20px 60px;
  background: var(--light-blue);
  color: var(--white);
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  border: none;
  width: fit-content;
  cursor: pointer;
  box-sizing: border-box;
}

header {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  z-index: 8000;
}

header .contact-section {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

header .contact-section svg {
  fill: var(--light-blue);
}

header .contact-section:hover svg {
  fill: var(--regular-blue);
}

header .contact-section span {
  color: var(--dark-grey);
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

footer {
  display: flex;
  margin-top: 40px;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

footer .copyright {
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

footer .socmedia-block {
  display: flex;
  column-gap: 10px;
}

footer .socmedia-block a svg {
  fill: var(--dark-grey);
}

footer .socmedia-block a:hover svg {
  fill: var(--light-blue);
}

.main-container {
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.with-border {
  padding-top: 18px;
  padding-bottom: 18px;
  border: 2px solid var(--white);
}

.icon-button {
  width: auto;
  height: auto;
  background: transparent;
  padding: 0;
}

.order-dialog {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light-blue);
  z-index: 9000;
  padding: 60px;
  box-sizing: border-box;
  border: none;
}

.order-dialog_header {
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-dialog_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.order-dialog_container .order-block_description {
  text-align: center;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: -14px;
}

.blue-highlighted {
  color: var(--light-blue);
}
/*---*/

/*main*/
.main {
  display: flex;
  column-gap: 40px;
  align-items: center;
}

.main .text-wrapper {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  z-index: 2;
}

.main .text-wrapper a {
  white-space: nowrap;
}

.main .image-wrapper {
  position: relative;
  flex-basis: 50%;
  translate: -20% 0;
}

.main .image-wrapper .bottle-image-box {
  overflow: hidden;
}

.main .image-wrapper .bottle-image {
  position: absolute;
  top: -100px;
  left: 50%;
  z-index: 2;
  width: 100%;
  opacity: 0.8;
  transform: translateY(calc(var(--scroll) * -0.3px)) translateX(-50%);
}

.main .image-wrapper .flower-image {
  position: absolute;
  top: 27%;
  left: 52%;
  width: 75%;
  z-index: 1;
  transform: translateY(calc(var(--scroll) * -0.7px))
    translateX(calc(var(--flower-shift) * 1px));
}
/*---*/

/*catalog*/
.catalog h2 {
  text-transform: initial;
}

.catalog ul {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.catalog ul li {
  display: flex;
  flex-direction: column;
}

.catalog ul li:hover .image-wrapper {
  rotate: 10deg;
}

.catalog ul li:hover .text-wrapper .description,
.catalog ul li .text-wrapper .price-primary {
  color: var(--light-blue);
}

.catalog ul li button {
  display: none;
}

.catalog ul li div {
  position: relative;
}

.catalog ul .image-wrapper {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  height: 256px;
  text-align: center;
}

.catalog ul li div button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1;
}

.catalog ul li div:hover button {
  display: block;
}

.catalog ul .text-wrapper {
  padding: 20px 20px 40px 20px;
}

.catalog ul .text-wrapper div + div {
  margin-top: 20px;
}

.catalog ul .text-wrapper .description {
  text-align: center;
  font-family:
    Open Sans,
    sans-serif;
  font-stretch: condensed;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  flex: 1;
}

.catalog ul .text-wrapper .price-primary {
  text-align: center;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-stretch: condensed;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.catalog ul .text-wrapper .price-primary .kopecks {
  scale: 0.5;
  font-size: 12px;
  line-height: 14px;
  position: relative;
  top: -11.5px;
}

.catalog ul .text-wrapper .price-secondary {
  color: #bfd2e3;
  text-align: center;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-stretch: condensed;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
/*---*/

/*contact*/

.contact .order-block,
.order-dialog .order-block {
  background: var(--light-blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
  min-height: 235px;
  box-sizing: border-box;
}

.contact .order-block {
  padding: 35px;
  justify-content: center;
}

.contact .order-block.success,
.order-dialog .order-block.success {
  display: none;
}

.contact .order-block h2,
.order-dialog .order-block h2 {
  text-transform: initial;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
}

.contact .order-block h3,
.order-dialog .order-block h3 {
  text-align: center;
  font-family:
    Open Sans,
    sans-serif;
  font-stretch: condensed;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
}

.contact .order-block .order-block_policy,
.order-dialog .order-block .order-block_policy {
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-align: center;
  text-wrap: balance;
}

.contact .order-block .order-block_form,
.order-dialog .order-block .order-block_form {
  display: flex;
  align-items: center;
  column-gap: 10px;
  width: 50%;
}

.order-dialog .order-block .order-block_form {
  width: 76%;
}

.contact .order-block .order-block_form input,
.order-dialog .order-block .order-block_form input {
  color: var(--dark-grey);
  text-align: center;
  font-family:
    Open Sans,
    sans-serif;
  font-stretch: condensed;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  height: 60px;
  border: none;
  width: 100%;
  padding: 0;
}

.contact .socmedia-block {
  padding-top: 35px;
  display: flex;
  flex-direction: column;
  row-gap: 13px;
}

.contact .socmedia-block h3 {
  text-align: center;
  font-family:
    Open Sans,
    sans-serif;
  font-stretch: condensed;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact .socmedia-block .links {
  display: flex;
  column-gap: 20px;
}

.contact .socmedia-block .links a {
  flex-basis: 50%;
  background: #d2f3ff40;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
  padding: 14px 20px;
  box-sizing: border-box;
}

.contact .socmedia-block .links a:hover {
  background: transparent;
  border: 2px solid var(--light-blue);
}

/*---*/

.with-hover_regular-blue:hover {
  background: var(--regular-blue);
}

.with-hover_white:hover {
  color: var(--light-blue);
  background: var(--white);
}

@media screen and (max-width: 1179px) {
  /*common*/
  section + section {
    margin-top: 40px;
  }

  button {
    width: 100%;
  }

  header {
    margin-top: 30px;
    padding: 0 20px;
  }

  header .contact-section span {
    display: none;
  }

  footer {
    padding: 40px 20px;
  }

  .container {
    padding: 0 20px;
  }

  .order-dialog {
    padding: 20px;
  }

  .order-dialog_header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .order-dialog_container .order-block_description {
    display: none;
  }
  /*---*/

  /*main*/
  .main {
    flex-direction: column;
  }

  .main h1,
  .main h2 {
    text-align: center;
  }

  .main .text-wrapper {
    gap: 0;
    order: 2;
    margin-top: -55%;
    z-index: 3;
    width: 100%;
  }

  .main .text-wrapper h1 {
    box-shadow: inset 0 -25dvh 20px -100px var(--white);
    text-shadow: 0 -5px 20px var(--white);
  }

  .main .text-wrapper h1 span {
    display: list-item;
    list-style: none;
  }

  .main .text-wrapper h2 {
    padding: 18px 0;
    background: var(--white);
  }

  .main .image-wrapper {
    order: 1;
    translate: initial;
  }

  .main .image-wrapper .flower-image {
    width: 60%;
  }
  /*---*/

  /*catalog*/
  .catalog ul {
    margin-top: 30px;
    row-gap: 30px;
    column-gap: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .catalog ul li button {
    display: block;
  }

  .catalog ul li div:hover button {
    display: none;
  }

  .catalog ul li:hover .image-wrapper {
    rotate: none;
  }

  .catalog ul li:hover .text-wrapper .description {
    color: inherit;
  }
  /*---*/

  /*contact*/
  .contact .order-block,
  .order-dialog .order-block {
    min-height: 281px;
  }

  .contact .order-block .order-block_form,
  .order-dialog .order-block .order-block_form {
    width: 100%;
  }

  .contact .order-block .order-block_form .order-action-button,
  .order-dialog .order-block .order-block_form .order-action-button {
    width: fit-content;
  }

  .contact .socmedia-block {
    padding-top: 20px;
  }

  .contact .socmedia-block h3 {
    display: none;
  }

  .contact .socmedia-block .links {
    column-gap: 12px;
  }

  .contact .socmedia-block .links .email p span:first-child {
    display: none;
  }
  /*---*/
}

@media screen and (max-width: 570px) {
  /*common*/
  h1 {
    font-size: 44px;
    font-weight: 400;
    line-height: 50px;
  }

  h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
  }

  footer {
    flex-direction: column;
    margin-top: 0;
    padding: 20px;
    row-gap: 47px;
  }
  /*---*/

  /*main*/
  .main .text-wrapper h1 {
    box-shadow: inset 0 -30dvh 20px -100px var(--white);
    text-shadow: 0 -5px 20px var(--white);
  }
  /*---*/

  /*catalog*/
  .catalog ul {
    grid-template-columns: calc((100% - 16px) / 2) calc((100% - 16px) / 2);
  }

  .catalog ul li button {
    padding-left: 0;
    padding-right: 0;
  }
  /*---*/

  /*contact*/
  .contact .order-block {
    width: calc(100% + 40px);
    margin-left: -20px;
    min-height: 224px;
  }

  .contact .order-block {
    padding: 20px;
  }

  .contact .order-block h3,
  .order-dialog .order-block h3 {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }

  .contact .order-block .order-block_form,
  .order-dialog .order-block .order-block_form {
    column-gap: 7px;
  }

  .contact .order-block .order-block_form button,
  .order-dialog .order-block .order-block_form button {
    padding-left: 7px;
    padding-right: 7px;
  }
  /*---*/
}
