:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #273b2e;
  background: #f7f5ef;
  --green: #283d30;
  --orange: #cc603c;
  --muted: #879080;
  --line: #e7e7dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  border: 1px solid var(--line);
  padding: 12px 17px;
  border-radius: 9px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
button:hover {
  filter: brightness(0.97);
}
.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.secondary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.plain {
  background: none;
  border: 0;
  padding: 8px;
}
.small {
  padding: 8px 11px;
  font-size: 12px;
}
.wide {
  width: 100%;
}
.header {
  height: 86px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1150px) / 2));
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  font-weight: 600;
  color: #8d977f;
  margin-top: 4px;
  text-transform: uppercase;
}
.mark {
  width: 43px;
  height: 43px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 28px;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.status {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #708267;
}
.status:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #71a074;
  border-radius: 50%;
}
.status.closed:before {
  background: #c5a487;
}
.wrap {
  max-width: 1150px;
  margin: auto;
  padding: 0 24px;
}
.hero {
  background: #283d30;
  position: relative;
  overflow: hidden;
  color: #faf8ec;
  margin: 28px 0 25px;
  border-radius: 19px;
  min-height: 285px;
  padding: 42px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #b1bfa2;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 49px;
  line-height: 1.08;
  letter-spacing: -1.7px;
  margin: 0 0 16px;
  max-width: 520px;
}
.hero p {
  font-size: 12px;
  color: #bdc9b2;
  line-height: 1.7;
  max-width: 410px;
  margin: 0;
}
.hero-art {
  position: relative;
  width: 235px;
  height: 235px;
  flex: none;
  transform: rotate(-18deg);
  margin-right: 25px;
  filter: drop-shadow(14px 18px 14px #101f1e55);
}
.pizza {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, #9e4531 0 8%, transparent 8.8%),
    radial-gradient(circle at 64% 19%, #a84b34 0 9%, transparent 9.8%),
    radial-gradient(circle at 81% 51%, #9e4531 0 9%, transparent 9.8%),
    radial-gradient(circle at 60% 76%, #a54632 0 8%, transparent 8.8%),
    radial-gradient(circle at 24% 67%, #a54632 0 9%, transparent 9.8%),
    radial-gradient(circle at 48% 44%, #bc553a 0 9%, transparent 9.8%),
    radial-gradient(ellipse at 30% 40%, #c1a04b 3%, transparent 4%),
    radial-gradient(
      circle,
      #e6c978 0 60%,
      #bd8347 61% 69%,
      #c89a60 70% 74%,
      #715a36 75%
    );
  border: 2px solid #b17d45;
  position: relative;
}
.pizza:after {
  content: "";
  position: absolute;
  left: 20%;
  top: 34%;
  width: 10px;
  height: 19px;
  border-radius: 100% 0;
  background: #547641;
  transform: rotate(45deg);
  box-shadow:
    72px 16px 0 #547641,
    23px 89px 0 #547641,
    90px 97px 0 #547641;
}
.art-caption {
  position: absolute;
  right: 1px;
  bottom: -2px;
  border: 1px solid #d6dfbd6b;
  color: #e0e8c7;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 8px 14px;
  transform: rotate(18deg);
  border-radius: 30px;
  background: #3e5236;
}
.store-info {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 0 3px 24px;
  font-size: 11px;
  color: #7d8878;
}
.store-info strong {
  color: #475b45;
  font-weight: 600;
}
.dot-sep {
  width: 3px;
  height: 3px;
  background: #b9c1ae;
  border-radius: 50%;
}
.shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  margin: 30px 0 60px;
}
.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.catalog-head h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 0;
}
.search {
  width: 220px;
  font-size: 11px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 12px 14px;
}
.categories {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
  overflow: auto;
  padding-bottom: 4px;
}
.categories button {
  flex: none;
  border-radius: 25px;
  padding: 9px 17px;
  font-size: 11px;
  background: none;
}
.categories .selected {
  background: #e7ecdf;
  border-color: #d4dfc7;
  color: #45643d;
}
.section-label {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 15px;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.product {
  display: flex;
  text-align: left;
  padding: 20px 16px;
  gap: 15px;
  min-height: 155px;
  justify-content: space-between;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.product strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}
.product p {
  font-size: 10px;
  color: #8d9486;
  line-height: 1.65;
  margin: 8px 0 13px;
  font-weight: 400;
  max-width: 180px;
}
.product .price {
  margin-top: auto;
  font-size: 12px;
  color: #576d48;
}
.product-art {
  width: 85px;
  flex: none;
  position: relative;
  align-self: center;
}
.mini-pizza {
  width: 80px;
  height: 80px;
  transform: rotate(15deg);
  filter: drop-shadow(2px 3px 3px #0001);
}
.mini-pizza .pizza:after {
  width: 4px;
  height: 7px;
  box-shadow:
    20px 13px 0 #547641,
    14px 32px 0 #547641;
}
.drink-art {
  height: 80px;
  display: grid;
  place-items: center;
  font-size: 45px;
  filter: grayscale(0.2);
}
.plus {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background: #e9eddf;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #63734e;
}
.basket {
  position: sticky;
  top: 24px;
  align-self: start;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 23px;
}
.basket h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 25px;
}
.basket-empty {
  text-align: center;
  padding: 28px 7px 40px;
  color: #a0a892;
  font-size: 11px;
  line-height: 1.9;
}
.basket-empty span {
  display: block;
  font-size: 36px;
  margin-bottom: 13px;
  color: #b5bea7;
}
.basket-empty strong {
  font-size: 12px;
  color: #6c7e62;
  display: block;
  margin-bottom: 5px;
}
.basket-line {
  border-bottom: 1px dashed var(--line);
  padding: 14px 0;
}
.line-main {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1.6;
}
.line-main strong {
  font-weight: 650;
}
.line-sub {
  font-size: 10px;
  color: #929c87;
  line-height: 1.6;
  margin: 5px 0;
}
.line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 10px;
}
.counter {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
.counter button {
  padding: 2px 8px;
  font-weight: 500;
  border-radius: 5px;
}
.line-controls .plain {
  font-size: 9px;
  color: #98a08d;
  padding: 0;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 12px;
}
.subtotal strong {
  font-size: 18px;
}
.basket-foot {
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
  color: #9ca58f;
  margin: 12px 0 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  text-align: center;
  color: #98a08d;
  font-size: 10px;
  line-height: 2;
}
.footer strong {
  color: #64765a;
}
.empty {
  background: #fff;
  border: 1px dashed #d8decd;
  border-radius: 12px;
  padding: 45px 25px;
  text-align: center;
  color: #8a9980;
  font-size: 13px;
  line-height: 1.8;
}
.empty h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #4c6144;
}
.notice {
  background: #eef1e6;
  border: 1px solid #dce2d1;
  border-radius: 9px;
  padding: 13px 15px;
  font-size: 11px;
  line-height: 1.7;
  color: #6c7e5f;
  margin: 15px 0;
}
.notice.warning {
  background: #fff3e7;
  border-color: #f0deca;
  color: #9b6b3e;
}
.notice a {
  font-weight: 600;
}
.mobile-basket {
  display: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #74846a;
  margin-bottom: 16px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dce2d3;
  border-radius: 8px;
  font-size: 13px;
  padding: 12px;
  background: white;
  color: #354d33;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #8ca479;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.full {
  grid-column: 1/-1;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 25px 0 20px;
}
.step-label span {
  border: 1px solid #d8e0ce;
  background: #f4f6ef;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  color: #718963;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 15px 0 23px;
}
.option {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}
.option:has(input:checked) {
  border-color: #8da677;
  background: #f0f4e9;
}
.option input {
  accent-color: #6e8758;
}
.option small {
  font-size: 10px;
  color: #7f8b72;
}
.radio-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-row .option {
  flex: 1;
  min-width: 130px;
}
.total-lines {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 14px;
}
.total-lines div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 7px 0;
}
.total-lines .grand-total {
  font-size: 22px;
  font-weight: 650;
  margin-top: 9px;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}
.checkout {
  max-width: 880px;
  margin: 35px auto 60px;
}
.checkout-heading h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 33px;
  margin: 18px 0 8px;
}
.checkout-heading p {
  font-size: 12px;
  color: #8b967f;
  margin: 0 0 25px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
}
.paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
}
.checkout-summary {
  position: sticky;
  top: 20px;
  align-self: start;
}
.checkout-summary h2 {
  font-size: 15px;
  margin: 0 0 18px;
}
.privacy {
  font-size: 10px;
  line-height: 1.8;
  color: #939c88;
  margin: 18px 0;
}
.error {
  font-size: 12px;
  color: #b94f39;
  line-height: 1.7;
}
.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: #75866b;
  font-size: 13px;
}
dialog {
  width: calc(100% - 28px);
  max-width: 620px;
  max-height: 92vh;
  border: 0;
  border-radius: 17px;
  padding: 28px;
  color: var(--green);
  box-shadow: 0 20px 80px #18221e33;
}
dialog::backdrop {
  background: #152b1c88;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.modal-head h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 0;
}
.modal-head button {
  border: 0;
  background: #f2f4ec;
  padding: 8px 12px;
}
.modal-intro {
  color: #8e9983;
  font-size: 11px;
  line-height: 1.7;
  margin: 10px 0 22px;
}
.modal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 15px;
}
.modal-bottom .primary {
  min-width: 200px;
}
.modal-bottom strong {
  font-size: 19px;
}
.tracking {
  max-width: 720px;
  margin: 40px auto 65px;
}
.tracking h1 {
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  margin: 18px 0 10px;
}
.tracking .sub {
  font-size: 12px;
  color: #8b967f;
  line-height: 1.8;
}
.tracking-status {
  padding: 24px;
  background: #eaf0e0;
  border-radius: 12px;
  margin: 25px 0;
}
.tracking-status small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7f946f;
  margin-bottom: 8px;
}
.tracking-status strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.timeline {
  padding: 10px 0 20px;
}
.timeline-step {
  display: flex;
  gap: 17px;
  min-height: 63px;
  position: relative;
}
.timeline-step:before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: #e0e5d7;
}
.timeline-step:last-child:before {
  display: none;
}
.timeline-number {
  width: 27px;
  height: 27px;
  background: #f4f5ef;
  border: 1px solid #dfe5d4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #a1ad92;
  flex: none;
  z-index: 1;
}
.timeline-step.done .timeline-number {
  background: #587748;
  color: #fff;
  border-color: #587748;
}
.timeline-step h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 6px;
  color: #a5af9a;
}
.timeline-step.done h3 {
  color: #47613b;
}
.timeline-step p {
  font-size: 10px;
  color: #9fa993;
  margin: 0 0 20px;
}
.order-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 10px;
}
.recent-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 12px;
}
.muted {
  color: #8b967f;
}
.spaced {
  margin-top: 20px;
}
.hidden {
  display: none !important;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  box-shadow: 0 5px 30px #0003;
  padding: 15px 22px;
  border-radius: 10px;
  font-size: 12px;
  max-width: 90%;
  z-index: 50;
  display: none;
}
#toast.visible {
  display: block;
}
@media (max-width: 1000px) {
  .hero-art {
    width: 195px;
    height: 195px;
    margin: 0;
  }
  .hero {
    padding: 35px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .shop {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product p {
    max-width: 260px;
  }
  .product-art {
    width: 90px;
  }
  .header-right {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .header {
    height: 72px;
    padding: 0 18px;
  }
  .brand {
    font-size: 18px;
  }
  .mark {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .header-right .status {
    display: none;
  }
  .header-right button {
    font-size: 10px;
    padding: 8px;
  }
  .wrap {
    padding: 0 17px;
  }
  .hero {
    min-height: 245px;
    padding: 30px 23px;
    margin: 18px 0 20px;
    gap: 0;
    border-radius: 13px;
  }
  .hero h1 {
    font-size: 36px;
    max-width: 260px;
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 10px;
    max-width: 220px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-art {
    position: absolute;
    width: 150px;
    height: 150px;
    right: -48px;
    bottom: 30px;
    opacity: 0.62;
  }
  .hero-art .art-caption {
    display: none;
  }
  .hero > div:first-child {
    z-index: 1;
  }
  .store-info {
    gap: 11px;
    flex-wrap: wrap;
    font-size: 10px;
    padding-bottom: 20px;
    line-height: 1.7;
  }
  .shop {
    display: block;
    margin-top: 25px;
  }
  .basket {
    position: static;
    margin-top: 28px;
  }
  .basket.no-mobile {
    display: none;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .product {
    min-height: 135px;
    padding: 18px;
  }
  .product-art {
    width: 92px;
  }
  .mini-pizza {
    height: 85px;
    width: 85px;
  }
  .catalog-head h2 {
    font-size: 25px;
  }
  .search {
    width: 155px;
    padding: 11px;
    font-size: 10px;
  }
  .categories {
    margin-bottom: 20px;
  }
  .categories button {
    font-size: 10px;
    padding: 8px 13px;
  }
  .product p {
    font-size: 11px;
    max-width: 240px;
  }
  .mobile-basket {
    position: fixed;
    bottom: 18px;
    left: 17px;
    right: 17px;
    background: var(--green);
    color: white;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    z-index: 5;
    box-shadow: 0 8px 24px #23372133;
    border-radius: 11px;
  }
  .mobile-basket small {
    border: 1px solid #ffffff40;
    padding: 3px 7px;
    border-radius: 4px;
    margin-right: 10px;
  }
  .footer {
    padding-bottom: 100px;
  }
  .checkout {
    margin-top: 25px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
    order: 2;
  }
  .checkout .paper {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .option-grid {
    grid-template-columns: 1fr 1fr;
  }
  .option {
    padding: 11px;
    font-size: 10px;
  }
  dialog {
    padding: 23px;
  }
  .modal-bottom {
    gap: 10px;
  }
  .modal-bottom .primary {
    min-width: 150px;
    font-size: 12px;
  }
  .tracking {
    margin: 28px auto 50px;
  }
  .tracking h1 {
    font-size: 29px;
  }
  .timeline-step {
    min-height: 67px;
  }
  .tracking .paper {
    padding: 20px;
  }
  .header .brand small {
    font-size: 7px;
  }
  .hero h1 br {
    display: block;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition:
      filter 0.15s,
      background 0.15s;
  }
  .product:hover {
    border-color: #b5c4a4;
    transform: translateY(-1px);
  }
}

/* Touch targets, readable form controls and iPhone safe areas. */
button:focus-visible, a:focus-visible {
  outline: 3px solid #8da677;
}
@media (max-width: 700px) {
  .header .plain, .categories button, .line-controls .plain,
  .counter button, .modal-head button, .option {
    min-height: 44px;
  }
  .counter button, .modal-head button { min-width: 44px; }
  .field input, .field select, .field textarea, .search { font-size: 16px; }
  .option input { width: 20px; height: 20px; vertical-align: middle; }
  .option > span { display: flex; align-items: center; gap: 6px; }
  .option { font-size: 12px; }
  .option small { font-size: 11px; }
  .option-grid { grid-template-columns: minmax(0, 1fr); }
  .option > span { min-width: 0; flex: 1; }
  .option small { flex: none; white-space: nowrap; }
  .option input { flex-shrink: 0; }
  .search { width: 150px; font-size: 16px; }
  .product strong { font-size: 15px; }
  .product .price { font-size: 14px; }
  .product p, .line-main, .line-sub { font-size: 12px; }
  .basket-line { padding: 17px 0; }
  .mobile-basket { bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 56px; }
  .checkout { padding-bottom: 100px; }
  #submit-order {
    position: fixed; bottom: calc(16px + env(safe-area-inset-bottom));
    left: 17px; right: 17px; width: calc(100% - 34px);
    min-height: 56px; z-index: 6; box-shadow: 0 5px 22px #283d3033;
    font-size: 15px;
  }
  .modal-bottom { position: sticky; bottom: -23px; background: white; padding: 18px 0; z-index: 2; }
  .modal-bottom .primary { min-height: 50px; }
  dialog { max-height: calc(100dvh - 24px); }
  .tracking-status strong { font-size: 23px; }
  .timeline-step h3 { font-size: 14px; }
  .timeline-step p { font-size: 12px; }
}
