/* Food Delivery App hero — from Corewave Food Delivery App Page (01 Hero) */

@keyframes cw-food-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 18, 16, 0.45);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(20, 18, 16, 0);
  }
}

@keyframes cw-food-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-food-delivery-hero {
  position: relative;
  overflow: hidden;
  background: #ff5527;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-food-delivery-hero__glow {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #ff7a50;
  opacity: 0.55;
  pointer-events: none;
}

.cw-food-delivery-hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}

.cw-food-delivery-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cw-food-delivery-hero__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #141210;
}

.cw-food-delivery-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #141210;
  animation: cw-food-ping 1.8s infinite;
  flex: none;
}

.cw-food-delivery-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.cw-food-delivery-hero__title-em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff4e8;
}

.cw-food-delivery-hero__lead-bold {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

.cw-food-delivery-hero__lead {
  margin: 0;
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #2a1a12;
  text-wrap: pretty;
}

.cw-food-delivery-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-food-delivery-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-sizing: border-box;
}

.cw-food-delivery-hero__btn--primary {
  background: #141210;
  color: #fff;
}

.cw-food-delivery-hero__btn--primary:hover {
  background: #2a2521;
  color: #fff;
}

.cw-food-delivery-hero__btn--secondary {
  padding: 0 22px;
  border: 1.5px solid #141210;
  color: #141210;
}

.cw-food-delivery-hero__btn--secondary:hover {
  background: #141210;
  color: #fff;
}

.cw-food-delivery-hero__visual {
  position: relative;
}

.cw-food-delivery-hero__card {
  position: relative;
  border-radius: 32px;
  background: #fff4e8;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 40px 80px -40px rgba(80, 20, 0, 0.6);
}

.cw-food-delivery-hero__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 18, 16, 0.1);
  cursor: text;
}

.cw-food-delivery-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 14px 'Inter', sans-serif;
  color: #141210;
}

.cw-food-delivery-hero__rest-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-food-delivery-hero__rests {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-food-delivery-hero__rest-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 16, 0.12);
  font: 600 12.5px 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s, color 0.2s;
}

.cw-food-delivery-hero__rest-btn.is-active {
  background: #141210;
  color: #fff;
}

.cw-food-delivery-hero__rest-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.cw-food-delivery-hero__qnote {
  font-size: 11.5px;
  color: #6b6158;
  margin-left: 4px;
}

.cw-food-delivery-hero__map-wrap {
  border-radius: 22px;
  overflow: hidden;
  background: #efe4d2;
}

.cw-food-delivery-hero__map {
  display: block;
}

.cw-food-delivery-hero__pin {
  cursor: pointer;
}

.cw-food-delivery-hero__order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 4px 4px 0;
}

.cw-food-delivery-hero__order-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cw-food-delivery-hero__dish {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 17px;
}

.cw-food-delivery-hero__dish-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.cw-food-delivery-hero__status-line {
  font-size: 12.5px;
  color: #6b6158;
}

.cw-food-delivery-hero__steps {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.cw-food-delivery-hero__steps span {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: rgba(20, 18, 16, 0.12);
  transition: background 0.3s;
}

.cw-food-delivery-hero__steps span.is-on {
  background: #ff5527;
}

.cw-food-delivery-hero__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 18, 16, 0.1);
}

.cw-food-delivery-hero__qty button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f3efe7;
  cursor: pointer;
  font: 700 15px 'Inter', sans-serif;
  color: #141210;
}

.cw-food-delivery-hero__qty button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cw-food-delivery-hero__qty span {
  min-width: 16px;
  text-align: center;
  font-weight: 700;
}

.cw-food-delivery-hero__order-actions {
  display: flex;
  gap: 8px;
}

.cw-food-delivery-hero__cheese {
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 16, 0.18);
  background: transparent;
  font: 600 13px 'Inter', sans-serif;
  color: #141210;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cw-food-delivery-hero__cheese.is-on {
  background: #d4f53c;
  border-color: #d4f53c;
}

.cw-food-delivery-hero__cheese:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cw-food-delivery-hero__order-btn {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #141210;
  color: #fff;
  font: 600 14.5px 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.cw-food-delivery-hero__order-btn.is-busy {
  background: #6b6158;
  cursor: default;
}

.cw-food-delivery-hero__push {
  position: absolute;
  left: -28px;
  top: -22px;
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #141210;
  color: #f3efe7;
  font: 600 12.5px 'Inter', sans-serif;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: cw-food-fade 0.4s ease-out both;
}

.cw-food-delivery-hero__push.is-bump {
  animation: cw-food-fade 0.4s ease-out both;
}

.cw-food-delivery-hero__push-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4f53c;
  flex: none;
}

.cw-food-delivery-hero__rate {
  position: absolute;
  right: -18px;
  bottom: -26px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #141210;
  color: #f3efe7;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  animation: cw-food-fade 0.4s ease-out both;
}

.cw-food-delivery-hero__rate.is-hidden {
  display: none;
}

.cw-food-delivery-hero__rate-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.6);
}

.cw-food-delivery-hero__stars {
  display: flex;
  gap: 4px;
}

.cw-food-delivery-hero__stars button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
}

.cw-food-delivery-hero .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .cw-food-delivery-hero__push {
    left: 0;
    top: -12px;
    max-width: calc(100% - 8px);
  }

  .cw-food-delivery-hero__rate {
    right: 0;
    bottom: -20px;
  }
}
