:root {
  --ink: #171714;
  --muted: #686f64;
  --paper: #f4f7f2;
  --panel: #ffffff;
  --line: #dde5d8;
  --green: #06c755;
  --teal: #126e69;
  --gold: #d6a13b;
  --plum: #63365f;
  --danger: #b84b41;
  --shadow: 0 24px 70px rgba(27, 34, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.admin-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  color: #fff;
  background: var(--ink);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: flex-end;
  max-width: 1380px;
  min-height: 42px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 54px);
  font-size: 13px;
  font-weight: 700;
}

.topbar-inner span {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 54px);
  background: rgba(244, 247, 242, 0.94);
  border-bottom: 1px solid rgba(221, 229, 216, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.header-actions,
.hero-actions,
.line-actions,
.result-bar,
.sort-tools,
.member-actions,
.admin-tabs,
.lang-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: var(--ink);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.main-nav {
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 900;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0;
}

.lang-switch {
  gap: 2px;
  min-height: 46px;
  padding: 4px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 26px rgba(27, 34, 25, 0.07);
}

.lang-switch button,
.icon-button,
.menu-button,
.solid-button,
.outline-button,
.ghost-button,
.category-button,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  font-weight: 900;
  white-space: nowrap;
}

.lang-switch button {
  min-width: 38px;
  min-height: 38px;
  color: var(--muted);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.lang-switch button.is-active {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 110, 105, 0.98), rgba(22, 126, 118, 0.92)),
    var(--teal);
  box-shadow: 0 8px 18px rgba(18, 110, 105, 0.22);
}

.solid-button {
  padding: 0 16px;
  color: #07170d;
  background: var(--green);
}

.outline-button,
.ghost-button {
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.ghost-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.header-actions .outline-button,
.header-actions .cart-header-button,
.header-actions .menu-button {
  position: relative;
  gap: 9px;
  min-height: 46px;
  padding: 0 15px;
  border-color: rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 246, 0.92)),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 26px rgba(27, 34, 25, 0.07);
  font-size: 14px;
  line-height: 1;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.header-actions .outline-button:hover,
.header-actions .cart-header-button:hover,
.header-actions .menu-button:hover,
.header-actions .outline-button:focus-visible,
.header-actions .cart-header-button:focus-visible,
.header-actions .menu-button:focus-visible {
  border-color: rgba(18, 110, 105, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 30px rgba(18, 110, 105, 0.11);
  transform: translateY(-1px);
}

.header-actions .line-friend-button {
  color: #075a31;
  border-color: rgba(6, 199, 85, 0.18);
  background:
    linear-gradient(180deg, rgba(250, 255, 251, 0.98), rgba(235, 250, 240, 0.92)),
    #fff;
}

.header-actions .line-friend-button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(6, 199, 85, 0.12);
}

.header-actions #memberButton::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 8px 8px;
  opacity: 0.76;
  clip-path: polygon(0 48%, 100% 48%, 100% 100%, 0 100%);
}

.header-actions #memberButton::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.76;
}

.header-actions .cart-header-button::before {
  content: "";
  width: 17px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 6px 6px;
  opacity: 0.78;
  transform: translateY(1px);
}

.header-actions .cart-header-button span {
  min-width: 20px;
  height: 20px;
  margin-left: 0;
  background: var(--teal);
  font-size: 11px;
}

.header-actions .menu-button {
  width: 46px;
  padding: 0;
  font-size: 0;
}

.header-actions .menu-button::before {
  content: "";
  width: 19px;
  height: 13px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 72% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
  opacity: 0.86;
  transition: transform 180ms ease;
}

