@charset "UTF-8";
/* Pico css customisation with css variables */
h1 {
  --pico-font-weight: 300;
}

h2 {
  --pico-font-weight: 100;
}

h3 {
  --pico-font-weight: 400;
}

:root {
  --pico-font-weight: 300;
}

/* Dark and light mode colour variables */
:root {
  --mas-color-green-50: rgb(222, 238, 214);
  --mas-color-green-800: #45651e;
  --mas-color-green-900: #3e4406;
  --pico-muted-color: #aaa;
  --order-item-hover-color: var(--pico-color-sand-50);
  --highlighted-background: var(--pico-color-pumpkin-50);
  --alert-danger-background: var(--pico-color-red-50);
  --alert-danger-color: var(--pico-color-red-900);
  --alert-warning-background: var(--pico-color-amber-100);
  --alert-warning-color: var(--pico-color-amber-700);
  --alert-success-background: var(--mas-color-green-50);
  --alert-success-color: var(--mas-color-green-800);
  --alert-debug-background: var(--pico-color-sand-50);
  --alert-debug-color: var(--pico-color-sand-900);
}

@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --pico-muted-color: #666;
    --order-item-hover-color: var(--pico-color-slate-800);
    --highlighted-background: var(--pico-color-slate-700);
    --alert-danger-background: var(--pico-color-red-900);
    --alert-danger-color: var(--pico-color-red-50);
    --alert-warning-background: var(--pico-color-amber-700);
    --alert-warning-color: var(--pico-color-amber-100);
    --alert-success-background: var(--mas-color-green-800);
    --alert-success-color: var(--mas-color-green-50);
    --alert-debug-background: var(--pico-color-sand-900);
    --alert-debug-color: var(--pico-color-sand-50);
  }
}

[data-theme="dark"] {
  --pico-muted-color: #666;
  --order-item-hover-color: var(--pico-color-slate-800);
  --highlighted-background: var(--pico-color-slate-700);
  --alert-danger-background: var(--pico-color-red-900);
  --alert-danger-color: var(--pico-color-red-50);
  --alert-warning-background: var(--pico-color-amber-700);
  --alert-warning-color: var(--pico-color-amber-100);
  --alert-success-background: var(--mas-color-green-900);
  --alert-success-color: var(--mas-color-green-50);
  --alert-debug-background: var(--pico-color-sand-900);
  --alert-debug-color: var(--pico-color-sand-50);
}

/* view transitions */
@view-transition {
  navigation: auto;
}

/* Customize the default animation behavior */
::view-transition-group(root) {
  animation-duration: 0.5s;
}

.obvious-link {
  cursor: pointer;
}

/* Site header */
body > .header-wrapper {
  display: flex;
  justify-content: center;
  width: 100vw;
  background-image: url("/static/images/site/Masaakis1234-header-1_576x216.61f723f9aee5.jpg");
  background-size: cover;
  background-position: 50% 100%;
}

body > .header-wrapper header {
  flex: 1;
  display: flex;
  flex-direction: row;
  max-height: 216px;
  padding: 1.5rem 1.5rem 0rem 1.5rem;
  max-width: 1536px;
}

body > .header-wrapper header > nav {
  width: 100%;
  gap: 1rem;
  /* Logo anchor beside ul.nav-items has different styling */
}

body > .header-wrapper header > nav ul.nav-items {
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 0.25rem;
  flex: 1 1 auto;
}

body > .header-wrapper header > nav ul.nav-items li {
  padding: 0;
}

body > .header-wrapper header > nav ul.nav-items li > a {
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin: 0;
}

body > .header-wrapper header > nav ul.nav-items li > a:hover {
  text-decoration: none;
}

body > .header-wrapper header > nav ul.nav-items li > a:active {
  text-decoration: none;
}

body > .header-wrapper header > nav #home-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: var(--pico-nav-element-spacing-vertical);
}

body > .header-wrapper header > nav #home-logo > img {
  max-width: 144px;
}

@media (min-width: 577px) {
  /* and (max-width: 768px) */
  body > .header-wrapper {
    background-position: 25% 23%;
    background-image: url("/static/images/site/Masaakis1234-header-1_768x288.7dfd4d324730.jpg");
  }
  body > .header-wrapper header > nav {
    gap: 1rem;
  }
  body > .header-wrapper header > nav ul.nav-items {
    align-items: flex-end;
  }
}

