.wrap.shop-page {
  --shop-toolbar: 62px;
  --shop-pad: clamp(16px, 3vw, 36px);
  max-width: 1060px;
  position: relative;
  padding-block: 20px 42px;
}
.shop-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  height: var(--shop-toolbar);
  margin-bottom: calc(-1 * var(--shop-toolbar));
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.shop-toolbar.condensed { background: #fff; border-bottom: 1px solid var(--line); pointer-events: auto }
.shop-toolbar .shop-tool, .shop-toolbar .heart-btn {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  color: #fff;
  background: #242034cc;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.shop-toolbar .shop-tool:hover { background: #ce2517 }
.shop-toolbar.condensed .shop-tool, .shop-heading .shop-tool { color: var(--deep); background: #f2f2f7; border-color: transparent }
.shop-toolbar .shop-tool .ui { width: 19px; height: 19px }
.shop-toolbar .heart-btn.saved .ui { fill: #f8fc07; color: #f8fc07 }
.shop-toolbar.condensed .heart-btn.saved .ui { fill: #e22217; color: #e22217 }
.shop-actions { margin-inline-start: auto; display: flex; gap: 4px }
.compact-store { visibility: hidden; min-width: 0; display: grid; gap: 2px }
.shop-toolbar.condensed .compact-store { visibility: visible }
.compact-store strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.compact-store small { color: var(--muted) }
.shop-page .video-banner { height: clamp(238px, 29vw, 348px); border-radius: 22px; background-color: #261f31 }
.shop-page .video-banner .film-toggle { inset-block-start: auto; inset-block-end: 13px }
.shop-page .video-banner .film-shade { background: linear-gradient(180deg,#16112138,transparent 25%,transparent 80%,#16112130) }
.shop-identity { padding: 0 var(--shop-pad) 12px; background: #fff; border-radius: 0 0 20px 20px }
.shop-logo {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: -35px;
  margin-bottom: 8px;
  border-radius: 22px;
  border: 4px solid white;
  background: #f2f2f7;
  color: var(--green);
  box-shadow: 0 3px 12px #2a224522;
}
.shop-logo img { display: block; width: 100%; height: 100%; border-radius: 17px; object-fit: contain; background: #fff }
.shop-logo .ui { width: 38px; height: 38px }
.shop-heading { display: flex; align-items: center; gap: 14px; justify-content: space-between }
.shop-heading h1 { font-size: clamp(2.15rem,4vw,3.3rem); letter-spacing: -.065em; line-height: 1.07 }
.shop-heading p { color: var(--muted); margin-top: 6px; font-size: .96rem }
.shop-heading .shop-tool { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex: none }
.shop-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-block: 17px 13px; border: 1px solid var(--line); border-radius: 16px; padding: 7px 0 }
.metric { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; align-content: center; place-items: start; gap: 1px 9px; padding: 3px 8px; text-align: start }
.metric + .metric { border-inline-start: 1px solid var(--line) }
.metric i { grid-row: span 2; width: 37px; height: 37px; display: grid; place-items: center; align-self: center; border-radius: 12px; background: var(--mint); color: #204f44 }
.metric:nth-child(2) i { background: var(--butter); color: #6b5020 }
.metric:nth-child(3) i { background: var(--lilac); color: var(--deep) }
.metric b { font-size: .99rem; line-height: 1.3 }
.metric small { font-size: .82rem; font-weight: 600 }
.metric span { font-size: .8rem; color: var(--muted) }
.metric:first-child span { color: var(--green); text-decoration: underline; text-underline-offset: 2px }
.shop-branch, .select-wrap, .open-at { display: flex; align-items: center; gap: 6px }
.shop-branch { gap: 8px; flex-wrap: wrap; font-size: .87rem }
.shop-branch label { color: var(--muted) }
.select-wrap { position: relative }
.select-wrap select { min-height: 38px; max-width: 180px; padding: 4px 11px; padding-inline-end: 28px; appearance: none; background: var(--pale); border: 0; border-radius: 9px; color: var(--deep); font-weight: 700; cursor: pointer }
.select-wrap .ui { width: 15px; height: 15px; position: absolute; inset-inline-end: 8px; pointer-events: none }
.open-at { margin-inline-start: auto; font-size: .84rem; font-weight: 650; color: #704c1a; padding: 9px 0 }
.open-at .ui { width: 16px; height: 16px }
.menu-strip { position: sticky; top: var(--shop-toolbar); z-index: 3; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; background: #fff; padding-inline: var(--shop-pad); border-bottom: 1px solid var(--line) }
.menu-strip::-webkit-scrollbar, .best-shelf::-webkit-scrollbar { display: none }
.category-jump { position: relative; flex: none; min-height: 53px; padding: 8px 10px; white-space: nowrap; color: var(--muted); font-size: .98rem; font-weight: 660 }
.category-jump[aria-current] { color: var(--green) }
.category-jump[aria-current]::after { content: ""; position: absolute; bottom: 0; height: 3px; background: currentColor; inset-inline: 6px; border-radius: 3px 3px 0 0 }
.store-section { background: white; padding: 25px var(--shop-pad) 12px }
.store-section h2 { font-size: clamp(1.45rem,2.8vw,2rem); line-height: 1.17; letter-spacing: -.045em; margin-bottom: 12px }
.best-shelf { display: flex; align-items: stretch; gap: 16px; overflow: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 8px }
.shelf-item { display: flex; flex-direction: column; align-items: start; flex: 0 0 clamp(130px,19vw,192px); min-width: 0; padding: 0 0 3px; text-align: start; scroll-snap-align: start }
.shelf-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #f2f2f7 }
.shelf-item strong { margin-top: 8px; font-size: .99rem; line-height: 1.23 }
.store-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px }
.store-item { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-width: 0; padding: 13px 0; border-bottom: 1px solid var(--line); text-align: start }
.store-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 13px; flex: none; background: #f2f2f7 }
.store-item s, .shelf-item s { color: var(--muted); font-weight: 450 }
.shop-add { align-self: end; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--green); background: var(--pale); flex: none }
.shop-add .ui { width: 17px; height: 17px }
.store-item:hover strong, .shelf-item:hover strong { color: var(--green) }
.store-section.feedback-panel { margin: 0; padding-block: 18px; background: #eaf4ef }
.feedback-panel h2 { font-size: 1.2rem; margin-bottom: 9px }
.review-summary { display: flex; gap: 12px; align-items: center }
.review-symbol { display: grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 15px; background: #cee8db; color: #255c48 }
.review-value { display: grid; gap: 1px }
.review-value strong { font-size: 1.9rem; line-height: 1; color: #214637 }
.review-value small, .review-source { color: #405c50; font-size: .82rem }
.review-open { margin-inline-start: auto; border: 1px solid #bad2c5; color: #244d3b; background: #fff; border-radius: 30px; padding: 8px 13px; font-weight: 680; min-height: 42px }
.review-source { margin-top: 9px }
.user-review { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; margin-block: 9px; display: grid; gap: 5px }
.user-review small, .user-review span { color: var(--muted); font-size: .85rem }
.user-review p { overflow-wrap: anywhere }
.feedback-heading { font-size: 1.1rem; margin: 18px 0 8px }
.shop-details { display: grid; gap: 10px; margin-block: 18px }
.shop-details>div { display: flex; gap: 10px; align-items: center }
.menu-search-list { margin-top: 12px }
.shop-bottom { position: sticky; bottom: 0; z-index: 2; background: #fff; border-top: 1px solid var(--line); padding: 4px var(--shop-pad); display: flex; justify-content: center; align-items: center; gap: 12px }
.shop-bottom .text-btn { min-height: 39px; color: var(--muted); font-size: .84rem }
.shop-bottom .stickyCart { position: static; margin: 0; width: min(55%,430px); box-shadow: none; padding: 9px 15px; min-height: 43px }
.shop-page .footnote { margin: 0; background: white; padding: 22px var(--shop-pad) }
.store-section:last-of-type { min-height: calc(100dvh - var(--shop-toolbar) - 100px) }
[dir=rtl] .shop-heading h1, [dir=rtl] .store-section h2 { letter-spacing: 0; line-height: 1.3 }
@media (max-width:670px) {
  body:has(.shop-page) #head { display: none }
  .wrap.shop-page { --shop-toolbar: 54px; width: 100%; padding: 0 0 calc(54px + env(safe-area-inset-bottom)); background: #fff }
  .shop-toolbar { padding: 0 9px; gap: 8px }
  .shop-actions { gap: 2px }
  .shop-toolbar .shop-tool, .shop-toolbar .heart-btn { height: 42px; width: 42px }
  .shop-toolbar.condensed .shop-tool, .shop-toolbar.condensed .heart-btn { height: 40px; width: 40px }
  .shop-page .video-banner { height: clamp(153px,43vw,252px); border-radius: 0 0 16px 16px }
  .shop-page .film-toggle { width: 37px; height: 37px }
  .shop-logo { width: 60px; height: 60px; margin-top: -23px; margin-bottom: 5px; border-radius: 16px; border-width: 3px }
  .shop-logo img { border-radius: 12px }
  .shop-heading h1 { font-size: clamp(1.86rem,7.5vw,2.35rem) }
  .shop-heading p { margin-top: 4px; font-size: .83rem }
  .shop-heading .shop-tool { width: 38px; height: 38px }
  .shop-identity { padding-bottom: 4px }
  .shop-metrics { margin-block: 12px 7px; padding-block: 5px }
  .metric { grid-template-columns: 1fr; grid-template-rows: auto; place-items: center; gap: 2px; text-align: center; padding: 2px 4px }
  .metric i { width: 29px; height: 29px; grid-row: auto; border-radius: 9px }
  .metric i .ui { width: 17px; height: 17px }
  .metric b { font-size: .87rem }
  .metric small, .metric span { font-size: .74rem }
  .shop-branch { font-size: .78rem; gap: 5px }
  .select-wrap select { font-size: .83rem; min-height: 36px }
  .open-at { font-size: .78rem }
  .category-jump { min-height: 47px; padding-inline: 7px; font-size: .89rem }
  .menu-strip { gap: 7px; padding-inline: 10px }
  .store-section { padding-top: 19px; padding-bottom: 8px }
  .store-section h2 { margin-bottom: 9px }
  .best-shelf { gap: 10px; margin-inline-end: calc(-1 * var(--shop-pad)); padding-inline-end: var(--shop-pad) }
  .shelf-item { flex-basis: clamp(103px,30vw,145px) }
  .shelf-item img { border-radius: 13px }
  .shelf-item strong { font-size: .86rem; margin-top: 6px }
  .store-items { grid-template-columns: 1fr }
  .store-item { padding-block: 12px; gap: 11px }
  .store-item img { width: 77px; height: 77px }
  .review-open { padding-inline: 10px; font-size: .84rem }
  .shop-bottom { bottom: calc(53px + env(safe-area-inset-bottom)); gap: 7px; padding-block: 2px }
  .shop-bottom .text-btn { font-size: .75rem }
  .shop-bottom .stickyCart { flex: 1; width: auto; font-size: .85rem; gap: 4px; padding-inline: 11px }
  .shop-bottom .stickyCart .ui { width: 16px }
}

@media (max-width: 460px) {
  .shop-bottom:has(.stickyCart) .text-btn { width: 43px; min-height: 43px; flex: none }
  .shop-bottom:has(.stickyCart) .text-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .shop-bottom .stickyCart { white-space: nowrap; justify-content: space-between }
}