.header-actions .menu-button[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.icon-button {
  width: 40px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 24px;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.48fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: stretch;
  padding: clamp(52px, 8vw, 104px) clamp(16px, 5vw, 70px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(14, 22, 17, 0.94), rgba(14, 22, 17, 0.68)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 520px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  align-items: center;
  min-height: calc(100vh - 108px);
  background:
    linear-gradient(110deg, rgba(14, 22, 17, 0.92), rgba(14, 22, 17, 0.58)),
    url("https://images.unsplash.com/photo-1618005198919-d3d4b5a92ead?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero-media-stack {
  display: grid;
  gap: 14px;
  align-self: center;
}

.hero-feature-card,
.hero-mini-grid {
  margin: 0;
}

.hero-feature-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 46vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #121914;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.hero-feature-card img,
.hero-mini-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 23, 20, 0.78);
  backdrop-filter: blur(12px);
}

.hero-feature-card span,
.hero-feature-card strong {
  display: block;
}

.hero-feature-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-feature-card strong {
  line-height: 1.25;
}

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

.hero-mini-grid img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.trend-strip {
  padding: 14px clamp(16px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trend-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.trend-strip strong {
  margin-right: 4px;
}

.trend-strip button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fbfcf9;
  font-weight: 900;
}

.page-hero {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 64px) clamp(20px, 4vw, 44px);
}

.page-hero h1,
.page-hero p {
  margin: 0;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.collection-section {
  background: #fff;
}

.collection-shelves {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  max-width: 1380px;
  margin: 0 auto;
}

.collection-shelf {
  display: grid;
  gap: 16px;
}

.collection-shelf-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.collection-shelf-heading h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.shelf-products {
  display: grid;
  grid-auto-columns: minmax(238px, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.shelf-products .product-card {
  min-width: 238px;
  scroll-snap-align: start;
}

.shelf-more {
  justify-self: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  font-weight: 900;
}

.custom-commission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1460px;
  margin: 0 auto;
}

.custom-commission-media {
  overflow: hidden;
  min-height: 460px;
  border-radius: 8px;
}

.custom-commission-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-commission-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 40, 31, 0.08);
}

.custom-commission-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
}

.custom-commission-copy p {
  margin: 0;
  color: var(--muted);
}

.custom-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-steps span {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.product-index,
.panel,
.category-rail,
.admin-drawer,
.modal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(35, 40, 31, 0.08);
}

.product-index {
  align-self: center;
  padding: 20px;
  color: var(--ink);
}

.panel-heading h2,
.panel-heading h3,
.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

.panel-heading h2 {
  font-size: 34px;
}

.search-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 900;
}

.search-box input,
.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.modal-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf9;
}

.search-box input,
.contact-form input,
.admin-form input,
.admin-form select,
.modal-card input {
  min-height: 46px;
  padding: 0 12px;
}

.contact-form textarea,
.admin-form textarea {
  padding: 12px;
  resize: vertical;
}

.category-stack,
.category-rail,
.mini-list,
.admin-list {
  display: grid;
  gap: 10px;
}

.category-stack {
  margin-top: 16px;
}

.category-pill,
.category-button {
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fbfcf9;
}

.category-pill.is-active,
.category-button.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(16px, 5vw, 70px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.62fr);
  gap: 34px;
  align-items: end;
  max-width: 1320px;
  margin: 0 auto 28px;
}

.section-heading.compact {
  display: block;
  max-width: 1320px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-section p,
.member-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.category-rail {
  align-content: start;
  padding: 12px;
}

.catalog-search {
  margin: 0 0 12px;
}

#categoryRail {
  display: grid;
  gap: 10px;
}