@media (min-width: 769px) {
  /* and (max-width: 1024px) */
  body > .header-wrapper {
    background-position: 0 0;
    background-image: url("/static/images/site/Masaakis1234-header-1_1024x384.0f636f57d6ad.jpg");
  }
  body > .header-wrapper header {
    min-height: 216px;
    max-height: 216px;
  }
  body > .header-wrapper header > nav #home-logo > img {
    max-width: 196px;
  }
}

@media (min-width: 1025px) {
  /*  and (max-width: 1280px) */
  body > .header-wrapper {
    background-image: url("/static/images/site/Masaakis1234-header-1_1280x480.b3b0fbdaedd3.jpg");
  }
  body > .header-wrapper header {
    min-height: 320px;
  }
  body > .header-wrapper header > nav ul.nav-items {
    flex-direction: row;
    justify-content: flex-end;
  }
  body > .header-wrapper header > nav #home-logo > img {
    max-width: 288px;
  }
}

@media (min-width: 1281px) {
  /* and (max-width: 1536px) */
  body > .header-wrapper {
    display: flex;
    justify-content: center;
    background-position: center center;
    background-image: url("/static/images/site/Masaakis1234-header-1_1536x576.b8431250bc3c.jpg");
  }
}

@media (min-width: 1537px) {
  body > .header-wrapper {
    background-position: center center;
    background-image: url("/static/images/site/Masaakis1234-header-1_1920x720.1ee5da09d4d4.jpg");
  }
}

/* alerts mimicing bootstrap */
.alert {
  margin-bottom: var(--pico-spacing);
  padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
  border-radius: var(--pico-border-radius);
}

.alert > ul {
  margin-bottom: 0;
}

.alert.alert-danger, .alert.alert-error {
  background-color: var(--alert-danger-background);
  border: 1px solid var(--alert-danger-color);
}

.alert.alert-danger, .alert.alert-danger a, .alert.alert-error, .alert.alert-error a {
  color: var(--alert-danger-color);
}

.alert.alert-warning {
  background-color: var(--alert-warning-background);
  border: 1px solid var(--alert-warning-color);
}

.alert.alert-warning, .alert.alert-warning a {
  color: var(--alert-warning-color);
}

.alert.alert-success, .alert.alert-info {
  background-color: var(--alert-success-background);
  border: 1px solid var(--alert-success-color);
}

.alert.alert-success, .alert.alert-success a, .alert.alert-info, .alert.alert-info a {
  color: var(--alert-success-color);
}

.alert.alert-debug {
  background-color: var(--alert-debug-background);
  border: 1px solid var(--alert-debug-color);
}

.alert.alert-debug, .alert.alert-debug a {
  color: var(--alert-debug-color);
}

/* badge matching bootstrap */
.badge {
  border-radius: var(--pico-border-radius);
  border: 1px solid;
  padding: 0.25rem 0.5rem;
  font-size: 0.9em;
}

.badge.bg-error {
  background-color: var(--pico-color-red-50);
  border: 1px solid var(--pico-color-red-900);
  color: var(--pico-color-red-900);
}

.badge.bg-warning {
  background-color: var(--pico-color-amber-50);
  border: 1px solid var(--pico-color-amber-900);
  color: var(--pico-color-amber-900);
}

.badge.bg-success {
  background-color: var(--mas-color-green-50);
  border: 1px solid var(--mas-color-green-900);
  color: var(--mas-color-green-800);
}

.badge.bg-debug {
  background-color: var(--pico-color-sand-50);
  border: 1px solid var(--pico-color-sand-900);
  color: var(--pico-color-sand-800);
}

.btn-close {
  display: none;
}

.btn-close ::before {
  content: "×";
}

/* allauth */
#the-content-area > form:not(#order-checkout-form),
.form-horizontal {
  max-width: 28rem;
}

#the-content-area > form:not(#order-checkout-form) > .mb-3,
.form-horizontal > .mb-3 {
  padding: 0 var(--pico-form-element-spacing-horizontal) var(--pico-form-element-spacing-vertical);
}

/* interactive elements */
[role="button"]:active,
[type="button"]:active,
[type="file"]::file-selector-button:active,
[type="reset"]:active,
[type="submit"]:active,
button:active {
  background-color: var(--pico-color-green-900);
  color: var(--pico-color-green-50);
}

.home-spread {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (min-width: 1025px) {
  /* and (max-width: 1024px) */
  .home-spread {
    flex-wrap: nowrap;
  }
  .home-spread > * {
    flex: 0 1 auto;
  }
  .home-spread > *:first-child {
    flex: 0 0 25%;
  }
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--pico-block-spacing-horizontal);
  justify-content: center;
}

