/* Qorg‘on Shop v18 — curated marketplace experience */

.app-shell.shop-active .main-panel {
  min-width: 0;
  background: #f6f7fb;
}

.app-shell.portal-active.shop-active:not(.media-active) .workspace {
  grid-template-columns: 74px minmax(220px, 360px) 5px minmax(0, 1fr) !important;
}

.app-shell.shop-active .tools-panel {
  display: none;
}

.app-shell.shop-active .conversation-header,
.app-shell.shop-active .conversation-search-panel,
.app-shell.shop-active .composer,
.app-shell.shop-active .jump-latest-button {
  display: none !important;
}

.app-shell.shop-active .content-feed {
  display: block;
  padding: 0;
  overflow: auto;
  background:
    radial-gradient(circle at 95% 4%, rgba(66, 86, 255, 0.09), transparent 25rem),
    #f6f7fb;
}

.shop-command {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(280px, 680px) auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(22px, 4vw, 62px);
  border-bottom: 1px solid #e5e8f0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(31, 42, 68, 0.05);
  backdrop-filter: blur(20px);
}

.shop-wordmark,
.shop-command-actions button,
.shop-category-strip button,
.shop-product-card button,
.shop-side-v18 button,
.shop-merch-section > header button,
.shop-hero-v18 button,
.shop-maker-story button,
.shop-detail-page button,
.shop-account-page button,
.shop-seller-page button,
.shop-cart-overlay button {
  font: inherit;
}

.shop-wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  color: #182033;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.shop-wordmark > span,
.shop-side-v18 > header > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #3049ee, #7237d7);
  box-shadow: 0 10px 24px rgba(61, 70, 220, 0.24);
}

.shop-wordmark svg,
.shop-side-v18 > header > span svg {
  width: 20px;
}

.shop-wordmark div,
.shop-side-v18 > header div {
  display: grid;
  gap: 2px;
}

.shop-wordmark strong,
.shop-side-v18 > header strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.shop-wordmark small,
.shop-side-v18 > header small {
  color: #7a8293;
  font-size: 11px;
}

.shop-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #dfe3ed;
  border-radius: 15px;
  background: #f8f9fc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.shop-search:focus-within {
  border-color: #6574ec;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75, 88, 232, 0.1);
}

.shop-search > svg {
  width: 18px;
  margin-left: 16px;
  color: #7d8495;
}

.shop-search input {
  min-width: 0;
  padding: 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #20263a;
  font: inherit;
}

.shop-search button {
  align-self: stretch;
  padding: 0 20px;
  border: 0;
  background: #2637cc;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.shop-command-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.shop-command-actions button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #e1e5ee;
  border-radius: 13px;
  background: #fff;
  color: #374052;
  cursor: pointer;
}

.shop-command-actions svg {
  width: 18px;
}

.shop-cart-button b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 99px;
  background: #2637cc;
  color: #fff;
  font-size: 10px;
}

.shop-home,
.shop-catalog-page,
.shop-detail-page,
.shop-account-page,
.shop-seller-page {
  width: min(1460px, calc(100% - clamp(32px, 7vw, 104px)));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.shop-hero-v18 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 75% 14%, rgba(101, 121, 255, 0.38), transparent 27%),
    linear-gradient(135deg, #151c44, #1a2458 55%, #263b87);
  color: #fff;
  box-shadow: 0 26px 70px rgba(30, 42, 101, 0.2);
}

.shop-hero-v18 > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 6vw, 86px);
}

.shop-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: #cfd6ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-hero-label svg {
  width: 17px;
}

.shop-hero-v18 h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(39px, 4.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.shop-hero-v18 h1 em {
  color: #9faeff;
  font-style: normal;
}

.shop-hero-v18 > div > p {
  max-width: 650px;
  margin: 24px 0 31px;
  color: #c5cbed;
  font-size: 16px;
  line-height: 1.68;
}

.shop-hero-v18 > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-hero-v18 button,
.shop-maker-story > div:first-child button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 780;
  cursor: pointer;
}

.shop-hero-v18 button.primary {
  border-color: #fff;
  background: #fff;
  color: #1e2d8e;
}

.shop-hero-v18 button svg,
.shop-maker-story button svg {
  width: 18px;
}

