/*--------------------------------------------------------------
# Riffe Surfpizza - style motywu
# Uklad bazuje na darmowym szablonie Resi (BootstrapMade).
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonty (lokalnie, woff2)
--------------------------------------------------------------*/
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue Regular';
  src: url('../fonts/bebas-neue-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue Book';
  src: url('../fonts/bebas-neue-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue Bold';
  src: url('../fonts/bebas-neue-bold.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Courier Prime (OFL) zamiast Courier New - licencja Microsoftu nie pozwala serwowac pliku ze strony */
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-ext-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-ext-700-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Riffe Mono';
  src: url('../fonts/courier-prime-latin-700-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Open Sans (OFL) - tekst podstawowy */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-ext-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-ext-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*--------------------------------------------------------------
# Zmienne
--------------------------------------------------------------*/
:root {
  --riffe-red: #FF0000;
  --riffe-red-dark: #bc0000;
  --riffe-text: #444444;
  --riffe-grey: #707070;
  --riffe-font-mono: 'Riffe Mono', 'Courier New', Courier, monospace;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: var(--riffe-text);
}

img {
  height: auto;
}

a {
  text-decoration: none;
  color: var(--riffe-red);
}

a:hover {
  color: var(--riffe-red-dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bebas Neue';
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--riffe-red);
  outline-offset: 2px;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 8px 16px;
  background: #fff;
  color: #000;
}

/* Wspolny naglowek H1 podstron */
.page-title {
  font-family: 'Bebas Neue Regular';
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 995;
  background: var(--riffe-red);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top .icon {
  width: 24px;
  height: 24px;
}

.back-to-top {
  box-shadow: 0 0 0 2px #fff;
}

.back-to-top:hover {
  background: #c40000;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  --header-logo: 120px;
  transition: background-color 0.3s;
  z-index: 997;
}

#header.header-scrolled,
.menu-open #header {
  background: #fff;
}

/* Naglowek jest fixed - przesuwamy go pod pasek admina */
.admin-bar #header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #header {
    top: 46px;
  }
}

/* Trzy kolumny: lewe menu | logo | prawe menu - logo zawsze na srodku, niezaleznie od liczby pozycji */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header__nav--left {
  justify-self: start;
}

.site-header__nav--right {
  justify-self: end;
}

#header .logo {
  grid-column: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
}

#header .logo img {
  max-height: var(--header-logo);
  width: auto;
}

#header .logo-text {
  font-family: 'Bebas Neue';
  font-size: 40px;
  line-height: 1;
  color: var(--riffe-red);
}

@media (min-width: 1200px) {
  #header .container {
    max-width: 1300px;
  }
}

@media (max-width: 991px) {
  #header {
    --header-logo: 64px;
    padding: 12px 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu (desktop)
--------------------------------------------------------------*/
.navbar {
  padding: 0;
  font-family: 'Bebas Neue';
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 45px;
  font-size: 20px;
  color: #868686;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a,
.navbar li.active a {
  color: var(--riffe-red);
}

/* Mniejsze odstepy, zeby menu miescilo sie obok logo na mniejszych ekranach */
@media (max-width: 1199px) {
  .navbar a,
  .navbar a:focus {
    padding: 10px 24px;
  }
}

@media (max-width: 991px) {
  .site-header__nav {
    display: none;
  }
}

/*--------------------------------------------------------------
# Navigation Menu (mobile - pelny ekran)
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--riffe-red);
  cursor: pointer;
}

.mobile-nav-toggle .icon {
  width: 32px;
  height: 32px;
}

.mobile-nav-toggle .icon-close,
.menu-open .mobile-nav-toggle .icon-open {
  display: none;
}

.menu-open .mobile-nav-toggle .icon-close {
  display: block;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 996;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 112px 24px 40px;
  overflow-y: auto;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0s 0.25s;
}

/* Bezpieczne centrowanie w pionie - przy niskim ekranie (poziomo) tresc da sie przewinac od gory */
.mobile-nav > :first-child {
  margin-top: auto;
}

.mobile-nav > :last-child {
  margin-bottom: auto;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s;
}

.admin-bar .mobile-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .mobile-nav {
    top: 46px;
  }
}

/* WP na telefonach odpina pasek admina (position: absolute) - przy fixed naglowku nachodzil na logo i przycisk */
@media (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

/* Strona pod otwartym menu sie nie przewija */
.menu-open {
  overflow: hidden;
}

.mobile-nav__list {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--riffe-red);
}

/* Wyrazny podzial pozycji - linia pod kazda, czerwona na koncu listy */
.mobile-nav__list li {
  border-bottom: 1px solid #dcdcdc;
}

.mobile-nav__list li:last-child {
  border-bottom: 2px solid var(--riffe-red);
}

.mobile-nav__link {
  display: block;
  padding: 12px;
  font-family: 'Bebas Neue';
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-align: center;
  color: #1f1f1f;
  transition: color 0.2s;
}

.mobile-nav__link:focus-visible {
  outline-offset: -2px;
}

.mobile-nav__link:hover,
.mobile-nav__list .active > .mobile-nav__link,
.mobile-nav__link[aria-current="page"] {
  color: var(--riffe-red);
}

.mobile-nav__social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 30px;
  color: var(--riffe-grey);
}