.action-chunk {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

@media (min-width: 769px) {
  /* and (max-width: 1024px) */
  .action-chunk {
    max-width: 45%;
  }
  .action-chunk .product-image {
    max-width: 100%;
  }
}

.highlighted {
  background: var(--highlighted-background);
  padding: 1rem;
  border-radius: var(--pico-border-radius);
}

@media (min-width: 769px) {
  .highlighted {
    padding: 2rem;
  }
}

form.order-form section > header,
form.order-form section > article > header,
form.order-form article header {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Order checkout form styling */
#order-checkout-form {
  /* Customer and pickup details section */
  /* Screen reader only class */
  /* Order items section */
}

#order-checkout-form .action-row {
  display: flex;
  width: 100%;
}

#order-checkout-form .action-row .action-chunk {
  width: 100%;
  flex: 1 auto;
  max-width: none;
}

#order-checkout-form .customer-pickup-section .customer-details-section,
#order-checkout-form .customer-pickup-section .pickup-details-section {
  margin-bottom: var(--pico-spacing);
}

#order-checkout-form .customer-pickup-section .customer-details-section h3,
#order-checkout-form .customer-pickup-section .pickup-details-section h3 {
  margin: 0 0 var(--pico-spacing) 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid;
  padding-bottom: 0.5rem;
}

#order-checkout-form .customer-pickup-section .customer-details-section .form-group,
#order-checkout-form .customer-pickup-section .pickup-details-section .form-group {
  margin-bottom: var(--pico-spacing);
}

#order-checkout-form .customer-pickup-section .customer-details-section {
  margin-bottom: calc(var(--pico-spacing) * 1.5);
}

#order-checkout-form .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#order-checkout-form .order-items-section .order-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#order-checkout-form .order-items-section .order-item--title {
  font-weight: 500;
}

#order-checkout-form .order-items-section .order-item--dietary-requirements {
  font-size: 0.8rem;
}

#order-checkout-form .order-items-section .order-item--dietary-requirements .dietary-label {
  font-weight: 500;
}

#order-checkout-form .order-items-section .order-item--dietary-requirements .dietary-badges-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

#order-checkout-form .order-items-section .order-item--dietary-requirements .dietary-badges-list li.badge {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
}

#order-checkout-form .order-items-section .order-item--price {
  font-weight: 300;
  display: flex;
  align-items: center;
}

#order-checkout-form .order-items-section .order-item--cost {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#order-checkout-form .order-items-section .order-item--quantity-control {
  display: flex;
  align-items: center;
}

#order-checkout-form .order-items-section .order-item--quantity-control label {
  font-weight: 300;
  margin-bottom: 0;
  font-size: 0.8rem;
}

#order-checkout-form .order-items-section .order-item--quantity-control input[type="number"] {
  margin-bottom: 0;
  height: 2rem;
}

#order-checkout-form .order-items-section .order-item--quantity-control input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--pico-primary-background);
}

#order-checkout-form .order-items-section .order-item--remove-control {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

#order-checkout-form .order-items-section .order-item--remove-control .remove-item-button {
  border: none;
  padding: 0 0.4rem;
  border-radius: var(--pico-border-radius);
  font-weight: 700;
  transition: background-color 0.2s ease;
  margin-bottom: 0;
}

#order-checkout-form .order-items-section .order-item--remove-control .remove-item-button:hover {
  background-color: var(--pico-color-red-600);
}

#order-checkout-form .order-items-section .order-item--remove-control .remove-item-button:focus {
  outline: 2px solid var(--pico-color-red-200);
  outline-offset: 2px;
}

#order-checkout-form .order-items-section .order-item {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(3, min-content);
  grid-gap: 0.25rem;
  padding: 0.5rem;
  border-radius: var(--pico-border-radius);
}

#order-checkout-form .order-items-section .order-item:hover {
  background-color: var(--order-item-hover-color);
}

#order-checkout-form .order-items-section .order-item .order-item--title {
  grid-column: 1 / span 8;
  grid-row: 1;
}

#order-checkout-form .order-items-section .order-item .order-item--dietary-requirements {
  grid-column: 1 / span 8;
  grid-row: 2;
}

#order-checkout-form .order-items-section .order-item .order-item--price {
  grid-column: 1 / 3;
  grid-row: 3;
}

#order-checkout-form .order-items-section .order-item .order-item--cost {
  grid-column: 8 / span 2;
  grid-row: 3;
  font-weight: 700;
  display: flex;
  align-items: center;
}

