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, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0;
}

.perex, h2, h3, h5 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 300;
}

.price strong {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
}

.perex {
  font-size: 30px;
}

label {
  font-size: 20px;
}

strong {
  font-weight: bold;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  60% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  60% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
body {
  margin: 0;
}

.container {
  width: 960px;
  position: relative;
  margin: 0 auto;
  max-width: 95%;
}

.wrap {
  width: 780px;
  position: relative;
  max-width: 100%;
}

section {
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
}
img.image {
  margin: 0 auto;
  margin-bottom: 30px;
  max-width: 60%;
  aspect-ratio: 1;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: white;
}

.red {
  color: #E42828;
}

.green {
  color: green;
}

.perex {
  color: #A0A0A0;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.none {
  display: none !important;
}

h2 {
  font-size: 30px;
  color: #A0A0A0;
  border-bottom: 1px solid #cccccc;
  margin: 40px 0 20px 0;
}

h3 {
  margin-bottom: 30px;
  font-size: 30px;
  color: #E42828;
}

h4 {
  margin-bottom: 30px;
  font-size: 24px;
  color: #E42828;
}

.buy,
.buttClose,
.reset {
  padding: 15px 40px;
  background-color: #E42828;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  border: 3px solid #E42828;
  font-size: 18px;
}
.buy:hover,
.buttClose:hover,
.reset:hover {
  background-color: white;
  border: 3px solid #E42828;
  color: #E42828;
}
.buy.bc,
.buttClose.bc,
.reset.bc {
  padding: 10px 20px;
}
.buy.wide,
.buttClose.wide,
.reset.wide {
  width: 100%;
  text-align: center;
}

.edit {
  padding: 5px 5px;
  background-color: #E42828;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  border: 2px solid #E42828;
  font-size: 15px;
  text-decoration: none;
}
.edit:hover {
  background-color: white;
  border: 2px solid #E42828;
  color: #E42828;
}

.buy.prod {
  width: 170px;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

.reset {
  background-color: #cccccc;
  border-color: #A0A0A0;
  color: #464646;
  text-align: center;
}

.food-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.food-wrapper .item {
  width: 240px;
  text-align: center;
  margin: 30px 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.qavail {
  margin-bottom: 9px;
  color: #888888;
  font-size: 14px;
}

.name {
  font-size: 22px;
  margin-bottom: 15px;
}

.price {
  font-size: 27px;
  margin-bottom: 15px;
}

#intro {
  text-align: center;
  padding-bottom: 30px;
}

body.modalOpen {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.modal {
  z-index: 200;
  opacity: 0;
  position: fixed;
  pointer-events: none;
  width: 100%;
  height: 100%;
  bottom: 0px;
  left: 0px;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modalwrapper {
  width: 50%;
  max-width: 600px;
  background-color: white;
  position: relative;
  text-align: center;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
          box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
  padding: 30px 0;
}

.closewrapper {
  top: -30px;
  right: 0;
  width: 90px;
  margin: 0 auto;
  position: absolute;
}

.close {
  padding: 20px 0;
}

.qrcode {
  width: 300px;
  max-width: 70%;
  margin: 35px auto;
  pointer-events: none;
}
.qrcode canvas {
  max-width: 100%;
}

.sale {
  text-decoration: line-through;
  color: #A0A0A0;
  margin-right: 10px;
}

.comment {
  font-size: 25px;
  margin: 70px 0;
}

.logo {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.lottie {
  width: 800px;
  height: 258px;
}

.imgwrp {
  position: relative;
}
.imgwrp .icon-vegan {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 30px;
  margin: 0;
  opacity: 0.4;
  background-color: transparent;
}
.imgwrp .icon-sale,
.imgwrp .icon-new {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  width: 100px;
  -webkit-animation: pulse 4s infinite;
          animation: pulse 4s infinite;
  background-color: transparent;
}

.soldout .name,
.soldout .price,
.soldout .imgwrp {
  color: #888888;
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}
.soldout .buy {
  background-color: #888888;
  color: white;
  border: 3px solid #888888;
  cursor: default;
}
.soldout .buy:hover {
  background-color: #888888;
  color: white;
}

.message {
  position: absolute;
  width: 80%;
  top: 60px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
}
.message p {
  padding: 10px;
  background: gold;
  -webkit-transform: rotate(-12deg);
      -ms-transform: rotate(-12deg);
          transform: rotate(-12deg);
  border-radius: 5px;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 20px;
  background-color: #f1f1f1;
  color: #767676;
  border-radius: 10px;
}

.user-wrapper,
.logout-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.user-wrapper div:not(:last-child),
.logout-wrapper div:not(:last-child) {
  margin-right: 30px;
}

.user-wrapper {
  margin-right: 20px;
}

.username,
.remaining {
  font-weight: bold;
  color: black;
}

.basket-wrapper {
  border-radius: 10px;
  border: 3px solid transparent;
}
.basket-wrapper.full {
  padding: 10px 15px;
  border: 3px solid #E42828;
  background-color: #E42828;
  color: white;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}
.basket-wrapper.full:hover {
  background-color: white;
  color: #E42828;
}
.basket-wrapper .basket-items {
  font-weight: bold;
}

.logout,
.add-credit {
  text-decoration: none;
  color: #E42828;
}
.logout:hover,
.add-credit:hover {
  text-decoration: underline;
}

.add-credit {
  color: #464646;
}

@-webkit-keyframes arrow {
  0% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
    opacity: 0;
  }
}

@keyframes arrow {
  0% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
    opacity: 0;
  }
}
.cart-icon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 150px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.cart-icon .svgarrow {
  -webkit-transform: translateY(-100px);
      -ms-transform: translateY(-100px);
          transform: translateY(-100px);
  opacity: 0;
}
.cart-icon.visible {
  opacity: 1;
}
.cart-icon.visible .svgarrow {
  -webkit-animation: arrow 0.8s forwards ease-in-out;
          animation: arrow 0.8s forwards ease-in-out;
}

.basket-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 30px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 20px;
}
.basket-content .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* &:last-child {
  	justify-content: space-between;
  } */
}
.basket-content .item:not(:last-child) {
  margin-bottom: 15px;
}
.basket-content .item.total {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-top: 20px;
  border-top: 3px solid #A0A0A0;
  font-size: 24px;
  margin-top: 10px;
}
.basket-content .input-cont {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-bottom: 0;
}
.basket-content input {
  width: 23px;
  padding: 6px;
}
.basket-content label {
  margin-right: 10px;
}
.basket-content .product-amount {
  font-size: 16px;
  color: #A0A0A0;
}
.basket-content .subtotal {
  font-weight: bold;
}
.basket-content .buttonz {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.buttClose {
  background-color: #767676;
  border-color: #464646;
}

.mr20 {
  margin-right: 20px;
}

.status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 20px;
  margin-bottom: 15px;
  background-color: #b4d74a;
  border-radius: 10px;
}
.status p {
  color: #3f8302;
}
.status .status-close {
  cursor: pointer;
}
.status .status-close span {
  padding: 10px 14px;
  background-color: #8fad34;
  border-radius: 10px;
  color: white;
}
.status.error {
  background-color: #E42828;
}
.status.error p {
  color: white;
}
.status.error .status-close span {
  background-color: #a51010;
}

.access-denied {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}
.access-denied h3 {
  text-align: center;
}

.warehouse {
  width: 500px !important;
  max-width: 100%;
}

.settings {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.form {
  width: 300px;
  margin: auto;
}

.input-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
}
.input-cont.submit {
  margin-top: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.input-cont.back {
  margin-top: 30px;
}
.input-cont a {
  text-decoration: none;
}

input,
select {
  font-size: 20px;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #A0A0A0;
  width: 180px;
  background-color: #f5f5f5;
}

select {
  width: 204px;
}
select option:disabled {
  color: #888888;
}

.settings .input-cont {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.settings .settingssave {
  margin-top: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.settings .settingssave a {
  text-decoration: none;
}

/* Customize the label (the container) */
.checkcont {
  display: inline-block;
  position: relative;
  padding: 10px 18px 10px 36px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 7px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

/* Hide the browser's default checkbox */
.checkcont input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0px;
  height: 19px;
  width: 19px;
  background-color: white;
  border: 2px solid #c0c0c0;
  border-radius: 7px;
}

/* On mouse-over, add a grey background color */
.checkcont:hover input ~ .checkmark {
  background-color: white;
}

/* When the checkbox is checked, add a blue background */
.checkcont input:checked ~ .checkmark {
  background-color: white;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  opacity: 0;
}

/* Show the checkmark when checked */
.checkcont input:checked ~ .checkmark:after {
  opacity: 1;
}

/* Style the checkmark/indicator */
.checkcont .checkmark:after {
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #cc0000;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}

.top-bar {
  font-weight: 400;
  font-size: 12px;
  max-width: 1200px;
  padding: 7px 13px;
  margin: 0 auto;
  color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.top-bar_wrap {
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 550px) {
  .top-bar {
    padding: 0 13px;
  }
}
.top-bar .zpravy-logo {
  width: 160px;
  height: auto;
}
@media screen and (max-width: 550px) {
  .top-bar .zpravy-logo {
    width: 70px;
  }
}
.top-bar .zpravy-logo--small {
  display: none;
}
@media screen and (max-width: 550px) {
  .top-bar .zpravy-logo--small {
    display: inline-block;
  }
}
@media screen and (max-width: 550px) {
  .top-bar .zpravy-logo--big {
    display: none;
  }
}
.top-bar .partner-logo {
  width: 130px;
  height: auto;
  margin-left: 7px;
}
.top-bar .in-collab_text {
  min-width: 100px;
  line-height: 16px;
  text-align: right;
}
@media screen and (max-width: 550px) {
  .top-bar .in-collab_text {
    width: 100px;
  }
}
.top-bar .in-collab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.top-bar .in-collab abbr {
  text-transform: uppercase;
  text-decoration: underline;
  cursor: help;
}

#tooltip {
  color: white;
  text-align: center;
  background: black;
  position: absolute;
  border-radius: 10px;
  padding: 15px;
  pointer-events: none;
  z-index: 100000000000000000000000;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  max-width: 300px;
}

#tooltip:after {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid black;
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
}

#tooltip.top:after {
  border-top-color: transparent;
  border-bottom: 10px solid black;
  top: -20px;
  bottom: auto;
}

#tooltip.left:after {
  left: 10px;
  margin: 0;
}

#tooltip.right:after {
  right: 10px;
  left: auto;
  margin: 0;
}

.title {
  font-size: 20px;
  margin-bottom: 15px;
}

ul {
  margin-bottom: 20px;
}

li {
  list-style: inside;
  margin-bottom: 5px;
}

.small {
  color: #A0A0A0;
  font-size: 14px;
}

#addcredit .qrcontent {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}

.dropbtn {
  background-color: #788087;
  border: 3px solid #788087;
  padding: 10px 15px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
}
.dropbtn:hover {
  background-color: #95a0a9;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown .show {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  overflow: auto;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
  border-radius: 10px;
}
.dropdown-content a {
  color: #464646;
  padding: 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown-content a:last-child {
  color: #E42828;
}
.dropdown-content a:last-child:hover {
  background-color: #f7e0e0;
}

table.history {
  width: 80%;
  margin: 0 auto;
  background-color: #ffffff;
  border-collapse: collapse;
  color: #000000;
}
table.history td,
table.history th {
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}
table.history thead {
  background-color: #6a6a6a;
  color: white;
}
table.history .total {
  font-weight: bold;
  border-top: 3px #E42828 solid;
}
table.history tbody tr:nth-child(odd) {
  background-color: white;
}
table.history tbody tr:nth-child(even) {
  background-color: #efefef;
}

.darkmode {
  background-color: #313436;
  color: #e5e5e5;
}
.darkmode img.image {
  border-radius: 30px;
}
.darkmode .icon-vegan {
  right: 15px;
}
.darkmode .soldout .buy {
  background-color: #888888;
  color: white;
  border: 3px solid #888888;
  cursor: default;
}
.darkmode .soldout .buy:hover {
  background-color: #888888;
}
.darkmode .buy,
.darkmode .basket-wrapper.full {
  background-color: #d52727;
  border: 3px solid #d52727;
}
.darkmode .buy:hover {
  background-color: #ffffff;
}
.darkmode h2 {
  color: #8b8d8f;
  border-bottom: 1px solid #6e6e6e;
}
.darkmode h5 {
  color: #8b8d8f;
  border-bottom: 1px solid #6e6e6e;
}
.darkmode .perex {
  color: #7a7a7a;
}
.darkmode .header {
  background-color: #626566;
  color: #bbbec1;
}
.darkmode .remaining {
  color: white;
}
.darkmode .modalwrapper {
  background-color: #313436;
}
.darkmode .qrcode {
  padding: 10px;
  background: white;
}
.darkmode .dropbtn {
  background-color: #4f5152;
  border: 3px solid #4f5152;
  color: #c5c5c5;
}
.darkmode .dropbtn:hover {
  background-color: #747b81;
}
.darkmode .imgwrp .icon-sale,
.darkmode .imgwrp .icon-new {
  width: 80px;
}
.darkmode table.history {
  background-color: #313436;
  color: #b9b9b9;
}
.darkmode table thead {
  background-color: #1d1e1e;
  color: #7f848b;
}
.darkmode table tbody tr:nth-child(odd) {
  background-color: #313436;
}
.darkmode table tbody tr:nth-child(even) {
  background-color: #3b3e40;
}
.darkmode .highlight {
  color: white;
}

footer {
  text-align: center;
  padding: 45px 0;
  color: #A0A0A0;
}
footer p {
  font-size: 14px;
}
footer .copyright {
  font-size: 16px;
}
footer .d {
  display: inline;
  margin: 0 10px 0 9px;
}
footer .d:before {
  content: "|";
}

.privacy,
.privacy:visited {
  color: black;
}

@media (max-width: 1010px) {
  .food-wrapper {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .basket-content .buttonz {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
@media (max-width: 840px) {
  .modalwrapper {
    width: 80%;
  }
  .lottie {
    width: 95.2380952381vw;
    height: 30.7142857143vw;
  }
}
@media (max-width: 550px) {
  .modalwrapper {
    width: 90%;
  }
  .perex {
    font-size: 5.4545454545vw;
    margin-bottom: 0;
  }
  #intro {
    padding-top: 10.9090909091vw;
    padding-bottom: 0;
  }
  .header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: 30px;
  }
  .user-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 25px;
  }
  .user-wrapper div:not(:last-child) {
    margin-bottom: 10px;
  }
  .basket-wrapper {
    padding: 0;
    margin-top: 10px;
  }
  .dropdown-content {
    right: auto;
  }
  .food-wrapper .item {
    width: 180px;
  }
  .name {
    font-size: 18px;
  }
  .price {
    font-size: 23px;
  }
  .buy {
    width: 140px;
  }
  .buy.prod {
    padding: 15px 20px;
  }
}
@-webkit-keyframes showIEBox {
  0% {
    -webkit-transform: translateY(110%);
            transform: translateY(110%);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@keyframes showIEBox {
  0% {
    -webkit-transform: translateY(110%);
            transform: translateY(110%);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@-webkit-keyframes hideIEBox {
  0% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(110%);
            transform: translateY(110%);
  }
}
@keyframes hideIEBox {
  0% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(110%);
            transform: translateY(110%);
  }
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #ieBox {
    overflow: hidden;
    position: fixed;
    display: block !important;
    width: 860px;
    z-index: 99999;
    bottom: 0;
    right: 10px;
    background: url("https://native.seznamzpravy.cz/krasty.jpg") no-repeat #a05d5d;
    background-position: calc(100% - 15px) bottom;
    padding: 30px 6% 30px 2%;
    max-width: 80%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-transform: translateY(110%);
        -ms-transform: translateY(110%);
            transform: translateY(110%);
    -webkit-animation: showIEBox 1s 1;
            animation: showIEBox 1s 1;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }
  #ieBox.ieHidden {
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
    -webkit-animation-name: hideIEBox;
            animation-name: hideIEBox;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
  }
  #ieBox * {
    font-family: "Arial", sans-serif;
    line-height: 1.2;
  }
  #ieClaim, #ieTitle {
    color: white;
    text-transform: none;
  }
  #ieTitle {
    font-size: 25px;
    font-weight: 700;
  }
  #ieClaim {
    font-size: 20px;
    font-weight: 400;
    width: 84%;
    margin: 15px 0 40px;
  }
  #ieClose,
  #ieButton {
    background: #f0c8c8;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  #ieClose, #ieClose:before, #ieClose:after,
  #ieButton,
  #ieButton:before,
  #ieButton:after {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #ieClose:hover,
  #ieButton:hover {
    background: #372c2c;
  }
  #ieClose {
    position: absolute;
    right: 2.2%;
    top: 21px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    z-index: 999999;
    cursor: pointer;
  }
  #ieClose:hover:before, #ieClose:hover:after {
    background: white;
  }
  #ieClose:before, #ieClose:after {
    content: "";
    background: #372c2c;
    width: 2px;
    height: 14px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  #ieClose:after {
    -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
            transform: rotate(-90deg);
  }
  #ieButton {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 15px;
    padding: 13px 16px;
    padding-right: 50px;
    border-radius: 4px;
    position: relative;
  }
  #ieButton, #ieButton:visited {
    text-decoration: none;
    color: #372c2c;
  }
  #ieButton:hover {
    color: white;
  }
  #ieButton:hover:before {
    background: white;
  }
  #ieButton:hover:after {
    border-color: white;
  }
  #ieButton:before, #ieButton:after {
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
  }
  #ieButton:before {
    background: #372c2c;
    height: 1px;
    width: 15px;
    right: 15px;
  }
  #ieButton:after {
    border: 1px solid #372c2c;
    width: 6px;
    height: 6px;
    right: 15px;
    top: -0.1px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    border-top: none;
    border-left: none;
  }
}
@media (-ms-high-contrast: none) and (max-width: 970px), (-ms-high-contrast: active) and (max-width: 970px) {
  #ieBox {
    left: 0;
    width: 100%;
    max-width: 100%;
    background-size: 80px;
    padding-right: 80px;
  }
  #ieTitle {
    font-size: 19px;
  }
  #ieClaim {
    font-size: 16px;
    width: calc(100% - 80px);
  }
}
.edit_thumb {
  max-width: 50px;
}

