/* Site styles. Ported from the SvelteKit components; one stylesheet for the
   whole public site (the admin uses EasyAdmin's own assets). */

@font-face {
  font-family: 'Texas Tango';
  src: url("../fonts/texas-tango-jKUyyxo.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Century Gothic';
  src: url("../fonts/centurygothic-ajViBNm.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Century Gothic Bold';
  src: url("../fonts/centurygothic_bold-3ERiEkl.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: rgb(0, 0, 0);
  --black-green: rgb(1, 54, 19);
  --black-white: rgb(37, 38, 37);
  --grey: rgb(128, 128, 128);
  --grey-green: rgb(58, 126, 59);
  --grey-white: rgb(123, 121, 121);
  --white: rgb(255, 255, 255);
  --white-green: rgb(161, 212, 136);
  --white-white: rgb(250, 227, 227);
  --red: rgb(204, 0, 0);
  --yellow: rgb(243, 219, 9);
  --dark-yellow: rgb(204, 153, 0);
  --light-grey: rgb(230, 230, 230);
  --button-base-grey: rgb(204, 204, 204);
  --button-hover-grey: rgb(179, 179, 179);
  --button-press-grey: rgb(153, 153, 153);

  --link-button-shadow:
    0px 0px 0px 3px rgb(204, 153, 0) inset, 0px 0px 0px -3px rgb(204, 153, 0) inset;
  --hover-shadow: 0px 0px 10px 0px black;
  --active-shadow: 0px 0px 10px 0px red;

  --link-button-border: 3px solid black;
  --link-button-border-radius: 17px;
}

body {
  margin: 0;
  font-family: 'Century Gothic', sans-serif;
  color: var(--black);
}

/* ---------- layout ---------- */

main {
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding: 0 40px;

  @media (max-width: 640px) {
    padding: 0 20px;
  }
}

.header-wrapper {
  z-index: 5;
  position: sticky;
  top: 0;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 20px 0;

  @media (max-width: 640px) {
    padding: 10px 0;
  }
}

/* ---------- breadcrumbs ---------- */

.breadcrumbs {
  font-size: 20px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  width: 100%;

  @media (max-width: 640px) {
    font-size: 15px;
  }
}
.breadcrumbs ol {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}
.breadcrumbs ol::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
.breadcrumbs li {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  margin-left: 4px;
}
.breadcrumbs li:first-child {
  margin-left: 0;
}
.breadcrumb-content {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  color: var(--black);
  cursor: default;
}
a.breadcrumb-content {
  cursor: pointer;
}
a.breadcrumb-content:hover {
  text-decoration: underline;
}
.breadcrumb-chevron {
  width: 24px;
  height: 24px;
}

/* ---------- cart badge in the header ---------- */

.shoping-cart {
  position: relative;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}
.shoping-cart-icon {
  width: 35px;
  height: 35px;
}
.badge-wrapper {
  position: absolute;
  top: 8%;
  left: 25%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.badge-wrapper a {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  user-select: none;
}
.badge {
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Century Gothic Bold';
  font-size: 14px;
  border-radius: 50%;
  background-color: var(--yellow);
}

/* ---------- shared grey button ---------- */

.btn-grey {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  user-select: none;
  background-color: var(--button-base-grey);
}
.btn-grey:hover {
  box-shadow: var(--hover-shadow);
  background-color: var(--button-hover-grey);
}
.btn-grey:active {
  background-color: var(--button-press-grey);
  box-shadow: none;
}
.btn-grey:focus-visible {
  outline: 2px solid var(--dark-yellow);
  outline-offset: 2px;
}

/* ---------- landing ---------- */

.about-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
}
.logo-wrapper {
  width: 436px;
  height: 436px;

  @media (max-width: 640px) {
    width: 330px;
    height: 330px;
  }
}
.logo-wrapper img {
  width: 100%;
  height: 100%;
}
.logo-wrapper img:hover {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 1));
}
.logo-wrapper img:active {
  filter: drop-shadow(0px 0px 3px rgb(210, 22, 22));
}
.buttons-wrapper {
  display: flex;
  width: 355px;
  justify-content: space-between;

  @media (max-width: 640px) {
    width: 340px;
  }
}
.buttons-wrapper-centered {
  justify-content: center;
}
.link-button,
.icon-link-button {
  all: unset;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  border: var(--link-button-border);
  border-radius: var(--link-button-border-radius);
  box-shadow: var(--link-button-shadow);
  background-color: var(--yellow);
  color: var(--red);
  font-family: 'Texas Tango';
}
.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 57px;
  font-size: 32px;
}
.icon-link-button {
  width: 57px;
  height: 57px;
}
.link-button:hover,
.icon-link-button:hover {
  border: none;
  box-shadow: var(--hover-shadow);
}
.link-button:active,
.icon-link-button:active {
  border: none;
  box-shadow: var(--active-shadow);
}
.icon-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  width: 39px;
  height: 39px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.icon-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

/* ---------- shop ---------- */