.mobile-nav__social a:hover {
  color: var(--riffe-red);
}

@media (min-width: 992px) {
  .mobile-nav {
    display: none;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: white;
  border-bottom: 2px solid white;
}

#hero .container {
  padding-top: 80px;
}

#hero h1 {
  font-size: 35px;
  line-height: 56px;
  color: var(--riffe-red);
  font-family: 'Bebas Neue';
}

#hero p {
  color: var(--riffe-grey);
  font-family: var(--riffe-font-mono);
  margin: 40px 0 60px 0;
  line-height: 2;
}

#hero .content {
  margin: 0 auto;
}

#hero .hero-img {
  padding: 0;
}

#hero .scrollto img {
  width: 45px;
  height: auto;
  transition: 0.5s;
}

#hero .scrollto img:hover {
  transform: translate(0px, 10px);
}

#hero .social-links a {
  font-size: 25px;
  display: inline-block;
  color: var(--riffe-grey);
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#hero .social-links a:hover {
  color: #828282;
  text-decoration: none;
}

@media (max-width: 991px) {
  #hero .hero-content {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero {
    height: unset;
  }
}

@media (max-width: 575px) {
  #hero {
    text-align: center;
  }

  #hero .btn-get-started {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Przycisk (hero, 404)
--------------------------------------------------------------*/
.btn-get-started {
  display: inline-block;
  font-family: 'Bebas Neue';
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 15px 30px;
  margin-right: 10px;
  margin-bottom: 15px;
  background: var(--riffe-red);
  color: #fff;
  transition: 0.5s;
}

.btn-get-started:hover {
  background: #ed0000;
  color: #fff;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.site-main--inner {
  margin-top: 8rem;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 40px;
  font-family: 'Bebas Neue Regular';
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #000;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About (strona glowna) i About page (o nas, skladniki)
--------------------------------------------------------------*/
.about,
.about-page {
  padding: 30px 0;
}

/* Zdjecie i tekst wycentrowane wzgledem siebie w pionie */
.about .content,
.about-page .content {
  align-items: center;
}

.about .text-box,
.about-page .text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Na mobile kolumny sa jedna pod druga - odstep tekstu od zdjecia */
@media (max-width: 991px) {
  .about .text-box,
  .about-page .text-box {
    padding-top: 2rem;
  }
}

.about .img-box,
.about-page .img-box {
  overflow: hidden;
}

.about .img-box img,
.about-page .img-box img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s;
}

.about .img-box img:hover,
.about-page .img-box img:hover {
  transform: scale(1.1);
}

.about h2,
.about-page h2 {
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 10px;
  color: var(--riffe-red);
}

.about .content h3 {
  font-weight: 500;
  font-size: 25px;
  margin-bottom: 25px;
  font-family: 'Bebas Neue Regular';
}

.about .content p {
  font-family: 'Bebas Neue Regular';
  font-weight: normal;
  line-height: 1.8;
  font-size: 17px;
}