.strikeout {
  -webkit-filter: brightness(0.7);
          filter: brightness(0.7);
}

.highlight {
  color: black;
}

.preview_image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 30px;
}
.preview_image img {
  max-width: 100px;
  border-radius: 20px;
}

h5 {
  font-size: 23px;
  color: #A0A0A0;
  border-bottom: 1px solid #cccccc;
  margin: 40px 0 20px 0;
}

/* Customer UI refinement */
body {
  line-height: 1.45;
}

.container {
  width: 960px;
  max-width: calc(100% - 32px);
}

h2 {
  margin: 32px 0 18px;
  font-size: 26px;
  font-weight: 400;
}

h3 {
  margin-bottom: 22px;
  font-size: 26px;
}

h4 {
  margin-bottom: 22px;
  font-size: 20px;
}

.perex {
  margin-bottom: 28px;
  font-size: 24px;
  letter-spacing: 0;
}

#intro {
  padding: 18px 0 10px;
}

.logo,
.lottie {
  width: 560px;
  max-width: 100%;
}

.lottie {
  height: auto;
  aspect-ratio: 800 / 258;
}

img.image,
.darkmode img.image {
  width: min(150px, 82%);
  max-width: 82%;
  margin-bottom: 18px;
  border-radius: 14px;
}

.imgwrp .icon-vegan,
.darkmode img.image.icon-vegan {
  width: 28px;
  max-width: 28px;
  right: 12%;
  border-radius: 0;
}

.imgwrp .icon-sale,
.imgwrp .icon-new,
.darkmode .imgwrp .icon-sale,
.darkmode .imgwrp .icon-new {
  width: 72px;
  border-radius: 0;
}

.food-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 16px;
}

.food-wrapper .item {
  width: auto;
  min-width: 0;
  margin: 8px 0;
}