.result-bar {
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.result-bar strong {
  color: var(--muted);
}

.sort-tools {
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sort-tools label,
.check-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.sort-tools select {
  min-height: 30px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
}

.check-filter input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.product-grid,
.video-grid,
.news-grid {
  display: grid;
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.video-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  display: grid;
  min-height: 470px;
}

.product-card.compact {
  min-height: 420px;
}

.product-image {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #edf2ea;
}

.product-image img,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-hover-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-card:hover .product-hover-actions,
.product-card:focus-within .product-hover-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-hover-actions .action-button {
  flex: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(23, 23, 20, 0.82);
  backdrop-filter: blur(10px);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  border-radius: 999px;
  background: rgba(23, 23, 20, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.product-body,
.video-body,
.news-card {
  padding: 18px;
}

.product-body {
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.product-body h3,
.product-body p,
.video-body h3,
.video-body p,
.news-card h3,
.news-card p {
  margin: 0;
}

.product-body h3,
.video-body h3,
.news-card h3 {
  font-size: 21px;
  line-height: 1.25;
}

.product-card.compact .product-body h3 {
  font-size: 17px;
}

.product-body p,
.video-body p,
.news-card p {
  color: var(--muted);
}

.vendor-name {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-meta span,
.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  background: #eef3ea;
  font-size: 12px;
  font-weight: 900;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: 12px;
}

.product-price del {
  color: var(--muted);
  font-weight: 800;
}

.product-price strong {
  color: var(--teal);
  font-size: 18px;
  line-height: 1;
}

.modal-price {
  margin: 16px 0;
}

.action-button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.action-button.is-active {
  color: #fff;
  border-color: var(--plum);
  background: var(--plum);
}

.member-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: 18px;
  max-width: 1460px;
  margin: 0 auto;
}

.funnel-section {
  background: #fbfcf9;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}

.system-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 40, 31, 0.08);
}

.system-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.system-card h3 {
  margin: 20px 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.system-card p {
  margin: 0;
  color: var(--muted);
}

.member-panel {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 110, 105, 0.96), rgba(99, 54, 95, 0.94)),
    var(--ink);
}

.member-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.member-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.metric-card strong {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.line-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.5fr);
  gap: 18px;
  max-width: 1460px;
  margin: 0 auto;
  background: #fbfcf9;
}

.line-card {
  display: grid;
  gap: 24px;
  align-content: center;
  min-height: 340px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 195, 77, 0.9), rgba(18, 110, 105, 0.92)),
    #06c755;
  color: #fff;
}

.line-card h2,
.line-card p {
  margin: 0;
}

.line-card p {
  color: rgba(255, 255, 255, 0.78);
}

.line-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.line-actions .outline-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.line-status-board {
  display: grid;
  gap: 14px;
}

