:root {
  --espresso: #321d17;
  --coffee: #754433;
  --terracotta: #c86f45;
  --cream: #f7f0e6;
  --paper: #fffdf9;
  --muted: #776b65;
  --line: #e8ded3;
  --green: #6f7a54;
  --shadow: 0 18px 55px rgba(58, 34, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--espresso);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  height: 84px;
  max-width: 1320px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 25px "DM Serif Display", serif;
}

.brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--terracotta);
  border-radius: 50% 50% 45% 55%;
}

.brand-mark svg {
  width: 25px;
  stroke-width: 1.6;
}

.brand-name {
  white-space: nowrap;
}

.brand-name em {
  color: var(--terracotta);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  color: #776a64;
  position: relative;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--espresso);
}

.main-nav .active::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--terracotta);
  left: 0;
  right: 0;
  bottom: -10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  color: var(--espresso);
}

.call-btn>svg {
  width: 20px;
  color: var(--terracotta);
}

.call-btn>span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.call-btn small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.call-btn strong {
  margin-top: 2px;
  font-size: 12px;
}

.call-btn:hover strong {
  color: var(--terracotta);
}

.location-btn {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--espresso);
  cursor: pointer;
  text-align: left;
}

.location-btn>svg:first-child {
  color: var(--terracotta);
  width: 21px;
}

.location-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.location-btn small {
  color: var(--muted);
  font-size: 10px;
}

.location-btn strong {
  font-size: 13px;
}

.location-btn .chevron {
  width: 14px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--espresso);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.icon-btn:hover {
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--terracotta);
  border: 2px solid white;
  font-size: 10px;
  font-weight: 700;
}

.hero {
  max-width: 1320px;
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  background: var(--cream);
  border-radius: 0 0 36px 36px;
}

.hero-copy {
  padding: 88px 30px 70px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.eyebrow span {
  font-size: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 19px 0 22px;
  font: clamp(55px, 6vw, 84px)/.96 "DM Serif Display", serif;
  letter-spacing: -2.5px;
}

h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-copy>p {
  max-width: 510px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-btn,
.checkout-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 16px 23px;
  border: 0;
  border-radius: 5px;
  background: var(--espresso);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.primary-btn:hover,
.checkout-btn:hover {
  background: var(--terracotta);
}

.primary-btn span {
  font-size: 20px;
}

.delivery-note {
  display: flex;
  align-items: center;
  gap: 10px;
}

.delivery-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #efe3d5;
  color: var(--terracotta);
}

.delivery-icon svg {
  width: 21px;
}

.delivery-note>span:last-child {
  display: flex;
  flex-direction: column;
}

.delivery-note strong {
  font-size: 12px;
}

.delivery-note small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.hero-image {
  min-height: 620px;
  background: url("assets/coffee-hero.png") center/cover no-repeat;
  position: relative;
  border-radius: 0 0 0 100px;
}

.rating-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.avatars {
  display: flex;
}

.avatars i {
  width: 29px;
  height: 29px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid white;
  background: #b9896e;
  color: white;
  font-style: normal;
  font-size: 8px;
}

.avatars i:first-child {
  margin-left: 0;
  background: #735140;
}

.avatars i:last-child {
  background: #d5a66f;
}

.rating-card>span:last-child {
  display: flex;
  flex-direction: column;
}

.rating-card strong {
  font-size: 13px;
}

.rating-card b {
  color: #d99a35;
}

.rating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.menu-section,
.how-section {
  max-width: 1180px;
  margin: auto;
  padding: 100px 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.story-copy h2,
.drawer-header h2,
.modal h2 {
  margin: 9px 0 0;
  font: 45px/1.08 "DM Serif Display", serif;
  letter-spacing: -.8px;
}

.search-box {
  width: 285px;
  height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.search-box svg {
  width: 19px;
  color: #8b7d75;
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--espresso);
  background: transparent;
  font-size: 13px;
}

.categories {
  margin: 38px 0 32px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  border-radius: 30px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.category span {
  margin-right: 6px;
}

.category:hover,
.category.active {
  color: white;
  border-color: var(--espresso);
  background: var(--espresso);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: white;
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(65, 40, 29, .1);
}

.product-photo {
  height: 205px;
  background: var(--cream) url("assets/coffee-hero.png") 71% center/auto 100% no-repeat;
  position: relative;
  overflow: hidden;
}

.product-photo.hot {
  filter: saturate(.8) sepia(.15);
  background-position: 70% center;
}

.product-photo.cold {
  background-position: 72% center;
}

.product-photo.special {
  filter: saturate(1.25);
  background-position: 66% center;
}

.product-photo.bakery {
  background-position: 96% center;
  background-size: auto 115%;
}

.product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 25, 18, .18), transparent 45%);
}