.shop-hero-v18 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #cbd1ea;
  font-size: 12px;
}

.shop-hero-v18 li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-hero-v18 li svg {
  width: 15px;
  color: #88dfc1;
}

.shop-hero-v18 > aside {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 52%),
    radial-gradient(circle, rgba(116, 139, 255, .24), transparent 62%);
}

.shop-hero-v18 > aside::before,
.shop-hero-v18 > aside::after {
  position: absolute;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
}

.shop-hero-v18 > aside::after {
  width: 240px;
  height: 240px;
}

.shop-hero-object {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(300px, 76%);
  gap: 8px;
  padding: 29px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 25px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 30px 60px rgba(8, 14, 52, .25);
  backdrop-filter: blur(22px);
  transform: rotate(-3deg);
}

.shop-hero-object > span {
  display: grid;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 29px;
  background: linear-gradient(145deg, #8291ff, #4055ee);
  box-shadow: 0 20px 40px rgba(23,33,110,.35);
}

.shop-hero-object > span svg {
  width: 54px;
  height: 54px;
}

.shop-hero-object b,
.shop-hero-object small {
  color: #bdc6f0;
  font-size: 11px;
}

.shop-hero-object strong {
  font-size: 18px;
}

.shop-hero-object em {
  margin-top: 6px;
  font-size: 21px;
  font-style: normal;
  font-weight: 850;
}

.shop-hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(15, 22, 68, .76);
  box-shadow: 0 18px 44px rgba(5, 10, 38, .25);
  backdrop-filter: blur(14px);
}

