:root {
  --ink: #111827;
  --muted: #667085;
  --line: #d8dee8;
  --surface: #ffffff;
  --soft: #f3f7f5;
  --mint: #13b981;
  --mint-dark: #087b5d;
  --amber: #f4b63f;
  --coral: #ec6f5e;
  --blue: #3d6fca;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfcfa;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 222, 232, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 168px;
  min-width: 168px;
  gap: 12px;
}

.brand.has-logo {
  min-width: 168px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.brand.has-logo .brand-mark {
  width: 136px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  transform: translateY(-4px);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand.has-logo > span:not(.brand-mark) {
  display: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #344054;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
}

.main-nav a:hover {
  background: var(--soft);
}

.main-nav a.active {
  color: #fff;
  background: var(--ink);
}

.cart-button,
.account-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 14px;
  border-radius: 8px;
  color: #344054;
  font-weight: 900;
  background: var(--surface);
  cursor: pointer;
}

.admin-shortcut {
  color: #fff;
  background: var(--mint-dark);
}

.signout-shortcut {
  color: #344054;
  background: #f3f7f5;
}

.cart-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.cart-icon svg,
.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--coral);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.hero-youtube {
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.96) 0%, rgba(251, 252, 250, 0.8) 34%, rgba(251, 252, 250, 0.18) 72%),
    linear-gradient(0deg, rgba(251, 252, 250, 1) 0%, rgba(251, 252, 250, 0) 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(640px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 76px 0 132px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: #344054;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.contact-form button,
.cart-summary button,
.product-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action,
.contact-form button,
.cart-summary button,
.product-footer button {
  color: #fff;
  background: var(--ink);
}

.primary-action,
.secondary-action {
  padding: 0 22px;
}

.secondary-action {
  border: 1px solid rgba(17, 24, 39, 0.15);
  background: rgba(255, 255, 255, 0.82);
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: #fff;
  background: var(--ink);
}

.promo-strip span {
  padding: 16px;
  text-align: center;
  font-weight: 900;
  background: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
  scroll-margin-top: 96px;
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.intro-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article,
.case-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.intro-grid p,
.product-card p,
.service-band p,
.contact p {
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.22) transparent;
}

.filter-sidebar::-webkit-scrollbar {
  width: 8px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.18);
}

.filter-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.filter-header h3 {
  margin: 0;
  font-size: 20px;
}

.filter-header button,
.filter-group label {
  cursor: pointer;
}

.filter-header button {
  border: 0;
  color: var(--mint-dark);
  font-weight: 900;
  background: transparent;
}

.filter-group {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group h4 {
  margin: 0 0 12px;
  font-size: 15px;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  color: #344054;
  font-weight: 700;
}

.filter-group input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--mint-dark);
}

.category-tree {
  display: grid;
  gap: 8px;
}

.category-tree-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.category-tree-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
}

.category-tree-item summary::-webkit-details-marker {
  display: none;
}

.category-tree-item summary span:last-child {
  transition: transform 0.2s ease;
}

.category-tree-item[open] > summary span:last-child {
  transform: rotate(180deg);
}

.category-tree-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 calc(12px + var(--level, 0) * 14px);
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.category-tree-item > .category-tree-option {
  border-top: 1px solid rgba(210, 219, 228, 0.75);
}

.category-tree-children {
  display: grid;
  gap: 4px;
  padding: 4px 0 10px;
}

.category-tree-children .category-tree-item {
  margin: 0 8px;
  background: #fff;
}

.category-cards {
  display: grid;
  gap: 12px;
}

.category-card-grid {
  display: grid;
  gap: 8px;
}

.category-card-item {
  display: grid;
  gap: 8px;
}

.category-card {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 8px;
  min-height: 46px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px !important;
  background: #fff;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 950 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-card input,
.category-chip input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.category-card small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  background: #eef5f2;
}

.category-card:has(input:checked) {
  border-color: var(--mint-dark);
  background: #eef8f4;
  box-shadow: 0 0 0 3px rgba(8, 123, 93, 0.1);
}

.category-card:has(input:checked) small {
  color: #fff;
  background: var(--mint-dark);
}

.category-subfilter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 2px 8px 10px;
}

.category-subfilter-panel[hidden] {
  display: none;
}

.category-chip {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px !important;
  background: #fff;
  color: #344054 !important;
  font-size: 13px;
  font-weight: 900 !important;
}

.category-chip:has(input:checked) {
  border-color: var(--mint-dark);
  color: var(--mint-dark) !important;
  background: #eef8f4;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-results {
  min-width: 0;
}