.product-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  color: white;
  background: var(--terracotta);
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-info {
  padding: 17px;
}

.product-info small {
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 5px 0 6px;
  font: 21px "DM Serif Display", serif;
}

.product-info p {
  min-height: 37px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-weight: 700;
  font-size: 16px;
}

.add-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--espresso);
  cursor: pointer;
  font-size: 20px;
}

.add-btn:hover {
  color: white;
  background: var(--terracotta);
  transform: rotate(90deg);
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

.loading-products,
.api-error {
  grid-column: 1 / -1;
  padding: 45px;
  text-align: center;
  color: var(--muted);
}

.api-error {
  border: 1px solid #e6c4b4;
  border-radius: 8px;
  background: #fff7f3;
  color: #9a492f;
}

.api-error a {
  text-decoration: underline;
  font-weight: 700;
}

.how-section {
  max-width: none;
  padding-top: 90px;
  padding-bottom: 100px;
  background: var(--cream);
}

.centered {
  justify-content: center;
  text-align: center;
}

.steps {
  max-width: 1000px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.steps article {
  padding: 10px 55px;
  text-align: center;
  position: relative;
}

.steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 90px;
  border-top: 1px dashed #c9b6a5;
  right: -45px;
  top: 50px;
}

.steps article>span {
  position: absolute;
  top: -3px;
  right: 35px;
  color: #dacabd;
  font: 36px "DM Serif Display", serif;
}

.step-icon {
  width: 78px;
  height: 78px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 25px rgba(70, 43, 31, .08);
  font-size: 30px;
}

.steps h3 {
  margin: 22px 0 8px;
  font: 21px "DM Serif Display", serif;
}

.steps p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.story-section {
  max-width: 1180px;
  margin: 100px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
}

.story-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--terracotta);
  color: #f7d9c7;
  border-radius: 8px 0 0 8px;
  position: relative;
}

.story-art::before,
.story-art::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 45px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.story-art::before {
  left: -90px;
  top: -90px;
}

.story-art::after {
  right: -100px;
  bottom: -110px;
}

.story-art span {
  z-index: 1;
  font: 67px/.83 "DM Serif Display", serif;
  transform: rotate(-4deg);
}

.story-copy {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--espresso);
  color: white;
  border-radius: 0 8px 8px 0;
}

.story-copy h2 {
  margin: 13px 0 20px;
}

.story-copy p {
  color: #d5c8c1;
  font-size: 14px;
  line-height: 1.75;
}

.story-copy a {
  align-self: flex-start;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--terracotta);
  font-size: 13px;
  font-weight: 700;
}

.story-copy a span {
  margin-left: 15px;
}

footer {
  max-width: 1180px;
  margin: auto;
  padding: 30px 24px 55px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .brand {
  font-size: 20px;
}

footer .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 15px;
}

footer .footer-logo {
  width: 86px;
  height: 86px;
}

footer p,
footer a {
  color: var(--muted);
  font-size: 11px;
}

footer>div {
  display: flex;
  gap: 22px;
}

.overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: rgba(30, 17, 13, .45);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  backdrop-filter: blur(2px);
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(100%);
  transition: .35s ease;
  box-shadow: -15px 0 50px rgba(30, 17, 13, .15);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  font-size: 34px;
}