#order-checkout-form .order-items-section .order-item .order-item--quantity-control {
  grid-column: 3 / span 4;
  grid-row: 3;
}

#order-checkout-form .order-items-section .order-item .order-item--remove-control {
  grid-column: 9 / span 1;
  grid-row: 1 / 3;
}

#order-checkout-form .order-items-section .empty-cart-message {
  text-align: center;
  padding: 2rem;
  margin: var(--pico-spacing) 0;
}

#order-checkout-form .order-items-section .empty-cart-message p {
  margin-bottom: var(--pico-spacing);
  font-size: 1rem;
}

#order-checkout-form .order-items-section .empty-cart-message .continue-shopping-link {
  text-decoration: none;
  font-weight: 600;
}

#order-checkout-form .order-items-section .empty-cart-message .continue-shopping-link:hover {
  text-decoration: underline;
}

#order-checkout-form .order-items-section .add-more-section {
  margin-top: var(--pico-spacing);
  text-align: center;
}

#order-checkout-form .order-items-section .add-more-section .add-more-link {
  color: var(--pico-primary);
  text-decoration: none;
  font-weight: 500;
}

#order-checkout-form .order-items-section .add-more-section .add-more-link:hover {
  text-decoration: underline;
}

#order-checkout-form .order-items-section .order-totals-section {
  padding: var(--pico-spacing);
  border-radius: var(--pico-border-radius);
}

#order-checkout-form .order-items-section .order-totals-section header {
  margin-bottom: var(--pico-spacing);
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid var(--pico-muted-color);
}

#order-checkout-form .order-items-section .order-totals-section .delivery-date-display {
  margin-bottom: var(--pico-spacing);
  padding: calc(var(--pico-spacing) * 0.75);
}

#order-checkout-form .order-items-section .order-totals-section .delivery-date-display dt {
  font-weight: 600;
}

#order-checkout-form .order-items-section .order-totals-section .delivery-date-display .delivery-date-value {
  font-weight: 300;
  color: var(--pico-color);
}

#order-checkout-form .order-items-section .order-totals-section .product-summary {
  margin-bottom: var(--pico-spacing);
  padding-bottom: var(--pico-spacing);
  border-bottom: 1px solid var(--pico-muted-color);
}

#order-checkout-form .order-items-section .order-totals-section .product-summary h4 {
  margin-bottom: calc(var(--pico-spacing) * 0.5);
  font-size: 1rem;
  font-weight: 500;
}

#order-checkout-form .order-items-section .order-totals-section .product-summary .product-counts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#order-checkout-form .order-items-section .order-totals-section .product-summary .product-counts-list .product-count-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pico-spacing) * 0.25) 0;
  border-bottom: 1px solid;
}

#order-checkout-form .order-items-section .order-totals-section .product-summary .product-counts-list .product-count-item:last-child {
  border-bottom: none;
}

#order-checkout-form .order-items-section .order-totals-section .product-summary .product-counts-list .product-count-item .product-name {
  font-weight: 300;
}

#order-checkout-form .order-items-section .order-totals-section .product-summary .product-counts-list .product-count-item .product-count {
  font-weight: 600;
  font-size: 0.9rem;
}

#order-checkout-form .order-items-section .order-totals-section .total-cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--pico-spacing);
}

#order-checkout-form .order-items-section .order-totals-section .total-cost .total-label {
  font-size: 1.1rem;
  font-weight: 500;
}

#order-checkout-form .order-items-section .order-totals-section .total-cost .total-amount {
  font-size: 1.4rem;
  font-weight: 700;
}

#order-checkout-form .order-items-section .checkout-section {
  margin-top: var(--pico-spacing);
  text-align: center;
  padding-top: var(--pico-spacing);
}

#order-checkout-form .order-items-section .checkout-section .checkout-button {
  background-color: var(--pico-primary);
  color: var(--pico-primary-inverse);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--pico-border-radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#order-checkout-form .order-items-section .checkout-section .checkout-button:hover {
  background-color: var(--pico-primary-hover);
}

#order-checkout-form .order-items-section .checkout-section .checkout-button:focus {
  outline: 2px solid var(--pico-primary-background);
  outline-offset: 2px;
}

@media (min-width: 769px) {
  #order-checkout-form .action-row {
    gap: 1rem;
  }
  #order-checkout-form .action-row .action-chunk {
    max-width: 25rem;
  }
}