.shop-wrapper {
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.product-card {
  height: 375px;
  background-color: var(--light-grey);
  padding: 0;
}
.product-card:hover {
  box-shadow: var(--hover-shadow);
}
.product-card-photo-block {
  position: relative;
  width: 293px;
  height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-photo {
  height: 210px;
}
.product-card-photo-block-slideline-zone {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  display: flex;
}
.product-card-slider {
  all: unset;
  cursor: pointer;
  background-color: var(--yellow);
  opacity: 0;
  height: 100%;
}
.product-card-slider[aria-current='true'] {
  opacity: 0.7;
}
.product-card-arrow {
  all: unset;
  cursor: pointer;
  height: 100%;
  width: 45px;
  position: absolute;
  top: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-arrow[data-direction='left'] {
  left: 0;
}
.product-card-arrow[data-direction='right'] {
  right: 0;
}
.product-card-text {
  text-align: center;
  font-size: 23px;
}
.product-card-button {
  margin-top: 13px;
  width: 272px;
  height: 58px;
  font-family: 'Century Gothic Bold';
  font-size: 20px;
}
.product-card-sold-out .product-card-photo {
  filter: grayscale(1);
  opacity: 0.6;
}
.product-card-sold-out-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background-color: var(--yellow);
  color: var(--black);
  font-family: 'Century Gothic Bold';
  font-size: 14px;
  pointer-events: none;
}
.product-card-button:disabled {
  cursor: default;
  color: var(--grey);
  box-shadow: none;
  background-color: var(--button-base-grey);
}

/* ---------- modal ---------- */

dialog.modal {
  position: relative;
  box-sizing: border-box;
  width: 630px;
  height: 360px;
  max-width: 32em;
  border: none;
  padding: 0;
  cursor: default;

  @media (max-width: 640px) {
    width: 90%;
  }
}
dialog.modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
dialog.modal > div {
  box-sizing: border-box;
  padding: 20px;
  height: 100%;
}
dialog.modal[open] {
  animation: zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
dialog.modal[open]::backdrop {
  animation: fade 0.2s ease-out;
}
@keyframes zoom {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog.modal[open],
  dialog.modal[open]::backdrop {
    animation: none;
  }
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  outline: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
  padding: 0;
  width: 22px;
  height: 22px;
}
.modal-close img {
  width: 100%;
  height: 100%;
}
.modal-wrapper {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.modal-header {
  font-size: 30px;

  @media (max-width: 640px) {
    font-size: 22px;
  }
}
.modal-line-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal-switcher-line-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.modal-price {
  font-size: 35px;
  flex-grow: 1;

  @media (max-width: 640px) {
    font-size: 23px;
  }
}
.modal-button {
  width: 290px;
  height: 62px;
  font-size: 25px;
  flex-shrink: 0;

  @media (max-width: 640px) {
    font-size: 17px;
    width: 60%;
  }
}
.modal-text {
  font-size: 28px;

  @media (max-width: 640px) {
    font-size: 18px;
  }
}
.modal-quantity-text {
  font-size: 28px;
  width: 28px;
  text-align: center;

  @media (max-width: 640px) {
    font-size: 17px;
  }
}
.modal-quantity-block {
  display: flex;
  align-items: center;
}
.modal-quantity-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 25px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-base-grey);

  @media (max-width: 640px) {
    font-size: 17px;
  }
}

/* ---------- size / colour switcher ---------- */

.switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.switcher-label {
  font-size: 28px;

  @media (max-width: 640px) {
    font-size: 22px;
  }
}
.switcher-options {
  display: flex;
  gap: 10px;

  @media (max-width: 640px) {
    gap: 5px;
  }
}
.switcher-button {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  user-select: none;
  position: relative;
  min-width: 24px;
  min-height: 24px;
  border: 3px solid var(--white);
  font-size: 23px;

  @media (max-width: 640px) {
    font-size: 17px;
  }
}
.switcher-button:hover {
  border-color: var(--button-press-grey);
  background-color: var(--button-hover-grey);
}
.switcher-button[aria-current='true'],
.switcher-button[aria-current='true']:hover {
  border-color: var(--button-press-grey);
  background-color: var(--light-grey);
}
.switcher-tooltip {
  display: block;
  position: absolute;
  text-align: start;
  white-space: pre-line;
  color: var(--black);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.1px;
  padding: 2px;
  border: 1px solid var(--grey);
  height: fit-content;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  bottom: 35px;
}
.switcher-button:hover .switcher-tooltip,
.switcher-button:focus-visible .switcher-tooltip {
  opacity: 1;
}

/* ---------- cart ---------- */

.cart-wrapper {
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-header-text {
  align-self: flex-start;
  margin-bottom: 20px;
  font-size: 35px;

  @media (max-width: 640px) {
    font-size: 20px;
  }
}
.cart-note {
  align-self: flex-start;
  text-align: left;
  max-width: 60ch;
  font-size: 20px;
  margin: 0 0 10px;

  @media (max-width: 640px) {
    font-size: 15px;
  }
}
.cart-divider {
  height: 2px;
  background-color: var(--button-hover-grey);
  width: 100%;
  box-shadow: 0px 5px 7px 0px var(--button-press-grey);
}
.cart-total-text {
  font-size: 25px;

  @media (max-width: 640px) {
    font-size: 17px;
  }
}
.cart-total-summ-text {
  font-family: 'Century Gothic Bold';
  font-size: 35px;

  @media (max-width: 640px) {
    font-size: 20px;
  }
}
.cart-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 16px;

  @media (max-width: 640px) {
    font-size: 13px;
  }
}
.cart-contact input {
  box-sizing: border-box;
  width: 320px;
  max-width: 100%;
  padding: 10px 12px;
  font-family: 'Century Gothic';
  font-size: 18px;
  border: 3px solid var(--button-base-grey);
  background-color: var(--white);
}
.cart-contact input:focus-visible {
  outline: none;
  border-color: var(--button-press-grey);
}
.cart-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cart-error {
  max-width: 60ch;
  text-align: right;
  color: var(--red);
  font-size: 16px;
}
.cart-button {
  font-family: 'Century Gothic Bold';
  padding: 15px 10px;
  font-size: 20px;
  flex-shrink: 0;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  color: inherit;

  @media (max-width: 640px) {
    font-size: 13px;
  }
}
.cart-button:disabled {
  cursor: default;
  color: var(--grey);
}
.cart-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  @media (max-width: 640px) {
    align-self: center;
    max-width: 300px;
    display: grid;
    grid-template-areas: 'A A A' 'B D C' 'B E C';
    justify-content: center;
  }
}
.cart-photo-block {
  width: 296px;
  height: 197px;
  background-color: var(--light-grey);
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;

  @media (max-width: 640px) {
    grid-area: A;
  }
}
.cart-photo {
  width: 296px;
}
.cart-text-block {
  font-size: 20px;

  @media (max-width: 640px) {
    font-size: 14px;
    grid-area: B;
  }
}
.cart-price-block {
  font-size: 25px;

  @media (max-width: 640px) {
    font-size: 17px;
    grid-area: E;
  }
}
.cart-quantity-block {
  display: flex;
  align-items: center;
  font-size: 25px;

  @media (max-width: 640px) {
    font-size: 17px;
    grid-area: D;
    justify-self: center;
  }
}
.cart-quantity-text {
  font-size: 28px;
  width: 28px;
  text-align: center;

  @media (max-width: 640px) {
    font-size: 17px;
  }
}
.cart-delete-block {
  display: block;
  outline: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
  padding: 5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;

  @media (max-width: 640px) {
    grid-area: C;
    justify-self: end;
    align-self: center;
  }
}
.cart-delete-block:hover {
  background-color: var(--button-base-grey);
}
.cart-delete-block:active {
  background-color: var(--button-hover-grey);
}
.cart-delete-block img {
  width: 100%;
  height: 100%;
}

/* ---------- team ---------- */

.team-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 40px;
}
.team-card {
  box-sizing: border-box;
  width: 293px;
  padding-bottom: 20px;
  background-color: var(--light-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--hover-shadow);
}
.team-card-photo-block {
  width: 293px;
  height: 293px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-base-grey);
}
.team-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-photo-placeholder {
  width: 55%;
  opacity: 0.3;
}
.team-card-name {
  margin-top: 14px;
  padding: 0 14px;
  font-family: 'Century Gothic Bold';
  font-size: 23px;
}
.team-card-role {
  margin-top: 4px;
  padding: 0 14px;
  font-size: 18px;
  color: var(--grey-green);
}
.team-card-info {
  margin-top: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--grey-white);
  white-space: pre-line;
}
.team-empty {
  padding: 50px 0;
  font-size: 25px;
  text-align: center;

  @media (max-width: 640px) {
    font-size: 15px;
  }
}