.close-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--espresso);
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 12px 2px;
}

.cart-item {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--cream) url("assets/coffee-hero.png") 72% center/auto 100% no-repeat;
}

.cart-item h4 {
  margin: 0 0 5px;
  font: 17px "DM Serif Display", serif;
}

.cart-item small {
  color: var(--muted);
  font-size: 10px;
}

.quantity {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.quantity button {
  width: 21px;
  height: 21px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  line-height: 1;
}

.quantity span {
  font-size: 11px;
  font-weight: 700;
}

.item-price {
  align-self: start;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.empty-cart {
  margin: auto;
  text-align: center;
  color: var(--muted);
}

.empty-cart>span {
  display: block;
  font-size: 50px;
  filter: grayscale(1);
  opacity: .4;
}

.empty-cart h3 {
  margin: 12px 0 5px;
  color: var(--espresso);
  font: 24px "DM Serif Display", serif;
}

.empty-cart p {
  font-size: 12px;
}

.cart-summary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary>div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.cart-summary>p {
  padding: 8px;
  background: var(--cream);
  color: var(--terracotta);
  border-radius: 5px;
  text-align: center;
  font-size: 10px;
}

.cart-summary .total-row {
  margin: 17px 0;
  color: var(--espresso);
  font-size: 19px;
}

.checkout-btn {
  width: 100%;
  border-radius: 5px;
}

.modal {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 30px));
  max-height: 92vh;
  overflow: auto;
  padding: 42px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -45%) scale(.96);
  transition: .25s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal h2 {
  margin: 10px 0 25px;
  font-size: 36px;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--espresso);
  font-size: 11px;
  font-weight: 700;
}

.modal label span {
  color: var(--muted);
  font-weight: 400;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px;
  outline: 0;
  color: var(--espresso);
  background: white;
  font-size: 12px;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: var(--terracotta);
}

.modal textarea {
  min-height: 70px;
  resize: vertical;
}

.location-share-btn {
  width: 100%;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #d8c6b9;
  border-radius: 7px;
  background: var(--cream);
  color: var(--espresso);
  text-align: left;
  cursor: pointer;
}

.location-share-btn svg {
  width: 22px;
  color: var(--terracotta);
}

.location-share-btn span {
  display: flex;
  flex-direction: column;
}

.location-share-btn strong {
  font-size: 11px;
}

.location-share-btn small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.location-share-btn.shared {
  border-style: solid;
  border-color: #b9c9ae;
  background: #eef4ea;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.success-state {
  padding: 30px 0;
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 30px;
}

.success-state p {
  color: var(--muted);
}

.order-number {
  display: inline-block;
  margin: 14px 0 4px;
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--terracotta);
  font-size: 12px;
  letter-spacing: 1px;
}

.track-link {
  display: block;
  width: max-content;
  margin: 14px auto 0;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.success-state .primary-btn {
  margin-top: 15px;
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 25px;
  padding: 12px 18px;
  color: white;
  background: var(--espresso);
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: .25s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }

  .call-btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 70px 50px;
  }

  .hero-image {
    min-height: 450px;
    border-radius: 70px 0 0 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-copy {
    padding: 45px;
  }
}