.result-bar {
  min-height: 42px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.result-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.product-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-search span {
  color: #344054;
  font-weight: 900;
  white-space: nowrap;
}

.product-search input {
  width: min(260px, 28vw);
  height: 38px;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.product-search input:focus {
  border-color: var(--mint-dark);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 123, 93, 0.1);
}

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

.product-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 16px;
}

.product-card[hidden] {
  display: none;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f2;
}

.product-visual img,
.product-modal-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  object-position: center center;
}

.product-visual.has-image,
.product-modal-visual.has-image {
  display: grid;
  place-items: center;
  padding: 0;
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.product-visual.has-image::before,
.product-visual.has-image::after,
.product-modal-visual.has-image::before,
.product-modal-visual.has-image::after {
  display: none;
}

.printer-visual::before {
  inset: 36px 42px 30px;
  border: 12px solid #1f2937;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #d7e8e1);
}

.printer-visual::after {
  right: 34px;
  bottom: 30px;
  width: 74px;
  height: 52px;
  border-radius: 8px 8px 3px 3px;
  background: var(--coral);
  box-shadow: -66px -44px 0 -18px var(--amber);
}

.filament-visual::before {
  inset: 28px 58px;
  border: 24px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 74px 28px 0 -18px var(--amber), -54px 42px 0 -18px var(--coral);
}

.filament-visual::after {
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef5f2;
  transform: translate(-50%, -50%);
}

.scanner-visual::before {
  left: 42px;
  top: 42px;
  width: 78px;
  height: 88px;
  border-radius: 8px;
  background: #202938;
  box-shadow: 96px 42px 0 -24px var(--mint);
}

.scanner-visual::after {
  right: 42px;
  top: 54px;
  width: 74px;
  height: 48px;
  border-radius: 50%;
  border: 11px solid var(--amber);
}

.service-visual::before {
  left: 34px;
  top: 34px;
  width: 102px;
  height: 102px;
  border-radius: 24px;
  background: conic-gradient(from 135deg, var(--mint), var(--blue), var(--amber), var(--mint));
  transform: rotate(10deg);
}

.service-visual::after {
  right: 34px;
  bottom: 36px;
  width: 92px;
  height: 58px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 10px #202938 inset;
}

.parts-visual::before {
  left: 46px;
  top: 38px;
  width: 72px;
  height: 72px;
  border: 14px solid #202938;
  border-radius: 50%;
  box-shadow: 80px 34px 0 -20px var(--amber);
}

.parts-visual::after {
  right: 46px;
  bottom: 40px;
  width: 82px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(-18deg);
}

.resin-visual::before {
  left: 52px;
  top: 38px;
  width: 84px;
  height: 108px;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, #2b3445 0%, #2b3445 26%, var(--mint) 27%, var(--mint) 100%);
  box-shadow: 92px 42px 0 -18px var(--coral);
}

.resin-visual::after {
  right: 50px;
  top: 54px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--amber);
  transform: rotate(14deg);
}

.product-tag {
  margin-bottom: 8px;
  color: var(--mint-dark) !important;
  font-size: 13px;
  font-weight: 900;
}

.product-card > p:not(.product-tag) {
  display: -webkit-box;
  min-height: calc(1.72em * 2);
  max-height: calc(1.72em * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  flex: 0 0 auto;
}

.product-card h3 {
  display: -webkit-box;
  min-height: calc(1.25em * 2);
  max-height: calc(1.25em * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.product-footer strong {
  min-height: 28px;
  white-space: normal;
  font-size: 18px;
  line-height: 1.35;
}

.schema-offer {
  display: none;
}

.product-footer button {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  font-size: 14px;
}

.product-footer button:hover,
.modal-purchase-row button:hover {
  background: #243244;
}

.no-results {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.text-link {
  border: 0;
  padding: 0;
  color: var(--mint-dark);
  font: inherit;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.product-detail-page {
  display: grid;
  gap: 18px;
}

.product-detail-back {
  justify-self: start;
}

.product-detail-shell {
  display: grid;
  gap: 28px;
}

.product-detail-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.product-detail-media {
  display: grid;
  gap: 12px;
}

.product-detail-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f2;
  place-items: center;
}

.product-detail-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  object-position: center center;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.product-detail-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-detail-thumb:hover {
  transform: translateY(-1px);
}

.product-detail-thumb.active {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(8, 123, 93, 0.12);
}

.product-detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
}

.product-detail-info > p:not(.product-tag):not(.variant-status) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.product-detail-description {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.product-detail-description p {
  margin: 0;
}

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

.product-detail-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  background: #fff;
}

.product-detail-price {
  display: block;
  font-size: 34px;
  line-height: 1.1;
}

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

.product-fixed-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 2px;
}

.product-fixed-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbf9;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.detail-option-field {
  display: grid;
  gap: 10px;
}

.product-detail-options .detail-option-field {
  grid-column: 1 / -1;
}

.detail-option-field > span {
  color: #344054;
  font-weight: 950;
}

.detail-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-option-group.is-visual,
.detail-option-group.is-color-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 120px));
  align-items: stretch;
  justify-content: start;
}