.name {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.price {
  margin-bottom: 8px;
  font-size: 23px;
}

.buy,
.buttClose,
.reset {
  padding: 11px 22px;
  border-width: 2px;
  border-radius: 7px;
  font-size: 16px;
  line-height: 1.25;
}

.buy:hover,
.buttClose:hover,
.reset:hover,
.darkmode .buy,
.darkmode .basket-wrapper.full {
  border-width: 2px;
}

.buy.prod {
  width: min(160px, 100%);
}

.header {
  gap: 14px;
  padding: 12px 16px;
  border-radius: 7px;
}

.basket-wrapper,
.dropbtn,
.dropdown-content,
.status {
  border-radius: 7px;
}

.basket-wrapper.full {
  padding: 8px 12px;
  border-width: 2px;
}

.dropbtn {
  padding: 8px 12px;
  border-width: 2px;
}

.modalwrapper {
  width: min(560px, calc(100% - 32px));
  max-height: 90vh;
  padding: 26px 0 18px;
  overflow-y: auto;
  border-radius: 10px;
}

.closewrapper {
  position: static;
  width: auto;
  margin-top: 20px;
}

.close {
  padding: 0;
}

.basket-content {
  padding: 0 22px;
  font-size: 17px;
}

.form {
  width: 360px;
  max-width: 100%;
}

.input-cont {
  gap: 12px;
}

input,
select {
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 17px;
}

.checkcont input {
  min-height: 0;
  padding: 0;
}

.trust-notice {
  padding: 12px 14px;
  border-left: 4px solid #E42828;
  background: #f5f5f5;
  color: #5b5b5b;
  font-size: 14px;
  line-height: 1.45;
}

.catalog-error {
  margin: 40px 0;
  padding: 16px;
  border-left: 4px solid #E42828;
  background: #f5f5f5;
}

#addcredit .qrcode {
  width: 220px;
  margin: 24px auto;
}

#shopping_history .container {
  overflow-x: auto;
}

table.history {
  width: 100%;
  min-width: 620px;
}

table.history td,
table.history th {
  padding: 10px 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 22px 0 8px;
}

.pagination-link {
  padding: 7px 12px;
  border: 2px solid #E42828;
  border-radius: 6px;
  color: #E42828;
  text-decoration: none;
}

.pagination-link:hover {
  background: #E42828;
  color: white;
}

.pagination-link.disabled {
  border-color: #A0A0A0;
  color: #A0A0A0;
  pointer-events: none;
}

.darkmode input,
.darkmode select {
  border-color: #626566;
  background-color: #252728;
  color: #e5e5e5;
}

.darkmode .trust-notice {
  background: #252728;
  color: #c8c8c8;
}

.darkmode .catalog-error {
  background: #252728;
}

.darkmode .pagination-link {
  color: #ef6060;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(228, 40, 40, 0.35);
  outline-offset: 2px;
}

footer {
  padding: 32px 0;
}

@media (max-width: 550px) {
  .container {
    max-width: calc(100% - 24px);
  }

  #intro {
    padding-top: 12px;
  }

  .perex {
    font-size: 17px;
    line-height: 1.35;
  }

  h2 {
    margin-top: 24px;
    font-size: 22px;
  }

  .header {
    flex-flow: row wrap;
    align-items: center;
    margin-top: 16px;
    padding: 10px;
  }

  .user-wrapper {
    flex: 1 1 100%;
    margin: 0;
  }

  .logout-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .food-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .food-wrapper .item {
    width: auto;
  }

  .name {
    font-size: 16px;
  }

  .price {
    font-size: 20px;
  }

  .buy,
  .buy.prod {
    width: auto;
    max-width: 100%;
  }

  .buy.prod {
    width: 100%;
    padding: 10px 6px;
  }

  .input-cont:not(.submit):not(.back) {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  select {
    width: 100%;
  }

  .settingssave,
  .basket-content .buttonz {
    gap: 10px;
  }

  .basket-content .buttonz .input-cont,
  .basket-content .buttonz button {
    width: 100%;
  }

  .pagination {
    gap: 8px;
    font-size: 14px;
  }

  .pagination-link {
    padding: 6px 8px;
  }
}
/* 2026 customer shop */
:root {
  --shop-red: #e42828;
  --shop-red-dark: #b91d24;
  --shop-warning: #805900;
  --shop-green: #087a59;
  --shop-yellow: #f4bc45;
  --shop-ink: #202321;
  --shop-muted: #6c716d;
  --shop-line: #dedfdc;
  --shop-paper: #ffffff;
  --shop-bg: #f5f4f0;
  --shop-soft: #ecebe6;
  --shop-shadow: 0 8px 30px rgba(32, 35, 33, 0.08);
}

body,
button,
input,
select {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

body {
  min-width: 280px;
  background: var(--shop-bg);
  color: var(--shop-ink);
}

.desktop-nav a,
.basket-wrapper,
.mobile-menu a,
.back-link,
.product-cart-control button,
.quantity-control button,
.remove-item,
.nav-user,
.nav-admin,
.nav-logout,
.pagination-link,
.forgot-link,
.access-submit,
.access-link {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-content {
  min-height: calc(100vh - 150px);
}

.container {
  width: 1180px;
  max-width: calc(100% - 40px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--shop-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 16px rgba(32, 35, 33, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  width: 1180px;
  max-width: calc(100% - 40px);
  min-height: 62px;
  margin: auto;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--shop-ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  padding: 6px;
  background: var(--shop-red);
  border-radius: 8px 8px 8px 2px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--shop-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--shop-ink);
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  background: var(--shop-red);
}

.nav-account {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 14px;
}

.nav-balance {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid transparent;
  background: #e5f3ed;
  color: var(--shop-green);
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.nav-balance:hover {
  border-color: var(--shop-line);
  background: var(--shop-paper);
}

.nav-balance:focus-visible,
.mobile-balances a:focus-visible {
  outline: 2px solid var(--shop-red);
  outline-offset: 2px;
}

.nav-balance strong {
  font-size: 15px;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  gap: 6px;
  overflow: hidden;
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-indicator {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 1px solid #d8ae42;
  border-radius: 50%;
  background: #fff1c9;
  color: #7a5200;
}

.nav-user .vip-indicator svg,
.mobile-account .vip-indicator svg {
  width: 12px;
  height: 12px;
}

.darkmode .vip-indicator {
  border-color: #8a6c26;
  background: #4b3c16;
  color: #ffd976;
}

.nav-user svg,
.mobile-menu svg,
.back-link svg,
.basket-wrapper svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-ink);
  border-radius: 7px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  display: none;
}

#intro {
  padding: 25px 0 20px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(244, 188, 69, 0.2), rgba(244, 188, 69, 0) 44%),
    var(--shop-paper);
  border-bottom: 1px solid var(--shop-line);
  text-align: left;
}

#intro .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(380px, 1.2fr);
  align-items: center;
  gap: 33px;
}

.shop-intro-copy {
  padding-left: 2px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--shop-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#intro .perex {
  margin: 0;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 0.95;
  text-transform: none;
}

#intro .perex strong {
  color: var(--shop-red);
  font-family: inherit;
}

.intro-note {
  max-width: 460px;
  margin-top: 13px;
  color: var(--shop-muted);
  font-size: 14px;
}

.intro-logo {
  --secret-logo-shadow: rgba(0, 0, 0, 0.68);
  min-width: 0;
  min-height: 164px;
  display: flex;
  align-items: center;
}

.darkmode .intro-logo {
  --secret-logo-shadow: rgba(255, 255, 255, 0.82);
}

.intro-logo .lottie {
  width: 67%;
  max-width: 435px;
  margin-left: auto;
  cursor: pointer;
  user-select: none;
}

.intro-logo .lottie.is-secret-clicked {
  animation: secret-logo-hint 420ms ease-out;
}

@keyframes secret-logo-hint {
  0% {
    filter: drop-shadow(0 0 0 transparent);
  }
  35% {
    filter: drop-shadow(0 4px calc(9px + var(--secret-click-progress) * 3px) var(--secret-logo-shadow));
  }
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
}

.intro-logo .lottie[hidden],
.snake-game[hidden] {
  display: none;
}

.snake-game {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 164px;
  max-width: 650px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: #171b19;
  box-shadow: 0 12px 30px rgba(11, 14, 12, 0.16);
}

.snake-game canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  transition: opacity 160ms ease;
}

.snake-game canvas:focus-visible {
  box-shadow: inset 0 0 0 2px var(--shop-red);
}

.snake-score,
.snake-status {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.snake-score {
  top: 10px;
  left: 12px;
}

.snake-score strong {
  color: #fff;
}

.snake-status {
  inset: 50% 44px auto;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  transform: translateY(-50%);
}

.snake-game.is-intro canvas,
.snake-game.is-over canvas {
  opacity: 0.24;
}

.snake-game.is-intro .snake-status,
.snake-game.is-over .snake-status {
  top: 50%;
  right: auto;
  left: 50%;
  box-sizing: border-box;
  width: calc(100% - 88px);
  max-width: 420px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(12, 14, 13, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  text-wrap: balance;
  transform: translate(-50%, -50%);
}

.snake-close {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.snake-close:hover,
.snake-close:focus-visible {
  border-color: var(--shop-red);
  background: var(--shop-red);
  outline: none;
}

#header {
  padding: 26px 0 0;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.shop-toolbar h1,
.page-heading h1,
.success-panel h1 {
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.basket-wrapper {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 42px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-muted);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.header-basket[hidden] {
  display: none;
}

.basket-wrapper.full {
  padding: 8px 12px;
  border: 1px solid var(--shop-red);
  background: var(--shop-red);
  color: white;
}

.basket-wrapper.full:hover {
  border: 1px solid var(--shop-red-dark);
  background: var(--shop-red-dark);
  color: white;
}

.basket-wrapper .basket-items:not(:empty) {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  background: white;
  color: var(--shop-red);
  border-radius: 6px;
  box-sizing: border-box;
}

.basket-wrapper .basket-items:empty {
  display: none;
}

#main {
  padding: 0 0 30px;
}

#main h2 {
  margin: 34px 0 15px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--shop-line);
  color: var(--shop-ink);
  font-size: 18px;
  font-weight: 800;
}

.food-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.food-wrapper .item {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.food-wrapper .item:hover {
  border-color: #c5c7c3;
  box-shadow: var(--shop-shadow);
  transform: translateY(-2px);
}

.imgwrp {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.78;
  margin-bottom: 9px;
  overflow: hidden;
  background: #fafafa;
  border-radius: 5px;
}

img.image,
.darkmode img.image {
  width: 88%;
  height: 88%;
  max-width: 88%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.name {
  min-height: 2.5em;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.price {
  margin: 0 0 4px;
  color: var(--shop-ink);
  font-size: 18px;
}

.qavail {
  min-height: 17px;
  margin-bottom: 8px;
  color: var(--shop-muted);
  font-size: 13px;
}

.qavail_warn {
  color: var(--shop-warning);
}

.buy.prod {
  width: 100%;
  padding: 8px 5px;
  border-width: 1px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.buy.prod:hover {
  border-width: 1px;
}

.sale {
  margin-right: 5px;
  font-size: 14px;
}

.imgwrp .icon-vegan,
.darkmode img.image.icon-vegan {
  right: 6px;
  bottom: 6px;
  width: 22px;
  height: 22px;
  max-width: 22px;
}

.imgwrp .icon-sale,
.imgwrp .icon-new,
.darkmode .imgwrp .icon-sale,
.darkmode .imgwrp .icon-new {
  top: 4px;
  left: 4px;
  width: 44px;
  height: 44px;
}

.message {
  top: 9px;
  width: 88%;
}

.message p {
  padding: 5px;
  font-size: 12px;
  line-height: 1.2;
}

.cart-icon {
  width: 72px;
}

.page-section,
#shopping_history {
  padding: 36px 0 50px;
}

.page-heading {
  position: relative;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--shop-line);
}

.page-heading p:last-child {
  margin-top: 9px;
  color: var(--shop-muted);
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--shop-red);
}

.credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 20px;
  align-items: start;
}

.process-panel,
.credit-panel,
.settings-panel,
.success-panel,
#login .form,
#new-user .form {
  box-sizing: border-box;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
}

