/* Pizza storefront. Keep each section independently usable in the site editor. */
body[data-template="pizza"] {
  --ink: #111;
  --paper: white;
  --soft: #737373;
  --line: #ddd;
  --accent: var(--brand, #c00);
  background: white;
  color: #111;
  font:
    14px/1.25 Lato,
    Arial,
    sans-serif;
}
body[data-template="pizza"] .wrap {
  width: min(calc(100% - 40px), var(--k-page, 1140px));
}
body[data-template="pizza"] .page-grid {
  row-gap: 0;
}
body[data-template="pizza"] .content {
  margin-block: 24px;
}
.k-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  padding: 30px 20px 25px;
  border: 0;
  background: white;
}
.k-header nav,
.k-brand-venue,
.k-picker-tools {
  display: flex;
  align-items: center;
}
.k-brand-venue {
  min-width: 0;
  gap: 45px;
}
.k-logo {
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--brand);
}
.k-logo img {
  display: block;
  max-width: 100px;
  width: auto;
  height: 40px;
  object-fit: contain;
}
.k-logo span {
  display: block;
  max-width: 90px;
  font:
    italic 700 20px/0.94 Lora,
    Georgia,
    serif;
  overflow-wrap: anywhere;
}
.k-receipt-logo span {
  max-width: none;
}
.k-header nav {
  gap: clamp(15px, 3vw, 44px);
}
.k-header nav :is(a, button),
.k-phone-profile button,
.k-venue-trigger,
.k-picker-tools button,
.k-bottom :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: white;
  color: #111;
  border: 0;
  font:
    700 14px/17px Lato,
    Arial,
    sans-serif;
  text-decoration: none;
  padding: 0;
  white-space: nowrap;
}
.k-header nav :is(a, button) {
  min-height: 44px;
}
.k-header nav [aria-current="page"],
.k-bottom [aria-current="page"] {
  color: var(--brand);
}
.k-header nav :is(a, button):hover,
.k-bottom :is(a, button):hover {
  color: var(--brand);
}
.k-header [data-cart-total] {
  color: #777;
}
.k-header .k-venue-trigger,
.k-phone-profile button,
.k-picker-tools button {
  height: 45px;
  max-width: 100%;
  min-width: 90px;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 0 18px;
}
.k-venue-trigger svg {
  width: 16px;
  height: 19px;
}
.k-venue-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.k-language {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 40px;
}
.k-language select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.k-language:focus-within {
  outline: 2px solid #2571ca;
  outline-offset: 2px;
}
.k-language [data-flag] {
  width: 24px;
  height: 18px;
  box-shadow: 0 0 4px #7778;
}
.k-language [data-flag="en"] {
  background:
    linear-gradient(0deg, transparent 39%, #c8102e 39% 61%, transparent 61%),
    linear-gradient(90deg, transparent 40%, #c8102e 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 31%, white 31% 69%, transparent 69%),
    linear-gradient(90deg, transparent 34%, white 34% 66%, transparent 66%),
    linear-gradient(34deg, transparent 44%, white 44% 48%, #c8102e 48% 53%, white 53% 57%, transparent 57%),
    linear-gradient(-34deg, #012169 42%, white 42% 47%, #c8102e 47% 52%, white 52% 57%, #012169 57%);
}
.k-language [data-flag="et"] {
  background: linear-gradient(#4891d9 33.33%, #111 33.33% 66.66%, white 66.66%);
}
.k-language [data-flag="es"] {
  background: linear-gradient(#aa151b 25%, #f1bf00 25% 75%, #aa151b 75%);
}
.k-phone-profile,
.k-bottom {
  display: none;
}

.k-promo {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 315;
  border-radius: 10px;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #122729;
  container-type: inline-size;
}
.k-slide,
.k-poster,
.k-slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.k-poster {
  display: block;
  object-fit: cover;
}
.k-promo-copy {
  position: absolute;
  inset: 9% auto auto 4%;
  width: 27%;
  max-height: 85%;
  overflow: auto;
  text-wrap: balance;
}
.k-promo-copy h2 {
  color: #fc3138;
  text-transform: uppercase;
  font:
    700 clamp(17px, 5cqw, 70px) / 0.95 Lato,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 0;
  overflow-wrap: anywhere;
}
.k-promo-copy p,
.k-promo-copy a {
  color: white;
  font:
    700 clamp(12px, 1.8cqw, 28px) / 1.06 Lato,
    Arial,
    sans-serif;
  margin: 0.45em 0 0;
}
.k-promo-copy a {
  display: inline-block;
  text-underline-offset: 0.16em;
}
.k-promo-copy.short-offer h2 {
  font:
    900 11.6cqw/0.85 Arial,
    sans-serif;
  letter-spacing: -0.075em;
  color: #d1000a;
}
.k-promo-copy.short-offer h2 {
  white-space: nowrap;
  word-spacing: -0.18em;
}
.k-promo-copy.short-offer p {
  text-transform: uppercase;
  margin-top: 0.2em;
  font:
    700 2.4cqw/1.04 "Arial Narrow",
    Lato,
    sans-serif;
  letter-spacing: -0.035em;
}
.k-promo-pickup {
  position: absolute;
  top: 71%;
  left: 34.7%;
  width: 28%;
  max-height: 28%;
  overflow: auto;
  font-weight: bold;
  line-height: 1.05;
}
.k-promo-pickup :is(small, strong, a) {
  display: block;
}
.k-promo-pickup small {
  font-size: clamp(10px, 1.1cqw, 16px);
}
.k-promo-pickup strong {
  font:
    700 clamp(14px, 2.25cqw, 34px) / 1.1 Lora,
    Georgia,
    serif;
  overflow-wrap: anywhere;
}
.k-promo-pickup a {
  color: white;
  margin-top: 0.21em;
  font-size: clamp(10px, 1.2cqw, 18px);
  text-underline-offset: 2px;
}
.k-poster-brand {
  position: absolute;
  left: 43%;
  top: 34%;
  transform: translate(-50%, -50%) rotate(-5deg);
  width: 18%;
  max-height: 46%;
  overflow: hidden;
  text-align: center;
  overflow-wrap: anywhere;
  font:
    italic 700 clamp(14px, 3.1cqw, 48px) / 0.96 Lora,
    Georgia,
    serif;
}
.uploaded .k-promo-copy {
  inset: auto auto 10% 5%;
  width: min(68%, 760px);
  padding: 1% 2%;
  background: #101010bf;
  border-radius: 4px;
}
.uploaded .k-promo-copy h2 {
  color: white;
}
.k-slide.featured {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6%;
  color: #151515;
  background: #f3efea;
}
.k-feature-photo {
  width: 38%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.k-slide.featured > div {
  max-width: 40%;
}
.k-slide.featured h2 {
  margin: 0;
  font:
    700 clamp(18px, 4cqw, 46px) / 1.05 Lora,
    Georgia,
    serif;
}
.k-slide.featured p {
  font-weight: bold;
}
.k-slide.featured button {
  padding: 8px 14px;
  border-radius: 5px;
  color: white;
  background: var(--brand);
}
.k-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  width: clamp(24px, 3.7cqw, 45px);
  height: 54px;
  color: white;
  background: none;
  opacity: 0.48;
}
.k-arrow:hover,
.k-arrow:focus-visible {
  opacity: 1;
}
.k-arrow.prev {
  left: 0;
}
.k-arrow.next {
  right: 0;
}
.k-arrow svg {
  width: 80%;
  height: 80%;
}
.k-promo:has(.featured:not([hidden])) .k-arrow {
  color: #222;
}

.k-catalog,
.page-grid .block > .k-catalog {
  background: white;
  color: #111;
  margin: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 33px 0 0;
  font:
    14px/1.25 Lato,
    Arial,
    sans-serif;
}
.k-catalog .catalog-title {
  margin: 0;
}
.k-catalog .catalog-title h2:not(.sr),
.k-catalog .catalog-title .search:not([hidden]) {
  margin: 0 0 15px;
}
.k-catalog .filter-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
}
.k-catalog :is(.categories, .filters) {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
  border: 0;
}
.k-catalog :is(.categories, .filters)::-webkit-scrollbar {
  display: none;
}
.k-catalog .categories + .filters {
  margin-top: 15px;
}
.k-catalog :is(.categories, .filters) button {
  flex: none;
  border: 0;
  height: 29px;
  color: #111;
  background: #f1f1f1;
  border-radius: 6px;
  padding: 0 30px;
  font:
    700 14px/17px Lato,
    Arial,
    sans-serif;
}
.k-catalog :is(.categories, .filters) button[aria-pressed="true"] {
  color: white;
  background: var(--brand, #c00);
}
.k-catalog :is(.categories, .filters) button:focus-visible {
  outline-offset: -3px;
}
.k-catalog .dish-grid {
  --cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 24px 0;
  margin-top: 25px;
}
.k-catalog .dish {
  background: white;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  overflow: visible;
}
.k-catalog .dish-button {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 10px 4px 0;
  background: white;
  color: #111;
  text-align: center;
}
.k-catalog .dish-photo {
  display: grid;
  width: min(220px, 100%);
  aspect-ratio: 1;
  background: white;
  border-radius: 0;
}
.k-catalog .dish-photo img {
  object-fit: contain;
  transform: none;
}
.k-catalog .dish-body {
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding: 10px 0 0;
}
.k-catalog .dish-body strong {
  font:
    700 18px/24px Lora,
    Georgia,
    serif;
  letter-spacing: -0.025em;
}
.k-catalog .dish-description {
  margin-top: 10px;
  font:
    700 12px/14px Lato,
    Arial,
    sans-serif;
  color: #767676;
  -webkit-line-clamp: 3;
}
.k-catalog .dish-price {
  color: var(--brand, #c00);
  font:
    700 14px/17px Lato,
    Arial,
    sans-serif;
  padding: 15px 0 0;
}
.k-catalog .dish-body:has(.dish-description) {
  min-height: 119px;
}
.k-catalog .add-icon {
  display: none;
}
.k-catalog .dish-button:not(:disabled):hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.k-catalog .dish-placeholder {
  color: #9e6754;
  background: #faf3ee;
  border-radius: 50%;
  font-size: 2.5rem;
}

#k-locations,
#k-profile {
  width: min(600px, calc(100% - 40px));
  height: min(600px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;
  background: white;
  color: #111;
  box-shadow: 0 18px 42px #0005;
}
#k-locations::backdrop,
#k-profile::backdrop {
  background: #0005;
}
.k-picker {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 39px 20px 8px;
}
.k-picker-tools {
  justify-content: space-between;
  min-height: 45px;
  gap: 10px;
}
.k-picker-close {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  font:
    22px/1 Arial,
    sans-serif;
}
.k-first-visit .k-picker-close {
  opacity: 0;
}
.k-first-visit .k-picker-close:focus-visible,
.k-first-visit .k-picker-close:hover {
  opacity: 1;
}
.k-first-visit .k-catalog .dish-grid {
  visibility: hidden;
}
#k-locations-title:focus {
  outline: none;
}
.k-picker-tools button {
  height: 42px;
  border-color: transparent;
}
.k-picker h2,
.k-profile-body h2 {
  margin: 12px 0 0;
  font:
    700 28px/37px Lora,
    Georgia,
    serif;
}
.k-loc-search {
  margin: 37px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  flex: none;
  padding: 0 15px;
  background: #f1f1f1;
  border-radius: 10px;
}
.k-loc-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}
.k-loc-search:focus-within {
  outline: 2px solid #2571ca;
}
.k-venue-list {
  min-height: 0;
  overflow-y: auto;
  margin: -3px -5px 0;
  padding: 3px 5px 8px;
}
.k-venue-list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 63px;
  gap: 4px;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 7px #0002;
  color: #111;
  text-decoration: none;
}
.k-venue-list a:focus-visible,
.k-venue-list a:hover {
  background: #f6f6f6;
}
.k-venue-list strong {
  font-size: 16px;
}
.k-venue-list small {
  color: #717171;
  font-size: 14px;
}
.k-profile-body {
  padding: 36px 20px;
  height: 100%;
  overflow-y: auto;
}
.k-menu-link {
  display: block;
  padding: 12px 0;
  width: 100%;
  text-align: left;
  background: none;
  border-bottom: 1px solid #eee;
  color: var(--brand);
  font-weight: 700;
}
@media (min-width: 1200px) {
  body[data-template="pizza"] {
    --k-page: 1140px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  body[data-template="pizza"] {
    --k-page: 960px;
  }
  .k-catalog .dish-grid {
    --cols: 3;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body[data-template="pizza"] {
    --k-page: 720px;
  }
  .k-catalog .dish-grid {
    --cols: 2;
  }
}
@media (min-width: 768px) and (max-width: 850px) {
  .k-header {
    min-height: 135px;
  }
  .k-header nav {
    gap: 12px;
  }
  .k-brand-venue {
    gap: 16px;
  }
}
@container (max-width:600px) {
  .block .k-catalog .dish-grid {
    --cols: 2;
  }
}
@container (max-width:320px) {
  .block .k-catalog .dish-grid {
    --cols: 1;
  }
}
@media (max-width: 767px) {
  body[data-template="pizza"] {
    --k-page: 540px;
    padding-bottom: calc(57px + env(safe-area-inset-bottom));
  }
  .k-header {
    width: min(calc(100% - 40px), 540px);
    margin: auto;
    min-height: 102px;
    gap: 10px;
    padding: 50px 0 10px;
  }
  .k-header nav,
  .k-header .k-logo:not(.k-receipt-logo) {
    display: none;
  }
  .k-phone-profile {
    display: block;
  }
  .k-header .k-venue-trigger,
  .k-phone-profile button {
    height: 42px;
  }
  .k-bottom {
    display: flex;
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    padding-bottom: env(safe-area-inset-bottom);
    background: white;
    border-top: 1px solid #eee;
  }
  .k-bottom :is(a, button) {
    width: 25%;
    min-width: 0;
    height: 56px;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    line-height: 15px;
  }
  .k-bottom :is(a, button) span {
    color: #737373;
  }
  .k-bottom [aria-current="page"] span {
    color: inherit;
  }
  .k-bottom :nth-child(2) {
    order: 2;
  }
  .k-bottom :nth-child(3) {
    order: 1;
  }
  .k-bottom :nth-child(4) {
    order: 3;
  }
  .k-bottom [data-cart-total] {
    display: none;
  }
  .k-promo {
    aspect-ratio: 1;
  }
  .k-promo-copy {
    inset: 31% auto auto 10%;
    width: 43%;
    max-height: 38%;
  }
  .k-promo-copy h2 {
    font-size: clamp(25px, 8.3cqw, 54px);
  }
  .k-promo-copy.short-offer h2 {
    font-size: 19cqw;
  }
  .k-promo-copy.short-offer {
    width: 48%;
    max-height: 40%;
  }
  .k-promo-copy.short-offer p {
    font-size: 4.2cqw;
  }
  .k-promo-pickup {
    top: 73%;
    left: 7%;
    width: 33%;
  }
  .k-promo-pickup strong {
    font-size: 5.8cqw;
  }
  .k-promo-copy p,
  .k-promo-copy a {
    font-size: clamp(12px, 3.7cqw, 22px);
  }
  .k-poster-brand {
    left: 49%;
    top: 17%;
    width: 37%;
    font-size: 6.8cqw;
  }
  .uploaded .k-promo-copy {
    max-height: 74%;
  }
  .k-catalog :is(.categories, .filters) button {
    padding: 0 14px;
  }
  .k-catalog .dish-grid,
  .block .k-catalog .dish-grid {
    --cols: 1;
    margin-top: 23px;
    gap: 5px;
  }
  .k-catalog .dish {
    border: 1px solid #eee;
    border-radius: 6px;
  }
  .k-catalog .dish-button {
    display: grid;
    grid-template-columns: min(110px, 34%) minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    min-height: 130px;
    padding: 10px;
    text-align: left;
    border-radius: inherit;
  }
  .k-catalog .dish-photo {
    width: 100%;
    height: auto;
  }
  .k-catalog .dish-body,
  .k-catalog .dish-body:has(.dish-description) {
    min-height: 110px;
    height: 100%;
    align-items: start;
    padding: 0;
  }
  .k-catalog .dish-price {
    align-self: end;
    padding-top: 5px;
    text-align: right;
  }
  #k-locations,
  #k-profile {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .k-picker {
    padding-top: 40px;
  }
}