.about-page .content p {
  font-family: var(--riffe-font-mono);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about h2 {
    font-size: 35px;
  }
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/
.menu p {
  font-family: var(--riffe-font-mono);
}

/* Zakladki kategorii - zawijaja sie wysrodkowane, na telefonie jeden przewijany rzad */
.menu-tabs {
  justify-content: center;
  gap: 4px 8px;
}

.menu .menu-tabs .nav-link {
  padding: 8px 12px;
  border-radius: 0;
  background: none;
  font-family: 'Bebas Neue';
  font-size: 28px;
  line-height: 1.1;
  color: #000;
  white-space: nowrap;
}

.menu .menu-tabs .nav-link:hover {
  color: var(--riffe-red);
}

.menu .menu-tabs .nav-link.active {
  background: none;
  color: var(--riffe-red);
  box-shadow: inset 0 -3px 0 var(--riffe-red);
}

@media (max-width: 1199px) {
  .menu .menu-tabs .nav-link {
    padding: 6px 8px;
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .menu-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 0 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border-bottom: 1px solid #e6e6e6;
  }

  .menu-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-tabs .nav-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .menu .menu-tabs .nav-link {
    font-size: 24px;
  }
}

/* Tabele menu - staly uklad kolumn we wszystkich zakladkach */
.menu-table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 1.5rem;
}

.menu-table > :not(caption) > * > * {
  padding: 14px 12px;
  border-bottom: 1px solid #ececec;
}

.menu-table th {
  font-family: 'Bebas Neue';
  font-weight: normal;
  font-size: 25px;
  vertical-align: bottom;
}

.menu-table td {
  font-family: var(--riffe-font-mono);
  text-transform: uppercase;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.menu-table__col-image {
  width: 124px;
}

.menu-table__col-name {
  width: 30%;
}

.menu-table__col-price {
  width: 180px;
}

.menu-table__price {
  text-align: right;
}

.menu-table .menu-dish-img {
  display: block;
  width: 100px;
  height: auto;
}

/* Wiersz rozmiarow (S / M / L) i dopiski na cala szerokosc */
.menu-table__subhead th {
  padding-top: 22px;
  font-size: 20px;
  color: var(--riffe-grey);
}

.menu-table__note td {
  font-size: 13px;
  color: var(--riffe-grey);
}

/* Telefon: wiersze jako bloki - nazwa i cena w jednej linii, skladniki pod spodem */
@media (max-width: 767px) {
  .menu-table,
  .menu-table tbody,
  .menu-table tr,
  .menu-table td {
    display: block;
  }

  .menu-table colgroup,
  .menu-table thead,
  .menu-table tbody tr.menu-table__subhead {
    display: none;
  }

  .menu-table > :not(caption) > * > * {
    padding: 0;
    border: 0;
  }

  .menu-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name price"
      "desc desc";
    gap: 6px 16px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
  }

  .menu-table--food:not(.menu-table--no-images) tbody tr {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "image name price"
      "image desc desc";
  }

  .menu-table .menu-dish-img {
    width: 72px;
  }

  .menu-table__image {
    grid-area: image;
  }

  .menu-table__name {
    grid-area: name;
    font-weight: 700;
  }

  .menu-table__desc {
    grid-area: desc;
    font-size: 13px;
    color: var(--riffe-grey);
  }

  .menu-table--food .menu-table__price {
    grid-area: price;
  }

  /* Napoje: ceny (kilka rozmiarow) w wierszu pod nazwa, z etykietami S / M / L */
  .menu-table--drinks tbody tr > .menu-table__price {
    display: inline-block;
    margin-right: 14px;
    text-align: left;
  }

  .menu-table--drinks tbody tr {
    display: block;
  }

  .menu-table--drinks .menu-table__name {
    margin-bottom: 6px;
  }

  .menu-table--drinks .menu-table__price.is-empty {
    display: none;
  }

  .menu-table__price[data-label]::before {
    content: attr(data-label) " ";
    color: var(--riffe-grey);
  }

  .menu-table__note td {
    padding: 0;
  }
}

/* Karta menu jako zdjecia lub PDF */
.menu-images,
.menu-pdf {
  max-width: 900px;
  margin: 0 auto;
}

.menu-images__item {
  display: block;
  margin-bottom: 1.5rem;
}

.menu-images__item img {
  display: block;
  width: 100%;
}

.menu-pdf__page {
  width: 100%;
  margin-bottom: 1.5rem;
  background: #f4f4f4;
  box-shadow: 0 0 0 1px #e6e6e6;
}

.menu-pdf__page canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.menu-pdf__status {
  text-align: center;
  font-family: var(--riffe-font-mono);
  color: var(--riffe-grey);
}

.menu-pdf__actions {
  margin: 10px 0 20px;
}

.alergeny {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  font-family: 'Bebas Neue';
  font-size: 25px;
  margin: 10px 0 30px 0;
}

.alergeny a {
  color: var(--riffe-text);
  text-decoration: underline;
  margin: 0 10px;
}