.process-panel,
.credit-panel,
.settings-panel {
  padding: 22px;
}

.process-panel .title {
  font-weight: 800;
}

.process-panel ul {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.process-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  list-style: none;
  font-size: 14px;
}

.process-panel li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--shop-yellow);
  color: #422d00;
  border-radius: 50%;
  font-weight: 800;
}

.credit-panel .qrcontent {
  width: auto !important;
}

#addcredit .qrcode {
  width: 190px;
  margin: 18px auto;
  padding: 8px;
  background: white;
  border: 1px solid var(--shop-line);
  border-radius: 5px;
}

.trust-notice {
  border: 0;
  border-left: 3px solid var(--shop-yellow);
  background: #fff8e8;
  color: #66552f;
  border-radius: 0 5px 5px 0;
}

.settings-panel {
  width: min(620px, 100%);
}

.settings-panel .checkcont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 58px 16px 0;
  border-bottom: 1px solid var(--shop-line);
  border-radius: 0;
}

.settings-panel .checkcont > span:first-child {
  display: grid;
  gap: 3px;
}

.settings-panel .checkcont small {
  color: var(--shop-muted);
  font-size: 12px;
}

.settings-panel .checkmark {
  right: 0;
  left: auto;
  width: 38px;
  height: 22px;
  border: 0;
  background: #c9ccc9;
  border-radius: 20px;
}

.settings-panel .checkmark::after {
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border: 0;
  background: white;
  border-radius: 50%;
  opacity: 1;
  transform: none;
}

.settings-panel .checkcont input:checked ~ .checkmark {
  background: var(--shop-green);
}

.settings-panel .checkcont input:checked ~ .checkmark::after {
  left: 19px;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
}

table.history {
  width: 100%;
  margin: 0;
  background: transparent;
  font-size: 13px;
}

table.history thead,
.darkmode table.history thead {
  background: var(--shop-ink);
  color: white;
}

table.history td,
table.history th {
  padding: 12px 14px;
}

table.history .total {
  border-top: 2px solid var(--shop-red);
}

.pagination-link {
  border-width: 1px;
  background: var(--shop-paper);
  font-size: 13px;
  font-weight: 700;
}

.success-panel {
  width: min(480px, 100%);
  margin: 30px auto;
  padding: 34px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  background: #e5f3ed;
  color: var(--shop-green);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
}

.error-panel .success-icon {
  background: #fbe4e4;
  color: var(--shop-red);
}

#login,
#new-user {
  padding: 55px 0;
}

.auth-section {
  display: grid;
  min-height: calc(100vh - 150px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(244, 188, 69, 0.2), transparent 48%),
    var(--shop-bg);
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 80px;
}

.auth-copy h1,
.state-copy h1 {
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.92;
}

.auth-copy > p:last-child,
.state-copy > p:last-child {
  max-width: 430px;
  margin-top: 18px;
  color: var(--shop-muted);
}

#login .form,
#new-user .form {
  width: min(420px, 100%);
  padding: 28px;
}

.closed-note {
  padding: 13px;
  background: var(--shop-soft);
  color: var(--shop-muted);
  border-radius: 6px;
  font-size: 14px;
}

#login h2,
#new-user h2 {
  margin-top: 0;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 34px;
}

.buy,
.buttClose,
.reset {
  border-width: 1px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.buy:hover,
.buttClose:hover,
.reset:hover {
  border-width: 1px;
}

.status {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.status-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.state-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  min-height: calc(100vh - 150px);
  align-items: center;
  gap: 7vw;
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: auto;
  padding: 40px 0;
}

.state-visual {
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 2 / 3;
  justify-self: center;
  background: var(--shop-soft);
  border-radius: 8px;
}

.state-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modalwrapper {
  border-radius: 8px;
}

footer {
  border-top: 1px solid var(--shop-line);
  background: var(--shop-paper);
}

.darkmode {
  --shop-ink: #f1f2ef;
  --shop-muted: #a7aca7;
  --shop-warning: #f1c76b;
  --shop-line: #3b3f3c;
  --shop-paper: #222523;
  --shop-bg: #181a19;
  --shop-soft: #2b2e2c;
  --shop-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
  background: var(--shop-bg);
  color: var(--shop-ink);
}

.darkmode .site-header {
  background: rgba(34, 37, 35, 0.96);
}

.darkmode #intro {
  background:
    linear-gradient(105deg, rgba(244, 188, 69, 0.09), rgba(244, 188, 69, 0) 44%),
    var(--shop-paper);
}

.darkmode .nav-balance {
  background: #183b30;
  color: #72d4b2;
}

.darkmode .imgwrp {
  background: #434343;
}

.darkmode .food-wrapper .item,
.darkmode .process-panel,
.darkmode .credit-panel,
.darkmode .settings-panel,
.darkmode .success-panel,
.darkmode #login .form,
.darkmode #new-user .form,
.darkmode footer {
  background: var(--shop-paper);
}

.darkmode .trust-notice {
  background: #39331f;
  color: #e0cb8d;
}

.darkmode .buy,
.darkmode .basket-wrapper.full {
  border-width: 1px;
}

.darkmode .reset,
.darkmode .buttClose {
  border-width: 1px;
}

.darkmode table.history,
.darkmode table.history tbody tr:nth-child(odd) {
  background: var(--shop-paper);
  color: var(--shop-ink);
}

.darkmode table.history tbody tr:nth-child(even) {
  background: var(--shop-soft);
}

@media (max-width: 1050px) {
  .food-wrapper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .nav-user {
    display: none;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

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

  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 12px;
    display: grid;
    width: min(330px, calc(100% - 24px));
    padding: 8px;
    border: 1px solid var(--shop-line);
    background: var(--shop-paper);
    box-shadow: var(--shop-shadow);
    border-radius: 0 0 8px 8px;
  }

  .mobile-menu a,
  .mobile-account {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    color: var(--shop-ink);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu a:hover,
  .mobile-menu a[aria-current="page"] {
    background: var(--shop-soft);
  }

  .mobile-account {
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--shop-line);
    border-radius: 0;
  }

  .mobile-account span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
  }

  .mobile-account strong {
    color: var(--shop-green);
    white-space: nowrap;
  }

  .mobile-menu .menu-logout {
    margin-top: 5px;
    border-top: 1px solid var(--shop-line);
    color: var(--shop-red);
  }

  #intro .container {
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    gap: 24px;
  }

  .food-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container,
  .site-nav {
    max-width: calc(100% - 24px);
  }

  .site-nav {
    min-height: 56px;
    gap: 10px;
  }

  .site-brand > span:last-child {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-account {
    gap: 8px;
  }

  .nav-balance {
    padding: 6px 8px;
  }

  .nav-balance > span {
    display: none;
  }

  .header-basket-label {
    display: none;
  }

  #intro {
    padding: 25px 0 22px;
  }

  #intro .container {
    display: block;
  }

  #intro .perex {
    font-size: 34px;
  }

  .intro-note {
    max-width: 340px;
    margin-top: 14px;
    font-size: 13px;
  }

  .intro-logo {
    display: none;
  }

  #header {
    padding-top: 20px;
  }

  .shop-toolbar h1,
  .page-heading h1,
  .success-panel h1 {
    font-size: 32px;
  }

  .basket-message {
    display: none;
  }

  #main h2 {
    margin-top: 27px;
    font-size: 15px;
  }

  .food-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .food-wrapper .item {
    padding: 6px;
    border-radius: 6px;
  }

  .imgwrp {
    margin-bottom: 6px;
  }

  .name {
    min-height: 2.55em;
    margin-bottom: 3px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .price {
    font-size: 14px;
    white-space: nowrap;
  }

  .sale {
    display: none;
  }

  .qavail {
    min-height: 14px;
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.2;
  }

  .buy.prod {
    min-height: 32px;
    padding: 5px 2px;
    font-size: 9px;
  }

  .imgwrp .icon-sale,
  .imgwrp .icon-new,
  .darkmode .imgwrp .icon-sale,
  .darkmode .imgwrp .icon-new {
    width: 30px;
    height: 30px;
  }

  .imgwrp .icon-vegan,
  .darkmode img.image.icon-vegan {
    width: 16px;
    height: 16px;
    max-width: 16px;
  }

  .page-section,
  #shopping_history {
    padding: 25px 0 38px;
  }

  .page-heading {
    margin-bottom: 18px;
  }

  .back-link {
    margin-bottom: 22px;
  }

  .credit-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-panel,
  .credit-panel,
  .settings-panel {
    padding: 16px;
  }

  .input-cont:not(.submit):not(.back) {
    flex-direction: column;
  }

  .input-cont.submit,
  .settingssave {
    align-items: stretch;
    flex-direction: column;
  }

  .input-cont.submit > *,
  .settingssave > * {
    box-sizing: border-box;
    width: 100%;
  }

  .table-shell {
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  table.history {
    min-width: 560px;
  }

  .pagination {
    justify-content: space-between;
  }

  .modalwrapper {
    width: calc(100% - 20px);
  }

  .auth-section {
    min-height: calc(100vh - 110px);
    padding: 32px 0;
  }

  .auth-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .auth-copy h1,
  .state-copy h1 {
    font-size: 44px;
  }

  #login .form,
  #new-user .form {
    width: 100%;
    padding: 20px;
  }

  .state-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 0 45px;
  }

  .state-visual {
    width: min(100%, 320px);
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 350px) {
  .food-wrapper {
    gap: 5px;
  }

  .food-wrapper .item {
    padding: 5px;
  }

  .name {
    font-size: 10px;
  }

  .price {
    font-size: 13px;
  }
}

/* Shop polish and checkout */
.nav-balance {
  background: #f8e8e5;
  color: var(--shop-red-dark);
}

.food-wrapper .item:hover {
  border-color: var(--shop-line);
  box-shadow: 0 5px 18px rgba(32, 35, 33, 0.07);
  transform: none;
}