.metric-card.light {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.metric-card.light span {
  color: var(--muted);
}

.metric-card.light strong {
  overflow-wrap: anywhere;
}

.line-checklist {
  display: grid;
  gap: 8px;
}

.line-checklist span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.line-log {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.channel-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.route-card span {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  border-radius: 999px;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.route-card strong {
  font-size: 16px;
}

.route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.member-lists {
  display: grid;
  gap: 18px;
}

.panel {
  padding: 20px;
}

.mini-item,
.admin-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.mini-item strong,
.mini-item p,
.admin-item strong,
.admin-item p {
  margin: 0;
}

.mini-item p,
.admin-item p {
  color: var(--muted);
  font-size: 14px;
}

.profile-row {
  grid-template-columns: minmax(96px, 0.34fr) minmax(0, 1fr);
  align-items: center;
}

.profile-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-row strong {
  overflow-wrap: anywhere;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 0.74fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.about-media {
  overflow: hidden;
  border-radius: 8px;
}

.about-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.fact-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid strong {
  font-size: 32px;
}

.fact-grid span {
  color: var(--muted);
  font-weight: 900;
}

.media-section,
.news-section {
  background: #fbfcf9;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1320px;
  margin: 0 auto;
}

.video-card img {
  height: 300px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1320px;
  margin: 0 auto;
}

.news-card time {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 900;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}

.faq-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.faq-grid h3,
.faq-grid p {
  margin: 0;
}

.faq-grid h3 {
  font-size: 22px;
  line-height: 1.25;
}

.faq-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 76px);
  max-width: 1320px;
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.contact-list div {
  display: grid;
  gap: 4px;
}

.contact-list dt {
  color: var(--muted);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(280px, 0.7fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(16px, 5vw, 70px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: center;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
  min-width: min(320px, 100%);
}

.newsletter-form span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.newsletter-form input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 13, 11, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(760px, 100vw);
  padding: 22px;
  overflow: auto;
  border-radius: 0;
  transform: translateX(102%);
  transition: transform 220ms ease;
}

.quote-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(520px, calc(100vw - 36px));
  padding: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(23, 23, 20, 0.94);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform 180ms ease;
}

.quote-bar.is-visible {
  transform: translateY(0);
}

.quote-bar strong,
.quote-bar span {
  display: block;
}

.quote-bar strong {
  font-size: 22px;
  line-height: 1;
}

.quote-bar span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.site-chat {
  position: fixed;
  right: 24px;
  bottom: 124px;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 12px;
  width: min(380px, calc(100vw - 28px));
  pointer-events: none;
}

.chat-launcher {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(18, 110, 105, 0.24);
  font-weight: 900;
  pointer-events: auto;
}

.chat-launcher strong {
  position: absolute;
  top: -8px;
  right: -6px;
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--danger);
  font-size: 12px;
}

.chat-window {
  display: none;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35, 40, 31, 0.24);
  pointer-events: auto;
}

.site-chat.is-open .chat-window {
  display: grid;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: #fff;
  background: var(--ink);
}

.chat-header h2,
.chat-header p {
  margin: 0;
}

.chat-header span {
  display: inline-flex;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 280px;
  padding: 14px;
  overflow-y: auto;
  background: #fbfcf9;
}

.chat-message {
  display: grid;
  max-width: 86%;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(35, 40, 31, 0.08);
}

.chat-message.customer {
  justify-self: end;
  color: #fff;
  background: var(--teal);
}

.chat-message span,
.chat-message time {
  font-size: 11px;
  font-weight: 900;
  opacity: 0.7;
}

.chat-message p {
  margin: 0;
  line-height: 1.5;
}

.chat-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

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

.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.chat-form input {
  min-height: 42px;
  padding: 0 10px;
}

.chat-form textarea {
  padding: 10px;
  resize: vertical;
}

.operator-page {
  min-height: 100vh;
  background: #f4f7f2;
}

.operator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.operator-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.operator-status span {
  color: var(--muted);
  font-weight: 900;
}

.operator-status span[data-mode="error"] {
  color: var(--danger);
}

.operator-console {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  height: calc(100vh - 79px);
  padding: 18px;
}

.operator-sessions,
.operator-thread {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.operator-sessions {
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto;
  gap: 14px;
  padding: 18px;
}

.operator-session-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
}

.operator-session {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  color: var(--ink);
  text-align: left;
}

.operator-session.is-active {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal);
}

.operator-session span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 900;
}

.operator-session strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
}

.operator-session small,
.operator-session p {
  margin: 0;
  color: var(--muted);
}

.operator-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.operator-thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.operator-thread-header h2,
.operator-thread-header p {
  margin: 0;
}

.operator-thread-header span:not(.status-pill) {
  color: var(--muted);
  font-weight: 800;
}

.operator-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
  background: #fbfcf9;
}

.operator-chat-row {
  display: grid;
  max-width: 720px;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(35, 40, 31, 0.08);
}

.operator-chat-row.operator {
  justify-self: end;
  color: #fff;
  background: var(--teal);
}

.operator-chat-row span,
.operator-chat-row time {
  font-size: 12px;
  font-weight: 900;
  opacity: 0.72;
}

.operator-chat-row p {
  margin: 0;
  line-height: 1.55;
}

.operator-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.operator-reply-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.operator-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
}

.operator-payment-panel {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.operator-payment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.operator-payment-heading h2,
.operator-payment-heading p {
  margin: 0;
}

.operator-payment-heading span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3ea;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.operator-payment-heading span[data-mode="gateway"] {
  background: rgba(18, 110, 105, 0.12);
  color: var(--teal);
}

.operator-payment-form {
  display: grid;
  gap: 8px;
}

.operator-payment-form input,
.operator-payment-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.operator-payment-form textarea {
  resize: vertical;
}

.operator-payment-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.operator-payment-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.operator-payment-item strong,
.operator-payment-item p,
.operator-payment-item small {
  display: block;
  margin: 0;
}

.operator-payment-item p,
.operator-payment-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.operator-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operator-payment-actions .outline-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.admin-login-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18, 110, 105, 0.12), rgba(99, 54, 95, 0.1)),
    #f4f7f2;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  display: grid;
  gap: 24px;
  width: min(480px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35, 40, 31, 0.18);
}