.alergeny a:hover {
  color: rgb(31, 31, 31);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  --footer-line: rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 14px;
  background: var(--riffe-red);
}

.site-footer a {
  color: #fff;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  color: #fff;
  opacity: 0.75;
}

.site-footer a:focus-visible {
  outline-color: #fff;
}

.site-footer__top {
  padding: 56px 0 40px;
}

.site-footer__heading {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
}

.site-footer__text,
.site-footer__menu,
.site-footer__bottom {
  font-family: var(--riffe-font-mono);
}

.site-footer__text p {
  margin: 0 0 4px;
  line-height: 1.7;
}

.site-footer__logo {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo-img {
  width: auto;
  max-width: 180px;
  max-height: 110px;
}

.site-footer__logo-text {
  font-family: 'Bebas Neue';
  font-size: 44px;
  line-height: 1;
}

.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu a {
  display: inline-block;
  padding: 4px 0;
  line-height: 1.5;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: -8px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 32px;
}

/* Pasek prawny: prawa autorskie + polityka prywatnosci | wykonawca */
.site-footer__bottom {
  padding: 18px 0;
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-footer__legal a,
.site-footer__credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Przycisk "do gory" (fixed, prawy dolny rog) nie nachodzi na tekst wykonawcy */
@media (min-width: 768px) and (max-width: 1399px) {
  .site-footer__bottom-inner {
    padding-right: 64px;
  }
}

/* Tablet: dwie kolumny obok siebie, odstep miedzy rzedami */
@media (min-width: 768px) and (max-width: 991px) {
  .site-footer__col:nth-child(-n+2) {
    margin-bottom: 36px;
  }
}

/* Telefon: jedna kolumna, wysrodkowana, sekcje rozdzielone liniami jak w menu mobilnym */
@media (max-width: 767px) {
  .site-footer__top {
    padding: 8px 0 0;
  }

  .site-footer__col {
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
  }

  .site-footer__col + .site-footer__col {
    border-top: 1px solid var(--footer-line);
  }

  .site-footer__heading {
    margin-bottom: 10px;
  }

  .site-footer__social {
    justify-content: center;
    margin-left: 0;
  }

  .site-footer__menu a {
    padding: 8px 0;
  }

  .site-footer__bottom-inner,
  .site-footer__legal {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__bottom {
    padding-bottom: 72px; /* miejsce na przycisk "do gory" */
  }
}

/* Podzialki miedzy sekcjami ukryte na mniejszych ekranach */
@media (max-width: 992px) {
  .podzialka {
    display: none;
  }
}

/*--------------------------------------------------------------
# Aktualnosci: social-box
--------------------------------------------------------------*/
.instagram .social-box {
  text-align: center;
  font-size: 35px;
  font-family: 'Bebas Neue Regular';
}

@media (max-width: 992px) {
  .instagram .social-box a {
    display: block;
  }
}

/*--------------------------------------------------------------
# Aktualnosci: opinie
--------------------------------------------------------------*/
.opinie i {
  font-size: 50px;
}

.opinie .box {
  text-transform: uppercase;
  width: 90%;
}

.opinie .box .zrodlo,
.opinie .box .opinia {
  font-family: 'Bebas Neue Book';
}

.opinie .box .nazwa {
  font-family: 'Bebas Neue Bold';
  margin: 0;
}

.opinie .box-ocen {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  font-family: 'Bebas Neue Book';
}

.opinie .box-ocen a {
  margin: 0 10px;
}

.opinie .box-ocen i {
  font-size: 30px;
  color: #000;
}

/*--------------------------------------------------------------
# Kontakt (formularz Contact Form 7 + mapa)
--------------------------------------------------------------*/
.kontakt {
  padding: 0;
}

.kontakt p {
  font-family: var(--riffe-font-mono);
}

.kontakt .form-control {
  border-radius: 0;
  font-family: var(--riffe-font-mono);
}

.kontakt input[type=submit] {
  width: 100%;
  background: none;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-family: 'Bebas Neue Bold';
  padding: 5px;
  transition: 0.3s;
  color: #000;
}

.kontakt input[type=submit]:hover {
  background-color: rgb(236, 236, 236);
}

#map {
  filter: grayscale(100%);
}

#map iframe {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Ograniczenie ruchu
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .about .img-box img:hover,
  .about-page .img-box img:hover,
  #hero .scrollto img:hover {
    transform: none;
  }
}
