/*
 * Hungeroo homepage repair v10 (3.0.0)
 * Load after hungeroo.css. No logo, header, restaurant-card or checkout changes.
 * The complete orange shape is part of the original transparent illustration.
 * There is intentionally NO separately drawn ellipse and NO image translation.
 */
.hungeroo-theme .hr10-hero {
  --hr10-unit: min(1vw, 15.36px);
  --hr10-navy: #101827;
  --hr10-orange: #ff4b10;
  position: relative;
  margin: 0;
  padding: 0;
  background: #fcf9f5;
}
.hungeroo-theme .hr10-hero-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1536px !important; /* same outer frame as .hr2-restaurant-grid */
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: calc(44.921875 * var(--hr10-unit)); /* original 1536 x 690 hero */
}
.hungeroo-theme .hr10-copy {
  position: relative;
  z-index: 2;
  width: 47.395833%; /* 728px on the 1536px reference */
  margin-left: 5.208333%;
  padding: calc(8.723958 * var(--hr10-unit)) 0 calc(2.5 * var(--hr10-unit));
}
.hungeroo-theme .hr10-copy h1 {
  font-size: calc(5.989583 * var(--hr10-unit));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.058em;
  color: var(--hr10-navy);
  margin: 0 0 calc(1.171875 * var(--hr10-unit));
}
.hr10-name { white-space: nowrap; }
.hr10-name > span { color: var(--hr10-orange); }
.hr10-dot { color: var(--hr10-navy); }
.hungeroo-theme .hr10-intro {
  color: #29313d;
  font-size: calc(1.237 * var(--hr10-unit)) !important;
  line-height: 1.5;
  margin: 0 0 calc(1.823 * var(--hr10-unit));
}
/* Real interactive address component; only its presentation changes. */
.hr10-search-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  border: 1px solid #eee8e3;
  border-radius: 999px;
  padding: 6px 7px 6px 15px;
  margin: 0 0 calc(1.953125 * var(--hr10-unit));
  background: #fff;
  box-shadow: 0 6px 24px rgba(16,24,39,.07);
}
.hr10-search-shell .hr-search-wrap > .d-flex {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 8px;
}
.hr10-search-shell .search-geocomplete { width: 100% !important; min-width: 0; }
.hr10-search-shell .el-autocomplete,
.hr10-search-shell .el-input { width: 100%; min-width: 0; }
.hungeroo-theme .hr10-search-shell .el-input__wrapper {
  min-height: 52px;
  padding: 0 6px 0 8px;
  border: 0;
  border-radius: 999px;
  box-shadow: none !important;
  background: transparent !important;
}
.hungeroo-theme .hr10-search-shell .el-input__inner {
  height: 52px;
  font-size: 16px;
  color: #4c525e;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.hungeroo-theme .hr10-search-shell .el-input__suffix .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 44px;
  padding: 0 !important;
  border: 1px solid #eeece8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--hr10-navy) !important;
}
.hungeroo-theme .hr10-search-shell .el-input__suffix .btn i { color: var(--hr10-navy) !important; }
.hungeroo-theme .hr10-search-shell .flex-enabled-locate > button,
.hungeroo-theme .hr10-search-shell .el-button--success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 56px;
  padding: 0 24px !important;
  border: 1px solid var(--hr10-orange) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--hr10-orange) !important;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none !important;
}
.hungeroo-theme .hr10-search-shell .flex-enabled-locate > button:hover {
  background: #e83d00 !important;
  border-color: #e83d00 !important;
}
.hungeroo-theme .hr10-search-shell .flex-enabled-locate > button:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.hr10-search-shell:focus-within { border-color: #de733c; }
/* Four columns, icons ABOVE labels; not the old icon-beside-label layout. */
.hr10-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(1.6927 * var(--hr10-unit));
  width: 95%;
}
.hr10-benefits > div { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.hr10-benefit-icon {
  display: grid;
  place-items: center;
  width: calc(3.645833 * var(--hr10-unit));
  height: calc(3.645833 * var(--hr10-unit));
  flex: none;
  margin-bottom: calc(.78125 * var(--hr10-unit));
  border-radius: 50%;
  color: var(--hr10-orange);
  background: #ffe8d9;
  font-size: calc(1.692708 * var(--hr10-unit));
}
.hr10-benefits strong {
  display: block;
  color: var(--hr10-navy);
  font-weight: 700;
  font-size: calc(1.171875 * var(--hr10-unit));
  line-height: 1.25;
  margin: 0 0 5px;
}
.hr10-benefits small {
  display: block;
  color: #343c49;
  font-size: calc(1.041667 * var(--hr10-unit));
  line-height: 1.4;
}
/* Shared frame + right:0 fixes the 30px inset. No cover, crop, offset or ellipse. */
.hungeroo-theme .hr10-art {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 50.520833%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}
.hungeroo-theme .hr10-art img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  vertical-align: bottom;
}
/* Guard against old or site-wide decorative pseudo-elements. */
.hr10-hero::before, .hr10-hero::after,
.hr10-copy::before, .hr10-copy::after,
.hr10-art::before, .hr10-art::after { content: none !important; display: none !important; }

