
:root {
  --green: #174c3c;
  --deep: #112d25;
  --lime: #d8ed88;
  --paper: #faf9f5;
  --ink: #242c28;
  --muted: #747b73;
  --line: #e4e7de;
  --white: #fff;
  --radius: 20px;
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", "Nirmala UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7eab59;
  outline-offset: 3px;
}
.wrap {
  max-width: 1280px;
  padding: 0 40px;
  margin: auto;
}
.topline {
  background: var(--green);
  color: #ecf2e9;
  font-size: 11px;
  letter-spacing: 0.7px;
}
.topline .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
}
.header {
  background: rgba(250, 249, 245, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-main {
  height: 85px;
  display: flex;
  align-items: center;
  gap: 45px;
}
.logo {
  font-size: 33px;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--green);
}
.logo span {
  color: #7c9b55;
}
.search {
  position: relative;
  flex: 1;
  max-width: 490px;
  margin: auto;
}
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #f1f2ec;
  border-radius: 30px;
  padding: 13px 45px 13px 21px;
  font-size: 13px;
}
.search svg {
  position: absolute;
  right: 16px;
  top: 13px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.icon-btn {
  background: none;
  border: 0;
  padding: 6px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  gap: 18px;
}
.navlinks {
  display: flex;
  gap: 31px;
  font-size: 13px;
}
.navlinks a {
  padding: 5px 0;
}
.navlinks a.selected {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.selectors {
  display: flex;
  gap: 9px;
}
.selectors select {
  border: 0;
  background: transparent;
  font-size: 12px;
  padding: 6px;
  color: var(--green);
  max-width: 160px;
}
.preview-bar {
  background: #f5efdc;
  border-bottom: 1px solid #e9e0c5;
  color: #736544;
  text-align: center;
  font-size: 11px;
  padding: 8px 16px;
}
.hero {
  margin: 30px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #e8eee2;
  border-radius: 24px;
  min-height: 470px;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  padding: 62px 20px 58px 52px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #586f54;
}
.hero h1 {
  font-size: clamp(37px, 4.8vw, 65px);
  letter-spacing: -2px;
  line-height: 1.16;
  font-weight: 600;
  margin: 23px 0;
}
.hero p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 410px;
  color: #68725f;
  margin: 0 0 29px;
}
.primary,
.secondary,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  padding: 14px 23px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
}
.secondary {
  background: transparent;
  color: var(--green);
  border-color: #bdc8b7;
}
.small-btn {
  font-size: 12px;
  padding: 8px 14px;
}
.hero-copy .primary {
  margin-right: 9px;
}
.hero-art {
  position: relative;
  min-height: 400px;
  background: radial-gradient(ellipse at 55% 48%, #dbe5ca 0, transparent 67%);
}
.orb {
  width: 320px;
  height: 320px;
  border: 1px solid #c1ceb0;
  border-radius: 50%;
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
}
.orb:after {
  content: "";
  position: absolute;
  inset: -34px;
  border: 1px solid #d1dcc2;
  border-radius: 50%;
}
.art-phone {
  position: absolute;
  width: 158px;
  height: 285px;
  top: 85px;
  left: 34%;
  border: 6px solid #2f423a;
  border-radius: 27px;
  background: linear-gradient(150deg, #dfecac, #91b293 50%, #174c3c);
  box-shadow: 16px 28px 22px #32563724;
  transform: rotate(-14deg);
  overflow: hidden;
}
.art-phone:before {
  content: "";
  position: absolute;
  width: 57px;
  height: 16px;
  background: #2f423a;
  border-radius: 0 0 12px 12px;
  left: 44px;
  top: 0;
}
.phone-circle {
  position: absolute;
  bottom: -56px;
  right: -85px;
  border: 20px solid #e4efa380;
  width: 240px;
  height: 240px;
  border-radius: 50%;
}
.phone-type {
  font-size: 40px;
  color: white;
  letter-spacing: -3px;
  margin: 75px 16px;
}
.art-label {
  position: absolute;
  right: 8%;
  top: 74px;
  border: 1px solid #cad6c0;
  padding: 10px 15px;
  border-radius: 20px;
  transform: rotate(8deg);
  background: #f7f9e8;
  letter-spacing: 1px;
  color: #4d6849;
  font-size: 11px;
}
.art-bottle {
  position: absolute;
  left: 11%;
  top: 226px;
  width: 72px;
  height: 128px;
  background: linear-gradient(90deg, #deaa83, #efcbb0, #c88e62);
  border-radius: 12px 12px 18px 18px;
  transform: rotate(12deg);
  box-shadow: 13px 20px 18px #72553b15;
}
.art-bottle:before {
  content: "";
  position: absolute;
  top: -30px;
  width: 42px;
  height: 34px;
  background: #94765b;
  left: 15px;
  border-radius: 5px;
}
.art-bottle:after {
  content: "DAILY";
  position: absolute;
  background: #f9eddbb3;
  padding: 14px 8px;
  top: 40px;
  left: 9px;
  font-size: 9px;
  letter-spacing: 1px;
}
.art-energy {
  position: absolute;
  right: 10%;
  bottom: 49px;
  width: 132px;
  height: 131px;
  border-radius: 27px;
  background: #f7f7e9;
  box-shadow: 8px 16px 20px #42624414;
  display: grid;
  place-items: center;
  transform: rotate(9deg);
  color: #6b8756;
}
.art-energy .icon {
  width: 49px;
  height: 49px;
  stroke-width: 1;
}
.art-dot {
  position: absolute;
  bottom: 56px;
  left: 37%;
  font-size: 10px;
  color: #69825b;
  letter-spacing: 4px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 43px 0 24px;
}
.section-head h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 0 0 9px;
}
.section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category {
  border: 1px solid #e5e7dd;
  border-radius: 18px;
  background: white;
  padding: 0;
  overflow: hidden;
  text-align: left;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.category:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px #354c3010;
}
.category-art {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ecefe8;
  color: #6c8270;
}
.category:nth-child(2) .category-art {
  background: #f1e7dd;
  color: #ae8966;
}
.category:nth-child(3) .category-art {
  background: #f4eddb;
  color: #b29154;
}
.category:nth-child(4) .category-art {
  background: #e9eddc;
  color: #89935c;
}
.category-art .icon {
  width: 66px;
  height: 66px;
  stroke-width: 1;
}
.category-art:after {
  content: "";
  position: absolute;
  bottom: 16px;
  width: 74px;
  height: 8px;
  filter: blur(4px);
  border-radius: 50%;
  background: #3f57301c;
}
.category-caption {
  padding: 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.category-caption .icon {
  width: 17px;
  height: 17px;
}
.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 20px;
  font-size: 12px;
  padding: 9px 17px;
  color: var(--muted);
}
.chip.on {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.empty {
  background: #fff;
  border: 1px dashed #d7decc;
  border-radius: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 35px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  width: 39px;
  height: 39px;
  color: #8da477;
  margin-bottom: 10px;
}
.empty h3 {
  color: #536449;
  font-size: 18px;
  font-weight: 500;
  margin: 7px 0;
}
.empty p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 480px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f2f3ee;
}
.product-body {
  padding: 17px;
}
.product h3 {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.product-price {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.product-body .small-btn {
  width: 100%;
}
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 50px 0 0;
  padding: 26px 0;
  gap: 20px;
}
.value-strip div {
  display: flex;
  gap: 13px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #617154;
}
.partner-banner {
  margin: 44px 0;
  background: var(--green);
  color: #edf3e6;
  border-radius: 22px;
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.partner-banner h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}
.partner-banner p {
  font-size: 12px;
  line-height: 1.9;
  max-width: 620px;
  color: #bdccbd;
}
.partner-banner .primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green);
  white-space: nowrap;
}
footer {
  padding: 30px 0 35px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
footer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
footer .logo {
  font-size: 28px;
}
footer button {
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--muted);
}
.page {
  padding-top: 35px;
  padding-bottom: 55px;
  min-height: 65vh;
}
.page-title {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -1px;
}
.subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.notice {
  border: 1px solid #dfd7bb;
  background: #f7f2e3;
  color: #7d6a39;
  padding: 14px 17px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.9;
  margin: 20px 0;
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 25px 0;
}
.card {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.card h3 {
  font-size: 14px;
  font-weight: 500;
  color: #64725a;
  margin: 0 0 17px;
}
.card .big {
  font-size: 28px;
  color: var(--green);
}
.panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 24px 0;
}
.panel h2 {
  font-size: 20px;
  margin: 0 0 22px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.row.gap {
  justify-content: flex-start;
}
.order-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.order-row:last-child {
  border: 0;
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.badge {
  display: inline-block;
  border-radius: 16px;
  padding: 5px 9px;
  font-size: 11px;
  background: #edf1e7;
  color: #677754;
}
.table-scroll {
  overflow: auto;
}
.table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.table td,
.table th {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.table th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.admin-layout {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 28px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}
.sidebar button {
  border: 0;
  background: transparent;
  padding: 13px 15px;
  text-align: left;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}
.sidebar button.on {
  background: #e4ecdb;
  color: var(--green);
  font-weight: 600;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-grid.triple {
  grid-template-columns: repeat(3, 1fr);
}
.field {
  display: block;
  margin: 0 0 17px;
}
.field span {
  display: block;
  font-size: 12px;
  color: #65755d;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce2d4;
  background: #fff;
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  min-width: 0;
}
.field textarea {
  min-height: 112px;
  resize: vertical;
}
.field input[type="checkbox"] {
  width: auto;
}
.form-section {
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 18px;
}
.form-section h3 {
  font-size: 16px;
  font-weight: 500;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.media-slot {
  border: 1px dashed #c9d5be;
  background: #f6f8f1;
  border-radius: 12px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  text-align: center;
}
.media-slot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}
.media-slot input {
  max-width: 100%;
  font-size: 10px;
}
.media-slot .icon {
  margin: 12px auto;
}
.media-slot.video-slot {
  grid-column: 1/-1;
}
.file-status {
  font-size: 11px;
  color: #55704c;
  overflow-wrap: anywhere;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.detail-grid .gallery-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 15px;
  background: #f5f6f0;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumbnails img {
  width: 65px;
  height: 65px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}
.detail-grid h2 {
  font-size: 27px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.description {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
  color: #69725f;
}
.detail-grid video {
  width: 100%;
  margin-top: 18px;
  border-radius: 12px;
}
.cart-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  align-items: center;
}
.cart-row img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-row input {
  width: 64px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
dialog {
  width: min(800px, calc(100% - 28px));
  max-height: 90vh;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 100px #12302544;
  padding: 28px;
  background: var(--paper);
}
dialog::backdrop {
  background: #172d245e;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dialog-top h2 {
  font-size: 22px;
  margin: 0;
}
.auth-form {
  max-width: 430px;
  margin: auto;
}
.dialog-footer {
  position: sticky;
  bottom: -28px;
  background: var(--paper);
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 25px);
  max-width: 90%;
  background: var(--deep);
  color: #fff;
  padding: 15px 22px;
  border-radius: 13px;
  box-shadow: 0 10px 40px #0002;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  padding: 80px;
  text-align: center;
  font-size: 30px;
  color: var(--green);
}
.mobile-nav {
  display: none;
}
.tabs {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}
.tabs button {
  border: 0;
  background: none;
  padding: 10px;
  border-bottom: 2px solid transparent;
}
.tabs button.on {
  border-color: var(--green);
  color: var(--green);
}
.hidden {
  display: none !important;
}
.partner-page .hero {
  min-height: 320px;
}
.partner-page .hero-copy {
  grid-column: 1/-1;
  max-width: 800px;
}
.partner-page .hero h1 {
  font-size: 42px;
}
.partner-level {
  font-size: 35px;
  font-weight: 300;
  color: #8da272;
  margin-bottom: 25px;
}
.inline-error {
  color: #a34732;
  font-size: 12px;
  line-height: 1.7;
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .wrap {
    padding: 0 25px;
  }
  .header-main {
    gap: 22px;
  }
  .hero-copy {
    padding-left: 34px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .art-phone {
    left: 29%;
  }
  .art-bottle {
    left: 1%;
  }
  .art-energy {
    right: 2%;
  }
  .hero-copy .secondary {
    margin-top: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .actions .label {
    display: none;
  }
  .category-caption {
    padding: 17px 12px;
    font-size: 13px;
  }
  .admin-layout {
    grid-template-columns: 150px 1fr;
  }
}
@media (max-width: 700px) {
  .wrap {
    padding: 0 18px;
  }
  .topline .wrap {
    min-height: 30px;
    justify-content: center;
  }
  .topline .secondary-top {
    display: none;
  }
  .header-main {
    height: 68px;
    gap: 14px;
  }
  .logo {
    font-size: 29px;
  }
  .search {
    display: none;
  }
  .actions {
    margin-left: auto;
    gap: 10px;
  }
  .navrow {
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .navlinks {
    gap: 20px;
    font-size: 12px;
  }
  .navlinks a[data-view="account"],
  .navlinks a[data-view="admin"] {
    display: none;
  }
  .selectors select {
    max-width: 126px;
    font-size: 11px;
  }
  .preview-bar {
    font-size: 10px;
  }
  .hero {
    margin: 18px 0 27px;
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-copy {
    padding: 32px 28px 10px;
  }
  .hero h1 {
    font-size: 43px;
    line-height: 1.18;
    margin: 17px 0;
  }
  .hero p {
    font-size: 12px;
    margin-bottom: 19px;
    line-height: 1.9;
  }
  .hero-copy .primary {
    padding: 12px 18px;
    font-size: 12px;
  }
  .hero-copy .secondary {
    padding: 11px 17px;
    font-size: 12px;
    margin-top: 0;
  }
  .hero-art {
    min-height: 278px;
  }
  .orb {
    width: 230px;
    height: 230px;
    top: 20px;
  }
  .orb:after {
    inset: -17px;
  }
  .art-phone {
    width: 120px;
    height: 211px;
    top: 22px;
    left: 38%;
    border-width: 5px;
    border-radius: 23px;
  }
  .art-phone:before {
    width: 42px;
    left: 33px;
    height: 12px;
  }
  .phone-type {
    font-size: 29px;
    margin: 59px 13px;
  }
  .art-bottle {
    top: 123px;
    left: 18%;
    width: 51px;
    height: 91px;
    border-radius: 10px;
  }
  .art-bottle:before {
    width: 33px;
    height: 24px;
    left: 9px;
    top: -21px;
  }
  .art-bottle:after {
    padding: 10px 4px;
    font-size: 7px;
    left: 7px;
    top: 30px;
  }
  .art-energy {
    right: 12%;
    bottom: 35px;
    width: 89px;
    height: 91px;
    border-radius: 20px;
  }
  .art-energy .icon {
    width: 38px;
    height: 38px;
  }
  .art-label {
    right: 12%;
    top: 28px;
    font-size: 9px;
    padding: 7px 12px;
  }
  .art-dot {
    bottom: 18px;
    font-size: 8px;
    left: 38%;
  }
  .section-head {
    margin: 31px 0 20px;
  }
  .section-head h2 {
    font-size: 21px;
    line-height: 1.5;
  }
  .section-head p {
    font-size: 11px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-art {
    height: 109px;
  }
  .category-art .icon {
    width: 51px;
    height: 51px;
  }
  .category-caption {
    padding: 15px 12px;
    font-size: 12px;
  }
  .chips {
    gap: 7px;
  }
  .chip {
    font-size: 11px;
    padding: 8px 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-body {
    padding: 12px;
  }
  .product h3 {
    font-size: 12px;
  }
  .product-price {
    font-size: 13px;
  }
  .empty {
    padding: 25px;
    min-height: 215px;
  }
  .empty h3 {
    font-size: 16px;
  }
  .empty p {
    font-size: 12px;
  }
  .value-strip {
    gap: 10px;
    padding: 23px 0;
    margin-top: 32px;
  }
  .value-strip div {
    flex-direction: column;
    text-align: center;
    font-size: 10px;
    line-height: 1.6;
    gap: 10px;
  }
  .partner-banner {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    margin: 30px 0;
  }
  .partner-banner h3 {
    font-size: 20px;
  }
  .partner-banner p {
    font-size: 11px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer {
    padding-bottom: 88px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    justify-content: space-around;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    padding: 9px 8px max(10px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #6d7e60;
  }
  .mobile-nav a.selected {
    color: var(--green);
  }
  .mobile-nav .icon {
    width: 20px;
    height: 20px;
  }
  .page-title {
    font-size: 27px;
  }
  .cards3 {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .cards3 .card {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .card h3 {
    margin: 0;
    font-size: 12px;
  }
  .card .big {
    font-size: 23px;
  }
  .panel {
    padding: 20px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .sidebar {
    flex-direction: row;
    overflow: auto;
    padding: 0;
  }
  .sidebar button {
    white-space: nowrap;
    padding: 11px;
    font-size: 12px;
  }
  .form-grid,
  .form-grid.triple {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid h2 {
    font-size: 22px;
  }
  .detail-grid .gallery-main {
    max-height: 320px;
  }
  .partner-page .hero h1 {
    font-size: 33px;
  }
  dialog {
    padding: 22px;
    max-height: 86vh;
  }
  .dialog-footer {
    bottom: -22px;
  }
  .cart-row {
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
  }
  .cart-row img {
    width: 48px;
    height: 48px;
  }
  .cart-row .small-btn {
    padding: 7px 9px;
  }
  #toast {
    bottom: 85px;
  }
  .form-section {
    padding-top: 15px;
  }
  .panel h2 {
    font-size: 18px;
  }
}