/* ---------- donate ---------- */

.donate-wrapper {
  text-align: center;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.donate-logo-wrapper {
  margin-bottom: 20px;
  width: 200px;
}
.donate-logo-wrapper img {
  width: 100%;
}
.donate-header-text {
  margin-bottom: 20px;
  font-size: 35px;

  @media (max-width: 640px) {
    font-size: 20px;
  }
}
.donate-sub-header-text {
  margin-bottom: 20px;
  font-size: 30px;

  @media (max-width: 640px) {
    font-size: 15px;
  }
}
.donate-copy-text {
  all: unset;
  text-align: center;
  width: 500px;
  box-sizing: border-box;
  padding: 5px 10px;
  border: 20px solid rgb(230, 230, 230);
  background-color: rgb(204, 204, 204);
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 25px;

  @media (max-width: 640px) {
    width: 90%;
    font-size: 13px;
    border-width: 10px;
  }
}
.donate-copy-text:hover,
.donate-copy-text:focus-visible {
  background-color: rgb(145, 145, 145);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  padding: 12px 20px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
}

/* ---------- error page ---------- */

.error-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  text-align: center;
}
.error-status {
  /* Not Texas Tango: it is a personal-use font whose digits are a watermark. */
  font-family: 'Century Gothic Bold', sans-serif;
  font-size: 96px;
  color: var(--red);
}
.error-text {
  font-size: 25px;
}