.detail-option-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.detail-option-button:hover {
  transform: translateY(-1px);
}

.detail-option-button.active {
  border-color: var(--mint-dark);
  color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(8, 123, 93, 0.12);
}

.detail-option-button.is-visual,
.detail-option-button.is-color-card {
  display: grid;
  min-height: 104px;
  padding: 9px 8px;
  justify-items: center;
  align-content: start;
  gap: 7px;
  text-align: center;
  font-size: 12px;
}

.detail-option-button.is-visual img,
.detail-option-button.is-color-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #eef7f2;
}

.detail-option-button.is-color-card span {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.detail-option-expand {
  justify-self: start;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--mint-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  background: #fff;
  cursor: pointer;
}

.detail-option-expand:hover {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(8, 123, 93, 0.1);
}

.detail-option-swatch {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef7f2;
}

.product-detail-content {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-detail-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.about-page {
  display: grid;
  gap: 34px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.about-hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
}

.about-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.about-visual {
  display: grid;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f2;
  place-items: center;
}

.about-visual img {
  display: block;
  width: min(82%, 420px);
  height: auto;
}

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

.about-card-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.about-card-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.about-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-rich-content {
  padding-top: 8px;
}

.partner-marquee-section {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  background: #fff;
}

.partner-marquee::before,
.partner-marquee::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 90px;
  content: "";
  pointer-events: none;
}

.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: partner-marquee 34s linear infinite;
}

.partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  width: 112px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.partner-logo img {
  display: block;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.service-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #e9f5ef;
}

.service-summary {
  max-width: 520px;
}

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

.service-steps span {
  display: flex;
  min-height: 88px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(8, 123, 93, 0.18);
  border-radius: 8px;
  color: #0f3d32;
  font-size: 20px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.72);
}

.service-timeline-wrap {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.service-timeline-wrap .section-heading {
  margin-bottom: 0;
}

.service-timeline-wrap h3,
.service-extra-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.service-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 26px 0;
  list-style: none;
}

.service-timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 123, 93, 0.18), var(--mint-dark), rgba(8, 123, 93, 0.18));
}

.service-timeline li {
  position: relative;
  display: grid;
  min-height: 340px;
  align-items: start;
  padding: 0;
}

.service-timeline li:nth-child(even) {
  align-items: end;
}

.service-timeline li > div {
  position: relative;
  z-index: 1;
  min-height: 138px;
  border: 1px solid rgba(8, 123, 93, 0.15);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
}

.service-timeline li > span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  border: 4px solid #e9f5ef;
  color: #fff;
  font-weight: 950;
  background: var(--mint-dark);
  transform: translate(-50%, -50%);
}

.service-timeline strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.service-timeline p {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.65;
}

.service-extra-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.service-audience,
.service-faq-card {
  border: 1px solid rgba(8, 123, 93, 0.15);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.service-audience > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-audience span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
  background: #fff;
}

.service-faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.service-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
}