.imgwrp {
  aspect-ratio: 1;
  background: #ffffff;
}

img.image,
.darkmode img.image {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding: 8%;
  object-fit: contain;
  background: #ffffff;
}

.darkmode img.image {
  background: transparent;
}

.cart-icon {
  display: none;
}

.product-cart-control {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  width: 100%;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 5px;
}

.product-cart-control button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.product-cart-add,
.product-cart-summary {
  grid-column: 1 / -1;
  width: 100%;
  background: var(--shop-red);
  color: white;
}

.product-cart-add:hover:not(:disabled),
.product-cart-summary:hover {
  background: var(--shop-red-dark);
}

.product-cart-add:disabled {
  background: var(--shop-soft);
  color: var(--shop-muted);
  cursor: not-allowed;
}

.product-cart-summary {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-cart-summary svg {
  width: 18px;
  height: 18px;
}

.product-cart-step {
  background: var(--shop-paper);
  color: var(--shop-red);
}

.product-cart-step:hover:not(:disabled) {
  background: #f8e8e5;
}

.product-cart-increase {
  background: var(--shop-red);
  color: white;
}

.product-cart-increase:hover:not(:disabled) {
  background: var(--shop-red-dark);
}

.product-cart-step:disabled {
  color: var(--shop-muted);
  cursor: not-allowed;
  opacity: 0.45;
}

.product-cart-step svg {
  width: 18px;
  height: 18px;
}

.product-cart-count {
  display: grid;
  min-width: 0;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--shop-line);
  border-left: 1px solid var(--shop-line);
  color: var(--shop-ink);
  font-size: 14px;
  font-weight: 800;
}

.product-cart-control button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--shop-ink);
  outline-offset: -3px;
}

.product-cart-remove {
  background: #777b78;
  color: white;
}

.product-cart-remove:hover:not(:disabled) {
  background: #898d8a;
}

.imgwrp .icon-vegan,
.darkmode img.image.icon-vegan {
  opacity: 0.7;
}

.imgwrp .icon-vegan,
.darkmode img.image.icon-vegan,
.imgwrp .icon-sale,
.imgwrp .icon-new,
.darkmode .imgwrp .icon-sale,
.darkmode .imgwrp .icon-new {
  padding: 0;
  background: transparent;
}

.price {
  font-size: 14px;
}

.price > strong {
  font-size: 20px;
}

.credit-panel .qrcontent .input-cont {
  justify-content: center;
}

.credit-panel .qrcontent label {
  font-size: 15px;
  font-weight: 700;
}

.credit-panel #amount {
  width: 130px;
  min-height: 40px;
  font-size: 16px;
}

.credit-panel .settingssave {
  justify-content: center;
}

.settings-panel .checkcont:hover input ~ .checkmark {
  background: #b7bbb7;
}

.settings-panel .checkcont:hover input:checked ~ .checkmark {
  background: #07684c;
}

.checkout-view[hidden],
#intro[hidden],
#header[hidden],
#main[hidden] {
  display: none !important;
}

.checkout-view {
  min-height: calc(100vh - 150px);
  padding: 35px 0 55px;
}

.checkout-back {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.checkout-heading {
  margin-bottom: 20px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 20px;
}

.checkout-products,
.checkout-summary {
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
}

.checkout-columns,
.checkout-item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 130px 100px 38px;
  align-items: center;
  gap: 14px;
}

.checkout-columns {
  padding: 11px 16px;
  border-bottom: 1px solid var(--shop-line);
  color: var(--shop-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-item {
  position: relative;
  min-height: 74px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--shop-line);
}

.checkout-item:last-child {
  border-bottom: 0;
}

.checkout-product {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.checkout-product img {
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--shop-line);
  background: white;
  border-radius: 5px;
  object-fit: contain;
}

.checkout-product div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.checkout-product strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-product span {
  color: var(--shop-muted);
  font-size: 11px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  width: max-content;
  overflow: hidden;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--shop-soft);
  color: var(--shop-ink);
  cursor: pointer;
}

.quantity-control button:hover:not(:disabled) {
  background: var(--shop-red);
  color: white;
}

.quantity-control button:disabled {
  color: var(--shop-muted);
  cursor: not-allowed;
  opacity: 0.4;
}

.quantity-control button svg {
  width: 14px;
  height: 14px;
}

.quantity-control strong {
  text-align: center;
  font-size: 13px;
}

.checkout-line-price {
  font-size: 14px;
  white-space: nowrap;
}

.remove-item {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: transparent;
  color: var(--shop-muted);
  border-radius: 5px;
  cursor: pointer;
}

.remove-item:hover {
  background: #f8e8e5;
  color: var(--shop-red);
}

.remove-item svg {
  width: 17px;
  height: 17px;
}

.checkout-summary {
  position: sticky;
  top: 82px;
  padding: 20px;
}

.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  color: var(--shop-muted);
  font-size: 13px;
}

.checkout-summary > div strong {
  color: var(--shop-ink);
}

.checkout-summary .checkout-total {
  margin: 8px 0 16px;
  padding-top: 15px;
  border-top: 1px solid var(--shop-line);
  color: var(--shop-ink);
  font-weight: 800;
}

.checkout-total strong {
  font-size: 20px;
}

.checkout-pay:disabled {
  border-color: var(--shop-line);
  background: var(--shop-soft);
  color: var(--shop-muted);
  cursor: not-allowed;
}

.checkout-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 60px 20px;
  color: var(--shop-muted);
  text-align: center;
}

.checkout-empty svg {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}

.checkout-empty strong {
  color: var(--shop-ink);
}

.checkout-empty span {
  font-size: 12px;
}

.darkmode .nav-balance {
  background: #442527;
  color: #ff9292;
}

.mobile-account strong {
  color: var(--shop-red-dark);
}

.darkmode .mobile-account strong {
  color: #ff9292;
}

.darkmode .food-wrapper .item:hover {
  border-color: var(--shop-line);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

.darkmode .settings-panel .checkcont:hover input ~ .checkmark {
  background: #555a56;
}

.darkmode .settings-panel .checkcont:hover input:checked ~ .checkmark {
  background: #b91d24;
}

.darkmode .settings-panel .checkcont input:checked ~ .checkmark {
  background: var(--shop-red);
}

@media (max-width: 820px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  .price {
    font-size: 9px;
  }

  .price > strong {
    font-size: 14px;
  }

  .credit-panel .qrcontent .input-cont {
    align-items: center;
  }

  .credit-panel #amount {
    width: 100%;
  }

  .checkout-view {
    padding: 25px 0 40px;
  }

  .checkout-columns {
    display: none;
  }

  .checkout-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 11px;
    padding: 12px;
  }

  .checkout-product {
    grid-column: 1 / -1;
  }

  .quantity-control {
    grid-column: 1;
  }

  .checkout-line-price {
    grid-column: 2;
    grid-row: 2;
    padding-right: 40px;
  }

  .remove-item {
    position: absolute;
    right: 8px;
    bottom: 11px;
  }

  .checkout-summary {
    padding: 16px;
  }
}

/* Account, history, and recovery consistency */
.nav-balance,
.darkmode .nav-balance {
  background: var(--shop-soft);
  color: var(--shop-ink);
}

.nav-balance:hover,
.darkmode .nav-balance:hover {
  border-color: var(--shop-muted);
  background: var(--shop-paper);
}

.mobile-account strong,
.darkmode .mobile-account strong {
  color: var(--shop-muted);
}

.nav-user {
  color: var(--shop-muted);
  text-decoration: none;
}

.nav-user:hover,
.nav-user[aria-current="page"] {
  color: var(--shop-red);
}

.nav-admin,
.nav-logout {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-muted);
  border-radius: 6px;
  text-decoration: none;
}

.nav-admin:hover,
.nav-logout:hover {
  border-color: var(--shop-red);
  color: var(--shop-red);
}

.nav-admin svg,
.nav-logout svg {
  width: 17px;
  height: 17px;
}

body #shopping_history .table-shell table.history > thead,
body.darkmode #shopping_history .table-shell table.history > thead {
  background: #363a37;
  color: #f7f7f4;
}

#shopping_history table.history > thead th {
  border: 0;
  font-size: 11px;
  font-weight: 800;
}

.pagination {
  gap: 10px;
  margin-top: 20px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  background: var(--shop-soft);
  color: var(--shop-ink);
  border-radius: 6px;
}

.pagination-link svg {
  width: 16px;
  height: 16px;
}

.pagination-link:hover {
  background: var(--shop-ink);
  color: var(--shop-paper);
}

.pagination-link.disabled {
  border: 0;
  background: transparent;
  color: var(--shop-muted);
  opacity: 0.45;
}

.pagination-status {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 58px;
  justify-content: center;
  color: var(--shop-muted);
  font-size: 12px;
}

.pagination-status strong {
  color: var(--shop-ink);
  font-size: 15px;
}

.success-icon,
.error-panel .success-icon {
  background: #fff1c9;
  color: #7a5200;
}

.result-message {
  margin: 14px 0 24px;
  color: var(--shop-ink);
  font-size: 16px;
  font-weight: 700;
}

.result-message.error {
  color: var(--shop-red);
}

.success-panel {
  margin-top: 12px;
}

.profile-panel {
  width: min(820px, 100%);
  overflow: hidden;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
}

.profile-group {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  padding: 24px;
  border-bottom: 1px solid var(--shop-line);
}

.profile-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.profile-group-heading > svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--shop-red);
}

.profile-group-heading h2 {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  color: var(--shop-ink);
  font-size: 15px;
  font-weight: 800;
}

.profile-group-heading p {
  color: var(--shop-muted);
  font-size: 11px;
  line-height: 1.45;
}

.profile-fields {
  display: grid;
  gap: 14px;
}

.profile-fields label,
.recovery-panel form label,
.auth-panel .login label {
  display: grid;
  gap: 6px;
  color: var(--shop-ink);
  font-size: 12px;
  font-weight: 800;
}

.profile-fields input,
.recovery-panel input,
.auth-panel .login input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 14px;
  line-height: 1.3;
}

.profile-reference {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 2px;
  color: var(--shop-muted);
}

.profile-reference span {
  flex: 0 0 auto;
  color: var(--shop-ink);
  font-size: 12px;
  font-weight: 800;
}

.profile-reference strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
}

.profile-actions {
  padding: 18px 24px;
}

.form-feedback {
  margin: 0 24px 18px;
  color: var(--shop-red);
  font-size: 13px;
  font-weight: 700;
}

.form-feedback p + p {
  margin-top: 4px;
}

.form-feedback.success {
  padding-top: 18px;
  color: var(--shop-ink);
}

