@font-face {
  font-family: "PT Sans";
  src: url("../fonts/ptsans/ptsans.woff2") format("woff2"),
    url("../fonts/ptsans/ptsans.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/ptsans/ptsansbold.woff2") format("woff2"),
    url("../fonts/ptsans/ptsansbold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans Narrow";
  src: url("../fonts/web/ptsansnarrow.woff2") format("woff2"),
    url("../fonts/ptsans/ptsans.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans Narrow";
  src: url("../fonts/web/ptsansnarrowbold.woff2") format("woff2"),
    url("../fonts/web/ptsansnarrowbold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  height: 100%;
}

body {
  min-width: 1020px;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  background-color: #fbf7f4;
}

img {
  max-width: 100%;
  object-fit: contain;
}

.button {
  display: inline-block;
  box-sizing: border-box;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background-color: #000;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.button:hover,
.footer-social-link:focus {
  background-color: #814b18;
}
.button:focus,
.button:active,
.footer-social-link:focus,
.footer-social-link:active {
  outline: 2px solid #dbb590;
  background-color: #4e2e0e;
}
.button:disabled,
.slider-button:disabled {
  color: #e7e7e7;
  background-color: #595959;
}
.button:disabled:hover {
  background-color: #595959;
  outline: none;
  cursor: default;
}
.button-feedback,
.button-feedback:active,
.button-current,
.button-current:active {
  color: #000;
  background-color: #fff;
}
.button-feedback:hover {
  background-color: #dbb590;
}
.button-feedback:focus {
  outline: 2px solid #af7842;
  background-color: #dbb590;
}
/* if .button is next to another .button (right to left),
than use margin-left  */
/* .button + .button {
  margin-left: 16px;
} */
.contacts-navigation .button {
  margin-right: 16px;
  margin-bottom: 5px;
}
.button-all {
  padding-right: 44px;
  background-image: url("../img/chevron-right.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center right 20px;
}
.button-info {
  position: absolute;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  margin-left: 2px;
  padding: 0;
  background-color: transparent;
  border: none;
  background-image: url("../img/info-circle-fill.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.slider-button {
  width: 48px;
  height: 60px;
  color: #fff;
  background-color: #000;
  border: none;
  cursor: pointer;
  background-image: url("../img/chevron-right.svg");
  background-position: center;
  background-repeat: no-repeat;
}
.slider-button:hover {
  background-color: #814b18;
}
.slider-button:focus {
  outline: 2px solid #dbb590;
  background-color: #4e2e0e;
}
.slider-prev {
  transform: rotate(180deg);
}
.slider-controls {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* 4th way of centering an element */
  top: 50%;
  transform: translateY(-50%);
}
.slider-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.slider-pagination-item {
  margin: 0 4px;
}
.slider-pagination-button {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  background-color: #dbdbdb;
  border: none;
  /* getting circles from squares */
  border-radius: 50%;
  cursor: pointer;
}
.slider-pagination-button:hover {
  background-color: #af7842;
}
.slider-pagination-button:focus {
  background-color: #dbb590;
  outline: none;
}
.slider-pagination-button-current {
  background-color: #242424;
}
.slider-image {
  display: block;
}
.slider-wrapper {
  position: relative;
}
.card-grid-toggle {
  /* 2nd way to center elements */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  width: 56px;
  height: 44px;
}
.card-grid-toggle:hover {
  background-color: #814b18;
}
.card-grid-toggle:focus {
  outline: 2px solid #dbb590;
  background-color: #4e2e0e;
}
.card-grid-toggle svg {
  fill: #fff;
}
.card-grid-toggle:hover svg,
.card-grid-toggle:focus svg {
  fill: #fff;
}
.card-grid-toggle-current {
  background-color: #fff;
}
.card-grid-toggle-current svg {
  fill: #000;
}
.newsletter-button {
  width: 56px;
  height: 44px;
  background-image: url("../img/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.sorting-container .button {
  width: 56px;
  height: 44px;
}
.pagination-show-more {
  margin-left: auto;
  max-width: 170px;
}
/*Pages*/
.page-header {
  color: #fff;
  background: #000;
}
.header-container {
  display: flex;
  width: 940px;
  margin: 0 auto;
}
.main-index {
  color: #fff;
  background-color: #000;
  background-image: url(../img/background.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.main-inner {
  padding-top: 40px;
}
.newsletter {
  max-width: 300px;
}
.services {
  text-transform: uppercase;
  width: 390px;
}
.contacts {
  width: 350px;
  font-weight: 700;
}
.page-footer {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: #242424;
}
.page-footer-container {
  display: flex;
  width: 940px;
  margin: 0 auto;
  padding: 40px 0;
}
.sorting-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 16px;
  padding: 16px;
  color: #000;
  background-color: #fff;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.pagination-container {
  display: flex;
  padding: 16px;
  background-color: #fff;
}
.page-container {
  width: 940px;
  margin: 0 auto;
}
.logo {
  display: block;
  margin: 0 auto;
  margin-bottom: 64px;
}
.navigation-logo {
  width: 140px;
  margin: auto 100px auto 0;
}
.footer-contacts-logo {
  display: block;
  margin-bottom: 24px;
}
.navigation-icon {
  /* to set the icons right in the center of the button: 
  resetting icons' location to the absolute center of the page;
  then need to change position of the parent to relative to change 
  the absolute zero pos from the page to the button */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  fill: #dbdbdb;
}
.navigation-link-login .navigation-icon {
  right: auto;
  left: 20px;
  margin: auto 0;
}
.pagination-prev {
  background-image: url("../img/chevron-left.svg");
  background-position: 16px center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  padding-left: 40x;
  padding-right: 18px;
}
.pagination-next {
  background-image: url("../img/chevron-right.svg");
  background-position: center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  padding-left: 40x;
  padding-right: 18px;
}
.gallery {
  width: 390px;
}
.appointment {
  width: 430px;
}
.footer-contacts {
  width: 200px;
  margin-right: 130px;
}
.footer-social {
  margin-left: auto;
  max-width: 190px;
}
.navigation {
  display: flex;
  margin: 0 auto;
}
.catalos {
  display: flex;
}
.catalog-filter {
  width: 220px;
  margin-right: 20px;
}
.catalog-right-column {
  width: 700px;
}
.advantages {
  margin-bottom: 58px;
}
.advantages-description {
  margin: 0;
}
.catalog-products {
  display: flex;
}
/* Sticky footer */
.main-container {
  flex-grow: 1;
  padding-top: 64px;
  padding-bottom: 60px;
}
/*Links*/
.navigation-link {
  position: relative;
  display: block;
  padding: 24px 20px;
  line-height: 22px;
  color: inherit;
  background-color: #000;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.navigation-link:focus,
.navigation-link:active {
  box-shadow: inset 0 0 0 4px #e7e7e7;
  outline: none;
}
/* white underline on active buttons */
.navigation-link-current::before {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 4px;
  background-color: #fff;
  content: "";
}
.navigation-link-login {
  padding-left: 44px;
}
.navigation-user .navigation-link {
  min-width: 16px;
  min-height: 22px;
}
.navigation-link:hover {
  background-color: #595959;
}
.navigation-link:hover .navigation-icon {
  fill: #242424;
}
.navigation-link:focus {
  box-shadow: inset 0 0 0 4px #e7e7e7;
  outline: none;
}
.page-footer a {
  color: inherit;
}
.page-footer .company-link {
  font-size: 14px;
  color: #dbb590;
}
.footer-contacts-map-link {
  font-size: 20px;
  line-height: 20px;
  color: inherit;
  text-transform: uppercase;
}
.breadcrumbs-link,
.breadcrumbs-link-nohref {
  color: inherit;
  font-weight: 700;
}
.product-card-image-link {
  text-decoration: none;
  grid-column: 1/-1;
  background-color: #f6f6f6;
}
.product-card-title-link,
.product-card-price,
.product-card-button {
  grid-column: 2/3;
  /* background-color: #fff; */
}
.product-card-title-link {
  margin-top: 16px;
  margin-bottom: 8px;
}
.pagination-link {
  display: block;
  box-sizing: border-box;
  min-width: 50px;
  min-height: 44px;
  padding: 14px 20px;
  color: #fff;
  background-color: #000;
  text-decoration: none;
  line-height: 16px;
}
.pagination-link:hover {
  background-color: #814b18;
}
.pagination-link:focus {
  outline: 2px solid #dbb590;
  background-color: #4e2e0e;
}
.pagination-current {
  color: #000;
  background-color: #fff;
}
.pagination-disabled {
  background-color: #595959;
}
.footer-social-link {
  display: block;
  padding: 0;
  height: 44px;
  background-color: #000;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
}
.footer-social-vk {
  background-image: url("../img/vk.svg");
}
.footer-social-inst {
  background-image: url("../img/inst.svg");
}
.footer-social-fb {
  background-image: url("../img/fb.svg");
}
/*Lists*/
.advantages-list {
  display: grid;
  grid-template-columns: repeat(3, 277px);
  gap: 30px 54.5px;
  text-align: center;
  list-style-type: none;
  margin: o;
  padding: 0;
  color: #fff;
}
.services-list {
  padding: 0;
  margin: 0;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  list-style-type: none;
}
.navigation-list {
  display: flex;
  flex-wrap: wrap;
  width: 430px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.navigation-user {
  max-width: 250px;
  margin-left: auto;
}
.contacts-schedule {
  margin: 8px 0;
  padding: 0;
  list-style-type: none;
}
.contacts-navigation {
  margin-top: 21px;
  margin-bottom: 0;
}
.appointment-info {
  color: #595959;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 22px;
}
.footer-social-list {
  display: flex;
  margin: 0;
  margin-bottom: 28px;
  padding: 0;
  flex-wrap: wrap;
  list-style-type: none;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  list-style-type: none;
  margin: 0;
  margin-bottom: 24px;
  padding: 0;
  gap: 20px;
  /* layout using flex:
  display: flex;
  flexwrap: wrap;
  width:220px 
  ...
  .product-card-item {
    margin-right: 20 px;
  }
  .product-card-item:nth-child(3n) {
    margin-right: 0;
  }
  ... */
}
.catalog-filter-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.catalog-filter-item:not(:last-child) {
  margin-bottom: 16px;
}
/*Titles*/
.advantages-title {
  position: relative;
  font-family: "PT Sans Narrow", sans-serif;
  margin-top: 0;
  margin-bottom: 56px;
  font-size: 32px;
  line-height: 35px;
  text-transform: uppercase;
}
/* creating a square and rotating it to look like a polygon */
.advantages-title::before {
  position: absolute;
  bottom: -35px;
  /* 3rd way to center an element */
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  background-color: #fff;
  content: "";
  transform: rotate(45deg);
}
.services-title,
.contacts-title,
.gallery-title,
.appointment-title {
  font-family: "PT Sans Narrow", sans-serif;
  margin-top: 0;
  font-size: 32px;
  line-height: 35px;
  font-weight: 700;
  text-transform: uppercase;
}
.services-title {
  margin-bottom: 28px;
}
.gallery-title {
  margin-bottom: 20px;
}
.contacts-title {
  margin-bottom: 24px;
}
.appointment-title {
  margin-bottom: 20px;
}
.inner-header-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 35px;
  font-weight: 700;
  text-transform: uppercase;
}
.page-footer-title,
.catalog-filter-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}
.page-footer-title,
.footer-social-title {
  font-family: "PT Sans Narrow";
  margin-top: 0;
  margin-bottom: 14px;
}
.catalog-filter-title {
  margin-bottom: 16px;
  color: #242424;
  text-transform: uppercase;
}
.product-card-title {
  font-weight: 700;
  color: #242424;
}
/*Forms*/
.appointment-form {
  display: grid;
  grid-template-columns: 115px 74px 208px;
  gap: 14px 16px;
  color: #595959;
}
.field-group {
  display: flex;
  flex-direction: column;
  /* align-items: stretch; by default */
  margin: 0;
}
/* .field-group span,
.field-group input {
  display: block;
  box-sizing: border-box;
  width: 100%;
} */
.field {
  margin: 0;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  background-color: #fff;
  border: 2px solid #242424;
}
.field:hover,
.field:focus {
  border-color: #af7842;
}
.field:focus {
  outline: 2px solid #dbb590;
}
.field:disabled,
.field:disabled:hover {
  color: #595959;
  background-color: #dbb590;
  border-color: #595959;
}
.newsletter-email {
  flex-grow: 1;
  margin: 0;
}
.newsletter-email .field {
  /* width: 192px; */
  width: 100%;
  box-sizing: border-box;
}
/* for highlighting errors: */
/* better way is to create a class and connect with js :
.error {
  border-color: #ea5454;
} */
/* css way: */
.field:invalid {
  box-shadow: none;
}
.field:focus:invalid {
  border-color: #ea5454;
}

.field::placeholder {
  color: #dbdbdb;
  opacity: 1;
}
.appointment-form-name {
  grid-column: 1/-1;
}
.appointment-submit {
  grid-column: 1/-1;
  justify-self: start;
  margin-top: 9px;
}
.sorting-type-form {
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  width: 280px;
}
/* Select form */
.select {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
  margin-right: auto;
}
.select-control {
  width: 100%;
  padding: 8px 14px;
  padding-right: 48px;
  font: inherit;
  font-weight: 700;
  background-color: #fff;
  border: 2px solid #242424;
  background-image: url("../img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
}
.select-control:hover,
.select-control:active,
.select-control:focus {
  border-color: #af7842;
}
.select-control:focus,
.select-control:active {
  outline: 2px solid #dbb590;
}
/* Catalog input */
.control {
  position: relative;
  display: block;
  padding-left: 36px;
  line-height: 22px;
}
.control-mark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #242424;
}
.control-label {
  line-height: 22px;
  font-weight: 700;
}
.control:hover .control-mark {
  border-color: #242424;
}
.control-input:disabled + .control-mark {
  border-color: #242424;
}
/* original checkbox is hidden, to use a custom checkbox 
add these params to the 2 pseudoelements which creates 
2 lines transformed into  a mark sign ( (original checkbox is checked 
when the whole range of the input containing 3 elemts is clicked on) : */
.control-input[type="checkbox"]:checked + .control-mark::before,
.control-input[type="checkbox"]:checked + .control-mark::after {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 2px;
  background-color: #242424;
  content: "";
}
/* rotating the 2 lines to create a check mark : */
.control-input[type="checkbox"]:checked + .control-mark::before {
  transform: rotate(45deg);
}
.control-input[type="checkbox"]:checked + .control-mark::after {
  transform: rotate(-45deg);
}
/* Radio buttons form */
.control-input[type="radio"] + .control-mark {
  border-radius: 50%;
}
.control-input[type="radio"]:checked + .control-mark::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #242424;
  border-radius: 50%;
  content: "";
}
/* Range slider */
.range {
  max-width: 220px;
  overflow: auto;
  padding-top: 8px;
}
.range-scale {
  position: relative;
  height: 4px;
  margin-bottom: 16px;
  background-color: #242424;
  border-radius: 2px;
}
.range-bar {
  position: absolute;
  height: 4px;
  background-color: #af7842;
}
/* to animate the slider use js 
to change the length of the range bar;
toggles will be nailed to the sides of the bar */
.range-toggle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #242424;
  border-radius: 50%;
  cursor: pointer;
}
.range-toggle:hover {
  background-color: #dbb590;
}
.range-toggle:active,
.range-toggle:focus {
  outline: 3px solid #dbb590;
}
.toggle-min {
  top: -8px;
  /* width is 20px, to center the slider 
  in the end of the orange line move 
  to the side to a radius length */
  left: -10px;
}
.toggle-max {
  top: -8px;
  right: -10px;
}
.range-wrapper-inputs {
  display: flex;
  justify-content: center;
}
.catalog-filter-label {
  display: flex;
  margin-right: 5px;
}
.range-input {
  width: 35px;
  padding: 0 2px;
  font: inherit;
  text-align: center;
  background-color: transparent;
  border: none;
  appearance: textfield;
}
/* to disable the automatic number input "+1", "-1" buttons: */
.range-input::-webkit-inner-spin-button,
.range-input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

/*Labels*/
.form-label {
  margin-bottom: 8px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
}
.form-label label {
  margin-right: 3px;
}
.form-label-icon {
  position: relative;
  padding-right: 16px;
}
/*Items*/
.navigation-item {
  position: relative;
}
.product-card-item {
  display: grid;
  grid-template-rows: 200px min-content auto min-content 16px;
  grid-template-columns: 16px 188px 16px;
  background-color: #f6f6f6;
}
.services-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.services-item::before {
  flex-grow: 1;
  order: 2;
  margin-right: 16px;
  margin-left: 16px;
  border-bottom: 2px dotted rgba(89, 89, 89, 0.5);
  content: "";
}
.breadcrumbs-item {
  position: relative;
  margin-right: 32px;
  list-style-type: none;
}
.breadcrumbs-item::after {
  position: absolute;
  top: 7px;
  right: -20px;
  width: 8px;
  height: 8px;
  background-color: #242424;
  content: "";
  transform: rotate(45deg);
}
.breadcrumbs-item:last-child::after {
  content: none;
}
.pagination-item {
  margin-bottom: 5px;
}
.footer-social-item {
  width: 56px;
  height: 44px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.footer-social-item:nth-child(3n) {
  margin-right: 0;
}
.pagination-item:not(:last-child) {
  margin-right: 8px;
}
/*Index-columns*/
.index-columns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 40px;
  color: #000;
  background-color: #fbf7f4;
  background-image: url("..//img/bg-block.jpg");
  position: relative;
}
.index-columns:last-child {
  margin-bottom: 0;
}
/* creating dashed lines between blocks  */
.index-columns::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 0;
  border-right: 1px dashed #595959;
}
.index-columns:first-of-type::after {
  left: 470px;
}
.index-columns:last-of-type::after {
  left: 430px;
}
.catalog-filter-control {
  font-weight: 700;
}
.catalog-filter-group {
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
  border: none;
}
/*Price*/
.services-price {
  order: 3;
  color: #af7842;
  word-spacing: 3px;
}
.product-card-price {
  font-size: 24px;
  line-height: 29px;
  letter-spacing: -2px;
  font-weight: 700;
  color: #814b18;
  text-transform: uppercase;
  margin-bottom: 16px;
}
/*Address*/
.contacts-address-text,
.footer-contacts-address {
  font-style: normal;
}
.contacts-address-text {
  margin: 8px 0;
}
.footer-contacts-address {
  margin-bottom: 16px;
  font-style: normal;
}
.footer-contacts-address-text {
  margin-top: 0;
  margin-bottom: 4px;
}
.footer-contacts-address p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #fff;
}
/*Subtitle*/
.contacts-subtitle {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  color: #af7842;
}
/*Phone*/
.contacts-phone {
  font-size: 24px;
  line-height: 29px;
  text-decoration-line: underline;
  text-transform: uppercase;
  color: #242424;
}
.footer-contacts-address-phone {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-decoration: underline;
  text-transform: uppercase;
}
/*Breadcrumbs*/
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: #242424;
  list-style-type: none;
}
/*Light*/
.button-light {
  color: #242424;
  background-color: #fff;
}

/* ! */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
/* Pop-over */
.popover {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 300px;
  padding: 40px;
  font-family: "PT Sans Narrow", sans-serif;
  color: #242424;
  background-color: #fff;
  min-height: 186px;
  box-shadow: 0 18px 40px rgba(79, 60, 0, 16);
  display: none;
}
.popover-open {
  display: block;
}
.popover-close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 77px;
  height: 70px;
}
.popover-cart {
  width: 420px;
}
.popover-cart .popover-close-button {
  padding-left: 44px;
  background-image: url("../img/cart.svg");
  background-repeat: no-repeat;
  background-position: 22px center;
}
.popover-content {
  height: 100%;
}
.popover-title {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 35px;
  color: #000;
  text-transform: uppercase;
}
.cart-item {
  display: grid;
  grid-template-columns: 284px 56px;
}
.cart-item-title {
  margin-top: 0;
  margin-bottom: 2px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #242424;
  text-transform: uppercase;
}
.cart-item-price {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #af7842;
}
.cart-item .button {
  grid-row: 1/3;
  grid-column: 2/3;
}
.cart-item + .cart-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed #595959;
}
/* Modal window */
.modal-container {
  /* "fixed" will follow the viewport: */
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal {
  position: relative;
  margin: auto;
  padding: 40px;
  background-color: #fff;
}
.modal-auth {
  width: 360px;
}
.modal-close-button {
  position: absolute;
  padding: 0;
  top: 0;
  right: 0;
  width: 56px;
  height: 44px;
  background-color: #fff;
  border: none;
  background-image: url("../img/x-lg.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.modal-title {
  margin: 0;
  margin-bottom: 24px;
  font-family: "PT Sans Narrow", sans-serif;
  font-size: 30px;
  left: 35px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}
.auth-form .field-group {
  margin: 0;
  margin-bottom: 16px;
}
.auth-form-user-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-weight: 400;
}
.auth-form-user-options .control-label {
  font-weight: 400;
}
.auth-form-checkbox {
  padding-left: 30px;
}
.auth-form .field {
  width: 328px;
}
.auth-form-recovery {
  line-height: 22px;
  color: #000;
}
.auth-form-button {
  width: 360px;
  margin-bottom: 16px;
}
.auth-form .button + .button {
  margin: 0;
}
.auth-form-register {
  width: 360px;
  color: #000;
  background-color: #fff;
}
.modal-container-close {
  display: none;
}