.service-faq summary {
  min-height: 46px;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.service-faq p {
  margin: 0;
  padding: 0 0 14px;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.service-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.case-grid article {
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #162033, #22594d);
}

.case-grid article.has-case-image {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.case-grid article.has-case-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.case-grid article.has-case-image span,
.case-grid article.has-case-image h3,
.case-grid article.has-case-image p {
  margin-right: 22px;
  margin-left: 22px;
}

.case-grid article.has-case-image span {
  margin-top: 18px;
  margin-bottom: 12px;
}

.case-grid article.has-case-image p {
  margin-bottom: 22px;
}

.case-grid article:nth-child(3n + 2) {
  background: linear-gradient(135deg, #24324a, #8a5b2d);
}

.case-grid article:nth-child(3n) {
  background: linear-gradient(135deg, #2b2f39, #9a4f46);
}

.case-grid span {
  display: block;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.case-grid h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.case-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  display: -webkit-box;
  min-height: 3.2em;
  max-height: 3.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-grid button {
  align-self: start;
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.case-grid article.has-case-image button {
  margin: auto 22px 22px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  background: var(--surface);
  cursor: pointer;
}

.pagination button.active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.pagination button:disabled {
  color: var(--muted);
  background: #f0f3f1;
  cursor: not-allowed;
  opacity: 0.72;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.checkout-page {
  max-width: 1180px;
}

.member-page {
  max-width: 1180px;
}

.checkout-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.checkout-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-heading button,
.checkout-form button,
.auth-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: var(--ink);
  cursor: pointer;
}

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

.checkout-form,
.checkout-summary,
.checkout-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.checkout-block {
  padding: 18px;
}

.checkout-block h3,
.checkout-summary h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.checkout-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.shipping-options label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  cursor: pointer;
}

.shipping-options input {
  width: 17px;
  height: 17px;
  accent-color: var(--mint-dark);
}

.shipping-fee-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.cvs-store-block {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cvs-store-block .panel-heading {
  margin-bottom: 0;
}

.cvs-store-block .panel-heading h3 {
  margin-bottom: 6px;
}

.cvs-store-block .panel-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.form-grid label,
.auth-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 900;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.form-grid input,
.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
}

.checkout-summary {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.checkout-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-line h4 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.checkout-line p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-line strong {
  white-space: nowrap;
}

.member-status {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
  background: #fff;
}

.member-orders {
  display: grid;
  gap: 16px;
}

.member-order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.member-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.member-order-head h3 {
  margin: 0 0 6px;
}

.member-order-head p,
.member-address,
.member-order-items p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-pills span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  background: #f6fbf8;
}

.member-order-items {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  font-size: 18px;
}

.checkout-total + .checkout-total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.grand-total {
  color: var(--ink);
  font-size: 22px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  padding: 22px;
  pointer-events: none;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.auth-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.auth-modal-inner {
  width: min(460px, 100%);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.auth-modal.open .auth-modal-inner {
  transform: translateY(0);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px 18px 0;
}

.auth-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  font-weight: 900;
  background: #fff;
  cursor: pointer;
}

.auth-tabs button.active {
  border-color: var(--mint-dark);
  color: #fff;
  background: var(--mint-dark);
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.auth-form .ghost-button {
  border: 1px solid var(--line);
  color: #344054;
  background: #fff;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  background: rgba(17, 24, 39, 0);
  transition: background 180ms ease;
}

body.auth-modal-open {
  overflow: hidden;
}

body.auth-modal-open .auth-modal-backdrop {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.46);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.line-contact-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: #06c755;
}

.line-contact-button:hover {
  background: #05a948;
}

.legal-page {
  max-width: 980px;
}

.legal-content {
  display: grid;
  gap: 14px;
  color: #344054;
  font-size: 17px;
  line-height: 1.9;
}

.legal-content p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 56px) 34px;
  background: #fff;
}

.footer-line-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-rule {
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 0;
  color: #344054;
  font-weight: 800;
}

.footer-spacer {
  height: 24px;
}

.footer-links a:hover {
  color: var(--mint-dark);
}

.footer-copyright {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  background: #fff;
}

.contact-form textarea {
  min-height: 136px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  padding: 0 22px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form-status[data-state="ok"] {
  color: var(--mint-dark);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #b42318;
  font-weight: 700;
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(420px, 100%);
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-panel.open {
  pointer-events: auto;
  transform: translateX(0);
}

.cart-panel-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 24px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.cart-items {
  overflow: auto;
  padding: 18px 20px;
}

.empty-cart {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cart-summary {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-summary button {
  width: 100%;
}

.cart-status {
  margin: 10px 0 0;
  color: #b42318;
  white-space: pre-line;
  line-height: 1.5;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: rgba(17, 24, 39, 0);
  transition: background 220ms ease;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .cart-backdrop {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.42);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  padding: 22px;
  pointer-events: none;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.product-modal-inner {
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.product-modal.open .product-modal-inner {
  transform: translateY(0);
}

.product-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.product-modal-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
}

.product-modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 22px;
}

.product-modal-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f2;
}

.product-modal-visual::before,
.product-modal-visual::after {
  position: absolute;
  content: "";
}

.product-modal-info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-modal-info > p:not(.product-tag):not(.variant-status) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-price {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.variant-controls {
  display: grid;
  gap: 12px;
}

.variant-controls label,
.modal-purchase-row label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 900;
}

.variant-controls select,
.modal-purchase-row input {
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

.modal-purchase-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: end;
}

.modal-purchase-row button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--ink);
  cursor: pointer;
}

.modal-purchase-row button:disabled {
  cursor: not-allowed;
  background: #98a2b3;
}

.variant-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.rich-content {
  display: grid;
  gap: 18px;
  color: var(--ink);
}

.product-rich-content {
  padding-top: 2px;
}

.product-detail-content .rich-gallery > div,
.product-detail-content .rich-masonry-gallery > div {
  width: 100%;
}

.product-rich-content .rich-gallery > div,
.product-rich-content .rich-masonry-gallery > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-rich-content .rich-masonry-gallery img {
  height: 180px;
}

.rich-content h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
}

.rich-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.rich-content strong,
.article-body-text strong {
  color: var(--ink);
  font-weight: 950;
}

.rich-content u,
.article-body-text u {
  text-underline-offset: 0.18em;
}

.rich-content .text-large,
.article-body-text .text-large {
  font-size: 1.18em;
  font-weight: 900;
}

.rich-content .text-small,
.article-body-text .text-small {
  font-size: 0.9em;
}

.rich-content .text-size-small,
.article-body-text .text-size-small {
  font-size: 0.9em;
}

.rich-content .text-size-medium,
.article-body-text .text-size-medium {
  font-size: 1.08em;
}

.rich-content .text-size-large,
.article-body-text .text-size-large {
  font-size: 1.22em;
  font-weight: 900;
}

.rich-content .text-size-xlarge,
.article-body-text .text-size-xlarge {
  font-size: 1.45em;
  font-weight: 950;
}

.rich-content figure {
  margin: 0;
}

.rich-content img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4faf7;
}

.rich-image-preview {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.rich-image-preview:focus-visible {
  outline: 3px solid rgba(0, 127, 95, 0.24);
  outline-offset: 3px;
}

.rich-image-preview img {
  pointer-events: none;
}

.rich-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.rich-image-text {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}

.image-size-small {
  width: min(420px, 100%);
}

.image-size-medium {
  width: min(720px, 100%);
}

.image-size-large {
  width: min(980px, 100%);
}

.image-size-full {
  width: 100%;
}

.image-align-left {
  justify-self: start;
}

.image-align-center {
  justify-self: center;
}

.image-align-right {
  justify-self: end;
}

.rich-gallery {
  display: grid;
  gap: 14px;
}

.rich-gallery > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rich-gallery figure,
.rich-masonry-gallery figure {
  display: grid;
  gap: 8px;
  margin: 0;
  align-content: start;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.rich-gallery figcaption,
.rich-masonry-gallery figcaption {
  padding: 0 2px 2px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: left;
}

.rich-gallery img {
  aspect-ratio: 4 / 3;
  max-height: none;
  object-fit: contain;
}

.rich-masonry-gallery {
  display: grid;
  gap: 14px;
}

.rich-masonry-gallery > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.rich-masonry-gallery img {
  display: block;
  width: 100%;
  height: 260px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.image-preview-modal.open {
  display: grid;
  pointer-events: auto;
}

.image-preview-inner {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
}

.image-preview-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  cursor: zoom-out;
}

.image-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 129;
  display: none;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.image-preview-modal.open + .image-preview-backdrop,
body.image-preview-open .image-preview-backdrop {
  display: block;
}

body.image-preview-open {
  overflow: hidden;
}

.rich-placeholder {
  display: grid;
  gap: 12px;
}

.rich-placeholder h3 {
  margin: 0;
}

.rich-placeholder > div {
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 123, 93, 0.035), rgba(255, 255, 255, 0.84)),
    #fff;
}

.rich-table table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
}

.rich-table th,
.rich-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  line-height: 1.6;
}

.rich-table tr:last-child th,
.rich-table tr:last-child td {
  border-bottom: 0;
}

.rich-table th {
  width: 32%;
  color: var(--ink);
  background: #f7fbf9;
}

.rich-faq {
  display: grid;
  gap: 10px;
}

.rich-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.rich-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.article-detail-page {
  display: grid;
  gap: 18px;
}

.article-detail-page[hidden] {
  display: none;
}

.article-detail-back {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 900;
}

.article-detail-shell {
  display: grid;
  gap: 24px;
}

.article-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-detail-header > div {
  display: grid;
  gap: 14px;
}

.article-detail-header span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-detail-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.1;
}

.article-detail-header p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.article-detail-header > img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4faf7;
}