@media (max-width: 650px) {
  .site-header {
    height: 70px;
    padding: 0 16px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .location-btn {
    display: none;
  }

  .hero {
    border-radius: 0;
  }

  .hero-copy {
    padding: 55px 24px 48px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy>p {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-image {
    min-height: 370px;
    background-position: 68% center;
  }

  .rating-card {
    left: 18px;
    bottom: 18px;
  }

  .menu-section,
  .how-section {
    padding: 70px 18px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading h2,
  .story-copy h2 {
    font-size: 36px;
  }

  .search-box {
    width: 100%;
  }

  .categories {
    margin-top: 25px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-photo {
    height: 155px;
  }

  .product-info {
    padding: 13px;
  }

  .product-info h3 {
    font-size: 18px;
  }

  .product-info p {
    display: none;
  }

  .product-bottom {
    margin-top: 13px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps article {
    padding: 0 50px;
  }

  .steps article::after {
    display: none;
  }

  .story-section {
    margin: 70px auto;
    padding: 0 18px;
    grid-template-columns: 1fr;
  }

  .story-art {
    min-height: 320px;
    border-radius: 8px 8px 0 0;
  }

  .story-art span {
    font-size: 55px;
  }

  .story-copy {
    padding: 42px 28px;
    border-radius: 0 0 8px 8px;
  }

  footer {
    flex-direction: column;
    gap: 22px;
  }

  .cart-drawer {
    padding: 24px 20px;
  }

  .modal {
    padding: 38px 22px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* App-style storefront */
.app-status,
.mobile-location,
.bottom-nav,
.floating-cart {
  display: none;
}

body {
  background: #eee7df;
}

.site-header,
.app-main,
footer {
  background-color: var(--paper);
}

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  max-width: 1180px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 5px 24px rgba(56, 33, 24, .06);
}

.app-main {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(56, 33, 24, .08);
}

.hero {
  max-width: none;
  min-height: 480px;
  grid-template-columns: 53% 47%;
  margin: 0 24px;
  border-radius: 24px;
}

.hero-copy {
  padding: 58px 35px 55px 55px;
}

.hero-copy h1 {
  font-size: clamp(48px, 5vw, 70px);
}

.hero-image {
  min-height: 480px;
  border-radius: 80px 24px 24px 80px;
}

.menu-section {
  padding-top: 70px;
}

.product-card {
  border: 0;
  box-shadow: 0 8px 28px rgba(58, 34, 24, .08);
}

.add-btn {
  background: var(--espresso);
  color: #fff;
}

.how-section {
  border-radius: 32px 32px 0 0;
}

footer {
  max-width: 1180px;
}

@media (max-width: 650px) {
  body {
    background: var(--paper);
    padding-bottom: 84px;
  }

  .app-status {
    display: none;
  }

  .site-header {
    position: relative;
    height: 61px;
    margin-top: 14px;
    padding: 7px 18px;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header .brand {
    font-size: 20px;
  }

  .site-header .brand-logo {
    width: 54px;
    height: 54px;
  }

  .site-header .brand-mark {
    width: 37px;
    height: 37px;
  }

  .site-header .header-actions {
    gap: 0;
  }

  .site-header .icon-btn {
    width: 39px;
    height: 39px;
    background: var(--cream);
    color: var(--espresso);
  }

  .app-main {
    box-shadow: none;
    overflow: visible;
  }

  .mobile-location {
    width: calc(100% - 36px);
    margin: 7px 18px 14px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 38px 1fr 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--espresso);
    text-align: left;
  }

  .mobile-location-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f7e6dc;
    color: var(--terracotta);
  }

  .mobile-location-icon svg {
    width: 19px;
  }

  .mobile-location>span:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .mobile-location small {
    color: var(--muted);
    font-size: 9px;
  }

  .mobile-location strong {
    margin-top: 2px;
    font-size: 13px;
  }

  .mobile-location .chevron {
    width: 16px;
  }

  .hero {
    min-height: 245px;
    margin: 0 18px;
    display: block;
    border-radius: 23px;
    position: relative;
    background: var(--espresso);
    overflow: hidden;
  }

  .hero-copy {
    min-height: 245px;
    padding: 28px 24px;
    position: relative;
    z-index: 2;
    color: white;
    background: linear-gradient(90deg, rgba(42, 23, 17, .97) 0%, rgba(42, 23, 17, .9) 46%, rgba(42, 23, 17, .05) 100%);
  }

  .hero-copy .eyebrow {
    color: #efaa83;
  }

  .hero-copy h1 {
    max-width: 240px;
    margin: 12px 0;
    font-size: 39px;
    line-height: .98;
    letter-spacing: -1px;
  }

  .hero-copy>p {
    max-width: 245px;
    margin-bottom: 18px;
    color: #e7d8cf;
    font-size: 11px;
    line-height: 1.55;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    min-height: 0;
    border-radius: 0;
    background-position: 69% center;
  }

  .hero-actions {
    margin: 0;
    display: block;
  }

  .hero-actions .primary-btn {
    padding: 11px 15px;
    background: var(--terracotta);
    border-radius: 10px;
    font-size: 11px;
  }

  .hero-actions .delivery-note,
  .rating-card {
    display: none;
  }

  .menu-section {
    padding: 28px 18px 34px;
  }

  .section-heading {
    gap: 17px;
  }

  .section-heading .eyebrow {
    display: none;
  }

  .section-heading h2 {
    font: 27px/1.05 "DM Serif Display", serif;
  }

  .search-box {
    order: -1;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: #f4efe9;
  }

  .categories {
    margin: 17px -18px 21px;
    padding: 0 18px 5px;
    gap: 9px;
  }

  .category {
    min-width: 78px;
    padding: 11px 13px;
    border: 0;
    border-radius: 13px;
    background: #f5f0ea;
    font-size: 10px;
  }

  .category span {
    display: block;
    margin: 0 0 4px;
    font-size: 18px;
  }

  .category.active {
    box-shadow: 0 6px 16px rgba(50, 29, 23, .2);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .product-card {
    min-height: 126px;
    display: grid;
    grid-template-columns: 122px 1fr;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(58, 34, 24, .075);
  }

  .product-card:hover {
    transform: none;
  }

  .product-photo {
    height: 100%;
    min-height: 126px;
    border-radius: 18px;
  }

  .product-badge {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 6px;
  }

  .product-info {
    padding: 15px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-info small {
    font-size: 7px;
  }

  .product-info h3 {
    margin: 4px 0;
    font-size: 18px;
  }

  .product-info p {
    display: -webkit-box;
    min-height: auto;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .product-bottom {
    margin: 0;
  }

  .product-price {
    font-size: 14px;
  }

  .add-btn {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }

  .how-section,
  .story-section,
  footer {
    display: none;
  }

  .bottom-nav {
    position: fixed;
    z-index: 18;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    padding: 7px 14px 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    background: rgba(255, 253, 249, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .bottom-nav a,
  .bottom-nav button {
    height: 52px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #9a8d85;
    font-size: 8px;
    cursor: pointer;
  }

  .bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .bottom-nav .active {
    color: var(--terracotta);
  }

  .bottom-nav .nav-call {
    width: 47px;
    height: 47px;
    margin-top: -24px;
    display: grid;
    place-items: center;
    border: 4px solid var(--paper);
    border-radius: 50%;
    color: white;
    background: var(--terracotta);
    box-shadow: 0 6px 18px rgba(200, 111, 69, .35);
  }

  .bottom-nav .nav-call svg {
    width: 21px;
  }

  .floating-cart {
    position: fixed;
    z-index: 17;
    left: 18px;
    right: 18px;
    bottom: 80px;
    width: calc(100% - 36px);
    min-height: 58px;
    padding: 9px 15px 9px 10px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    color: white;
    background: var(--espresso);
    box-shadow: 0 12px 30px rgba(50, 29, 23, .3);
    text-align: left;
  }

  .floating-cart[hidden] {
    display: none;
  }

  .floating-cart-count {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--terracotta);
    font-weight: 700;
  }

  .floating-cart>span:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .floating-cart small {
    margin-top: 2px;
    color: #d4c5bd;
    font-size: 9px;
  }

  .floating-cart>strong {
    font-size: 13px;
  }

  .cart-drawer {
    padding-bottom: 82px;
  }

  .modal {
    border-radius: 24px 24px 0 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 92vh;
    transform: translate(-50%, 100%);
  }

  .modal.open {
    transform: translate(-50%, 0);
  }

  .toast {
    bottom: 150px;
  }
}