.shop-hero-float.maker { left: 5%; bottom: 12%; }
.shop-hero-float.quality { top: 14%; right: 4%; }
.shop-hero-float > svg { width: 22px; color: #95a5ff; }
.shop-hero-float > b { font-size: 25px; color: #a9efcf; }
.shop-hero-float span { display: grid; gap: 2px; }
.shop-hero-float strong { font-size: 11px; }
.shop-hero-float small { color: #aeb6d8; font-size: 9px; }

.shop-category-strip {
  display: flex;
  gap: 9px;
  margin: 22px 0;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid #e4e7ef;
  border-radius: 18px;
  background: #fff;
  scrollbar-width: none;
}

.shop-category-strip::-webkit-scrollbar { display: none; }

.shop-category-strip button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 14px;
  white-space: nowrap;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5f6777;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.shop-category-strip button span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: #f0f2f7;
}

.shop-category-strip button svg { width: 15px; }
.shop-category-strip button:hover { color: #2637cc; background: #f6f7fd; }
.shop-category-strip button.active { color: #2637cc; background: #eef0ff; }
.shop-category-strip button.active span { color: #fff; background: #3b49d8; }

.shop-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 0 0 54px;
}

.shop-principles article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 17px 19px;
  border: 1px solid #e5e8ef;
  border-radius: 17px;
  background: #fff;
}

.shop-principles article > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #eef0ff;
  color: #3c4bdd;
}

.shop-principles svg { width: 19px; }
.shop-principles div { display: grid; gap: 3px; }
.shop-principles strong { font-size: 13px; }
.shop-principles small { color: #7b8290; font-size: 10px; line-height: 1.45; }

.shop-merch-section { margin: 0 0 60px; }
.shop-merch-section > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 21px;
}

.shop-merch-section > header > div > span,
.shop-catalog-head > div > span,
.shop-account-page > header > span,
.shop-seller-page > header span,
.seller-checklist > span {
  color: #4353db;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.shop-merch-section h2,
.shop-maker-story h2,
.shop-catalog-head h1,
.shop-account-page h1,
.shop-seller-page h1 {
  margin: 5px 0 7px;
  color: #171d2c;
  letter-spacing: -.035em;
}

.shop-merch-section h2 { font-size: clamp(25px, 2.2vw, 34px); }
.shop-merch-section > header p,
.shop-catalog-head p,
.shop-account-page > header p,
.shop-seller-page > header p {
  margin: 0;
  color: #767e8e;
  font-size: 12px;
  line-height: 1.55;
}

.shop-merch-section > header > button,
.shop-catalog-head > div > button,
.shop-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: #eceffd;
  color: #3646cf;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.shop-merch-section > header button svg,
.shop-catalog-head button svg,
.shop-detail-back svg { width: 15px; }

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

.shop-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e6ed;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(35, 45, 77, .045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-product-card:hover {
  z-index: 2;
  border-color: #cbd1e2;
  box-shadow: 0 20px 45px rgba(35,45,77,.11);
  transform: translateY(-3px);
}

.shop-product-visual {
  position: relative;
  display: grid;
  width: 100%;
  height: 205px;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #eef0f7;
  cursor: pointer;
}

.shop-product-visual::after,
.shop-gallery-main::after,
.seller-listings article > span::after,
.shop-cart-lines article > span::after,
.maker-mini > span::after {
  position: absolute;
  inset: 13%;
  content: "";
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}

.shop-product-icon,
.shop-gallery-main > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  filter: drop-shadow(0 13px 15px rgba(28,34,72,.18));
}

.shop-product-icon svg { width: 66px; height: 66px; stroke-width: 1.35; }
.tone-indigo { background: linear-gradient(145deg, #8490f8, #4452d9) !important; }
.tone-cyan { background: linear-gradient(145deg, #75d6e7, #278fa9) !important; }
.tone-emerald { background: linear-gradient(145deg, #8fd9bd, #378d70) !important; }
.tone-violet { background: linear-gradient(145deg, #b39af5, #7154c5) !important; }
.tone-amber { background: linear-gradient(145deg, #e8c580, #ae7729) !important; }
.tone-wood { background: linear-gradient(145deg, #d2aa78, #825236) !important; }
.tone-rose { background: linear-gradient(145deg, #e7aea9, #a95d69) !important; }
.tone-blue { background: linear-gradient(145deg, #8dbbe9, #4475b4) !important; }
.tone-slate { background: linear-gradient(145deg, #a5afbf, #566173) !important; }
.tone-sage { background: linear-gradient(145deg, #b4c6a9, #758767) !important; }
.tone-orange { background: linear-gradient(145deg, #e4ad74, #aa673c) !important; }
.tone-teal { background: linear-gradient(145deg, #75c9c1, #327c78) !important; }

.shop-product-badges {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.shop-product-badges em,
.shop-gallery-main em,
.shop-gallery-main b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.9);
  color: #28304a;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  box-shadow: 0 5px 12px rgba(23,28,58,.1);
}

.shop-product-badges svg { width: 10px; }
.shop-product-badges .sale { color: #b83248; }
.shop-product-badges .new { color: #2b7757; }
.shop-product-visual > small {
  position: absolute;
  right: 11px;
  bottom: 10px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(21,27,48,.58);
  color: #fff;
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.shop-product-copy { padding: 16px; }
.shop-card-kicker,
.shop-card-proof,
.shop-product-card footer,
.shop-seller-line {
  display: flex;
  align-items: center;
}

.shop-card-kicker { justify-content: space-between; }
.shop-card-kicker > span { color: #5965c8; font-size: 9px; font-weight: 820; text-transform: uppercase; }
.shop-card-kicker button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f3f4f8;
  color: #8a91a0;
  cursor: pointer;
}
.shop-card-kicker button.active { color: #fff; background: #3b49d8; }
.shop-card-kicker svg { width: 14px; }

.shop-product-title {
  display: block;
  width: 100%;
  margin: 8px 0 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1e2433;
  font-size: 14px;
  font-weight: 810;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.shop-product-copy > p {
  min-height: 36px;
  margin: 0 0 12px;
  color: #757d8c;
  font-size: 10px;
  line-height: 1.5;
}

.shop-seller-line {
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

.shop-seller-line > span,
.shop-seller-card > span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e9ebf8;
  color: #4552c5;
  font-size: 8px;
  font-weight: 850;
}

.shop-seller-line > div { display: grid; min-width: 0; gap: 1px; }
.shop-seller-line strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shop-seller-line small { color: #7d8491; font-size: 8px; }
.shop-seller-line small svg { width: 10px; vertical-align: -2px; color: #3b7ee8; }

.shop-card-proof {
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  color: #737b89;
  font-size: 9px;
}

.shop-rating,
.shop-new-rating,
.shop-card-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shop-rating svg { width: 12px; fill: #efa925; color: #efa925; }
.shop-rating small { color: #8c929f; }
.shop-new-rating { color: #33795b; font-weight: 750; }
.shop-new-rating svg,
.shop-card-proof > span svg { width: 12px; }

.shop-product-card footer {
  justify-content: space-between;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid #edf0f4;
}

.shop-product-card footer > div { display: grid; gap: 1px; }
.shop-product-card footer strong { color: #192036; font-size: 15px; }
.shop-product-card footer del { color: #9298a4; font-size: 9px; }
.shop-product-card footer > button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #2e3fd3;
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease;
}
.shop-product-card footer > button:hover { transform: scale(1.06); }
.shop-product-card footer svg { width: 17px; }

.shop-maker-story {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 34px;
  align-items: center;
  margin: 0 0 60px;
  padding: clamp(28px, 4vw, 55px);
  overflow: hidden;
  border-radius: 27px;
  background: #20291f;
  color: #fff;
}

.shop-maker-story > div:first-child > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a9d59d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.shop-maker-story > div:first-child > span svg { width: 15px; }
.shop-maker-story h2 { color: #fff; font-size: clamp(28px, 3vw, 43px); }
.shop-maker-story p { color: #b8c3b5; font-size: 12px; line-height: 1.65; }
.shop-maker-story > div:first-child button { margin-top: 13px; background: #f4f4e9; color: #283323; }
.shop-maker-story > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.maker-mini {
  min-width: 0;
  padding: 0 0 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.maker-mini > span { position: relative; display: grid; height: 125px; place-items: center; background: rgba(255,255,255,.12); }
.maker-mini > span svg { position: relative; z-index: 1; width: 43px; height: 43px; }
.maker-mini strong,
.maker-mini small { display: block; margin: 11px 13px 0; }
.maker-mini strong { overflow: hidden; font-size: 11px; line-height: 1.35; }
.maker-mini small { margin-top: 4px; color: rgba(255,255,255,.7); font-size: 8px; }

/* Sidebar */
.shop-side-v18 { display: grid; gap: 17px; padding: 7px; }
.shop-side-v18 > header { display: flex; align-items: center; gap: 11px; padding: 9px 7px 15px; border-bottom: 1px solid var(--line); }
.shop-side-v18 nav { display: grid; gap: 4px; }
.shop-side-v18 nav button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.shop-side-v18 nav button:hover { background: color-mix(in srgb, var(--blue-soft) 52%, transparent); }
.shop-side-v18 nav button.active { background: color-mix(in srgb, var(--blue-soft) 75%, var(--surface)); color: var(--blue); }
.shop-side-v18 nav button > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--surface-2) 78%, var(--blue-soft)); }
.shop-side-v18 nav button.active > span { background: var(--blue); color: #fff; }
.shop-side-v18 nav button svg { width: 16px; }
.shop-side-v18 nav button > div { display: grid; min-width: 0; gap: 2px; }
.shop-side-v18 nav button strong { font-size: 11px; }
.shop-side-v18 nav button small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.shop-side-v18 nav button > b { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 99px; background: var(--surface); font-size: 8px; }
.shop-side-v18 > section { display: flex; gap: 10px; padding: 14px; border: 1px solid color-mix(in srgb, var(--teal) 24%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--teal) 8%, var(--surface)); }
.shop-side-v18 > section > svg { width: 19px; flex: 0 0 auto; color: var(--teal); }
.shop-side-v18 > section div { display: grid; gap: 3px; }
.shop-side-v18 > section strong { font-size: 10px; }
.shop-side-v18 > section small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.shop-side-sell { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 780; cursor: pointer; }
.shop-side-sell svg { width: 15px; }

/* Catalog */
.shop-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 7px 0 4px; }
.shop-catalog-head > div > button { margin-bottom: 25px; }
.shop-catalog-head h1,
.shop-account-page h1,
.shop-seller-page h1 { font-size: clamp(34px, 4vw, 53px); }
.shop-catalog-head > label { display: grid; gap: 6px; color: #767e8e; font-size: 9px; font-weight: 750; }
.shop-catalog-head select { min-width: 185px; height: 42px; padding: 0 36px 0 12px; border: 1px solid #dde1eb; border-radius: 12px; background: #fff; color: #293044; }
.shop-catalog-page > .shop-product-grid { margin-top: 25px; }
.shop-empty { display: grid; max-width: 460px; margin: 70px auto; place-items: center; text-align: center; }
.shop-empty > span,
.shop-cart-empty > span { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 22px; background: #eceffd; color: #4453d8; }
.shop-empty svg { width: 30px; }
.shop-empty h2 { margin: 18px 0 6px; }
.shop-empty p { margin: 0; color: #7b8391; font-size: 12px; }
.shop-empty button { margin-top: 17px; padding: 11px 15px; border: 0; border-radius: 11px; background: #303fd0; color: #fff; font-weight: 750; cursor: pointer; }

/* Product detail */
.shop-detail-back { margin-bottom: 21px; }
.shop-detail-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(330px, 1fr) 310px; gap: clamp(22px, 3vw, 45px); align-items: start; }
.shop-gallery-main { position: relative; display: grid; min-height: 480px; overflow: hidden; place-items: center; border-radius: 25px; }
.shop-gallery-main > span svg { width: 150px; height: 150px; stroke-width: 1; }
.shop-gallery-main > div { position: absolute; z-index: 2; right: 16px; bottom: 16px; left: 16px; display: flex; justify-content: space-between; }
.shop-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 9px; }
.shop-gallery-thumbs button { display: grid; height: 75px; place-items: center; border: 1px solid #e1e5ed; border-radius: 14px; background: #fff; color: #7a8290; cursor: pointer; }
.shop-gallery-thumbs button.active { border: 2px solid #4856dc; color: #3e4ed8; }
.shop-gallery-thumbs svg { width: 24px; }
.shop-detail-info { padding-top: 9px; }
.shop-detail-kicker { display: flex; align-items: center; gap: 9px; color: #4453d6; font-size: 10px; font-weight: 830; text-transform: uppercase; }
.shop-detail-kicker em { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 99px; background: #e8f6ef; color: #2f7758; font-size: 8px; font-style: normal; text-transform: none; }
.shop-detail-kicker em.new { background: #eff6e8; }
.shop-detail-kicker svg { width: 11px; }
.shop-detail-info h1 { margin: 11px 0 12px; color: #181e2c; font-size: clamp(30px, 3vw, 45px); line-height: 1.07; letter-spacing: -.045em; }
.shop-detail-rating { display: flex; align-items: center; gap: 7px; color: #858b98; font-size: 10px; }
.shop-detail-rating button { padding: 0; border: 0; background: transparent; color: #4252d4; cursor: pointer; }
.shop-detail-lead { margin: 24px 0; color: #626b7b; font-size: 13px; line-height: 1.72; }
.shop-specs { padding: 19px; border: 1px solid #e3e6ed; border-radius: 17px; background: #fff; }
.shop-specs h2 { margin: 0 0 13px; font-size: 13px; }
.shop-specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 0; }
.shop-specs dl > div { display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: #f6f7fa; }
.shop-specs dt { color: #868d9a; font-size: 8px; }
.shop-specs dd { margin: 0; font-size: 10px; font-weight: 760; }
.shop-seller-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; margin-top: 16px; padding: 13px; border: 1px solid #e2e5ed; border-radius: 15px; background: #fff; text-align: left; cursor: pointer; }
.shop-seller-card > span { width: 42px; height: 42px; }
.shop-seller-card > div { display: grid; gap: 2px; }
.shop-seller-card strong { font-size: 11px; }
.shop-seller-card strong svg { width: 13px; margin-left: 4px; color: #397fe5; vertical-align: -2px; }
.shop-seller-card small,
.shop-seller-card em { color: #858b98; font-size: 8px; font-style: normal; }
.shop-seller-card > svg { width: 17px; color: #8b92a0; }
.shop-buy-card { position: sticky; top: 102px; display: grid; padding: 23px; border: 1px solid #dfe3ec; border-radius: 21px; background: #fff; box-shadow: 0 18px 45px rgba(38,46,79,.08); }
.shop-buy-card > small { color: #848b98; font-size: 9px; }
.shop-buy-card > strong { margin-top: 4px; font-size: 27px; }
.shop-buy-card > del { color: #9197a2; font-size: 10px; }
.shop-delivery-box { display: flex; gap: 10px; margin-top: 15px; padding: 12px; border-radius: 13px; background: #f6f7fa; }
.shop-delivery-box > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e9ecff; color: #4352d4; }
.shop-delivery-box svg { width: 15px; }
.shop-delivery-box div { display: grid; gap: 2px; }
.shop-delivery-box strong { font-size: 9px; }
.shop-delivery-box small { color: #7e8592; font-size: 8px; }
.shop-buy-card > button { min-height: 44px; margin-top: 9px; border: 1px solid #dfe3eb; border-radius: 12px; background: #fff; color: #293146; font-weight: 760; cursor: pointer; }
.shop-buy-card > button.primary { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 19px; border-color: #3040d1; background: #3040d1; color: #fff; }
.shop-buy-card > button.save { display: flex; align-items: center; justify-content: center; gap: 7px; }
.shop-buy-card > button.save.active { color: #3141cc; background: #eff1ff; }
.shop-buy-card button svg { width: 16px; }
.shop-buy-card > p { display: flex; gap: 7px; margin: 15px 0 0; color: #858b98; font-size: 8px; line-height: 1.45; }
.shop-buy-card > p svg { width: 13px; flex: 0 0 auto; color: #3a8b67; }
.shop-detail-page > .shop-merch-section { margin-top: 65px; }

/* Orders and seller workspace */
.shop-account-page > header,
.shop-seller-page > header { margin: 12px 0 34px; }
.shop-orders-list { display: grid; gap: 11px; }
.shop-orders-list article { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e2e5ed; border-radius: 17px; background: #fff; }
.order-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #eef0f4; color: #6f7786; }
.order-icon.active { background: #eaf7f1; color: #328460; }
.order-icon svg { width: 21px; }
.shop-orders-list article > div { display: grid; gap: 3px; }
.shop-orders-list small { color: #858c98; font-size: 8px; }
.shop-orders-list strong { font-size: 12px; }
.shop-orders-list p { margin: 0; color: #747c8a; font-size: 9px; }
.shop-orders-list em { padding: 7px 9px; border-radius: 9px; background: #e8f6ef; color: #2f7b59; font-size: 8px; font-style: normal; font-weight: 780; }
.shop-orders-list em.done { background: #edf0ff; color: #3d4ccb; }
.shop-orders-list em.muted { background: #f0f1f4; color: #747b88; }
.shop-orders-list button { padding: 9px 12px; border: 1px solid #dfe3eb; border-radius: 10px; background: #fff; color: #3645ce; font-size: 9px; font-weight: 750; cursor: pointer; }
.shop-seller-page > header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.shop-seller-page > header > div { max-width: 730px; }
.shop-seller-page > header > button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: #303fd0; color: #fff; font-weight: 760; cursor: pointer; }
.shop-seller-page > header svg { width: 16px; }
.seller-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.seller-metrics article { display: flex; gap: 13px; padding: 17px; border: 1px solid #e3e6ed; border-radius: 16px; background: #fff; }
.seller-metrics article > span { display: grid; width: 41px; height: 41px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #eef0ff; color: #4554d9; }
.seller-metrics svg { width: 18px; }
.seller-metrics div { display: grid; grid-template-columns: 1fr auto; min-width: 0; gap: 2px 7px; }
.seller-metrics small { grid-column: 1 / -1; color: #858c99; font-size: 8px; }
.seller-metrics strong { font-size: 20px; }
.seller-metrics em { align-self: end; color: #32805e; font-size: 8px; font-style: normal; }
.seller-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; }
.seller-listings,
.seller-checklist { padding: 19px; border: 1px solid #e2e5ed; border-radius: 18px; background: #fff; }
.seller-listings > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.seller-listings h2,
.seller-checklist h2 { margin: 0 0 4px; font-size: 16px; }
.seller-listings p { margin: 0; color: #818896; font-size: 9px; }
.seller-listings > header button { padding: 7px 10px; border: 0; border-radius: 9px; background: #f0f2f7; font-size: 9px; cursor: pointer; }
.seller-listings > article { display: grid; grid-template-columns: 43px minmax(0,1fr) 105px 110px auto; align-items: center; gap: 11px; padding: 11px 0; border-top: 1px solid #edf0f4; }
.seller-listings article > span,
.shop-cart-lines article > span { position: relative; display: grid; width: 43px; height: 43px; overflow: hidden; place-items: center; border-radius: 12px; color: #fff; }
.seller-listings article > span svg,
.shop-cart-lines article > span svg { position: relative; z-index: 1; width: 20px; }
.seller-listings article > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.seller-listings article > div:nth-child(2) strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.seller-listings article > div:nth-child(2) small { color: #858b97; font-size: 8px; }
.listing-quality { display: flex; align-items: center; gap: 7px; }
.listing-quality > span { display: block; width: 70px; height: 5px; overflow: hidden; border-radius: 99px; background: #e6e8ee; }
.listing-quality > span i { display: block; height: 100%; border-radius: inherit; background: #43a276; }
.listing-quality b { font-size: 8px; }
.seller-listings article > em { color: #697181; font-size: 8px; font-style: normal; }
.seller-listings article > button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 9px; background: #f3f4f7; cursor: pointer; }
.seller-listings article > button svg { width: 14px; }
.seller-checklist ul { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.seller-checklist li { display: flex; gap: 9px; padding: 11px; border-radius: 11px; background: #f6f7f9; }
.seller-checklist li > svg { width: 16px; flex: 0 0 auto; color: #697282; }
.seller-checklist li.done > svg { color: #349068; }
.seller-checklist li > div { display: grid; gap: 2px; }
.seller-checklist li strong { font-size: 9px; }
.seller-checklist li small { color: #858c98; font-size: 8px; line-height: 1.4; }
.seller-checklist > button { width: 100%; min-height: 40px; border: 0; border-radius: 11px; background: #303fd0; color: #fff; font-weight: 760; cursor: pointer; }

/* Cart */
.shop-cart-open { overflow: hidden; }
.shop-cart-overlay { position: fixed; z-index: 1000; inset: 0; background: rgba(16,20,37,.48); backdrop-filter: blur(5px); }
.shop-cart-overlay[hidden] { display: none; }
.shop-cart-overlay > aside { position: absolute; top: 0; right: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; width: min(460px, 100%); height: 100%; padding: 24px; background: #fff; box-shadow: -24px 0 70px rgba(18,23,45,.18); animation: shop-cart-enter 180ms ease-out; }
@keyframes shop-cart-enter { from { transform: translateX(30px); opacity: 0; } }
.shop-cart-overlay > aside > header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #e7e9ef; }
.shop-cart-overlay header span { color: #4655da; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.shop-cart-overlay header h2 { margin: 4px 0 0; font-size: 25px; }
.shop-cart-overlay header button { display: grid; width: 37px; height: 37px; place-items: center; border: 0; border-radius: 11px; background: #f1f2f6; cursor: pointer; }
.shop-cart-overlay header svg { width: 17px; }
.shop-cart-overlay > aside > [data-shop-cart-body] { min-height: 0; overflow-y: auto; }
.shop-cart-lines { display: grid; }
.shop-cart-lines article { display: grid; grid-template-columns: 52px minmax(0,1fr) auto auto; align-items: center; gap: 11px; padding: 15px 0; border-bottom: 1px solid #eceef2; }
.shop-cart-lines article > span { width: 52px; height: 52px; }
.shop-cart-lines article > div:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.shop-cart-lines article strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.shop-cart-lines article small { color: #828997; font-size: 8px; }
.shop-cart-lines article b { font-size: 10px; }
.shop-qty { display: flex; align-items: center; gap: 5px; }
.shop-qty button { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #dfe2e9; border-radius: 8px; background: #fff; cursor: pointer; }
.shop-qty span { min-width: 16px; text-align: center; font-size: 9px; }
.shop-cart-lines button.remove { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 8px; background: #fff0f1; color: #c64e5c; cursor: pointer; }
.shop-cart-lines button.remove svg { width: 13px; }
.shop-cart-empty { display: grid; height: 100%; place-items: center; align-content: center; text-align: center; }
.shop-cart-empty svg { width: 29px; }
.shop-cart-empty h3 { margin: 17px 0 6px; }
.shop-cart-empty p { margin: 0; color: #818897; font-size: 10px; }
.shop-cart-empty button { margin-top: 15px; padding: 10px 14px; border: 0; border-radius: 10px; background: #303fd0; color: #fff; font-weight: 740; cursor: pointer; }
.shop-cart-overlay > aside > footer { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid #e7e9ef; }
.shop-cart-overlay footer > div { display: flex; justify-content: space-between; color: #707888; font-size: 10px; }
.shop-cart-overlay footer > div:first-child strong { color: #1d2436; font-size: 16px; }
.shop-cart-overlay footer b { color: #33805f; }
.shop-cart-overlay footer > button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 5px; border: 0; border-radius: 12px; background: #303fd0; color: #fff; font-weight: 780; cursor: pointer; }
.shop-cart-overlay footer > button svg { width: 16px; }
.shop-cart-overlay footer > p { display: flex; justify-content: center; gap: 5px; margin: 0; color: #848b98; font-size: 8px; }
.shop-cart-overlay footer > p svg { width: 12px; color: #378565; }

@media (max-width: 1240px) {
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-detail-grid { grid-template-columns: minmax(330px, .9fr) minmax(320px, 1fr); }
  .shop-buy-card { position: static; grid-column: 2; }
  .seller-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .app-shell.portal-active.shop-active:not(.media-active) .workspace {
    grid-template-columns: 64px minmax(0, 1fr) !important;
  }
  .app-shell.shop-active .space-list,
  .app-shell.shop-active .space-list-resizer { display: none; }
  .shop-command { grid-template-columns: auto minmax(220px, 1fr) auto; gap: 12px; padding-inline: 22px; }
  .shop-wordmark div,
  .shop-command-actions button:not(.shop-cart-button) { display: none; }
  .shop-hero-v18 { grid-template-columns: 1fr; }
  .shop-hero-v18 > aside { min-height: 390px; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-principles { grid-template-columns: 1fr; }
  .shop-maker-story { grid-template-columns: 1fr; }
  .shop-detail-grid { grid-template-columns: 1fr; }
  .shop-gallery-main { min-height: 420px; }
  .shop-buy-card { grid-column: auto; }
  .seller-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .app-shell.portal-active.shop-active:not(.media-active) .workspace { grid-template-columns: 56px minmax(0, 1fr) !important; }
  .shop-command { grid-template-columns: minmax(0,1fr) auto; padding: 10px 14px; }
  .shop-wordmark { display: none; }
  .shop-search { min-height: 44px; }
  .shop-search button { padding-inline: 13px; }
  .shop-cart-button span { display: none; }
  .shop-home,
  .shop-catalog-page,
  .shop-detail-page,
  .shop-account-page,
  .shop-seller-page { width: calc(100% - 26px); padding-top: 18px; }
  .shop-hero-v18 { min-height: auto; border-radius: 22px; }
  .shop-hero-v18 > div { padding: 34px 24px; }
  .shop-hero-v18 h1 { font-size: 38px; }
  .shop-hero-v18 > aside { min-height: 330px; }
  .shop-hero-object { width: 235px; }
  .shop-hero-float.maker { left: 3%; }
  .shop-hero-float.quality { right: 2%; }
  .shop-category-strip { border-radius: 14px; }
  .shop-product-grid { grid-template-columns: 1fr; }
  .shop-product-visual { height: 245px; }
  .shop-maker-story > div:last-child { grid-template-columns: 1fr; }
  .maker-mini { display: grid; grid-template-columns: 105px 1fr; align-items: center; padding: 0; }
  .maker-mini > span { grid-row: 1 / 3; height: 105px; }
  .shop-catalog-head,
  .shop-seller-page > header { align-items: stretch; flex-direction: column; }
  .shop-catalog-head > label { width: 100%; }
  .shop-catalog-head select { width: 100%; }
  .shop-orders-list article { grid-template-columns: 45px minmax(0,1fr) auto; }
  .shop-orders-list article > button { grid-column: 2 / -1; }
  .seller-metrics { grid-template-columns: 1fr; }
  .seller-listings > article { grid-template-columns: 43px minmax(0,1fr) auto; }
  .seller-listings .listing-quality,
  .seller-listings article > em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-card,
  .shop-cart-overlay > aside { transition: none; animation: none; }
}