.article-detail-content {
  width: min(980px, 100%);
  justify-self: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background: rgba(17, 24, 39, 0);
  transition: background 180ms ease;
}

body.product-modal-open {
  overflow: hidden;
}

body.product-modal-open .product-modal-backdrop {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.46);
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: grid;
  padding: 22px;
  pointer-events: none;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.article-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.article-modal-inner {
  width: min(900px, 100%);
  max-height: min(780px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.article-modal.open .article-modal-inner {
  transform: translateY(0);
}

.article-modal-body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.article-modal-body > img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4faf7;
}

.article-modal-body > span {
  color: var(--brand);
  font-weight: 900;
}

.article-modal-body > p,
.article-body-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.article-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 61;
  pointer-events: none;
  background: rgba(17, 24, 39, 0);
  transition: background 180ms ease;
}

body.article-modal-open {
  overflow: hidden;
}

body.article-modal-open .article-modal-backdrop {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.46);
}

.mobile-filter-button,
.filter-close,
.mobile-bottom-nav,
.filter-backdrop,
.product-mobile-purchase {
  display: none;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 252, 250, 0.98) 0%, rgba(251, 252, 250, 0.76) 50%, rgba(251, 252, 250, 0.18) 100%),
      linear-gradient(0deg, rgba(251, 252, 250, 1) 0%, rgba(251, 252, 250, 0) 24%);
  }

  .hero-content {
    align-self: start;
    margin-right: auto;
    padding-top: 64px;
  }

  .intro,
  .service-band,
  .contact,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-main {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-visual {
    min-height: 320px;
  }

  .checkout-heading {
    align-items: start;
    flex-direction: column;
  }

  .checkout-summary {
    position: static;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

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

  .product-modal-body {
    grid-template-columns: 1fr;
  }

  .article-detail-header {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .article-detail-content {
    padding: 22px;
  }

  .product-modal-visual {
    min-height: 240px;
  }

  .rich-image-text {
    grid-template-columns: 1fr;
  }

  .rich-gallery > div {
    grid-template-columns: 1fr;
  }

  .rich-masonry-gallery > div {
    grid-template-columns: 1fr;
  }

  .rich-masonry-gallery figure,
  .rich-masonry-gallery figure:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .rich-masonry-gallery img,
  .rich-masonry-gallery img:nth-child(n) {
    height: 220px;
    aspect-ratio: auto;
  }
}



@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .section {
    scroll-margin-top: 112px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    min-height: 62px;
    padding: 8px 12px;
  }

  .brand.has-logo .brand-mark {
    width: 92px;
    height: 38px;
    transform: translateY(-1px);
  }

  .header-actions {
    justify-self: end;
    gap: 6px;
  }

  .account-button {
    min-height: 40px;
    padding: 0 9px;
    font-size: 12px;
  }

  .cart-button {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    grid-column: 1 / -1;
    gap: 4px;
    width: calc(100vw - 24px);
    justify-content: center;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .section {
    width: min(100% - 22px, 1180px);
    padding: 30px 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    width: min(100% - 28px, 520px);
    margin-left: 14px;
    padding: 62px 0 96px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions a {
    min-height: 44px;
    padding: 0 15px;
    font-size: 14px;
  }

  .promo-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .promo-strip span {
    min-width: 72vw;
    padding: 12px 16px;
    scroll-snap-align: center;
    font-size: 14px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 14px;
  }

  .section-heading h2 {
    margin-bottom: 0;
    font-size: 28px;
  }

  .mobile-filter-button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    color: var(--ink);
    font-weight: 950;
    background: #fff;
  }

  .mobile-filter-button span {
    color: var(--mint-dark);
    font-size: 13px;
  }

  .shop-layout {
    gap: 12px;
  }

  .filter-sidebar {
    position: fixed;
    z-index: 80;
    inset: auto 0 0;
    display: grid;
    max-height: 82vh;
    overflow: auto;
    border-radius: 14px 14px 0 0;
    box-shadow: var(--shadow);
    transform: translateY(110%);
    transition: transform 180ms ease;
  }

  body.filter-open {
    overflow: hidden;
  }

  body.filter-open .filter-sidebar {
    transform: translateY(0);
  }

  .filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 75;
    background: rgba(17, 24, 39, 0);
    pointer-events: none;
    transition: background 180ms ease;
  }

  body.filter-open .filter-backdrop {
    display: block;
    background: rgba(17, 24, 39, 0.42);
    pointer-events: auto;
  }

  .filter-header {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 14px;
    background: #fff;
  }

  .filter-header h3 {
    font-size: 18px;
  }

  .filter-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .filter-close {
    display: inline-flex;
  }

  .filter-group {
    padding: 14px;
  }

  .filter-group h4 {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .filter-group > div {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filter-group > div[data-category-filters] {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .category-tree {
    gap: 8px;
  }

  .category-tree-item summary {
    min-height: 44px;
    font-size: 14px;
  }

  .category-tree-option {
    flex: 1 1 auto;
    min-height: 38px;
    border: 0;
    padding-right: 12px;
    background: transparent;
  }

  .filter-group > div::-webkit-scrollbar {
    display: none;
  }

  .filter-group label:not(.category-tree-option):not(.category-card):not(.category-chip) {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
  }

  .filter-group input[type="checkbox"] {
    width: 15px;
    height: 15px;
  }

  .result-bar {
    min-height: 34px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  [data-sort-label] {
    display: none;
  }

  .result-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .result-tools,
  .product-search {
    width: 100%;
  }

  .product-search input {
    width: 100%;
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-areas:
      "visual tag"
      "visual title"
      "visual desc"
      "visual footer";
    column-gap: 12px;
    row-gap: 6px;
    min-height: 0;
    padding: 12px;
    align-items: start;
  }

  .product-detail-page {
    gap: 14px;
  }

  .product-detail-main {
    gap: 16px;
  }

  .product-detail-visual {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .product-detail-gallery {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -11px;
    padding: 2px 11px 8px;
    scrollbar-width: none;
  }

  .product-detail-gallery::-webkit-scrollbar {
    display: none;
  }

  .product-detail-thumb {
    flex: 0 0 72px;
  }

  .product-detail-info {
    gap: 12px;
  }

  .product-detail-info h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .product-detail-info > p:not(.product-tag):not(.variant-status) {
    font-size: 16px;
    line-height: 1.7;
  }

  .product-detail-description {
    font-size: 16px;
    line-height: 1.78;
  }

  .product-detail-options,
  .product-detail-info .modal-purchase-row {
    grid-template-columns: 1fr;
  }

  .detail-option-group.is-visual,
  .detail-option-group.is-color-visual {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82px;
    grid-template-rows: repeat(2, 98px);
    gap: 8px;
    margin: 0 -11px;
    padding: 2px 11px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .detail-option-group.is-visual::-webkit-scrollbar,
  .detail-option-group.is-color-visual::-webkit-scrollbar {
    display: none;
  }

  .detail-option-button {
    min-height: 46px;
    font-size: 16px;
  }

  .detail-option-button.is-visual,
  .detail-option-button.is-color-card {
    min-height: 98px;
    padding: 8px;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .detail-option-button.is-visual img,
  .detail-option-button.is-color-card img {
    width: 56px;
    height: 56px;
  }

  .product-detail-options select,
  .product-detail-info .modal-purchase-row input {
    min-height: 48px;
    font-size: 16px;
  }

  .product-detail-info .modal-purchase-row {
    position: static;
    margin: 4px 0 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  }

  .product-mobile-purchase {
    display: none;
  }

  body.mobile-buy-visible .product-mobile-purchase {
    display: none;
  }

  .product-mobile-purchase > div {
    min-width: 0;
  }

  .product-mobile-purchase strong {
    display: block;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.1;
  }

  .product-mobile-purchase span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-mobile-purchase label {
    display: grid;
    gap: 4px;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
  }

  .product-mobile-purchase input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 0 10px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    background: #fff;
  }

  .product-mobile-purchase button {
    grid-column: 1 / -1;
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    background: var(--ink);
  }

  .product-mobile-purchase button:disabled {
    background: #98a2b3;
  }

  .product-detail-price {
    font-size: 28px;
  }

  .about-page {
    gap: 22px;
  }

  .about-hero {
    gap: 18px;
  }

  .about-hero h2 {
    font-size: 32px;
  }

  .about-hero p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.75;
  }

  .about-visual {
    min-height: 220px;
  }

  .about-card-grid {
    gap: 10px;
  }

  .about-card-grid article {
    padding: 16px;
  }

  .partner-logo {
    width: 92px;
    height: 72px;
  }

  .partner-logo img {
    max-width: 58px;
    max-height: 58px;
  }

  .product-card .product-visual {
    grid-area: visual;
    width: 118px;
    aspect-ratio: 1 / 1;
    margin: 0;
    align-self: center;
  }

  .product-visual img {
    max-width: 92%;
    max-height: 92%;
  }

  .product-card .product-tag {
    grid-area: tag;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .product-card h3 {
    grid-area: title;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-card > p:not(.product-tag) {
    grid-area: desc;
    min-height: 0;
    max-height: 1.55em;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
  }

  .product-footer {
    grid-area: footer;
    gap: 8px;
    margin-top: 4px;
    padding-top: 0;
    align-self: end;
  }

  .product-footer strong {
    min-height: 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .product-footer button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .case-grid article {
    min-height: 0;
    padding: 18px;
  }

  .case-grid article.has-case-image img {
    height: 190px;
  }

  .case-grid span {
    margin-bottom: 14px;
  }

  .case-grid h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .article-detail-header,
  .article-detail-content {
    padding: 16px;
  }

  .article-detail-header h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .article-detail-header p {
    font-size: 16px;
    line-height: 1.75;
  }

  .rich-content {
    gap: 14px;
  }

  .rich-content h3 {
    font-size: 22px;
  }

  .rich-content p {
    font-size: 16px;
    line-height: 1.78;
  }

  .rich-content img {
    max-height: none;
  }

  .rich-gallery > div,
  .rich-masonry-gallery > div,
  .product-rich-content .rich-gallery > div,
  .product-rich-content .rich-masonry-gallery > div,
  .product-detail-content .rich-gallery > div,
  .product-detail-content .rich-masonry-gallery > div {
    grid-template-columns: 1fr;
  }

  .rich-gallery img,
  .rich-masonry-gallery img,
  .product-rich-content .rich-masonry-gallery img {
    height: auto;
    max-height: none;
  }

  .checkout-layout {
    gap: 12px;
  }

  .checkout-form,
  .checkout-summary,
  .checkout-block {
    border-radius: 8px;
  }

  .checkout-form,
  .checkout-summary {
    padding: 12px;
  }

  .checkout-block {
    padding: 14px;
  }

  .checkout-block h3,
  .checkout-summary h3 {
    font-size: 18px;
  }

  .shipping-options label {
    min-height: 56px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 900;
  }

  .form-grid input,
  .auth-form input,
  .contact-form input,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .checkout-form button[type="submit"] {
    position: sticky;
    bottom: 72px;
    z-index: 11;
    min-height: 52px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.22);
  }

  .checkout-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .checkout-line strong {
    justify-self: end;
  }

  .cart-panel {
    width: 100%;
  }

  .cart-header {
    padding: 14px 16px;
  }

  .cart-items {
    padding: 10px 16px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .quantity-controls {
    justify-content: space-between;
  }

  .quantity-controls button {
    width: 44px;
    height: 40px;
  }

  .cart-summary {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }

  .cart-summary button {
    min-height: 50px;
  }

  .product-modal {
    align-items: end;
    padding: 0;
  }

  .product-modal-inner {
    width: 100%;
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
  }

  .product-modal-header {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px 14px;
    background: #fff;
  }

  .product-modal-header h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-modal-body {
    gap: 14px;
    padding: 14px;
  }

  .product-modal-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .product-modal-visual img {
    max-width: 90%;
    max-height: 90%;
  }

  .product-modal-info {
    gap: 12px;
  }

  .product-modal-info > p:not(.product-tag):not(.variant-status) {
    display: -webkit-box;
    max-height: calc(1.65em * 4);
    overflow: hidden;
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .modal-price {
    font-size: 26px;
  }

  .variant-controls {
    gap: 10px;
  }

  .variant-controls select,
  .modal-purchase-row input {
    min-height: 46px;
    font-size: 16px;
  }

  .modal-purchase-row {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin: 0 -14px -14px;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .service-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .service-summary {
    max-width: none;
  }

  .service-timeline-wrap h3,
  .service-extra-grid h3 {
    font-size: 24px;
  }

  .service-timeline {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 0 18px;
  }

  .service-timeline::before {
    top: 12px;
    bottom: 12px;
    left: 18px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, rgba(8, 123, 93, 0.18), var(--mint-dark), rgba(8, 123, 93, 0.18));
  }

  .service-timeline li {
    min-height: 0;
    align-items: start;
    padding: 0 0 0 24px;
  }

  .service-timeline li:nth-child(even) {
    align-items: start;
  }

  .service-timeline li > span {
    top: 22px;
    left: 0;
    width: 38px;
    height: 38px;
    font-size: 13px;
    transform: translate(-50%, 0);
  }

  .service-timeline li > div {
    min-height: 0;
    padding: 14px;
  }

  .service-timeline strong {
    font-size: 17px;
  }

  .service-timeline p,
  .service-faq p {
    font-size: 14px;
  }

  .service-extra-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-audience,
  .service-faq-card {
    padding: 16px;
  }

  .service-audience > div {
    gap: 8px;
    margin-top: 12px;
  }

  .service-audience span {
    padding: 8px 10px;
    font-size: 13px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 40;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    border: 1px solid rgba(216, 222, 232, 0.95);
    border-radius: 14px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.2);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    color: #344054;
    font-size: 13px;
    font-weight: 950;
    background: transparent;
  }

  .mobile-bottom-nav a:active,
  .mobile-bottom-nav button:active {
    background: #eef5f2;
  }

  .mobile-bottom-nav [data-mobile-cart-count] {
    position: absolute;
    top: 1px;
    right: 4px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    background: var(--coral);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .promo-strip,
  .product-grid,
  .intro-grid,
  .case-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-card {
    min-height: auto;
  }

  .modal-purchase-row {
    grid-template-columns: 1fr;
  }

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

  .shipping-options {
    grid-template-columns: 1fr;
  }
}

.seo-landing-page {
  background: #f7fbf9;
}

.seo-landing-shell {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  gap: 22px;
}

.seo-landing-shell h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
}

.seo-landing-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.seo-landing-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.seo-landing-block h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.seo-landing-block ul {
  display: grid;
  margin: 0;
  padding-left: 1.2em;
  gap: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.seo-faq-list {
  display: grid;
  gap: 10px;
}

.seo-faq-list details {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f2f7f5;
}

.seo-faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.seo-landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