/* Shopping cart */
#cart-button {
  display: flex;
  padding: 0.5rem;
}

#cart-button svg {
  min-width: 1.5rem;
  min-height: 1.5rem;
  max-width: 1.5rem;
  max-height: 1.5rem;
  margin-right: 0.25rem;
  vertical-align: top;
}

#cart-button #cart-count {
  margin-right: 0.25rem;
  font-weight: bold;
}

#cart-button #cart-total {
  margin-left: 0.25rem;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Product image styling */
.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#product-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Order Summary Page (read-only review before payment) */
.order-summary-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--pico-spacing);
}

.order-summary-container h1 {
  text-align: center;
  margin-bottom: var(--pico-spacing);
}

.order-summary-container .review-instructions {
  text-align: center;
  margin-bottom: calc(var(--pico-spacing) * 2);
  color: var(--pico-muted-color);
}

.order-items-readonly,
.customer-details-readonly,
.pickup-details-readonly,
.order-total-readonly {
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
  padding: var(--pico-spacing);
  margin-bottom: var(--pico-spacing);
  border: 1px solid var(--pico-muted-border-color);
}

.order-items-readonly header,
.customer-details-readonly header,
.pickup-details-readonly header,
.order-total-readonly header {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--pico-spacing);
  border-bottom: 1px solid var(--pico-muted-color);
  padding-bottom: 0.5rem;
}

.dietary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.dietary-badges .badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
}

.order-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-item-readonly {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--pico-muted-border-color);
}

.order-item-readonly .dietary-badges {
  grid-column: 1 / span 3;
}

.order-item-readonly:last-child {
  border-bottom: none;
}

.order-item-readonly:hover {
  background-color: var(--order-item-hover-color);
}

.order-item-readonly .item-name {
  grid-column: 1 / span 3;
  font-weight: 500;
  font-size: 1.05rem;
}

.order-item-readonly .item-price {
  grid-column: 1;
  font-size: 0.9rem;
  color: var(--pico-muted-color);
}

.order-item-readonly .item-quantity {
  grid-column: 2;
  text-align: center;
  font-weight: 500;
}

.order-item-readonly .item-total {
  grid-column: 3;
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
}

.empty-message {
  text-align: center;
  padding: 2rem;
  color: var(--pico-muted-color);
}

.customer-details-readonly dl,
.pickup-details-readonly dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  margin: 0;
}

.customer-details-readonly dl dt,
.pickup-details-readonly dl dt {
  font-weight: 600;
  color: var(--pico-muted-color);
}

.customer-details-readonly dl dd,
.pickup-details-readonly dl dd {
  margin: 0;
}

.order-total-readonly {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  padding: 1.5rem;
  background: var(--highlighted-background);
}

.order-total-readonly .total-label {
  font-weight: 600;
}

.order-total-readonly .total-amount {
  font-weight: 700;
  color: var(--pico-primary);
  font-size: 1.8rem;
}

.order-summary-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: calc(var(--pico-spacing) * 2);
}

.order-summary-actions form {
  margin: 0;
}

.order-summary-actions button {
  min-width: 200px;
  margin: 0;
  font-size: 1.05rem;
  padding: 0.75rem 1.5rem;
}

.order-summary-actions .secondary-button {
  background-color: var(--pico-secondary);
}

.order-summary-actions .secondary-button:hover {
  background-color: var(--pico-secondary-hover);
}

.order-summary-actions .primary-button {
  background-color: var(--pico-primary);
  font-weight: 600;
}

.order-summary-actions .primary-button:hover {
  background-color: var(--pico-primary-hover);
}

/* Responsive adjustments for order summary */
@media (max-width: 768px) {
  .order-summary-actions {
    flex-direction: column;
  }
  .order-summary-actions button {
    width: 100%;
  }
  .order-items-readonly .order-item-readonly {
    grid-template-columns: 1fr 1fr;
  }
  .order-items-readonly .order-item-readonly .item-name {
    grid-column: 1 / span 2;
  }
  .order-items-readonly .order-item-readonly .dietary-badges {
    grid-column: 1 / span 2;
  }
  .order-items-readonly .order-item-readonly .item-price {
    grid-column: 1 / span 2;
  }
  .order-items-readonly .order-item-readonly .item-quantity {
    grid-column: 1;
    text-align: left;
  }
  .order-items-readonly .order-item-readonly .item-total {
    grid-column: 2;
  }
  .customer-details-readonly dl,
.pickup-details-readonly dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .customer-details-readonly dl dt,
.pickup-details-readonly dl dt {
    margin-top: 0.5rem;
  }
  .customer-details-readonly dl dt:first-child,
.pickup-details-readonly dl dt:first-child {
    margin-top: 0;
  }
}

