.ahu-qb-page,
.ahu-qb-page * { box-sizing: border-box; }

.ahu-qb-page {
  --qb-orange: var(--ahu-primary);
  --qb-orange-strong: #ff540b;
  --qb-orange-soft: #fff7f2;
  --qb-text: var(--ahu-text-main);
  --qb-regular: var(--ahu-text-regular);
  --qb-muted: var(--ahu-text-secondary);
  --qb-divider: var(--ahu-divider);
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ahu-bg-page);
  color: var(--qb-text);
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

.ahu-qb-page button {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.ahu-qb-page button:focus-visible {
  outline: 2px solid #ff936a;
  outline-offset: 2px;
}

.ahu-qb-system-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: 101px;
  background: #fff;
}

.ahu-qb-status {
  height: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 41px 8px 42px;
  color: #050505;
}

.ahu-qb-status > strong { font-size: 14px; font-weight: 700; line-height: 18px; }
.ahu-qb-status-icons { height: 18px; display: flex; align-items: center; gap: 7px; }
.ahu-qb-status-icons i:first-child { width: 15px; height: 13px; background: #050505; clip-path: polygon(0 100%,0 72%,18% 72%,18% 52%,42% 52%,42% 31%,66% 31%,66% 10%,90% 10%,90% 100%); }
.ahu-qb-status-icons i:nth-child(2) { position: relative; width: 16px; height: 13px; overflow: hidden; }
.ahu-qb-status-icons i:nth-child(2)::before { content: ""; position: absolute; left: 1px; top: 0; width: 13px; height: 13px; border: 2px solid #050505; border-color: #050505 transparent transparent #050505; border-radius: 50%; transform: rotate(45deg); }
.ahu-qb-status-icons i:nth-child(2)::after { content: ""; position: absolute; left: 6px; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: #050505; }
.ahu-qb-status-icons b { min-width: 24px; height: 15px; display: grid; place-items: center; padding: 0 3px; border-radius: 4px; background: #34bf5c; color: #fff; font-size: 9px; line-height: 15px; }

.ahu-qb-header {
  position: relative;
  height: 59px;
  display: grid;
  place-items: center;
}

.ahu-qb-header h1 { margin: 0; color: #2c2c2f; font-size: 18px; font-weight: 500; line-height: 28px; }
.ahu-qb-share { position: absolute; right: 15px; top: 2px; width: 44px; height: 50px; display: grid; place-items: center; }
.ahu-qb-share img { width: 40px; height: 50px; display: block; object-fit: contain; }

.ahu-qb-scroll { width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.ahu-qb-scroll::-webkit-scrollbar { display: none; }
.ahu-qb-content { min-height: 1450px; padding: 101px 0 105px; background: var(--ahu-bg-page); }

.ahu-qb-overview { height: 181px; padding: 19px 35px 7px; background: #fff; }
.ahu-qb-stats { height: 106px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.ahu-qb-days { text-align: center; transform: translateX(-10px); }
.ahu-qb-days > span { height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--qb-orange); }
.ahu-qb-days strong { font-size: 42px; font-weight: 500; line-height: 52px; }
.ahu-qb-days img { width: 25px; height: 26px; object-fit: contain; }
.ahu-qb-days p { margin: 2px 0 0; color: #69696d; font-size: 17px; font-weight: 400; line-height: 24px; white-space: nowrap; }
.ahu-qb-counts { min-height: 57px; display: grid; align-content: center; gap: 5px; padding-left: 27px; border-left: 1px solid #efeff0; }
.ahu-qb-counts p { margin: 0; color: #737377; font-size: 14px; line-height: 21px; white-space: nowrap; }
.ahu-qb-counts strong { color: var(--qb-orange); font-size: 18px; font-weight: 500; }

.ahu-qb-daily { position: relative; width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 6px; background: linear-gradient(90deg, #ff570c, #ff753c) !important; color: #fff !important; font-size: 15px !important; font-weight: 400 !important; }
.ahu-qb-daily > img { width: 21px; height: 22px; object-fit: cover; }
.ahu-qb-daily > b { position: absolute; right: 55px; top: -15px; min-width: 53px; height: 23px; display: grid; place-items: center; padding: 0 6px; border: 1px solid #ff6258; border-radius: 12px 12px 12px 0; background: #ff5c59; color: #fff; font-size: 12px; font-weight: 500; }

.ahu-qb-vip { height: 292px; margin: 12px 8px 0; overflow: hidden; border-radius: 7px; background: #ffd0b4; }
.ahu-qb-vip-head { height: 84px; display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 4px 8px 2px 12px; }
.ahu-qb-vip-badge { width: 55px; height: 65px; display: block; object-fit: cover; }
.ahu-qb-vip-meta { min-width: 0; display: flex; flex-direction: column; color: #914015; }
.ahu-qb-vip-meta > strong { overflow: hidden; font-size: 16px; font-weight: 600; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.ahu-qb-vip-meta > small { margin-top: 1px; color: #8c3e19; font-size: 13px; line-height: 18px; }
.ahu-qb-offer { align-self: flex-start; min-height: 26px; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 0 7px; border-radius: 5px; background: #ff5f61; color: #fff; white-space: nowrap; }
.ahu-qb-offer b, .ahu-qb-offer em { font-size: 14px; font-style: normal; font-weight: 600; }
.ahu-qb-offer em { font-size: 16px; }
.ahu-qb-vip-action { min-width: 80px !important; height: 34px; padding: 0 13px !important; border-radius: 18px !important; background: var(--qb-orange-strong) !important; color: #fff !important; font-size: 14px !important; font-weight: 500 !important; white-space: nowrap; }
.ahu-qb-vip-hero { width: calc(100% - 16px); height: 200px; display: block; margin: 0 8px 8px; border-radius: 5px; object-fit: fill; }

.ahu-qb-utilities { height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; background: #fff; }
.ahu-qb-utilities button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ahu-qb-utilities button::after { content: ""; position: absolute; right: 0; top: 31px; width: 1px; height: 29px; background: #f4d9c8; }
.ahu-qb-utilities button:last-child::after { display: none; }
.ahu-qb-utilities button > span { position: relative; height: 37px; display: grid; place-items: center; }
.ahu-qb-utilities img { max-width: 33px; max-height: 37px; display: block; object-fit: contain; }
.ahu-qb-utilities button > span b { position: absolute; left: 24px; top: -12px; min-width: 34px; height: 18px; display: grid; place-items: center; padding: 0 6px; border-radius: 10px 10px 10px 0; background: var(--qb-orange); color: #fff; font-size: 11px; font-weight: 400; }
.ahu-qb-utilities strong { color: #29292c; font-size: 14px; font-weight: 400; line-height: 19px; white-space: nowrap; }

.ahu-qb-campaign { width: 100%; height: 148px; overflow: hidden; background: #fff; }
.ahu-qb-campaign button, .ahu-qb-campaign img { width: 100%; height: 100%; display: block; }
.ahu-qb-campaign img { object-fit: cover; }

.ahu-qb-products { margin-top: 8px; border-top: 8px solid #f4f4f5; background: #fff; }
.ahu-qb-products > header { height: 51px; display: flex; align-items: center; padding: 6px 14px 0; }
.ahu-qb-products h2 { position: relative; margin: 0; padding-left: 12px; color: #2b2b2e; font-size: 17px; font-weight: 600; line-height: 24px; }
.ahu-qb-products h2::before { content: ""; position: absolute; left: 0; top: 2px; width: 4px; height: 19px; background: var(--qb-orange); }

.ahu-qb-product { height: 130px; margin: 0 14px; border-bottom: 1px solid var(--qb-divider); }
.ahu-qb-product:last-child { border-bottom: 0; }
.ahu-qb-product-hit { width: 100%; height: 100%; display: grid; grid-template-columns: 101px minmax(0, 1fr); gap: 14px; padding: 8px 0 !important; text-align: left; }
.ahu-qb-product-cover { position: relative; width: 101px; height: 116px; align-self: center; overflow: hidden; border-radius: 5px; background: #fff; }
.ahu-qb-product-cover img { width: 100%; height: 100%; display: block; object-fit: fill; }
.ahu-qb-product-cover > b { position: absolute; right: -1px; top: -1px; min-width: 34px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 0 0 0 10px; background: #df5964; color: #fff; font-size: 11px; font-weight: 400; }
.ahu-qb-product-copy { min-width: 0; display: flex; flex-direction: column; padding-top: 3px; }
.ahu-qb-product-copy > strong { display: -webkit-box; max-height: 42px; overflow: hidden; color: #2b2b2e; font-size: 16px; font-weight: 600; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ahu-qb-tags { display: flex; flex-wrap: wrap; gap: 3px 5px; max-height: 42px; margin-top: 8px; overflow: hidden; }
.ahu-qb-tags i { padding: 1px 3px; border-radius: 3px; background: #fff8f4; color: var(--qb-orange); font-size: 11px; font-style: normal; font-weight: 500; line-height: 18px; white-space: nowrap; }
.ahu-qb-product-foot { min-height: 31px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.ahu-qb-product-foot em { min-width: 0; display: flex; align-items: center; color: #8f8f93; font-size: 12px; font-style: normal; line-height: 20px; white-space: nowrap; }
.ahu-qb-product-foot em img { width: 15px; height: 19px; margin-right: 3px; object-fit: contain; }
.ahu-qb-product-foot small { flex: 0 0 auto; min-width: 86px; height: 31px; display: grid; place-items: center; padding: 0 10px; border-radius: 4px; background: var(--qb-orange); color: #fff; font-size: 13px; font-weight: 400; line-height: 31px; white-space: nowrap; }

.ahu-qb-service { position: absolute; z-index: 24; right: 0; top: 57%; width: 60px; height: 83px; display: none; }
.ahu-qb-page.is-service-floating .ahu-qb-service { display: block; }
.ahu-qb-service img { width: 60px; height: 83px; display: block; object-fit: cover; }

.ahu-qb-bottom-nav { position: absolute; z-index: 40; left: 21px; right: 21px; bottom: 10px; height: 67px; }
.ahu-qb-bottom-nav > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; }
.ahu-qb-bottom-nav > button { position: relative; z-index: 2; width: 25%; height: 100%; float: left; opacity: 0; }

.ahu-qb-toast { position: absolute; z-index: 60; left: 50%; bottom: 94px; max-width: 78%; padding: 8px 13px; border-radius: 18px; background: rgb(24 24 26 / 78%); color: #fff; font-size: 12px; line-height: 18px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: 160ms ease; }
.ahu-qb-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) {
  .ahu-qb-page { width: 100vw; height: 100dvh; }
}