@media (min-width: 1200px) and (max-width: 1399px) {
  .hungeroo-theme .hr10-search-shell .el-input__wrapper,
  .hungeroo-theme .hr10-search-shell .el-input__inner { min-height: 44px; height: 44px; }
  .hungeroo-theme .hr10-search-shell .flex-enabled-locate > button {
    min-height: 46px; min-width: 130px; padding-inline: 18px !important; font-size: 14px;
  }
  .hungeroo-theme .hr10-search-shell .el-input__inner { font-size: 14px; }
  .hungeroo-theme .hr10-search-shell .el-input__suffix .btn { width: 42px; height: 42px; min-height: 42px; }
}
/* Smaller viewports: normal document flow, so copy can grow without collisions. */
@media (max-width: 1199px) {
  .hungeroo-theme .hr10-hero-frame { max-width: 1380px !important; min-height: 0; }
  .hungeroo-theme .hr10-copy { width: auto; max-width: 760px; margin: 0 auto; padding: 36px 34px 28px; }
  .hungeroo-theme .hr10-copy h1 { font-size: clamp(48px, 7vw, 76px); }
  .hungeroo-theme .hr10-intro { font-size: 18px !important; margin-bottom: 25px; }
  .hr10-benefits { width: 100%; gap: 22px; }
  .hr10-benefit-icon { width: 52px; height: 52px; font-size: 25px; margin-bottom: 12px; }
  .hr10-benefits strong { font-size: 16px; }
  .hr10-benefits small { font-size: 14px; }
  .hungeroo-theme .hr10-art { position: relative; width: min(62%, 720px); margin: 0 0 0 auto; }
}
@media (max-width: 767px) {
  .hungeroo-theme .hr10-copy { padding: 28px 22px 26px; }
  .hungeroo-theme .hr10-copy h1 { font-size: clamp(40px, 11.5vw, 70px); line-height: 1.02; margin-bottom: 18px; }
  .hungeroo-theme .hr10-intro { font-size: 16px !important; }
  .hr10-search-shell { padding: 7px; border-radius: 22px; margin-bottom: 28px; }
  .hr10-search-shell .hr-search-wrap > .d-flex { grid-template-columns: minmax(0,1fr); }
  .hungeroo-theme .hr10-search-shell .flex-enabled-locate > button { width: 100%; min-height: 48px; }
  .hungeroo-theme .hr10-search-shell .el-input__wrapper { padding-left: 7px; }
  .hungeroo-theme .hr10-search-shell .el-input__inner { font-size: 16px; }
  .hr10-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; }
  /* Match the existing lower strip's 14px mobile outer inset. */
  .hungeroo-theme .hr10-art { width: calc(100% - 28px); margin: 0 14px; }
}
@media (max-width: 767px) {
  /* Preserve the lower cards; correct only their existing mobile outer width
     so their shared right edge stays inside the same 14px page inset. */
  .hungeroo-theme #vm_home_search + .hr2-restaurant-wrap .hr2-restaurant-grid {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }
}
