body.store-service-overview-open {
  overflow: hidden !important;
}

.store-service-overview-button {
  position: relative;
  z-index: 3;
  min-height: 38px;
  margin-left: auto;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #173357;
  background: #eef5ff;
  border: 1px solid #cddff7;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  touch-action: manipulation;
}

#recommendSection {
  isolation: isolate;
}

#recommendSection > .section-head {
  position: relative;
  z-index: 2;
}

.store-service-overview-button span {
  color: #f04a22;
  font-size: 18px;
}

.store-service-search-entry {
  margin: -4px 16px 15px;
}

.store-service-search-entry > button {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  color: #173357;
  text-align: left;
  background: linear-gradient(135deg, #f5f9ff, #fff8f2);
  border: 1px solid #cfdef0;
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(21, 49, 86, .07);
}

.store-service-search-entry > button > span {
  grid-row: 1 / 3;
  color: #f04a22;
  font-size: 23px;
}

.store-service-search-entry > button > b {
  font-size: 14px;
}

.store-service-search-entry > button > small {
  grid-column: 2 / 4;
  color: #617087;
  font-size: 11px;
}

.store-service-search-entry > button > i {
  grid-column: 4;
  grid-row: 1 / 3;
  font-size: 24px;
  font-style: normal;
}

.store-finder-quick {
  margin: -4px 16px 15px;
  padding: 10px 12px 12px;
  color: #173357;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(207, 222, 240, .96);
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(21, 49, 86, .07);
  backdrop-filter: blur(7px);
}

.store-finder-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.store-finder-location b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-finder-quick nav {
  margin-top: 9px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.store-finder-quick nav::-webkit-scrollbar {
  display: none;
}

.store-finder-quick nav button {
  min-height: 38px;
  padding: 0 12px;
  flex: 0 0 auto;
  color: #324863;
  background: #f7f9fc;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.store-finder-quick nav button:first-child {
  color: #17643a;
  background: #eaf8ef;
  border-color: #c8e9d4;
}

.store-service-card-meta {
  margin: 7px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.store-service-card-status-only {
  display: flex;
  width: fit-content;
  margin-top: 7px;
  pointer-events: none;
}

.store-service-card-status-only .store-service-status {
  min-height: 22px;
  padding-inline: 7px;
  font-size: 10px;
}

.store-service-status,
.store-service-card-payment,
.store-service-card-unknown {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.store-service-status {
  color: #566174;
  background: #edf0f4;
}

.store-service-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #8490a2;
  border-radius: 50%;
}

.store-service-status.is-open {
  color: #17643a;
  background: #e5f8ed;
}

.store-service-status.is-open i {
  background: #24a65a;
  box-shadow: 0 0 0 3px rgba(36, 166, 90, .13);
}

.store-service-status.is-closing-soon {
  color: #815116;
  background: #fff0cb;
}

.store-service-status.is-closing-soon i {
  background: #e49416;
  box-shadow: 0 0 0 3px rgba(228, 148, 22, .14);
}

.store-service-status.is-closed {
  color: #8b3030;
  background: #ffe8e8;
}

.store-service-status.is-closed i {
  background: #d34a4a;
}

.store-service-top-status {
  width: fit-content;
  margin: 0 3px 9px;
}

.store-service-card-hours {
  color: #647087;
  font-size: 11px;
  font-weight: 700;
}

.store-service-card-payment {
  color: #315d91;
  background: #edf5ff;
}

.store-service-card-payment.is-delivery {
  color: #17643a;
  background: #e5f8ed;
}

.store-service-card-unknown {
  color: #697386;
  background: #f0f2f5;
}

.store-service-detail-panel {
  margin: 12px 0;
  padding: 15px;
  color: #14294b;
  background: linear-gradient(135deg, #f5f9ff, #fffaf6);
  border: 1px solid #d7e1ee;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(16, 38, 73, .06);
}

.store-service-detail-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-service-detail-panel > header > div {
  min-width: 0;
}

.store-service-detail-panel > header > div > span {
  color: #f04a22;
  font-size: 11px;
  font-weight: 850;
}

.store-service-detail-panel h3 {
  margin: 3px 0 0;
  font-size: 18px;
  letter-spacing: -.03em;
}

.store-service-detail-today {
  margin: 12px 0 8px;
  padding: 10px 11px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #e1e7ef;
  border-radius: 12px;
}

.store-service-detail-today b {
  font-size: 13px;
}

.store-service-detail-today span {
  color: #68758a;
  font-size: 11px;
}

.store-service-detail-hours {
  display: grid;
  gap: 3px;
  color: #53627a;
  font-size: 11px;
  line-height: 1.45;
}

.store-service-detail-hours span::before {
  content: "·";
  margin-right: 6px;
  color: #f04a22;
  font-weight: 900;
}

.store-service-detail-hours .is-unknown {
  color: #697386;
}

.store-service-detail-benefits {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 7px;
}

.store-service-detail-benefit {
  min-height: 34px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #697386;
  background: #eef1f5;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.store-service-detail-benefit i {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .7);
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.store-service-detail-benefit.is-available {
  color: #315d91;
  background: #e5f1ff;
}

.store-service-detail-benefit.is-available.is-delivery {
  color: #17643a;
  background: #e2f7ea;
}

.store-service-detail-benefit.is-unavailable {
  color: #8b3030;
  background: #ffe8e8;
}

.store-service-detail-panel > footer {
  margin-top: 11px;
  padding-top: 9px;
  display: grid;
  gap: 3px;
  color: #707b8e;
  border-top: 1px solid #dfe5ed;
  font-size: 10px;
  line-height: 1.45;
}

.store-service-detail-panel > footer small {
  color: #465873;
  font-weight: 750;
}

.store-service-overview-overlay {
  position: fixed;
  z-index: 11000;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(5, 20, 43, .64);
  backdrop-filter: blur(8px);
}

.store-service-overview-overlay[hidden] {
  display: none;
}

.store-service-overview {
  width: min(900px, 100%);
  max-height: min(92dvh, 960px);
  padding: 26px;
  overflow: auto;
  overscroll-behavior: contain;
  color: #14294b;
  background: #f8f9fc;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(3, 17, 42, .34);
}

.store-service-overview > header {
  position: sticky;
  top: -1px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 10px;
  background: #f8f9fc;
}

.store-service-overview > header span {
  color: #f04a22;
  font-size: 13px;
  font-weight: 850;
}

.store-service-overview h2 {
  margin: 5px 0 0;
  font-size: clamp(27px, 5vw, 40px);
  letter-spacing: -.04em;
}

.store-service-overview > header button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #173357;
  background: #eef1f6;
  border: 0;
  border-radius: 50%;
  font-size: 26px;
}

.store-service-overview-lead {
  margin: 14px 0 14px;
  padding: 12px 14px;
  color: #53627a;
  background: #eef5ff;
  border: 1px solid #d5e3f5;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.55;
}

.store-service-overview-search {
  min-height: 48px;
  margin: 0 0 8px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #d8dfe9;
  border-radius: 14px;
}

.store-service-overview-search > span {
  color: #173357;
  font-size: 22px;
}

.store-service-overview-search input {
  min-width: 0;
  flex: 1;
  padding: 12px 0;
  color: #173357;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.store-service-overview-search button {
  width: 30px;
  height: 30px;
  color: #657188;
  background: #edf0f4;
  border: 0;
  border-radius: 50%;
}

.store-service-recent-search {
  margin: 0 0 11px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 15px;
}

.store-service-recent-head {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-service-recent-head b {
  color: #173357;
  font-size: 13px;
}

.store-service-recent-head button {
  padding: 4px 6px;
  color: #69758a;
  background: transparent;
  border: 0;
  font-size: 11px;
}

.store-service-recent-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.store-service-recent-list::-webkit-scrollbar {
  display: none;
}

.store-service-recent-list > button {
  min-width: 138px;
  max-width: 190px;
  min-height: 58px;
  padding: 9px 11px;
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  color: #173357;
  text-align: left;
  background: #f4f8fd;
  border: 1px solid #cfdeef;
  border-radius: 12px;
}

.store-service-recent-list strong,
.store-service-recent-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-service-recent-list strong {
  font-size: 13px;
}

.store-service-recent-list small {
  color: #6b7789;
  font-size: 10px;
}

.store-service-filter-block {
  margin-bottom: 11px;
  padding: 13px;
  background: #fff;
  border: 1px solid #e0e5ec;
  border-radius: 16px;
}

.store-service-filter-title {
  margin-bottom: 9px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.store-service-filter-title b {
  font-size: 14px;
}

.store-service-filter-title small {
  overflow: hidden;
  color: #69758a;
  font-size: 11px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-service-filter-block nav,
.store-service-location-controls {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.store-service-filter-block nav::-webkit-scrollbar,
.store-service-location-controls::-webkit-scrollbar {
  display: none;
}

.store-service-filter-block nav button,
.store-service-location-controls button,
.store-service-location-controls select {
  min-height: 36px;
  padding: 0 12px;
  flex: 0 0 auto;
  color: #485873;
  background: #f8f9fb;
  border: 1px solid #dce2eb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.store-service-filter-block nav button small {
  margin-left: 3px;
  font-size: 10px;
  opacity: .8;
}

.store-service-filter-block nav button.active,
.store-service-location-controls button.active {
  color: #fff;
  background: #173357;
  border-color: #173357;
}

.store-service-filter-block nav button[data-store-service-status="open"] {
  color: #17643a;
  background: #e5f8ed;
  border-color: #bfe8cf;
}

.store-service-filter-block nav button[data-store-service-status="closing-soon"] {
  color: #815116;
  background: #fff0cb;
  border-color: #f0d28d;
}

.store-service-filter-block nav button[data-store-service-status="unknown"] {
  color: #596579;
  background: #edf0f4;
  border-color: #d7dde6;
}

.store-service-filter-block nav button[data-store-service-status="closed"] {
  color: #8b3030;
  background: #ffe8e8;
  border-color: #f2caca;
}

.store-service-filter-block nav button[data-store-service-status="open"].active {
  color: #fff;
  background: #208a4d;
  border-color: #208a4d;
}

.store-service-filter-block nav button[data-store-service-status="closing-soon"].active {
  color: #fff;
  background: #d48612;
  border-color: #d48612;
}

.store-service-filter-block nav button[data-store-service-status="unknown"].active {
  color: #fff;
  background: #6b7789;
  border-color: #6b7789;
}

.store-service-filter-block nav button[data-store-service-status="closed"].active {
  color: #fff;
  background: #bd4141;
  border-color: #bd4141;
}

.store-service-location-controls select {
  max-width: 160px;
  padding-right: 28px;
  background-color: #fff;
}

.store-service-overview-result {
  min-height: 34px;
  margin: 0 2px 13px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #eef5ff;
  border-radius: 11px;
}

.store-service-overview-result b {
  color: #173357;
  font-size: 15px;
}

.store-service-overview-result span {
  overflow: hidden;
  color: #69758a;
  font-size: 11px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-service-overview-list {
  display: grid;
  gap: 16px;
}

.store-service-overview-more {
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  color: #17385f;
  background: #eef5ff;
  border: 2px solid #b7c8dd;
  border-radius: 16px;
  font: inherit;
  font-weight: 850;
}

.store-service-overview-more small {
  display: block;
  margin-top: 2px;
  color: #65758b;
  font-size: 11px;
}

.store-service-overview-group {
  overflow: hidden;
  background: #fff;
  border: 2px solid #9fb0c2;
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(18, 42, 74, .1);
}

.store-service-overview-card {
  width: 100%;
  min-height: 98px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 9px 13px;
  color: #14294b;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.store-service-overview-card-image {
  position: relative;
  width: 68px;
  height: 68px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #77859a;
  background: #eef2f7;
  border-radius: 15px;
  font-size: 25px;
}

.store-service-overview-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-service-overview-card-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.store-service-overview-card-main strong {
  font-size: 16px;
  line-height: 1.35;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.store-service-overview-card-main small {
  overflow: hidden;
  color: #66738a;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-service-overview-card > .store-service-status {
  justify-self: end;
}

.store-service-overview-payments {
  grid-column: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.store-service-overview-payments b {
  padding: 5px 8px;
  color: #315d91;
  background: #edf5ff;
  border-radius: 999px;
  font-size: 11px;
}

.store-service-overview-payments b.is-delivery {
  color: #17643a;
  background: #e5f8ed;
}

.store-service-overview-payments b.is-unknown {
  color: #697386;
  background: #f0f2f5;
}

.store-service-overview-payments small {
  color: #7a8495;
  font-size: 10px;
}

.store-service-overview-card > i {
  grid-column: 4;
  grid-row: 1 / 3;
  justify-self: end;
  font-size: 25px;
  font-style: normal;
}

.store-service-menu-loading {
  margin: 0;
  padding: 18px;
  color: #53627a;
  text-align: center;
  background: #eef5ff;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 800;
}

.store-service-menu-matches {
  padding: 12px;
  background: linear-gradient(180deg, #fff9f5, #fff);
  border-top: 2px solid #d7c4b8;
}

.store-service-menu-matches > header {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-service-menu-matches > header b {
  color: #9a3f1d;
  font-size: 13px;
}

.store-service-menu-matches > header span {
  color: #7a665e;
  font-size: 11px;
  font-weight: 800;
}

.store-service-menu-matches > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.store-service-menu-matches > div > button {
  min-width: 0;
  min-height: 76px;
  padding: 7px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
  color: #14294b;
  text-align: left;
  background: #fff;
  border: 1px solid #eadfd9;
  border-radius: 12px;
}

.store-service-menu-matches img,
.store-service-menu-image-empty {
  width: 58px;
  height: 58px;
  object-fit: cover;
  display: grid;
  place-items: center;
  color: #a1715f;
  background: #f7ece6;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 850;
}

.store-service-menu-matches > div > button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.store-service-menu-matches small {
  overflow: hidden;
  color: #8c6d60;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-service-menu-matches strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-service-menu-matches i {
  font-style: normal;
}

.store-service-menu-all {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  color: #9a3f1d;
  background: #fff2eb;
  border: 1px solid #f1c9b7;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 900;
}

.store-service-overview-empty {
  padding: 40px 16px;
  display: grid;
  gap: 7px;
  color: #68758a;
  text-align: center;
  background: #fff;
  border-radius: 17px;
}

.store-service-overview-empty small {
  font-size: 11px;
}

.store-service-overview > footer {
  margin-top: 18px;
  padding-top: 15px;
  color: #647087;
  border-top: 1px solid #dde2ea;
  line-height: 1.5;
}

@media (max-width: 720px) {
  #recommendSection > .section-head:has(#resetCategoryBtn:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
  }

  #recommendSection > .section-head:has(#resetCategoryBtn:not([hidden])) > h2 {
    grid-column: 1 / -1;
    min-width: max-content;
    white-space: nowrap;
    word-break: keep-all;
  }

  #recommendSection > .section-head:has(#resetCategoryBtn:not([hidden])) > #resetCategoryBtn {
    grid-column: 1;
    justify-self: start;
  }

  #recommendSection > .section-head:has(#resetCategoryBtn:not([hidden])) > .store-service-overview-button {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
  }

  .store-service-overview-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .store-service-search-entry {
    margin-top: -7px;
  }

  .store-finder-quick {
    margin-top: -7px;
  }

  .store-service-overview-overlay {
    padding: 0;
    place-items: end center;
  }

  .store-service-overview {
    width: 100%;
    max-height: 94dvh;
    padding: 18px 12px max(18px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .store-service-overview h2 {
    font-size: 26px;
  }

  .store-service-filter-title {
    display: grid;
    gap: 3px;
  }

  .store-service-filter-title small {
    text-align: left;
  }

  .store-service-overview-card {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    padding: 13px;
  }

  .store-service-overview-card-image {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }

  .store-service-overview-card-main strong {
    font-size: 15px;
  }

  .store-service-overview-card-main {
    grid-column: 2;
    grid-row: 1;
  }

  .store-service-overview-card > .store-service-status {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .store-service-overview-payments {
    grid-column: 2;
    grid-row: 3;
  }

  .store-service-overview-card-image,
  .store-service-overview-card > i {
    grid-row: 1 / 4;
  }

  .store-service-overview-card > i {
    grid-column: 3;
  }

  .store-service-menu-matches > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .store-service-search-entry {
    margin-right: 10px;
    margin-left: 10px;
  }

  .store-finder-quick {
    margin-right: 10px;
    margin-left: 10px;
  }
}


/* 주문앱별 혜택 출처를 고객이 카드와 전체 리스트에서 즉시 구분 */
.store-service-card-payment,
.store-service-overview-payments b {
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
}

.store-service-detail-benefit {
  align-items: flex-start;
}

@media (max-width: 520px) {
  .store-finder-quick nav {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr);
    gap: 5px;
    overflow-x: visible;
  }

  .store-finder-quick nav button {
    width: 100%;
    min-width: 0;
    padding: 0 6px;
    font-size: 11px;
  }

  .store-finder-quick nav button:first-child {
    padding-right: 4px;
    padding-left: 4px;
  }

  .store-service-card-meta {
    gap: 4px;
  }

  .store-service-card-payment {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .store-service-overview-payments b {
    padding: 6px 8px;
    font-size: 10px;
  }
}


@media (max-width: 360px) {
  .store-finder-quick nav {
    gap: 4px;
  }

  .store-finder-quick nav button {
    padding: 0 4px;
    font-size: 10px;
  }
}

.store-service-gift-app-link {
  min-height: 52px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #c9dcf2;
  border-radius: 14px;
  background: #eef6ff;
  color: #244f7d;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.store-service-gift-app-link b {
  font-weight: 900;
}
