/* GLOBAL */
@font-face {
  font-family: "Gilroy";
  src: url("/themes/custom/fourcheeses/assets/fonts/Gilroy-Regular.woff2") format("woff2"), url("../assets/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/themes/custom/fourcheeses/assets/fonts/Gilroy-ExtraBold.woff2") format("woff2"), url("../assets/fonts/Gilroy-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OldStandardTT";
  src: url("/themes/custom/fourcheeses/assets/fonts/OldStandardTT-Regular.woff2") format("woff2"), url("../assets/fonts/OldStandardTT-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OldStandardTT";
  src: url("/themes/custom/fourcheeses/assets/fonts/OldStandardTT-Bold.woff2") format("woff2"), url("../assets/fonts/OldStandardTT-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OldStandardTT";
  src: url("/themes/custom/fourcheeses/assets/fonts/OldStandardTT-Italic.woff2") format("woff2"), url("../assets/fonts/OldStandardTT-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
body {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 360px;
  color: #47595e;
  font-family: "Gilroy", "Arial", sans-serif;
  line-height: 1.3;
  font-size: 18px;
  font-weight: 400;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 1023px) {
  body.opened-menu {
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    position: absolute;
  }
}
body.opened-popup {
  overflow: hidden;
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  scroll-behavior: smooth;
}

main {
  flex-grow: 1;
}

input,
textarea {
  color: #47595e;
  font-family: inherit;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
          appearance: none;
}

input[type=button],
input[type=submit],
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
          appearance: none;
}

a {
  color: #005f60;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:hover {
  color: #e1b430;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
}

/* titles */
h1 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
}

h2 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
  font-size: 48px;
  line-height: 1.3;
}
@media (max-width: 1023px) {
  h2 {
    font-size: 40px;
    line-height: 1;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 24px;
    line-height: 1.25;
  }
}

h3 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
}

h4 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
}

h5 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
}

h6 {
  font-family: "OldStandardTT", "Times New Roman", serif;
  color: #000000;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

.container {
  min-width: 360px;
  max-width: 1260px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
}
@media (max-width: 1023px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.visually-hidden,
input[type=checkbox].visually-hidden,
input[type=radio].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 102;
  display: none;
}
.overlay.open {
  display: block;
}

.page__body--inner h1,
.page__body--inner h2 {
  text-align: left;
}

.page__grid-columns {
  display: flex;
  gap: 20px;
}
@media (max-width: 1259px) {
  .page__grid-columns {
    display: block;
  }
}

.page__sidebar {
  width: 280px;
  flex-shrink: 0;
  order: -1;
}

@media (max-width: 1259px) {
  .page__sidebar {
    display: none;
  }
}

.page__main-content {
  flex-grow: 1;
}

.button {
  display: inline-block;
  padding: 8px 20px;
  font-family: "Gilroy", "Arial", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  border-radius: 999rem;
  border: none;
  background: #e1b430;
}
.button:hover {
  color: #ffffff;
  background-color: #D5A51F;
}
.button--big {
  padding: 10px 20px;
  font-size: 18px;
  line-height: 1.67;
}
.button--secondary {
  color: #000000;
  background-color: #d9d9d9;
}
.button--secondary:hover {
  color: #000000;
  background-color: #f6f6f6;
}

@media (max-width: 767px) {
  .button {
    padding: 5px 15px;
    font-size: 14px;
    line-height: 1.43;
  }
  .button--big {
    font-size: 16px;
    line-height: 1.87;
  }
  .button--min {
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

.button:not(:focus) {
  box-shadow: none;
}

.layout-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* data */
[data-accordion=element].is-active > [data-accordion=content] {
  max-height: 100%;
}

[data-accordion=parent].no-transition [data-accordion=content] {
  transition: none;
}

[data-accordion=content] {
  max-height: 0;
  transition: max-height 0.3s;
  overflow: hidden;
}

.title-back {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
@media (max-width: 767px) {
  .title-back {
    gap: 15px;
  }
}

.title-back a {
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-size: 0;
  border-radius: 50%;
  background-color: #d9d9d9;
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/themes/custom/fourcheeses/assets/img/icons/stack.svg#arrow-back-white");
}
@media (max-width: 767px) {
  .title-back a {
    margin-top: 0;
    width: 40px;
    height: 40px;
  }
}

.title-back h1,
.title-back h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  color: #000000;
}
@media (max-width: 767px) {
  .title-back h1,
  .title-back h2 {
    padding-top: 5px;
    font-size: 24px;
    line-height: 1.25;
  }
}

.messages {
  margin-left: 20px;
  margin-right: 20px;
  color: #000;
  background-color: #fff;
  border: 3px solid #47595e;
  border-radius: 25px;
}

@media (max-width: 767px) {
  .messages {
    margin-left: 10px;
    margin-right: 10px;
  }
}
.messages--status {
  border-color: #42a877;
}

.messages--error {
  border-color: #e41c1c;
}

.layout-region-checkout-footer .form-wrapper {
  gap: 16px;
}

.form-item__label sup {
  top: auto;
  margin-left: 2px;
  font-size: inherit;
  vertical-align: baseline;
}

.form-item__label.form-required::after, .fieldset__label.form-required::after {
  color: inherit;
}