/* Order Confirmation Page */
.confirmation-container {
  text-align: center;
}

.confirmation-container .success-icon {
  font-size: 5rem;
  color: var(--alert-success-color);
  margin-bottom: var(--pico-spacing);
  line-height: 1;
}

.confirmation-container .confirmation-message {
  margin-bottom: calc(var(--pico-spacing) * 2);
}

.confirmation-container .confirmation-message p {
  font-size: 1.1rem;
  margin-bottom: calc(var(--pico-spacing) * 0.5);
}

.confirmation-container .confirmation-message .guest-account-prompt {
  margin-top: var(--pico-spacing);
  padding: var(--pico-spacing);
}

.confirmation-container .confirmation-message .guest-account-prompt p {
  font-size: 0.95rem;
  margin: 0;
}

.confirmation-container .confirmation-message .guest-account-prompt a {
  color: var(--pico-primary);
  font-weight: 600;
  text-decoration: underline;
}

.confirmation-container .order-reference {
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
  padding: var(--pico-spacing);
  margin-bottom: calc(var(--pico-spacing) * 2);
  border: 1px solid var(--pico-muted-border-color);
}

.confirmation-container .order-reference dl {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.confirmation-container .order-reference dl .dd-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.confirmation-container .order-reference dl .dd-group dt {
  font-weight: 600;
}

.confirmation-container .order-reference dl .dd-group dd {
  margin: 0;
}

.confirmation-container .order-reference p {
  margin: 0.5rem 0;
  font-size: 1.05rem;
}

.confirmation-container .order-reference p strong {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--pico-primary);
}

.order-summary-confirmed,
.delivery-details-confirmed,
.next-steps {
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
  padding: var(--pico-spacing);
  margin-bottom: var(--pico-spacing);
  text-align: left;
  border: 1px solid var(--pico-muted-border-color);
}

.order-summary-confirmed header,
.order-summary-confirmed h3,
.delivery-details-confirmed header,
.delivery-details-confirmed h3,
.next-steps header,
.next-steps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--pico-spacing);
  border-bottom: 1px solid var(--pico-muted-color);
  padding-bottom: 0.5rem;
}

.order-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--pico-spacing) 0;
}

.order-summary-confirmed .order-item-confirmed {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--pico-muted-border-color);
}

.order-summary-confirmed .order-item-confirmed:last-child {
  border-bottom: none;
}

.order-summary-confirmed .order-item-confirmed .item-details {
  grid-column: 1;
}

.order-summary-confirmed .order-item-confirmed .item-details .item-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.order-summary-confirmed .order-item-confirmed .item-details .dietary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.order-summary-confirmed .order-item-confirmed .item-details .dietary-badges .badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
}

.order-summary-confirmed .order-item-confirmed .item-quantity {
  grid-column: 2;
  text-align: center;
  align-self: center;
  font-weight: 500;
}

.order-summary-confirmed .order-item-confirmed .item-total {
  grid-column: 3;
  text-align: right;
  align-self: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.order-summary-confirmed .order-total-confirmed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--alert-success-background);
  border-radius: var(--pico-border-radius);
  font-size: 1.3rem;
}

.order-summary-confirmed .order-total-confirmed .total-label {
  font-weight: 600;
}

.order-summary-confirmed .order-total-confirmed .total-amount {
  font-weight: 700;
  color: var(--alert-success-color);
  font-size: 1.6rem;
}

.delivery-details-confirmed dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  margin: 0;
}

.delivery-details-confirmed dl dt {
  font-weight: 600;
  color: var(--pico-muted-color);
}

.delivery-details-confirmed dl dd {
  margin: 0;
  font-weight: 500;
}

.delivery-details-confirmed dl dd strong {
  color: var(--pico-primary);
}

.next-steps {
  background: var(--highlighted-background);
}

.next-steps p {
  margin-bottom: calc(var(--pico-spacing) * 0.5);
}

.next-steps p:last-child {
  margin-bottom: 0;
}

.action-buttons {
  margin-top: calc(var(--pico-spacing) * 2);
  text-align: center;
}