.forgot-link {
  display: block;
  width: max-content;
  margin: 10px 0 0 auto;
  color: var(--shop-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.forgot-link:hover {
  color: var(--shop-red);
}

#login .auth-panel,
#password-recovery .auth-panel {
  width: min(380px, 100%);
  padding: 24px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
}

#login .auth-panel h2,
#password-recovery .auth-panel h2 {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  font-size: 30px;
}

.auth-panel .login {
  display: grid;
  gap: 14px;
}

.auth-panel .login .forgot-link {
  margin-top: -3px;
}

.auth-panel .login .auth-action {
  margin-top: 8px;
}

.login-feedback {
  margin: 0;
}

.recovery-panel > .back-link {
  margin-bottom: 22px;
}

.recovery-note {
  margin: -8px 0 20px;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.5;
}

.recovery-panel .form-feedback {
  margin: 0 0 18px;
}

.recovery-panel form {
  display: grid;
  gap: 14px;
}

.recovery-panel .code-input {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.auth-action {
  box-sizing: border-box;
  display: block;
  margin-top: 6px;
  text-align: center;
  text-decoration: none;
}

.recovery-login {
  margin: 22px 0 0;
}

#password-recovery .success-icon {
  margin-bottom: 18px;
}

#password-recovery .form-feedback.success {
  margin: 0 0 18px;
  padding: 0;
  text-align: center;
}

.darkmode .success-icon,
.darkmode .error-panel .success-icon {
  background: #4b3c16;
  color: #ffd976;
}

@media (max-width: 600px) {
  #shopping_history table.history > thead th {
    font-size: 10px;
  }

  .pagination-link span {
    display: none;
  }

  .pagination-link {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .profile-group {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .profile-actions {
    padding: 16px 18px;
  }

  .profile-actions .buy {
    width: 100%;
  }

  .form-feedback {
    margin-right: 18px;
    margin-left: 18px;
  }

  #login .auth-panel,
  #password-recovery .auth-panel {
    width: 100%;
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .nav-logout {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-brand {
    gap: 7px;
  }

  .site-brand > span:last-child {
    display: inline;
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .nav-account {
    gap: 6px;
  }

  .nav-balance {
    display: grid;
    gap: 0;
    width: max-content;
    min-width: 0;
    padding: 4px 6px;
    justify-items: end;
    line-height: 1.1;
    text-align: right;
  }

  .nav-balance > span {
    display: block;
    color: var(--shop-muted);
    font-size: 8px;
    font-weight: 700;
  }

  .nav-balance strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .header-basket {
    box-sizing: border-box;
    height: 38px;
    min-height: 38px;
    margin-top: 0;
    padding: 6px 8px;
  }

  .name {
    min-height: 2.55em;
    font-size: 13px;
    line-height: 1.25;
  }

  .message p {
    font-size: 10px;
  }

  .price {
    font-size: 10px;
  }

  .price > strong {
    font-size: 16px;
  }

  .qavail {
    min-height: 15px;
    font-size: 10px;
  }

  .buy.prod {
    min-height: 34px;
    font-size: 11px;
  }

  .product-cart-control {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    min-height: 34px;
  }

  .product-cart-control button {
    min-height: 34px;
    font-size: 11px;
  }

  .product-cart-count {
    font-size: 11px;
  }

  .product-cart-step svg,
  .product-cart-summary svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 350px) {
  .site-nav {
    gap: 6px;
  }

  .site-brand > span:last-child {
    font-size: 14px;
  }

  .name {
    font-size: 12px;
  }

  .buy.prod {
    font-size: 10px;
  }
}

.purchase-result-panel {
  width: min(500px, 100%);
  box-sizing: border-box;
  margin: 10px auto 0;
  padding: 34px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
  text-align: center;
}

.purchase-result-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  background: var(--shop-soft);
  color: var(--shop-ink);
  border-radius: 50%;
}

.purchase-result-icon svg {
  width: 25px;
  height: 25px;
}

.purchase-result-panel.error .purchase-result-icon {
  background: #f8e8e5;
  color: var(--shop-red);
}

.purchase-result-panel h1 {
  margin-bottom: 16px;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 38px;
  font-weight: 600;
}

.purchase-result-panel > p:last-of-type {
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.55;
}

.purchase-result-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.purchase-result-actions:empty {
  display: none;
}

.purchase-result-actions a {
  text-decoration: none;
}

.darkmode .purchase-result-panel.error .purchase-result-icon {
  background: #442527;
}

@media (max-width: 600px) {
  .purchase-result-panel {
    padding: 26px 20px;
  }

  .purchase-result-panel h1 {
    font-size: 32px;
  }

  .purchase-result-actions .buy {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #login.auth-section,
  #password-recovery.auth-section {
    min-height: calc(100vh - 96px);
    padding: 20px 0;
  }

  #login .auth-layout,
  #password-recovery .auth-layout {
    display: block;
  }

  #login .auth-copy,
  #password-recovery .auth-copy {
    display: none;
  }

  #login .auth-panel,
  #password-recovery .auth-panel {
    box-sizing: border-box;
    width: min(340px, 100%);
    margin: 0 auto;
    padding: 16px;
  }

  #login .auth-panel h2,
  #password-recovery .auth-panel h2 {
    margin-bottom: 16px;
    font-size: 25px;
  }

  .auth-panel .login,
  .recovery-panel form {
    gap: 10px;
  }

  .auth-panel .login input,
  .recovery-panel input {
    min-height: 40px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .recovery-panel .code-input {
    font-size: 16px;
  }

  .auth-panel .login .auth-action,
  .recovery-panel .auth-action {
    min-height: 40px;
    margin-top: 5px;
    padding: 9px 12px;
  }

  .forgot-link,
  .recovery-note,
  .recovery-login,
  .recovery-panel > .back-link {
    font-size: 11px;
  }

  .recovery-note {
    margin-bottom: 14px;
  }

  .recovery-login {
    margin-top: 16px;
  }
}

/* Standalone access screens */
.site-header,
footer {
  box-sizing: border-box;
  width: 100%;
}

.access-page,
#login.access-page {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 48px 20px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(244, 188, 69, 0.18), transparent 48%),
    var(--shop-bg);
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  width: min(1000px, 100%);
  margin: 0 auto;
  gap: 72px;
}

.access-intro h1 {
  margin: 0;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 68px;
  font-weight: 600;
  line-height: 0.94;
}

.access-intro > p:last-child {
  max-width: 430px;
  margin-top: 18px;
  color: var(--shop-muted);
  font-size: 15px;
  line-height: 1.55;
}

.access-panel {
  box-sizing: border-box;
  width: 100%;
  padding: 26px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  border-radius: 8px;
  box-shadow: var(--shop-shadow);
}

.access-panel h2 {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 31px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.1;
}

.access-form {
  display: grid;
  gap: 13px;
  width: 100%;
}

.access-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--shop-ink);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.access-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--shop-line);
  outline: 0;
  background: var(--shop-bg);
  color: var(--shop-ink);
  border-radius: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.access-form input:focus {
  border-color: var(--shop-red);
  box-shadow: 0 0 0 3px rgba(228, 40, 40, 0.13);
}

.access-code {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
}

.access-submit {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  margin: 7px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--shop-red);
  background: var(--shop-red);
  color: white;
  border-radius: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.access-submit:hover {
  border-color: var(--shop-red-dark);
  background: var(--shop-red-dark);
  color: white;
}

.access-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 5px;
  color: var(--shop-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.access-link:hover {
  color: var(--shop-red);
}

.access-link svg {
  width: 15px;
  height: 15px;
}

.access-forgot {
  margin: -2px 0 0 auto;
}

.access-back {
  margin-bottom: 18px;
}

.access-login-back {
  margin: 20px 0 0;
}

.access-note {
  margin: -8px 0 17px;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.5;
}

.access-feedback {
  margin: 0 0 3px;
  color: var(--shop-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.access-feedback p + p {
  margin-top: 4px;
}

.access-feedback.success {
  margin-bottom: 18px;
  color: var(--shop-muted);
  text-align: center;
}

.access-success-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 17px;
  background: var(--shop-soft);
  color: var(--shop-ink);
  border-radius: 50%;
}

.access-success-icon svg {
  width: 23px;
  height: 23px;
}

#password-recovery .access-success-icon + h2 {
  text-align: center;
}

@media (max-width: 760px) {
  .access-body .site-content {
    min-height: 0;
  }

  .access-page,
  #login.access-page {
    display: block;
    min-height: 0;
    padding: 36px 16px 30px;
  }

  .access-layout {
    display: block;
    width: min(380px, 100%);
    margin: 0 auto;
  }

  .access-intro {
    display: none;
  }

  .access-panel {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .access-panel h2 {
    margin-bottom: 18px;
    font-size: 29px;
  }

  .access-form {
    gap: 14px;
  }

  .access-form input {
    min-height: 44px;
    padding: 10px 12px;
    background: var(--shop-paper);
    font-size: 16px;
  }

  .access-submit {
    min-height: 44px;
    margin-top: 8px;
    font-size: 15px;
  }

  .access-note {
    font-size: 14px;
  }

  .access-link,
  .access-feedback {
    font-size: 13px;
  }

  .access-body footer {
    padding: 22px 0;
  }
}

@media (max-width: 360px) {
  .access-page,
  #login.access-page {
    padding: 30px 20px 26px;
  }

  .access-panel h2 {
    font-size: 28px;
  }
}

/* FORBES fruit machine easter egg */
body.fruit-machine-open {
  overflow: hidden;
}

.fruit-machine-modal[hidden] {
  display: none;
}

.fruit-machine-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.fruit-machine-modal.is-open {
  opacity: 1;
}

.fruit-machine-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 9, 0.82);
  backdrop-filter: blur(7px);
}

.fruit-machine {
  position: relative;
  box-sizing: border-box;
  width: min(650px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 18px 22px 16px;
  border: 4px solid #f1bd3f;
  outline: 7px solid #591116;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #b61d27, #6e1017 72%);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  color: #fff7db;
  font-family: "Manrope", sans-serif;
  transform: translateY(22px) scale(0.96);
  transition: transform 340ms cubic-bezier(.16, .84, .26, 1);
}

.fruit-machine-modal.is-open .fruit-machine {
  transform: translateY(0) scale(1);
}

.fruit-machine-close {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 247, 219, 0.42);
  background: rgba(45, 5, 8, 0.56);
  color: #fff7db;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fruit-machine-close:hover,
.fruit-machine-close:focus-visible {
  border-color: #fff7db;
  outline: 2px solid #f1bd3f;
  outline-offset: 2px;
}

.fruit-machine-marquee {
  position: relative;
  margin-bottom: 12px;
  padding: 10px 48px 11px;
  border: 2px solid #382a16;
  background:
    repeating-linear-gradient(135deg, rgba(113, 77, 13, 0.08) 0 8px, transparent 8px 16px),
    #ffd96f;
  color: #491116;
  border-radius: 6px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.85), 0 4px 0 #3c090d;
  text-align: center;
}

