:root {
  --happy-store-pink: #e94f87;
  --happy-store-pink-hover: #d93d75;
  --happy-store-pink-soft: #fdeef4;
  --happy-store-bg: #f7f8fa;
  --happy-store-text: #242631;
  --happy-store-muted: #747986;
  --happy-store-line: #e9ebf0;
  --happy-store-white: #fff;
}

body.happy-custom-store-route {
  background: var(--happy-store-bg) !important;
  color: var(--happy-store-text);
}

.happy-store-page,
.happy-store-page * { box-sizing: border-box; }

.happy-store-page {
  width: min(1360px, calc(100% - 40px));
  min-height: 70vh;
  margin: 24px auto 56px;
}

.happy-store-mobile-head { display: none; }

.happy-store-top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}

.happy-store-category-panel,
.happy-store-hero,
.happy-store-user-panel,
.happy-store-notice-panel,
.happy-store-detail,
.happy-store-description,
.happy-store-checkout,
.happy-store-cart-list,
.happy-store-order-list > article {
  border: 0;
  border-radius: 8px;
  background: var(--happy-store-white);
  box-shadow: 0 8px 28px rgba(36, 38, 49, .055);
}

.happy-store-category-panel { padding: 14px 10px; }
.happy-store-category-panel h2 {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 9px;
  margin: 0 8px 6px;
  color: #4b4f5b;
  font-size: 14px;
  font-weight: 700;
}
.happy-store-category-panel h2 i { color: var(--happy-store-pink); font-size: 18px; }
.happy-store-category-panel nav { display: grid; gap: 3px; }
.happy-store-category-panel nav a {
  display: grid;
  min-height: 44px;
  grid-template-columns: 22px 1fr 16px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 6px;
  color: #555a67;
  font-size: 14px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.happy-store-category-panel nav a > i:first-child { color: #8a909d; font-size: 18px; }
.happy-store-category-panel nav a > i:last-child { color: #c4c8d0; font-size: 13px; }
.happy-store-category-panel nav a:hover,
.happy-store-category-panel nav a.active { background: var(--happy-store-pink-soft); color: #c73e71; }
.happy-store-category-panel nav a.active > i:first-child { color: var(--happy-store-pink); }

.happy-store-hero {
  position: relative;
  display: grid;
  min-height: 410px;
  grid-template-columns: minmax(0, 1fr) 34%;
  overflow: hidden;
  background: #fff;
}
.happy-store-hero::after {
  position: absolute;
  right: 33%;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff5f8;
  content: '';
}
.happy-store-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 590px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 48px;
}
.happy-store-hero-copy > span {
  margin-bottom: 18px;
  color: var(--happy-store-pink);
  font-size: 13px;
  font-weight: 700;
}
.happy-store-hero-copy h1 {
  margin: 0;
  color: #252832;
  font-size: 32px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}
.happy-store-hero-copy p {
  max-width: 520px;
  margin: 18px 0 28px;
  color: var(--happy-store-muted);
  font-size: 14px;
  line-height: 1.75;
}
.happy-store-hero-copy a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--happy-store-pink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.happy-store-hero-copy a:hover { background: var(--happy-store-pink-hover); }
.happy-store-hero > img { width: 100%; height: 100%; object-fit: cover; }
.happy-store-hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff7fa;
  color: #d9487e;
}
.happy-store-hero-art i { font-size: 78px; }
.happy-store-hero-art b { margin-top: 18px; font-size: 20px; }
.happy-store-hero-art small { margin-top: 5px; color: #aa8996; font-size: 10px; }

.happy-store-side { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.happy-store-user-panel { padding: 20px; }
.happy-store-user-row { display: flex; align-items: center; gap: 12px; }
.happy-store-user-row > img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; }
.happy-store-user-row > div { min-width: 0; }
.happy-store-user-row strong { display: inline-block; max-width: 145px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
.happy-store-user-row span { display: inline-flex; min-height: 22px; align-items: center; margin-left: 6px; padding: 0 7px; border-radius: 5px; background: #eef7f0; color: #47925c; font-size: 11px; font-weight: 700; vertical-align: middle; }
.happy-store-user-row p { margin: 4px 0 0; color: #9499a5; font-size: 12px; }
.happy-store-user-panel nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 22px; }
.happy-store-user-panel nav a { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; color: #5f6470; text-decoration: none; }
.happy-store-user-panel nav a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #f5f6f8; color: #6d7480; font-size: 19px; }
.happy-store-user-panel nav a:nth-child(2) > span { background: #eef8f2; color: #4b9a69; }
.happy-store-user-panel nav a:nth-child(3) > span { background: #fff8e8; color: #d69a1f; }
.happy-store-user-panel nav a:nth-child(4) > span { background: #fff2f6; color: var(--happy-store-pink); }
.happy-store-user-panel nav a b { margin-top: 8px; overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.happy-store-user-panel nav a small { position: absolute; top: -3px; right: 3px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 9px; background: #777d89; color: #fff; font-size: 9px; }
.happy-store-notice-panel { padding: 18px 20px; }
.happy-store-notice-panel header { display: flex; align-items: center; justify-content: space-between; }
.happy-store-notice-panel h2 { margin: 0; font-size: 15px; font-weight: 750; }
.happy-store-notice-panel header i { color: var(--happy-store-pink); font-size: 18px; }
.happy-store-notice-panel ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.happy-store-notice-panel li { position: relative; overflow: hidden; padding-left: 13px; color: #696e79; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.happy-store-notice-panel li::before { position: absolute; top: 6px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #d6d9df; content: ''; }

.happy-store-section { margin-top: 30px; }
.happy-store-section-head,
.happy-store-page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.happy-store-section-head h2,
.happy-store-page-head h1 { margin: 0; color: var(--happy-store-text); font-size: 21px; font-weight: 750; }
.happy-store-section-head p,
.happy-store-page-head p { margin: 5px 0 0; color: #9297a2; font-size: 12px; }
.happy-store-section-head > span { color: #8a8f9b; font-size: 12px; }
.happy-store-page-head > a { color: var(--happy-store-pink); font-size: 13px; font-weight: 650; text-decoration: none; }
.happy-store-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.happy-store-product {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(36, 38, 49, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.happy-store-product:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(36, 38, 49, .09); }
.happy-store-product-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f4f5f7; }
.happy-store-product-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.happy-store-product:hover .happy-store-product-media > img { transform: scale(1.025); }
.happy-store-product-media > span { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; background: #fff5f8; color: #da4b80; }
.happy-store-product-media > span i { font-size: 48px; }
.happy-store-product-media > span small { margin-top: 10px; color: #b58b9b; font-size: 9px; font-weight: 700; }
.happy-store-product-media > em { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border-radius: 5px; background: rgba(255,255,255,.92); color: #b47a23; font-size: 10px; font-style: normal; font-weight: 700; box-shadow: 0 3px 12px rgba(0,0,0,.06); }

.happy-store-product-media > .happy-store-product-effect,
.happy-store-detail-media > .happy-store-product-effect {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #464a55;
}
.happy-store-frame-effect { background: linear-gradient(145deg,#fbfbfd,#f4f2f8); }
.happy-store-frame-avatar.lao-frame-demo {
  position: relative;
  display: inline-flex;
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  border-radius: 50%;
}
.happy-store-frame-avatar.lao-frame-demo > img {
  position: relative;
  z-index: 1;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(36,38,49,.16);
}
.happy-store-frame-effect > b,
.happy-store-growth-effect > b { position: relative; z-index: 2; font-size: 13px; font-weight: 750; }
.happy-store-frame-effect > small,
.happy-store-growth-effect > small { position: relative; z-index: 2; margin-top: 4px; color: #9297a2; font-size: 9px; }
.happy-store-frame-effect.is-detail .happy-store-frame-avatar { width: 156px; height: 156px; flex-basis: 156px; margin-bottom: 24px; }
.happy-store-frame-effect.is-detail > b { font-size: 18px; }
.happy-store-frame-effect.is-detail > small { font-size: 11px; }

.happy-store-growth-effect {
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.96) 0 18%,transparent 48%),
    linear-gradient(145deg,#fff8fb,#f9f2f6);
}
.happy-store-growth-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid rgba(233,79,135,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: var(--happy-store-pink);
  box-shadow: 0 12px 30px rgba(210,70,120,.13), inset 0 0 22px rgba(233,79,135,.08);
}
.happy-store-growth-core::before,
.happy-store-growth-core::after {
  position: absolute;
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.happy-store-growth-core::before {
  inset: -9px;
  border: 2px solid transparent;
  border-top-color: rgba(233,79,135,.65);
  border-right-color: rgba(233,79,135,.18);
  animation: happyStoreEnergySpin 4.8s linear infinite;
}
.happy-store-growth-core::after {
  inset: -18px;
  background:
    radial-gradient(circle at 18% 28%,#fff 0 2px,transparent 3px),
    radial-gradient(circle at 82% 18%,rgba(233,79,135,.8) 0 2px,transparent 3px),
    radial-gradient(circle at 86% 78%,#fff 0 2px,transparent 3px),
    radial-gradient(circle at 22% 86%,rgba(233,79,135,.55) 0 3px,transparent 4px);
  filter: drop-shadow(0 0 5px rgba(233,79,135,.5));
  animation: happyStoreEnergyFloat 3.2s ease-in-out infinite;
}
.happy-store-growth-core i { position: absolute; top: 17px; font-size: 25px; }
.happy-store-growth-core em { position: absolute; bottom: 17px; font-size: 17px; font-style: normal; font-weight: 800; }
.happy-store-growth-effect.is-mid .happy-store-growth-core { color: #8b5cf6; box-shadow: 0 12px 30px rgba(139,92,246,.16), inset 0 0 24px rgba(139,92,246,.1); }
.happy-store-growth-effect.is-mid .happy-store-growth-core::before { border-top-color: #8b5cf6; border-right-color: rgba(139,92,246,.22); }
.happy-store-growth-effect.is-max .happy-store-growth-core { color: #d39522; box-shadow: 0 12px 32px rgba(211,149,34,.18), inset 0 0 25px rgba(245,190,70,.13); }
.happy-store-growth-effect.is-max .happy-store-growth-core::before { border-top-color: #e5aa36; border-right-color: rgba(229,170,54,.22); animation-duration: 3.6s; }
.happy-store-growth-effect.is-detail .happy-store-growth-core { width: 154px; height: 154px; margin-bottom: 26px; }
.happy-store-growth-effect.is-detail .happy-store-growth-core i { top: 30px; font-size: 43px; }
.happy-store-growth-effect.is-detail .happy-store-growth-core em { bottom: 29px; font-size: 28px; }
.happy-store-growth-effect.is-detail > b { font-size: 18px; }
.happy-store-growth-effect.is-detail > small { font-size: 11px; }
.happy-store-generic-effect { background: #fff5f8; color: #da4b80 !important; }
.happy-store-generic-effect > i { font-size: 48px; }
.happy-store-generic-effect > small { margin-top: 10px; color: #b58b9b; font-size: 9px; font-weight: 700; }
.happy-store-generic-effect.is-detail > i { font-size: 88px; }
.happy-store-generic-effect.is-detail > small { font-size: 12px; }
@keyframes happyStoreEnergySpin { to { transform: rotate(360deg); } }
@keyframes happyStoreEnergyFloat { 0%,100% { transform: scale(.96) rotate(0); opacity: .65; } 50% { transform: scale(1.06) rotate(12deg); opacity: 1; } }
.happy-store-product-body { padding: 15px; }
.happy-store-product-title-row { display: flex; align-items: flex-start; gap: 8px; }
.happy-store-product-title-row h3 { min-width: 0; flex: 1; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.happy-store-product-title-row h3 a { display: -webkit-box; overflow: hidden; color: #30333d; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.happy-store-favorite-form button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f6f7f9; color: #8e939e; cursor: pointer; }
.happy-store-favorite-form button.is-active { background: var(--happy-store-pink-soft); color: var(--happy-store-pink); }
.happy-store-product-body > p { height: 38px; margin: 9px 0 13px; overflow: hidden; color: #898e99; font-size: 12px; line-height: 1.6; }
.happy-store-product-bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.happy-store-product-bottom strong { color: var(--happy-store-pink); font-size: 20px; }
.happy-store-product-bottom strong small { margin-right: 4px; font-size: 11px; font-weight: 600; }
.happy-store-product-bottom > span { color: #9ba0aa; font-size: 11px; }

.happy-store-assurance { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 28px; padding: 22px 26px; border-radius: 8px; background: #fff; box-shadow: 0 7px 24px rgba(36,38,49,.04); }
.happy-store-assurance > div { display: flex; align-items: center; justify-content: center; gap: 11px; border-right: 1px solid #eef0f3; }
.happy-store-assurance > div:last-child { border-right: 0; }
.happy-store-assurance i { color: var(--happy-store-pink); font-size: 25px; }
.happy-store-assurance span { display: flex; flex-direction: column; }
.happy-store-assurance b { font-size: 13px; }
.happy-store-assurance small { margin-top: 3px; color: #999eaa; font-size: 10px; }

.happy-store-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; color: #969ba6; font-size: 12px; }
.happy-store-breadcrumb a { color: #6e7480; text-decoration: none; }
.happy-store-detail { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(380px, 1.1fr); overflow: hidden; }
.happy-store-detail-media { display: grid; min-height: 480px; place-items: center; background: #fff6f9; }
.happy-store-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.happy-store-detail-media span { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #da4b80; }
.happy-store-detail-media i { font-size: 88px; }
.happy-store-detail-media b { font-size: 18px; }
.happy-store-detail-media .happy-store-product-effect span { gap: 0; }
.happy-store-detail-info { padding: 46px 50px; }
.happy-store-detail-category { color: var(--happy-store-pink); font-size: 12px; font-weight: 700; }
.happy-store-detail-info h1 { margin: 12px 0; font-size: 27px; font-weight: 750; line-height: 1.4; }
.happy-store-detail-info > p { color: #777c88; font-size: 14px; line-height: 1.7; }
.happy-store-detail-price { display: flex; align-items: baseline; margin: 26px 0; padding: 17px 20px; border-radius: 6px; background: #fff4f8; color: var(--happy-store-pink); }
.happy-store-detail-price b { margin-left: 5px; font-size: 30px; }
.happy-store-detail-price > span { margin-left: auto; color: #989da8; font-size: 12px; }
.happy-store-detail-info > ul { display: grid; gap: 9px; padding: 0; list-style: none; color: #707581; font-size: 13px; }
.happy-store-detail-info > ul i { margin-right: 8px; color: #42a36a; }
.happy-store-detail-actions { display: flex; gap: 10px; margin-top: 28px; }
.happy-store-detail-actions form { display: flex; gap: 8px; }
.happy-store-detail-actions input { width: 64px; min-height: 42px; border: 1px solid var(--happy-store-line); border-radius: 6px; text-align: center; }
.happy-store-detail-actions button,
.happy-store-checkout button,
.happy-store-coupon-grid button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--happy-store-pink); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.happy-store-detail-actions button i { margin-right: 6px; }
.happy-store-detail-actions button.happy-store-secondary { border: 1px solid #efc8d7; background: #fff; color: var(--happy-store-pink); }
.happy-store-description { margin-top: 18px; padding: 28px 32px; }
.happy-store-description h2 { margin: 0 0 18px; font-size: 18px; }
.happy-store-description div { color: #666b77; font-size: 14px; line-height: 1.9; }

.happy-store-page-head { margin: 4px 0 20px; padding: 4px 2px; }
.happy-store-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; align-items: start; }
.happy-store-cart-list { overflow: hidden; }
.happy-store-cart-list article { display: grid; grid-template-columns: 76px minmax(0,1fr) 74px 105px 38px; gap: 14px; align-items: center; padding: 18px; border-bottom: 1px solid #f0f1f4; }
.happy-store-cart-thumb { display: grid; width: 76px; height: 76px; place-items: center; overflow: hidden; border-radius: 6px; background: #fff2f6; color: var(--happy-store-pink); font-size: 26px; }
.happy-store-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.happy-store-cart-list h2 { margin: 0; font-size: 14px; }
.happy-store-cart-list h2 a { color: #32353e; text-decoration: none; }
.happy-store-cart-list article p { margin: 6px 0; color: #999da7; font-size: 11px; }
.happy-store-cart-list article strong { color: var(--happy-store-pink); font-size: 12px; }
.happy-store-cart-list label { color: #969ba6; font-size: 10px; }
.happy-store-cart-list label input { width: 68px; height: 36px; margin-top: 4px; border: 1px solid var(--happy-store-line); border-radius: 5px; text-align: center; }
.happy-store-cart-list article > b { font-size: 13px; text-align: right; }
.happy-store-cart-list article > button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: #f6f7f8; color: #9196a1; cursor: pointer; }
.happy-store-update-cart { min-height: 38px; margin: 14px 18px; padding: 0 16px; border: 1px solid var(--happy-store-line); border-radius: 6px; background: #fff; color: #686d79; font-size: 12px; }
.happy-store-checkout { position: sticky; top: 84px; padding: 22px; }
.happy-store-checkout h2 { margin: 0 0 20px; font-size: 17px; }
.happy-store-checkout > div { display: flex; justify-content: space-between; margin: 11px 0; color: #777c88; font-size: 12px; }
.happy-store-checkout form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #eef0f3; }
.happy-store-checkout label { display: grid; gap: 6px; color: #777c88; font-size: 12px; }
.happy-store-checkout select { width: 100%; height: 40px; border: 1px solid var(--happy-store-line); border-radius: 6px; background: #fff; padding: 0 10px; }
.happy-store-checkout button { width: 100%; margin-top: 12px; }
.happy-store-checkout > small { display: block; margin-top: 10px; color: #a2a6af; font-size: 10px; line-height: 1.5; }

.happy-store-filter { display: flex; gap: 6px; margin-bottom: 16px; }
.happy-store-filter a { padding: 8px 15px; border-radius: 6px; background: #fff; color: #777c88; font-size: 12px; text-decoration: none; }
.happy-store-filter a.active { background: var(--happy-store-pink); color: #fff; }
.happy-store-order-list { display: grid; gap: 14px; }
.happy-store-order-list > article { overflow: hidden; }
.happy-store-order-list article > header { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 13px 18px; background: #fafbfc; color: #666b77; font-size: 11px; }
.happy-store-order-list header b { padding: 4px 8px; border-radius: 5px; background: #eef7f1; color: #3c9060; }
.happy-store-order-list header b.is-status-1 { background: #fff7e7; color: #b47c18; }
.happy-store-order-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 13px; align-items: center; padding: 15px 18px; }
.happy-store-order-item > span { display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 6px; background: #fff2f6; color: var(--happy-store-pink); }
.happy-store-order-item img { width: 100%; height: 100%; object-fit: cover; }
.happy-store-order-item div { display: flex; flex-direction: column; gap: 5px; }
.happy-store-order-item small { color: #9ca0aa; font-size: 10px; }
.happy-store-order-item > b { font-size: 12px; }
.happy-store-order-list footer { display: flex; justify-content: flex-end; gap: 20px; padding: 13px 18px; border-top: 1px solid #f0f1f4; color: #8c919c; font-size: 11px; }
.happy-store-order-list footer strong { color: #343741; font-size: 13px; }

.happy-store-coupon-section + .happy-store-coupon-section { margin-top: 28px; }
.happy-store-coupon-section > h2 { margin: 0 0 14px; font-size: 17px; }
.happy-store-coupon-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.happy-store-coupon-grid article { display: grid; min-height: 128px; grid-template-columns: 120px 1fr; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 7px 24px rgba(36,38,49,.045); }
.happy-store-coupon-grid article > div { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff0f5; color: var(--happy-store-pink); }
.happy-store-coupon-grid article > div strong { font-size: 25px; }
.happy-store-coupon-grid article > div span { margin-top: 5px; font-size: 10px; }
.happy-store-coupon-grid article > section { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px; }
.happy-store-coupon-grid h3 { margin: 0; font-size: 14px; }
.happy-store-coupon-grid p { margin: 7px 0 12px; color: #9a9fa9; font-size: 10px; }
.happy-store-coupon-grid button { min-height: 32px; padding: 0 13px; font-size: 11px; }
.happy-store-coupon-grid button:disabled { background: #e2e4e8; color: #9499a4; }
.happy-store-coupon-grid article.is-used { opacity: .58; }

.happy-store-empty { display: flex; min-height: 280px; grid-column: 1 / -1; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: #9a9fa9; }
.happy-store-empty i { margin-bottom: 14px; color: #d0a9b8; font-size: 42px; }
.happy-store-empty strong { color: #5e636f; font-size: 15px; }
.happy-store-empty a { margin-top: 13px; color: var(--happy-store-pink); font-size: 12px; text-decoration: none; }

@media (max-width: 1180px) {
  .happy-store-top { grid-template-columns: 200px minmax(0,1fr); }
  .happy-store-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .happy-store-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .happy-store-page { width: min(100% - 24px, 720px); margin-top: 14px; }
  .happy-store-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .happy-store-mobile-head a { position: relative; display: flex; align-items: center; gap: 7px; color: #343741; text-decoration: none; }
  .happy-store-mobile-head a:last-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #fff; }
  .happy-store-mobile-head a:last-child span { position: absolute; top: -3px; right: -3px; display: grid; min-width: 17px; height: 17px; place-items: center; border-radius: 9px; background: var(--happy-store-pink); color: #fff; font-size: 9px; }
  .happy-store-top { display: flex; flex-direction: column; }
  .happy-store-category-panel { order: 2; overflow-x: auto; padding: 8px; }
  .happy-store-category-panel { scrollbar-width: none; }
  .happy-store-category-panel::-webkit-scrollbar { display: none; }
  .happy-store-category-panel h2 { display: none; }
  .happy-store-category-panel nav { display: flex; width: max-content; }
  .happy-store-category-panel nav a { display: flex; min-height: 38px; padding: 0 12px; white-space: nowrap; }
  .happy-store-category-panel nav a > i:last-child { display: none; }
  .happy-store-hero { order: 1; min-height: 330px; grid-template-columns: 1fr 30%; }
  .happy-store-hero-copy { padding: 34px 28px; }
  .happy-store-hero-copy h1 { font-size: 25px; }
  .happy-store-side { order: 3; grid-column: auto; }
  .happy-store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .happy-store-assurance { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .happy-store-assurance > div:nth-child(2) { border-right: 0; }
  .happy-store-detail { grid-template-columns: 1fr; }
  .happy-store-detail-media { min-height: 380px; }
  .happy-store-cart-layout { grid-template-columns: 1fr; }
  .happy-store-checkout { position: static; }
  .happy-store-coupon-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .happy-store-page { width: calc(100% - 16px); }
  .happy-store-hero { min-height: 300px; grid-template-columns: 1fr; }
  .happy-store-hero-copy { padding: 30px 24px; }
  .happy-store-hero-copy h1 { font-size: 22px; }
  .happy-store-hero-copy p { margin: 14px 0 22px; }
  .happy-store-hero-art { display: none; }
  .happy-store-side { grid-template-columns: 1fr; }
  .happy-store-product-grid { gap: 10px; }
  .happy-store-product-body { padding: 12px; }
  .happy-store-product-title-row h3 { font-size: 13px; }
  .happy-store-product-body > p { height: 34px; font-size: 11px; }
  .happy-store-product-bottom strong { font-size: 17px; }
  .happy-store-assurance { grid-template-columns: 1fr; gap: 0; padding: 4px 20px; }
  .happy-store-assurance > div { justify-content: flex-start; padding: 14px 0; border-right: 0; border-bottom: 1px solid #eef0f3; }
  .happy-store-assurance > div:last-child { border-bottom: 0; }
  .happy-store-detail-media { min-height: 280px; }
  .happy-store-detail-info { padding: 28px 22px; }
  .happy-store-detail-info h1 { font-size: 22px; }
  .happy-store-detail-actions { flex-direction: column; }
  .happy-store-detail-actions form:first-child { display: grid; grid-template-columns: 58px 1fr; }
  .happy-store-detail-actions form:last-child button { width: 100%; }
  .happy-store-cart-list article { grid-template-columns: 62px minmax(0,1fr) 34px; gap: 10px; }
  .happy-store-cart-thumb { width: 62px; height: 62px; }
  .happy-store-cart-list article label,
  .happy-store-cart-list article > b { grid-column: 2; text-align: left; }
  .happy-store-cart-list article > button { grid-column: 3; grid-row: 1; }
  .happy-store-order-list article > header { grid-template-columns: 1fr auto; }
  .happy-store-order-list article > header time { display: none; }
  .happy-store-coupon-grid { grid-template-columns: 1fr; }
  .happy-store-page-head { align-items: flex-start; }
  .happy-store-page-head h1 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .happy-store-growth-core::before,
  .happy-store-growth-core::after { animation: none; }
}
