:root {
  --bg: #f5f7f8;
  --panel: #ffffff;
  --panel-soft: #f9fbfb;
  --text: #111827;
  --muted: #637083;
  --line: #dfe7ec;
  --brand: #18d7d0;
  --brand-dark: #0f5b63;
  --brand-shade: #14c6c0;
  --brand-soft: #e9fbfa;
  --accent: #f59e0b;
  --danger: #dc2626;
  --success: #15803d;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
  --radius: 8px;
  --header-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(245, 247, 248, 0) 340px),
    var(--bg);
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 86px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.commerce-strip {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.commerce-strip__mobile {
  display: none;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
  background: #fff;
}

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

.brand strong {
  font-weight: 650;
}

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

.global-search {
  position: relative;
  height: 48px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 0 10px;
}

.global-search:focus-within {
  border-color: rgba(24, 215, 208, 0.55);
  box-shadow: 0 0 0 4px rgba(24, 215, 208, 0.12);
}

.search-icon {
  color: var(--brand);
  display: grid;
  place-items: center;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: min(760px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
}

.dropdown-header strong {
  font-size: 14px;
}

.dropdown-header button {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.dropdown-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-top: 1px solid #edf2f5;
  background: #fff;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dropdown-row--product {
  align-items: center;
}

.dropdown-row--product .dropdown-product-image {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #e4ebf1;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

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

.dropdown-product-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dropdown-product-copy strong,
.dropdown-product-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-product-copy strong {
  font-size: 14px;
  color: var(--text);
}

.dropdown-product-copy small {
  color: var(--muted);
  font-size: 12px;
}

.dropdown-row:hover {
  background: var(--brand-soft);
}

.dropdown-row .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: 0 0 auto;
}

.dropdown-empty {
  border-top: 1px solid #edf2f5;
  padding: 14px 15px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.desktop-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  background: #e9f5f3;
  color: var(--brand-dark);
}

.quick-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  border-top: 1px solid #eef3f5;
}

.quick-nav--market {
  min-height: 48px;
  gap: 14px;
}

.quick-nav a,
.quick-nav button {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0 11px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
}

.quick-nav a:hover,
.quick-nav button:hover {
  background: #e9f5f3;
  color: var(--brand-dark);
}

.all-categories-link {
  border-radius: 8px !important;
  border: 1px solid rgba(24, 215, 208, 0.32);
  background: var(--brand-soft);
  color: var(--brand-dark) !important;
  padding: 0 14px !important;
  opacity: 1;
  visibility: visible;
}

.all-categories-link:hover {
  background: #d9f8f6 !important;
  color: var(--brand-dark) !important;
}

.all-categories-link .icon {
  width: 18px;
  height: 18px;
}

.categories-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

.categories-dropdown[hidden] {
  display: none;
}

.categories-dropdown__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  padding: 16px;
}

.categories-dropdown strong {
  display: block;
  margin-bottom: 12px;
  font-weight: 560;
}

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

.categories-dropdown__grid a,
.categories-dropdown aside a,
.categories-dropdown__all {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 10px;
  color: #334155;
  font-weight: 520;
}

.categories-dropdown__grid a:hover,
.categories-dropdown aside a:hover,
.categories-dropdown__all:hover {
  background: #eef8f6;
  color: var(--brand-dark);
}

.categories-dropdown__all {
  width: fit-content;
  margin-top: 12px;
  color: var(--brand-dark);
}

.categories-dropdown aside {
  border-left: 1px solid #edf2f5;
  padding-left: 18px;
}

.categories-dropdown aside a {
  justify-content: flex-start;
}

.categories-dropdown__empty {
  color: var(--muted);
}

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

.icon-button,
.cart-button,
.toolbar-button,
.back-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.icon-button,
.cart-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-weight: 650;
}

.account-initial--icon .icon {
  width: 20px;
  height: 20px;
}

.cart-icon {
  color: var(--brand);
}