.admin-login-card h1,
.admin-login-card p {
  margin: 0;
}

.admin-login-card p {
  color: var(--muted);
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-login-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.admin-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.admin-login-error {
  min-height: 20px;
  color: var(--danger) !important;
  font-weight: 900;
}

body.admin-open .admin-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.admin-open .admin-drawer {
  transform: translateX(0);
}

.admin-header,
.admin-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.admin-tab {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.admin-tab.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: grid;
  gap: 18px;
}

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

.admin-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.admin-metric span,
.admin-metric strong {
  display: block;
}

.admin-metric span {
  color: var(--muted);
  font-weight: 900;
}

.admin-metric strong {
  margin-top: 8px;
  font-size: 34px;
}

.admin-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.admin-form h3 {
  margin: 0;
}

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

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.danger-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--danger);
  font-weight: 900;
}

.modal {
  width: min(620px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
}

.modal::backdrop {
  background: rgba(12, 13, 11, 0.58);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.modal-card h2,
.modal-card p {
  margin: 0;
}

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

.social-login {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font-weight: 900;
}

.social-login span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
}

.social-login strong {
  line-height: 1.2;
}

.line-login span {
  color: #07170d;
  background: var(--green);
}

.google-login span {
  background: #4285f4;
}

.phone-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.phone-login input {
  min-width: 0;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.divider::before,
.divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.product-detail img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.compare-modal {
  width: min(940px, calc(100vw - 28px));
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #eef3ea;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: #fff;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-header-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
}

.commerce-section {
  background: #fff;
}

.commerce-toolbar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.commerce-toolbar label,
.commerce-checkout-form {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
}

.commerce-toolbar input,
.commerce-toolbar select,
.commerce-checkout-form input,
.commerce-checkout-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

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

.commerce-category-tree article,
.commerce-product-card,
.commerce-cart-panel,
.commerce-retention-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.commerce-category-tree article {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.commerce-category-tree div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.commerce-category-tree button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

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

.commerce-product-card {
  display: grid;
  overflow: hidden;
  background: #fff;
}

.commerce-product-media {
  position: relative;
  min-height: 230px;
  background: #eef3ea;
}

.commerce-product-media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.commerce-stock {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.commerce-stock.is-low {
  background: var(--danger);
}

.commerce-product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.commerce-product-body h3,
.commerce-product-body p,
.commerce-product-body dl,
.commerce-product-body details {
  margin: 0;
}

.commerce-product-body p,
.commerce-product-meta,
.commerce-product-body details {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.commerce-product-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.commerce-product-body dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.commerce-product-body dd {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.commerce-product-meta,
.commerce-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.commerce-card-actions input {
  width: 72px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.commerce-cart-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.commerce-cart-list,
.commerce-mini-list {
  display: grid;
  gap: 10px;
}

.commerce-cart-item,
.commerce-mini-list article {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.commerce-cart-item p,
.commerce-mini-list span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.commerce-cart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.commerce-cart-controls button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.commerce-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.commerce-summary span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}

.commerce-retention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.commerce-retention-grid article {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.commerce-collection-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 1460px;
  margin: 0 auto 24px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(27, 34, 25, 0.06);
}

.commerce-toolbar-left,
.commerce-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.commerce-toolbar-left {
  min-width: min(100%, 280px);
}

.commerce-toolbar-right {
  justify-content: flex-end;
}

.commerce-collection-bar > strong,
.commerce-toolbar-left > strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.commerce-filter-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(18, 110, 105, 0.18);
  border-radius: 999px;
  color: var(--teal);
  background:
    linear-gradient(180deg, rgba(250, 255, 251, 0.98), rgba(239, 248, 242, 0.92)),
    #fff;
  box-shadow: 0 10px 24px rgba(18, 110, 105, 0.08);
  font-weight: 900;
}

.commerce-filter-button span {
  width: 15px;
  height: 13px;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 1px / 100% 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 6px / 72% 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 11px / 44% 2px no-repeat;
}

.commerce-collection-bar label,
.commerce-view-tools {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.commerce-collection-bar select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 246, 0.94)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.commerce-view-tools button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.commerce-view-tools button.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.commerce-shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  max-width: 1460px;
  margin: 0 auto;
  align-items: start;
}

.commerce-filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.commerce-filter-panel .commerce-toolbar {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.commerce-filter-panel .commerce-category-tree {
  grid-template-columns: 1fr;
  margin: 0;
}

.commerce-results-stack {
  display: grid;
  gap: 28px;
}

.commerce-results-stack .commerce-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.commerce-results-stack .commerce-cart-panel {
  position: static;
  border: 1px solid var(--line);
  background: #fbfcf9;
}

.commerce-product-card {
  position: relative;
  align-content: start;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.commerce-product-media {
  aspect-ratio: 1 / 1.18;
  min-height: auto;
  overflow: hidden;
  background: #eef3ea;
}

.commerce-product-media.is-image-missing {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(18, 110, 105, 0.16), rgba(214, 161, 59, 0.12)),
    #eef3ea;
}

.commerce-product-media.is-image-missing::before {
  content: "MOUJACK";
  color: rgba(23, 23, 20, 0.42);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.commerce-product-media img {
  min-height: 100%;
  transition: transform 220ms ease;
}

.commerce-product-card:hover .commerce-product-media img,
.commerce-product-card:focus-within .commerce-product-media img {
  transform: scale(1.04);
}

.commerce-product-hover {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.commerce-product-card:hover .commerce-product-hover,
.commerce-product-card:focus-within .commerce-product-hover {
  opacity: 1;
  transform: translateY(0);
}

.commerce-product-hover .action-button {
  min-height: 40px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(23, 23, 20, 0.84);
  backdrop-filter: blur(10px);
}

.commerce-product-body {
  padding: 14px 0 0;
}

.commerce-product-body h3 {
  font-size: 18px;
  line-height: 1.28;
}

.commerce-product-body p {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.commerce-product-meta span {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef3ea;
}

.commerce-card-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.commerce-card-actions .outline-button,
.commerce-card-actions .solid-button {
  width: 100%;
  justify-content: center;
}

.commerce-stock {
  top: 10px;
  right: 10px;
}

.cart-page-section {
  background: #fff;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.checkout-layout .commerce-cart-panel,
.checkout-form-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.checkout-layout .commerce-cart-panel {
  position: static;
}

.checkout-form-panel .ghost-button {
  justify-content: center;
}

.commerce-admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.management-page {
  min-height: 100vh;
  background: #f4f7f2;
  color: var(--ink);
}

.management-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.management-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.management-status span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  background: #fff;
  font-weight: 900;
}

.management-status span[data-mode="saving"] {
  color: #7a5d10;
  background: #fff8df;
}

.management-status span[data-mode="error"] {
  color: var(--danger);
  background: #fff0ee;
}

.management-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  min-height: calc(100vh - 77px);
  padding: 18px;
}

.management-sidebar,
.management-panel,
.management-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.management-sidebar {
  position: sticky;
  top: 95px;
  display: grid;
  align-content: start;
  gap: 18px;
  height: calc(100vh - 113px);
  padding: 20px;
}

.management-sidebar h1,
.management-sidebar p,
.management-panel h2,
.management-panel h3,
.management-card h3 {
  margin: 0;
}

.management-nav {
  display: grid;
  gap: 8px;
}

.management-nav button,
.management-quick-links button,
.management-system-list a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf9;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.management-nav button.is-active,
.management-quick-links button:hover,
.management-system-list a:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.management-sidebar-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dce7cf;
  border-radius: 8px;
  background: #f6fbef;
}

.management-sidebar-note p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.management-content {
  min-width: 0;
}

.management-panel {
  display: none;
  gap: 18px;
  padding: clamp(16px, 2.4vw, 28px);
}

.management-panel.is-active {
  display: grid;
}

.management-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.management-panel-head h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.management-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.management-metric {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.management-metric span,
.management-metric strong {
  display: block;
}

.management-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.management-metric strong {
  margin-top: 10px;
  font-size: 34px;
}

.management-grid {
  display: grid;
  gap: 18px;
}

.management-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.management-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.management-preview-list,
.management-quick-links,
.management-system-list,
.management-list {
  display: grid;
  gap: 10px;
}

.management-preview-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.management-preview-item span {
  color: var(--muted);
  font-weight: 900;
}

.management-preview-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.management-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.management-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.management-form input,
.management-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.management-form textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  gap: 12px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.management-list.compact {
  max-height: 520px;
  overflow-y: auto;
}

.management-item,
.management-empty {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.management-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.management-item strong,
.management-item p,
.management-empty {
  margin: 0;
}

.management-item p,
.management-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.product-management-item {
  grid-template-columns: 74px minmax(0, 1fr) auto;
}

.management-thumb {
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3ea;
  object-fit: cover;
}

.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.small-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.management-system-list a {
  text-decoration: none;
}

.integration-channel-grid,
.integration-settings-grid {
  display: grid;
  gap: 14px;
}

.integration-channel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-channel-card {
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.integration-channel-card.is-enabled {
  border-color: rgba(18, 110, 105, 0.32);
  background: #f8fcf7;
}

.integration-channel-card h3,
.integration-channel-card p {
  margin: 8px 0 0;
}

.integration-channel-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.integration-channel-card dl {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
}

.integration-channel-card dt {
  color: var(--muted);
  font-weight: 900;
}

.integration-channel-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.integration-settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.integration-settings-grid fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.integration-settings-grid legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.line-inbox-card {
  gap: 18px;
}

.line-inbox-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
  gap: 14px;
  min-height: 560px;
}

.line-conversation-list,
.line-message-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 620px;
  overflow-y: auto;
}

.line-conversation {
  display: grid;
  gap: 7px;
  width: 100%;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf9;
  text-align: left;
}

.line-conversation.is-active {
  border-color: rgba(18, 110, 105, 0.45);
  background: #edf7f2;
  box-shadow: inset 4px 0 0 var(--teal);
}

.line-conversation span {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.line-conversation strong,
.line-conversation small,
.line-conversation p,
.line-conversation time {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.line-conversation em {
  display: inline-grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.line-conversation small,
.line-conversation p,
.line-conversation time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.line-thread-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.line-thread-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.line-thread-head h4,
.line-thread-head p {
  margin: 0;
}

.line-thread-head h4 {
  font-size: 22px;
}

.line-thread-head span:not(.status-pill) {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.line-message {
  display: grid;
  gap: 7px;
  width: min(86%, 720px);
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.line-message.in {
  justify-self: start;
}

.line-message.auto,
.line-message.out {
  justify-self: end;
  border-color: rgba(18, 110, 105, 0.28);
  background: #edf7f2;
}

.line-message.out {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.line-message div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.line-message strong,
.line-message span,
.line-message p,
.line-message small,
.line-message time {
  margin: 0;
  overflow-wrap: anywhere;
}

.line-message span,
.line-message time,
.line-message small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.line-message.out span,
.line-message.out time,
.line-message.out small {
  color: rgba(255, 255, 255, 0.76);
}

.line-message p {
  font-weight: 800;
}

.line-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.line-reply-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.management-form select {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.management-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.management-form input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--teal);
}

@media (max-width: 1180px) {
  .site-header {
    position: sticky;
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(16px, 4vw, 54px);
    display: grid;
    width: min(360px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(35, 40, 31, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    z-index: 80;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: #eef3ea;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-button {
    display: inline-flex !important;
    visibility: visible;
    opacity: 1;
  }

  .hero,
  .section-heading,
  .product-layout,
  .custom-commission-section,
  .member-section,
  .line-section,
  .about-section,
  .contact-section,
  .faq-grid,
  .site-footer,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .category-rail {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .category-rail .catalog-search {
    flex: 0 0 min(280px, 78vw);
    margin: 0;
  }

  #categoryRail {
    display: flex;
    gap: 10px;
  }

  .category-button {
    width: auto;
  }

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

  .commerce-layout,
  .commerce-toolbar,
  .commerce-category-tree,
  .commerce-retention-grid,
  .commerce-shop-layout,
  .checkout-layout,
  .commerce-admin-layout {
    grid-template-columns: 1fr;
  }

  .commerce-collection-bar {
    align-items: stretch;
  }

  .commerce-toolbar-left,
  .commerce-toolbar-right {
    width: 100%;
  }

  .commerce-toolbar-right {
    justify-content: flex-start;
  }

  .commerce-filter-panel {
    position: static;
    display: none;
  }

  .commerce-filter-panel.is-open {
    display: grid;
  }

  .commerce-results-stack .commerce-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .commerce-cart-panel {
    position: static;
  }

  .management-shell {
    grid-template-columns: 1fr;
  }

  .management-sidebar {
    position: static;
    height: auto;
  }

  .management-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .management-grid.two,
  .field-grid.four,
  .integration-channel-grid,
  .integration-settings-grid,
  .line-inbox-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    justify-content: flex-start;
  }

  .topbar-inner span {
    width: 100%;
    margin-right: 0;
  }

  .site-header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .brand {
    flex: 0 1 auto;
    gap: 9px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 16px;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
    margin-left: 8px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    top: 100%;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 12px;
  }

  .lang-switch {
    display: none;
  }

  .brand small,
  .header-actions .outline-button,
  .header-actions .solid-button {
    display: none;
  }

  .hero,
  .section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .store-hero {
    padding-top: 34px;
  }

  .store-hero .hero-copy {
    order: -1;
  }

  .hero-feature-card {
    min-height: 280px;
  }

  .hero-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-shelf-heading,
  .newsletter-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .collection-shelf-heading,
  .newsletter-form {
    display: grid;
  }

  .product-hover-actions {
    opacity: 1;
    transform: none;
  }

  .commerce-product-hover {
    position: static;
    margin-top: 10px;
    opacity: 1;
    transform: none;
  }

  .product-grid,
  .commerce-grid,
  .commerce-results-stack .commerce-grid,
  .video-grid,
  .news-grid,
  .member-dashboard,
  .line-status-board,
  .channel-route-grid,
  .fact-grid,
  .faq-grid,
  .admin-metrics,
  .form-grid,
  .oauth-grid,
  .phone-login,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .member-actions,
  .line-actions,
  .product-actions,
  .site-footer,
  .result-bar,
  .sort-tools,
  .quote-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-bar {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .site-chat {
    right: 14px;
    bottom: 112px;
    left: 14px;
    width: auto;
  }

  .chat-fields {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .commerce-toolbar,
  .commerce-product-body dl {
    grid-template-columns: 1fr;
  }

  .admin-drawer {
    padding: 16px;
  }

  .operator-top,
  .operator-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .operator-console {
    grid-template-columns: 1fr;
    height: auto;
    padding: 14px;
  }

  .operator-sessions,
  .operator-thread {
    min-height: 420px;
  }

  .operator-reply-form {
    grid-template-columns: 1fr;
  }

  .management-top,
  .management-status,
  .management-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .management-shell {
    padding: 14px;
  }

  .management-nav,
  .management-metrics,
  .field-grid.two,
    .field-grid.three,
    .field-grid.four,
    .integration-channel-grid,
    .integration-settings-grid,
    .line-inbox-layout,
    .line-reply-form,
    .management-preview-item,
    .management-item,
    .product-management-item {
    grid-template-columns: 1fr;
  }

  .management-actions {
    justify-content: stretch;
  }

  .management-actions > * {
    flex: 1 1 auto;
  }
}