.fruit-machine-marquee span,
.fruit-machine-marquee p {
  display: block;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.fruit-machine-marquee h2 {
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  color: #a30f1a;
  font-family: "Newsreader", serif;
  font-size: 43px;
  font-weight: 600;
  line-height: 0.8;
  text-shadow: 0 2px 0 #fff3bd;
}

.fruit-machine-scoreboard {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  align-items: stretch;
  gap: 7px;
  margin: 0 5px 10px;
}

.fruit-machine-scoreboard > div,
.fruit-machine-scoreboard output {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 5px 8px;
  border: 1px solid #594b2c;
  background: #151712;
  color: #ffcf4f;
  border-radius: 4px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.75);
  text-align: center;
}

.fruit-machine-scoreboard > div {
  grid-template-columns: 1fr;
  align-content: center;
}

.fruit-machine-scoreboard > div > span {
  color: #d6caa8;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.fruit-machine-scoreboard strong {
  font-size: 22px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.fruit-machine-scoreboard strong.is-updated {
  color: #8be57e;
  transform: scale(1.18);
}

.fruit-machine-scoreboard output {
  color: #f4f0df;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.fruit-machine-reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: clamp(225px, 38vh, 300px);
  overflow: hidden;
  margin: 0 5px;
  padding: 0 7px;
  border: 8px solid #282a26;
  background: #d8d6cb;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #777164, 0 7px 0 #460a0f;
}

.fruit-reel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid #b8b4aa;
  border-left: 1px solid #ffffff;
  background: #fff;
}

.fruit-reel::before,
.fruit-reel::after {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 34%;
  content: "";
  pointer-events: none;
}

.fruit-reel::before {
  top: 0;
  background: linear-gradient(#595d55, rgba(255, 255, 255, 0));
  opacity: 0.34;
}

.fruit-reel::after {
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), #595d55);
  opacity: 0.34;
}

.fruit-reel-track {
  will-change: transform;
}

.fruit-symbol {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 8px 14px;
  background: #fff;
}