.action-buttons .button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--pico-primary);
  color: var(--pico-primary-inverse);
  text-decoration: none;
  border-radius: var(--pico-border-radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.action-buttons .button:hover {
  background-color: var(--pico-primary-hover);
}

/* Responsive adjustments for confirmation page */
@media (max-width: 768px) {
  .confirmation-container .success-icon {
    font-size: 3.5rem;
  }
  .confirmation-container .order-reference p {
    font-size: 0.95rem;
  }
  .order-summary-confirmed .order-item-confirmed {
    grid-template-columns: 1fr;
  }
  .order-summary-confirmed .order-item-confirmed .item-details,
.order-summary-confirmed .order-item-confirmed .item-quantity,
.order-summary-confirmed .order-item-confirmed .item-total {
    grid-column: 1;
  }
  .order-summary-confirmed .order-item-confirmed .item-quantity,
.order-summary-confirmed .order-item-confirmed .item-total {
    text-align: left;
  }
  .order-summary-confirmed .order-item-confirmed .item-total {
    font-size: 1.2rem;
    margin-top: 0.25rem;
  }
  .order-summary-confirmed .order-total-confirmed {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .delivery-details-confirmed dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .delivery-details-confirmed dl dt {
    margin-top: 0.5rem;
  }
  .delivery-details-confirmed dl dt:first-child {
    margin-top: 0;
  }
}

/* Toast notification system */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-width: 400px;
  font-weight: 500;
  cursor: pointer;
}

.toast.toast-animate-in {
  animation: slideIn 0.3s ease-out;
}

.toast.toast-animate-out {
  animation: slideOut 0.3s ease-in;
}

.toast.toast-success {
  background: var(--alert-success-background);
  color: var(--alert-success-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* Enhance hover effect to indicate entire toast is clickable */
}

.toast.toast-success .toast-icon {
  margin-right: 8px;
}

.toast.toast-success .toast-link {
  color: black;
  margin-left: 12px;
  text-decoration: underline;
  pointer-events: none;
}

.toast.toast-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.toast.toast-error {
  background: var(--alert-warning-background);
  color: var(--alert-warning-color);
}

.toast.toast-error .toast-error-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.toast.toast-error .toast-error-list li {
  margin: 4px 0;
}

/* Email address select dropdown for account management */
.email-select-wrapper {
  margin-bottom: 1.5rem;
}

.email-select-wrapper .email-address-select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.email-select-wrapper .email-address-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.email-select-wrapper .email-address-select option[disabled] {
  color: #6c757d;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Disabled button styles for email management */
button.disabled,
button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.order-card > header,
.order-detail > header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.order-card section > header,
.order-detail section > header,
.staff-dashboard section > header {
  font-weight: 600;
  font-size: 1.1rem;
}

.order-card dt,
.order-detail dt,
.staff-dashboard dt {
  font-weight: 400;
  width: 6rem;
}

.order-card dd,
.order-detail dd,
.staff-dashboard dd {
  margin-left: 1rem;
}

.order-card dd,
.order-card dt,
.order-detail dd,
.order-detail dt,
.staff-dashboard dd,
.staff-dashboard dt {
  display: inline-block;
}

.order-card footer,
.order-detail footer,
.staff-dashboard footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.staff-dashboard {
  /* Responsive order items table */
}

.staff-dashboard .filters {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
}

.staff-dashboard article > header {
  font-weight: 600;
  font-size: 1.3rem;
}

.staff-dashboard .order-items-table {
  /* On narrow screens (< 26rem), stack items vertically */
}

@media (max-width: 26rem) {
  .staff-dashboard .order-items-table thead {
    /* Hide table headers on narrow screens */
    display: none;
  }
  .staff-dashboard .order-items-table tbody,
.staff-dashboard .order-items-table tr {
    display: block;
  }
  .staff-dashboard .order-items-table .order-item-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--pico-muted-border-color);
    /* Item name: full width on first line (forces wrap) */
    /* Second line: dietary (2/3) + quantity (1/3) */
  }
  .staff-dashboard .order-items-table .order-item-row:last-child {
    padding-bottom: 0;
  }
  .staff-dashboard .order-items-table .order-item-row td {
    border: none;
  }
  .staff-dashboard .order-items-table .order-item-row .item-name {
    flex: 0 0 100%;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0 0 0;
  }
  .staff-dashboard .order-items-table .order-item-row .dietary-cell {
    flex: 0 0 66.666%;
    padding: 0.25rem 0.5rem 0.25rem 0;
  }
  .staff-dashboard .order-items-table .order-item-row .item-quantity {
    flex: 0 0 33.333%;
    text-align: right;
    font-weight: 500;
    padding: 0.25rem 0;
  }
}

.staff-navigation {
  margin-bottom: 1rem;
}

.staff-navigation > ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
  margin-bottom: 0.5rem;
}

