:root {
  --bg: #f5f8fa;
  --card: #ffffff;
  --ink: #0f1b2d;
  --muted: #8a98ad;
  --line: #e8edf1;
  --green: #164f3a;
  --green-2: #287a57;
  --green-soft: #eaf7ef;
  --gold: #cda968;
  --red: #ef4b56;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

input,
select {
  font: inherit;
}

.mobile-shell {
  width: min(490px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 8px 82px;
  background: #f5f8fa;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.home-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 22px;
}

.brand strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: #3d8f71;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.head-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
}

.head-icons button {
  position: relative;
  width: 26px;
  height: 26px;
  background: transparent;
  color: #101828;
  font-size: 25px;
  line-height: 1;
}

.notice-dot::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}

.banner-card {
  position: relative;
  min-height: 192px;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 34px 24px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(15, 81, 67, 0.92), rgba(23, 107, 100, 0.55)),
    url("./assets/ui-reference/banner.png") center / cover,
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.2), transparent 30%),
    #1c7167;
  color: #fff;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.14);
}

.banner-card h1 {
  margin: 0 0 12px;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: 0;
}

.banner-card p {
  width: 230px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.banner-card button {
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: #d4ad68;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.banner-page {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #fff 0 50%, rgba(255, 255, 255, 0.35) 50% 70%, rgba(255, 255, 255, 0.35) 78% 100%);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.quick-grid button {
  display: grid;
  gap: 9px;
  place-items: center;
  background: transparent;
  color: #213547;
  font-size: 13px;
  font-weight: 800;
}

.quick-grid span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #cdeed8;
  border-radius: 15px;
  background: #fbfffc;
  color: var(--green-2);
  font-size: 20px;
  font-weight: 950;
}

.home-section {
  display: grid;
  gap: 18px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 950;
}

.section-title button {
  background: transparent;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(16, 24, 40, 0.07);
}

.product-image {
  position: relative;
  display: grid;
  height: 200px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 950;
}

.product-image img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact .product-image {
  height: 154px;
}

.tone-green {
  background: linear-gradient(135deg, #f7faf4, #8da36e);
}

.tone-orange {
  background: linear-gradient(135deg, #4a321f, #c98949);
}

.tone-dark {
  background: linear-gradient(135deg, #dfe5df, #1a2f29);
}

.tone-tea {
  background: linear-gradient(135deg, #ebe2d1, #b67f4f);
}

.tone-skin {
  background: linear-gradient(135deg, #f3c7a6, #c99674);
}

.product-image button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #667085;
  font-size: 18px;
}

.product-body {
  padding: 12px 12px 14px;
}

.product-body h3 {
  min-height: 44px;
  margin: 0 0 12px;
  color: #102033;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.product-bottom strong {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
}

.product-bottom button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: #d8f5dd;
  color: var(--green);
  font-size: 18px;
}

.search-head {
  padding: 16px 16px 14px;
  background: #fff;
}

.search-box {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #9aa7ba;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.category-page {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: calc(100vh - 160px);
  background: #fff;
}

.category-side {
  display: grid;
  align-content: start;
  background: #eaf7ef;
}

.category-side button {
  min-height: 56px;
  border-left: 4px solid transparent;
  background: transparent;
  color: #164f3a;
  font-size: 14px;
  font-weight: 850;
}

.category-side button.active {
  border-left-color: var(--green);
  background: #fff;
  color: #103b2b;
}

.category-main {
  padding: 16px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.category-title strong {
  font-size: 17px;
  font-weight: 950;
}

.category-title span {
  color: #92a0b4;
  font-size: 12px;
  font-weight: 800;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 28px;
  background: transparent;
}

.cart-head h1 {
  margin: 0;
  color: var(--green);
  font-size: 22px;
  font-weight: 950;
}

.cart-head button {
  background: transparent;
  color: #1f2937;
  font-size: 13px;
  font-weight: 850;
}

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-card {
  display: grid;
  grid-template-columns: 24px 80px minmax(0, 1fr) 86px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(16, 24, 40, 0.06);
}

.cart-buy-action {
  grid-column: 3 / 5;
  min-height: 34px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.check-dot {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-2);
}

.check-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
}

.cart-image {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-info h3 {
  margin: 0 0 6px;
  color: #102033;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.cart-info p {
  margin: 0 0 12px;
  color: #9aa7ba;
  font-size: 12px;
  font-weight: 800;
}

.cart-info strong {
  color: var(--gold);
  font-size: 18px;
}

.stepper {
  display: grid;
  grid-template-columns: 24px 28px 24px;
  align-items: center;
  min-height: 24px;
  border: 1px solid #bde7c8;
  border-radius: 8px;
  color: #344054;
  text-align: center;
  font-weight: 850;
}

.stepper button {
  background: transparent;
  color: #667085;
  font-weight: 950;
}

.cart-settle {
  position: fixed;
  right: 0;
  bottom: 68px;
  left: 0;
  z-index: 9;
  display: grid;
  width: min(490px, 100%);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 18px;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #d5efd9;
  background: #fff;
}

.cart-settle label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.cart-settle span {
  color: #8a98ad;
  font-size: 13px;
  font-weight: 850;
}

.cart-settle strong {
  color: var(--gold);
  font-size: 20px;
}

.cart-settle button {
  min-width: 90px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}

.mobile-order-list {
  display: grid;
  gap: 12px;
}

.order-filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 14px;
  padding: 0 2px 4px;
}

.order-filter-strip button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.order-filter-strip button span {
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 11px;
}

.order-filter-strip button.active {
  background: var(--green);
  color: #fff;
}

.order-filter-strip button.active span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.mobile-order-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
}

.mobile-order-head,
.mobile-order-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.mobile-order-head strong {
  font-size: 16px;
}

.mobile-order-head span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.mobile-order-card div span {
  color: #8a98ad;
  font-size: 13px;
  font-weight: 850;
}

.mobile-order-card div b {
  color: #1f2937;
  font-size: 13px;
}

.mobile-order-card .mobile-order-actions {
  justify-content: flex-end;
}

.mobile-order-actions button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.mobile-order-actions button:disabled,
.wide-action:disabled {
  background: #eef1f4;
  color: #98a2b3;
}

.simple-list {
  display: grid;
  gap: 12px;
}

.simple-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
}

.simple-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.simple-card strong {
  color: #1f2937;
  font-size: 16px;
}

.simple-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.simple-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.simple-card small {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 850;
}

.coupon-card strong {
  color: var(--gold);
  font-size: 28px;
}

.after-sale-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d8eadf;
  border-radius: 12px;
  background: #f5fbf7;
}

