@font-face {
  font-family: "appetite_new";
  src: url("../assets/fonts/appetite_new.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/opensans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/opensans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "garagegothic-black";
  src: url("../assets/fonts/garagegothic-black.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #37a2a5;
  --teal-dark: #2b8588;
  --teal-deep: #226f72;
  --teal-light: #62ccca;
  --pink: #e61186;
  --pink-dark: #c20c6f;
  --yellow: #f8e500;
  --white: #fff;
  --font-display: "appetite_new", "Arial Black", Arial, sans-serif;
  --font-heading: "garagegothic-black", "Arial Black", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --container: 1170px;
  --yellow-shadow: -8px 8px 0 var(--yellow);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

body::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 187px;
  background-image: url("../assets/img/decor/left.png");
  background-position: left top;
}

body::after {
  top: 0;
  right: 0;
  width: 159px;
  height: 667px;
  background-image: url("../assets/img/decor/right.png");
  background-position: top right;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.page-shadow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 250px;
  background: url("../assets/img/decor/shadow.png") repeat-x top center;
  pointer-events: none;
  opacity: 0.65;
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  max-width: 1370px;
  margin: 0 auto;
  padding: 30px 24px 8px;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10vw;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-shrink: 0;
}

.logo img {
  width: 189px;
  height: auto;
}



/* Where to buy */

.stores {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding: 72px 0 90px;
}

.stores__header {
  max-width: 760px;
  margin-bottom: 46px;
}

.stores__title {
  display: inline-block;
  margin: 0 0 26px;
  padding: 12px 20px 8px;
  background: var(--yellow);
  box-shadow: -8px 8px 0 var(--pink);
  color: var(--pink);
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

.stores__lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.stores__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.store-card {
  display: flex;
  flex: 0 1 calc(25% - 20px);
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 26px 18px 20px;
  background: var(--white);
  box-shadow: var(--yellow-shadow);
  color: var(--teal-dark);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
}

.store-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 14px;
  text-align: center;
}

.store-card__name {
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.store-card__note {
  color: #6a8b8b;
  font-size: 12px;
  line-height: 1.25;
}

.store-card__go {
  margin-top: 5px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .store-card:hover {
    box-shadow: -10px 12px 0 var(--yellow);
    transform: translateY(-4px);
  }
}

.store-card:focus-visible {
  outline-color: var(--white);
  outline-offset: 4px;
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 22px 0;
  background: var(--teal-light);
  text-align: center;
}

.site-footer__inner p {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__inner p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  text-underline-offset: 2px;
}

/* Tablet */

@media (max-width: 1199px) {
  .slide {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .store-card {
    flex-basis: calc(33.333% - 18px);
  }
}

@media (max-width: 991px) {
  body::after {
    display: none;
  }

  .site-header {
    padding: 20px 16px 6px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 50;
    padding: 8px 18px 14px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid #e3f1f1;
    color: var(--teal-dark);
    font-size: 16px;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 0;
  }

  .slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 18px 0 8px;
  }

  .slide__media {
    height: 440px;
    padding: 0;
  }

  .slide__panel {
    width: min(92%, 560px);
    margin: 20px auto 0;
    padding: 34px 30px 36px;
    transform: none;
  }

  .slide__title {
    max-width: 100%;
    margin: 0 0 18px;
    padding: 9px 13px 6px;
    font-size: 28px;
    line-height: 40px;
  }

  .slide__body {
    transform: none;
  }

  .slide__subtitle {
    font-size: 19px;
  }

  .slide__text {
    font-size: 15px;
  }

  .slider__arrow {
    top: 32%;
    width: 30px;
    height: 64px;
  }

  .slider__arrow--prev {
    left: 0;
  }

  .slider__arrow--next {
    right: 0;
  }

  .stores {
    margin-top: 24px;
    padding: 58px 0 70px;
  }

  .stores__header {
    margin-bottom: 36px;
  }

  .stores__lead {
    font-size: 17px;
  }

  .store-card {
    flex-basis: calc(33.333% - 18px);
  }
}

/* Small tablet / large phone */

@media (max-width: 767px) {
  .site-header {
    padding-top: 16px;
  }

  .logo img {
    width: 160px;
  }

  .slide__media {
    height: 390px;
  }

  .slide__panel {
    width: calc(100% - 12px);
    margin-top: 16px;
    padding: 28px 22px 30px;
  }

  .slide__title {
    margin-bottom: 14px;
    padding: 8px 12px 6px;
    font-size: 26px;
    line-height: 36px;
  }

  .slide__subtitle {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .slide__text {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .btn {
    min-height: 46px;
    margin-top: 18px;
    padding: 10px 24px;
    font-size: 14px;
  }

  .slider__arrow {
    top: 30%;
    width: 26px;
    height: 56px;
  }

  .stores {
    padding: 48px 0 58px;
  }

  .stores__title {
    margin-bottom: 20px;
    padding: 10px 16px 7px;
    box-shadow: -6px 6px 0 var(--pink);
    font-size: clamp(28px, 8vw, 36px);
  }

  .stores__lead {
    font-size: 16px;
  }

  .stores__grid {
    gap: 22px 18px;
  }

  .store-card {
    flex-basis: calc(50% - 9px);
    padding: 20px 12px 16px;
  }

  .store-card__logo {
    height: 92px;
  }

  .store-card__info {
    margin-top: 12px;
  }

  .store-card__name {
    font-size: 14px;
  }

  .store-card__note {
    font-size: 11px;
  }

  .store-card__go {
    font-size: 11px;
  }

  .site-footer {
    padding: 18px 0;
  }
}

@media (max-width: 479px) {
  .container {
    padding: 0 16px;
  }

  .slide__media {
    height: 340px;
  }

  .slide__panel {
    width: 100%;
    margin-top: 12px;
    padding: 24px 18px 26px;
  }

  .slide__title {
    padding: 7px 10px 5px;
    font-size: 24px;
    line-height: 32px;
  }

  .slide__subtitle {
    font-size: 16px;
  }

  .slide__text {
    font-size: 14px;
  }

  .slider__arrow {
    top: 27%;
    width: 24px;
    height: 50px;
  }

  .stores {
    margin-top: 18px;
    padding: 42px 0 52px;
  }

  .stores__title {
    font-size: 30px;
  }

  .stores__lead {
    font-size: 15px;
  }

  .stores__grid {
    gap: 18px 14px;
  }

  .store-card {
    flex-basis: calc(50% - 7px);
    padding: 16px 9px 14px;
  }

  .store-card__logo {
    height: 82px;
  }

  .store-card__name {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .store-card__go {
    margin-top: 4px;
  }
}

@media (max-width: 359px) {
  .store-card {
    flex-basis: 100%;
  }

  .store-card__logo {
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