.staff-navigation > ul > li {
  padding: 0.125rem;
}

.staff-navigation > ul > li > a[type="button"] {
  padding: 0.125rem 0.5rem;
}

.staff-navigation > ul > li > a[type="button"].active {
  border: 1px solid var(--pico-primary-border);
  background: var(--pico-primary-inverse);
  color: var(--pico-primary);
}

.production-summary-card {
  /* Responsive production table */
}

.production-summary-card .production-table {
  /* On narrow screens (< 26rem), stack items vertically */
}

@media (max-width: 26rem) {
  .production-summary-card .production-table thead {
    /* Hide table headers on narrow screens */
    display: none;
  }
  .production-summary-card .production-table tbody,
.production-summary-card .production-table tr {
    display: block;
  }
  .production-summary-card .production-table tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--pico-muted-border-color);
    /* Product name: full width on first line (forces wrap) */
    /* Second line: dietary (2/3) + quantity (1/3) */
  }
  .production-summary-card .production-table tr:last-child {
    padding-bottom: 0;
  }
  .production-summary-card .production-table tr td {
    border: none;
  }
  .production-summary-card .production-table tr td:nth-child(1) {
    flex: 0 0 100%;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0 0 0;
  }
  .production-summary-card .production-table tr td:nth-child(2) {
    flex: 0 0 66.666%;
    padding: 0.25rem 0.5rem 0.25rem 0;
  }
  .production-summary-card .production-table tr td:nth-child(3) {
    flex: 0 0 33.333%;
    text-align: right;
    font-weight: 500;
    padding: 0.25rem 0;
  }
  .production-summary-card .production-table tr td:nth-child(3) strong {
    font-size: 1.1rem;
  }
}

.production-summary-card dl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.production-summary-card dl .stat-box {
  display: flex;
  flex-direction: column;
  flex: 0 1 11rem;
  max-width: calc(50% - 1rem);
}

.production-summary-card dl dd {
  font-size: 3rem;
  margin-left: 0;
}

.production-summary-card dl dt {
  width: 100%;
}

.filter-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.download-button {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-bottom: 21px;
}

.download-button > svg {
  width: 24px;
  height: 26px;
}

/* Settings panel styles */
.settings-panel {
  max-width: 800px;
}

.settings-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
  border: 1px solid var(--pico-muted-border-color);
}

.settings-section h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--pico-color);
}

.settings-section > p {
  color: var(--pico-muted-color);
  margin-bottom: 1.5rem;
}

.maintenance-control {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.maintenance-status-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.maintenance-toggle-button {
  background: var(--pico-primary);
  color: white;
  border: none;
  border-radius: var(--pico-border-radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.maintenance-toggle-button:hover {
  background: var(--pico-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.maintenance-toggle-button:active {
  transform: translateY(0);
}

mark.status-on,
mark.status-off {
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
  min-width: 80px;
  display: inline-block;
  text-align: center;
  border-radius: var(--pico-border-radius);
  font-weight: 600;
  margin: 0;
}

mark.status-on {
  background-color: var(--pico-del-color);
  color: white;
  animation: pulse-danger 2s ease-in-out infinite;
}

mark.status-off {
  background-color: var(--pico-ins-color);
  color: white;
}

@keyframes pulse-danger {
  0%,
100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.maintenance-info {
  padding: 1rem;
  background: var(--pico-code-background-color);
  border-radius: var(--pico-border-radius);
  border-left: 4px solid var(--pico-del-color);
}

.maintenance-info small {
  color: var(--pico-color);
}

.permission-warning {
  padding: 1.5rem;
  background: var(--pico-code-background-color);
  border-radius: var(--pico-border-radius);
  border-left: 4px solid var(--pico-primary);
}

.permission-warning p {
  margin-bottom: 1rem;
}

.permission-warning code {
  background: var(--pico-background-color);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.875rem;
}

.permission-warning details {
  margin-top: 1rem;
}

.permission-warning details summary {
  cursor: pointer;
  color: var(--pico-primary);
  font-weight: 500;
}

.permission-warning details summary:hover {
  text-decoration: underline;
}

.permission-warning ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.5rem;
}

.permission-warning li {
  margin-bottom: 0.5rem;
}

/*# sourceMappingURL=project.css.e3c8e8d80f92.map */