.after-sale-summary.muted {
  color: #98a2b3;
  font-size: 13px;
  font-weight: 850;
}

.wide-action,
.inline-action {
  min-height: 42px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}

.inline-action {
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
}

.after-sale-form label,
.address-form label,
.binding-form label,
.register-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.after-sale-form input,
.after-sale-form select,
.address-form input,
.binding-form input,
.binding-form select,
.register-form input {
  min-height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
}

.check-line {
  display: flex !important;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
}

.check-line input {
  width: 18px;
  min-height: 18px;
}

.inline-actions {
  justify-content: start !important;
  flex-wrap: wrap;
}

.form-actions {
  display: flex !important;
  justify-content: start !important;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.form-actions .wide-action {
  flex: 1 1 180px;
}

.inline-action.soft {
  background: #eef7f2;
  color: var(--green);
}

.inline-action.danger {
  background: #fff1f3;
  color: #c01048;
}

.mine-hero {
  min-height: 182px;
  margin: -24px -8px 0;
  padding: 54px 26px 66px;
  border-radius: 0 0 32px 32px;
  background: radial-gradient(circle at 80% 10%, #23684d, var(--green));
  color: #fff;
}

.profile-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: #1b6a55;
  font-size: 22px;
  font-weight: 950;
}

.profile-row strong,
.profile-row span {
  display: block;
}

.profile-row strong {
  font-size: 22px;
  font-weight: 950;
}

.profile-row span {
  margin-top: 8px;
  color: #d7efe2;
  font-size: 12px;
  font-weight: 850;
}

.profile-row button {
  margin-left: auto;
  background: transparent;
  color: #fff;
  font-size: 22px;
}

.order-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -42px 16px 16px;
  padding: 18px 8px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.order-status button {
  position: relative;
  display: grid;
  gap: 8px;
  place-items: center;
  background: #fff;
  color: #344054;
  font-size: 20px;
}

.order-status button span {
  font-size: 12px;
  font-weight: 850;
}

.order-status i,
.bottom-nav i {
  position: absolute;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
}

.order-status i {
  top: 0;
  right: 20px;
}

.account-switch-panel {
  display: grid;
  gap: 12px;
  margin: 0 16px 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.account-switch-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.account-switch-head strong,
.account-switch-head span {
  display: block;
}

.account-switch-head strong {
  color: #1f2937;
  font-size: 15px;
  font-weight: 950;
}

.account-switch-head span,
.account-switch-head small {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.account-switch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-switch-grid button {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid #d8eadf;
  border-radius: 12px;
  background: #f8fbf9;
  text-align: left;
}

.account-switch-grid button.active {
  border-color: var(--green);
  background: #eaf7ef;
}

.account-switch-grid b,
.account-switch-grid span,
.account-switch-grid small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-switch-grid b {
  color: #1f2937;
  font-size: 15px;
  font-weight: 950;
}

.account-switch-grid span {
  color: #344054;
  font-size: 11px;
  font-weight: 850;
}

.account-switch-grid small {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-summary-grid article {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fffdfa;
}

.account-summary-grid div,
.account-summary-grid p {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
}

.account-summary-grid b,
.account-summary-grid em,
.account-summary-grid span,
.account-summary-grid small,
.account-summary-grid strong {
  overflow-wrap: anywhere;
}

.account-summary-grid b {
  color: #1f2937;
  font-size: 12px;
  font-weight: 950;
}

.account-summary-grid em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.account-summary-grid span {
  color: #667085;
  font-size: 10px;
  font-weight: 850;
}

.account-summary-grid small {
  flex: 0 0 auto;
  color: #667085;
  font-size: 10px;
  font-weight: 850;
}

.account-summary-grid strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-align: right;
}

.account-wallet-line {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.account-wallet-line strong {
  color: var(--gold);
  font-size: 15px;
  font-weight: 950;
}

.mini-list {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
}

.mini-list > strong {
  color: #1f2937;
  font-size: 14px;
  font-weight: 950;
}

.mini-list > span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.bonus-record-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e4eee8;
  border-radius: 12px;
  background: #f8fbf9;
}

.bonus-record-card div,
.bonus-record-card p {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.bonus-record-card b {
  color: #1f2937;
  font-size: 13px;
  font-weight: 950;
}

.bonus-record-card em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.bonus-record-card span {
  flex: 0 0 auto;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.bonus-record-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.life-card {
  position: relative;
  overflow: hidden;
  margin: 0 16px 16px;
  padding: 22px;
  border-radius: 13px;
  background: #173930;
  color: #fff;
}

.life-card > span {
  color: #9ff0c6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
}

.life-card h2 {
  margin: 12px 0 6px;
  font-size: 21px;
}

.life-card p {
  margin: 0 0 22px;
  color: #b9d6ca;
  font-size: 12px;
  font-weight: 800;
}

.progress {
  width: 132px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.progress b {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.life-card strong {
  position: absolute;
  left: 158px;
  bottom: 31px;
  font-size: 12px;
}

.life-card button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 950;
}

.menu-list {
  overflow: hidden;
  margin: 0 16px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.05);
}

.menu-list button {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid #d8f0df;
  background: #fff;
  color: #1f2937;
  text-align: left;
  font-weight: 850;
}

.menu-list button:last-child {
  border-bottom: 0;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  width: min(490px, 100%);
  min-height: 68px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d5efd9;
  background: #fff;
}

.bottom-nav button {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: #fff;
  color: #98a7bc;
  font-size: 24px;
}

.bottom-nav button span {
  font-size: 12px;
  font-weight: 850;
}

.bottom-nav button.active {
  color: var(--green);
}

.bottom-nav i {
  top: 7px;
  right: 34px;
}

.detail-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  background: rgba(15, 23, 42, 0.42);
}

.detail-sheet.hidden {
  display: none;
}

.sheet-card {
  position: relative;
  width: min(490px, 100%);
  max-height: 88vh;
  margin: 0 auto;
  overflow: auto;
  padding: 18px 18px 24px;
  border-radius: 22px 22px 0 0;
  background: #fff;
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #344054;
  font-size: 24px;
}

.detail-cover {
  display: grid;
  height: 220px;
  margin-bottom: 16px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.sheet-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.sheet-card p {
  margin: 0 0 14px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.detail-grid div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: #f6f9fb;
}

.detail-grid span {
  color: #8a98ad;
  font-size: 12px;
  font-weight: 850;
}

.detail-grid strong {
  color: #1f2937;
  font-size: 15px;
}

.detail-buy {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
}

.sheet-card small {
  display: block;
  margin-top: 10px;
  color: #8a98ad;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.empty {
  padding: 26px;
  border-radius: 12px;
  background: #fff;
  color: #667085;
  text-align: center;
  font-weight: 850;
}

.product-empty {
  grid-column: 1 / -1;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  left: 18px;
  z-index: 60;
  width: min(454px, calc(100% - 36px));
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(22, 79, 58, 0.95);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
}

.toast.hidden {
  display: none;
}

@media (max-width: 430px) {
  .product-image {
    height: 200px;
  }

  .compact .product-image {
    height: 154px;
  }

  .cart-card {
    grid-template-columns: 24px 80px minmax(0, 1fr);
  }

  .stepper {
    grid-column: 3;
    justify-self: end;
  }
}