.count-badge,
.bottom-tabs em {
  position: absolute;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.count-badge {
  top: -5px;
  right: -5px;
}

.view {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 34px;
  outline: 0;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.page-head h1,
.section-head h2,
.hero-copy h1 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: 0;
}

.page-head h1 {
  margin: 4px 0 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

.page-kicker,
.section-kicker,
.eyebrow {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 650;
}

.page-subtitle {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.panel,
.product-card,
.hero-panel,
.summary-panel,
.form-panel,
.empty-panel,
.modal-card,
.order-card,
.support-card {
  border: 1px solid rgba(223, 231, 236, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  overflow: hidden;
}

.commerce-home,
.market-home {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
}

.market-home {
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 12px;
}

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

.market-categories__head {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf2f5;
  padding: 0 14px;
}

.market-categories__head strong {
  font-size: 16px;
  font-weight: 560;
}

.market-categories__list {
  display: grid;
  align-content: start;
  padding: 8px;
}

.market-categories__list a,
.market-categories__all {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 8px;
  padding: 0 10px;
  color: #334155;
  font-weight: 520;
}

.market-categories__list a:hover,
.market-categories__all:hover {
  background: #eef8f6;
  color: var(--brand-dark);
}

.market-categories__all {
  border-top: 1px solid #edf2f5;
  border-radius: 0;
  color: var(--brand-dark);
}

.market-stage {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  min-width: 0;
}

.market-banner {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, var(--banner-a, #18d7d0), var(--banner-b, #0f5b63));
  color: #fff;
  transition: background 220ms ease;
}

.market-banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.market-banner .page-kicker {
  color: #ccfbf1;
}

.market-banner h1 {
  margin: 10px 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.04;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.market-banner p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.market-banner .button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.market-banner .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.market-banner__product {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  border-radius: 8px;
  background: var(--banner-soft, rgba(255, 255, 255, 0.92));
  color: var(--text);
  padding: 14px 16px;
}

.market-banner__product span {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.market-banner__product img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.market-banner__product strong {
  font-size: 25px;
}

.market-banner__product.has-discount strong,
.product-price.has-discount strong,
.detail-price.has-discount strong {
  color: var(--brand-dark);
}

.market-banner__product s {
  color: var(--muted);
  font-weight: 600;
}

.market-banner__product .product-rating {
  margin-top: -2px;
}

.hero-dots {
  display: flex;
  gap: 7px;
  margin-top: 20px;
}

.hero-dots span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots span.active {
  background: #fff;
}

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

.market-links a {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.market-links strong {
  font-size: 15px;
  font-weight: 560;
}

.market-links span {
  color: var(--muted);
  font-size: 13px;
}

.market-side {
  display: grid;
  align-content: start;
  grid-template-rows: auto;
  gap: 8px;
  min-width: 0;
}

.market-account-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.market-account-card span {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.market-account-card small {
  color: var(--muted);
  line-height: 1.45;
}

.market-mini-deals {
  display: grid;
  align-content: start;
  gap: 8px;
}

.mini-deal {
  min-height: 104px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 3px 9px;
  align-items: center;
  padding: 10px;
}

.mini-deal img {
  grid-row: 1 / 5;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f4f8f8;
  border-radius: 8px;
  padding: 7px;
  mix-blend-mode: multiply;
}

.mini-deal span {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.mini-deal strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.25;
}

.mini-deal b {
  font-size: 17px;
}

.mini-deal .product-rating {
  font-size: 11px;
}

.mini-deal .rating-stars span,
.mini-deal .rating-stars .icon {
  width: 11px;
  height: 11px;
}

.market-shortcuts {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.market-shortcuts a {
  min-height: 112px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: center;
}

.market-shortcuts a:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.market-shortcuts img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.market-shortcuts strong {
  font-size: 13px;
  font-weight: 520;
  line-height: 1.2;
}

.category-menu {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.category-menu strong {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 560;
}

.category-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 8px;
  padding: 0 9px;
  color: #334155;
  font-weight: 560;
}

.category-menu a:hover {
  background: #eef8f6;
  color: var(--brand-dark);
}

.hero-panel--commerce {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  min-height: 430px;
}

.deal-stack {
  display: grid;
  gap: 16px;
}

.deal-card {
  min-height: 0;
  padding: 14px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  overflow: hidden;
}

.deal-card span {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.deal-card strong {
  line-height: 1.25;
}

.product-body h3,
.cart-item h3,
.order-card__title,
.mini-deal strong,
.deal-card strong,
.cart-added-product strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-card b {
  font-size: 22px;
}

.deal-card img {
  align-self: end;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.trust-row article,
.trust-card-web {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.trust-card-web {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.trust-card-web:hover {
  border-color: rgba(15, 118, 110, 0.28);
  background: #fbfdfd;
}

.trust-card-web__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #effcf8;
  color: var(--brand);
}

.trust-card-web__icon .icon {
  width: 21px;
  height: 21px;
}

.trust-card-web__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.trust-card-web__copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

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

.trust-row article strong,
.trust-card-web strong {
  font-weight: 560;
}

.trust-row article span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.trust-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
}

.trust-dialog {
  width: min(520px, 100%);
  padding: 18px;
  border-radius: 8px;
}

.trust-dialog__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.trust-dialog__heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.trust-dialog__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #effcf8;
  color: var(--brand);
}

.trust-dialog__eyebrow {
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 560;
}

.trust-dialog h3 {
  margin: 3px 0 0;
  font-size: 22px;
}

.trust-dialog__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.trust-dialog__body {
  margin: 16px 0;
  color: #475569;
  line-height: 1.6;
}

.trust-dialog__list {
  display: grid;
  gap: 10px;
}

.trust-dialog__point {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.trust-dialog__point span {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.trust-dialog__point p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.app-install-prompt {
  width: min(1180px, calc(100% - 20px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  gap: 12px;
  align-items: center;
  border: 1px solid #bde7dc;
  border-radius: 8px;
  background: #e9f8f3;
  color: #134e4a;
  padding: 12px;
}

.app-install-prompt[hidden] {
  display: none;
}

.app-install-prompt strong,
.app-install-prompt span {
  display: block;
}

.app-install-prompt span {
  margin-top: 2px;
  font-size: 14px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 12px 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.hero-media {
  min-height: 360px;
  border-radius: 8px;
  background: #eef6f5;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  mix-blend-mode: multiply;
}

.hero-price {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.hero-price strong {
  font-size: 24px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover {
  background: #f7fafb;
}

.button.danger {
  background: var(--danger);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.section {
  margin-top: 30px;
}

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

.section-head h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.section-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.rail-shell {
  position: relative;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 280px);
  gap: 14px;
  overflow-x: auto;
  padding: 3px 1px 14px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-button {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-dark);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.rail-button:hover {
  border-color: rgba(24, 215, 208, 0.42);
  background: var(--brand-soft);
}

.rail-button .icon {
  width: 19px;
  height: 19px;
}

.rail-button--prev {
  left: -12px;
}

.rail-button--next {
  right: -12px;
}

.category-grid,
.product-grid,
.checkout-layout,
.profile-layout,
.orders-grid {
  display: grid;
  gap: 16px;
}

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

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

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 0.86;
  background: #f4f8f8;
  display: grid;
  place-items: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
}

.product-body {
  display: grid;
  gap: 3px;
  align-content: start;
  justify-items: start;
  padding: 10px 14px 12px;
}

.product-body h3 {
  margin: 0;
  min-height: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 560;
}

.product-price {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin-top: 1px;
}

.product-price strong {
  font-size: 19px;
  line-height: 1.05;
}

.product-price s {
  color: var(--muted);
  font-size: 13px;
}

.product-rating,
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-rating {
  min-height: 18px;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #d1d5db;
}

.rating-stars span {
  display: inline-flex;
  width: 12px;
  height: 12px;
}

.rating-stars .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.2;
}

.rating-stars .filled,
.rating-stars .filled .icon {
  color: #f59e0b;
  fill: #f59e0b;
}

.rating-chip .rating-stars span,
.rating-chip .rating-stars .icon {
  width: 13px;
  height: 13px;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  margin-top: 1px;
}

.category-card .product-media {
  aspect-ratio: 1 / 0.58;
}

.category-card .product-media img {
  width: 72%;
  height: 72%;
  padding: 0;
}

.category-card .product-body {
  min-height: 48px;
  place-items: center;
  padding: 8px 10px 10px;
  text-align: center;
}

.category-card .product-body h3 {
  min-height: 0;
  font-size: 13px;
  line-height: 1.25;
}

.category-rail {
  grid-auto-columns: minmax(132px, 160px);
  gap: 10px;
}

.category-rail .product-card {
  min-height: 0;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
}

.favorite-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(223, 231, 236, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  cursor: pointer;
}

.favorite-toggle .icon {
  margin: auto;
  width: 19px;
  height: 19px;
}

.favorite-toggle.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.product-favorite-toggle {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

.stock-chip {
  width: auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eefdf5;
  color: var(--success);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.2;
  white-space: normal;
}

.stock-chip.out {
  background: #fef2f2;
  color: var(--danger);
}

.stock-chip.low {
  background: #fef2f2;
  color: var(--danger);
}

.filters {
  display: grid;
  gap: 14px;
  padding: 14px;
  margin-bottom: 18px;
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.pill {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: #fff;
  color: #334155;
  font-weight: 520;
  cursor: pointer;
}

.pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 560;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.detail-gallery,
.detail-info {
  padding: 18px;
}

.detail-info {
  position: relative;
}

.detail-gallery {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-height) + 96px);
}

.main-product-image {
  height: min(470px, calc(100vh - 230px));
  min-height: 320px;
  max-height: 520px;
  border-radius: 8px;
  background: #f4f8f8;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.main-product-image img {
  width: min(100%, 520px);
  height: min(100%, 440px);
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
}

.thumb-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82px;
  gap: 10px;
  overflow-x: auto;
}

.thumb-row button {
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.thumb-row button.active {
  border-color: var(--brand);
}

.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.detail-info h1 {
  padding-right: 54px;
  margin: 10px 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.detail-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 14px 0;
}

.detail-price strong {
  font-size: 34px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.info-block {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.product-description {
  max-height: 9.8em;
  overflow: hidden;
}

.product-description.expanded {
  max-height: none;
}

.inline-toggle {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  padding: 0;
  font-weight: 650;
  cursor: pointer;
}

.product-buybar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 58;
  width: min(760px, calc(100% - 32px));
  min-height: 72px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(223, 231, 236, 0.98);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-buybar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.product-buybar__media {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #f4f8f8;
  display: grid;
  place-items: center;
}

.product-buybar__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  mix-blend-mode: multiply;
}

.product-buybar__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.product-buybar__copy strong {
  font-size: 22px;
}

.product-buybar__copy span {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.cart-added-backdrop {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.46);
}

.cart-added-modal {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.cart-added-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.cart-added-modal__head h2 {
  margin: 8px 0 0;
}

.cart-added-product {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #edf2f5;
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.cart-added-product img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f8f8;
  padding: 8px;
  mix-blend-mode: multiply;
}

.cart-added-product div {
  display: grid;
  gap: 5px;
}

.cart-added-product span {
  color: var(--muted);
}

.cart-added-product b {
  font-size: 20px;
}

.cart-added-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf2f5;
  border-bottom: 1px solid #edf2f5;
  padding: 12px 0;
}

.cart-added-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.spec-table {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid #edf2f5;
  padding-bottom: 8px;
}

.spec-row span {
  color: var(--muted);
}

.cart-layout,
.checkout-layout,
.profile-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.cart-mobile-checkout {
  display: none;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.cart-item img {
  width: 116px;
  height: 116px;
  border-radius: 8px;
  object-fit: contain;
  background: #f4f8f8;
  padding: 10px;
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.qty {
  display: inline-grid;
  grid-template-columns: 36px 42px 36px 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty button {
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.qty .icon {
  width: 17px;
  height: 17px;
}

.qty span {
  text-align: center;
  font-weight: 800;
}

.qty .remove {
  color: var(--danger);
}

.summary-panel,
.form-panel {
  padding: 18px;
}

.summary-panel {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f5;
  padding: 12px 0;
}

.summary-row.total {
  border-bottom: 0;
  font-size: 20px;
  font-weight: 800;
}

.note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.notice {
  border-radius: 8px;
  padding: 12px;
  background: #fff7ed;
  color: #9a3412;
  line-height: 1.5;
}

.notice.success {
  background: #ecfdf5;
  color: #166534;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-shade));
  color: #fff;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.profile-hero-card h2,
.plus-account-card h3 {
  margin: 4px 0 6px;
}

.profile-hero-card p,
.plus-account-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.plus-account-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #d9ece8;
  border-radius: 8px;
  background: #f3fbf8;
}

.plus-account-card.active {
  border-color: rgba(15, 118, 110, 0.35);
  background: #ecfdf5;
}

.plus-page-head {
  align-items: flex-start;
}

.plus-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 340px;
  gap: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(24, 215, 208, 0.16), rgba(15, 91, 99, 0.08)),
    #fff;
}

.plus-hero.active {
  background:
    linear-gradient(135deg, rgba(21, 128, 61, 0.12), rgba(24, 215, 208, 0.1)),
    #fff;
}

.plus-hero__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.plan-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.plus-hero h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

.plus-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.membership-meta {
  width: min(360px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.membership-meta span {
  color: var(--muted);
}

.membership-meta strong {
  color: var(--text);
}

.status-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.status-banner .icon {
  flex: 0 0 auto;
}

.status-banner--success {
  background: #ecfdf5;
  color: #166534;
}

.status-banner--error {
  background: #fef2f2;
  color: #b42318;
}

.status-banner--warning {
  background: #fff7ed;
  color: #9a3412;
}

.plus-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.plus-status-card {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 91, 99, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.plus-status-card strong {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 26px;
  line-height: 1.1;
}

.plus-status-card p {
  font-size: 15px;
}

.plus-mini-metrics {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.plus-mini-metrics span {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fbfb;
}

.plus-mini-metrics b {
  color: var(--text);
}

.plus-mini-metrics small {
  color: var(--muted);
}

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

.plus-benefit-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
}

.plus-benefit-card > span,
.plus-info-card__head .icon {
  color: var(--brand-dark);
}

.plus-benefit-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

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

.plus-info-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.plus-info-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plus-info-card__head strong {
  font-size: 17px;
}

.plus-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.account-section {
  margin-top: 22px;
}

.section-title {
  margin: 0 0 9px;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-list {
  overflow: hidden;
}

.section-row {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid #edf2f5;
  background: #fff;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.section-row:last-child {
  border-bottom: 0;
}

.section-row:hover {
  background: #f8fbfb;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eef8f6;
  color: var(--brand);
}

.section-icon .icon,
.section-row__aside .icon {
  width: 20px;
  height: 20px;
}

.section-content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.section-content strong {
  font-size: 15px;
}

.section-content span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section-row__aside {
  color: #94a3b8;
}

.session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
}

.session-card div {
  display: grid;
  gap: 4px;
}

.session-card span {
  color: var(--muted);
  font-size: 14px;
}

.profile-detail-card {
  max-width: 760px;
}

.security-intro {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
}

.security-intro .icon {
  color: var(--brand);
}

.form-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #334155;
  font-weight: 800;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
}

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

.address-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 24px;
  text-align: center;
}

.address-empty .icon {
  color: var(--brand);
}

.address-card {
  padding: 16px;
}

.address-card--default {
  border-color: rgba(15, 118, 110, 0.34);
}

.address-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.address-card__badge {
  border-radius: 999px;
  padding: 5px 8px;
  background: #ecfdf5;
  color: var(--success);
  font-size: 11px;
  font-weight: 900;
}

.address-card__body {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.address-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.button.danger-soft {
  background: #fef2f2;
  color: var(--danger);
  border-color: #fecaca;
}

.danger-link {
  color: var(--danger) !important;
}

.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
}

.feedback-modal {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.feedback-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.feedback-modal__head h2 {
  margin: 3px 0 0;
}

.feedback-modal .icon-button .icon {
  transform: rotate(45deg);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.empty-panel {
  padding: 32px;
  text-align: center;
}

.empty-panel h2 {
  margin: 0 0 8px;
}

.empty-panel p {
  max-width: 560px;
  margin: 0 auto 18px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

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

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

#authForm,
#forgotForm {
  display: grid;
  gap: 14px;
}

#authForm .field-grid {
  gap: 14px;
}

.auth-social {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

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

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

.google-button-host {
  min-height: 44px;
  display: grid;
  place-items: center;
}

.social-action-button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 650;
  cursor: pointer;
}

.social-action-button:disabled {
  color: var(--muted);
  cursor: wait;
}

.order-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.orders-shell {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.orders-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.orders-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfc;
  color: #334155;
  font: inherit;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
}

.orders-tab em {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e7eff4;
  color: #0f172a;
  font-size: 12px;
  font-style: normal;
}

.orders-tab.active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.orders-tab.active em {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

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

.order-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.order-group__head h2 {
  margin: 0;
  font-size: 20px;
}

.order-group__head span {
  color: var(--muted);
  font-size: 15px;
}

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

.order-card--summary {
  grid-template-columns: 84px minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 14px;
}

.order-card__media img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: contain;
  background: #f3f6f8;
}

.order-card__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-card__number {
  color: var(--muted);
  font-size: 13px;
}

.order-card__title {
  color: var(--text);
  line-height: 1.35;
  text-decoration: none;
}

.order-card__side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.order-card__chevron {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.order-card__chevron .icon {
  width: 16px;
  height: 16px;
}

.finance-alert-card,
.order-result-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  margin-bottom: 16px;
}

.finance-alert-card h2,
.order-result-hero h2 {
  margin: 4px 0;
  font-size: 22px;
}

.finance-alert-card p,
.order-result-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-card h3 {
  margin: 0;
}

.order-status {
  border-radius: 999px;
  background: #eef6f5;
  color: var(--brand-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}

.order-status.is-warning {
  background: #fff4d6;
  color: #9a5b00;
}

.order-status.is-neutral {
  background: #e9eef2;
  color: #526273;
}

.order-status.is-success {
  background: #d9f5e8;
  color: #117a4b;
}

.order-status.is-danger {
  background: #fee2e2;
  color: #b42318;
}

.order-result-hero.is-danger {
  border-color: #fecaca;
}

.timeline-card {
  margin-top: 16px;
  padding: 16px;
}

.timeline-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

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

.timeline-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.timeline-step > span {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
}

.timeline-step.done > span,
.timeline-step.current > span {
  border-color: var(--brand);
  background: var(--brand);
}

.timeline-step strong {
  color: var(--text);
  font-weight: 560;
}

.timeline-step p {
  margin: 3px 0 0;
  line-height: 1.45;
}

.summary-breakdown {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.payment-notice {
  display: grid;
  gap: 8px;
  border: 1px solid #f8d58b;
  border-radius: 8px;
  background: #fffaf0;
  padding: 12px;
}

.payment-notice p {
  margin: 0;
  color: var(--muted);
}

.button.danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  text-align: left;
  cursor: pointer;
}

.link-button.accent {
  color: var(--brand-dark);
}

.support-card {
  padding: 16px;
}

.support-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.support-faq {
  padding: 16px;
  display: grid;
  gap: 10px;
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.support-faq button {
  min-height: 42px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}

.chat-card {
  min-height: 610px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.review-panel {
  padding: 18px;
}

.review-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
}

.review-score .icon {
  color: var(--accent);
}

.review-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 8px 0 16px;
}

.review-form-toggle {
  margin: 0 0 12px;
}

.review-form__intro {
  display: grid;
  gap: 4px;
}

.review-form__intro p {
  margin: 0;
  color: var(--muted);
}

.rating-picker {
  display: flex;
  gap: 6px;
}

.rating-picker__star {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #cbd5e1;
  cursor: pointer;
}

.rating-picker__star.active {
  color: var(--accent);
  border-color: rgba(245, 158, 11, 0.45);
  background: #fffbeb;
}

.rating-picker__star.active .icon {
  fill: var(--accent);
  stroke: var(--accent);
}

.rating-picker__star .icon {
  margin: auto;
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
}

.review-upload {
  display: grid;
  gap: 10px;
  border: 1px solid #edf2f5;
  border-radius: 8px;
  background: #fbfdfd;
  padding: 12px;
}

.review-upload__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
}

.review-upload__button {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  cursor: pointer;
}

.review-upload__button input {
  display: none;
}

.review-upload__error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.review-upload__list,
.review-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-upload__item {
  position: relative;
}

.review-upload__preview,
.review-gallery__item {
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.review-upload__preview img,
.review-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-upload__remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: var(--danger);
  cursor: pointer;
}

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

.review-item {
  border: 1px solid #edf2f5;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.review-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #cbd5e1;
  margin: 8px 0;
}

.review-stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}

.review-stars .filled,
.review-stars .filled .icon {
  color: var(--accent);
  fill: var(--accent);
  stroke: var(--accent);
}

.review-badge {
  width: fit-content;
  display: inline-flex;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--success);
  padding: 4px 8px;
  font-size: 12px;
}

.review-title {
  display: block;
  margin-top: 8px;
}

.review-comment {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.55;
}

.review-comment__toggle {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  padding: 0 0 0 6px;
  cursor: pointer;
}

.review-gallery {
  margin-top: 10px;
}

.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.review-lightbox__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  display: grid;
  place-items: center;
}

.review-lightbox__panel img {
  max-height: calc(100vh - 110px);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.review-lightbox__close,
.review-lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.review-lightbox__close {
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 24px;
}

.review-lightbox__nav {
  top: 50%;
  width: 42px;
  height: 42px;
}

.review-lightbox__nav.prev {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}

.review-lightbox__nav.next {
  right: 0;
  transform: translateY(-50%);
}

.review-lightbox__nav .icon {
  margin: auto;
}

.review-lightbox__panel > span {
  margin-top: 10px;
  color: #fff;
}

.support-thread {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.chat-thread {
  min-height: 440px;
  max-height: 620px;
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: #f8fbfb;
}

.message {
  max-width: 78%;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f1f5f9;
  line-height: 1.45;
}

.message-bubble {
  max-width: min(78%, 560px);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6eef2;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.message-bubble.from-customer {
  justify-self: end;
  background: #e8f7f2;
  border-color: #c4eadf;
}

.message-bubble strong,
.message-bubble span {
  display: block;
}

.message-bubble p {
  margin: 7px 0;
  line-height: 1.5;
}

.message-bubble span {
  color: var(--muted);
  font-size: 12px;
}

.message-attachments {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.message-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.message-attachment img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.chat-composer textarea {
  width: 100%;
  min-height: 48px;
  max-height: 140px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  outline: 0;
}

.send-button {
  width: 52px;
  min-width: 52px;
  padding: 0;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(15, 91, 99, 0.98), rgba(13, 126, 122, 0.92)),
    #0f5b63;
  color: #ffffff;
}

.help-hero .page-kicker,
.help-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.help-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.15rem, 5.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.help-hero__copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.help-hero__copy p {
  max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.help-hero__panel {
  display: grid;
  align-content: end;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.help-hero__panel span {
  color: #18d7d0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-hero__panel strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.help-hero__panel p {
  margin: 0;
  line-height: 1.55;
}

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

.help-action-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

button.help-action-card {
  width: 100%;
  border: 1px solid rgba(223, 231, 236, 0.95);
  font: inherit;
  cursor: pointer;
}

.help-action-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eefafa;
  color: var(--brand-dark);
}

.help-action-card__icon .icon {
  width: 21px;
  height: 21px;
}

.help-action-card strong {
  font-size: 1.08rem;
}

.help-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.help-action-card em {
  margin-top: auto;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 850;
}

.help-popular {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  margin-bottom: 22px;
}

.help-popular h2 {
  margin: 6px 0 0;
  font-size: 1.65rem;
  line-height: 1.1;
}

.help-popular__list {
  display: grid;
  gap: 10px;
}

.help-popular__list button {
  display: grid;
  gap: 5px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}

.help-popular__list strong {
  color: var(--text);
}

.help-popular__list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.help-content {
  display: grid;
  gap: 12px;
}

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

.help-category {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.help-category__head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.help-category__head > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0fdfa;
  color: var(--brand-dark);
}

.help-category__head .icon {
  width: 22px;
  height: 22px;
}

.help-category h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
}

.help-category p {
  margin: 3px 0 0;
  color: var(--muted);
}

.accordion-list--compact {
  gap: 8px;
}

.accordion-list--compact .accordion-trigger {
  min-height: 50px;
  padding: 10px 12px;
}

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

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: #fff;
  padding: 0 14px;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.accordion-body {
  display: none;
  border-top: 1px solid #edf2f5;
  padding: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.accordion-item.open .accordion-body {
  display: block;
}

.security-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 16px;
}

.security-card strong {
  display: block;
  margin: 4px 0;
  font-size: 24px;
}

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

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.security-badges span {
  border-radius: 999px;
  background: #e9f5f3;
  color: var(--brand-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.checkout-main {
  display: grid;
  gap: 16px;
}

.checkout-message {
  margin: 0;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  padding: 12px;
  line-height: 1.45;
}

.checkout-address-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.checkout-address-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.checkout-address-option.selected {
  border-color: rgba(15, 118, 110, 0.38);
  background: #f4fbf9;
}

.checkout-address-option label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.checkout-address-option input {
  margin-top: 3px;
}

.checkout-address-option strong,
.checkout-address-option em {
  display: block;
}

.checkout-address-option strong {
  font-weight: 560;
}

.checkout-address-option em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.checkout-address-option__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.checkout-address-option__actions .button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.checkout-address-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid #edf2f5;
  margin-top: 14px;
  padding-top: 14px;
}

.checkout-address-form h3 {
  margin: 0;
  font-size: 18px;
}

.card-heading,
.option-list__heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.card-heading span,
.option-list__heading span {
  color: var(--muted);
  font-size: 14px;
}

.order-summary-card {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #edf2f5;
  padding-top: 10px;
}

.order-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f8f8;
  padding: 7px;
}

.order-item span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

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

.option-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(180px, 260px);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

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

.option-card--promo {
  grid-template-columns: 48px minmax(0, 1fr) minmax(240px, 380px);
}

.option-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e9f5f3;
  color: var(--brand-dark);
}

.option-copy strong,
.option-copy span {
  display: block;
}

.option-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.promo-message.success {
  color: var(--success);
}

.promo-message.error {
  color: var(--danger);
}

.promo-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.option-card select,
.option-card input[type="text"],
.option-card input:not([type]) {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}

.infinite-sentinel {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 22px;
}

.infinite-sentinel .loader {
  width: 24px;
  height: 24px;
}

.inline-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 14px 16px;
}

.inline-status .loader {
  width: 20px;
  height: 20px;
}

.inline-status.error {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 36px;
}

.site-footer--fixed-progressive {
  position: static;
  margin-top: 36px;
  box-shadow: none;
}

.has-fixed-footer .app-shell {
  padding-bottom: 86px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner--market {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.1fr);
  align-items: stretch;
  gap: 28px;
  padding: 34px 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.footer-column a,
.footer-column span {
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
}

.footer-column a:hover {
  color: var(--brand-dark);
}

.footer-column--highlight {
  border: 1px solid #d9ece8;
  border-radius: 8px;
  background: #f3fbf8;
  padding: 16px;
}

.footer-column--highlight .button {
  width: fit-content;
  margin-top: 6px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid #edf2f5;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  font-weight: 600;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand--copyright {
  display: block;
}

.footer-brand--copyright strong,
.footer-brand--copyright span {
  display: block;
}

.legal-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.legal-card h1 {
  margin: 8px 0 18px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

.legal-card h2 {
  margin: 28px 0 10px;
}

.legal-card h3 {
  margin: 20px 0 8px;
}

.legal-card p,
.legal-card li {
  color: #475569;
  line-height: 1.7;
}

.legal-card a {
  color: var(--brand-dark);
  font-weight: 800;
}

.legal-shell {
  padding: 0;
}

.legal-hero {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.legal-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 8px !important;
  padding: 12px 14px;
  border: 1px solid #cfe6e3;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark) !important;
  font-size: 15px !important;
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.legal-toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 14px;
  box-shadow: none;
}

.legal-toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.legal-toc a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.legal-content {
  padding: clamp(18px, 3vw, 30px);
  box-shadow: none;
}

.legal-content section:first-child h2 {
  margin-top: 0;
}

.legal-content h2 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.legal-content ul {
  padding-left: 20px;
}

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

.legal-summary article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.legal-summary strong,
.legal-summary span {
  display: block;
}

.legal-summary span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.legal-callout {
  padding: 14px;
  border: 1px solid #cfe6e3;
  border-radius: 8px;
  background: var(--brand-soft);
}

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

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

.legal-table th {
  background: #f8fbfb;
  color: var(--text);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.legal-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.legal-header__brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 120;
  width: min(760px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.message.customer {
  justify-self: end;
  background: #dcfce7;
}

.message small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  padding: 6px 8px max(6px, env(safe-area-inset-bottom));
}

.bottom-tabs a {
  position: relative;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.bottom-tabs span {
  line-height: 1;
}

.bottom-tabs .icon {
  width: 21px;
  height: 21px;
}

.bottom-tabs a.active {
  background: #e9f5f3;
  color: var(--brand-dark);
}

.bottom-tabs em {
  top: 3px;
  right: 20%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 100;
  width: min(460px, calc(100% - 32px));
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading-screen {
  min-height: 50vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
}

.seo-snapshot {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

.seo-snapshot img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.seo-snapshot span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-snapshot h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.seo-snapshot p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-snapshot strong {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.8rem;
  color: var(--brand-dark);
}

.loader {
  width: 34px;
  height: 34px;
  border: 3px solid #dbe7e9;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.48);
}

.modal-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  width: min(520px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 18px;
}

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

.modal-head h2 {
  margin: 0;
}

.close-modal {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.blog-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(24, 215, 208, 0.1), rgba(245, 247, 248, 0) 360px),
    var(--bg);
}

.blog-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-breadcrumb a,
.blog-read-link {
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-hero-market,
.blog-post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #effbfa);
  box-shadow: var(--shadow);
}

.blog-hero-copy,
.blog-post-copy,
.blog-main-list,
.blog-latest-section,
.blog-card-copy,
.blog-post-content {
  display: grid;
  gap: 18px;
}

.blog-hero-copy h1,
.blog-post-copy h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
}

.blog-hero-copy p,
.blog-post-copy p,
.blog-feature-card p,
.blog-card p,
.blog-post-content p,
.blog-post-content li,
.blog-app-box small {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blog-hero-copy p,
.blog-post-copy p {
  max-width: 620px;
  font-size: 1.06rem;
}

.blog-hero-panel,
.blog-post-media,
.blog-feature-image,
.blog-card-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-hero-panel {
  height: 360px;
}

.blog-hero-panel img,
.blog-post-media img,
.blog-feature-image img,
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

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

.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.blog-feature-image {
  height: 280px;
}

.blog-feature-card h2,
.blog-card h3,
.blog-post-content h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.18;
}

.blog-feature-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-category,
.blog-side-box > span,
.blog-app-box > span {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.blog-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.blog-card-image {
  height: 150px;
}

.blog-sidebar,
.blog-post-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 122px;
}

.blog-side-box,
.blog-app-box,
.blog-post-content section,
.blog-empty {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.blog-side-box a {
  color: var(--text);
  font-weight: 600;
}

.blog-app-box {
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}

.blog-app-box strong {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.18;
}

.blog-post-media {
  height: 360px;
  margin: 0;
}

.blog-post-content {
  max-width: 820px;
}

.blog-post-content h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.blog-post-content ul {
  margin: 0;
  padding-left: 20px;
}

.blog-actions,
.blog-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-product-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.blog-product-link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 118px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.blog-product-link:hover {
  border-color: rgba(15, 91, 99, 0.32);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.blog-product-link__image {
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-product-link__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-product-link__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.blog-product-link__body strong {
  display: -webkit-box;
  min-height: 2.5em;
  overflow: hidden;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-product-link__price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.blog-product-link__price-row del {
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-product-link__body em {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 800;
}

.blog-product-link__body em.is-discounted {
  color: #d20f2f;
}

.blog-footer {
  display: grid;
  gap: 12px;
  padding: 22px 16px;
}

.blog-footer-links {
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .commerce-home,
  .market-home {
    grid-template-columns: 1fr;
  }

  .category-menu,
  .market-categories__list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    overflow-x: auto;
    align-content: stretch;
  }

  .market-stage {
    grid-template-rows: auto auto;
  }

  .categories-dropdown__inner {
    grid-template-columns: 1fr;
  }

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

  .categories-dropdown aside {
    border-left: 0;
    border-top: 1px solid #edf2f5;
    padding: 14px 0 0;
  }

  .market-categories {
    grid-template-rows: auto;
  }

  .market-categories__head,
  .market-categories__all,
  .category-menu strong {
    display: none;
  }

  .market-categories__list a {
    justify-content: center;
  }

  .market-categories__list b {
    display: none;
  }

  .market-side {
    grid-template-rows: auto;
  }

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

  .mini-deal {
    grid-template-columns: 72px minmax(0, 1fr);
  }

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

  .trust-row,
  .market-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-panel,
  .plus-hero,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .profile-layout,
  .support-shell,
  .help-hero,
  .help-popular,
  .help-category-grid {
    grid-template-columns: 1fr;
  }

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

  .plus-benefits-grid,
  .plus-commercial-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    position: static;
  }

  .main-product-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 0.82;
  }

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

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

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

  .summary-panel {
    position: static;
  }

  .support-faq {
    position: static;
  }

  .option-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .option-card select,
  .option-card input[type="text"],
  .option-card input:not([type]) {
    grid-column: 1 / -1;
  }

  .promo-control {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .security-card,
  .footer-inner,
  .cookie-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .security-badges,
  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-grid,
  .legal-summary {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .blog-hero-market,
  .blog-layout,
  .blog-post-hero,
  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .blog-post-aside {
    position: static;
  }
}

@media (max-width: 740px) {
  :root {
    --header-height: 64px;
  }

  .seo-snapshot {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .seo-snapshot img {
    max-height: 260px;
  }

  .seo-snapshot h1 {
    font-size: 2rem;
  }

  .order-card--summary {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .order-card__media img {
    width: 72px;
    height: 72px;
  }

  .order-card__side {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: stretch;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .order-card__side strong {
    justify-self: end;
  }

  .finance-alert-card,
  .order-result-hero {
    display: grid;
    align-items: start;
  }

  .app-shell {
    padding-bottom: 78px;
  }

  .topbar {
    width: min(100% - 20px, 1180px);
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .search-dropdown {
    left: 0;
    width: 100%;
  }

  .commerce-strip {
    display: flex;
    min-height: 30px;
    padding: 0 10px;
    gap: 0;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
  }

  .commerce-strip__full {
    display: none;
  }

  .commerce-strip__mobile {
    display: inline-flex;
    align-items: center;
  }

  .quick-nav {
    width: min(100% - 20px, 1180px);
  }

  .quick-nav--market {
    min-height: 40px;
    gap: 6px;
  }

  .quick-nav--market a:nth-of-type(n+3) {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    display: none;
  }

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

  .global-search {
    height: 42px;
    grid-template-columns: 28px 1fr;
    padding: 0 8px;
  }

  .global-search input {
    font-size: 16px;
  }

  .global-search input::placeholder {
    color: #8c98a8;
    opacity: 1;
  }

  .topbar .global-search input::placeholder {
    color: transparent;
  }

  .header-actions .icon-button {
    display: none;
  }

  .view {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .blog-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .blog-hero-market,
  .blog-post-hero {
    padding: 18px;
  }

  .blog-hero-copy h1,
  .blog-post-copy h1 {
    max-width: none;
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  .help-hero {
    padding: 20px;
  }

  .help-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .help-hero__panel {
    padding: 16px;
  }

  .help-action-grid {
    grid-template-columns: 1fr;
  }

  .help-action-card {
    min-height: 0;
  }

  .help-popular {
    padding: 16px;
  }

  .blog-hero-panel,
  .blog-post-media {
    height: 280px;
  }

  .blog-feature-card,
  .blog-card,
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-feature-image,
  .blog-card-image {
    height: 210px;
  }

  .bottom-tabs {
    display: grid;
  }

  .site-footer {
    margin-bottom: 70px;
  }

  .page-head {
    display: block;
  }

  .page-head h1 {
    font-size: 32px;
  }

  .hero-panel {
    padding: 14px;
  }

  .hero-panel--commerce {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .market-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .market-banner__copy h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .market-banner__product {
    min-height: 210px;
  }

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

  .categories-dropdown {
    width: min(100% - 20px, 1180px);
  }

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

  .hero-copy {
    min-height: auto;
    padding: 8px 2px 4px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-media {
    min-height: 260px;
  }

  .deal-stack,
  .trust-row,
  .market-mini-deals,
  .market-shortcuts {
    grid-template-columns: 1fr;
  }

  .app-install-prompt {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .app-install-prompt .button {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero-price {
    position: static;
    margin: 0 10px 10px;
  }

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

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

  .product-body h3 {
    font-size: 14px;
  }

  .product-price strong {
    font-size: 18px;
  }

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

  .profile-hero-card,
  .plus-account-card,
  .session-card {
    align-items: stretch;
  }

  .plus-account-card,
  .session-card {
    flex-direction: column;
  }

  .section-row {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    padding: 12px;
  }

  .section-icon {
    width: 38px;
    height: 38px;
  }

  .modal-actions,
  .address-card__actions {
    flex-direction: column;
  }

  .chat-card {
    min-height: 520px;
  }

  .chat-thread {
    min-height: 360px;
    padding: 12px;
  }

  .message-bubble {
    max-width: 92%;
  }

  .cookie-actions,
  .cookie-actions .button {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item img {
    width: 92px;
    height: 92px;
  }

  .cart-footer {
    align-items: start;
    flex-direction: column;
  }

  .cart-layout .summary-panel {
    padding-bottom: 90px;
  }

  .cart-mobile-checkout {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 64;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
    padding: 10px;
  }

  .cart-mobile-checkout span,
  .cart-mobile-checkout small {
    display: block;
  }

  .cart-mobile-checkout strong {
    color: var(--text);
    font-size: 18px;
  }

  .cart-mobile-checkout small {
    color: var(--muted);
    font-size: 12px;
  }

  .cart-mobile-checkout .button {
    min-height: 42px;
    white-space: nowrap;
  }

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

  .detail-gallery,
  .detail-info,
  .summary-panel,
  .form-panel {
    padding: 14px;
  }

  .detail-info h1 {
    padding-right: 44px;
    font-size: 25px;
    line-height: 1.12;
  }

  .detail-price strong {
    font-size: 30px;
  }

  .detail-info .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-buybar {
    bottom: 78px;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .product-buybar__media {
    width: 46px;
    height: 46px;
  }

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

  .product-buybar__actions .button {
    flex: 1;
  }

  .cart-added-actions {
    grid-template-columns: 1fr;
  }

  .checkout-address-option {
    grid-template-columns: 1fr;
  }

  .checkout-address-option__actions {
    justify-content: stretch;
  }

  .checkout-address-option__actions .button {
    flex: 1 1 auto;
  }
}

@media (max-width: 430px) {
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-media {
    aspect-ratio: 1 / 0.92;
  }

  .product-media img {
    padding: 14px;
  }

  .button {
    width: 100%;
  }

  .profile-hero-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 25px;
  }
}

.floating-support {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 90;
  max-width: min(390px, calc(100vw - 24px));
  font-family: inherit;
}

.floating-support[hidden] {
  display: none;
}

.floating-support__launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  border: 0;
  border-radius: 999px;
  background: #120047;
  color: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.28);
  padding: 8px 14px 8px 8px;
  cursor: pointer;
}

.floating-support__bubble {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18d7d0, #ffffff);
  color: #120047;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.88);
}

.floating-support__bubble .icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.6;
}

.floating-support__badge {
  position: absolute;
  top: -4px;
  left: 42px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 0 5px;
}

.floating-support__hint {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.floating-support__panel {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.floating-support__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  background: #120047;
  color: #fff;
  padding: 16px 18px;
}

.floating-support__head strong,
.floating-support__head span {
  display: block;
}

.floating-support__head strong {
  font-size: 16px;
  line-height: 1.2;
}

.floating-support__head span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.floating-support__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.floating-support__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.floating-support__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.floating-support__quick {
  display: grid;
  gap: 8px;
}

.floating-support__thread {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fbfc;
  padding: 12px;
}

.floating-support__empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 18px 10px;
}

.floating-support__message {
  max-width: 88%;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.floating-support__message.is-customer {
  justify-self: end;
  background: #0f5b63;
  color: #fff;
}

.floating-support__message.is-support {
  justify-self: start;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.floating-support__message strong,
.floating-support__message span {
  display: block;
}

.floating-support__message strong {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.82;
}

.floating-support__message p {
  margin: 5px 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.floating-support__message span {
  font-size: 11px;
  opacity: 0.68;
  text-align: right;
}

.floating-support__quick button {
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: #f7fbfb;
  color: var(--text);
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.floating-support__end {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #0f5b63;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.floating-support__end:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.floating-support__form,
.floating-support__fields {
  display: grid;
  gap: 10px;
}

.floating-support__fields {
  grid-template-columns: 1fr 1fr;
}

.floating-support__form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.floating-support__form input,
.floating-support__form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 10px 11px;
}

.floating-support__form textarea {
  min-height: 92px;
  resize: vertical;
}

.floating-support__notice,
.floating-support__error {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.floating-support__notice {
  background: #e9fbf7;
  color: #075e54;
}

.floating-support__error {
  background: #fff1f2;
  color: #b42318;
}

@media (max-width: 760px) {
  .floating-support {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .floating-support.is-commerce:not(.is-open) {
    bottom: calc(146px + env(safe-area-inset-bottom));
  }

  .floating-support.is-open {
    left: 8px;
    right: 8px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    max-width: none;
  }

  .floating-support__fields {
    grid-template-columns: 1fr;
  }

  .floating-support__launcher {
    padding-right: 10px;
  }

  .floating-support__hint {
    display: none;
  }
}