.fruit-symbol img,
.darkmode .fruit-symbol img {
  width: 100%;
  height: 100%;
  max-width: 115px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.fruit-machine.is-spinning .fruit-symbol img {
  filter: blur(1.2px) saturate(1.12);
}

.fruit-payline {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 0;
  left: 0;
  height: 34%;
  border-top: 2px solid rgba(210, 23, 35, 0.8);
  border-bottom: 2px solid rgba(210, 23, 35, 0.8);
  box-shadow: 0 0 8px rgba(210, 23, 35, 0.34);
  pointer-events: none;
  transform: translateY(-50%);
}

.fruit-machine.is-winning .fruit-machine-reels {
  animation: fruit-win 480ms ease-in-out 2;
}

@keyframes fruit-win {
  0%, 100% { box-shadow: inset 0 0 0 2px #777164, 0 7px 0 #460a0f; }
  50% { box-shadow: inset 0 0 24px #fff7a3, 0 0 28px #ffe26d, 0 7px 0 #460a0f; }
}

.fruit-machine-controls {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) minmax(190px, 1fr);
  align-items: center;
  gap: 15px;
  padding: 18px 20px 5px;
}

.fruit-machine-controls button {
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.fruit-machine-controls button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.fruit-machine-controls button:active:not(:disabled) {
  transform: translateY(2px);
}

.fruit-machine-controls button:focus-visible {
  outline: 3px solid #fff7db;
  outline-offset: 3px;
}

.fruit-machine-controls button:disabled {
  cursor: wait;
  filter: saturate(0.55);
}

.fruit-bet-button {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 52px;
  padding: 7px 14px;
  border: 2px solid #d7ad3d;
  background: #183f35;
  color: #fff7db;
  border-radius: 6px;
  box-shadow: 0 5px 0 #09231d;
  text-align: left;
}

.fruit-bet-button > span {
  align-self: center;
  font-size: 14px;
  text-transform: uppercase;
}

.fruit-bet-button strong {
  align-self: center;
  color: #ffda67;
  font-size: 18px;
}

.fruit-bet-button.is-warning {
  animation: fruit-shake 420ms ease;
}

@keyframes fruit-shake {
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.fruit-spin-button {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 8px 24px;
  border: 3px solid #ffe993;
  background: #efbd35;
  color: #431015;
  border-radius: 50%;
  box-shadow: 0 7px 0 #8f6110, 0 10px 16px rgba(0, 0, 0, 0.34), inset 0 3px 0 rgba(255, 255, 255, 0.52);
}

.fruit-spin-button span {
  font-size: 20px;
  line-height: 1;
}

.fruit-spin-button small {
  margin-top: 3px;
  font-size: 8px;
  text-transform: uppercase;
}

.fruit-spin-button.is-refill {
  background: #8be57e;
  border-color: #d7ffd1;
  box-shadow: 0 7px 0 #2f7431, 0 10px 16px rgba(0, 0, 0, 0.34), inset 0 3px 0 rgba(255, 255, 255, 0.52);
}

.fruit-machine-note {
  margin: 8px 0 0;
  color: rgba(255, 247, 219, 0.72);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 600px) {
  .fruit-machine-modal {
    padding: 11px;
  }

  .fruit-machine {
    max-height: calc(100vh - 22px);
    padding: 14px 10px 12px;
    outline-width: 4px;
  }

  .fruit-machine-marquee {
    padding: 8px 40px 9px;
  }

  .fruit-machine-marquee h2 {
    font-size: 35px;
  }

  .fruit-machine-scoreboard {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    margin-right: 0;
    margin-left: 0;
  }

  .fruit-machine-scoreboard output {
    padding: 5px 4px;
    font-size: 10px;
  }

  .fruit-machine-reels {
    height: clamp(195px, 38vh, 255px);
    margin-right: 0;
    margin-left: 0;
    padding: 0 4px;
    border-width: 5px;
  }

  .fruit-symbol {
    padding: 7px;
  }

  .fruit-machine-controls {
    grid-template-columns: 0.7fr 1fr;
    gap: 10px;
    padding: 15px 5px 4px;
  }

  .fruit-bet-button {
    grid-template-columns: 1fr;
    min-height: 50px;
    text-align: center;
  }

  .fruit-bet-button strong {
    font-size: 16px;
  }

  .fruit-spin-button {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fruit-machine-modal,
  .fruit-machine,
  .fruit-machine-controls button,
  .fruit-machine-scoreboard strong {
    transition-duration: 1ms;
  }

  .fruit-machine.is-winning .fruit-machine-reels,
  .fruit-bet-button.is-warning {
    animation: none;
  }
}

/* Fruit machine aligned with the shop UI */
.fruit-machine-backdrop {
  background: rgba(24, 26, 25, 0.72);
  backdrop-filter: blur(5px);
}

.fruit-machine {
  width: min(480px, 100%);
  padding: 18px;
  border: 1px solid var(--shop-line);
  outline: 0;
  background: var(--shop-paper);
  color: var(--shop-ink);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 22, 21, 0.28);
}

.fruit-machine-close {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-muted);
  border-radius: 6px;
  font-size: 20px;
}

.fruit-machine-close:hover,
.fruit-machine-close:focus-visible {
  border-color: var(--shop-red);
  background: var(--shop-red);
  color: #fff;
  outline: none;
}

.fruit-machine-marquee {
  margin: 0 0 12px;
  padding: 14px 48px 13px 16px;
  border: 1px solid var(--shop-line);
  background: var(--shop-soft);
  color: var(--shop-muted);
  border-radius: 6px;
  box-shadow: none;
  text-align: left;
}

.fruit-machine-marquee span,
.fruit-machine-marquee p {
  color: var(--shop-muted);
  font-size: 9px;
  letter-spacing: 0;
}

.fruit-machine-marquee p {
  display: none;
}

.fruit-machine-marquee h2 {
  margin-top: 3px;
  color: var(--shop-ink);
  font-size: 37px;
  line-height: 0.9;
  text-shadow: none;
}

.fruit-sound-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  background: var(--shop-paper);
  color: var(--shop-muted);
  cursor: pointer;
}

.fruit-sound-toggle:hover {
  border-color: var(--shop-muted);
  color: var(--shop-ink);
}

.fruit-sound-toggle:focus-visible {
  outline: 2px solid var(--shop-red);
  outline-offset: 2px;
}

.fruit-sound-toggle[aria-pressed="false"] {
  color: var(--shop-red);
}

.fruit-sound-toggle svg {
  width: 17px;
  height: 17px;
}

.fruit-machine-scoreboard {
  display: block;
  margin: 0 0 10px;
}

.fruit-machine-scoreboard > div,
.fruit-machine-scoreboard output {
  min-height: 50px;
  border: 1px solid var(--shop-line);
  background: var(--shop-bg);
  color: var(--shop-ink);
  border-radius: 6px;
  box-shadow: none;
}

.fruit-machine-scoreboard > div > span {
  color: var(--shop-muted);
}

.fruit-machine-scoreboard strong {
  color: var(--shop-ink);
  font-size: 20px;
}

.fruit-machine-scoreboard strong.is-updated {
  color: var(--shop-green);
}

.fruit-machine-scoreboard output {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  color: var(--shop-ink);
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.fruit-machine-reels {
  height: clamp(255px, 42vh, 330px);
  margin: 0;
  padding: 0;
  border: 1px solid var(--shop-line);
  background: var(--shop-soft);
  border-radius: 7px;
  box-shadow: none;
}

.fruit-reel {
  border-right: 1px solid var(--shop-line);
  border-left: 0;
  background: var(--shop-paper);
}

.fruit-reel:last-of-type {
  border-right: 0;
}

.fruit-reel::before,
.fruit-reel::after {
  height: 20%;
  opacity: 0.12;
}

.fruit-reel::before {
  background: linear-gradient(var(--shop-ink), transparent);
}

.fruit-reel::after {
  background: linear-gradient(transparent, var(--shop-ink));
}

.fruit-symbol {
  position: relative;
  margin-inline: auto;
  padding: 5px;
  background: var(--shop-paper);
}

.fruit-symbol img,
.darkmode .fruit-symbol img {
  width: 74%;
  height: 74%;
  max-width: 82px;
  max-height: 82px;
  background: transparent;
  object-fit: contain;
  transition: transform 180ms ease;
}

.fruit-machine.is-spinning .fruit-symbol img {
  filter: none;
}

.fruit-symbol.is-winning-symbol img {
  animation: fruit-symbol-flash 340ms cubic-bezier(.16, 1, .3, 1) 3;
}

.fruit-symbol.is-winning-symbol::after {
  content: none;
}

.fruit-paylines {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fruit-paylines line {
  stroke: transparent;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.fruit-paylines line.is-winning-line {
  stroke: var(--shop-red);
  stroke-width: 3;
  filter: drop-shadow(0 0 3px rgba(228, 40, 40, 0.42));
  animation: fruit-line-flash 340ms cubic-bezier(.16, 1, .3, 1) 3;
}

.fruit-machine.is-winning .fruit-machine-reels {
  animation: none;
}

@keyframes fruit-line-flash {
  0%, 100% { opacity: 0; }
  28%, 68% { opacity: 1; }
}

@keyframes fruit-symbol-flash {
  0%, 100% { transform: scale(1); }
  28%, 68% { transform: scale(1.14); }
}

.fruit-machine-controls {
  grid-template-columns: minmax(120px, 0.65fr) minmax(180px, 1fr);
  gap: 10px;
  padding: 12px 0 0;
}

.fruit-machine-controls button {
  border-radius: 6px;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 100ms ease;
}

.fruit-machine-controls button:hover:not(:disabled) {
  filter: none;
  transform: none;
}

.fruit-machine-controls button:active:not(:disabled) {
  transform: translateY(1px);
}

.fruit-machine-controls button:focus-visible {
  outline: 2px solid var(--shop-ink);
  outline-offset: 2px;
}

.fruit-machine-controls button:disabled {
  filter: none;
  opacity: 0.6;
}

.fruit-bet-button {
  min-height: 72px;
  padding: 10px 18px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-ink);
  border-radius: 6px;
  box-shadow: none;
}

.fruit-bet-button:hover:not(:disabled) {
  border-color: var(--shop-ink);
  background: var(--shop-soft);
}

.fruit-bet-button strong {
  color: var(--shop-ink);
  font-size: 26px;
  line-height: 1;
}

.fruit-bet-button strong .kolonial-coin-icon {
  width: 0.82em;
  height: 0.82em;
}

.fruit-spin-button {
  min-height: 72px;
  padding: 10px 18px;
  border: 1px solid var(--shop-red);
  background: var(--shop-red);
  color: #fff;
  border-radius: 6px;
  box-shadow: none;
}

.fruit-spin-button:hover:not(:disabled) {
  border-color: var(--shop-red-dark);
  background: var(--shop-red-dark);
}

.fruit-spin-button span {
  font-size: 16px;
}

.fruit-spin-button small {
  font-size: 8px;
}

.fruit-spin-button.is-refill {
  border-color: var(--shop-green);
  background: var(--shop-green);
  box-shadow: none;
}

.fruit-machine-note {
  margin-top: 11px;
  color: var(--shop-muted);
  font-size: 9px;
}

@media (max-width: 600px) {
  .fruit-machine {
    padding: 10px;
    outline: 0;
  }

  .fruit-machine-marquee {
    padding: 11px 42px 10px 12px;
  }

  .fruit-machine-marquee h2 {
    font-size: 31px;
  }

  .fruit-machine-scoreboard {
    display: block;
  }

  .fruit-machine-reels {
    height: clamp(225px, 39vh, 280px);
    padding: 0;
    border-width: 1px;
  }

  .fruit-symbol {
    padding: 5px;
  }

  .fruit-symbol img,
  .darkmode .fruit-symbol img {
    width: 68%;
    height: 68%;
    max-width: 68px;
    max-height: 68px;
  }

  .fruit-machine-controls {
    padding-top: 10px;
  }

  .fruit-spin-button {
    min-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fruit-paylines line.is-winning-line,
  .fruit-symbol.is-winning-symbol img {
    opacity: 1;
    animation: none;
  }
}

/* Kolonial Coins */
.kolonial-coin-amount {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  white-space: nowrap;
}

.kolonial-coin-icon {
  display: inline-grid;
  place-items: center;
  width: 0.78em;
  height: 0.78em;
  flex: 0 0 auto;
  vertical-align: -0.06em;
}

.kolonial-coin-icon img,
.darkmode .kolonial-coin-icon img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
}

.mobile-balances {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-balances a {
  border-radius: 4px;
  text-decoration: none;
}

.mobile-balances a:hover strong {
  color: var(--shop-red);
}

.mobile-balances strong:first-child {
  color: var(--shop-green);
}

.coins-page {
  padding: 36px 0 72px;
}

.coins-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.coins-total {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  justify-items: center;
  min-width: 190px;
  padding: 16px 22px 16px 18px;
  border-left: 4px solid var(--shop-green);
  background: var(--shop-soft);
  text-align: center;
}

.coins-total > span {
  grid-column: 1 / -1;
  color: var(--shop-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.coins-total strong {
  display: flex;
  justify-content: center;
  color: var(--shop-ink);
  font-family: "Newsreader", serif;
  font-size: 42px;
  line-height: 1;
}

.coins-total .kolonial-coin-amount {
  align-items: center;
  justify-content: center;
}

.coins-total .kolonial-coin-icon {
  transform: translateY(-0.06em);
}

.coins-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
  border-block: 1px solid var(--shop-line);
}

.coins-stats > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--shop-line);
}

.coins-stats > div:last-child {
  border-right: 0;
}

.coins-stats > div > span {
  color: var(--shop-muted);
  font-size: 11px;
  font-weight: 700;
}

.coins-stats strong {
  color: var(--shop-ink);
  font-size: 18px;
}

.coins-game-layout {
  position: relative;
}

.coins-machine.fruit-machine {
  width: min(480px, 100%);
  max-height: none;
  margin: 0 auto;
  overflow: visible;
  transform: none;
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}

.coins-paytable {
  position: absolute;
  top: 0;
  left: calc(50% + 268px);
  width: 260px;
  padding: 0;
  transition: left 240ms cubic-bezier(.2, .8, .2, 1);
}

.coins-game-layout.is-paytable-open .coins-machine {
  transform: translateX(-139px);
}

.coins-game-layout.is-paytable-open .coins-paytable {
  left: calc(50% + 129px);
}

.coins-paytable-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: max-content;
  min-height: 30px;
  padding: 4px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--shop-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.coins-paytable-toggle:hover {
  background: var(--shop-soft);
  color: var(--shop-ink);
}

.coins-paytable-toggle:focus-visible {
  outline: 2px solid var(--shop-red);
  outline-offset: 2px;
}

.coins-paytable-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.coins-paytable-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.coins-paytable-content[hidden] {
  display: none;
}

.coins-paytable-content h2 {
  margin: 18px 0 8px;
}

.coins-paytable-content > p {
  margin-bottom: 20px;
  color: var(--shop-muted);
  font-size: 14px;
}

.coins-symbol-list {
  width: min(100%, 260px);
  border-top: 1px solid var(--shop-line);
}

.coins-symbol-list > div {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--shop-line);
}

.coins-symbol-combination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coins-symbol-combination img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.coins-symbol-list strong {
  color: var(--shop-red);
  font-size: 18px;
}

.fruit-jackpot-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background: var(--shop-paper);
  color: var(--shop-ink);
  box-shadow: 0 24px 70px rgba(22, 18, 16, 0.32);
}

.fruit-jackpot-dialog::backdrop {
  background: rgba(22, 18, 16, 0.72);
  backdrop-filter: blur(4px);
}

.fruit-jackpot-dialog form {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 34px 34px 30px;
  text-align: center;
}

.fruit-jackpot-dialog img {
  width: 132px;
  height: 132px;
  margin-bottom: 18px;
  object-fit: contain;
}

.fruit-jackpot-dialog .eyebrow {
  margin-bottom: 5px;
  color: var(--shop-red);
}

.fruit-jackpot-dialog h2 {
  margin: 0 0 8px;
  font-family: "Newsreader", serif;
  font-size: 36px;
  line-height: 1;
}

.fruit-jackpot-dialog p:not(.eyebrow) {
  max-width: 290px;
  margin: 0 0 24px;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.5;
}

.fruit-jackpot-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--shop-muted);
  cursor: pointer;
}

.fruit-jackpot-close:hover {
  background: var(--shop-soft);
  color: var(--shop-ink);
}

.fruit-jackpot-close svg {
  width: 18px;
  height: 18px;
}

.fruit-jackpot-confirm {
  min-width: 120px;
  min-height: 42px;
  padding: 10px 24px;
  border: 1px solid var(--shop-red);
  border-radius: 6px;
  background: var(--shop-red);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.fruit-jackpot-close:focus-visible,
.fruit-jackpot-confirm:focus-visible {
  outline: 2px solid var(--shop-ink);
  outline-offset: 2px;
}

@media (max-width: 940px) {
  .coins-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .coins-stats > div:nth-child(3) {
    border-right: 0;
  }

  .coins-game-layout {
    display: grid;
    justify-items: center;
    gap: 16px;
  }

  .coins-machine.fruit-machine {
    max-width: 540px;
    margin: 0 auto;
    transform: none;
  }

  .coins-game-layout.is-paytable-open .coins-machine {
    transform: none;
  }

  .coins-paytable,
  .coins-game-layout.is-paytable-open .coins-paytable {
    position: static;
    width: min(100%, 540px);
    justify-self: center;
  }

  .coins-paytable-content {
    width: min(100%, 260px);
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .fruit-jackpot-dialog form {
    padding: 28px 22px 24px;
  }

  .fruit-jackpot-dialog img {
    width: 108px;
    height: 108px;
  }

  .fruit-jackpot-dialog h2 {
    font-size: 31px;
  }

  .nav-coin-balance > span {
    display: block;
  }

  .nav-coin-label-prefix {
    display: none;
  }

  .coins-page {
    padding-top: 24px;
  }

  .coins-heading {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .coins-total {
    min-width: 0;
    padding: 10px 16px 10px 12px;
  }

  .coins-total > span {
    font-size: 10px;
  }

  .coins-total strong {
    font-size: 30px;
  }

  .coins-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
  }

  .coins-stats > div,
  .coins-stats > div:nth-child(3) {
    gap: 6px;
    padding: 12px 8px;
    border-right: 1px solid var(--shop-line);
  }

  .coins-stats > div:last-child {
    border-right: 0;
  }

  .coins-stats strong {
    font-size: 22px;
  }
}

/*# sourceMappingURL=main.css.map */